* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    background: url("/images/hero-bg.png") no-repeat center center/cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Added for contrast */
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Added for contrast */
}

/* Header Section */
header {
    background: url("/images/hero-bg.png") no-repeat center center/cover;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
    background-blend-mode: overlay;
    background-size: cover;
    color: white;
    padding: 1.5rem 0;
    text-align: center;
}

header h1 {
    font-size: 2rem;
}

/* Main Content */
.content {
    padding: 3rem 0;
}

section {
    margin-bottom: 3rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Main Content */
.content {
    padding: 4rem 0;
}

section {
    margin-bottom: 3rem;
}

h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #27ae60;
    margin-bottom: 1rem;
}

.cta {
    text-align: center;
    margin: 2rem 0;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.btn:hover {
    background: #219653;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #27ae60;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #27ae60;
}

.social-links a {
    color: white;
    margin: 0 1rem;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #27ae60;
}

.social-links .fa {
    /* Placeholder for Font Awesome icons; remove if not using */
}

.contact-info p {
    margin: 0.3rem 0;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #27ae60;
}

@media (max-width: 768px) {
    .hero { height: 180px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
}

.back-link {
    float: left;
    margin-left: 2em;
    margin-right: -2em;
    margin-top: 0.5em;
    color: white;
    text-decoration: none;
}

.back-link:hover {
    color: #27ae60;
}

.contact-panel {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-panel p {
    margin: 1rem 0;
}

.contact-panel a {
    color: #27ae60;
    text-decoration: none;
}

.contact-panel a:hover {
    color: #219653;
}
