/* General Body & Typography */
:root {
    --primary-color: #6a8e7e; /* Sage Green */
    --secondary-color: #9ab4a3; /* Lighter Sage */
    --accent-color: #f7a072; /* Soft Orange */
    --dark-neutral: #333;
    --light-neutral: #f4f4f4;
    --text-color: #4a4a4a;
    --white: #ffffff;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-neutral);
    margin-bottom: 0.8em;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 1em;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--accent-color);
}

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

/* Header & Navigation */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8em;
    color: var(--primary-color);
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
}

.main-nav .nav-item {
    margin-left: 30px;
}

.main-nav .nav-link {
    color: var(--dark-neutral);
    font-weight: 600;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 100%;
}

.main-nav .nav-link:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark-neutral);
    transition: all 0.3s ease-in-out;
}

.main-nav.active {
    display: block;
}

/* Hero Section */
.section-hero {
    background: linear-gradient(rgba(106, 142, 126, 0.7), rgba(106, 142, 126, 0.7)), url('hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 180px 0 100px; /* Adjusted padding to account for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Ensure it takes full viewport height */
    margin-top: -80px; /* Counteract header height */
}

.hero-container {
    max-width: 900px;
}

.hero-headline {
    font-size: 3.5em;
    margin-bottom: 0.3em;
    line-height: 1.2;
    color: var(--white);
}

.hero-subheadline {
    font-size: 1.4em;
    margin-bottom: 2em;
    opacity: 0.9;
    font-weight: 400;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: darken(var(--accent-color), 10%);
    transform: translateY(-2px);
}

/* Shared Section Styling */
section {
    padding: 80px 0;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.5em;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.3em;
    color: var(--dark-neutral);
    margin-bottom: 60px;
    font-weight: 400;
    opacity: 0.9;
}

/* About Section */
.section-about {
    background-color: var(--light-neutral);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.section-image {
    flex: 1;
    min-width: 40%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-image {
    background-image: url('about-image.jpg'); 
}

.about-content {
    flex: 1;
}

.about-content .section-title,
.about-content .section-subtitle {
    text-align: left;
    margin-left: 0;
}

.about-points {
    list-style: none;
    margin-top: 20px;
}

.about-points li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: var(--dark-neutral);
    font-weight: 600;
}

.about-points li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Services Section */
.section-services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.service-title {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-color);
}

/* Testimonials Section */
.section-testimonials {
    background-color: var(--secondary-color);
    color: var(--white);
}

.section-testimonials .section-title,
.section-testimonials .section-subtitle {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    color: var(--text-color);
    font-style: italic;
    position: relative;
    border-left: 5px solid var(--accent-color);
}

.testimonial-card::before {
    content: '“';
    font-family: 'Times New Roman', serif; /* For a classic quote look */
    font-size: 4em;
    color: rgba(var(--primary-color), 0.2);
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 0;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    text-align: right;
    color: var(--primary-color);
    font-style: normal;
}

/* FAQ Section */
.section-faq {
    background-color: var(--light-neutral);
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background-color: var(--white);
    color: var(--dark-neutral);
    padding: 20px;
    border: none;
    text-align: left;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover, .faq-question.active {
    background-color: var(--secondary-color);
    color: var(--white);
}

.faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '–';
    transform: rotate(0deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-color);
}

.faq-answer.show {
    max-height: 200px; /* Adjust as needed */
    padding: 20px;
}

/* Contact Section */
.section-contact {
    background-color: var(--white);
    text-align: center;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.contact-card {
    background-color: var(--light-neutral);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.contact-card-title {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.contact-card p {
    margin-bottom: 5px;
}

.contact-card a {
    color: var(--dark-neutral);
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links img {
    width: 40px;
    height: 40px;
    filter: invert(30%) sepia(20%) saturate(600%) hue-rotate(130deg) brightness(80%) contrast(90%); /* To change icon color */
    transition: transform 0.2s ease, filter 0.2s ease;
}

.social-links img:hover {
    transform: translateY(-5px);
    filter: invert(50%) sepia(50%) saturate(1500%) hue-rotate(340deg) brightness(100%) contrast(100%); /* Accent color on hover */
}


/* Footer */
.section-footer {
    background-color: var(--dark-neutral);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-nav-link {
    color: var(--light-neutral);
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-nav-link:hover {
    color: var(--primary-color);
}

.footer-copyright {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-nav .nav-list {
        display: none; /* Hide desktop nav */
        flex-direction: column;
        position: absolute;
        top: 80px; /* Below header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--box-shadow);
        padding: 20px 0;
        text-align: center;
    }

    .main-nav .nav-item {
        margin: 10px 0;
    }

    .main-nav .nav-link {
        color: var(--dark-neutral);
        font-size: 1.2em;
        padding: 10px 0;
        display: block;
    }

    .main-nav.open .nav-list {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-headline {
        font-size: 2.8em;
    }

    .hero-subheadline {
        font-size: 1.2em;
    }

    .about-container {
        flex-direction: column;
    }

    .section-image {
        width: 100%;
        height: 300px;
        margin-bottom: 30px;
    }

    .about-content .section-title,
    .about-content .section-subtitle {
        text-align: center;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }

    .section-hero {
        padding: 150px 0 80px;
    }

    .section-title {
        font-size: 2em;
    }

    .section-subtitle {
        font-size: 1.1em;
        margin-bottom: 40px;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav-list {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2em;
    }

    .hero-subheadline {
        font-size: 1em;
    }

    .btn-primary {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .site-logo {
        font-size: 1.5em;
    }

    .main-header {
        padding: 10px 0;
    }
}