/* Portfolio Filter Tabs */
.portfolio-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-filter-tabs.in-view {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 24px;
    border-radius: 50px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.portfolio-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.portfolio-tab.active {
    background: rgba(235, 89, 57, 0.15);
    color: #eb5939;
    border-color: rgba(235, 89, 57, 0.4);
    box-shadow: 0 0 15px rgba(235, 89, 57, 0.2);
}

/* Override parent overflow only for the video bento section */
.video,
.videoPlayer {
    overflow: visible !important;
}

/* ===================================================
   FILMSTRIP CINEMA — Bento Redesign
   Horizontal drag-scroll ribbon of wide cinematic cards.
   =================================================== */

/* Wrapper / section */
.video_bento_grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;

    /* Scroll animation */
    opacity: 1;
    transform: none;
    transition: none;
}

.video_bento_grid.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Hide old sidebar */
.bento_main_stage,
.bento_sidebar {
    display: none !important;
}

/* ---- FILMSTRIP TRACK ---- */
.filmstrip-track {
    display: flex;
    gap: 16px;
    padding: 0 clamp(20px, 5vw, 80px) 40px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.filmstrip-track::-webkit-scrollbar { display: none; }
.filmstrip-track.is-dragging { cursor: grabbing; }

/* ---- FILMSTRIP CARD ---- */
.filmstrip-card {
    position: relative;
    flex: 0 0 auto;
    height: clamp(380px, 50vh, 500px);
    border-radius: 14px;
    overflow: hidden;
    background: #060607;
    border: 1px solid rgba(255,255,255,0.06);
    scroll-snap-align: start;
    cursor: pointer;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.6s ease;
    /* Start visible — stagger handled by JS adding in-view class */
    opacity: 1;
    transform: translateY(0);
}

.filmstrip-card--portrait {
    aspect-ratio: 9/16;
}

.filmstrip-card--landscape {
    aspect-ratio: 16/9;
}


.video_bento_grid.in-view .filmstrip-card {
    opacity: 1;
    transform: translateY(0);
}
.video_bento_grid.in-view .filmstrip-card:nth-child(1) { transition-delay: 0.05s; }
.video_bento_grid.in-view .filmstrip-card:nth-child(2) { transition-delay: 0.12s; }
.video_bento_grid.in-view .filmstrip-card:nth-child(3) { transition-delay: 0.19s; }
.video_bento_grid.in-view .filmstrip-card:nth-child(4) { transition-delay: 0.26s; }
.video_bento_grid.in-view .filmstrip-card:nth-child(5) { transition-delay: 0.33s; }
.video_bento_grid.in-view .filmstrip-card:nth-child(6) { transition-delay: 0.40s; }
.video_bento_grid.in-view .filmstrip-card:nth-child(7) { transition-delay: 0.47s; }
.video_bento_grid.in-view .filmstrip-card:nth-child(8) { transition-delay: 0.54s; }
.video_bento_grid.in-view .filmstrip-card:nth-child(9) { transition-delay: 0.61s; }
.video_bento_grid.in-view .filmstrip-card:nth-child(10) { transition-delay: 0.68s; }

.filmstrip-card:hover {
    border-color: rgba(235,89,57,0.5);
    box-shadow: 0 0 40px rgba(235,89,57,0.15), 0 20px 50px rgba(0,0,0,0.6);
    transform: translateY(-6px) scale(1.015);
}

.filmstrip-card.is-active {
    border-color: rgba(235,89,57,0.8);
    box-shadow: 0 0 60px rgba(235,89,57,0.25), 0 24px 60px rgba(0,0,0,0.7);
}

/* VIDEO */
.filmstrip-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform 0.8s cubic-bezier(0.19,1,0.22,1), opacity 0.3s;
    pointer-events: none;
}
.filmstrip-card:hover video,
.filmstrip-card.is-active video {
    transform: scale(1);
}
.filmstrip-card.is-active video {
    opacity: 0.5;
}

/* TOP PROGRESS BAR */
.filmstrip-card-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.08);
    z-index: 6;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
}
.filmstrip-card-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #eb5939, #ff8a65);
    box-shadow: 0 0 10px #eb5939;
    transition: width 0.1s linear;
    border-radius: 14px;
}

/* BOTTOM OVERLAY GRADIENT */
.filmstrip-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.4) 40%,
        transparent 70%
    );
    z-index: 2;
    pointer-events: none;
}

