:root {
    --bg-color: #FFF8EC;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-color: #546B41;
    --accent-light: #7FB77E;
    --accent-hover: #455735;
    --beige-accent: #E8DFC9;
    /*#fff3de E8DFC9*/
    --beige-dark: #A68A64;
    --grid-line: rgba(0, 0, 0, 0.05);
    --border-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'EB Garamond', serif;
    --blue-accent: #3a86ff;
    --blue-light: #f0f7ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Grid & Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 249, 237, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 60px;
    border-radius: 0;
    min-height: 80px;
    width: 100%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.logo a {
    display: block;
    line-height: 0;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 400;
    transition: var(--transition);
    display: inline-block;
}

.nav-links a:hover {
    color: var(--text-primary);
    font-weight: 500;
    transform: scale(1.05);
}

.btn-inquire {
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    margin: 0;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.btn-inquire:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    color: white !important;
}

.mobile-only {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    /* Above the nav links */
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: left center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 120px 40px 100px;
    align-items: center;
    position: relative;
    scroll-margin-top: 120px;
}

/* Tablet Specific Hero Padding */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        padding-top: 140px;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tagline {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.tagline .line {
    width: 40px;
    height: 1px;
    background-color: #ddd;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1.05;
    font-weight: 600;
    margin-bottom: 32px;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: #888;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 48px;
}

.architect-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 40px;
    z-index: 10;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

.btn-case-studies {
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    /* margin-bottom: 32px; */
}

.btn-case-studies:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.hero-trust-badge {
    display: none;
}

.signature {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-style: italic;
    line-height: 1;
    margin-bottom: 4px;
}

.architect-role {
    font-size: clamp(0.55rem, 1.5vw, 0.65rem);
    font-weight: 600;
    color: #aaa;
    letter-spacing: 0.1em;
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    color: var(--text-secondary);
    font-weight: 500;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-color);
    animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(54, 84, 58, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(54, 84, 58, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(54, 84, 58, 0);
    }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
    margin-top: 0px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    overflow: visible;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border-radius: var(--border-radius); */
    background-color: #f0f0f0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}


/* Floating Cards */
.floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

.floating-card .label {
    font-size: clamp(0.5rem, 1.5vw, 0.6rem);
    font-weight: 600;
    color: #212121;
    letter-spacing: 0.05em;
}

.floating-card .value {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    font-weight: 500;
    /* color: var(--text-primary); */
}

.stars-yellow {
    color: #ffcc00;
    /* Vibrant yellow for stars */
    letter-spacing: 2px;
}

.botanical {
    top: 25%;
    left: -40px;
}

.irrigation {
    bottom: 30%;
    right: -20px;
}

.hardscaping {
    bottom: 10%;
    right: -40px;
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-between;
    /* padding: 60px 0; */
    margin-bottom: 130px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.stat-number .plus {
    color: var(--accent-color);
    margin-left: 4px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Services Section */
#services {
    padding-top: 10px;
    padding-bottom: 120px;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
}

.service-category {
    margin-bottom: 100px;
}

.category-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.category-tagline .line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--grid-line);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: transparent;
    border-radius: 24px;
    border: none;
    perspective: 1500px;
    cursor: pointer;
    height: 100%;
    min-height: 500px;
    /* Ensure enough space for the flip content */
    transition: var(--transition);
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card.is-flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    border: 1px solid #eee;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-front {
    background: white;
}

.service-card-back {
    background-color: #fffbe0;
    transform: rotateY(180deg);
    padding: 60px 40px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-color: #F7C85C;
}

.service-card-back h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.service-card-back p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

.card-icon {
    height: 240px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:not(.is-flipped):hover .card-icon img {
    transform: scale(1.1);
}

.card-content {
    padding: 40px;
    background: white;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.service-card:not(.is-flipped):hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.service-card:not(.is-flipped):hover .service-card-front {
    border-color: #F7C85C;
}

/* New Services Layout */
.new-services {
    padding: 100px 0 0;
    overflow: hidden;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 200px;
    position: relative;
}

.service-row:last-of-type {
    margin-bottom: 0;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-text-content {
    flex: 1;
}

.service-category-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    display: block;
}

.service-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.1;
}

.service-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
}

.service-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    max-width: 450px;
}

.service-stat-box {
    background-color: var(--beige-accent);
    padding: 24px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.service-stat-box:hover {
    transform: translateY(-5px);
}

.service-stat-box .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.service-stat-box .stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: capitalize;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-learn-more:hover {
    background-color: var(--accent-hover);
    transform: translateX(5px);
}

/* Image Cluster Styles */
.service-image-cluster {
    flex: 1.2;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cluster-img {
    position: absolute;
    border-radius: 30px;
    overflow: hidden;
    transition: var(--transition);
    border: 0.5rem solid var(--bg-color);
}

.cluster-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Position for Normal Row */
.img-main {
    width: 65%;
    height: 80%;
    left: 0;
    top: 0;
    z-index: 2;
}

.img-sub-1 {
    width: 45%;
    height: 45%;
    right: 0;
    top: 5%;
    z-index: 1;
}

.img-sub-2 {
    width: 55%;
    height: 55%;
    right: 5%;
    bottom: 5%;
    z-index: 3;
}

/* Position for Reverse Row */
.reverse .img-main {
    left: auto;
    right: 0;
}

.reverse .img-sub-1 {
    right: auto;
    left: 0;
}

.reverse .img-sub-2 {
    right: auto;
    left: 5%;
}

.mobile-stat-image {
    display: none;
}

@media (max-width: 992px) {

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        gap: 60px;
        text-align: center;
        margin-bottom: 80px;
    }

    .service-description {
        margin-left: auto;
        margin-right: auto;
    }

    .service-stats-grid {
        margin-left: auto;
        margin-right: auto;
    }

    .service-image-cluster {
        width: 100%;
        height: 450px;
    }

    .img-main {
        width: 70%;
        height: 80%;
    }

    .img-sub-1 {
        width: 50%;
        height: 50%;
    }

    .img-sub-2 {
        width: 60%;
        height: 60%;
    }

    .mobile-stat-image {
        display: block;
        width: 100%;
        height: 300px;
        margin-top: 40px;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }

    .mobile-stat-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .service-image-cluster .img-sub-1 {
        display: none;
    }
}

/* CTA Banner */
.cta-banner {
    /* background-color: #121212; */
    background-color: var(--accent-color);
    border-radius: 32px;
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
}

.cta-text {
    max-width: 650px;
}

.cta-text h3 {
    color: white;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 12px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.cta-banner .btn-case-studies {
    background-color: var(--beige-accent);
    color: #002e00;
    padding: 18px 48px;
    font-size: 1.2rem;
    border-radius: 100px;
    transition: var(--transition);
}

.cta-banner .btn-case-studies:hover {
    background-color: #CDBA94;
    /* Slightly darker than DCCCAC */
    color: #36454F;
    transform: translateY(-2px);
}

.features-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    flex: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--beige-accent);
    color: var(--accent-color);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    border: 1px solid #e0dcd5;
}

.feature-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.feature-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    max-width: 140px;
}

