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

html,
body {
    width: 100%;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Brand Colors */
    --primary-red: #E60024;
    --primary-red-hover: #E60024;
    --primary-dark: #0A0A0A;
    /* Deep Black for refined look */

    /* Neutral Colors */
    --dark: #0D1B2A;
    --light-gray: #F8F9FA;
    --border-gray: #E5E7EB;
    --white: #FFFFFF;

    /* Text Colors */
    --text-dark: #000000;
    --text-body: #4B5563;
    --text-light: #9CA3AF;

    /* Overlays & Effects */
    --dark-overlay: rgba(0, 0, 0, 0.65);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --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);

    /* Padding & Layout */
    --container-padding: clamp(20px, 5vw, 60px);
    --pad-left: var(--container-padding);
    --pad-right: var(--container-padding);
    --section-spacing: clamp(60px, 8vw, 120px);

    /* Center Aligned Container */
    --container-max-width: 1360px;

    /* Desktop Overrides (Enforce 120px Margins) */
    @media (min-width: 1025px) {
        --container-padding: clamp(40px, 8vw, 120px);
        --pad-left: clamp(40px, 8vw, 120px);
        --pad-right: clamp(40px, 8vw, 120px);
        --container-max-width: 100%;
    }

    @media (min-width: 1440px) {
        :root {
            --container-padding: 120px !important;
            --pad-left: 120px !important;
            --pad-right: 120px !important;
        }
    }

    /* Standardized Typography */
    --heading-font: 'Playfair Display',
    serif;
    --subheading-font: 'Inter',
    sans-serif;

    /* Fluid Heading Sizes */
    --heading-size: clamp(32px, 5.5vw, 82px);
    --heading-weight: 300;
    --subheading-size: clamp(12px, 2vw, 14px);
    --subheading-weight: 700;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-size: var(--heading-size);
    font-weight: var(--heading-weight);
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.header-full-width {
    max-width: 100% !important;
}

/* Navbar & Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 120px;
    background: transparent;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--container-padding);
}

/* Offset anchor scroll targets below the fixed navbar */
#services,
#projects,
#industries,
#why-woodscape,
#case-studies {
    scroll-margin-top: 100px;
}

.navbar.scrolled {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    height: 120px;
}

.nav-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

.logo-img {
    height: clamp(60px, 8vw, 120px);
    width: auto;
    transition: all 0.3s ease;
    transform: translateY(15px);
}

.navbar.scrolled .logo-img {
    height: clamp(45px, 6vw, 90px);
    transform: translateY(0);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: clamp(15px, 2vw, 30px);
    margin-left: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(12px, 2vw, 30px);
    align-items: center;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: clamp(1rem, 1.3vw, 1.28rem);
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
    opacity: 0.9;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
}

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

.nav-cta {
    display: block;
}