/* TEXT LAYER */
.filmstrip-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 22px 22px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateY(8px);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.filmstrip-card:hover .filmstrip-card-body,
.filmstrip-card.is-active .filmstrip-card-body {
    transform: translateY(0);
}

.filmstrip-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #eb5939;
    padding: 4px 10px;
    background: rgba(235,89,57,0.12);
    border: 1px solid rgba(235,89,57,0.3);
    border-radius: 50px;
    width: fit-content;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.filmstrip-card-tag::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #eb5939;
    box-shadow: 0 0 6px #eb5939;
    display: inline-block;
}

.filmstrip-card-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

/* NUMBER BADGE */
.filmstrip-card-num {
    position: absolute;
    top: 14px;
    left: 18px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.35);
    z-index: 5;
    user-select: none;
}

/* PLAY ICON HOVER */
.filmstrip-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s, transform 0.35s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
}
.filmstrip-card:hover .filmstrip-card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.filmstrip-card.is-active .filmstrip-card-play {
    opacity: 0;
}
.filmstrip-card-play svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    margin-left: 3px;
}

/* CARD CONTROLS OVERLAY (PLAY/PAUSE & SOUND TOGGLES) */
.filmstrip-card-controls {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    gap: 8px;
    z-index: 15;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-5px);
}
.filmstrip-card:hover .filmstrip-card-controls {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.card-ctrl-btn {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}
.card-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
    transform: scale(1.1);
}
.card-ctrl-btn svg {
    pointer-events: none;
    display: block;
}

/* LASER LINE (orange accent that sweeps in on hover) */
.filmstrip-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #eb5939, #ff8a65);
    box-shadow: 0 0 10px #eb5939;
    transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
    z-index: 8;
    border-radius: 0 0 14px 14px;
}
.filmstrip-card:hover::after,
.filmstrip-card.is-active::after {
    width: 100%;
}

/* SCROLL HINT FADE EDGES — hidden, track handles clipping */
.filmstrip-fade-right, .filmstrip-fade-left { display: none; }

/* DRAG-SCROLL NAV ARROWS */
.filmstrip-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    padding: 0 clamp(20px, 5vw, 80px) 0;
    margin-bottom: 20px;
}
.filmstrip-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.filmstrip-nav-btn:hover {
    border-color: #eb5939;
    background: rgba(235,89,57,0.12);
    box-shadow: 0 0 15px rgba(235,89,57,0.2);
}
.filmstrip-nav-btn svg {
    width: 18px;
    height: 18px;
    fill: rgba(255,255,255,0.8);
    pointer-events: none;
}
.filmstrip-nav-count {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    letter-spacing: 1px;
    padding: 0 6px;
}
.filmstrip-nav-count span {
    color: #eb5939;
    font-weight: 800;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .filmstrip-card {
        height: clamp(280px, 40vh, 380px);
        flex: 0 0 auto;
    }
    .filmstrip-track {
        padding: 0 20px 30px;
        gap: 12px;
    }
    .filmstrip-nav {
        padding: 0 20px 0;
    }
}
@media (max-width: 575px) {
    .filmstrip-card {
        height: auto;
        border-radius: 10px;
    }
    .filmstrip-card--portrait {
        flex: 0 0 60vw;
        width: 60vw;
    }
    .filmstrip-card--landscape {
        flex: 0 0 85vw;
        width: 85vw;
    }
    .filmstrip-card-title {
        font-size: 16px;
    }
}



/* ===== VIDEO INFO BAR ===== */
.video_info_bar {
    max-width: 1728px;
    margin: 14px auto 0;
    padding: 0 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.video_info_bar.in-view {
    opacity: 1;
    transform: translateY(0);
}

.video_info_bar_inner {
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

/* Project Title Area — with red left accent */
/*.video_info_project*/
.video_info_project {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    border-left: 3px solid #eb5939;
    width: 100%;
    background: rgba(235, 89, 57, 0.04);
}

.video_info_project_indicator {
    width: 10px;
    height: 10px;
    background: #eb5939;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(235, 89, 57, 0.5);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 8px rgba(235, 89, 57, 0.5);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.85);
        box-shadow: 0 0 16px rgba(235, 89, 57, 0.8);
    }
}

.video_info_project_name {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.3s;
}

.video_info_project_type {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 10px;
    color: #eb5939;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 3px;
    font-weight: 500;
    transition: opacity 0.3s;
}

/* Stats Grid */
.video_info_stats {
    display: none !important;
}

.video_info_stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 18px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s, box-shadow 0.3s;
    position: relative;
}