.feature-item:hover .feature-icon {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Locations Section */
#locations {
    padding-top: 10px;
    padding-bottom: 120px;
}

.locations-content {
    display: flex;
    gap: 80px;
    align-items: stretch;
}

.locations-info {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    padding-top: 50px;
}

.locations-list-v2 {
    margin-bottom: 48px;
    border-top: 1px solid #eee;
}

.location-item {
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}

.location-item h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.location-item p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 300;
}

.locations-footer {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-top: 40px;
    border-top: 1px solid var(--grid-line);
    margin-top: auto;
}

.locations-footer .bold {
    font-weight: 600;
    color: var(--text-primary);
}

.map-container {
    flex: 1.5;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    background-color: #f0f0f0;
}

.map-container iframe {
    display: block;
    filter: grayscale(0.2) contrast(1.1);
}

/* Testimonials Section */
#testimonials {
    padding-top: 10px;
    padding-bottom: 100px;
}

.reviews-grid {
    column-count: 3;
    column-gap: 32px;
    width: 100%;
}

.reviews-actions {
    display: none;
    text-align: center;
    margin-top: 30px;
}

.review-card {
    background: #fff3de;
    padding: 40px;
    border-radius: 24px;
    border: 2px solid #E9E1D3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    display: inline-block;
    width: 100%;
    margin-bottom: 32px;
    break-inside: avoid;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.stars {
    color: #ffcc00;
    /* Golden yellow for consistent branding */
    font-size: 1.2rem;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.divider {
    height: 1px;
    background-color: var(--grid-line);
    margin-bottom: 24px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px solid #E9E1D3;
}

.av-green,
.av-blue {
    background-color: #f7fff0;
    color: var(--accent-color);
}

.reviewer-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.reviewer-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Contact Section */
#contact {
    padding-top: 10px;
    padding-bottom: 120px;
}

.contact-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.contact-sidebar {
    flex: 0 0 450px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-card {
    background: #fff3de;
    padding: 48px;
    border-radius: 24px;
    border: 2px solid #E9E1D3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-trust-card {
    background: #fff3de;
    padding: 32px;
    border-radius: 24px;
    border: 2px solid #E9E1D3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 12px;
    align-items: center;
    justify-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-top: auto;
}


.contact-trust-card img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.contact-trust-card img:hover {
    transform: scale(1.08);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--beige-accent);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-text p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.info-text p a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.info-text p a:hover {
    color: var(--accent-color);
}

.social-links-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--grid-line);
}

