/* Styles extracted from index.php */
   :root {
        --zima-blue: #00f2ff;
        --zica-orange: #ff6600;
        --core-void: #050609;
        --glass-panel: rgba(5, 6, 9, 0.45);
        --glass-border: rgba(255, 255, 255, 0.06);
        --pure-white: #ffffff;
        --bg-light: #f9fbfd;      /* Subtle cloud-gray depth surface */
        --text-dark: #111318;     /* High-end clean typography tone */
        --text-gray: #5f6c7d;     /* Crisp readability tint */
        --border-soft: rgba(0, 0, 0, 0.05);
        --studio-dark: #090e1a;     /* Deep Obsidian Midnight matching your header */
        --accent-orange: #ff5500;   /* Active State Premium Orange */
        --accent-blue: #0099ff;     /* Hover Sky Blue */
        --text-light: #f8fafc;
        --text-muted: #94a3b8;
        --card-bg: rgba(15, 23, 42, 0.4);
        --border-glass: rgba(255, 255, 255, 0.05);
        --purple-accent: #9333ea;
        --pure-white: #ffffff;
        --text-dark: #0f172a;
        --text-muted: #64748b;
        --ui-border: rgba(0, 0, 0, 0.05);
        --premium-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.04);
    --blue-zima: #0ea5e9;
    --orange-zica: #f97316;
    --transition-theme: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    --blue-zima: #0ea5e9;
    --orange-zica: #f97316;
    --transition-theme: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);


    
    
    }


/*** Spinner / heli visuals keyframes***/
@keyframes heliLuxuryHover {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(0.5deg);
    }
}