.video_info_stat:last-child {
    border-right: none;
}

.video_info_stat:hover {
    background: rgba(235, 89, 57, 0.04);
}

.video_info_stat_label {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 6px;
    font-weight: 500;
}

.video_info_stat_value {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Animate stat value changes */
.video_info_stat_value.is-changing {
    opacity: 0;
    transform: translateY(5px);
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
    .video_info_stats {
        flex-wrap: wrap;
    }

    .video_info_stat {
        min-width: 33.33%;
    }
}

@media (max-width: 991px) {
    .video_bento_grid {
        display: flex;
        flex-direction: column;
        aspect-ratio: auto;
        gap: 15px;
    }

    .bento_main_stage {
        flex: none;
        width: 100%;
        position: relative;
        /* Remove sticky on mobile */
        top: 0;
        aspect-ratio: 16/9;
    }

    .bento_sidebar {
        flex: none;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        padding-bottom: 0px;
    }

    /* Keep first item wide on tablet */
    .bento_sidebar .bento_item.pos-1 {
        grid-column: 1 / 3;
        aspect-ratio: 16/9;
    }

    .bento_item {
        aspect-ratio: 16/9;
    }

    .bento_content {
        opacity: 1;
        transform: translateY(0);
        padding: 10px;
    }

    .bento_title {
        font-size: 12px;
    }

    .bento_category {
        font-size: 8px;
        padding: 2px 5px;
    }

    .video_info_bar_inner {
        flex-direction: column;
    }

    .video_info_project {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        min-width: auto;
    }

    .video_info_stats {
        flex-wrap: wrap;
    }

    .video_info_stat {
        min-width: 33.33%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
}

@media (max-width: 575px) {
    .bento_sidebar {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .bento_sidebar .bento_item.pos-1 {
        grid-column: span 2 !important;
        aspect-ratio: 16/9 !important;
    }
    
    .bento_item {
        aspect-ratio: 16/9 !important;
    }
    
    .bento_content {
        padding: 6px !important;
    }

    .bento_title {
        font-size: 10px !important;
    }

    .bento_category {
        font-size: 7px !important;
        padding: 1px 4px !important;
    }

    .video_info_stat {
        min-width: 50%;
    }

    .video_info_project {
        padding: 14px 18px;
    }

    /* Slider mobile optimizations */
    .split-slider-container {
        touch-action: pan-y !important;
    }
    .slider-handle {
        touch-action: none !important;
    }
    .slider-handle-button {
        width: 38px !important;
        height: 38px !important;
        touch-action: none !important;
    }
    .slider-label {
        bottom: 12px !important;
        padding: 4px 8px !important;
        font-size: 9px !important;
    }
    .label-left {
        left: 12px !important;
    }
    .label-right {
        right: 12px !important;
    }

    /* Estimator mobile optimizations */
    .estimator_card {
        padding: 20px 15px !important;
    }
    .estimator_title {
        font-size: 1.4rem !important;
    }
    .estimator_subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 20px !important;
    }
    .estimator_row {
        gap: 15px !important;
    }
    .estimator_col {
        min-width: 100% !important;
    }
    .estimator_summary_box {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    .estimator_price_label {
        text-align: center !important;
    }
    .estimator_price_value {
        font-size: 1.6rem !important;
        text-align: center !important;
    }
    .estimator_apply_btn {
        width: 100% !important;
        text-align: center !important;
    }

    /* Testimonials mobile optimizations */
    .testimonial-card {
        padding: 20px !important;
    }
    .testimonial-card-quote {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }

    /* Calendly Modal mobile optimizations */
    #calendly-modal .aesthetic-modal_content {
        padding: 15px !important;
        height: 90vh !important;
    }
    #calendly-modal .aesthetic-modal_title {
        font-size: 1.1rem !important;
    }
    #calendly-modal #calendly-modal_close {
        padding: 4px 10px !important;
        font-size: 0.75rem !important;
    }
    
    /* General aesthetic modals on mobile */
    .aesthetic-modal_content {
        padding: 30px 20px !important;
    }
    .aesthetic-modal_title {
        font-size: 1.4rem !important;
    }
}