.social-links-section p {
    font-size: 0.85rem;
    font-weight: 600;
    color: #aaa;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--beige-accent);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form-container {
    flex: 1;
    background: #fff3de;
    padding: 60px;
    border-radius: 24px;
    border: 2px solid #E9E1D3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-row {
    display: flex;
    gap: 32px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px 20px;
    border-radius: 12px;
    background: var(--bg-color);
    border: 1.5px solid var(--beige-dark);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ccc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #eef6f1;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    cursor: pointer;
}

.btn-submit {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* FAQ Section */
#faq {
    padding-top: 10px;
    padding-bottom: 50px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background: #fff3de;
    border: 2px solid #E9E1D3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.faq-question {
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-color);
}

.faq-icon::before {
    width: 2px;
    height: 100%;
    left: 50%;
    margin-left: -1px;
}

.faq-icon::after {
    width: 100%;
    height: 2px;
    top: 50%;
    margin-top: -1px;
}

.faq-item.active {
    border-color: var(--accent-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 40px 30px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Careers Section */
#careers {
    padding-top: 10px;
    padding-bottom: 120px;
}

.careers-content {
    display: flex;
    gap: 80px;
    align-items: center;
}

.careers-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    height: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.careers-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.careers-image:hover img {
    transform: scale(1.05);
}

.careers-info {
    flex: 1;
}

.careers-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.careers-cta {
    margin-top: 48px;
    padding: 40px;
    background-color: var(--beige-accent);
    border-radius: 24px;
    border: 1px solid #e0dcd5;
}

.careers-cta p {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    #services {
        padding-left: 100px;
        padding-right: 100px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        flex-direction: column-reverse;
        gap: 32px;
    }

    .contact-sidebar {
        flex: 1;
        width: 100%;
        flex-direction: row;
        gap: 32px;
    }

    .contact-info-card,
    .contact-trust-card {
        flex: 1;
        margin-top: 0;
    }

    .contact-form-container {
        padding: 40px;
    }

    .contact-trust-card img {
        max-height: 120px;
    }

    .irrigation {
        bottom: 50%;
    }

    .hardscaping {
        bottom: 30%;
    }
}


