/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

body {
    color: #111;
    overflow-x: clip;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

h1,
h2,
h3,
.team-name {
    font-family: "Bahnschrift", 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
}

button,
.primary-btn,
.secondary-btn,
.desktop-nav button,
.config-btn,
.config-btna,
.wheel-option {
    font-family: "Bahnschrift", 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
    width: 100%;
    position: relative;
    z-index: 1000;
    background: white;
}

.bg {
    background: white;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #111, #666);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #111;
}

.nav-links a:hover::after {
    width: 100%;
}

.desktop-nav button {
    padding: 12px 32px;
    background: linear-gradient(135deg, #111, #333);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s ease;
}

.desktop-nav button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #111;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: 16px 22px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: background 0.3s;
}

.mobile-nav a:hover {
    background: #f5f5f5;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding: 60px 0;
}

.hero-left {
    flex: 1;
    max-width: 620px;
}

.hero-left h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #111;
}

.hero-left p {
    font-size: 1.12rem;
    color: #555;
    line-height: 1.75;
    margin-bottom: 42px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.primary-btn {
    padding: 16px 38px;
    background: linear-gradient(135deg, #111, #2c2c2c);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Smaller centered quote button used in the controls panel */
.quote-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #111, #2c2c2c);
    color: #fff;
    border: none;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    /* centers inside the column flex container */
    position: relative;
    left: 8%;
}

.quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.hero-right {
    flex: 0 0 550px;
    width: 500px;
    height: 350px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    perspective: 1100px;
}

.hero-frame {
    width: calc(100% + 160px);
    height: calc(100% + 110px);
    max-width: none;
    max-height: none;
    position: relative;
    left: 40px;
    top: -20px;
    transform: rotateX(4deg) translateZ(0);
    transform-origin: center center;
    will-change: transform;
}

.hero-frame::before {
    content: "";
    position: absolute;
    inset: 16px 60px;
    border-radius: 24px;

    /* shadow only to bottom, not top */
    box-shadow:
        0 22px 40px -12px rgba(0, 0, 0, 0.14),
        0 6px 18px rgba(0, 0, 0, 0.04) inset;

    z-index: 0;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 130%;
    object-fit: cover;
    display: block;
    z-index: 1;
    border-radius: 16px;
    transition: transform 0.45s ease;
    will-change: transform;
    transform: translate(-50%, -50%);
}

.hero-video vid {
    width: 70%;
}

.hero-frame:hover .hero-video {
    transform: translate(-50%, -50%) scale(1.01);
}

.hero-frame::after {
    content: "";
    position: absolute;
    left: 60px;
    right: 60px;
    bottom: -6%;
    height: 12px;
    border-radius: 8px;
    filter: blur(4px);
    z-index: 0;
    pointer-events: none;
}

/* ==========================================================================
   WHY 3D SECTION
   ========================================================================== */
.why-3d-section {
    width: 100%;
    height: 248px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.why-3d-section h2 {
    font-size: 34px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
    text-align: center;
}

.word-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.word-slider::before,
.word-slider::after {
    display: none !important;
}

.slider-track {
    display: flex;
    width: max-content;
    /* Slower sliding: increased duration */
    animation: slide 160s linear infinite;
}

.why-3d-section:hover .slider-track {
    animation-play-state: paused;
}

.slider-track span {
    font-size: 26px;
    letter-spacing: 1px;
    padding: 0 70px;
    white-space: nowrap;
    opacity: 0.85;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.slider-track span:hover {
    transform: scale(1.08);
    opacity: 1;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   3D CONFIGURATOR SECTION
   ========================================================================== */
.config-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.config-grid {
    width: 92%;
    max-width: 1200px;
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.config-text {
    flex: 0 0 360px;
    max-width: 360px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 8px;
}

.config-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #111;
}

.config-text p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.7;
}

.config-model {
    flex: 1 1 640px;
    min-width: 420px;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px) saturate(120%);
    position: relative;
}

/* iOS positioning tweak: nudge 3D container up on Apple devices where it renders lower */
.is-ios #container3D {
    transform: translateY(-18px) !important;
}

@media (max-width: 768px) {
    .is-ios #container3D {
        transform: translateY(-26px) !important;
    }
}

#container3D {
    width: 100%;
    height: 100%;
    outline: none;
    background: transparent;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #111;
    font-size: 1.2rem;
    z-index: 10;
}