@keyframes rotorSlowMo {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

@keyframes glassShine {
    0% {
        left: -150%;
    }

    40%,
    100% {
        left: 150%;
    }
}

@keyframes neatParticles {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    100% {
        transform: translate(-140px, 40px) scale(0);
        opacity: 0;
    }
}

@keyframes textBreathe {
    from {
        opacity: 0.8;
        filter: brightness(1);
    }

    to {
        opacity: 1;
        filter: brightness(1.3) drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
    }
}

@keyframes flagWave {
    from {
        transform: rotateY(0deg) skewY(3deg);
    }

    to {
        transform: rotateY(-20deg) skewY(-3deg);
    }
}

@keyframes loadingSlide {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/*** carouel ***/
 
    /*** Core Layout Wrapper Box ***/
    .premium-hero-slider {
        position: relative;
        background-color: var(--core-void);
        width: 100%;
        height: 100vh;
        min-height: 650px;
        overflow: hidden;
        font-family: 'Montserrat', sans-serif;
    }

    .premium-hero-slider #mainHeroCarousel,
    .premium-hero-slider .carousel-inner,
    .premium-hero-slider .carousel-item {
        height: 100%;
        width: 100%;
    }

   
    .slide-viewport {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 1;
    }

    .hero-asset {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: scale(1.02);
        transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .carousel-item.active .hero-asset {
        transform: scale(1.08);
    }

  
    .pro-vignette {
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(5,6,9,0.9) 0%, rgba(5,6,9,0.5) 40%, rgba(5,6,9,0.1) 70%, rgba(5,6,9,0.8) 100%),
                    linear-gradient(to bottom, rgba(5,6,9,0.3) 0%, rgba(5,6,9,0.1) 50%, rgba(5,6,9,0.9) 100%);
        z-index: 2;
        pointer-events: none;
    }

  
    .premium-hero-slider .carousel-caption {
        position: absolute;
        inset: 0;
        padding: 0 8%;
        display: flex;
        align-items: center;
        text-align: left;
        z-index: 3;
    }

    .content-hud {
        max-width: 680px;
        position: relative;
    }

    
    .tech-label {
        font-family: 'Rajdhani', sans-serif;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 4px;
        color: var(--zima-blue);
        margin-bottom: 16px;
        text-transform: uppercase;
    }
    
    .carousel-item:nth-child(2) .tech-label,
    .carousel-item:nth-child(4) .tech-label {
        color: var(--zica-orange);
    }

    .glitch-title {
        font-weight: 800;
        font-size: clamp(2.4rem, 5vw, 4.4rem);
        line-height: 1.1;
        letter-spacing: -1px;
        margin-bottom: 20px;
        color: #ffffff;
    }

    .glitch-title span {
        display: block;
    }

    .glitch-title em {
        font-style: italic;
        color: var(--zica-orange);
        font-weight: 800;
    }
    
    .carousel-item:nth-child(1) .glitch-title em,
    .carousel-item:nth-child(3) .glitch-title em {
        color: var(--zima-blue);
    }

    .premium-desc {
        font-size: clamp(14px, 1.8vw, 16px);
        color: rgba(255, 255, 255, 0.75);
        line-height: 1.6;
        margin-bottom: 36px;
        max-width: 90%;
        font-weight: 400;
    }

    
    .btn-nexus {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }

    .btn-premium {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 28px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-decoration: none;
        border-radius: 50px; 
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

  
    .btn-premium.fill-orange {
        background: var(--zica-orange);
        color: #ffffff;
        border: 1px solid var(--zica-orange);
    }
    .btn-premium.fill-blue {
        background: var(--zima-blue);
        color: var(--core-void);
        border: 1px solid var(--zima-blue);
    }

    
    .btn-premium.outline-light {
        background: transparent;
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

   
    .btn-premium.fill-orange:hover {
        background: #e05a00;
        border-color: #e05a00;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(255, 102, 0, 0.35);
        color: #ffffff;
    }
    .btn-premium.fill-blue:hover {
        background: #00d2dc;
        border-color: #00d2dc;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 242, 255, 0.3);
        color: var(--core-void);
    }
    .btn-premium.outline-light:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: #ffffff;
        transform: translateY(-2px);
        color: #ffffff;
    }

   .carousel-indicators {
        justify-content: flex-start;
        left: 8%;
        right: auto;
        margin: 0;
        bottom: 8%;
        z-index: 15;
        gap: 10px;
    }

    .carousel-indicators [data-bs-target] {
        width: 45px;
        height: 3px;
        background-color: rgba(255, 255, 255, 0.2);
        border: none;
        transition: all 0.4s ease;
    }

    .carousel-indicators .active {
        background-color: #ffffff;
        width: 65px;
    }
    
    
    .premium-hero-slider .carousel-control-next {
        right: 4%;
        left: auto;
        width: 50px;
        opacity: 0.5;
        transition: opacity 0.3s;
    }
    .premium-hero-slider .carousel-control-prev { display: none; }
    .premium-hero-slider .carousel-control-next:hover { opacity: 1; }

    .nav-bracket {
        font-size: 28px;
        color: #ffffff;
    }

    /* =========================================
       PREMIUM HIGH-PERFORMANCE MOBILE OPTIMIZATION
       =========================================
    */
    @media (max-width: 991px) {
        .slide-viewport {
            height: 52%; 
            top: 0;
        }
        
        .pro-vignette {
            background: linear-gradient(to bottom, rgba(5,6,9,0) 50%, var(--core-void) 100%);
        }

        .premium-hero-slider .carousel-caption {
            width: 100%;
            height: 48%; 
            top: auto;
            bottom: 0;
            padding: 24px 20px 40px 20px;
            background: var(--core-void);
            align-items: flex-start;
        }

        .content-hud {
            display: flex;
            flex-direction: column;
            height: 100%;
            justify-content: center;
        }

        .tech-label {
            margin-bottom: 6px;
            font-size: 12px;
        }

        .glitch-title {
            font-size: 1.8rem;
            margin-bottom: 8px;
        }

        .premium-desc {
            font-size: 13px;
            line-height: 1.5;
            margin-bottom: 20px;
            max-width: 100%;
        }

        .btn-nexus {
            width: 100%;
            gap: 10px;
        }

        .btn-premium {
            flex: 1;
            padding: 12px 5px;
            font-size: 11px;
            text-align: center;
        }

        .carousel-indicators {
            left: 20px;
            bottom: auto;
            top: 49%; 
        }
        
        .premium-hero-slider .carousel-control-next {
            top: 25%;
            right: 15px;
        }
    }
    
    
    
    /*** about section ***/

 
    .onyx-about-section {
        background-color: var(--pure-white);
        font-family: 'Montserrat', sans-serif;
        overflow: hidden;
    }

    
    .studio-media-frame {
        position: relative;
        border-radius: 16px;
        background: var(--bg-light);
        padding: 12px;
        border: 1px solid var(--border-soft);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    }

    .studio-video {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
        display: block;
    }

    
    .studio-stat-badge {
        position: absolute;
        bottom: -25px;
        right: -25px;
        background: var(--pure-white);
        padding: 20px 30px;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        border: 1px solid var(--border-soft);
        text-align: center;
        z-index: 5;
    }

    .studio-stat-badge .stat-num {
        display: block;
        font-size: 32px;
        font-weight: 800;
        color: var(--zica-orange);
        line-height: 1;
        margin-bottom: 4px;
    }

    .studio-stat-badge .stat-lbl {
        display: block;
        font-family: 'Rajdhani', sans-serif;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1.5px;
        color: var(--text-dark);
        line-height: 1.2;
    }

    
    .onyx-serial-code {
        font-family: 'Rajdhani', sans-serif;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 3px;
        color: var(--zima-blue);
        display: block;
        margin-bottom: 12px;
    }

    .onyx-display-h {
        font-weight: 800;
        font-size: clamp(1.8rem, 3.5vw, 2.6rem);
        line-height: 1.2;
        color: var(--text-dark) !important;
        letter-spacing: -0.5px;
    }

    .onyx-display-h .text-outline {
        color: var(--zica-orange);
    }

    .onyx-lead-p {
        font-size: 15px;
        color: var(--text-gray);
        line-height: 1.7;
    }

   
    .studio-feature-stack {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .studio-feature-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
        background: var(--bg-light);
        border-radius: 12px;
        border: 1px solid var(--border-soft);
        transition: all 0.3s ease;
    }

    .studio-feature-item:hover {
        transform: translateY(-2px);
        background: var(--pure-white);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
        border-color: rgba(0, 118, 163, 0.15);
    }

    .studio-feature-item .feat-icon-box {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .studio-feature-item:nth-child(1) .feat-icon-box {
        background: rgba(255, 102, 0, 0.08);
        color: var(--zica-orange);
    }

    .studio-feature-item:nth-child(2) .feat-icon-box {
        background: rgba(0, 118, 163, 0.08);
        color: var(--zima-blue);
    }

    .feat-content .feat-code {
        font-family: 'Rajdhani', sans-serif;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
        color: var(--text-gray);
        display: block;
        margin-bottom: 4px;
    }

    .feat-content h5 {
        font-size: 16px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 6px;
    }

    .feat-content p {
        font-size: 13.5px;
        color: var(--text-gray);
        margin: 0;
        line-height: 1.5;
    }

  
    .onyx-btn-premium {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 15px 35px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-decoration: none;
        color: var(--pure-white);
        background: var(--text-dark);
        border-radius: 50px;
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(17, 19, 24, 0.15);
    }

    .onyx-btn-premium:hover {
        background: var(--zima-blue);
        color: var(--pure-white);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 118, 163, 0.25);
    }

    /* Responsive Clean Breakpoint Layouts */
    @media (max-width: 991px) {
        .studio-stat-badge {
            position: relative;
            bottom: auto;
            right: auto;
            margin-top: 15px;
            display: inline-block;
            text-align: left;
            padding: 15px 25px;
        }
        .studio-stat-badge .stat-num {
            display: inline-block;
            margin-right: 10px;
            margin-bottom: 0;
        }
        .studio-stat-badge .stat-lbl {
            display: inline-block;
            vertical-align: middle;
        }
    }
    
    
/*** why choose us section ***/


    .premium-why-us {
        background-color: var(--studio-dark);
        position: relative;
        overflow: hidden;
        font-family: 'Plus Jakarta Sans', sans-serif;
    }

    /* Studio ambient backlighting */
    .studio-glow {
        position: absolute;
        top: -10%;
        left: 30%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(255, 85, 0, 0.06) 0%, rgba(0, 153, 255, 0.03) 50%, transparent 100%);
        pointer-events: none;
        z-index: 1;
    }

    .scanline-effect {
        position: absolute;
        inset: 0;
        background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.01), rgba(0, 255, 0, 0.005), rgba(0, 0, 255, 0.01));
        background-size: 100% 4px, 6px 100%;
        pointer-events: none;
        opacity: 0.4;
        z-index: 1;
    }

    .text-orange { color: var(--accent-orange); }
    .text-blue { color: var(--accent-blue); }
    
    .ls-10 {
        letter-spacing: 3px;
        font-size: 11px;
    }

    .text-outline {
        color: transparent;
        -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.2);
    }

    /* --- STUDIO 4-COLUMN GRID CONFIGURATION --- */
    .studio-grid {
        border: 1px solid var(--border-glass);
        background: rgba(255, 255, 255, 0.01);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 20px;
        overflow: hidden;
        z-index: 2;
        position: relative;
    }

    .studio-feature-card {
        position: relative;
        height: 100%;
        padding: 45px 35px;
        background: transparent;
        border-right: 1px solid var(--border-glass);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* Remove right border on the last column for desktop layouts */
    @media (min-width: 992px) {
        .studio-grid .col-lg-3:last-child .studio-feature-card {
            border-right: none;
        }
    }
    
    @media (max-width: 991.98px) {
        .studio-feature-card {
            border-right: none;
            border-bottom: 1px solid var(--border-glass);
        }
        .studio-grid .col-md-6:last-child .studio-feature-card,
        .studio-grid .col-md-6:nth-last-child(2) .studio-feature-card {
            border-bottom: none;
        }
    }

    .card-num {
        position: absolute;
        top: 30px;
        right: 35px;
        font-size: 14px;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.07);
        font-family: monospace;
        letter-spacing: 1px;
    }

    .card-inner {
        position: relative;
        z-index: 3;
        pointer-events: none; /* Allows mouse move tracking directly to parent card smoothly */
        margin-bottom: 30px;
    }

    .vfx-icon-wrap {
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #ffffff;
        margin-bottom: 30px;
        transition: all 0.3s ease;
    }

    .studio-feature-card h3 {
        font-size: 19px;
        font-weight: 700;
        color: var(--text-light);
        margin-bottom: 14px;
        letter-spacing: -0.3px;
    }

    .studio-feature-card p {
        font-size: 13.5px;
        color: var(--text-muted);
        line-height: 1.65;
        margin-bottom: 25px;
        min-height: 66px;
    }

    .feature-specs {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .feature-specs li {
        font-size: 12px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }
    
    .feature-specs li i {
        font-size: 11px;
        width: 16px;
    }

    /* --- PREMIUM ACTIONS ACTION LINK BUTTONS --- */
    .card-action-box {
        position: relative;
        z-index: 3;
    }

    .btn-card-premium {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #ffffff !important;
        text-decoration: none;
        padding: 10px 0;
        transition: color 0.3s ease;
    }

    .btn-card-premium i {
        font-size: 11px;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        color: var(--accent-orange);
    }

    .studio-feature-card.blue-intent .btn-card-premium i {
        color: var(--accent-blue);
    }

    /* Hover States triggered by outer component wrapping context */
    .studio-feature-card:hover .btn-card-premium {
        color: var(--accent-orange) !important;
    }
    .studio-feature-card.blue-intent:hover .btn-card-premium {
        color: var(--accent-blue) !important;
    }

    .studio-feature-card:hover .btn-card-premium i {
        transform: translateX(6px);
    }

    /* --- INTERACTIVE MATTE HOVER LAYER & SPARKLE CANVAS --- */
    .card-sparkle-canvas {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 2;
        opacity: 0;
        transition: opacity 0.4s ease;
        background: radial-gradient(80px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 85, 0, 0.15), transparent 80%),
                    radial-gradient(300px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 153, 255, 0.04), transparent 60%);
    }

    .studio-feature-card:hover {
        background: rgba(15, 23, 42, 0.25);
    }

    .studio-feature-card:hover .card-sparkle-canvas {
        opacity: 1;
    }

    .studio-feature-card:hover .vfx-icon-wrap {
        color: var(--accent-orange);
        background: rgba(255, 85, 0, 0.08);
        border-color: rgba(255, 85, 0, 0.2);
        transform: scale(1.05);
    }
    
    .studio-feature-card.blue-intent:hover .vfx-icon-wrap {
        color: var(--accent-blue);
        background: rgba(0, 153, 255, 0.08);
        border-color: rgba(0, 153, 255, 0.2);
        transform: scale(1.05);
    }
    
    .studio-feature-card.blue-intent .card-sparkle-canvas {
        background: radial-gradient(80px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 153, 255, 0.18), transparent 80%),
                    radial-gradient(300px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 85, 0, 0.03), transparent 60%);
    }