@media (max-width: 992px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 60px 40px;
    }

    #locations {
        padding-left: 40px;
        padding-right: 40px;
        /* padding-top: 50px; */
    }

    .locations-content {
        flex-direction: column;
        gap: 60px;
    }

    .locations-footer {
        margin-top: 40px;
    }

    .locations-info {
        max-width: 100%;
    }

    .map-container {
        width: 100%;
    }

    .reviews-grid {
        column-count: 2;
    }

    .careers-content {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .careers-image {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 1024px) {
    header {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        padding: 0;
        z-index: 10000;
        /* Remove any transforms or filters that trap children */
        transform: none !important;
        backdrop-filter: none !important;
    }

    header nav {
        background: rgba(255, 249, 237, 0.9) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        /* box-shadow: none !important; */
        padding: 20px !important;
        border-radius: 0 !important;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        padding-left: 10px;
    }

    .hamburger {
        display: flex;
        margin-right: 15px;
        position: relative;
        z-index: 10001;
    }

    .hamburger span {
        background-color: var(--text-primary);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10000;
        padding: 40px;
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.2);
        margin: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 500;
        color: var(--text-primary);
    }

    .nav-links .mobile-only {
        display: block;
    }

    .nav-links .btn-inquire {
        display: flex;
        color: white;
    }

    .desktop-only {
        display: none !important;
        /* Hide the main CTA from nav bar on mobile */
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 140px 20px 40px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: hidden;
        background-color: #111;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        align-items: center;
        text-align: center;
        width: 100%;
        color: white;
        padding-top: 100px;
    }

    .hero-title {
        color: white;
    }

    .hero-title .serif-italic {
        color: rgba(255, 255, 255, 0.7);
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .btn-case-studies {
        margin-bottom: 0;
    }

    .hero-trust-badge {
        display: flex;
        /* flex-direction: column; */
        align-items: center;
        gap: 10px;
        margin-top: 16px;
        opacity: 0.9;
    }

    .hero-trust-badge .stars {
        color: #F7C85C;
        font-size: 1.2rem;
        letter-spacing: 2px;
        margin-bottom: 0;
    }

    .hero-trust-badge .badge-text {
        font-size: 0.85rem;
        font-weight: 500;
        color: white;
        letter-spacing: 0.05em;
    }

    .hero-visual {
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
        margin-top: 0;
        padding: 0;
    }

    .hero-visual::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.85));
        z-index: 1;
    }

    .hero-visual .image-wrapper {
        border-radius: 0;
    }

    .floating-card,
    .architect-card {
        display: none !important;
    }

    .stats-section {
        flex-direction: column;
        gap: 48px;
        padding: 40px 20px;
        align-items: center;
        margin-bottom: 30px;
    }

    .stat-number {
        font-size: 4.5rem;
    }

    .features-bar {
        flex-direction: column;
        gap: 24px;
        padding: 0;
        margin-top: 40px;
    }

    .feature-item {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .contact-sidebar {
        flex-direction: column;
        gap: 24px;
    }

    .contact-info-card {
        padding: 40px 24px !important;
    }

    .info-text p {
        font-size: clamp(0.85rem, 4vw, 1rem) !important;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .contact-trust-card {
        padding: 24px !important;
        gap: 20px 10px !important;
    }

    .contact-trust-card img {
        max-height: 90px !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    #services {
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 75px;
        /* padding-top: 50px; */
    }

    .exp-card-title {
        line-height: 1.1;
    }

    .service-card {
        min-height: auto !important;
        height: auto !important;
    }

    .service-card-inner {
        height: auto !important;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .service-card-front,
    .service-card-back {
        position: relative !important;
        grid-area: 1 / 1;
        height: auto !important;
        min-height: 450px;
        display: flex;
        flex-direction: column;
    }

    .service-card-back {
        padding: 40px 24px !important;
        justify-content: center;
    }

    .card-content {
        padding: 30px 24px !important;
    }

    .service-card-back h3 {
        font-size: 1.5rem !important;
        margin-bottom: 16px !important;
    }

    .service-card-back p {
        font-size: 1rem !important;
    }

    .reviews-grid {
        column-count: 1;
    }

    .reviews-grid:not(.expanded) .review-card:nth-child(n+4) {
        display: none;
    }

    .reviews-actions {
        display: block;
    }

    .stats-section {
        padding-top: 80px;
    }

    .form-row {
        flex-direction: column;
        gap: 32px;
    }


    .feature-item span {
        max-width: none;
    }

    #careers {
        /* padding-top: 80px; */
        padding-bottom: 80px;
    }

    .careers-cta {
        padding: 32px 24px;
    }

    /* Ensure all reveal elements fade UP only on mobile */
    .reveal-left,
    .reveal-right,
    .locations-info.reveal,
    .map-container.reveal,
    .careers-image.reveal,
    .careers-info.reveal {
        transform: translateY(30px) translateX(0) !important;
    }

    .reveal-left.is-visible,
    .reveal-right.is-visible,
    .locations-info.reveal.is-visible,
    .map-container.reveal.is-visible,
    .careers-image.reveal.is-visible,
    .careers-info.reveal.is-visible {
        transform: translateY(0) translateX(0) !important;
    }

    /* Hero Entry Animations (Mobile) */
    .hero-content {
        opacity: 0;
        animation: fadeInUpMobile 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        animation-delay: 0.2s;
    }

    .hero-visual {
        opacity: 0;
        animation: fadeInUpMobile 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        animation-delay: 0.4s;
    }
}

@keyframes fadeInUpMobile {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    padding: 80px 0 40px;
    background-color: var(--bg-color);
    border-top: 1px solid var(--grid-line);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer-divider {
    width: 100%;
    height: 1px;
    /* background-color: var(--grid-line); */
    margin-bottom: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social .social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    transition: var(--transition);
}

.footer-social .social-icon:hover {
    color: var(--beige-accent);
    transform: translateY(-3px);
}

.footer-legal {
    text-align: right;
}

.footer-legal p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    opacity: 0.7;
}

.footer-legal p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-legal {
        text-align: center;
    }
}