.btn-sm {
    font-size: 3rem;
    font-weight: 500;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .btn-split {
        width: 100%;
        justify-content: center;
        gap: 0;
    }

    .btn-split .btn-text {
        flex: 1;
        text-align: center;
        padding: 12px 15px;
        white-space: nowrap !important;
        font-size: 1.1rem !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-split .btn-icon {
        width: 50px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .nav-container {
        justify-content: space-between;
        padding: 0 20px;
        /* align logo-left and hamburger-right with section content */
    }

    .mobile-menu-btn {
        display: block;
        order: 2;
        /* Ensure it stays on the right */
    }

    .logo {
        order: 1;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background: #0D1B2A;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px 40px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 998;
        /* Just below toggle button */
        overflow-y: auto;
    }

    .nav-wrapper.active {
        right: 0;
    }

    .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 24px;
        margin-bottom: 40px;
        list-style: none !important;
    }

    .nav-menu li {
        width: 100%;
        display: block;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-link {
        font-size: 1.25rem;
        display: block;
        padding: 5px 0;
        color: #ffffff !important;
        opacity: 1 !important;
        text-align: left;
    }

    .nav-cta {
        width: 100%;
        margin-top: auto;
    }

    .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .logo-img {
        height: 40px;
        /* Smaller logo on mobile */
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

.stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    /* Increased from 80px */
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b1324;
    /* Fallback navy */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    background-color: #0b1324;
    /* Hero Banner Responsive Logic */
    background-image: var(--bg-desktop);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .hero-slide {
        background-image: var(--bg-mobile) !important;
    }
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-overlay);
    z-index: 2;
}

.slider-indicators {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.indicator {
    width: 80px;
    height: 2px;
    background: rgb(255, 255, 255);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.indicator:hover {
    background: rgb(255, 255, 255);
}

.indicator.active {
    background: #E60024;
    width: 80px;
}


.slider-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: rgba(230, 0, 36, 0.8);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: #E60024;
    width: 32px;
    border-radius: 6px;
}

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: clamp(60px, 10vw, 120px) var(--container-padding);
    gap: 4rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.hero-content {
    max-width: 700px;
    width: 100%;
    margin: 0;
    padding: 0;
    display: none;
}

.hero-content.active {
    display: block;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: var(--heading-size);
    font-weight: var(--heading-weight);
    width: auto;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: var(--white);
    margin-bottom: 24px;
    padding-top: 0;
    /* Clean up previous padding */
}

.hero-content.active .hero-title {
    animation: fadeInUp 1s ease-out;
}


.hero-description {
    color: var(--white);
    font-size: 1.28rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 550px;
}

.hero-content.active .hero-description {
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-content.active .btn-view-projects {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    /* Slightly rounded for modern structural look */
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: translateY(1px);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-red {
    background: var(--primary-red);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-red:hover {
    background: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(230, 0, 36, 0.4);
}

.btn-black {
    background: var(--dark);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-black:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-split {
    padding: 0;
    gap: 0;
    box-shadow: var(--shadow-lg);
    background: transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-split:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-text {
    background: var(--white);
    color: var(--text-dark);
    padding: 0.8rem 1.8rem;
    font-size: 1.23rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.btn-icon {
    background: var(--primary-red);
    width: 55px;
    height: 55px;
    /* Matched height calculation approx */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

/* Ensure equal height for split button parts effectively */
.btn-split .btn-text {
    height: 100%;
    min-height: 55px;
}

.btn-commercial .btn-text {
    background: #000000;
    color: var(--white);
}

.btn-commercial .btn-text:hover {
    background: #E60024;
}

.btn-commercial {
    align-self: flex-start;
}

.btn-submit {
    width: 100%;
    height: 66px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    justify-content: space-between;
    padding: 0 2rem;
    box-shadow: var(--shadow-md);
    text-align: left;
}

.btn-submit:hover {
    background: var(--white);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
}

.btn-submit:hover svg path,
.btn-submit:hover svg line,
.btn-submit:hover svg polyline {
    stroke: #000000;
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

/* NEW: Animated Gap Button Style */
.btn-animate-gap {
    display: inline-flex;
    align-items: stretch;
    gap: 8px;
    /* Re-introduced gap as requested */
    background: transparent;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none !important;
    /* Shadow moves to children for split look */
    border-radius: 0;
    /* Removed radius as requested */
    overflow: visible;
    /* Allow child shadows to show */
}

.btn-animate-gap:hover {
    gap: 0;
}

.btn-animate-gap .btn-text,
.btn-animate-gap .btn-icon {
    height: 55px;
    /* Maintain locked height to prevent vertical deformation */
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-radius: 0;
    /* Ensure no radius on segments */
}

.btn-animate-gap:hover .btn-text,
.btn-animate-gap:hover .btn-icon {
    box-shadow: var(--shadow-lg);
}

.btn-animate-gap .btn-icon svg {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: rotate(-45deg);
    /* Top Right */
}

.btn-animate-gap:hover .btn-icon svg {
    transform: rotate(0deg) translateX(2px);
    /* Total Right */
}

/* No border-radius on separated btn parts */
.btn-animate-gap .btn-text {
    border-radius: 0;
}

.btn-animate-gap .btn-icon {
    border-radius: 0;
}

/* Hover: already no border-radius, nothing to reset */

/* Specific button color overrides for this style */
.btn-animate-gap.btn-black .btn-text {
    background: var(--dark);
    color: var(--white);
}

.btn-animate-gap.btn-black .btn-icon {
    background: var(--primary-red);
}

/* Submit button specific adaptation */
.btn-animate-submit {
    width: 100%;
    justify-content: center;
    background: transparent !important;
    box-shadow: none !important;
}


.btn-red-outline {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-red-outline:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

/* View Projects hero button — red text segment */
.btn-view-projects .btn-text {
    background: var(--white);
    color: #000;
}

.btn-view-projects .btn-text:hover,
.btn-view-projects:hover .btn-text {
    background: var(--primary-red-hover);
    color: var(--white);
}

.hero-form-card {
    background: rgba(11, 22, 34, 0.45);
    /* Translucent dark navy */
    padding: clamp(30px, 4vw, 60px) clamp(20px, 4vw, 50px);
    min-height: auto;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 540px;
    /* Exact size adjustment */
    flex-shrink: 0;
    margin: -90px 0 0 0;
    display: flex;
    flex-direction: column;
    /* border-radius: 4px; */
    /* Subtle rounding */
    animation: fadeInRight 1s ease-out 0.3s backwards;
}

.form-title {
    font-family: var(--subheading-font);
    font-size: 2rem;
    /* Increased from 1.23rem */
    text-align: left;
    /* Changed from center */
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.form-desc {
    font-size: 1rem;
    color: var(--white);
    text-align: left;
    /* Changed from center */
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-input,
.form-textarea {
    width: 100%;
    height: 52px;
    padding: 0 20px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1F2937;
    border-radius: 2px;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(230, 0, 36, 0.15), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    height: auto;
    padding-top: 15px;
    padding-bottom: 15px;
}

.btn-submit {
    margin-top: 0.5rem;
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit svg {
    transform: rotate(-45deg);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-submit:hover svg {
    transform: rotate(0deg);
}

.stats {
    background-color: #FFFFFF;
    padding: 140px var(--container-padding);
    /* Increased spacing above and below */
    contain: layout;
    /* Stabilizes the section layout */
    min-height: 400px;
    /* Prevents section collapse during load */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 40px);
    max-width: 1400px;
    /* Limit width to keep cards closer and centered */
    margin: 0 auto;
    justify-content: center;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

.stat-card-wrapper {
    position: relative;
    background-color: #dedcdcf3;
    /* Default border color */
    padding: 1.5px;
    /* Border thickness */
    --cut: 60px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
    transition: background 0.4s ease, filter 0.4s ease;
    width: 100%;
    margin: 0;
    transform: translateZ(0);
    /* Hardware acceleration to stabilize rendering */
}

.stat-card-wrapper:hover {
    background: linear-gradient(90deg, #000000, #E60024, #ff4d6a);
    background-size: 300% 300%;
    animation: gradientMove 3s linear infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.08));
}

.stat-card {
    background-color: #ffffff;
    padding: clamp(20px, 4vw, 28px) clamp(30px, 5vw, 80px) clamp(20px, 4vw, 32px);
    max-width: 580px;
    /* Increased from implicitly smaller flex limits */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    --cut: 59.9px;
    /* Slightly smaller to fit inside wrapper */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.stat-icon {
    margin-top: 14px;
    margin-bottom: 24px;
    height: clamp(60px, 8vw, 92px);
    width: clamp(60px, 8vw, 92px);
}

.stat-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: clamp(48px, 6vw, 86px);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    font-variant-numeric: tabular-nums;
    /* Prevents shaking by making all digits same width */
    display: inline-block;
    min-width: 3ch;
    /* Reserve space for up to 3 digits */
    text-align: left;
}

.stat-label {
    font-family: var(--subheading-font);
    font-size: clamp(0.9rem, 1.2vw, 1.23rem);
    font-weight: var(--subheading-weight);
    color: #000000;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Hover: text turns into gradient */
.stat-card-wrapper:hover .stat-number,
.stat-card-wrapper:hover .stat-label {
    background: linear-gradient(90deg, #000000, #E60024, #ff4d6a);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}



.pin-wrap {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    background-color: var(--white);
}

.pin-wrap .commercial-section {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 !important;
    display: flex;
    align-items: center;
    background-color: var(--white);
    will-change: transform;
    z-index: 1;
}

.pin-wrap .commercial-section:first-child {
    z-index: 1;
}

.pin-wrap .commercial-section:nth-child(2) {
    z-index: 2;
}

.commercial-image img {
    transform-origin: center center;
    will-change: transform;
}

@media (max-width: 768px) {
    .pin-wrap {
        height: auto;
        display: block;
    }

    .pin-wrap .commercial-section {
        position: relative;
        height: auto;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 60px 0;
    }
}

.commercial-section {
    background: #FFFFFF;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    z-index: 15;
}

.commercial-section.reversed {
    background-color: var(--light-gray);
    position: relative;
    z-index: 20;
}

.commercial-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 0;
}

.commercial-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

.commercial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.commercial-image:hover img {
    transform: scale(1.05);
}

.commercial-content {
    padding: 120px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
}

.section-title {
    font-family: var(--heading-font);
    font-size: var(--heading-size);
    font-weight: var(--heading-weight);
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.section-description {
    font-size: 1.18rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    margin-bottom: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 500;
    color: #000000;
}

.feature-item svg {
    flex-shrink: 0;
    border: 1px solid #c9c7c7;
    padding: 2px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1200px) {
    :root {
        --container-padding: 32px;
    }

    .hero-title {
        font-size: 3.5rem;
        /* ~56px */
    }

    .section-title {
        font-size: 2.25rem;
        /* ~36px */
    }
}

@media (max-width: 1024px) {
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background: #0D1B2A;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px 40px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 998;
        overflow-y: auto;
    }

    .nav-wrapper.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    @media (max-width: 768px) {
        .founder-container {
            flex-direction: column;
            padding: 0 20px;
        }

        .founder-image {
            width: 100% !important;
            max-width: 400px;
            margin: 0 auto 30px;
        }

        .founder-image img {
            width: 100%;
            height: auto;
            object-fit: contain;
        }
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }

    .hero-content.active {
        max-width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-form-card {
        width: 100%;
        max-width: 525px;
        margin-top: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        /* Slightly tighter as per reference style */
        padding: 0 15px;
        /* Add some breathing room on sides of grid */
    }

    .stat-card-wrapper {
        background-color: transparent !important;
        /* Remove dark grey background */
        border: 1px solid #E5E7EB;
        /* Subtle border like in image */
        padding: 0;
        /* No wrapper padding */
        --cut: 40px !important;
        box-shadow: none !important;
    }

    .stat-card-wrapper:hover {
        background: transparent !important;
        animation: none !important;
        filter: none !important;
    }

    .stat-card {
        padding: 24px 20px;
        /* Adjusted padding for better look */
        align-items: flex-start;
        /* Left aligned content like image */
        text-align: left;
        background-color: #ffffff;
        --cut: 39.9px !important;
        width: 100%;
        height: 100%;
    }

    .stat-number {
        font-size: clamp(36px, 10vw, 44px);
        /* Slightly larger for emphasis */
        margin-bottom: 4px;
        font-weight: 600;
        color: #000000;
    }

    .stat-label {
        font-size: 1rem;
        color: #1a1a1a;
        font-weight: 500;
    }

    .stat-icon {
        height: 48px;
        width: 48px;
        margin-top: 0;
        margin-bottom: 20px;
    }

    .commercial-container {
        grid-template-columns: 1fr;
    }

    .commercial-image {
        min-height: 250px;
        order: -1;
        margin-left: -20px !important;
        margin-right: -20px !important;
        width: calc(100% + 40px) !important;
        max-width: none !important;
        border-radius: 0 !important;
    }

    .commercial-image img {
        border-radius: 0 !important;
    }

    .commercial-content {
        padding: 40px 0 !important;
        /* Align text exactly with the 20px container edge */
        text-align: left;
        align-items: flex-start;
    }

    .feature-item {
        font-size: 1.25rem;
        justify-content: flex-start;
    }

    .btn-commercial {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .navbar {
        height: 80px;
    }

    .logo-img {
        height: 60px;
    }

    .hero-container {
        padding-top: 60px;
        /* Reduced from 100px to decrease gap with navbar */
        gap: 2rem;
    }

    .hero-title {
        text-align: left;
        /* Changed from center */
    }

    .hero-description {
        text-align: left;
        /* Changed from center */
        font-size: 1.1rem;
    }

    .hero-content.active {
        align-items: flex-start;
        /* Ensure children align left */
    }

    .hero-content .btn {
        width: fit-content !important;
        max-width: fit-content !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
    }

    .hero-content .btn .btn-text {
        padding: 0 15px !important;
        /* restore inner breathing room, keep button flush-left */
    }

    .hero-form-card {
        padding: 30px 20px;
        min-height: auto;
    }

    .form-title {
        font-size: 1.45rem;
        /* Increased to match desktop update */
        font-weight: 700;
        text-align: left;
    }

    .form-desc {
        text-align: left;
        margin-bottom: 1.5rem;
    }

    .btn-submit {
        height: 56px;
        font-size: 1.1rem;
    }

    /* Success Stories - Revert to Horizontal Carousel */
    .stories-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }

    .stories-header-left,
    .stories-header-center {
        min-width: auto;
        max-width: 100%;
    }

    .stories-nav {
        display: none;
    }

    .stories-carousel-wrapper {
        width: 100%;
        left: 0;
        right: 0;
        margin: 0;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        /* Reduced from 20px to pull scrollbar closer */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE 10+ */
        scroll-snap-type: none;
    }

    .stories-carousel-wrapper::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari/Webkit */
    }

    .stories-carousel {
        flex-direction: row !important;
        width: max-content !important;
        padding: 0 20px !important;
        gap: 20px !important;
    }


    .stories-scrollbar-track {
        display: flex !important;
        margin: 0px 20px 20px 20px;
        /* Removed top margin */
    }

    /* Delivery Process */
    .process-header-row {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .process-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .process-item {
        padding: 20px;
        flex-direction: row-reverse;
        justify-content: flex-end;
        gap: 20px;
    }

    .proc-badge {
        position: static;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .proc-title {
        font-size: 1.1rem;
    }

    /* Industries Served */
    .industries-grid-redesign {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Why Woodscape - Smaller Cards */
    .why-carousel-track {
        flex-direction: row !important;
        width: max-content !important;
        gap: 15px !important;
        padding: 0 20px !important;
    }

    .why-card-wrap {
        width: 280px !important;
        /* More compact */
        flex: 0 0 auto !important;
        --cut: 40px !important;
    }

    .why-card {
        flex-direction: column !important;
        text-align: left !important;
        align-items: flex-start !important;
        padding: 2rem 1.5rem !important;
    }

    .why-icon-wrapper {
        margin-bottom: 1.5rem !important;
    }

    .why-icon-wrapper img {
        width: 50px !important;
        height: 50px !important;
    }

    .why-card-title {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.5rem !important;
    }

    .why-card-desc {
        width: 100% !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    .why-scrollbar-track {
        display: none;
    }

    /* Featured Case Study */
    .case-visuals-redesign {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .case-img-panel,
    .case-testimonial-wrap,
    .case-cta-wrap {
        --cut: 45px !important;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%) !important;
    }

    .case-img-panel {
        height: 320px !important;
    }

    .case-testimonial-card,
    .case-cta-card {
        height: auto !important;
        min-height: 320px !important;
        --cut: 45px !important;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%) !important;
        padding: 30px !important;
        align-items: flex-start !important;
        text-align: left !important;
        justify-content: flex-start !important;
    }

    .testimonial-red-title,
    .case-cta-title {
        font-size: 2.2rem !important;
        margin-bottom: 20px !important;
        text-align: left !important;
    }

    .testimonial-body,
    .case-cta-desc {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
        max-width: 100% !important;
        text-align: left !important;
    }

    .testimonial-author-name {
        font-size: 1.1rem !important;
        margin-bottom: 20px !important;
        text-align: left !important;
    }

    .case-cta-btn.btn-animate-gap {
        padding: 0 !important;
        height: 50px !important;
        width: fit-content !important;
        align-self: flex-start !important;
        margin-left: 0 !important;
    }

    .case-cta-btn .btn-text,
    .case-cta-btn.btn-animate-gap .btn-text,
    .hero-content .btn .btn-text {
        padding: 0 20px !important;
        /* inner breathing room between text and border */
    }

    .estimate-form-grid {
        gap: 20px !important;
    }

    .estimate-form-row {
        display: flex !important;
        flex-direction: column;
        gap: 15px;
        /* Separate input fields */
    }

    .estimate-submit-wrap {
        margin-top: 15px !important;
    }

    .estimate-submit-btn {
        width: 100%;
        justify-content: space-between;
    }

    /* CTA Footer Section - Rich Mobile Customization */
    .cta-footer-section {
        padding: 5rem 20px;
        background: radial-gradient(circle at top right, #4c1d95, #1e3a8a, #0f172a) !important;
        text-align: center !important;
    }

    .cta-overlay {
        display: none;
        /* Let the gradient speak */
    }

    .cta-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-title {
        font-family: 'Playfair Display', serif !important;
        font-size: 3rem !important;
        font-weight: 700 !important;
        margin-bottom: 24px !important;
        text-align: center !important;
    }

    .cta-desc {
        font-size: 1.15rem !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        margin-bottom: 40px !important;
        text-align: center !important;
    }

    .cta-buttons {
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .cta-btn {
        width: 100% !important;
        min-width: auto !important;
        flex: none !important;
        /* PREVENT stretching into boxes */
        padding: 12px 24px !important;
        /* Slightly more than 10px for readability */
        background-color: #000000 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-radius: 0 !important;
        font-size: 1.15rem !important;
        font-weight: 600 !important;
        min-height: 56px;
        /* A bit taller than 48px for better premium feel */
    }

    .cta-btn-left {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .cta-btn-left svg {
        width: 24px !important;
        height: 24px !important;
        color: #ffffff !important;
    }

    .cta-btn-arrow {
        font-size: 1.5rem !important;
        color: #ffffff !important;
        font-weight: 700 !important;
    }


    /* Global Left Alignment for Typography */
    .hero-title,
    .hero-description,
    .section-title,
    .section-description,
    .faq-title,
    .faq-desc,
    .estimate-title,
    .estimate-desc,
    .cta-title,
    .cta-desc,
    .why-title,
    .commercial-content,
    .stories-header-left h2,
    .process-header-left h2,
    .industries-header h2 {
        text-align: left !important;
        margin-left: 0 !important;
        width: 100% !important;
        align-items: flex-start !important;
    }

    .hero-content.active,
    .estimate-container,
    .faq-container,
    .cta-footer-section {
        align-items: flex-start !important;
        text-align: left !important;
    }

    /* Footer Logo & Contact */
    .footer-logo-img {
        height: clamp(40px, 10vw, 60px);
    }

    .footer-contact-item {
        margin-bottom: 24px;
        text-align: left !important;
    }
}

/* Success Stories Section */
/* Success Stories Redesign */
.success-stories {
    overflow-x: clip;
    background-color: #F4F4F4 !important;
    position: relative;
    z-index: 20;
}

.section-padding {
    padding: 120px 0;
}

.section-label-red {
    color: var(--primary-red);
    font-family: var(--subheading-font);
    font-size: 1.78rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    margin-bottom: 5px;
    display: block;
}

.display-title {
    font-family: var(--heading-font);
    font-size: var(--heading-size);
    line-height: 1.0;
    color: #0a0a0a;
    font-weight: var(--heading-weight) !important;
}

.stories-header {
    display: flex;
    align-items: flex-end;
    margin-bottom: 48px;
    gap: 60px;
    justify-content: space-between;
}

.stories-header-left {
    flex: 0 0 auto;
    min-width: 320px;
}

.stories-header-center {
    flex: 1 1 auto;
    max-width: 800px !important;
}

.stories-header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
}

.section-desc-small {
    font-size: 1.2rem;
    color: #4B5563;
    line-height: 1.65;
    margin-bottom: 22px;
}

.stories-nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 52px;
    height: 52px;
    border: 1px solid #a9a7a7f5;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;

    margin-bottom: 22px;
}

.nav-btn:hover {
    border-color: var(--dark);
    background: var(--dark);
    color: #fff;
}

/* Carousel Wrapper - full bleed */
.stories-carousel-wrapper {
    overflow: hidden;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    cursor: grab;
    user-select: none;
}

.stories-carousel-wrapper.is-dragging {
    cursor: grabbing;
}

.stories-carousel {
    display: flex;
    gap: 30px;
    width: max-content;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    padding-bottom: 4px;
    /* left-align first card with the container's content */
    padding-left: var(--pad-left);
    padding-right: var(--pad-right);
}

/* Custom Scrollbar */
.stories-scrollbar-track {
    width: calc(100% - var(--pad-left) - var(--pad-right));
    margin-left: var(--pad-left);
    height: 4px;
    background: #E5E7EB;
    margin-top: 36px;
    position: relative;
    cursor: pointer;
}

.stories-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary-red);
    cursor: grab;
    transition: height 0.2s ease, top 0.2s ease;
    min-width: 60px;
}

.stories-scrollbar-thumb:hover,
.stories-scrollbar-thumb.is-dragging {
    height: 6px;
    top: -1px;
    cursor: grabbing;
}

.story-card {
    background: #fff;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100vw - var(--pad-left) - var(--pad-right) - 60px) / 3);
    width: calc((100vw - var(--pad-left) - var(--pad-right) - 60px) / 3);
    height: auto;
    min-height: 65vh;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    --story-cut: 96px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--story-cut)), calc(100% - var(--story-cut)) 100%, 0 100%);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.story-img-wrapper {
    height: 30% !important;
    flex: 0 0 30%;
    width: 100%;
    overflow: hidden;
}

.story-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-img-wrapper img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .stories-header-center {
        max-width: 650px !important;
    }

    .story-card {
        --story-cut: 40px;
        flex: 0 0 calc(100vw - 40px);
        width: calc(100vw - 40px);
        height: auto;
        min-height: 520px;
        background: #fff !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        scroll-snap-align: center;
    }

    .story-img-wrapper {
        height: 240px !important;
    }

    .story-img-wrapper img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    .story-title {
        font-family: var(--subheading-font);
        font-weight: 500 !important;
        font-size: 2.2rem !important;
        color: #111827 !important;
        margin-bottom: 1.5rem !important;
    }

    .meta-row {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
    }

    .meta-label {
        font-weight: 700 !important;
        color: #111827 !important;
        width: 100px !important;
    }

    .meta-sep {
        color: #111827 !important;
        margin: 0 10px !important;
    }

    .meta-val {
        color: #6B7280 !important;
        font-weight: 500 !important;
    }

    .story-impact {
        font-size: 1.05rem !important;
        color: #111827 !important;
        margin: 1.5rem 0 2rem 0 !important;
        line-height: 1.5 !important;
    }

    .story-actions {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .story-btn-text {
        background: #111827 !important;
        color: #fff !important;
        padding: 14px 28px !important;
        font-weight: 600 !important;
        font-size: 1.1rem !important;
        text-decoration: none !important;
        display: inline-block !important;
        flex-shrink: 0 !important;
    }

    .story-btn-icon {
        background: #FF0000 !important;
        width: 52px !important;
        height: 52px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        flex-shrink: 0 !important;
    }
}

.story-content {
    padding: clamp(20px, 3vw, 40px);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-title {
    font-family: var(--subheading-font);
    font-size: clamp(1.6rem, 2.2vw, 2.3rem);
    font-weight: 500;
    color: #0a0a0a;
    margin-bottom: 14px;
    line-height: 1.3;
}

.story-meta {
    margin-bottom: 24px;
}

.meta-row {
    display: flex;
    font-size: clamp(1rem, 1.2vw, 1.34rem);
    margin-bottom: 10px;
    color: #1a1a1a;
    align-items: baseline;
}

.meta-label {
    width: 120px;
    font-weight: 700;
    color: #111;
    flex-shrink: 0;
}

.meta-sep {
    margin-right: 15px;
    font-weight: 700;
}

.meta-val {
    color: #374151;
    font-weight: 400;
}

.story-impact {
    font-size: 1.2rem;
    line-height: 1.4rem;
    color: #374151;
    margin-bottom: 30px;
    flex: 1;
}

/* Base styling for Success Stories buttons */
.story-btn-text,
.story-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 55px;
}

.story-btn-text {
    background: #000;
    color: #fff;
    padding: 0 24px;
    font-size: 1.1rem;
    font-weight: 500;
}

.story-btn-icon {
    background: #FF0000;
    width: 55px;
}

.story-btn-icon svg {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: rotate(0deg);
}

@media (min-width: 769px) {
    .story-actions {
        display: inline-flex;
        align-items: stretch;
        gap: 8px;
        transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
    }

    .story-actions:hover {
        gap: 0;
    }

    .story-actions:hover .story-btn-text,
    .story-actions:hover .story-btn-icon {
        background: #FF0000 !important;
        color: #fff !important;
    }

    .story-actions:hover .story-btn-icon svg {
        transform: rotate(45deg) translateX(2px);
    }
}

/* MacBook 13/14 Inch Optimizations */
@media (min-width: 1250px) and (max-width: 1440px) {
    .section-desc-small {
        font-size: 0.85rem !important;
    }

    .story-title {
        font-size: 1.5rem !important;
    }

    .meta-row {
        font-size: 0.9rem !important;
    }

    .story-impact {
        font-size: 0.95rem !important;
    }

    .story-btn-text {
        font-size: 0.9rem !important;
    }

    .story-img-wrapper img {
        object-fit: cover !important;
        background-color: #f4f4f4;
    }

    .stats-grid {
        padding-left: 60px !important;
        padding-right: 60px !important;
    }

    .stat-card {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }

    .commercial-content {
        padding: 60px 80px !important;
    }

    .commercial-section {
        padding: 80px 0 !important;
    }
}

.btn-red-square:hover {
    background: #cc0000;
}

@media (max-width: 1024px) {


    .why-card-wrap {
        flex: 0 0 calc(100vw - 40px);
        width: calc(100vw - 40px);
        padding: 0;
    }

    .display-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .display-title {
        font-size: 2.8rem;
    }
}



/* Delivery Process Section */
/* Delivery Process Redesign */
.process-section {
    padding: 100px 0;
    background: #fff;
}

/* Process header row: title left | description right */
.process-header-row {
    display: flex;
    align-items: flex-start;
    /* Aligned to top to match photo */
    gap: clamp(30px, 5vw, 80px);
    margin-bottom: 40px;
    /* Reduced to push content up */
}

.process-header-left {
    flex: 1;
}

.process-header-right {
    flex: 1;
}

.process-wrapper {
    display: flex;
    gap: clamp(30px, 5vw, 80px);
    align-items: flex-start;
}

.process-image-col {
    flex: 1;
    height: 600px;
}

.process-feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-content-col {
    flex: 1;
}

.display-title-serif {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 300;
}

.process-desc {
    font-size: 1.2rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 100%;
}

.process-list {
    display: flex;
    flex-direction: column;
    border-top: none;
    /* Removed top border as requested */
}

.process-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 36px 0;
    border-bottom: 1px solid #E5E7EB;
    cursor: default;
    transition: background 0.2s ease;
}

.process-item:first-child {
    padding-top: 0;
    /* Align first step text with image top */
}

.proc-title {
    font-family: var(--subheading-font);
    font-size: 1.65rem;
    font-weight: 400;
    color: var(--text-dark);
    margin: 0;
    transition: font-weight 0.2s ease, color 0.2s ease;
}

.proc-badge {
    width: 42px;
    height: 42px;
    background: #F3F4F6;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 1rem;
    flex-shrink: 0;
    border-radius: 0;
    /* Square as per photo */
    transition: all 0.2s ease;
}

.active-step .proc-badge {
    background: var(--primary-red);
    color: #fff;
}

.active-step .proc-title {
    font-weight: 700;
}


/* Hover: bold text + red badge */
.process-item:hover .proc-title {
    font-weight: 700;
}

.process-item:hover .proc-badge {
    background: var(--primary-red);
    color: #fff;
}

.process-note {
    margin-top: 30px;
    font-size: 1.23rem;
    color: #9CA3AF;
}

@media (max-width: 1024px) {
    .process-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 40px;
    }

    .process-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .process-image-col {
        height: 300px;
        width: 100%;
        order: -1;
    }
}

@media (max-width: 768px) {
    .process-item {
        justify-content: space-between;
        /* Ensure full width usage */
        width: 100%;
        text-align: left;
    }

    .process-item .proc-title {
        text-align: left !important;
        flex: 1;
    }
}

/* Industries Section */
/* Industries Served Redesign */
.industries-section {
    background: #fff;
    padding: 100px 0 0 0;
}

.industries-header {
    margin-bottom: 60px;
}

.industries-grid-redesign {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #E5E7EB;
}

.industry-card-new {
    background: #fff;
    padding: 40px;
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
}

/* Remove left outer border (first column) */
.industry-card-new:nth-child(3n+1) {
    border-left: none;
}

/* Remove right outer border (last column) */
.industry-card-new:nth-child(3n) {
    border-right: none;
}

/* .industry-card-new:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    z-index: 2;
    transform: translateY(-5px);
    border-color: transparent;
} */

.ind-icon-red {
    color: var(--primary-red);
    margin-bottom: 24px;
    height: 120px;
    width: 120px;
    display: flex;
    align-items: center;
}

.ind-title-new {
    font-family: var(--subheading-font);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.ind-desc-new {
    font-size: 1.23rem;
    color: #6B7280;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .industries-grid-redesign {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-card-new:nth-child(2n+1) {
        border-left: none;
    }

    .industry-card-new:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .industries-grid-redesign {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-card-new {
        padding: 30px 20px;
    }

    /* Reset borders for 2-column mobile grid */
    .industry-card-new:nth-child(n) {
        border-left: none;
        border-right: 1px solid #E5E7EB;
    }

    .industry-card-new:nth-child(2n) {
        border-right: none;
    }

    .ind-title-new {
        font-size: 1.8rem;
    }

    .ind-desc-new {
        font-size: 1.1rem;
    }

    .ind-icon-red {
        height: 80px;
        width: 80px;
        margin-bottom: 16px;
    }
}

/* Why Woodscape Section */
.why-section {
    padding: var(--section-spacing) 0;
    background: var(--light-gray);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.why-card {
    background: var(--white);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

/* Featured Case Study Redesign */
.featured-case-section {
    background: #fff;
    padding: 100px 0;
}

.case-study-intro {
    max-width: 800px;
}

.case-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 80px;
    border-top: 1px solid #E5E7EB;
}

@media (max-width: 768px) {
    .case-stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .case-stat-item {
        border-right: none !important;
    }
}

.case-stat-item {
    background: #ffffff;
    padding: clamp(24px, 3vw, 40px);
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

/* Remove outer side borders */
.case-stat-item:first-child {
    border-left: none;
}

.case-stat-item:last-child {
    border-right: none;
}

/* .case-stat-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    z-index: 2;
    transform: translateY(-5px);
    border-color: transparent;
} */

.stat-icon-red-lg {
    color: var(--primary-red);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.stat-title-lg {
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.stat-desc-lg {
    font-size: clamp(1rem, 1.2vw, 1.23rem);
    color: #6B7280;
    font-weight: 400;
    line-height: 1.6;
}

/* ── Before / After image panels ─── */
.case-visuals-redesign {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    --cut: 50px;
    /* Share variable scoped to the redesign section */
}

.case-img-panel {
    position: relative;
    overflow: hidden;
    height: clamp(300px, 35vw, 480px);
    transform: translateZ(0);
}

/* All images and the testimonial card in the redesign get the cut corner */
.case-img-panel,
.case-testimonial-card {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%) !important;
}

.case-img-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1.5s ease, transform 0.5s ease;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
}

.case-img-panel img.active {
    opacity: 1;
    visibility: visible;
}

.case-img-panel:hover img {
    transform: scale(1.04);
}

.case-img-label {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-red);
    color: #fff;
    padding: 10px 24px;
    font-size: 1.25rem;
    font-weight: 600;
    z-index: 2;
}

/* ── Testimonial panel (bottom-left) ── */
.case-testimonial-wrap {
    background: #ffffff;
    padding: 0;
}

@media (max-width: 768px) {
    .case-testimonial-wrap {
        --cut: 50px;
    }
}

.case-testimonial-card {
    padding: clamp(30px, 4vw, 60px) clamp(24px, 3vw, 48px);
    height: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* HTML background image and overlay positioning */
.case-test-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.case-test-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244, 244, 244, 0.94);
    z-index: 0;
}



.case-testimonial-card::before {
    top: -40px;
    left: 20px;
}

.case-testimonial-card::after {
    bottom: -160px;
    right: 20px;
}


.testimonial-red-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: clamp(12px, 2vw, 24px);
    line-height: 1.2;
    z-index: 1;
    position: relative;
}

.testimonial-slider-container {
    position: relative;
    width: 100%;
    min-height: 220px;
    margin-bottom: 20px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.testimonial-body {
    font-size: clamp(0.95rem, 1.2vw, 1.19rem);
    color: #4B5563;
    line-height: 1.65;
    margin-bottom: clamp(16px, 2vw, 32px);
    max-width: 680px;
    z-index: 1;
    position: relative;
    font-style: italic;
}

.testimonial-author-name {
    font-size: 1.32rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 32px;
    font-family: 'Inter', sans-serif;
    z-index: 1;
    position: relative;
}

.testimonial-dot-row {
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 5;
    position: relative;
    margin-top: auto;
    transform: translateY(-3px);
}

.tdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D1D5DB;
    display: inline-block;
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.tdot.active {
    background: var(--primary-red);
    transform: scale(1.2);
}

/* Large decorative quote mark */
.testimonial-quote-mark {
    position: absolute;
    bottom: -20px;
    right: 24px;
    font-size: 10rem;
    font-family: 'Playfair Display', serif;
    color: #D1D5DB;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    opacity: 0.5;
}

/* ── CTA panel (bottom-right) ── */
.case-cta-wrap {
    --cut: 80px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
    background: #000;
    padding: 0;
}

.case-cta-card {
    background: #000;
    padding: 60px 48px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
}

.case-cta-desc {
    font-size: 1.23rem;
    color: #E5E7EB;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 560px;
}

/* Custom CTA Button Styling */
.case-cta-btn.btn-animate-gap {
    align-self: flex-start;
}

.case-cta-btn.btn-animate-gap .btn-text {
    background: #fff;
    color: #111;
    transition: background 0.3s ease, color 0.3s ease;
}

.case-cta-btn.btn-animate-gap .btn-icon {
    background: var(--primary-red);
    color: #fff;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Base Arrow Tilt (Top Right) */
.case-cta-btn.btn-animate-gap .btn-icon svg {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

/* Hover: Make it all red and straighten arrow right */
.case-cta-btn.btn-animate-gap:hover .btn-text,
.case-cta-btn.btn-animate-gap:hover .btn-icon {
    background: var(--primary-red);
    color: #fff;
}

.case-cta-btn.btn-animate-gap:hover .btn-icon svg {
    transform: rotate(45deg);
}



@media (max-width: 1024px) {
    .case-visuals-redesign {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .case-img-panel {
        height: 260px;
    }

    .case-testimonial-card {
        padding: 30px !important;
    }

    .case-cta-card {
        padding: 30px !important;
        justify-content: space-between !important;
        /* Distribute space evenly */
    }

    .testimonial-red-title,
    .case-cta-title {
        margin-top: 0 !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .testimonial-body,
    .testimonial-author-name,
    .testimonial-dot-row {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .case-cta-desc {
        margin-bottom: 24px !important;
        /* Tighter gap to button */
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .case-cta-btn {
        margin: auto 0 0 0 !important;
        /* Push to bottom, flush left */
        padding: 0 !important;
        align-self: flex-start !important;
        transform: none !important;
        display: flex !important;
        justify-content: flex-start !important;
        width: fit-content !important;
        max-width: 100% !important;
    }

    .case-cta-btn .btn-text {
        padding-left: 0 !important;
        margin-left: 0 !important;
        justify-content: flex-start !important;
    }
}

/* Founder Message */


.founder-section {
    padding: var(--section-spacing) 0;
    background: var(--white);
}

.founder-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.founder-image {
    position: relative;
    height: 500px;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-content {
    padding-left: 20px;
}

.founder.why-title {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: #0a0a0a;
}

@media (max-width: 768px) {
    .why-title {
        font-size: 3rem !important;
        text-align: center;
        white-space: nowrap;
        letter-spacing: -0.02em;
    }

    .estimate-title {
        font-size: 2.6rem !important;
        /* R4-19: Break line */
        line-height: 1.1;
    }

    .estimate-container {
        padding: 0 25px !important;
        /* R4: Increased to 25px for better mobile spacing */
    }

    .estimate-section {
        padding: 60px 0;
        /* Reduced top/bottom padding for mobile */
    }
}

.founder-quote {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.6;
}

.founder-name {
    font-weight: 700;
    color: var(--primary-red);
    display: block;
    margin-bottom: 5px;
}

.founder-title {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Client Stories / Testimonials */
.testimonials-section {
    padding: var(--section-spacing) 0;
    background: var(--light-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 24px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-name {
    font-weight: 700;
    color: var(--text-dark);
    display: block;
}

.client-role {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background: var(--white);
}

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

.faq-item {
    border-bottom: 1px solid var(--border-gray);
    margin-bottom: 20px;
}

.faq-question {
    font-size: 1.75rem;
    /* Fixed from 8rem typo */
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.faq-answer {
    margin-top: 15px;
    color: var(--text-body);
    line-height: 1.6;
    display: none;
    padding-bottom: 10px;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

.faq-toggle {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);

}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--primary-red);
    color: var(--white);
    text-align: center;
}

.cta-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 120px 0 60px;
    /* Increased top padding, adjusted bottom */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: clamp(20px, 3vw, 40px);
    margin-bottom: 60px;
}

.footer-logo img {
    height: 120px;
    width: auto;
    display: block;
    margin-bottom: 24px;
}

.footer-desc {
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.footer-heading {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 1024px) {
    .founder-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-content {
        padding-left: 0;
    }

    .founder-image {
        height: 400px;
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

/* Founder Section Redesign */
.founder-section-new {
    background: #fff;
    padding: 100px 0;
}

.founder-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.founder-img-col {
    height: 600px;
}

.founder-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-quote-large {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 40px;
    position: relative;
    border: none;
    padding: 0;
}

.founder-meta-new h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.founder-role-new {
    font-size: 0.9375rem;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Client Stories Redesign */
.testimonials-section-new {
    background: #FAFAFA;
    padding: 100px 0;
    position: relative;
    z-index: 20;
    /* Ensure it covers pinned content if needed */
}

.testimonials-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial-card-new {
    background: #fff;
    padding: 50px;
    border: 1px solid #E5E7EB;
    position: relative;
}

.quote-icon-red {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.2;
}

.test-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 30px;
    font-style: italic;
}

.client-name-new {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.client-role-new {
    font-size: 0.875rem;
    color: #6B7280;
}

@media (max-width: 1024px) {
    .founder-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .founder-img-col {
        height: 400px;
        order: -1;
    }

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

/* Footer Redesign */
.footer-new {
    background: #111;
    color: #fff;
    padding: 80px 0 0;
}

.footer-top-new {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: clamp(30px, 4vw, 60px);
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-new {
    padding-right: 40px;
}

.footer-logo-new {
    height: 40px;
    margin-bottom: 24px;
    width: auto;
}

.footer-desc-new {
    color: #9CA3AF;
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links-col h4,
.footer-contact-col h4 {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
}

.footer-links-col li {
    margin-bottom: 12px;
}

.footer-links-col a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-col a:hover {
    color: #fff;
}

.footer-contact-col p {
    color: #9CA3AF;
    margin-bottom: 12px;
}

.footer-bottom-new {
    padding: 30px 0;
    text-align: center;
    color: #6B7280;
    font-size: 0.875rem;
}

@media (max-width: 1024px) {
    .footer-top-new {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-top-new {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MIGRATED SOURCE STYLES
   ========================================= */

/* Static Banner */
.static-banner-wrap {
    width: 100%;
    line-height: 0;
    /* Removes any inline gap under the img */
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.static-banner-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- 1. Why Woodscape --- */
.why-woodscape-section {
    padding: 6rem 0;
    background-color: #F5F5F5;
}

.why-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 var(--pad-right) 0 var(--pad-left);
}

.why-title {
    font-size: 4.5rem;
    font-family: 'Playfair Display', serif;
    color: #111827;
    margin-bottom: 1rem;
    font-weight: 300;
}

.why-desc {
    color: #6B7280;
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* Why Woodscape Carousel */
.why-woodscape-section {
    padding: 6rem 0 3rem;
    background-color: #F5F5F5;
    overflow: hidden;
}

.why-carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.why-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.why-carousel-wrapper.is-dragging {
    cursor: grabbing;
}

.why-carousel-track {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 0 var(--pad-right) 0 var(--pad-left);
}

/* Scrollbar */
.why-scrollbar-track {
    width: calc(100% - var(--pad-left) - var(--pad-right));
    margin-left: var(--pad-left);
    height: 4px;
    background: #E5E7EB;
    margin-top: 36px;
    position: relative;
    cursor: pointer;
}

.why-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary-red);
    cursor: grab;
    transition: height 0.2s ease, top 0.2s ease;
    min-width: 60px;
}

.why-scrollbar-thumb:hover,
.why-scrollbar-thumb.is-dragging {
    height: 6px;
    top: -1px;
    cursor: grabbing;
}

/* Why Cards */
.why-card-wrap {
    /* Fit 4 cards on desktop */
    flex: 0 0 calc((100vw - var(--pad-left) - var(--pad-right) - (3 * 24px)) / 4);
    width: calc((100vw - var(--pad-left) - var(--pad-right) - (3 * 24px)) / 4);
    /* Let content determine height instead of rigid aspect-ratio */
    min-height: 0;
    --cut: 60px;
    /* Reduced cut for smaller cards */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
    background: #ffffff;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
}

.why-card {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.2rem, 2.5vw, 2rem);
    box-sizing: border-box;
    transition: background 0.3s ease;
    display: flex;
    flex-direction: column;
}

.why-card-wrap:hover .why-card {
    background-color: #FAFAFA;
}

.why-icon-wrapper {
    margin-bottom: clamp(1rem, 2vw, 2rem);
    width: clamp(4rem, 6vw, 6rem);
    height: clamp(4rem, 6vw, 6rem);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
}

.why-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.why-card-title {
    font-family: var(--subheading-font);
    font-size: clamp(1.5rem, 2vw, 2.23rem);
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.75rem;
}

.why-card-desc {
    font-size: clamp(0.9rem, 1.2vw, 1.135rem);
    color: #6B7280;
    line-height: 1.625;
    width: 100%;
    max-width: 350px;
}

/* --- 2. Founder Message --- */
.founder-section-migrated {
    position: relative;
    width: 100%;
    height: 800px;
    background-color: #000;
    overflow: hidden;
}

.founder-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 1s ease;
}

.founder-section-migrated:hover .founder-bg-img {
    transform: scale(1.05);
}

.founder-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 0 1.5rem 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
}

.founder-title-top {
    font-size: 3.75rem;
    font-family: 'Playfair Display', serif;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(to bottom, #ffffff, transparent);
    opacity: 0.8;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    line-height: 1;
}

.founder-title-bottom {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
}

@media (min-width: 768px) {
    .founder-title-top {
        font-size: 6rem;
    }

    .founder-title-bottom {
        font-size: 3rem;
    }
}



.founder-play-btn {
    width: 7rem;
    height: 7rem;
    background: linear-gradient(to right, var(--primary-red), #db2777);
    display: flex;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    border: none;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.founder-play-btn:hover {
    transform: scale(1.1);
}

.founder-text {
    color: #ffffff;
    font-size: 1.125rem;
    max-width: 42rem;
    line-height: 1.65;
    font-weight: 500;
}

.founder-label {
    color: var(--primary-red);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.6em;
    margin-top: 1rem;
    font-weight: 500;
}

/* --- Founder Mobile Adjustments --- */
@media (max-width: 982px) {
    .founder-section-migrated {
        height: auto;
        min-height: auto;
        display: block;
    }

    .founder-bg-img {
        height: auto;
        position: relative;
        width: 100%;
        display: block;
        object-fit: contain;
        transform: none !important;
    }

    .founder-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        padding-bottom: 2.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 30%, transparent 80%);
    }

    .founder-title-top {
        font-size: 3.5rem;
    }

    .founder-title-bottom {
        font-size: rem;
    }

    .founder-play-btn {
        order: 1;
        margin-top: 0;
        margin-bottom: 0.8rem;
        width: 4.6rem;
        height: 4.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        padding: 0;
    }

    .founder-play-icon {
        width: 56px;
        height: 56px;
        margin-left: 2px;
        /* Optical centering for play triangle */
    }

    .founder-text {
        order: 2;
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        white-space: normal;
        /* Allow wrapping to 3 lines */
        max-width: 85%;
        /* Constrain width to force 3 lines */
        color: #fff;
        opacity: 0.9;
        background: none;
        padding: 0;
        text-align: center;
        line-height: 1.4;
    }

    .founder-label {
        order: 3;
        font-size: 1rem;
        letter-spacing: 0.2em;
        /* Explicitly override massive desktop spacing */
        white-space: nowrap;
        margin-top: 0;
        text-transform: uppercase;
        color: var(--primary-red);
    }
}

/* --- 3. Client Stories (Video Carousel) --- */
.client-stories-section {
    padding: 120px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.client-stories-header {
    margin-bottom: 4.5rem !important;
    padding: 0 var(--container-padding) !important;
    text-align: left !important;
}

.client-stories-title {
    font-size: var(--heading-size) !important;
    /* Sync with main headings */
    font-family: 'Playfair Display', serif;
    font-weight: var(--heading-weight);
    /* Increased for better presence */
    color: #0a0a0a;
    margin-bottom: 1.5rem !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em;
    text-align: left;
}

@media (min-width: 768px) {
    .client-stories-title {
        font-size: 5rem !important;
    }
}

.client-stories-desc {
    color: #4B5563;
    /* Matched to body text color */
    font-size: 1.28rem !important;
    max-width: 800px !important;
    /* Slightly wider for better line lengths */
    line-height: 1.6 !important;
    margin: 0 !important;
    text-align: left;
}

/* Carousel Track */
.client-carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    /* Firefox */
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}

.client-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.client-carousel-wrapper.is-dragging {
    cursor: grabbing;
}

.client-carousel-track {
    display: flex;
    gap: 30px;
    /* Increased gap */
    width: max-content;
    padding: 0 var(--container-padding);
}

/* Video Card with Corner Cut */
.client-video-card-wrap {
    /* Show exactly 3 cards on desktop within the 1280px max-width container minus the 20px gaps */
    width: calc((100vw - var(--pad-left) - var(--pad-right) - 40px) / 3);
    max-width: 400px;
    /* safety cap */
    /* Ensure they are tall, taking up ~75% of section/viewport as requested */
    height: 75vh;
    max-height: 800px;
    flex-shrink: 0;
    position: relative;
    --cut: 60px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
    background: #E5E7EB;
    padding: 1px;
    box-sizing: border-box;
}

@media (min-width: 769px) and (max-width: 1366px) {
    .client-video-card-wrap {
        width: calc((100vw - var(--pad-left) - var(--pad-right) - 40px) / 3);
        max-width: 360px;
        height: 65vh;
        max-height: 680px;
    }
}

@media (max-width: 1024px) {
    .client-video-card-wrap {
        /* Show 2 cards on tablet */
        width: calc((100vw - 120px - 20px) / 2);
        height: 60vh;
    }
}

@media (max-width: 640px) {
    .client-video-card-wrap {
        /* Show 1 card on mobile */
        width: calc(100vw - 120px);
        height: 60vh;
    }
}

.client-video-card {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
}

.client-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.client-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 30%);
    pointer-events: none;
    z-index: 1;
}

/* Individual Mute Button */
.client-video-mute-btn {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    /* above overlay */
    padding: 0;
}

.client-video-mute-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1.1);
}

/* Controls Row (Scrollbar Only) */
.client-controls-row {
    margin-top: 40px;
    padding: 0 var(--pad-right) 0 var(--pad-left);
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Scrollbar */
.client-scrollbar-track {
    flex-grow: 1;
    height: 4px;
    background: #E5E7EB;
    position: relative;
    cursor: pointer;
    border-radius: 2px;
}

.client-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-red);
    width: 100px;
    /* dynamic via JS */
    border-radius: 2px;
    cursor: grab;
}

.client-scrollbar-thumb:active {
    cursor: grabbing;
}

/* --- 4. Estimate Form --- */
.estimate-section {
    padding: 6rem 0;
    background-color: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.estimate-bg-pattern {
    position: absolute;
    inset: 0;
    background: url('./images/qef_bg.jpg') center/cover no-repeat;
    z-index: 0;
}

.estimate-container {
    position: relative;
    z-index: 10;
    max-width: 100%;
    margin: 0;
    text-align: center;
    padding: 0 var(--pad-right) 0 var(--pad-left);
}

.estimate-title {
    font-size: 3.9rem;
    font-family: 'Playfair Display', serif;
    color: rgb(255, 255, 255);
    font-weight: 400;
    margin-bottom: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .estimate-title {
        font-size: 5.2rem;
    }
}

.estimate-desc {
    color: #E5E7EB;
    font-size: 1.23rem;
    margin: 0 auto 3.5rem auto;
    max-width: 800px;
    text-align: center;
    line-height: 1.6;
}

.estimate-form-grid {
    display: grid;
    gap: 1.25rem;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .estimate-form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

.estimate-input,
.estimate-select {
    background-color: #ffffff;
    color: #111;
    border: none;
    padding: 0.85rem 1.25rem;
    /* Reduced padding for smaller size */
    width: 100%;
    outline: none;
    transition: box-shadow 0.2s;
    font-size: 1rem;
    /* Reduced font size */
}

.estimate-input::placeholder {
    font-size: 1rem;
    color: #9CA3AF;
}

.estimate-input:focus,
.estimate-select:focus {
    box-shadow: 0 0 0 2px var(--primary-red);
}

.estimate-select {
    color: #111;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.estimate-select:invalid {
    color: #9CA3AF;
}

/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.dropdown-selected {
    background-color: #ffffff;
    color: #111;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.2s;
    position: relative;
}

.dropdown-selected::after {
    content: "";
    width: 1rem;
    height: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.2s;
}

.custom-dropdown.open .dropdown-selected::after {
    transform: rotate(180deg);
}

.custom-dropdown.open .dropdown-selected {
    box-shadow: 0 0 0 2px var(--primary-red);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid #efefef;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    max-height: 250px;
    overflow-y: auto;
}

.custom-dropdown.open .dropdown-options {
    display: block;
}

.dropdown-option {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    color: #333;
    transition: background 0.2s, color 0.2s;
}

.dropdown-option:hover {
    background-color: var(--primary-red);
    color: #ffffff;
}

.dropdown-selected.placeholder {
    color: #9CA3AF;
}

.estimate-submit-btn {
    background-color: var(--primary-red);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 0 1.25rem;
    height: 50px;
    /* Reduced height for smaller size */
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.estimate-submit-btn svg {
    transition: transform 0.3s ease;
}

.estimate-submit-btn:hover {
    background-color: var(--white);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
}

.estimate-submit-btn:hover svg {
    transform: rotate(45deg);
}

.estimate-submit-btn:hover svg path,
.estimate-submit-btn:hover svg line,
.estimate-submit-btn:hover svg polyline {
    stroke: #000000;
}

.estimate-submit-wrap {
    text-align: right;
}

@media (min-width: 768px) {
    .estimate-submit-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .estimate-submit-btn {
        grid-column: 2;
    }
}

@media (min-width: 992px) {
    .estimate-submit-wrap {
        margin-top: 1.5rem;
    }
}



/* --- 5. FAQ --- */
.faq-section {
    padding: 6rem;
    background-color: #ffffff;
}

.faq-container {
    max-width: 70rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-title {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    color: #111827;
    text-align: left;
    margin: 0 0 1.5rem 0;
    width: 100%;
    line-height: 1.1;
    white-space: nowrap;
    /* Force single line */
}

@media (min-width: 768px) {
    .faq-title {
        font-size: 5.4rem;
        /* Adjusted to fit 70rem container on one line */
    }
}

.faq-desc {
    text-align: left;
    color: #6B7280;
    font-size: 1.23rem;
    line-height: 1.6;
    max-width: 700px;
    /* Spans wider but stays left-aligned */
    margin: 0 0 4rem 0;
    /* Left margin 0 */
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 0;
}

.faq-item:first-child {
    border-top: 1px solid #E5E7EB;
}

.faq-item:last-child {
    border-bottom: 1px solid #E5E7EB;
}

.faq-question-btn {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question-btn:hover {
    background-color: transparent;
}

.faq-icon {
    flex-shrink: 0;
    stroke: #111827;
    transition: transform 0.3s ease, stroke 0.3s ease;
}

.faq-question-btn.active {
    background-color: transparent;
}

.faq-q-text {
    font-weight: 600;
    font-size: 1.85rem;
    color: #111827;
}

.faq-question-btn.active .faq-q-text {
    color: var(--primary-red);
}

.faq-question-btn.active .faq-icon {
    stroke: var(--primary-red);
    transform: rotate(180deg);
    transition: transform 0.3s ease, stroke 0.3s ease;
}

.faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.faq-answer-panel.open {
    max-height: 200px;
    opacity: 1;
}

.faq-a-text {
    padding: 0 0 1.5rem 0;
    color: #6B7280;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* --- 6. CTA Footer --- */
.cta-footer-section {
    padding: 5rem 0;
    background: url('./images/getanexpert_bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cta-footer-section {
        padding: 80px 20px;
    }

    .cta-title {
        font-size: 2.25rem !important;
        margin-bottom: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btn {
        width: 100%;
        justify-content: space-between;
    }
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.05);
    transform: skewX(12deg) scale(1.5);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 2.25rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 4rem;
        font-weight: 400;
    }
}

.cta-desc {
    color: #e5e5e5;
    max-width: 66rem;
    margin: 0 auto 2.5rem auto;
    font-size: 1.23rem;
    font-weight: 400;
    line-height: 1.2;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    /* Increased gap */
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.cta-btn {
    background-color: #000;
    color: white;
    padding: 1.25rem 2rem;
    font-size: 1.15rem;
    /* Increased size to match reference */
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Arrow to far right */
    gap: 1rem;
    border: none;
    /* Removed border */
    border-radius: 0;
    /* Square corners */
    transition: background-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
    text-decoration: none;
    min-width: 320px;
    /* Ensure enough width for content */
    flex: 1 1 300px;
    /* Allow growth but stack on mobile */
}

.cta-btn-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-btn-arrow {
    color: white;
    /* Changed from red to white */
    font-size: 1.25rem;
    font-weight: 800;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.cta-btn-arrow svg {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-btn:hover {
    background-color: var(--primary-red) !important;
    color: #fff !important;
    transform: translateY(-3px);
}

.cta-btn:hover .cta-btn-arrow svg {
    transform: rotate(45deg);
}

/* --- 7. Footer Migrated --- */
/* --- 7. Footer Migrated --- */
.footer-migrated {
    background-color: #0e1423;
    color: #fefefe;
    padding: 100px 0 60px;
    font-size: 1.15rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    padding-bottom: 4rem;
    margin-bottom: 0;
    grid-template-columns: 1fr;
    /* Mobile default */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.footer-social-link {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    transition: all 0.2s;
    border-radius: 4px;
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
}

.footer-social-link:hover {
    background-color: var(--primary-red);
    color: #ffffff;
}

.footer-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 350px;
    margin-top: 1.25rem;
}

.footer-h4,
.footer-h4-static,
.footer-col h4 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.footer-links-group {
    display: contents;
    /* Propagate children to main grid on desktop */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1.25rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-red);

}

.footer-contact-item {
    margin-bottom: 1.75rem;
}

.footer-contact-label {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-contact-val {
    color: white;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 400;
}

.footer-contact-val:hover {
    color: var(--primary-red);
}

.footer-toggle-input,
.footer-chevron {
    display: none;
}

/* --- Desktop Specific Header Alignment --- */
@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        gap: 4rem;
    }

    .footer-accordion-content {
        display: contents;
    }

    .footer-links-group .footer-h4 {
        grid-column: 2;
        grid-row: 1;
        display: block;
    }

    .footer-links-col-1 {
        grid-column: 2;
        grid-row: 1;
        padding-top: 5rem;
    }

    .footer-links-col-2 {
        grid-column: 3;
        grid-row: 1;
        padding-top: 5rem;
    }

    .footer-socials {
        grid-column: 1;
        grid-row: 2;
        margin-top: 1.5rem;
        margin-bottom: 0;
    }
}

/* --- Mobile Specific Refinements --- */
@media (max-width: 991px) {
    .footer-migrated {
        padding: 60px 20px;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
    }

    .footer-logo {
        order: 1;
    }

    .footer-description {
        order: 2;
        margin-top: 20px;
    }

    .footer-links-group {
        order: 3;
        display: block;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 24px 0;
    }

    .footer-contact-col {
        order: 4;
    }

    .footer-socials {
        order: 10 !important;
        margin: 20px 0 0 !important;
    }

    .footer-h4 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0 !important;
        cursor: pointer;
    }

    .footer-chevron {
        display: block;
        transition: transform 0.3s ease;
    }

    .footer-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-toggle-input:checked~.footer-accordion-content {
        max-height: 500px;
        margin-top: 20px;
    }

    .footer-toggle-input:checked~.footer-h4 .footer-chevron {
        transform: rotate(180deg);
    }

    .footer-social-link {
        width: 44px;
        height: 44px;
    }

    .footer-social-link svg {
        width: 20px;
        height: 20px;
    }
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.4);
    padding-top: 40px;
    gap: 20px;
}



@media (min-width: 1025px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer-bottom-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100% !important;
        padding-left: 120px !important;
        padding-right: 120px !important;
        /* Forced 120px padding as requested */
    }

    .footer-bottom-links {
        display: flex;
        align-items: center;
        gap: 3rem;
    }
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--primary-red);
}

/* Navigation Request Estimate Button */
.btn-nav-estimate {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: transparent;
    padding: 0;
    gap: 30px;
    /* Aligned with other nav items */
    transition: all 0.3s ease;
}

/* Apply strict nav-link styling to text */
.btn-nav-estimate .btn-text {
    color: var(--white);
    font-size: 1.23rem;
    font-weight: 400;
    background: transparent;
    padding: 0;
    position: relative;
    opacity: 0.9;
    transition: color 0.3s ease;
}

/* Hover effect on text only */
.btn-nav-estimate:hover .btn-text {
    color: var(--primary-red);
    opacity: 1;
}



/* Keep icon independent */
.btn-nav-estimate .btn-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-red) !important;
    background-color: var(--primary-red) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none !important;
    box-shadow: 0 4px 15px rgba(230, 0, 36, 0.2) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.btn-nav-estimate svg {
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
}

/* Explicitly override gap animation if class is present in HTML */
.btn-nav-estimate.btn-animate-gap:hover {
    gap: 30px !important;
    /* Prevent gap closing */
}

.btn-nav-estimate:hover .btn-icon {
    background: var(--primary-red-hover) !important;
    background-color: var(--primary-red-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 0, 36, 0.4) !important;
}

.btn-nav-estimate:hover svg {
    transform: rotate(0deg);
    /* Straighten on hover for interaction */
}

/* Ensure mobile menu styles don't break this */
@media (max-width: 992px) {
    .btn-nav-estimate {
        width: 100%;
        justify-content: space-between;
        padding: 10px 0;
    }
}

/* Industry Icon Images */
.ind-icon-red img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    display: block;
}

/* Back to Home Button Customization */
.btn-back-home svg {
    transform: rotate(-135deg) !important;
    /* Top-Left / North-West */
}

.btn-back-home:hover svg {
    transform: rotate(-135deg) !important;
    /* Keep rotation on hover or adjust if needed */
}

/* -------------------------------------------------------------------------- */
/* REQUEST ESTIMATE MODAL (New Implementation)                                */
/* -------------------------------------------------------------------------- */

/* 1) Overlay Backdrop */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease-out, visibility 0.28s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    /* Handle small screens vertical overflow */
    padding: 20px;
}

/* Open State (toggled via JS) */
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* 2) Modal Card */
.modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 1180px;
    width: 80vw;
    min-height: 65vh;
    height: auto;
    position: relative;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
    border: none;
    overflow: visible;
    /* Diagonal cut at bottom right */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), calc(100% - 80px) 100%, 0 100%);
    /* Initial Transform State */
    transform: translateY(16px) scale(0.98);
    transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

/* Close Button */
.modal-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 10;
    background: transparent;
    border: 2px solid #111;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #111;
}

.modal-close-btn:hover {
    background: #E60024;
    border-color: #E60024;
    color: #fff;
    transform: rotate(90deg);
}

/* Open State Transform */
.modal-overlay.is-open .modal-card {
    transform: translateY(0) scale(1);
}

/* 3) Inner Layout */
.modal-inner {
    padding: clamp(30px, 5vw, 70px) clamp(20px, 5vw, 85px) clamp(30px, 5vw, 60px);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header Row: Avatar + Title */
.modal-titleRow {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.avatar {
    width: 120px;
    height: 120px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 50%;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-heading-block {
    display: flex;
    flex-direction: column;
}

.heading-line1 {
    font-family: 'Inter', sans-serif;
    /* Screenshot looks sans */
    font-weight: 400;
    font-size: clamp(28px, 4vw, 44px);
    color: #6f6f6f;
    line-height: 1.1;
}

.heading-line2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 4vw, 44px);
    color: #111111;
    line-height: 1.1;
}

/* 4) Form Grid */
.modal-form {
    margin-top: clamp(25px, 4vw, 55px);
    flex-grow: 1;
    /* Pushes content down space permitting */
    display: flex;
    flex-direction: column;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(40px, 6vw, 80px);
    row-gap: clamp(24px, 3vw, 40px);
}

/* Input Styles - Underline only */
.form-group {
    width: 100%;
}

.modal-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d8d8d8;
    background: transparent;
    padding: 0 0 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #111;
    /* Reset */
    transition: border-color 0.2s ease;
}

.modal-input:focus {
    outline: none;
    border-bottom-color: #111;
    /* Dark focus or #E60024 */
}

.modal-input::placeholder {
    color: #8a8a8a;
    opacity: 1;
    /* Firefox fix */
}

/* Full width textarea */
.full-width {
    grid-column: 1 / -1;
}

.modal-textarea {
    resize: none;
    min-height: 80px;
    /* match single underline style but taller area */
    line-height: 1.5;
}

/* 5) Buttons specific to Modal — joined split button */
.modal-actions {
    margin-top: clamp(20px, 3vw, 45px);
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    background: transparent;
    overflow: hidden;
}

.btn-modal-submit {
    height: 55px;
    padding: 0 35px;
    background: #111;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.btn-modal-arrow {
    width: 55px;
    height: 55px;
    background: #E60024;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s ease;
}

.btn-modal-arrow svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-actions:hover .btn-modal-submit {
    background: #E60024;
}

.modal-actions:hover .btn-modal-arrow {
    background: #E60024;
}

.modal-actions:hover .btn-modal-arrow svg {
    transform: rotate(45deg);
}

/* -------------------------------------------------------------------------- */
/* Responsive Adjustments                                                     */
/* -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
    .modal-card {
        width: 90vw;
        height: auto;
        min-height: 60vh;
    }

    .modal-inner {
        padding: 50px;
    }

    .heading-line1,
    .heading-line2 {
        font-size: 34px;
    }

    .form-grid {
        column-gap: 40px;
        row-gap: 30px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .modal-card {
        width: 94vw;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
        /* Internal scroll if needed */
        /* Smaller clip path corner */
        clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
    }

    .modal-inner {
        padding: 30px 24px;
    }

    .modal-titleRow {
        flex-direction: column;
        gap: 16px;
    }

    .avatar {
        width: 60px;
        height: 60px;
    }

    .heading-line1,
    .heading-line2 {
        font-size: 1.23rem;
    }

    .modal-form {
        margin-top: 32px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        /* Single column */
        column-gap: 0;
        row-gap: 24px;
    }

    .modal-actions {
        margin-top: 32px;
        flex-wrap: wrap;
    }

    /* Ensure buttons distinct? Or keep row? They fit in one row usually. */
}

/* ============================================ */
/* Responsive: Reduce margins at ≤1200px        */
/* ============================================ */
@media (max-width: 1200px) {
    :root {
        --pad-left: 30px;
        --pad-right: 30px;
        --container-padding: 30px;
    }

    .logo-img {
        padding-left: 0;
    }

    .client-video-card-wrap {
        width: calc((100vw - 60px - 40px) / 2);
    }
}

/* ============================================ */
/* Responsive: Mobile at ≤768px                 */
/* ============================================ */
@media (max-width: 768px) {
    :root {
        --pad-left: 16px;
        --pad-right: 16px;
        --container-padding: 16px;
    }

    .client-video-card-wrap {
        width: calc(100vw - 32px);
        height: 60vh;
        scroll-snap-align: center;
    }

    .client-carousel-wrapper {
        scroll-snap-type: none;
    }

    /* FAQ Mobile Refinements */
    .faq-section {
        padding: 3rem 0 !important;
    }

    .faq-container {
        padding: 0 25px !important;
    }

    .faq-title {
        font-size: 3.2rem !important;
        white-space: normal !important;
        margin-bottom: 1rem !important;
        line-height: 1.1 !important;
        display: block !important;
    }

    .faq-desc {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .faq-list {
        gap: 10px !important;
    }

    .faq-question-btn {
        padding: 1.25rem 0 !important;
    }

    .faq-q-text {
        font-size: 1.15rem !important;
        line-height: 1.4 !important;
    }

    .btn-nav-estimate .btn-text {
        font-size: 0.95rem !important;
    }

    .faq-a-text {
        font-size: 0.95rem !important;
        padding-bottom: 1.25rem !important;
    }
}

/* End of specialized mobile overrides (consolidated into main media queries) */

/* -------------------------------------------------------------------------- */
/* CAROUSEL ENTRANCE ANIMATIONS                                                */
/* -------------------------------------------------------------------------- */
.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* MOBILE-ONLY REFINEMENTS (max-width: 768px)                                  */
/* These rules ONLY affect mobile. Desktop is untouched.                       */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* 1. Hide hero slider indicators on mobile */
    .slider-indicators {
        display: none !important;
    }

    /* 2. Reduce hero title size and view-projects button font */
    .hero-title {
        font-size: 2.4rem !important;
        font-weight: 400 !important;
        line-height: 1.1 !important;
        letter-spacing: -1px !important;
    }

    .hero-container {
        padding-top: 20px !important;
        /* Reduced padding between top and hero titles */
        gap: 1.5rem !important;
    }

    .hero-section {
        padding-top: 60px !important;
        /* Reduced base padding */
    }

    .btn-view-projects .btn-text {
        font-size: 1.1rem !important;
        white-space: nowrap !important;
        /* Ensure one line */
    }

    .btn-view-projects {
        height: fit-content !important;
        width: fit-content !important;
        margin: 0 !important;
        /* Force left alignment */
        padding: 0 !important;
        /* Remove inherited outer padding causing inset */
        align-self: flex-start !important;
        transform: none !important;
        display: flex !important;
        justify-content: flex-start !important;
    }

    /* 3. Stat Cards - Equal Spacing on all sides */
    .stats-section {
        padding: 20px !important;
        margin-top: 0 !important;
        /* Reset desktop overlap to ensure true 20px top gap */
        /* Equal top, right, bottom, left padding */
        overflow: hidden;
    }

    .container.stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        /* Matches the outer padding for a perfect grid */
        padding: 0 !important;
        /* This now correctly overrides .container */
        /* Removed inner padding so outer handles borders */
        width: 100% !important;
        max-width: 100% !important;
    }

    .stat-card-wrapper {
        background-color: #f1f1f1eb !important;
        padding: 2px !important;
        --cut: 35px !important;
        /* Re-added cut */
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%) !important;
        border: none !important;
    }

    .stat-card-wrapper:hover {
        background: #f1f1f1eb !important;
        animation: none !important;
        filter: none !important;
    }

    .stat-card {
        padding: 20px !important;
        /* Equal padding inside the card */
        background-color: #ffffff !important;
        --cut: 34px !important;
        /* Reduced cut size by 1px to fit perfectly inside the wrapper's 35px cut */
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%) !important;
        border-radius: 0 !important;
        aspect-ratio: 1 / 1 !important;
        /* Force a perfect square */
        min-height: auto !important;
        /* Remove min-height override */
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        gap: 15px !important;
        /* Even spacing between icon, number, and label */
    }

    .stat-icon {
        width: 64px !important;
        /* Larger icon */
        height: 64px !important;
        margin: 0 !important;
        /* Let gap handle spacing */
    }

    .stat-icon svg {
        width: 100% !important;
        height: 100% !important;
    }

    .stat-number {
        font-size: 2.8rem !important;
        font-weight: 700 !important;
        margin: 0 !important;
        line-height: 1 !important;
    }

    .stat-label {
        font-size: 1rem !important;
        font-weight: 600 !important;
        margin: 0 !important;
        line-height: 1.2 !important;
    }

    /* 4. Success Stories - Left align titles and add spacing below */
    .client-stories-section {
        padding: 5px 0 50px !important;
    }

    .stories-header {
        align-items: flex-start !important;
        text-align: left !important;
        gap: 10px !important;
        margin-bottom: 15px !important;
    }

    .stories-header-left,
    .stories-header-center {
        text-align: left !important;
        align-items: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .stories-header-left .section-label-red,
    .stories-header-left .display-title,
    .section-desc-small {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        margin-bottom: 5px !important;
    }

    .stories-header-left .section-label-red {
        font-size: 1.3rem !important;
    }

    .stories-header-left .display-title {
        font-size: 2.6rem !important;
        font-weight: 400 !important;
    }

    /* 6. Hide left/right nav buttons in success stories on mobile */
    .stories-header-right {
        display: none !important;
    }

    .client-stories-title {
        text-align: left !important;
        font-size: 2.5rem !important;
        margin-top: 30px !important;
    }

    .client-stories-desc {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* R2-1. Delivery process title size, remove hover effect, always red badge + white number */
    .process-section .display-title-serif {
        font-size: 2.8rem !important;
    }

    /* Shift testimonial author name up slightly */
    .testimonial-author-name {
        margin-top: -10px !important;
        margin-bottom: 20px !important;
        /* Reduce original 32px bottom margin to balance */
    }

    .process-item:hover .proc-title,
    .process-item:hover .proc-badge {

        transform: none !important;
    }

    .proc-badge {
        background: var(--primary-red) !important;
        color: #fff !important;
    }

    .process-item {
        cursor: default !important;
    }

    /* Industries Served title size adjustment */
    .industries-section .display-title-serif {
        font-size: 2.8rem !important;
    }

    /* Re-apply robust border logic for 2-column mobile grid */
    .industries-grid-redesign {
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .industry-card-new {
        border: 1px solid #e5e7ebdf !important;
        /* Reset: border on all sides */
        margin-bottom: -1px !important;
        /* Collapse vertical borders */
        margin-right: -1px !important;
        /* Collapse horizontal borders */
    }

    .industry-card-new:nth-child(2n+1) {
        border-left: none !important;
    }

    .industry-card-new:nth-child(2n) {
        border-right: none !important;
    }

    /* R2-5. Increase why woodscape description font size */
    .why-desc {
        font-size: 1.15rem !important;

    }

    /* 10. Featured Case Study - Smaller cards (2 per screen) */
    .case-visuals-redesign {
        gap: 15px !important;
    }

    /* Featured Case Study Visual Refinements */
    .featured-case-section .display-title-serif {
        font-size: 2.34rem !important;
        margin-bottom: 30px !important;
    }

    .case-testimonial-card,
    .case-cta-card {
        padding: 25px 20px !important;
    }

    /* 11. FAQ - Fix first item layout */
    .faq-item:first-child .faq-answer {
        overflow: visible !important;
    }

    .faq-answer-inner {
        padding-top: 10px !important;
        line-height: 1.5 !important;
    }

    /* 12. Expert CTA - Weight 400 */
    .expert-title {
        font-weight: 400 !important;
    }

    /* 13. Footer - Social Links at the bottom */
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .footer-col-brand {
        order: 1;
    }

    .footer-links-group {
        order: 2;
    }

    .footer-contact-col {
        order: 3;
        margin-bottom: 0 !important;
    }

    .footer-socials {
        order: 5 !important;
        /* Ensure absolute last */
        margin-top: 20px !important;
        margin-bottom: 0 !important;
        padding-bottom: 20px !important;
    }

    /* 14. Global Section Padding Reduction */
    .section-padding {
        padding: 40px 0 !important;
    }

    .mb-60 {
        margin-bottom: 25px !important;
    }

    .container {
        padding: 0 20px !important;
    }

    /* Extra Fixes */
    .ind-title-new {
        font-size: 1.3rem !important;
    }


    .why-desc {
        font-size: 1.05rem !important;
    }

    .estimate-title {
        font-size: 2.6rem !important;
    }

    /* 15. Mobile Hero Layout Restructure */
    .hero {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 0 !important;
        /* Hero image goes fully to the top */
        background-color: #000 !important;
    }

    .hero-slider {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1080 / 667 !important;
        /* Exactly matches mobherobanner.jpg size */
        background-color: #000 !important;
    }

    .hero-slide {
        background-image: var(--bg-mobile, var(--bg-desktop)) !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-color: transparent !important;
    }

    .hero-overlay {
        display: none !important;
    }

    .hero-container {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 30px 20px !important;
        /* 20px padding left/right */
        gap: 30px !important;
        /* Even gap between text section and form */
        height: auto !important;
        background-color: #000 !important;
    }

    .hero-content {
        display: none !important;
        /* Hide inactive content */
    }

    .hero-content.active {
        position: relative !important;
        margin: 0 !important;
        display: flex !important;
        /* Show active content */
        flex-direction: column !important;
        gap: 20px !important;
        /* Even line gaps between title, description, and button */
        align-items: flex-start !important;
    }

    .hero-title,
    .hero-description {
        margin: 0 !important;
        /* Reset default margins so 'gap' creates even spacing */
    }

    .btn-view-projects {
        margin-top: 5px !important;
        /* Small extra push for the button */
    }

    .hero-form-card {
        position: relative !important;
        margin: 0 !important;
        background: #262626 !important;
        /* Solid background as requested */
        backdrop-filter: none !important;
        /* Remove blur effect */
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        border: none !important;
    }
}