/*** zica nfo ***/

  

    .premium-why-us-section {
        background-color: var(--pure-white);
        font-family: 'Montserrat', sans-serif;
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    /* Ambient VFX Background Canvas */
    .vfx-ambient-engine {
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 1;
    }

    .ambient-glow-path {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.08;
        mix-blend-mode: multiply;
        animation: smoothFloat 14s infinite alternate ease-in-out;
    }
    .ambient-glow-path.p1 {
        top: 15%;
        right: 35%;
        width: 350px;
        height: 350px;
        background: var(--zica-orange);
    }
    .ambient-glow-path.p2 {
        bottom: 10%;
        right: 10%;
        width: 450px;
        height: 450px;
        background: var(--zima-blue);
        animation-delay: -5s;
    }

    .floating-micro-node {
        position: absolute;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        opacity: 0.5;
        animation: verticalDrift 10s infinite linear;
    }
    .floating-micro-node.n1 { background: var(--zica-orange); top: 30%; right: 48%; }
    .floating-micro-node.n2 { background: var(--purple-accent); bottom: 25%; right: 18%; animation-duration: 14s; }

    .content-z-layer {
        position: relative;
        z-index: 2;
    }

    /* Left Copy Area Typography */
    .hub-tagline {
        font-family: 'Rajdhani', sans-serif;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 4px;
        color: var(--zica-orange);
        text-transform: uppercase;
        margin-bottom: 14px;
        display: block;
    }

    .hub-main-title {
        font-weight: 800;
        font-size: clamp(2.2rem, 4vw, 3.2rem);
        color: var(--text-dark);
        line-height: 1.15;
        letter-spacing: -0.8px;
        margin-bottom: 24px;
    }

    .hub-main-title span {
        color: var(--zica-orange);
    }

    .hub-desc-p {
        font-size: 15px;
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: 35px;
    }

    /* Quick Feature Verification Badges */
    .verification-badge-card {
        display: flex;
        align-items: center;
        gap: 14px;
        background: #f8fafc;
        border: 1px solid var(--ui-border);
        padding: 16px 24px;
        border-radius: 14px;
        max-width: 420px;
        margin-bottom: 14px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .verification-badge-card:hover {
        transform: translateX(6px);
        background: var(--pure-white);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    }

    .verification-badge-card i {
        color: var(--zica-orange);
        font-size: 18px;
    }

    .verification-badge-card span {
        font-size: 14px;
        font-weight: 700;
        color: var(--text-dark);
        letter-spacing: -0.1px;
    }

    /* Right Framework Editorial Asymmetric Grid */
    .editorial-cyber-panel {
        background: var(--pure-white);
        border: 1px solid var(--ui-border);
        border-radius: 24px;
        padding: 45px 40px;
        box-shadow: var(--premium-shadow);
        position: relative;
        overflow: hidden;
        height: 100%;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Typographic Low-Opacity Brand Backdrops */
    .brand-editorial-watermark {
        position: absolute;
        top: 25px;
        right: 35px;
        font-size: 85px;
        font-weight: 800;
        letter-spacing: -3px;
        line-height: 1;
        pointer-events: none;
        user-select: none;
        opacity: 0.03;
        transition: all 0.4s ease;
    }
    .panel-zica .brand-editorial-watermark { color: var(--zica-orange); }
    .panel-zima .brand-editorial-watermark { color: var(--zima-blue); }
    .panel-purple .brand-editorial-watermark { color: var(--purple-accent); }

    /* Upper-Right Corner Check Status Badges */
    .corner-status-badge {
        position: absolute;
        top: 45px;
        right: 40px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        color: var(--pure-white);
        z-index: 3;
    }
    .panel-zica .corner-status-badge { background: var(--zica-orange); }
    .panel-zima .corner-status-badge { background: var(--zima-blue); }
    .panel-purple .corner-status-badge { background: var(--purple-accent); }

    /* Clean Styled Icon Containers */
    .panel-icon-shield {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        margin-bottom: 28px;
    }
    .panel-zica .panel-icon-shield { background: rgba(255, 102, 0, 0.07); color: var(--zica-orange); }
    .panel-zima .panel-icon-shield { background: rgba(0, 118, 163, 0.07); color: var(--zima-blue); }
    .panel-purple .panel-icon-shield { background: rgba(147, 51, 234, 0.07); color: var(--purple-accent); }

    .editorial-cyber-panel h4 {
        font-size: 20px;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 14px;
        letter-spacing: -0.3px;
    }

    .editorial-cyber-panel p {
        font-size: 14px;
        color: var(--text-muted);
        line-height: 1.65;
        margin: 0;
    }

    /* Hardware Accelerated Micro Interactions */
    .editorial-cyber-panel:hover {
        transform: translateY(-6px);
        box-shadow: 0 35px 70px rgba(15, 23, 42, 0.07);
    }
    .panel-zica:hover { border-color: rgba(255, 102, 0, 0.2); }
    .panel-zima:hover { border-color: rgba(0, 118, 163, 0.2); }
    .panel-purple:hover { border-color: rgba(147, 51, 234, 0.2); }

    .editorial-cyber-panel:hover .brand-editorial-watermark {
        opacity: 0.08;
        transform: scale(1.05) translateX(-5px);
    }

    /* Core Dynamic Keyframe Mechanics */
    @keyframes smoothFloat {
        0% { transform: translateY(0) scale(1); }
        100% { transform: translateY(-30px) scale(1.08); }
    }
    @keyframes verticalDrift {
        0% { transform: translateY(0); opacity: 0.5; }
        50% { opacity: 0.15; }
        100% { transform: translateY(-80px); opacity: 0; }
    }

    /* Desktop Asymmetric Stagger Spacing Offset Alignment */
    @media (min-width: 992px) {
        .stagger-down-alignment {
            margin-top: 35px;
        }
    }

/*** gallery section ***/
  
.bg-dark-slate {
    background-color: #0a0c10 !important;
}
.text-orange-neon {
    color: #ff5e3a;
    font-weight: 600;
    letter-spacing: 1px;
}
.tracking-widest {
    letter-spacing: 3px;
}
.max-w-400 {
    max-width: 400px;
}
.premium-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}
.glow-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #ff5e3a;
}
.glow-2 {
    bottom: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: #00f2fe;
}

/* Premium Typography Elements */
.onyx-line {
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: #ff5e3a;
}
.text-outline-premium {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* Card Geometry Configuration */
.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #121620;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.premium-tall { height: 560px; }
.premium-square { height: 268px; }
.premium-wide { height: 268px; }

@media (max-width: 991px) {
    .premium-tall, .premium-square, .premium-wide { height: 380px; }
}

/* Img Scaling and Animations */
.portfolio-card .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.portfolio-card .portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.portfolio-card .img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 12, 16, 0.95) 0%, rgba(10, 12, 16, 0.4) 50%, rgba(10, 12, 16, 0) 100%);
    transition: background 0.4s ease;
}