/* Custom Bento Cursor overrides for desktop hover screens */
@media (hover: hover) {
    .vj-cursor.is-hovering-bento {
        --opacity: 1 !important;
        opacity: 1 !important;
        transform: translate(calc(var(--x) - var(--size)/2), calc(var(--y) - var(--size)/2)) scale(1) !important;
        background: rgba(235, 89, 57, 0.1) !important;
        border: 2px solid #eb5939 !important;
        border-radius: 50% !important;
        color: #fff !important;
        font-family: 'Helvetica Neue', sans-serif !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        letter-spacing: 1.5px !important;
        width: 60px !important;
        height: 60px !important;
        --size: 60px !important;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 0 15px rgba(235, 89, 57, 0.3) !important;
        transition: transform 0.1s ease-out, background-color 0.3s, border-color 0.3s !important;
    }

    .vj-cursor.is-hovering-bento span {
        padding: 0 !important;
        display: block !important;
    }
}

/* ===== VFX SPLIT SLIDER ===== */
.split-slider-container {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    background: #080809;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    user-select: none;
    -webkit-user-select: none;
    margin: 30px auto;
}

.slider-image-before,
.slider-image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-image-before img,
.slider-image-after img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    pointer-events: none;
    background: #080809;
}

.slider-image-after {
    width: 100%;
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    -webkit-clip-path: inset(0 50% 0 0);
}

.slider-label {
    position: absolute;
    bottom: 24px;
    padding: 6px 14px;
    background: rgba(8, 8, 9, 0.35);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 10;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.label-left {
    left: 24px;
}

.label-right {
    right: 24px;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 10;
    cursor: ew-resize;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slider-handle-line {
    display: none;
}

.slider-handle-button {
    width: 38px;
    height: 38px;
    background: rgba(8, 8, 9, 0.7);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: ew-resize;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.slider-handle-glow {
    width: 6px;
    height: 6px;
    background: #eb5939;
    border-radius: 50%;
    box-shadow: 0 0 6px #eb5939;
    transition: all 0.3s ease;
}

.slider-handle:hover .slider-handle-button,
.slider-handle:active .slider-handle-button {
    transform: scale(1.08);
    border-color: rgba(235, 89, 57, 0.5);
    box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 12px rgba(235, 89, 57, 0.3);
}

.slider-handle:hover .slider-handle-glow,
.slider-handle:active .slider-handle-glow {
    background: #ff7e62;
    box-shadow: 0 0 10px #ff7e62;
}

/* ===== CUSTOM SCOPE ESTIMATOR ===== */
.estimator_card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0 40px;
    color: #fff;
    font-family: 'Helvetica Neue', sans-serif;
    border-left: 3px solid #eb5939;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    text-align: left;
}

.contact__red .estimator_card {
    background: linear-gradient(135deg, rgba(245, 243, 238, 0.95) 0%, rgba(238, 235, 228, 0.98) 100%);
    border-color: rgba(0, 0, 0, 0.08);
    color: #0c0c0b;
    border-left-color: #eb5939;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.estimator_title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Helvetica Neue', sans-serif;
}

.estimator_subtitle {
    opacity: 0.6;
    font-size: 0.95rem;
    margin-bottom: 25px;
    font-family: 'Helvetica Neue', sans-serif;
}

.estimator_row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.estimator_col {
    flex: 1;
    min-width: 250px;
}

.estimator_field {
    margin-bottom: 20px;
}

.estimator_label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #eb5939;
    margin-bottom: 8px;
    font-weight: 600;
}

.estimator_slider_wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.estimator_slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.contact__red .estimator_slider {
    background: rgba(0, 0, 0, 0.1);
}

.estimator_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #eb5939;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(235, 89, 57, 0.4);
    transition: transform 0.1s;
}

.estimator_slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.estimator_value_badge {
    font-size: 0.95rem;
    font-weight: 700;
    min-width: 60px;
    text-align: right;
}

.estimator_select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    padding: 10px 14px;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s;
}

.contact__red .estimator_select {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #0c0c0b;
}

.estimator_select:focus {
    border-color: #eb5939;
}

.estimator_select option {
    background: #111;
    color: #fff;
}

.contact__red .estimator_select option {
    background: #fff;
    color: #0c0c0b;
}

.estimator_options_grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.estimator_checkbox_label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
}

.estimator_checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    background: transparent;
    transition: all 0.3s;
}

.contact__red .estimator_checkbox {
    border-color: rgba(0, 0, 0, 0.2);
}

.estimator_checkbox:checked {
    background: #eb5939;
    border-color: #eb5939;
}

