/* CSS Variables & Reset */
:root {
    /* Colors inspired by the logo (Approximated) */
    --color-primary: #0a5c0a;
    /* Dark Forest Green */
    --color-primary-light: #168a16;
    --color-secondary: #4caf50;
    /* Vibrant Green */
    --color-accent: #81c784;
    /* Light Accent */

    --color-text-dark: #1f2937;
    --color-text-light: #4b5563;
    --color-bg-light: #f9fafb;
    --color-white: #ffffff;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius-md: 0.5rem;
    --radius-lg: 1rem;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-white);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-white:hover {
    background-color: #f0f0f0;
}

.btn-outline-white {
    border: 2px solid var(--color-white);
    color: var(--color-white);
    margin-left: 1rem;
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* Navbar */
.navbar {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 90px;
    /* Adjust based on actual logo aspect ratio */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text-dark);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links .btn-nav {
    background-color: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}

.nav-links .btn-nav:hover {
    background-color: var(--color-primary-light);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--color-text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(240, 255, 244, 0.85) 0%, rgba(255, 255, 255, 0.8) 100%), url('../assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
    /* Fixed color variable typo */
}

.brand-highlight {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.2rem 1rem;
    background: #e8f5e9;
    border-radius: 20px;
    font-family: var(--font-heading);
}

.hero-content .highlight {
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Placeholder Shape */
.hero-shape {
    width: 400px;
    height: 400px;
    background-color: var(--color-accent);
    /* Placeholder for image */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.2;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.section-header p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-white);
    padding: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: #e8f5e9;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.service-desc {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.service-details {
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.service-details li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.service-details strong {
    color: var(--color-primary);
}

/* Why Us Section */
.why-us {
    padding: 5rem 0;
    background-color: var(--color-bg-light);
}

.why-us-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-us h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.why-us>.container>.why-us-content>p {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

@media (min-width: 768px) {
    .features-list {
        flex-direction: row;
        justify-content: center;
    }
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-top: 0.25rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.manager-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-secondary);
    box-shadow: var(--shadow-sm);
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: var(--color-bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.quote-icon {
    color: var(--color-accent);
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.testimonial-author {
    color: var(--color-primary);
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* Gallery */
.gallery {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* FAQ */
.faq {
    padding: 5rem 0;
    background-color: #f3f4f6;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-text-dark);
    padding-right: 1rem;
}

.faq-question i {
    color: var(--color-primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fff;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    border-top-color: #f3f4f6;
    padding: 1.5rem;
    max-height: 300px;
    /* Approximate max height */
}

.faq-answer p {
    color: var(--color-text-light);
    font-size: 1rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1b4d1b 100%);
    color: var(--color-white);
    text-align: center;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #111827;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #374151;
}

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #d1d5db;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: white;
    font-size: 1.25rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn-secondary,
    .btn-outline-white {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #f3f4f6;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}