/* Dynamic Content Information Overlays */
.portfolio-content-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    transform: translateY(10px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.portfolio-content-wrap.compact {
    padding: 20px;
}

/* Custom UI Badges */
.onyx-badge {
    background: rgba(255, 94, 58, 0.15);
    color: #ff5e3a;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 4px;
    border: 1px solid rgba(255, 94, 58, 0.25);
    display: inline-block;
}
.onyx-badge.badge-alt {
    background: rgba(255, 255, 255, 0.07);
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.15);
}

/* Hover States & Micro-interactions */
.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 94, 58, 0.05);
    border-color: rgba(255, 94, 58, 0.3);
}
.portfolio-card:hover .portfolio-img {
    transform: scale(1.08);
}
.portfolio-card:hover .img-overlay {
    background: linear-gradient(to top, rgba(10, 12, 16, 0.98) 0%, rgba(10, 12, 16, 0.6) 60%, rgba(10, 12, 16, 0.1) 100%);
}
.portfolio-card:hover .portfolio-content-wrap {
    transform: translateY(0);
}

/* Premium Navigation Button Styles */
.btn-premium-gallery {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 6px 6px 24px;
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}
.btn-premium-gallery .btn-icon-box {
    width: 40px;
    height: 40px;
    background: #ffffff;
    color: #0a0c10;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    transition: all 0.4s ease;
}
.btn-premium-gallery:hover {
    color: #ff5e3a;
    border-color: rgba(255, 94, 58, 0.5);
    background: rgba(255, 255, 255, 0.02);
}
.btn-premium-gallery:hover .btn-icon-box {
    background: #ff5e3a;
    color: #ffffff;
    transform: translateX(4px);
}
    
    
/*** acadmic ***/