.estimator_checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
}

.estimator_radio_group {
    display: flex;
    gap: 12px;
}

.estimator_radio_btn {
    flex: 1;
    position: relative;
}

.estimator_radio_btn input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.estimator_radio_label {
    display: block;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.contact__red .estimator_radio_label {
    border-color: rgba(0, 0, 0, 0.1);
}

.estimator_radio_btn input:checked + .estimator_radio_label {
    border-color: #eb5939;
    background: rgba(235, 89, 57, 0.08);
    color: #eb5939;
    font-weight: 700;
}

.estimator_summary_box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact__red .estimator_summary_box {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.05);
}

.estimator_price_label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.contact__red .estimator_price_label {
    color: rgba(0, 0, 0, 0.5);
}

.estimator_price_value {
    font-size: 2rem;
    font-weight: 800;
    color: #eb5939;
}

.estimator_apply_btn {
    background: #eb5939;
    border: none;
    border-radius: 6px;
    color: #fff;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(235, 89, 57, 0.3);
}

.estimator_apply_btn:hover {
    background: #ff6e4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 89, 57, 0.5);
}

.estimator_apply_btn:active {
    transform: translateY(0);
}

/* Glassmorphic Testimonials Card Grid */
.testimonials-card-grid {
    position: relative;
    z-index: 10;
}

