* {
    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: #C8001F;
    --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: 120px;
        --pad-left: 120px;
        --pad-right: 120px;
        --container-max-width: 100%;
    }

    /* Standardized Typography */
    --heading-font: 'Playfair Display',
    serif;
    --subheading-font: 'Inter',
    sans-serif;

    /* Fluid Heading Sizes */
    --heading-size: clamp(32px, 8vw, 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%;
}

/* 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: 120px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-img {
    height: 90px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
    margin-left: auto;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 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;
    }

    .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;
    }

    .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%;
}

.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;
}

.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: 2rem;
    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: 50%;
    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;
}

.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 */
    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;
    animation: fadeInUp 1s ease-out 0.2s 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(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(230, 0, 36, 0.4);
}

.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);
}

.hero-form-card {
    background: url('./images/getquotebg.jpg') center/100% 100% no-repeat;
    padding: 50px 45px;
    min-height: 595px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /* Based on image aspect ratio 1096x1242 */
    animation: fadeInRight 1s ease-out 0.3s backwards;
    width: 525px;
    flex-shrink: 0;
    margin: -60px 0 0 0;
    border: none;
    display: flex;
    flex-direction: column;
}

.form-title {
    font-family: var(--subheading-font);
    font-size: 3rem;
    padding-bottom: 10px;
    text-align: center;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input,
.form-textarea {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    /* Adjust padding for fixed height */
    border: 1px solid #DADADA;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 1);
    color: #1F2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.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%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: var(--primary-red);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(230, 0, 36, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.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: 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: 28px 80px 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: 92px;
    width: 92px;
}

.stat-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 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: 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 {
        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;
    }

    .commercial-content {
        padding: 40px 24px;
        /* Added 24px horizontal padding for text zone */
        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 {
        align-items: flex-start;
        /* Ensure children align left */
    }

    .hero-content .btn {
        width: 60% !important;
        /* Approx 60% of screen */
        max-width: 60% !important;
        justify-content: flex-start !important;
        padding-left: 20px !important;
    }

    .hero-form-card {
        padding: 30px 20px;
        min-height: auto;
    }

    .form-title {
        font-size: 2.25rem;
        /* Increased from 2rem */
        font-weight: 700;
        /* Increased weight */
        text-align: left;
        /* Left align */
    }

    .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+ */
    }

    .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;
    }

    .story-card {
        width: 300px !important;
        /* Smaller, more compact cards */
        min-width: 300px !important;
        flex: 0 0 auto !important;
        height: 450px !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;
    }

    .why-card {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        padding: 30px 20px !important;
    }

    .why-icon-wrapper img {
        width: 60px !important;
        height: 60px !important;
    }

    .why-scrollbar-track {
        display: none;
    }

    /* Featured Case Study */
    .case-visuals-redesign {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .case-img-panel {
        height: 250px;
    }

    /* Estimate Form */
    .estimate-form-row {
        flex-direction: column;
        gap: 15px;
        /* Separate input fields */
    }

    .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;
    }

    /* FAQ Adjustments */
    .faq-list {
        gap: 15px;
    }

    .faq-item {
        border-radius: 8px;
    }

    .faq-question-btn {
        padding: clamp(16px, 4vw, 24px);
    }

    .faq-q-text {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }

    /* 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,
    .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;
    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);
}

.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: 680px;
}

.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: 1.5px solid #000000;
    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;
    border: 1px solid #e8e8e8;
    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: 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%);
}

@media (max-width: 768px) {
    .story-card {
        --story-cut: 40px;
        flex: 0 0 calc(100vw - (2 * var(--container-padding)) - 10px);
        width: calc(100vw - (2 * var(--container-padding)) - 10px);
        height: auto;
        min-height: 550px;
    }

    .story-title {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }

    .meta-row {
        font-size: 1.1rem !important;
    }

    .meta-label {
        width: 90px !important;
    }
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.story-img-wrapper {
    height: 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);
}

.story-content {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-title {
    font-family: var(--subheading-font);
    font-size: 2.3rem;
    font-weight: 900;
    color: #0a0a0a;
    margin-bottom: 14px;
    line-height: 1.3;
}

.story-meta {
    margin-bottom: 24px;
}

.meta-row {
    display: flex;
    font-size: 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;
}

.story-actions {
    display: flex;
    gap: 0;
}

.btn-black {
    background: var(--dark);
    color: #fff;
    padding: 0 24px;
    height: 48px;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-black:hover {
    background: #333;
}

.btn-red-square {
    width: 48px;
    height: 48px;
    background: var(--primary-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.btn-red-square:hover {
    background: #cc0000;
}

@media (max-width: 1024px) {
    .stories-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .story-card {
        flex: 0 0 340px;
        width: 340px;
    }

    .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) {
    .story-card {
        flex: 0 0 290px;
        width: 290px;
    }

    .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: 80px;
    margin-bottom: 40px;
    /* Reduced to push content up */
}

.process-header-left {
    flex: 1;
}

.process-header-right {
    flex: 1;
}