/* --- Scroll Reveal System --- */
#hero,
#services,
#locations,
#testimonials,
#careers,
#faq,
#contact {
    scroll-margin-top: 120px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transform: translateX(0);
    pointer-events: all;
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

/* Staggered Delays for Grid Items */
.stagger-1 {
    transition-delay: 0.15s;
}

.stagger-2 {
    transition-delay: 0.3s;
}

.stagger-3 {
    transition-delay: 0.45s;
}

.stagger-4 {
    transition-delay: 0.6s;
}

.stagger-5 {
    transition-delay: 0.75s;
}

.stagger-6 {
    transition-delay: 0.9s;
}

/* --- Hero Intro Animations (Desktop/Tablet) --- */
@media (min-width: 769px) {
    .hero-content {
        opacity: 0;
        animation: fadeInLeft 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        animation-delay: 0.3s;
    }

    .hero-visual {
        opacity: 0;
        animation: fadeInRight 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        animation-delay: 0.6s;
    }

    /* Staggered card entry */
    .floating-card,
    .architect-card {
        opacity: 0;
        animation: fadeInRight 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .floating-card.botanical {
        animation-delay: 1s;
    }

    .floating-card.irrigation {
        animation-delay: 1.3s;
    }

    .floating-card.hardscaping {
        animation-delay: 1.6s;
    }

    .architect-card {
        animation-delay: 1.9s;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Clients Marquee Section */
#clients {
    padding-bottom: 100px;
}

.clients-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    /* padding: 60px 0; */
    position: relative;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0;
    margin-top: 40px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 100px;
    animation: scrollHorizontal 40s linear infinite;
    width: max-content;
}

.marquee-track img {
    height: clamp(40px, 6vw, 70px);
    width: auto;
    transition: var(--transition);
    object-fit: contain;
}

.marquee-track img:hover {
    transform: scale(1.05);
}

@keyframes scrollHorizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .marquee-track {
        gap: 40px;
    }
}

/* Experimental Card Styles */
.exp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.exp-card {
    position: relative;
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    color: white;
    transition: var(--transition);
    cursor: default;
}

.exp-card:hover {
    transform: scale(1.03);
}

.exp-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-card:hover .exp-card-bg {
    transform: scale(1.1);
}

.exp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.exp-card-arrow {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    z-index: 3;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.exp-card-arrow svg {
    width: 24px;
    height: 24px;
}

.exp-card:hover .exp-card-arrow {
    transform: rotate(45deg);
}

.exp-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    z-index: 2;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.8) 30%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0.1) 85%,
            transparent 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), padding 0.6s ease;
    transform: translateY(calc(100% - 130px));
}

.exp-card:hover .exp-card-content {
    transform: translateY(0);
    padding: 60px 30px 40px;
}

.exp-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
    transition: var(--transition);
}

.exp-card-reveal {
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
    margin-top: 30px;
}

.exp-card:hover .exp-card-reveal {
    opacity: 1;
}

.exp-card-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 25px;
}

.exp-card-btn {
    display: inline-block;
    padding: 12px 28px;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.exp-card-btn:hover {
    background: var(--accent-hover);
    color: white;
}

@media (max-width: 992px) {
    .exp-grid {
        grid-template-columns: 1fr;
    }

    .exp-card {
        height: 380px;
        cursor: default;
    }

    .exp-card:hover {
        transform: none;
    }

    .exp-card-bg {
        transition: none;
    }

    .exp-card:hover .exp-card-bg {
        transform: none;
    }

    .exp-card-arrow {
        display: none;
    }

    .exp-card-content {
        transform: translateY(0);
        padding: 30px !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
        transition: none !important;
    }

    .exp-card:hover .exp-card-content {
        padding: 30px !important;
        transform: translateY(0) !important;
    }

    .exp-card-reveal {
        opacity: 1;
        margin-top: 15px;
        transition: none !important;
    }

    .exp-card-desc {
        display: none;
    }
}