:root {
        /* Color Palette */
        --color-primary: #6B8E23; /* Olive Green */
        --color-primary-light: #8dc13a;
        --color-primary-dark: #5A7D1C;
        --color-secondary: #F5DEB3; /* Wheat */
        --color-secondary-light: #FFF8E1; /* Very light cream */
        --color-accent: #D2691E; /* Chocolate Orange */
        --color-dark: #333333;
        --color-grey: #666666;
        --color-light-grey: #F9F9F9;
        --color-white: #FFFFFF;

        /* Typography */
        --font-heading: 'Poppins', sans-serif;
        --font-body: 'Roboto', sans-serif;

        /* Spacing */
        --spacing-unit: 1rem;
        --section-padding-desktop: 6rem 0;
        --section-padding-tablet: 4rem 0;
        --section-padding-mobile: 3rem 0;

        /* Box Shadows */
        --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
        --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
        --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.18);

        /* Transitions */
        --transition-speed: 0.3s ease-in-out;
    }

    /* Base Styles */
    *, *::before, *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: var(--font-body);
        line-height: 1.6;
        color: var(--color-dark);
        background-color: var(--color-white);
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }

    body.no-scroll {
        overflow: hidden;
    }

    a {
        text-decoration: none;
        color: var(--color-primary);
        transition: color var(--transition-speed);
    }

    a:hover {
        color: var(--color-accent);
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    h1, h2, h3, h4, h5, h6 {
        font-family: var(--font-heading);
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 1rem;
        color: var(--color-dark);
    }

    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.8rem; }
    h3 { font-size: 2.2rem; }
    h4 { font-size: 1.8rem; }
    p { margin-bottom: 1rem; }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }

    .section-padding {
        padding: var(--section-padding-desktop);
    }

    .text-center {
        text-align: center;
    }

    .bg-light-cream {
        background-color: var(--color-secondary-light);
    }

    .bg-primary-dark {
        background-color: var(--color-primary-dark);
        color: var(--color-white);
    }

    .bg-primary-dark h2, .bg-primary-dark h3, .bg-primary-dark p {
        color: var(--color-white);
    }

    .bg-gradient {
        background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
        color: var(--color-white);
    }

    .bg-gradient h2, .bg-gradient p {
        color: var(--color-white);
    }

    .section-description {
        font-size: 1.25rem;
        max-width: 700px;
        margin: 0 auto 3rem auto;
        color: var(--color-grey);
    }
    .bg-primary-dark .section-description {
        color: rgba(255, 255, 255, 0.8);
    }

    /* Header */
    .header {
        background-color: var(--color-white);
        padding: 1rem 0;
        box-shadow: var(--shadow-light);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-family: var(--font-heading);
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--color-primary);
        letter-spacing: -0.5px;
        padding: 0.5rem 0;
    }

    .nav-list {
        list-style: none;
        display: flex;
    }

    .nav-list li {
        margin-left: 2.5rem;
    }

    .nav-list a {
        color: var(--color-dark);
        font-weight: 600;
        font-size: 1.05rem;
        position: relative;
        padding: 0.5rem 0;
    }

    .nav-list a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background-color: var(--color-accent);
        left: 0;
        bottom: -5px;
        transition: width var(--transition-speed);
    }

    .nav-list a:hover::after,
    .nav-list a.active::after {
        width: 100%;
    }

    .nav-toggle {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        position: relative;
        z-index: 1001; /* Ensure toggle is above nav on mobile */
        width: 30px;
        height: 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--color-dark);
        border-radius: 3px;
        transition: all var(--transition-speed);
    }

    /* Hero Section */
    .hero {
        background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/image_14.jpg') center/cover no-repeat;
        height: 80vh;
        display: flex;
        align-items: center;
        text-align: center;
        color: var(--color-white);
        position: relative;
        overflow: hidden;
    }

    .hero-content {
        max-width: 800px;
        margin: 0 auto;
        padding: 2rem;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 15px;
        backdrop-filter: blur(5px);
    }

    .hero-content h1 {
        font-size: 4.5rem;
        margin-bottom: 1.5rem;
        color: var(--color-white);
        text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    .hero-content p {
        font-size: 1.5rem;
        font-weight: 300;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.9);
    }

    /* About Section */
    .about-section .grid-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .about-image img {
        border-radius: 15px;
        box-shadow: var(--shadow-medium);
        transition: transform var(--transition-speed);
    }

    .about-image img:hover {
        transform: translateY(-5px);
    }

    .about-content h2 {
        font-size: 2.5rem;
        color: var(--color-primary-dark);
    }

    .about-content h3 {
        font-size: 1.8rem;
        color: var(--color-accent);
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    /* Services Section */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Exactly 3 cards per row on desktop */
        gap: 2rem;
        margin-top: 3rem;
    }

    .service-card {
        background-color: var(--color-white);
        border-radius: 15px;
        box-shadow: var(--shadow-medium);
        overflow: hidden;
        text-align: left;
        transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

    .service-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-bottom: 1px solid var(--color-light-grey);
        transition: transform var(--transition-speed);
    }

    .service-card:hover img {
        transform: scale(1.05);
    }

    .service-card h3 {
        color: var(--color-primary-dark);
        font-size: 1.5rem;
        margin: 1.5rem 1.5rem 0.5rem 1.5rem;
    }

    .service-card p {
        color: var(--color-grey);
        font-size: 1rem;
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    /* Why Choose Us Section */
    .why-choose-us .section-description {
        color: rgba(255, 255, 255, 0.8);
    }

    .why-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Exactly 3 cards per row on desktop */
        gap: 2.5rem;
        margin-top: 3rem;
    }

    .why-item {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        padding: 2.5rem;
        transition: background-color var(--transition-speed), transform var(--transition-speed);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .why-item:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-5px);
    }

    .why-item .icon {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        color: var(--color-secondary);
        display: block;
        transition: transform var(--transition-speed);
    }
    .why-item:hover .icon {
        transform: rotate(5deg) scale(1.1);
    }

    .why-item h3 {
        color: var(--color-white);
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .why-item p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1rem;
    }

    /* Testimonials Section */
    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Exactly 3 cards per row on desktop */
        gap: 2rem;
        margin-top: 3rem;
    }

    .testimonial-card {
        background-color: var(--color-white);
        border-radius: 15px;
        padding: 2.5rem;
        box-shadow: var(--shadow-light);
        transition: transform var(--transition-speed), box-shadow var(--transition-speed);
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* Ensures cards with less content don't have dangling cites */
    }

    .testimonial-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover);
    }

    .testimonial-card p {
        font-style: italic;
        font-size: 1.1rem;
        line-height: 1.7;
        color: var(--color-dark);
        margin-bottom: 1.5rem;
    }

    .testimonial-card cite {
        display: block;
        font-weight: 600;
        color: var(--color-primary);
        font-style: normal;
        margin-top: auto; /* Pushes cite to the bottom */
    }

    /* Gallery Section */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Exactly 3 cards per row on desktop */
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .gallery-item {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: var(--shadow-light);
        transition: transform var(--transition-speed), box-shadow var(--transition-speed);
        background-color: var(--color-white);
    }

    .gallery-item:hover {
        transform: scale(1.03);
        box-shadow: var(--shadow-hover);
    }

    .gallery-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
    }

    /* CTA Banner */
    .cta-banner {
        padding: var(--section-padding-desktop);
        text-align: center;
        border-radius: 15px; /* Add some curvature */
        margin-top: 4rem;
    }

    .cta-banner h2 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
        color: var(--color-white);
        text-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .cta-banner p {
        font-size: 1.3rem;
        max-width: 800px;
        margin: 0 auto 1.5rem auto;
        color: rgba(255, 255, 255, 0.9);
    }

    .cta-banner .cta-sub-text {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.7);
        margin-top: 2rem;
    }

    /* Footer */
    .footer {
        background-color: var(--color-dark);
        color: var(--color-white);
        padding: 4rem 0 2rem 0;
        font-size: 0.95rem;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .footer-brand h3 {
        color: var(--color-primary);
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .footer-brand p {
        color: rgba(255, 255, 255, 0.7);
    }

    .footer-links h4, .footer-contact h4 {
        color: var(--color-secondary);
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .footer-links ul {
        list-style: none;
    }

    .footer-links ul li {
        margin-bottom: 0.8rem;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        transition: color var(--transition-speed);
    }

    .footer-links a:hover {
        color: var(--color-primary-light);
    }

    .footer-contact p {
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 0.5rem;
    }

    .footer-contact .note {
        font-size: 0.85rem;
        margin-top: 1rem;
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1.5rem;
        text-align: center;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
    }

    .footer-bottom a {
        color: rgba(255, 255, 255, 0.6);
    }

    .footer-bottom a:hover {
        color: var(--color-primary);
    }


    /* Scroll Reveal Animations */
    .reveal {
        opacity: 1;
        transform: translateY(20px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    /* Responsive Design */
    @media (max-width: 992px) {
        h1 { font-size: 3rem; }
        h2 { font-size: 2.2rem; }
        h3 { font-size: 1.8rem; }

        .section-padding {
            padding: var(--section-padding-tablet);
        }

        .header .nav {
            display: none; /* Hide desktop nav */
        }

        .nav-toggle {
            display: flex; /* Show hamburger menu */
        }

        .nav.active {
            display: flex;
            flex-direction: column;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--color-dark);
            justify-content: center;
            align-items: center;
            z-index: 999;
            animation: fadeInScale 0.4s forwards;
        }

        @keyframes fadeInScale {
            from {
                opacity: 1;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .nav-list {
            flex-direction: column;
            text-align: center;
            width: 100%;
        }

        .nav-list li {
            margin: 1.5rem 0;
        }

        .nav-list a {
            color: var(--color-white);
            font-size: 1.8rem;
            font-weight: 400;
        }

        .nav-list a::after {
            background-color: var(--color-secondary);
        }

        .nav-toggle.active span:nth-child(1) {
            transform: translateY(10px) rotate(45deg);
        }
        .nav-toggle.active span:nth-child(2) {
            opacity: 1;
        }
        .nav-toggle.active span:nth-child(3) {
            transform: translateY(-10px) rotate(-45deg);
        }

        .hero {
            height: 70vh;
        }

        .hero-content h1 {
            font-size: 3.2rem;
        }
        .hero-content p {
            font-size: 1.2rem;
        }

        .about-section .grid-layout {
            grid-template-columns: 1fr;
            text-align: center;
        }
        .about-image {
            order: 2;
        }
        .about-content {
            order: 1;
        }

        .service-card, .why-item, .testimonial-card, .gallery-item {
            margin: 0 auto; /* Center cards if grid creates single column */
            max-width: 450px; /* Constrain max width for single column on smaller screens */
        }
    }

    @media (max-width: 768px) {
        h1 { font-size: 2.5rem; }
        h2 { font-size: 2rem; }
        h3 { font-size: 1.6rem; }

        .section-padding {
            padding: var(--section-padding-mobile);
        }
        .section-description {
            font-size: 1.1rem;
            margin-bottom: 2rem;
        }

        .hero-content h1 {
            font-size: 2.5rem;
        }
        .hero-content p {
            font-size: 1rem;
        }

        .services-grid, .why-grid, .testimonials-grid, .gallery-grid {
            grid-template-columns: 1fr; /* Force single column */
            gap: 1.5rem;
        }

        .cta-banner h2 {
            font-size: 2.2rem;
        }
        .cta-banner p {
            font-size: 1.1rem;
        }
        .cta-banner .cta-sub-text {
            font-size: 0.9rem;
        }

        .footer-content {
            grid-template-columns: 1fr;
            text-align: center;
        }
        .footer-links ul {
            padding-left: 0;
        }
    }

    @media (max-width: 480px) {
        h1 { font-size: 2.2rem; }
        h2 { font-size: 1.8rem; }
        h3 { font-size: 1.4rem; }

        .hero-content {
            padding: 1rem;
        }
        .hero-content h1 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        .hero-content p {
            font-size: 0.9rem;
        }

        .logo {
            font-size: 1.5rem;
        }
    }


/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