.controls-column {
    flex: 0 0 220px;
    min-width: 180px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.controls-panel {
    width: 100%;
    margin-top: 0;
    padding: 14px;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.control-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-section p {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #111;
}

.controls-panel .row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quotep {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    display: flex;
    justify-content: center;
    position: relative;
    left: 8%;
}

.config-btn,
.config-btna,
.material-btn,
.color-part-btn,
.wheel-option {
    padding: 10px 18px;
    min-height: 40px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: box-shadow .22s cubic-bezier(.4, 0, .2, 1), transform .16s ease, background-color .32s ease, color .32s ease;
    border: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.config-btn,
.material-btn {
    background: #111;
    color: #fff;
}

.config-btna,
.color-part-btn,
.wheel-option {
    background: #fff;
    color: #111;
}

.config-btna:hover,
.color-part-btn:hover,
.wheel-option:hover {
    transform: translateY(-2px);
    background: rgba(17, 17, 17, 0.03);
}

/* Add to your CSS */
.cushion-color {
    display: none;
    /* Hide by default */
}

.cushion-color.visible {
    display: inline-block;
    /* Show when toggled on */
}

.controls-panel .row>*:not(.color-option):not(hr):not(.circular) {
    flex: 0 0 calc(50% - 4px);
    width: calc(50% - 4px);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    padding: 8px 24px;
    min-height: 22px;
    font-size: 1rem;
}

.controls-panel .row>*.circular {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    padding: 12px;
    border-radius: 50%;
    display: inline-flex;
    position: relative;
    left: 30px;
    padding: 32px;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
    display: inline-block;
}

.color-option:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.color-option.active {
    border-color: white;
    transform: translateY(-2px) scale(1.06);
}

.color-option:focus {
    outline: none;
    box-shadow: 0 6px 18px rgba(17, 17, 17, 0.12), 0 0 0 4px rgba(17, 17, 17, 0.06);
}

hr {
    display: block;
    width: 110%;
    margin: 6px 0;
    height: 3px;
    /* controls thickness */
    background-color: #111111bf;
    /* light gray */
    opacity: 0.5;
    /* makes it lighter */

}

/* Toggle Switch */
.addon-toggle {
    width: 222px;
    height: 57px;
    margin-top: 6px;
    border: 1px solid #ddd;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: default;
    /* only the switch should be clickable */
    background-color: white;
    padding: 0 10px;
}

.addon-toggle span {
    font-size: 0.95rem;
    color: #111;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    cursor: pointer;
    /* show pointer only over the switch */
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #111;
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.part-btn.active,
.material-btn.active,
.color-part-btn.active,
.wheel-option.active {
    background: #111 !important;
    color: white !important;
    border-color: #111 !important;
}

.wheel-toggle {
    display: flex;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   SLIDING TOGGLE FOR 2 BUTTON ROWS
   ========================================================================== */
.control-section .row:has(> button:nth-child(2)):not(:has(.color-option)) {
    position: relative;
    width: 220px;
    background: #fff;
    border-radius: 30px;
    border: 1px solid #e0e0e0;
    display: flex;
    padding: 4px;
    overflow: hidden;
}

.control-section .row:has(> button:nth-child(2)):not(:has(.color-option))::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    border-radius: 30px;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), width 320ms ease;
    z-index: 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
    z-index: 1;
    transition: color 0.3s ease;
}

.control-section .row:has(> button:nth-child(2)):not(:has(.color-option)) button.active {
    color: #fff !important;
}

.control-section .row:has(> button:nth-child(2)):not(:has(.color-option)) button {
    flex: 1;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
    z-index: 1;
    transition: color 260ms ease, background-color 300ms ease, transform 180ms ease, box-shadow 300ms ease;
}

/* ==========================================================================
   WHY US SECTION
   ========================================================================== */
.why-us-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.why-us-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #111, #666);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 30px auto 0;
    line-height: 1.7;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1100px;
}

.why-us-card {
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #111, #333);
    color: #fff;
    font-size: 2rem;
    transition: all 0.35s ease;
}

.why-us-card.highlight .icon-wrapper {
    background: linear-gradient(135deg, #111, #333);
    font-size: 2.2rem;
    transform: translateZ(0) scale(1.08);
}

.why-us-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.why-us-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.why-us-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Brands styles removed */
/* Carousel Styles */
.carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    background: #fff;
}

.logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    /* Allow track to be as wide as needed */
    /* Animation will be handled by JS to ensure perfect loop */
}

.logo-item {
    flex: 0 0 auto;
    margin: 0 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 360px;
}

.logo-item img {
    max-height: 320px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

/* Adjust specific logo if needed */
.logo-item img[src*="New Project (1).png"] {
    /* If specific adjustments are needed for this logo, add them here. 
       For now, the max-height/object-fit above should unify them. */
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */
.team-section {
    padding: 60px 20px;
    background-color: #fff;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 160px;
}

.team-card {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-img {
    width: 300px;
    height: 300px;
    background: white;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.team-card:hover .team-img {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-img img {
    width: 100%;
    height: 100%;
    /* Preserve original image proportions and sharpness */
    object-fit: contain;
    display: block;
    /* Pure opacity transition only (no transforms or filters) */
    transition: opacity 220ms ease;
    backface-visibility: hidden;
    will-change: opacity;
}

/* B&W (default) image - show by default, no CSS color/filter changes */
.team-img img.team-img--bw {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    opacity: 1;
    filter: none;
}

/* Color image - hidden by default, will appear on hover exactly as uploaded */
.team-img img.team-img--color {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    opacity: 0;
    filter: none;
}

/* Hover: swap images using opacity only (no scale, no color adjustments) */
.team-card:hover .team-img img.team-img--color {
    opacity: 1;
}

.team-card:hover .team-img img.team-img--bw {
    opacity: 0;
}

.team-info {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.team-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 10px 0 5px 0;
}

.team-role {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #111;
    color: #d1d5db;
    padding: 42px 0;
    font-size: 15px;
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 92%;
    max-width: 1200px;
}

.site-footer .footer-left,
.site-footer .footer-center,
.site-footer .footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-footer .footer-left {
    color: #9ca3af;
    font-weight: 600;
    gap: 16px;
}

.site-footer .footer-left img {
    height: 40px;
}

.site-footer .footer-center {
    flex-direction: column;
    align-items: flex-start;
}

.site-footer .footer-center .contact-row {
    display: flex;
    gap: 18px;
    align-items: center;
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: #cbd5e1;
    transition: background .18s, transform .12s;
}

.site-footer .social-icons a:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .config-model {
        position: relative;
        cursor: grab;
    }

    .config-model:active {
        cursor: grabbing;
    }

    /* Add a scroll indicator */
    .config-model::before {
        content: "";
        position: absolute;
        top: 10px;
        right: 5px;
        width: 12px;
        height: 380px;
        background: linear-gradient(to bottom, #111, #666);
        border-radius: 3px;
        z-index: 100;
        opacity: 0.7;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {

        0%,
        100% {
            opacity: 0.5;
        }

        50% {
            opacity: 1;
        }
    }
}

/* Footer layout on smaller screens */
@media (max-width: 768px) {
    .site-footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .site-footer .footer-center .contact-row {
        display: flex;
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }

    .site-footer .footer-center {
        align-items: center;
    }
}


/* ==========================================================================
MOBILE SCROLLING LAYOUT FOR CONFIGURATOR
========================================================================== */
@media (max-width: 992px) {
    .config-section {
        min-height: auto;
        padding: 40px 0 20px;
    }

    .hero-frame::before {
        border-radius: 24px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.11), 0 6px 18px rgba(0, 0, 0, 0.04) inset;
        z-index: 0;
        pointer-events: none;
    }

    .config-grid {
        flex-direction: column;
        width: 100%;
        gap: 0;
        position: relative;
    }

    .config-text {
        flex: none;
        max-width: 100%;
        text-align: center;
        padding: 0 20px 30px;
        position: static;
        z-index: 1;
    }

    .config-model {
        flex: none;
        width: 100%;
        height: 320px;
        min-height: 320px;
        border-radius: 0;
        position: -webkit-sticky;
        /* iOS Safari support */
        position: sticky;
        top: 0;
        z-index: 10;
        background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    }

    .config-model.sticky-active {
        height: 280px;
    }

    .controls-column {
        flex: none;
        width: 100%;
        max-width: 100%;
        padding: 20px;
        position: relative;
        z-index: 5;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        margin-top: -20px;
    }

    .controls-panel {
        margin-top: 0;
        padding: 20px;
        border-radius: 20px;
    }

    /* For smaller mobile screens */
    @media (max-width: 576px) {
        .hero-frame {
            border-radius: 24px;
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.11), 0 6px 18px rgba(0, 0, 0, 0.04) inset;
            z-index: 0;
            pointer-events: none;
        }

        .config-model {
            height: 280px;
            min-height: 280px;
        }

        .quotep {
            font-size: 1.1rem;
            color: #555;
            position: relative;
            left: 0%;
            line-height: 1.7;
            display: flex;
            justify-content: center;
        }

        .config-model.sticky-active {
            height: 240px;
        }

        .config-text {
            padding: 0 0px 25px;
        }

        .config-text h2 {
            font-size: 1.8rem;
        }

        .config-text p {
            font-size: 1rem;
        }

        .controls-column {
            padding: 15px;
        }

        .controls-panel {
            padding: 15px;
        }

        .site-footer .footer-center .contact-row {
            display: flex;
            gap: 12px;
            flex-direction: column;
            align-items: center;
        }
    }
}

/* For very small screens */
@media (max-width: 380px) {
    .hero-frame {
        border-radius: 24px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.11), 0 6px 18px rgba(0, 0, 0, 0.04) inset;
        z-index: 0;
        pointer-events: none;
    }

    .quotep {
        font-size: 1.1rem;
        color: #555;
        position: relative;
        left: 0%;
        line-height: 1.7;
        display: flex;
        justify-content: center;
    }


    .config-model {
        height: 250px;
        min-height: 250px;
    }

    .config-model.sticky-active {
        height: 220px;
    }
}

/* ==========================================================================
   CENTER COLUMN & UTILITIES
   ========================================================================== */
.center-col {
    flex: 1 1 640px;
    min-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.center-col .config-model {
    flex: none;
    width: 100%;
}

.center-col .quotep {
    margin-top: 24px;
    margin-bottom: 15px;
    text-align: center;
    position: static;
    /* Reset relative positioning */
    left: auto;
}

.center-col .quote-btn {
    position: static;
    /* Reset relative positioning */
    left: auto;
    margin: 0 auto;
    display: inline-flex;
}

/* Desktop Only Visibility */
.desktop-only {
    display: block;
}

/* Mobile Only Visibility */
.mobile-only {
    display: none;
}


/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 1200px) {
    .desktop-nav button {
        display: none;
    }

    .config-grid {
        gap: 24px;
    }

    .center-col {
        flex: 1 1 500px;
        min-width: 350px;
    }

    .config-model {
        /* Reset flex here since it's now inside center-col */
        height: 450px;
        width: 100%;
    }

    .config-text {
        flex: 0 0 320px;
        max-width: 320px;
    }
}

@media (max-width: 992px) {
    /* ... existing mobile styles ... */

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .center-col {
        width: 100%;
        min-width: auto;
        flex: none;
    }

    .desktop-nav {
        display: none !important;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .quotep {
        font-size: 1.1rem;
        color: #555;
        line-height: 1.7;
        display: flex;
        justify-content: center;
    }


    .hero {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 40px 0;
        text-align: center;
    }

    .hero-left {
        display: contents;
    }

    /* 1. Title */
    .hero-left h1 {
        order: 1;
        font-size: 2.6rem;
        margin-bottom: 24px;
        flex: none;
        max-width: 100%;
    }

    /* 2. Description */
    .hero-left p {
        order: 2;
        font-size: 1.1rem;
        margin-bottom: 30px;
        flex: none;
        max-width: 100%;
    }

    /* 3. Video (Hero Right) */
    .hero-right {
        order: 3;
        width: 100%;
        height: 300px;
        margin-bottom: 30px;
        display: flex;
        justify-content: center;
        flex: none;
    }

    /* 4. Buttons and disclaimer */
    .hero-buttons {
        order: 4;
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 36px;
        /* Added spacing */
    }

    .hero-left br {
        display: none;
    }

    /* 5. Warning text below buttons */
    .hero-left>p:last-child {
        order: 5;
        margin-top: 20px;
    }

    .hero-frame {
        width: calc(100% + 40px);
        /* Reduce width slightly for mobile fit */
        height: 100%;
        left: 0;
        top: 0;
        transform: rotateX(4deg) translateZ(0);
        /* Keep slight tilt if desired, or set to none */
        margin: 0 auto;
    }

    .hero-frame {
        width: calc(100% + 80px);
        height: calc(100% + 60px);
        left: -40px;
        top: -10px;
    }

    .hero-frame::before {
        inset: 12px 40px 12px 40px;
        border-radius: 20px;
    }

    .hero-frame::after {
        left: 40px;
        right: 40px;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .config-grid {
        flex-direction: column;
        gap: 28px;
        align-items: center;
    }

    .config-model {
        width: 100%;
        height: 420px;
        min-width: auto;
    }

    .controls-column {
        width: 100%;
        max-width: 720px;
    }

    .hero-right {
        width: 100%;
        height: 260px;
    }

    .hero-frame {
        left: 0;
        top: 0;
        transform: none;
    }

    .config-model {
        height: 360px;
    }

    .controls-panel {
        padding: 12px;
    }

    .controls-panel .row>*:not(.color-option):not(hr):not(.circular) {
        flex: 0 0 100%;
        width: 100%;
        padding: 10px 12px;
    }

    .material-options .row {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .material-btn {
        flex: 0 0 calc(50% - 8px);
        width: calc(50% - 8px);
        box-sizing: border-box;
    }

    .color-option {
        width: 36px;
        height: 36px;
    }

    .hero-left h1 {
        font-size: 2rem;
    }

    .hero-left p {
        font-size: 0.95rem;
    }

    .primary-btn {
        width: 100%;
        justify-content: center;
    }

    .config-text {
        flex: none;
        max-width: 100%;
        text-align: center;
        padding-right: 0;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .section-header h2 {
        font-size: 2.4rem;
    }

    .why-us-section {
        padding: 80px 0;
    }

    .brands-slide img {
        max-height: 160px;
    }
}

@media (max-width: 768px) {
    .hero-left h1 {
        font-size: 2.6rem;
    }

    .hero-video {
        width: 100%;
        height: 135%;
        object-fit: cover;
    }

    .hero-right {
        height: 220px;
    }

    .material-btn {
        width: 100% !important;
    }

    .controls-panel .row>*:not(.color-option):not(hr):not(.circular) {
        padding: 8px 10px;
    }

    .color-option {
        width: 32px;
        height: 32px;
    }

    .hero-left h1 {
        font-size: 1.6rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .control-section .row:has(> button:nth-child(2)):not(:has(.color-option)) {
        width: 296x;
        height: 44px;
        background: #fff;
        border-radius: 30px;
        border: 1px solid #e0e0e0;
        display: flex;
        padding: 4px;
        overflow: hidden;
    }

    .control-section .row:has(> button:nth-child(2)):not(:has(.color-option)) {
        position: relative;
        width: 100%;
        background: #fff;
        border-radius: 30px;
        border: 1px solid #e0e0e0;
        display: flex;
        padding: 4px;
        overflow: hidden;
    }

    .addon-toggle {
        width: 100%;
        height: 54px;
        font-weight: 500;
    }

    .config-text h2 {
        font-size: 2.2rem;
    }

    .config-model {
        height: 350px;
    }

    .controls-panel {
        padding: 15px;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 25px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.1rem;
    }

    .why-us-section {
        padding: 60px 0;
    }

    .why-us-card {
        padding: 30px 25px;
    }

    .brands-section {
        padding: 60px 0;
    }

    .why-3d-section {
        height: 280px;
    }

    .why-3d-section p {
        font-size: 16px;
        max-width: 80%;
        margin: 0 auto 30px auto;
        text-align: center;
        position: relative;
        top: 2px;
    }

    .why-3d-section h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .slider-track span {
        font-size: 24px;
        padding: 0 45px;
    }

    .hero-frame::after {
        filter: none !important;
        bottom: -2% !important;
        height: 8px !important;
    }

    .hero-frame::before {
        box-shadow: none !important;
    }

    .brands-section:before,
    .brands-section:after {
        position: absolute;
        top: 0;
        width: 80px;
        height: 20%;
        content: "";
        z-index: 2;
    }

    .quotep {
        font-size: 1.1rem;
        color: #555;
        line-height: 1.7;
        display: flex;
        position: relative;
        left: 0%;
        justify-content: center;
    }

    .quote-btn {
        padding: 8px 20px;
        background: linear-gradient(135deg, #111, #2c2c2c);
        color: #fff;
        border: none;
        border-radius: 28px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.25s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        left: 0%;
        align-self: center;
        /* centers inside the column flex container */
    }

    .team-section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .team-members {
        gap: 30px;
    }

    .team-card {
        max-width: 280px;
        height: 330px;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 2.2rem;
    }

    .hero-left p {
        font-size: 1rem;
    }

    .config-model {
        height: 300px;
    }

    .config-btn,
    .config-btna {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .controls-panel .row>*.circular {
        left: 0;
        padding: 24px;
    }

    .why-us-grid {
        gap: 20px;
    }

    .quote-btn {
        padding: 8px 20px;
        background: linear-gradient(135deg, #111, #2c2c2c);
        color: #fff;
        border: none;
        border-radius: 28px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.25s ease;
        display: inline-flex;
        position: relative;
        left: 0%;
        align-items: center;
        justify-content: center;
        align-self: center;
        /* centers inside the column flex container */
    }

    .quotep {
        font-size: 1.1rem;
        color: #555;
        line-height: 1.7;
        display: flex;
        justify-content: center;
        position: relative;
        left: 0%;
    }


    .why-us-card {
        padding: 25px 20px;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .brands-slide {
        gap: 20px;
    }

    .brands-slide img {
        max-height: 120px;
    }

    .team-card {
        max-width: 100%;
        height: 300px;
    }

    .site-footer .container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .site-footer .footer-left,
    .site-footer .footer-right {
        justify-content: center;
    }

    hr {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .your-section {
        height: 60vh;
        min-height: 320px;
        max-height: 420px;
    }
}

/* Mobile-specific model sizing: use viewport height to preserve proportions on small screens */
@media (max-width: 768px) {
    .config-model {
        height: 74vh !important;
        min-height: 74vh !important;
        max-height: 100vh !important;
    }
}

/* iOS (iPhone) special offset: move model up slightly on small touch devices only */
@media (max-width: 768px) and (pointer: coarse) {
    .is-ios .config-model {
        position: relative !important;
        bottom: 20px !important;
    }
}

a {
    text-decoration: none;
}