.testimonials-card-grid .row {
    margin-left: -15px;
    margin-right: -15px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(235, 89, 57, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(235, 89, 57, 0.05);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(235, 89, 57, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card-quote {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.testimonial-card-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}

.testimonial-card-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.testimonial-card-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

/* Red Layer Specific Card Styles */
.testimonials-card-grid-red {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.testimonials-card-grid-red,
.testimonials-card-grid-red * {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.testimonials-card-grid-red .testimonial-card {
    background: rgba(13, 13, 13, 0.03) !important;
    border: 1px solid rgba(13, 13, 13, 0.08) !important;
}

.testimonials-card-grid-red .testimonial-card:hover {
    background: rgba(13, 13, 13, 0.06) !important;
    border-color: rgba(13, 13, 13, 0.2) !important;
}

.testimonials-card-grid-red .testimonial-card::before {
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.05) 0%, transparent 100%) !important;
}

.testimonials-card-grid-red .testimonial-card-quote {
    color: #0d0d0d !important;
}

.testimonials-card-grid-red .testimonial-card-name {
    color: #0d0d0d !important;
}

.testimonials-card-grid-red .testimonial-card-meta {
    color: rgba(13, 13, 13, 0.6) !important;
}

.testimonials-card-grid-red .testimonial-card-avatar {
    border: 2px solid rgba(13, 13, 13, 0.15) !important;
}

.testimonial-card-avatar.initials-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff !important;
    background: linear-gradient(135deg, #eb5939 0%, #ff8a65 100%);
    text-transform: uppercase;
    user-select: none;
}

.testimonials-card-grid-red .testimonial-card-avatar.initials-avatar {
    color: #fff !important;
    background: linear-gradient(135deg, #0d0d0d 0%, #3a3a3a 100%) !important;
}

/* Premium Glassmorphic Form Fields */
.form_input {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
    padding: 12px 18px !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
}

.form_input:focus {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: #eb5939 !important;
    box-shadow: 0 0 15px rgba(235, 89, 57, 0.1) !important;
}

/* Adjust the arrow position for select fields since we added padding */
select.form_input {
    background-position: right 18px center !important;
    padding-right: 40px !important;
}

/* Red layer form field overrides */
.contact_form__red .form_input {
    background: rgba(13, 13, 13, 0.03) !important;
    border: 1px solid rgba(13, 13, 13, 0.08) !important;
    color: #0d0d0d !important;
}

.contact_form__red .form_input:focus {
    background: rgba(13, 13, 13, 0.05) !important;
    border-color: #0d0d0d !important;
    box-shadow: 0 0 15px rgba(13, 13, 13, 0.05) !important;
}



/* ===== BENTO PORTFOLIO — ZOOM OUT FIX ===== */
/* Videos/images start at natural size; hover shows slight pull-back for cinematic effect */
.bento_item video,
.bento_item img.bento-thumb {
    transform: scale(1.0);
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.bento_item:hover video,
.bento_item:hover img.bento-thumb {
    transform: scale(0.97);
}

/* VFX Slider tabs wrapping */
.vfx-slider-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

/* VFX SPLIT SLIDER STYLING */
.vfx-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.vfx-header-left {
    flex: 1;
    min-width: 300px;
    max-width: 800px;
}

.vfx-eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #eb5939;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(235, 89, 57, 0.2);
    background: rgba(235, 89, 57, 0.05);
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(235, 89, 57, 0.05);
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(235, 89, 57, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(235, 89, 57, 0); }
    100% { box-shadow: 0 0 0 0 rgba(235, 89, 57, 0); }
}

.vfx-eyebrow-dot {
    width: 6px;
    height: 6px;
    background-color: #eb5939;
    border-radius: 50%;
    animation: pulse-dot 1.8s infinite;
}

.vfx-heading {
    font-family: 'Avant Garde', 'Helvetica Neue', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 40%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px 0 12px;
    letter-spacing: -1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.vfx-heading-accent {
    color: #eb5939;
    -webkit-text-fill-color: #eb5939; /* matches webkit clip behavior */
}

.vfx-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 580px;
}

.vfx-header-right {
    display: flex;
    align-items: center;
}

.vfx-now-viewing {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px 24px;
    border-radius: 16px;
    min-width: 320px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.05), 0 20px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

@keyframes scan-light {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.vfx-now-viewing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(235, 89, 57, 0.03), transparent);
    transform: translateX(-100%);
    animation: scan-light 4s infinite linear;
}

.vfx-now-viewing-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
}

.vfx-now-viewing-title {
    font-family: 'Avant Garde', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 6px 0 12px;
    text-transform: uppercase;
}

.vfx-now-viewing-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.vfx-now-viewing-bar-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #eb5939, #ff7e62);
    box-shadow: 0 0 8px rgba(235, 89, 57, 0.6);
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.vfx-now-viewing-meta {
    display: flex;
    gap: 8px;
}

.vfx-meta-chip {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
}

.vfx-tabs-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 10px 24px;
    border-radius: 100px;
    width: fit-content;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.vfx-tabs-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vfx-tabs-group-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
}

.vfx-tab {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.35);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.vfx-tab:hover {
    color: rgba(255, 255, 255, 0.85);
}

.vfx-tab.active {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.vfx-tab-dot {
    width: 4px;
    height: 4px;
    background-color: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-block;
}

.vfx-tab.active .vfx-tab-dot {
    background-color: #eb5939;
    box-shadow: 0 0 6px #eb5939;
}

.vfx-tabs-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 991px) {
    .vfx-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .vfx-header-left {
        max-width: 100%;
    }
    .vfx-header-right {
        width: 100%;
    }
    .vfx-now-viewing {
        width: 100%;
    }
    .vfx-tabs-wrapper {
        border-radius: 16px;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 15px;
    }
    .vfx-tabs-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 8px;
    }
    .vfx-slider-tabs {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        gap: 8px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .vfx-slider-tabs::-webkit-scrollbar {
        display: none;
    }
    .vfx-tab {
        flex: 0 0 auto !important;
        padding: 6px 14px !important;
        font-size: 11px !important;
    }
    .vfx-tabs-divider {
        display: none;
    }
}

/* ==========================================
   VISUAL-FIRST PREMIUM LAYOUT ENHANCEMENTS
   ========================================== */

/* Accordion collapsing styles for Case Study Card */
.video_case_study_card {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0 !important;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin-top 0.5s ease;
}
.video_case_study_card.is-expanded {
    max-height: 300px;
    opacity: 1;
    margin-top: 15px !important;
}

/* Case Study Toggle Container & Tab Style Button */
.case_study_toggle_container {
    max-width: 1728px;
    margin: 15px auto 0;
    padding: 0 15px;
    display: flex;
    justify-content: flex-end;
}
#btnToggleCaseStudy {
    font-size: 11px;
    padding: 8px 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#btnToggleCaseStudy .vfx-tab-dot {
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: none;
    transition: all 0.3s ease;
}
#btnToggleCaseStudy.active {
    background: #eb5939;
    border-color: #eb5939;
    color: #fff;
    box-shadow: 0 4px 12px rgba(235, 89, 57, 0.35);
}
#btnToggleCaseStudy.active .vfx-tab-dot {
    background-color: #fff;
    box-shadow: 0 0 6px #fff;
}