/* -- Section Architecture Layout Refinements -- */
.academy-explorer-section {
    background-color: #f8fafc;
    transition: var(--transition-theme);
    z-index: 1;
}

#particleCanvas {
    mix-blend-mode: multiply;
}

/* Dynamic Gradient Foundations */
.dynamic-glow-canvas {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    transition: var(--transition-theme);
}
.theme-zima-active .dynamic-glow-canvas {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.09) 0%, rgba(255, 255, 255, 0) 100__);
}
.theme-zica-active .dynamic-glow-canvas {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(255, 255, 255, 0) 100__);
}

/* Fluid Atmosphere Vectors */
.glow-orb {
    width: 550px;
    height: 550px;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.65;
    transition: var(--transition-theme);
}
.orb-1 { top: -8%; start: -8%; }
.orb-2 { bottom: -8%; end: 4%; }

.theme-zima-active .orb-1 { background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, transparent 70%); }
.theme-zima-active .orb-2 { background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%); }
.theme-zica-active .orb-1 { background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%); }
.theme-zica-active .orb-2 { background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%); }

/* -- Component Text Architecture -- */
.text-primary { color: var(--blue-zima) !important; }
.text-orange { color: var(--orange-zica) !important; }
.fw-black { font-weight: 900; }
.fw-extrabold { font-weight: 800; }
.tracking-wider { letter-spacing: 0.06em; }
.tracking-tight { letter-spacing: -0.02em; }
.card-index { font-family: monospace; font-size: 0.8rem; font-weight: bold; }

/* -- Modular Structural Containers -- */
.academy-badge {
    display: inline-block;
    background: #ffffff;
    color: #1e293b;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.academy-workspace-card {
    box-shadow: 0 35px 80px rgba(15, 23, 42, 0.05) !important;
}
.workspace-body {
    background-color: #fafbfc;
}