.process-wrapper {
    display: flex;
    gap: 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 {
    background: #ffffff;
    padding: 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: 2.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.stat-desc-lg {
    font-size: 1.23rem;
    color: #6B7280;
    font-weight: 400;
    line-height: 1.6;
}

/* ── Case Visuals Redesign ───────────────────────── */
.case-visuals-redesign {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

/* ── Before / After image panels ─── */
.case-img-panel {
    position: relative;
    overflow: hidden;
    height: 480px;
    --cut: 50px;
    transform: translateZ(0);
    /* Prevent Safari border deformation on hover */
}

/* Only the right-side image gets the cut corner */
.case-img-panel:last-child {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}

.case-img-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.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;
    /* border colour */
    padding: 0;
}

.case-testimonial-card {

    padding: 60px 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: 3.2rem;
    font-weight: 400;
    color: var(--primary-red);
    margin-bottom: 24px;
    line-height: 1.2;
    z-index: 1;
    position: relative;
}

.testimonial-body {
    font-size: 1.19rem;
    color: #4B5563;
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 680px;
    z-index: 1;
    position: relative;
}

.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: 1;
    position: relative;
}

.tdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D1D5DB;
    display: inline-block;
    transition: background 0.2s ease;
}

.tdot.active {
    background: var(--primary-red);
}

/* 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;
    }
}

/* 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: 2.25rem !important;
        /* Force one line */
        white-space: nowrap;
        text-align: center;
        letter-spacing: -0.02em;
    }
}

.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;
    padding-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: 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: 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 ~2.4 cards on desktop to make them larger */
    flex: 0 0 calc((100vw - max(48px, calc((100vw - 1280px) + 48px)) - 48px) / 2.35);
    aspect-ratio: 1 / 1;
    --cut: 90px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
    background: #E5E7EB;
    /* border colour */
    padding: 1px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.why-card {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    padding: 2.5rem 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: 3.5rem;
    width: 6rem;
    height: 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: 2.23rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.75rem;
}

.why-card-desc {
    font-size: 1.135rem;
    color: #6B7280;
    line-height: 1.625;
    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;
    }
}

@media (max-width: 768px) {
    .founder-section-migrated {
        height: 550px;
        /* Sufficient height for bottom-aligned button */
    }

    .founder-bg-img {
        transform: scale(1.8);
        /* Direct center zoom */
        object-position: center;
    }

    .founder-overlay {
        justify-content: flex-end;
        /* Push content to bottom area on mobile */
        padding-bottom: 4rem;
    }

    .founder-title-top {
        font-size: 3.5rem;
    }

    .founder-title-bottom {
        font-size: 2.2rem;
    }

    .founder-play-btn {
        width: 6rem;
        height: 6rem;
        margin-top: 2rem;
        /* Spacing from text above */
        margin-bottom: 0;
        /* Button is at the bottom */
    }

    .founder-text {
        font-size: 1.15rem;
        margin-bottom: 1rem;
        background: rgba(0, 0, 0, 0.2);
        /* Subtle text plate for clarity */
        padding: 5px 10px;
        border-radius: 4px;
    }

    .founder-label {
        font-size: 1rem;
        letter-spacing: 0.4em;
    }
}

.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;
}

/* --- 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 (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: 1.25rem 1.5rem;
    /* Increased padding for more height */
    width: 100%;
    outline: none;
    transition: box-shadow 0.2s;
    font-size: 1.15rem;
    /* Increased base font size */
}

.estimate-input::placeholder {
    font-size: 1.15rem;
    color: #9CA3AF;
}

.estimate-input:focus,
.estimate-select:focus {
    box-shadow: 0 0 0 2px var(--primary-red);
}

.estimate-select {
    color: #6B7280;
    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='%236B7280' 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-submit-btn {
    background-color: var(--primary-red);
    color: white;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 0 1.5rem;
    height: 64px;
    /* Increased height to match inputs better */
    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(--primary-red-hover);
    transform: translateY(-2px);
}

.estimate-submit-btn:hover svg {
    transform: rotate(45deg);
}

.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;
    }
}



/* --- 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.2s, transform 0.2s;
    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;
}

.cta-btn:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
}

/* --- 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: 2rem;
    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: 1.5rem;
    margin-bottom: 1.5rem;
}

.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);
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 350px;
}

.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;
    }
}

/* --- 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: 5;
        margin: 20px 0 0;
    }

    .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: 992px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .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-color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* No hover transform sync */
}

.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-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 36, 0.3);
}

.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;
    height: 65vh;
    position: relative;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
    border: none;
    overflow: hidden;
    /* 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: 70px 85px 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: 44px;
    color: #6f6f6f;
    line-height: 1.1;
}

.heading-line2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 44px;
    color: #111111;
    line-height: 1.1;
}

/* 4) Form Grid */
.modal-form {
    margin-top: 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: 80px;
    row-gap: 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: 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);
    /* Point right */
}

/* -------------------------------------------------------------------------- */
/* 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: 28px;
    }

    .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;
    }
}

/* 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);
}