/* Pulsing handle glow effect */
@keyframes handle-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(235, 89, 57, 0.7), 0 4px 15px rgba(0, 0, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(235, 89, 57, 0), 0 4px 15px rgba(0, 0, 0, 0.4);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(235, 89, 57, 0), 0 4px 15px rgba(0, 0, 0, 0.4);
    }
}
.slider-handle-button {
    animation: handle-pulse 2s infinite;
}

/* Premium Estimator Card Checkboxes */
.estimator_card_checkbox {
    display: block;
    cursor: pointer;
    width: 100%;
    margin-bottom: 0;
}

.estimator_card_input {
    display: none; /* Hide actual input */
}

.estimator_card_inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.estimator_card_icon {
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.estimator_card_label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    flex: 1;
    transition: all 0.3s ease;
}

.estimator_card_price {
    font-size: 0.8rem;
    font-weight: 600;
    color: #eb5939;
    background: rgba(235, 89, 57, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Checked States */
.estimator_card_input:checked + .estimator_card_inner {
    background: rgba(235, 89, 57, 0.06);
    border-color: #eb5939;
    box-shadow: 0 0 15px rgba(235, 89, 57, 0.15);
}

.estimator_card_input:checked + .estimator_card_inner .estimator_card_icon {
    color: #eb5939;
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(235, 89, 57, 0.5));
}

.estimator_card_input:checked + .estimator_card_inner .estimator_card_label {
    color: #fff;
    font-weight: 600;
}

.estimator_card_input:checked + .estimator_card_inner .estimator_card_price {
    color: #fff;
    background: #eb5939;
    box-shadow: 0 2px 6px rgba(235, 89, 57, 0.3);
}

/* Hover States */
.estimator_card_inner:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

/* RED LAYER STYLING OVERRIDES */
.layer__red .estimator_card_inner {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

.layer__red .estimator_card_label {
    color: rgba(0, 0, 0, 0.8);
}

.layer__red .estimator_card_icon {
    color: rgba(0, 0, 0, 0.4);
}

.layer__red .estimator_card_inner:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

.layer__red .estimator_card_input:checked + .estimator_card_inner {
    background: rgba(235, 89, 57, 0.06);
    border-color: #eb5939;
    box-shadow: 0 0 15px rgba(235, 89, 57, 0.1);
}

.layer__red .estimator_card_input:checked + .estimator_card_inner .estimator_card_label {
    color: #000;
}

/* ---- VIDEO MODAL ---- */
#video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#video-modal.is-active {
    opacity: 1;
    pointer-events: auto;
}

.video-modal-content {
    position: relative;
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#video-modal.is-active .video-modal-content {
    transform: scale(1);
}

.video-modal-content video {
    max-width: 90vw;
    max-height: 85vh;
    display: block;
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: #eb5939;
    border-color: #eb5939;
    transform: scale(1.05);
}

/* RED LAYER STYLING OVERRIDES FOR FILMSTRIP */
.layer__red .filmstrip-card {
    background: #fff0eb;
    border: 1px solid rgba(0,0,0,0.06);
}
.layer__red .filmstrip-card-title {
    color: #000 !important;
    text-shadow: none !important;
}
.layer__red .filmstrip-card-num {
    color: rgba(0, 0, 0, 0.4) !important;
}
.layer__red .filmstrip-nav-btn {
    border-color: rgba(0, 0, 0, 0.2) !important;
    color: #000 !important;
}
.layer__red .filmstrip-nav-btn:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.4) !important;
}
.layer__red .filmstrip-nav-count {
    color: rgba(0, 0, 0, 0.6) !important;
}
.layer__red .filmstrip-card-overlay {
    background: linear-gradient(to top, rgba(235, 89, 57, 0.15) 0%, rgba(235, 89, 57, 0) 60%) !important;
}

/* ==========================================
   MINIMALIST VFX SHOWCASE SLIDER STYLES
   ========================================== */

.split-slider-container {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 30px auto;
    aspect-ratio: 16/9;
    background: #060608;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    cursor: ew-resize;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.slider-image-before,
.slider-image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-image-before img,
.slider-image-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}

.slider-image-after {
    clip-path: inset(0 50% 0 0);
    -webkit-clip-path: inset(0 50% 0 0);
    z-index: 2;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
    pointer-events: none;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-handle-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.slider-label {
    position: absolute;
    bottom: 16px;
    background: rgba(8, 8, 9, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 5;
    pointer-events: none;
}
.label-left {
    left: 16px;
}

.label-right {
    right: 16px;
}

/* Structured specs grid */
.vfx-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 40px auto 0;
    text-align: left;
    padding: 0 10px;
}

.vfx-spec-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 16px;
}