/* Controls Spacing Refinements */
.premium-nav-switch {
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.academy-tab-btn {
    color: #64748b;
    background: transparent;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dot-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.dot-zima { background-color: var(--blue-zima); }
.dot-zica { background-color: var(--orange-zica); }

.academy-tab-btn.active {
    color: #000000 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Action Trigger Component */
.btn-premium-action {
    background: #0f172a;
    color: #ffffff;
    font-size: 0.85rem;
    border: 1px solid #0f172a;
    transition: all 0.3s ease;
}
.theme-zima-active .btn-premium-action:hover { background: var(--blue-zima); border-color: var(--blue-zima); }
.theme-zica-active .btn-premium-action:hover { background: var(--orange-zica); border-color: var(--orange-zica); }
.btn-premium-action:hover svg { transform: translateX(4px); }

/* -- Program Card Custom Adjustments -- */
.program-luxury-card {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.program-luxury-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0px;
    border-radius: 1rem 0 0 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.program-luxury-card.card-zima::before { background-color: var(--blue-zima); }
.program-luxury-card.card-zica::before { background-color: var(--orange-zica); }

.program-luxury-card:hover {
    transform: translateY(-6px);
    border-color: transparent !important;
}
.program-luxury-card.card-zima:hover { box-shadow: 0 25px 45px rgba(14, 165, 233, 0.12); }
.program-luxury-card.card-zica:hover { box-shadow: 0 25px 45px rgba(249, 115, 22, 0.12); }
.program-luxury-card:hover::before { width: 5px; }

.btn-card-action {
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}
.btn-card-action .icon-move { transition: transform 0.3s ease; }
.btn-card-action:hover .icon-move { transform: translateX(4px); }

.program-luxury-card.card-zima:hover .btn-card-action { background: var(--blue-zima); color: #ffffff; border-color: var(--blue-zima); }
.program-luxury-card.card-zica:hover .btn-card-action { background: var(--orange-zica); color: #ffffff; border-color: var(--orange-zica); }

/* Custom Category Micro Badges */
.custom-badge { font-size: 0.72rem; letter-spacing: 0.02em; }
.badge-zima { background: rgba(14, 165, 233, 0.1); color: #0284c7; }
.badge-cinema { background: rgba(234, 179, 8, 0.12); color: #a16207; }
.badge-artistry { background: rgba(239, 68, 68, 0.1); color: #b91c1c; }
.badge-interactive { background: rgba(34, 197, 94, 0.1); color: #15803d; }
.badge-cgi { background: rgba(6, 182, 212, 0.1); color: #0369a1; }
.badge-design { background: rgba(139, 92, 246, 0.1); color: #6d28d9; }

/* Structural Keyframe Switch Engine Layout states */
.transition-transform { transition: transform 0.3s ease; }
@keyframes studioFadeSlideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.academy-panel { display: none !important; }
.academy-panel.active { display: block !important; animation: studioFadeSlideUp 0.45s ease forwards; }

@media (max-width: 767px) {
    .premium-nav-switch { width: 100%; justify-content: center; }
    .academy-tab-btn { flex: 1; text-align: center; justify-content: center; }
}


/*** legends section***/
.premium-editorial-showcase {
    --hairline-color: rgba(0, 0, 0, 0.07);
    --font-slate: #475569;
}
.inset-0 { top: 0; left: 0; right: 0; bottom: 0; }

/* Micro-Typography Core */
.tracking-tight { letter-spacing: -0.03em; }
.tracking-wider { letter-spacing: 0.08em; }
.font-serif { font-family: "Playfair Display", Georgia, serif; }
.font-monospace { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; }
.badge-role { font-size: 0.72rem; }
.fw-black { font-weight: 850; }
.editorial-quote-mark { font-size: 4rem; line-height: 0; height: 1.5rem; }

/* Fixed Core Aspect Boxes */
.hero-image-wrapper { width: 100%; aspect-ratio: 16 / 9; }
.thumb-frame { width: 100px; height: 100px; }
.editorial-img { 
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    filter: grayscale(100%);
}

/* ==========================================================================
   DYNAMIC BACKGROUND ANIMATION MOTOR (BLUE & ORANGE CIRCLES + SQUARES)
   ========================================================================== */
.studio-fx-canvas {
    mix-blend-mode: multiply;
    filter: contrast(1.1);
}

/* Fluid Glowing Gradient Circles */
.fx-fluid-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12; /* Kept highly transparent to protect text readability */
    mix-blend-mode: multiply;
    will-change: transform;
}
.orb-cyan {
    width: 350px;
    height: 350px;
    background: #0284c7; /* Luxury Blue */
    top: -5%;
    left: 10%;
    animation: driftSlowly 18s infinite alternate ease-in-out;
}
.orb-orange {
    width: 400px;
    height: 400px;
    background: #ea580c; /* Luxury Deep Orange */
    bottom: -10%;
    right: 5%;
    animation: driftSlowly 22s infinite alternate-reverse ease-in-out;
}

/* Sharp Moving Linear Tech Squares */
.fx-moving-square {
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.03);
    background: rgba(0, 0, 0, 0.005);
    will-change: transform;
}
.square-alpha {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 15%;
    animation: floatSquare 14s infinite linear;
}
.square-beta {
    width: 110px;
    height: 110px;
    bottom: 30%;
    left: 5%;
    animation: floatSquareInverse 20s infinite linear;
}

/* Background Translation Vectors */
@keyframes driftSlowly {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.15); }
    100% { transform: translate(-20px, 50px) scale(0.9); }
}
@keyframes floatSquare {
    0% { transform: rotate(0deg) translate(0, 0); }
    50% { transform: rotate(180deg) translate(15px, -25px); }
    100% { transform: rotate(360deg) translate(0, 0); }
}
@keyframes floatSquareInverse {
    0% { transform: rotate(360deg) translate(0, 0); }
    50% { transform: rotate(180deg) translate(-20px, 15px); }
    100% { transform: rotate(0deg) translate(0, 0); }
}

/* ==========================================================================
   CARD ARCHITECTURE & HOVER EFFECT TRIGGERS
   ========================================================================== */
.editorial-hero-card,
.editorial-row-card {
    border-color: var(--hairline-color) !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px); /* Makes card glass contrast beautifully over the back orbs */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Luxury Interactive Focus Changes */
.editorial-hero-card:hover,
.editorial-row-card:hover {
    border-color: #000000 !important;
    background-color: #ffffff !important; /* hardens to full solid color */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

/* Image Reveal Interaction mechanics */
.editorial-hero-card:hover .editorial-img,
.editorial-row-card:hover .editorial-img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.text-link-premium {
    color: var(--font-slate);
    font-size: 0.7rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}
.text-link-premium:hover { color: #000000; opacity: 1; }




/* -- Branding Color Engine -- */


/* -- Section Architecture Layout Refinements -- */
.academy-explorer-section {
    background-color: #f8fafc;
    transition: var(--transition-theme);
    z-index: 1;
}

#particleCanvas {
    mix-blend-mode: multiply;
}

/* Dynamic Gradient Foundations */
.dynamic-glow-canvas {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    transition: var(--transition-theme);
}
.theme-zima-active .dynamic-glow-canvas {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.09) 0%, rgba(255, 255, 255, 0) 100__);
}
.theme-zica-active .dynamic-glow-canvas {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(255, 255, 255, 0) 100__);
}

/* Fluid Atmosphere Vectors */
.glow-orb {
    width: 550px;
    height: 550px;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.65;
    transition: var(--transition-theme);
}
.orb-1 { top: -8%; start: -8%; }
.orb-2 { bottom: -8%; end: 4%; }

.theme-zima-active .orb-1 { background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, transparent 70%); }
.theme-zima-active .orb-2 { background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%); }
.theme-zica-active .orb-1 { background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%); }
.theme-zica-active .orb-2 { background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%); }

/* -- Component Text Architecture -- */
.text-primary { color: var(--blue-zima) !important; }
.text-orange { color: var(--orange-zica) !important; }
.fw-black { font-weight: 900; }
.fw-extrabold { font-weight: 800; }
.tracking-wider { letter-spacing: 0.06em; }
.tracking-tight { letter-spacing: -0.02em; }
.card-index { font-family: monospace; font-size: 0.8rem; font-weight: bold; }

/* -- Modular Structural Containers -- */
.academy-badge {
    display: inline-block;
    background: #ffffff;
    color: #1e293b;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.academy-workspace-card {
    box-shadow: 0 35px 80px rgba(15, 23, 42, 0.05) !important;
}
.workspace-body {
    background-color: #fafbfc;
}

/* Controls Spacing Refinements */
.premium-nav-switch {
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.academy-tab-btn {
    color: #64748b;
    background: transparent;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dot-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}
.dot-zima { background-color: var(--blue-zima); }
.dot-zica { background-color: var(--orange-zica); }

.academy-tab-btn.active {
    color: #000000 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Action Trigger Main Premium Button Configuration */
.btn-premium-action {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Color adaptabilities based on parent layout themes */
.theme-zima-active .btn-premium-action {
    background: var(--blue-zima);
    color: #ffffff;
    border: 1px solid var(--blue-zima);
}
.theme-zima-active .btn-premium-action:hover {
    background: #0284c7;
    border-color: #0284c7;
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.3);
    transform: translateY(-2px);
}

.theme-zica-active .btn-premium-action {
    background: var(--orange-zica);
    color: #ffffff;
    border: 1px solid var(--orange-zica);
}
.theme-zica-active .btn-premium-action:hover {
    background: #ea580c;
    border-color: #ea580c;
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.3);
    transform: translateY(-2px);
}

.btn-premium-action:hover svg { 
    transform: translateX(6px); 
}

/* -- Program Card Custom Adjustments -- */
.program-luxury-card {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.program-luxury-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 0px;
    border-radius: 1rem 0 0 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.program-luxury-card.card-zima::before { background-color: var(--blue-zima); }
.program-luxury-card.card-zica::before { background-color: var(--orange-zica); }

.program-luxury-card:hover {
    transform: translateY(-6px);
    border-color: transparent !important;
}
.program-luxury-card.card-zima:hover { box-shadow: 0 25px 45px rgba(14, 165, 233, 0.12); }
.program-luxury-card.card-zica:hover { box-shadow: 0 25px 45px rgba(249, 115, 22, 0.12); }
.program-luxury-card:hover::before { width: 5px; }

.btn-card-action {
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}
.btn-card-action .icon-move { transition: transform 0.3s ease; }
.btn-card-action:hover .icon-move { transform: translateX(4px); }

.program-luxury-card.card-zima:hover .btn-card-action { background: var(--blue-zima); color: #ffffff; border-color: var(--blue-zima); }
.program-luxury-card.card-zica:hover .btn-card-action { background: var(--orange-zica); color: #ffffff; border-color: var(--orange-zica); }

/* Custom Category Micro Badges */
.custom-badge { font-size: 0.72rem; letter-spacing: 0.02em; }
.badge-zima { background: rgba(14, 165, 233, 0.1); color: #0284c7; }
.badge-cinema { background: rgba(234, 179, 8, 0.12); color: #a16207; }
.badge-artistry { background: rgba(239, 68, 68, 0.1); color: #b91c1c; }
.badge-interactive { background: rgba(34, 197, 94, 0.1); color: #15803d; }
.badge-cgi { background: rgba(6, 182, 212, 0.1); color: #0369a1; }
.badge-design { background: rgba(139, 92, 246, 0.1); color: #6d28d9; }

/* Structural Keyframe Switch Engine Layout states */
.transition-transform { transition: transform 0.3s ease; }
@keyframes studioFadeSlideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.academy-panel { display: none !important; }
.academy-panel.active { display: block !important; animation: studioFadeSlideUp 0.45s ease forwards; }

@media (max-width: 767px) {
    .premium-nav-switch { width: 100%; justify-content: center; }
    .academy-tab-btn { flex: 1; text-align: center; justify-content: center; }
}



/* PREMIUM CUSTOM VARIABLES */
:root {
    --bg-overlay: rgba(6, 8, 14, 0.85);
    --card-bg: #0d111a;
    
    /* Dynamic Global Fallback Accents */
    --accent-brand: #00ffb3;
    --accent-brand-gradient: #00e1ff;
    --text-brand-btn: #07090f;
    
    /* Precise Brand Hex Codes */
    --zica-orange: #ff6a00;
    --zica-orange-grad: #ee0979;
    --zima-blue: #0052d4;
    --zima-blue-grad: #4364f7;
    
    --text-main: #f8fafc;
    --text-muted: #64748b;
    --input-bg: rgba(18, 24, 38, 0.8);
    --border-color: rgba(255, 255, 255, 0.06);
    --radius-lg: 16px;
    --radius-md: 10px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* THEME SPECIFIC CLASSES */
.popup-card.theme-zica {
    --accent-brand: var(--zica-orange);
    --accent-brand-gradient: var(--zica-orange-grad);
    --text-brand-btn: #ffffff;
}

.popup-card.theme-zima {
    --accent-brand: var(--zima-blue);
    --accent-brand-gradient: var(--zima-blue-grad);
    --text-brand-btn: #ffffff;
}

/* OVERLAY BLUR */
.popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 16px;
    box-sizing: border-box;
}

.popup-overlay[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

/* SLEEK, COMPACT MODAL CARD */
.popup-card {
    background: var(--card-bg);
    width: 100%;
    max-width: 800px; /* Reduced to look cleaner and less bulky */
    max-height: calc(100vh - 32px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    font-family: var(--font-sans);
    position: relative;
    overflow: hidden;
    transform: scale(0.97) translateY(8px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-overlay[aria-hidden="false"] .popup-card {
    transform: scale(1) translateY(0);
}

/* GRID SETUP */
.popup-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    max-height: calc(100vh - 32px);
}

@media (max-width: 768px) {
    .popup-grid {
        grid-template-columns: 1fr;
    }
    .popup-image {
        display: none;
    }
}

/* LEFT DESIGN FRAME */
.popup-image {
    position: relative;
    background: #090d14;
    overflow: hidden;
    height: 100%;
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay-gradient {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(9, 13, 20, 0) 40%, var(--card-bg) 100%);
}

/* SCROLLABLE SCENE CONTENT */
.popup-content-wrapper form {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 32px);
}

.popup-scrollable-body {
    padding: 30px 35px 15px 35px; /* Neater Padding */
    overflow-y: auto;
    flex-grow: 1;
}

.popup-scrollable-body::-webkit-scrollbar {
    width: 5px;
}
.popup-scrollable-body::-webkit-scrollbar-track {
    background: transparent;
}
.popup-scrollable-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}
.popup-scrollable-body::-webkit-scrollbar-thumb:hover {
    background: var(--accent-brand);
}

/* RE-TIRED FOOTER AREA */
.popup-fixed-footer {
    padding: 15px 35px 25px 35px;
    background: var(--card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

@media (max-width: 480px) {
    .popup-scrollable-body { padding: 25px 20px 10px 20px; }
    .popup-fixed-footer { padding: 10px 20px 20px 20px; }
}

/* TYPOGRAPHY */
.popup-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent-brand);
    margin-bottom: 6px;
    display: inline-block;
    transition: color 0.3s ease;
}

.popup-title {
    font-size: 1.45rem; /* Reduced to look high-end and tight */
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.popup-copy {
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0 0 20px 0;
}

/* ELEGANT INPUT FIELDS */
.ony-field {
    margin-bottom: 14px;
}

.ony-field label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.ony-field input,
.ony-field select {
    width: 100%;
    box-sizing: border-box;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: var(--text-main);
    font-size: 0.85rem;
    font-family: var(--font-sans);
    outline: none;
    transition: all 0.2s ease;
}

.ony-field input:focus,
.ony-field select:focus:not(:disabled) {
    border-color: var(--accent-brand);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.03);
}

.ony-field:focus-within label {
    color: var(--accent-brand);
}

.ony-field select:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* CONSOLE CONTROL BUTTONS */
.popup-btn-group {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 10px;
}

@media (max-width: 480px) {
    .popup-btn-group { grid-template-columns: 1fr; }
}

.onyx-submit-btn {
    position: relative;
    background: linear-gradient(135deg, var(--accent-brand), var(--accent-brand-gradient));
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 18px;
    color: var(--text-brand-btn);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.onyx-submit-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.btn-icon {
    width: 13px;
    height: 13px;
}

.onyx-submit-btn.secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.onyx-submit-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    transform: none;
}

/* SYSTEM CLOSE ACTION ICON */
.popup-close {
    position: absolute;
    top: 16px; right: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 100;
    transition: color 0.2s ease;
}

.popup-close:hover {
    color: var(--text-main);
}

.popup-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin: 10px 0 0 0;
}

/* IMAGE-ONLY VARIANT CONTAINER */
.image-popup-card {
    max-width: 842px;
    width: 100%;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 35px 70px rgba(0,0,0,0.8);
}

.image-popup-card img {
    width: 100%;
    height: auto;
    display: block;
}
/* FIX: Ensures dropdown options have high contrast and are completely visible */
.ony-field select option {
    background-color: #0d111a; /* Matches your --card-bg */
    color: #f8fafc;            /* Matches your --text-main */
}

/* Optional: Styles the disabled placeholder option to look muted */
.ony-field select option:disabled {
    color: #64748b;            /* Matches your --text-muted */
}