.vfx-spec-column:first-child {
    border-left: none;
    padding-left: 0;
}

.vfx-spec-label {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 8px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.vfx-spec-val {
    font-family: Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Responsive specs grid */
@media (max-width: 768px) {
    .vfx-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
    }
    .vfx-spec-column {
        border-left: none;
        padding-left: 0;
    }
}

/* ==========================================
   RED LAYER LIGHT THEME OVERRIDES
   ========================================== */

.layer__red .split-slider-container {
    background: #fdfdfc;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
}

.layer__red .slider-handle {
    background: rgba(0, 0, 0, 0.2);
}

.layer__red .slider-handle-dot {
    background: #000;
}

.layer__red .slider-label {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.5);
}

.layer__red .vfx-spec-column {
    border-left-color: rgba(0, 0, 0, 0.06);
}

.layer__red .vfx-spec-label {
    color: rgba(0, 0, 0, 0.4);
}

.layer__red .vfx-spec-val {
    color: rgba(0, 0, 0, 0.8);
}

/* --- CASE STUDY TESTIMONIAL STYLING --- */
.case-study-testimonial-block {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px;
    margin-top: 15px;
}

.case-study-testimonial-quote {
    font-style: italic !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: #eb5939 !important; /* Brand Coral */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin-bottom: 5px;
}

.case-study-testimonial-author {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Red layer light-theme overrides */
.layer__red .case-study-testimonial-block {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.layer__red .case-study-testimonial-quote {
    color: #0d0d0d !important;
}

.layer__red .case-study-testimonial-author {
    color: rgba(0, 0, 0, 0.5);
}

/* ── FAQ Accordion Section ── */
.faq_section_container {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 50px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 80px rgba(0,0,0,0.5);
    margin-top: 40px;
}

.faq_section_container__red {
    background: rgba(0, 0, 0, 0.015) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 20px 80px rgba(0,0,0,0.05) !important;
}

.faq_accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.faq_item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.layer__red .faq_item {
    border-bottom-color: rgba(0, 0, 0, 0.05) !important;
}

.faq_item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq_trigger {
    width: 100%;
    background: none !important;
    border: none !important;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: var(--cream, #f7f3e9) !important;
    font-family: 'DM Sans', 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.layer__red .faq_trigger {
    color: #0d0d0d !important;
}

.faq_icon {
    width: 16px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq_icon::before,
.faq_icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent, #eb5939);
    transition: transform 0.3s ease;
}

/* Horizontal line */
.faq_icon::before {
    top: 7px; left: 0; width: 16px; height: 2px;
}

/* Vertical line */
.faq_icon::after {
    top: 0; left: 7px; width: 2px; height: 16px;
}

.faq_trigger[aria-expanded="true"] .faq_icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq_trigger[aria-expanded="true"] .faq_icon::before {
    transform: rotate(180deg);
}

.faq_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.faq_content p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5) !important;
    margin: 0;
    padding: 0 0 16px 0;
}

.layer__red .faq_content p {
    color: rgba(0, 0, 0, 0.6) !important;
}

.faq_item.is-active .faq_content {
    opacity: 1;
}

@media (max-width: 768px) {
    .faq_section_container {
        padding: 30px 20px;
    }
}

/* ── Hover Tooltips for NDA & Availability Section ── */
.hover-info-box {
    position: absolute;
    right: calc(100% + 20px);
    left: auto;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.hover-info-box::after {
    content: '';
    position: absolute;
    left: 100%;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.1);
}

.hover-expand-item:hover .hover-info-box {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Light theme overrides for red layer */
.layer__red .hover-info-box {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.8) !important;
}

.layer__red .hover-info-box::after {
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .hover-info-box {
        position: relative;
        left: 0;
        top: 0;
        transform: none !important;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        padding: 0 10px;
        border: none;
        background: transparent;
        box-shadow: none;
        white-space: normal;
        margin-top: 4px;
        transition: all 0.3s ease;
        color: rgba(255, 255, 255, 0.5) !important;
    }
    .layer__red .hover-info-box {
        color: rgba(0, 0, 0, 0.6) !important;
    }
    .hover-info-box::after {
        display: none;
    }
    .hover-expand-item:hover .hover-info-box {
        opacity: 1;
        max-height: 80px;
        padding: 8px 10px;
    }
}