:root {
    --bg-dark: #07090d;
    --text-main: #ffffff;
    --text-muted: #8e9bb0;
    --accent-blue: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.5);
    --glass-bg: rgba(20, 25, 35, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --theme-hue: 0deg;
    
    /* Typography */
    --heading-font: 'Inter', sans-serif;
    --body-font: 'Poppins', sans-serif;
}

@keyframes float-pulse {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(3vw, 3vh); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--body-font);
    -webkit-font-smoothing: antialiased;
}

html, body {
    overflow-x: hidden;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
   background-color: var(--bg-dark);
  color: var(--text-main);

  overflow-x: hidden;

  min-height: 100vh;
  min-height: 100dvh;

  width: 100%;

  touch-action: pan-y;

  transition: background-color 0.8s ease;
}
.why-irit-section {
  transform-style: preserve-3d !important;
  perspective: 1400px;
}

.why-cylinder,
.wc-wrap,
.wc-card,
.wc-inner {
  transform-style: preserve-3d !important;
}
#who-conveyor {
  perspective: 1400px;
  perspective-origin: center center;
}
#who-conveyor .card.active {
  transform: scale(1.1) !important;
  z-index: 10;
}
/* ===== PROGRAMS SECTION FIX ===== */

.programs-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    overflow: hidden;
}

/* Background fix */
.programs-laser-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 0;
    pointer-events: none;
}

/* Keep content above background */
.programs-header,
.programs-grid {
    position: relative;
    z-index: 2;
}

/* Grid alignment fix */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: stretch;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Wrapper fix (important for Antigravity transforms) */
.program-card-wrapper {
    width: 100%;
    transform: none !important;
}

/* Card consistency */
.program-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Extra safety (fix weird 3D issues) */
#programs {
    transform: none !important;
    perspective: none !important;
}
.hero-container {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    height: auto;
    display: flex;
    flex-direction: column;
    perspective: 1000px;
    overflow: hidden;
}

.background-tint {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, var(--accent-glow) 0%, transparent 60%);
    z-index: 12;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: ambient-pulse 8s ease-in-out infinite;
    transition: background 0.8s ease;
}

@keyframes ambient-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
    filter: saturate(0.8) contrast(1.1) brightness(0.8);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px; /* h-40 approx */
    background: linear-gradient(to top, var(--bg-dark) 0%, transparent 100%);
    z-index: 5;
}

#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Infinite Cyber Grid */
.cyber-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center bottom;
    transform-origin: center bottom;
    transform: perspective(600px) rotateX(60deg) scale(2);
    z-index: 6;
    pointer-events: none;
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 60%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 60%);
    animation: grid-scroll 3s linear infinite;
    filter: hue-rotate(var(--theme-hue));
}

@keyframes grid-scroll {
    from { background-position: center 0; }
    to { background-position: center 50px; }
}

/* Depth of Field & Ambient Lighting */
.glow-blue {
    position: absolute;
    top: 20%;
    left: 5%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(80px);
    transition: background 0.8s ease;
    z-index: 2;
    pointer-events: none;
    animation: float-pulse 10s ease-in-out infinite;
}
.glow-cyan {
    position: absolute;
    bottom: 10%;
    right: 15%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    filter: blur(90px);
    transition: background 0.8s ease;
    z-index: 2;
    pointer-events: none;
    animation: float-pulse 12s ease-in-out infinite reverse;
}

/* 
 * ==========================================
 * HERO SOCIALS (FLOATING BAR)
 * ==========================================
 */
.hero-socials {
    position: absolute;
    right: 1.5%;
    top: 52%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    z-index: 100;
    padding-right: 10px;
    perspective: 1000px; /* Enable 3D depth */
}

.social-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(12px); /* Increased blur for more style */
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(255,255,255,0.05);
}

.social-icon:hover {
    transform: scale(1.15) translateX(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Individual Reactive Glows */
.social-icon[aria-label="Instagram"]:hover {
    box-shadow: 0 0 25px rgba(228, 64, 95, 0.4), inset 0 0 15px rgba(228, 64, 95, 0.2);
    color: #e4405f;
    border-color: #e4405f;
}

.social-icon[aria-label="Email"]:hover {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4), inset 0 0 15px rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border-color: #3b82f6;
}

.social-icon[aria-label="Call"]:hover {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4), inset 0 0 15px rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-color: #10b981;
}

.social-icon[aria-label="Location"]:hover {
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4), inset 0 0 15px rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border-color: #00d4ff;
}

.social-line {
    width: 2px;
    height: 100px;
    background: linear-gradient(to top, var(--accent-blue) 0%, transparent 100%);
    opacity: 0.4;
    margin-bottom: 5px;
    box-shadow: 0 0 10px var(--accent-glow);
}

@media (max-width: 1024px) {
    .hero-socials {
        right: 10px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 15px;
        padding-right: 5px;
    }
    .social-line {
        display: block;
        height: 60px;
        margin-bottom: 2px;
    }
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}

/* Cosmic Nebulae */
.nebula {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    filter: blur(100px);
    mix-blend-mode: screen;
    opacity: 0.4;
    transition: background 1.5s ease;
}
.nebula-1 {
    top: -10%;
    right: -20%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation: nebula-drift 40s linear infinite alternate;
}
.nebula-2 {
    bottom: -15%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation: nebula-drift 55s linear infinite alternate-reverse;
}

@keyframes nebula-drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, 5vh) scale(1.1); }
}
.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.03"/%3E%3C/svg%3E');
    pointer-events: none;
    z-index: 1;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 6%;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    transition: transform 0.3s ease;
}

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

.sidebar .logo-img {
    height: 100px; /* Increased for sidebar presence */
}


.menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end; /* Align bars to the right */
    gap: 8px;
    cursor: pointer;
    z-index: 100;
    width: 60px;
    height: 60px;
    padding: 0;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%; /* Circular background */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.menu-btn .bar {
    height: 2px;
    background: #fff;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

/* Staggered lengths for futuristic feel */
.menu-btn .bar:nth-child(1) { width: 32px; margin-right: 14px; }
.menu-btn .bar:nth-child(2) { width: 22px; margin-right: 14px; }
.menu-btn .bar:nth-child(3) { width: 28px; margin-right: 14px; }

.menu-btn:hover {
    background: rgba(0, 212, 255, 0.08); /* Faint blue tint */
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.2);
    transform: rotate(90deg); /* Modern subtle rotation */
}

.menu-btn:hover .bar {
    background: var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-blue);
}

.menu-btn:hover .bar:nth-child(1) { width: 28px; }
.menu-btn:hover .bar:nth-child(2) { width: 32px; }
.menu-btn:hover .bar:nth-child(3) { width: 22px; }


/* Sidebar Navigation */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 1100; /* Elevated above Header (1000) */
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background: rgba(10, 15, 25, 0.98); /* Deepened for cinematic contrast */
    backdrop-filter: blur(40px); /* Increased blur depth */
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1200; /* Master Layer Priority */
    transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1); /* Slower, high-end quintic easing */
    display: flex;
    flex-direction: column;
    padding: 3rem 2.5rem;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.4);
}

body.sidebar-active .sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

body.sidebar-active .sidebar {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.close-btn {
    font-size: 2.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    position: relative; /* Established stacking context */
    z-index: 100 !important; /* Forces button above logo/header layers */
    pointer-events: auto !important; /* Ensures click capture */
    padding: 15px; /* Expands clickable hit-zone */
    margin: -15px; /* Offsets padding to keep visual position */
}

.close-btn:hover {
    color: #fff;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0; /* Hidden initially for staggered reveal */
    transform: translateX(40px); /* Slide-in starting position */
    display: block;
}

body.sidebar-active .sidebar-link {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered entrance animation delays */
body.sidebar-active .sidebar-link:nth-child(1) { transition-delay: 0.25s; }
body.sidebar-active .sidebar-link:nth-child(2) { transition-delay: 0.33s; }
body.sidebar-active .sidebar-link:nth-child(3) { transition-delay: 0.41s; }
body.sidebar-active .sidebar-link:nth-child(4) { transition-delay: 0.49s; }
body.sidebar-active .sidebar-link:nth-child(5) { transition-delay: 0.57s; }
body.sidebar-active .sidebar-link:nth-child(6) { transition-delay: 0.65s; }

.sidebar-link:hover {
    opacity: 1;
    transform: translateX(12px);
    color: var(--accent-blue);
    text-shadow: 0 0 15px var(--accent-glow);
}

.sidebar-btn {
    margin-top: 2rem;
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-blue);
    color: #000;
    text-align: center;
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.sidebar-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}


/* Layout: Asymmetrical split */
.content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    z-index: 20;
    margin-bottom: 5vh;
}

/* Left Section */
.left-section {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    perspective: 1200px;
}

.glass-box {
    width: 460px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.25rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,255,255,0.03);
    transform: rotateY(12deg) rotateX(4deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s, opacity 0.5s ease, filter 0.5s ease;
    will-change: transform;
    position: relative;
    overflow: visible; /* allows bits to float out */
}
.glass-box:hover {
    box-shadow: 0 40px 70px rgba(0,0,0,0.8), inset 0 0 30px rgba(255,255,255,0.05), 0 0 40px var(--accent-glow);
    border-color: var(--accent-blue);
}

.floating-bit {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--accent-blue);
    border-radius: 4px;
    box-shadow: 0 0 10px var(--accent-glow);
    z-index: 10;
    pointer-events: none;
    transition: background 0.8s ease, box-shadow 0.8s ease;
}

.bit-1 { top: -10px; right: 20%; animation: float-1 6s ease-in-out infinite; }
.bit-2 { bottom: 30%; left: -15px; width: 25px; height: 3px; animation: float-2 8s ease-in-out infinite; }
.bit-3 { top: 40%; right: -12px; border-radius: 50%; width: 10px; height: 10px; animation: float-3 7s ease-in-out infinite; }

@keyframes float-1 { 
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.8; }
    50% { transform: translate(15px, -20px) rotate(45deg); opacity: 1; }
}
@keyframes float-2 { 
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
    50% { transform: translate(-10px, 30px) rotate(-15deg); opacity: 0.9; }
}
@keyframes float-3 { 
    0%, 100% { transform: translate(0, 0); opacity: 0.7; }
    50% { transform: translate(25px, 15px); opacity: 1; }
}

.course-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition: clip-path 0.5s cubic-bezier(0.7, 0, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.glass-box:hover .course-image {
    transform: scale(1.05) translateZ(20px);
    filter: brightness(1.15) saturate(1.1);
}

.content-fade-out .course-image {
    clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
    transform: scale(1.1);
}

/* Right Section */
.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 8%;
    will-change: transform;
    perspective: 1200px;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-align: left;
    color: #ffffff;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.text-gradient {
    color: var(--accent-blue);
    display: inline;
    text-shadow: 0 0 15px var(--accent-glow);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 500px;
    font-weight: 300;
}

.desc-highlight {
    color: #ffffff;
    font-weight: 500;
}

/* Bottom Scroll Track */
.scroll-track-container {
    position: absolute;
    bottom: 5vh; 
    left: 0;
    width: 100%;
    height: 80px; 
    z-index: 30;
    pointer-events: none;
    filter: hue-rotate(var(--theme-hue));
    transition: filter 0.8s ease;
}

.scroll-curve {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.glowing-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    /* Positioned absolutely by JS using Matrix Transformation */
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px 4px var(--accent-blue), 0 0 35px 12px rgba(0, 212, 255, 0.4);
    pointer-events: none;
    transition: box-shadow 0.3s;
    z-index: 100;
}

/* Smooth SVG Stroke Transition */
.curve-active-path {
    transition: stroke-dashoffset 0.1s linear;
}

/* Ultra-Premium BlurIn Animation Engine */
.split-word {
    display: inline-block;
    opacity: 0;
    filter: blur(8px);
    animation: framerBlurIn 0.8s ease-out forwards;
    /* animation-delay is injected securely via JS */
}
@keyframes framerBlurIn {
    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* Staggered Text Animations */
.right-section .hero-title,
.right-section .hero-description {
    opacity: 1;
    transform: translateZ(0) rotateX(0) rotateY(0) translateX(0) translateY(0);
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.right-section .hero-title { transition-delay: 0s; }
.right-section .hero-description { transition-delay: 0.1s; }

/* The Fade Out classes applied synchronously with massive 3D SPLIT movements */
.content-fade-out.right-section .hero-title,
.content-fade-out.right-section .hero-description {
    opacity: 0 !important;
    transform: translateX(100%) translateZ(-300px) rotateY(45deg) rotateX(15deg) translateY(-40px) !important;
    transition-delay: 0s !important; /* Fast fade out */
}

.content-fade-out.glass-box {
    opacity: 0 !important;
    transform: translateX(-100%) translateZ(-400px) rotateY(-60deg) rotateX(20deg) scale(0.8) !important;
    filter: blur(20px);
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.84, 0), opacity 0.4s ease, filter 0.4s ease !important;
}

/* 
 * ==========================================
 * SECTION 2: ABOUT US (WHITE THEME)
 * ==========================================
 */
.about-section {
    background-color: #ffffff;
    color: #111822;
    padding: 80px 8%;
    min-height: auto; /* Removed 100vh for a more compact layout */
    display: flex;
    align-items: center;
    position: relative;
    z-index: 50; /* Renders above dark absolute layers */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; /* Reduced from 6rem */
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-blue);
    border-radius: 12px;
    z-index: 1;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1.5px;
    color: #07090d; 
}

.section-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #556070;
    margin-bottom: 1rem;
}

.about-list {
    margin-bottom: 1.5rem;
    width: 100%;
}

.about-list h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111822;
    margin-bottom: 0.75rem;
}

.about-list ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.about-list li {
    font-size: 1.05rem; /* slightly smaller than p */
    line-height: 1.5;
    color: #556070;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.check-icon {
    color: var(--accent-blue);
    margin-right: 12px;
    font-weight: bold;
    font-size: 1.2rem;
}

p.about-mission {
    font-weight: 700;
    color: #07090d;
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0;
    border-left: 4px solid var(--accent-blue);
    padding-left: 1.25rem;
}

.btn-solid-dark {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #07090d;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    margin-top: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-solid-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* 
 * ==========================================
 * SECTION 3: CAREER OPPORTUNITIES
 * ==========================================
 */
.careers-section {
    background: #ffffff;
    color: #111822;
    padding: 10px 8% 10% 8%; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 50;
}

.careers-header {
    text-align: center;
    margin-bottom: 1rem;
    max-width: 800px;
}

.careers-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
    color: #07090d;
}

.careers-subtitle {
    font-size: 1.25rem;
    color: #556070;
}

.careers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 1400px;
}

/* 3D Book Container */
.book-container {
    perspective: 2000px; /* Deeper perspective for dramatic 3D */
    width: 100%;
    outline: none;
    cursor: pointer;
    transform-style: preserve-3d;
}

@keyframes floatBook {
    0% { transform: translateY(0px) rotateX(0deg); }
    50% { transform: translateY(-8px) rotateX(2deg); }
    100% { transform: translateY(0px) rotateX(0deg); }
}

.book-container:nth-child(even) {
    animation: floatBook 8s infinite ease-in-out;
}
.book-container:nth-child(odd) {
    animation: floatBook 7s infinite ease-in-out reverse;
}

.book {
    display: grid;
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy 3D feel */
}

/* 3D Hover & Focus Lift */
.book-container:hover .book,
.book-container:focus .book {
    transform: translateY(-15px) rotateX(8deg) rotateY(-10deg) translateZ(40px);
}

.book-container.is-open .book {
    /* If the book is open, we flatten the hover tilt so reading text is comfortable */
    transform: translateY(-5px) rotateX(0deg) rotateY(0deg) translateZ(10px) !important;
}

/* The Cover and Page Layers */
.book-cover, .book-page {
    grid-area: 1 / 1; /* Automatically snap to identical bounds based on tallest content */
    border-radius: 16px;
    padding: 2.5rem 2rem;
    overflow: hidden;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.05); /* Subtle dark card border */
}

/* The Cover Front */
.book-cover {
    background: linear-gradient(135deg, rgba(30, 35, 55, 0.85) 0%, rgba(10, 12, 20, 0.95) 100%);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.03);
    z-index: 5;
    transform-origin: left center;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), box-shadow 0.8s ease;
    display: flex;
    flex-direction: column;
    backface-visibility: hidden; /* Hides the mirrored text when cover swings open */
}

/* The Inside Reveal */
.book-page {
    background: rgba(10, 15, 25, 0.98); /* Deep dark inside */
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}

/* The Opening Interaction */
.book-container.is-open .book-cover {
    transform: rotateY(-140deg);
    box-shadow: 20px 20px 40px rgba(0,0,0,0.3); /* Stronger shadow for black box */
}

.card-glow.border-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.book-container.is-open .card-glow.border-top {
    opacity: 1;
}

.cover-indicator {
    font-size: 0.85rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 1.5rem;
    opacity: 0.8;
}

@keyframes pulseGlow {
    0% { text-shadow: 0 0 10px rgba(255,255,255,0); transform: translateZ(0); }
    50% { text-shadow: 0 0 25px rgba(255,255,255,0.4); transform: translateZ(10px); }
    100% { text-shadow: 0 0 10px rgba(255,255,255,0); transform: translateZ(0); }
}

.icon-placeholder {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    animation: pulseGlow 4s infinite ease-in-out;
    display: inline-block; /* allows transform Z to work */
}

.career-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    transform: translateZ(20px); /* 3D pop off the cover */
}

.career-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: rgb(148, 163, 184); /* Slate muted color */
    transform: translateZ(15px); /* 3D pop off the page */
}

/* 3D Physical Spine/Thickness Simulation */
.book-cover::after {
    content: '';
    position: absolute;
    left: -2px; /* Hugs the hinge */
    top: 5px;
    width: 6px;
    height: calc(100% - 10px);
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(30,40,60,0.9));
    transform-origin: left;
    transform: rotateY(-90deg);
    border-radius: 2px;
}

/* 
 * ==========================================
 * SECTION: WHO SHOULD JOIN
 * ==========================================
 */
.who-join-section {
    background-color: #ffffff;
    color: #07090d;
    padding: 10% 8%;
    position: relative;
    z-index: 1000 !important;
    overflow: visible !important;
    perspective: 2000px;
}

.who-join-header {
    text-align: center;
    margin-bottom: 6rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.who-join-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    color: #07090d;
}

.who-join-subtitle {
    font-size: 1.25rem;
    color: #556070;
}

#who-should-join-irit.careers-section {
    padding-top: 70px !important;
    padding-bottom: 70px;
    background-color: #ffffff !important; /* Pure Opaque White */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 50;
    overflow: visible;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.03);
}

/* Minimalist Contrast Control for Pure White Surface */
#who-should-join-irit .careers-title {
    color: #07090d; /* Ultra-dark charcoal for maximum clarity */
    background: none;
    -webkit-text-fill-color: initial;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2.5px;
    margin-bottom: 1.5rem;
}

#who-should-join-irit .careers-subtitle {
    color: #556070; /* Refined slate-grey */
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 6rem auto;
    opacity: 0.85;
    line-height: 1.6;
}

/* Optimize Books for Pure White Surface */
#who-should-join-irit .book-cover {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(2, 6, 23, 1) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 20px 50px rgba(0, 0, 0, 0.08); /* Soft ambient shadows */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#who-should-join-irit .book-page {
    background: #0a0f19; /* High-contrast black inside */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.9);
}

#who-should-join-irit .career-desc {
    color: #cbd5e1; /* White/Slate-gray text for readability on black */
    font-weight: 400;
    line-height: 1.7;
}

#who-should-join-irit .career-name {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.5px;
}

#who-should-join-irit .cover-indicator {
    color: var(--accent-blue);
    opacity: 1;
    font-weight: 700;
    margin-top: 2rem;
}

.who-join-footer {
    margin-top: 8rem;
    text-align: center;
}

.footer-msg-box {
    display: inline-block;
    padding: 1.8rem 3.5rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 100px;
}

.footer-msg {
    font-size: 1.3rem;
    font-weight: 600;
    color: #07090d;
}

@media (max-width: 768px) {
    .who-join-title {
        font-size: 2.5rem;
    }
    .who-join-grid {
        grid-template-columns: 1fr;
    }
    .footer-msg-box {
        padding: 1rem 1.5rem;
        border-radius: 20px;
    }
}

/* 
  * ==========================================
  * SECTION 4: OUR PROGRAMS (DARK 3D THEME)
  * ==========================================
 */
.programs-section {
    background-color: var(--bg-dark); /* Deep Dark theme to snap out of the white section */
    color: var(--text-main);
    padding: 8rem 8%; /* Synchronized with Global 8% Grid (Hero and Careers) */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 50;
    overflow: hidden;
}

/* ── Lavender Stage Background ── */
.programs-laser-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 100%, #1e1b4b 0%, #03040f 80%);
}

.programs-laser-bg canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    filter: blur(1px); /* Soften trails */
}

.beam-main {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, #ffffff 20%, #ffffff 80%, transparent);
    box-shadow: 
        0 0 10px #fff,
        0 0 30px #a78bfa,
        0 0 60px #a78bfa,
        0 0 100px #a78bfa;
    z-index: 5; /* Higher z-index relative to programs-laser-bg */
    animation: beam-flicker 4s infinite ease-in-out;
}

.beam-glow {
    position: absolute;
    left: 50%;
    top: 0;
    width: 200px;
    height: 100%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.15) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

.programs-floor {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 250px;
    background: radial-gradient(50% 50% at 50% 0%, rgba(167, 139, 250, 0.4) 0%, transparent 100%);
    border-radius: 100% 100% 0 0;
    filter: blur(50px);
    opacity: 0.8;
    z-index: 2;
}

@keyframes beam-flicker {
    0%, 100% { opacity: 0.8; width: 4px; }
    50% { opacity: 1; width: 6px; }
}

@media(max-width:768px){
    .beam-main { width: 2px; }
    .programs-floor { height: 150px; opacity: 0.6; }
}

.programs-header {
    text-align: left; /* Aligns with Hero and About Us spine */
    margin: 0 0 5rem;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.programs-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
}

.programs-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 100%;
    max-width: 1400px;
    margin: 0; /* Left Aligned Spine */
    align-items: stretch;
    perspective: 2000px;
    position: relative;
    z-index: 10;
}

/* 3D Holographic Card Wrapper */
.program-card-wrapper {
    width: 100%;
    perspective: 1500px;
    display: flex;
}

.program-card {
    background: rgba(10, 15, 25, 0.8); /* Darker, more premium contrast */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3.5rem 2.5rem; /* More authoritative spacing */
    width: 100%;
    min-height: 540px; /* Consistent height for grid-wide alignment */
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 25px rgba(255,255,255,0.03);
}

.program-bg-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 0;
    /* Will be positioned by JS */
}

.program-card:hover .program-bg-glow {
    opacity: 1;
}

/* 3D Content Separation */
.program-content {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    transform: translateZ(30px); /* Base floating layer */
    height: 100%;
    display: flex;
    flex-direction: column;
    pointer-events: none; /* Let the card handle the hover math */
}

.program-name {
    font-size: 2.1rem; /* Bolder, matching screenshot scale */
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.2;
    transform: translateZ(60px); 
    text-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.program-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5); /* Refined readability */
    margin-bottom: 3rem;
    transform: translateZ(40px);
    flex-grow: 1;
}

.program-stats {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Symmetrical grid for Duration/Level */
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    transform: translateZ(45px);
    background: rgba(0,0,0,0.4);
    padding: 1.8rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 700;
}

.program-btn {
    display: block; /* Spans full card width for grounded alignment */
    width: 100%;
    padding: 1.5rem 0;
    text-align: center;
    background: transparent;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto; /* Pushes to bottom */
    transform: translateZ(80px); /* Button is closest to the camera */
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
    pointer-events: auto; /* Re-enable pointer events for the link */
}

.program-btn:hover {
    color: #000000;
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}


/* Laptop Viewport Optimization (1024px to 1400px) */
@media screen and (min-width: 1024px) and (max-width: 1399px) {
    .logo-img {
        height: 85px; /* Increased for premium presence on Laptop views */
    }

    .programs-section {
        padding: 8rem 8%; /* Consistent with global laptop grid */
    }
    
    .programs-grid {
        gap: 2rem; 
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .program-card {
        padding: 2.5rem 1.7rem; 
    }
}

/* 
 * ==========================================
 * SECTION 5: PORTFOLIO SLIDER (SWIPER)
 * ==========================================
 */
.black-bg-5 {
    background-color: #05070a; 
}

.portfolio-slider-2-area {
    color: #ffffff;
    padding: 8% 0 8% 0; /* No side padding allows slider to bleed horizontally */
    position: relative;
    z-index: 50;
    overflow: hidden; 
    border-top: 1px solid rgba(255,255,255,0.03); 
}

.portfolio-slider-2-wrap {
    padding-left: 6%; /* Map to site grid */
    position: relative;
}

.portfolio-slider-2-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.portfolio-slider-2-thumb {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-slider-2-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

.portfolio-slider-2-item:hover .portfolio-slider-2-thumb img {
    transform: scale(1.08);
}

.portfolio-slider-2-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-slider-3-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2.5rem;
    width: 100%;
    z-index: 2;
    transform: translateY(15px);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-slider-2-item:hover .portfolio-slider-3-content {
    transform: translateY(0);
}

.portfolio-slider-3-meta {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-blue);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.portfolio-slider-3-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

/* Custom Swiper Scrollbar */
.tp-scrollbar-container {
    margin-top: 3rem;
    padding-right: 6%; /* Re-apply padding on right boundary */
    position: relative;
}

.tp-scrollbar {
    height: 4px;
    background: rgba(255,255,255,0.08); /* Faint track */
    border-radius: 4px;
    width: 100%;
    position: relative;
    cursor: pointer;
}

.swiper-scrollbar-drag {
    background: var(--accent-blue) !important;
    border-radius: 4px !important;
}

.port-showcase-slider-link {
    position: absolute;
    right: 5%;
    top: -5rem; /* Pushed above slider */
    background: transparent;
    padding: 0;
    z-index: 10;
}

.port-showcase-slider-link a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.port-showcase-slider-link a:hover {
    background: var(--accent-blue);
    color: #000;
    border-color: var(--accent-blue);
}
/* 
 * ==========================================
 * SECTION 6: CAREER OPPORTUNITIES (PIN PANEL)
 * ==========================================
 */
.black-bg-3 {
    background-color: #030508;
    color: #fff;
}

.tp-project-3__area {
    padding: 10% 0;
    min-height: 100vh;
}

.container-pin {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding:  4%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.portfolio-sec-pin {
    position: sticky;
    top: 5rem; /* Sticks near the top of the viewport */
    z-index: 10;
    pointer-events: none; /* Let clicks pass through to images */
}

.tp-section-title-3 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
    margin: 0;
}

.tp-portfolio-item-wrapper-3 {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    max-width: 800px; /* Constrains image sizes specifically */
    margin: 0 auto; /* Centers the images directly underneath the title */
    width: 100%;
}

.portfolio-panel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 -20px 50px rgba(0,0,0,0.8);
    transform-origin: top center;
    aspect-ratio: 16/9;
    margin-bottom: 40vh; /* Adds spacing so GSAP pins have duration before the next card stacks! */
}

.portfolio-panel a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: none; /* Hide default cursor */
}

.portfolio-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    opacity: 1; /* Overlay always present to provide contrast for the title */
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 5;
}

.portfolio-panel:hover .panel-overlay {
    background: radial-gradient(circle at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.9) 100%);
}

.panel-content {
    z-index: 10;
    width: 100%;
}

.career-card-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    transition: margin 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-panel:hover .career-card-title {
    margin-bottom: 1.5rem; /* Push down to make room for reveal */
}

.reveal-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-panel:hover .reveal-content {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
}

.career-card-tag {
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.career-card-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.portfolio-panel:hover img {
    transform: scale(1.15);
    filter: blur(4px) brightness(0.6);
}

/* Global Custom Mouse Tracking Element */
.tp-portfolio-view-btn-3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 9999;
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    line-height: 1.3;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* GSAP or Native JS will control opacity and transform */
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5); 
    transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.1s linear; /* Smooth opacity, fast follow */
}

/* Responsive Rules: Tablets & Small Laptops (min 701px to max 1024px) */

@media (min-width: 701px) and (max-width: 1024px) {
    nav { display: none; }
    header { padding: 1.5rem 5%; }
    .hero-container {
        perspective: none;
        height: auto;
        min-height: 100dvh;
        overflow: hidden;
    }
    .content-wrapper {
        padding: 0 4%;
        gap: 2rem;
        /* Keep it Side-by-Side! */
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 8vh;
    }
    .left-section {
        perspective: none;
        flex: 1;
        justify-content: center;
    }
    .right-section {
        padding-left: 2rem;
        flex: 1.2;
    }
    .hero-title {
        font-size: clamp(3rem, 5vw, 4.5rem);
        margin-bottom: 1rem;
    }
    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    .glass-box {
        transform: none !important;
        width: 100%;
        max-width: 360px;
    }
    .course-image {
        height: 200px;
    }
    .content-fade-out.glass-box {
        transform: translateX(-50px) scale(0.9) !important;
    }
    .content-fade-out.right-section .hero-title,
    .content-fade-out.right-section .hero-description {
        transform: translateX(50px) scale(0.9) !important;
    }
    .scroll-track-container {
        /* Keep absolute on tablet to match desktop feel */
        position: absolute;
        bottom: 5vh;
        width: 100%;
        height: auto;
        aspect-ratio: 1000 / 80;
        padding: 0 5%;
    }
    
    /* About Us - Tablet */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-image-wrapper img {
        aspect-ratio: 16/9;
    }
    
    /* Careers - Tablet */
    .careers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Programs - Tablet */
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    * { transform-style: flat !important; }
}

/* Responsive Rules: Phones (max-width: 700px) */
@media (max-width: 700px) {
    body {
        overflow-y: auto; 
    }
    .hero-container {
        height: auto;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        perspective: none;
        padding-bottom: 2rem;
    }
    nav { display: none; }
    header {
        padding: 1.5rem 6%;
    }
    .content-wrapper {
        flex-direction: column; 
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        padding: 1dvh 6% 0 6%;
        margin-bottom: 0;
        height: auto;
        flex: 1; 
        overflow: visible;
        -webkit-overflow-scrolling: touch;
    }
    .right-section {
        padding-left: 0;
        align-items: center;
        text-align: center;
        flex: none; 
        width: 100%;
    }
    .hero-title {
        font-size: clamp(2.5rem, 11vw, 3.5rem);
        line-height: 1.1;
        text-align: center;
        margin-bottom: 0.75rem;
        width: 100%;
    }
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .left-section {
        perspective: none;
        flex: none;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .glass-box {
        transform: none !important; 
        width: 100%;
        max-width: 280px; 
        padding: 0.75rem;
        margin-bottom: 0;
    }
    .content-fade-out.glass-box,
    .content-fade-out.right-section .hero-title,
    .content-fade-out.right-section .hero-description {
        transform: scale(0.9) !important;
        opacity: 0 !important;
    }
    .course-image {
        height: min(160px, 30vh); 
    }
    
    /* THE SNAP: Curve tied securely to the component stack */
    .scroll-track-container {
        position: relative; 
        width: 100%;
        height: auto;
        aspect-ratio: 1000 / 80;
        bottom: auto;
        margin-top: 2rem; 
        padding: 0 5%; 
    }

    /* About Us - Mobile */
    .about-section {
        padding: 15% 6%;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-image-wrapper img {
        aspect-ratio: 1/1;
    }
    .section-title {
        font-size: 2.8rem;
    }
    .section-subtitle {
        font-size: 1.25rem;
    }
    .image-accent {
        bottom: -10px;
        right: -10px;
    }

    /* Careers - Mobile */
    .careers-section {
        padding: 10px 6% 15% 6%;
    }
    .careers-title {
        font-size: 2.8rem;
    }
    .careers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Programs - Mobile */
    .programs-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio - Mobile */
    .portfolio-slider-2-area {
        padding: 15% 0;
    }
    .portfolio-slider-3-title {
        font-size: 1.3rem; 
    }
    .portfolio-slider-3-content {
        padding: 1.5rem;
    }
    .tp-scrollbar-container {
        margin-top: 2rem;
    }
    .port-showcase-slider-link {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 2rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .port-showcase-slider-link a {
        display: inline-flex;
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }

    * {
        transform-style: flat !important;
    }
}

/* Ghost Image FLIP Animation Engine */
#ghost-image {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    will-change: transform, width, height, border-radius;
    object-fit: cover;
    transform-origin: top left;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

/* 
 * ==========================================
 * SECTION 7: CYBER FORWARD 3D MARQUEE
 * ==========================================
 */
.marquee-3d-section {
    padding: 10px 0;
    overflow: hidden;
    background: #030508;
    perspective: 2500px;
    position: relative;
    z-index: 10;
}

.velocity-sparks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.spark {
    position: absolute;
    width: 2px;
    height: 60px;
    background: linear-gradient(to top, transparent, var(--accent-blue));
    border-radius: 100px;
    opacity: 0;
    will-change: transform, opacity;
}

.marquee-perspective {
    display: flex;
    flex-direction: column;
    /* Highway Perspective */
    transform: rotateX(55deg) translateY(-50px) translateZ(0);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    z-index: 2;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    position: relative;
    overflow: hidden;
}

/* Glass Glint Sweep */
.marquee-track::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 70%,
        transparent 100%
    );
    transform: translateX(-100%);
    animation: glint-sweep 8s cubic-bezier(0.23, 1, 0.32, 1) infinite;
    pointer-events: none;
}

@keyframes glint-sweep {
    0% { transform: translateX(-100%) skewX(-20deg); }
    30%, 100% { transform: translateX(200%) skewX(-20deg); }
}

.marquee-content {
    display: inline-block;
    flex-shrink: 0;
    animation: marquee-infinite 60s linear infinite;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 4px;
    transition: filter 0.3s ease, transform 0.3s ease;
    
    /* 3D Glass Text effect */
    text-shadow: 
        0 1px 0 #ccc,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b0b0b0,
        0 10px 10px rgba(0,0,0,0.2);
}

/* Power Surge / Malfunction Effect */
.power-surge {
    animation: flicker-surge 0.4s ease-out infinite;
}

@keyframes flicker-surge {
    0%, 100% { opacity: 1; filter: contrast(1); }
    20% { opacity: 0.8; filter: contrast(1.5) brightness(1.5); }
    40% { opacity: 1; filter: contrast(1) hue-rotate(10deg); }
    50% { opacity: 0.9; filter: contrast(2) brightness(2); }
    80% { opacity: 1; filter: contrast(1.2); }
}

@keyframes marquee-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* 
 * ==========================================
 * SECTION 10: MAIN FOOTER (WHITE THEME)
 * ==========================================
 */
.main-footer {
    background-color: #ffffff;
    padding: 80px 0 40px;
    color: #1a202c;
    position: relative;
    z-index: 100;
    font-family: var(--body-font);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
}

.footer-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 25px;
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
    max-width: 320px;
    margin-bottom: 30px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    animation: footerFadeUp 0.8s ease-out forwards;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    color: #4a5568;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.15);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
}

.social-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-link:hover::after {
    opacity: 0.05;
}

@keyframes footerFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0d1117;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-links a {
    text-decoration: none;
    color: #4a5568;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.contact-item {
    margin-bottom: 20px;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.contact-text {
    font-size: 0.95rem;
    color: #1a202c;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright, .credits {
    font-size: 0.85rem;
    color: #718096;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* 
 * ==========================================
 * SECTION 11: COURSE INNER PAGE (SV-INNER)
 * ==========================================
 */
.sv-inner__slider-area {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 10%, #0c1221 0%, #07090d 100%);
    overflow: hidden;
}

.sv-inner__slider-content-wrap {
    max-width: 550px;
}

.sv-inner__slider-subtitle {
    display: inline-block;
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.sv-inner__slider-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 40px;
}

.sv-inner__service-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sv-inner__service-list {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 20px 30px;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.sv-inner__service-list:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: var(--accent-blue);
    transform: translateX(10px);
}

.sv-inner__service-list span {
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Vertical Marquee Engine */
.sv-inner__slider-main {
    position: relative;
    height: 700px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.sv-inner__marquee-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: marquee-vertical 40s linear infinite;
}

.sv-inner__marquee-col.reverse {
    animation-direction: reverse;
}

.sv-inner__slider-item img {
    width: 100%;
    border-radius: 15px;
    filter: grayscale(0.5) contrast(1.1);
    transition: filter 0.5s ease;
}

.sv-inner__slider-item:hover img {
    filter: grayscale(0) contrast(1.2);
}

@keyframes marquee-vertical {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

@media (max-width: 992px) {
    .sv-inner__slider-area { padding: 60px 0; }
    .sv-inner__slider-main { height: 400px; margin-top: 50px; }
}

/* 
 * ==========================================
 * SECTION 12: COURSE MODULES & INFO AREA
 * ==========================================
 */
.sv-inner__info-area {
    padding: 120px 0 90px;
    background: #07090d;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sv-inner__info-title {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 500;
    line-height: 1.4;
    color: #e2e8f0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.sv-inner__left-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sv-inner__left-title span {
    color: var(--accent-blue);
    display: flex;
}

.sv-inner__service-category-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sv-inner__service-category {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.sv-inner__service-category a {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #8e9bb0;
    transition: all 0.3s ease;
}

.sv-inner__service-category-content {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.25rem;
    font-weight: 600;
}

.sv-inner__service-category-content span:first-child {
    color: var(--accent-blue);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.sv-inner__service-category:hover {
    background: rgba(255, 255, 255, 0.02);
}

.sv-inner__service-category:hover a {
    color: #fff;
}

.sv-inner__service-category:hover .sv-inner__service-category-content span:first-child {
    opacity: 1;
}

.sv-inner__service-category-link {
    color: var(--accent-blue);
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.3s ease;
}

.sv-inner__service-category:hover .sv-inner__service-category-link {
    opacity: 1;
    transform: translate(0, 0);
}

@media (max-width: 1200px) {
    .sv-inner__info-service { margin-bottom: 40px; }
}

/* 
 * ==========================================
 * SECTION 13: SYLLABUS BREAKDOWN
 * ==========================================
 */
.syllabus-section {
    padding: 120px 0;
    background: #030509;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.syllabus-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
}

.syllabus-header {
    text-align: center;
    margin-bottom: 80px;
}

.syllabus-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

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

.module-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.module-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 255, 0.1);
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.module-badge {
    display: inline-block;
    color: var(--accent-blue);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.module-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.module-focus {
    font-size: 0.9rem;
    color: #fff;
    background: rgba(0, 212, 255, 0.1);
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 25px;
    font-weight: 600;
    border-left: 3px solid var(--accent-blue);
}

.module-points {
    list-style: none;
    padding: 0;
}

.module-points li {
    color: #8e9bb0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.module-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

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

/* 
 * ==========================================
 * SECTION 14: PROGRAM OVERVIEW (NEW)
 * ==========================================
 */
.program-overview {
    padding: 100px 0;
    background: linear-gradient(to bottom, #07090d, #0b0f17);
    position: relative;
    overflow: hidden;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: stretch;
}
.program-overview {
    overflow-x: hidden;
}
section {
    max-width: 100%;
}

.overview-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px;
    backdrop-filter: blur(12px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.overview-card.accent {
    border-color: rgba(0, 212, 255, 0.2);
    background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.05), transparent);
}

.stat-item {
    margin-bottom: 35px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.stat-value span {
    color: var(--accent-blue);
}

.learning-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.learning-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.learning-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.learning-item:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(10px);
}

.learning-item i {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

.guarantee-badges {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.guarantee-badge {
    flex: 1;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.02));
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}

.guarantee-icon {
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 0 15px var(--accent-glow);
}

.guarantee-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

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

@media (max-width: 768px) {
    header {
        padding-top: 1.2rem; /* Tightened for a cleaner top-edge look */
    }

    .hero-container, 
    .sv-inner__slider-area, 
    .hero {
        padding-top: 140px; /* Unified clearance for the 95px logo on all pages */
    }

    .logo-img {
        height: 95px; /* Large, premium mobile presence */
    }

    .syllabus-grid { grid-template-columns: 1fr; }
    .syllabus-section { padding: 80px 0; }
    .stat-value { font-size: 1.8rem; }
    .learning-list { grid-template-columns: 1fr; }
    .guarantee-badges { flex-direction: column; }
    .overview-card { padding: 30px; }
}
/* ===== FINAL OVERFLOW + ALIGNMENT FIX ===== */

/* Prevent ANY section from breaking width */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Force all sections to stay inside screen */
section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix 3D elements causing overflow */
.glass-box,
.hero-container,
.right-section,
.left-section {
    max-width: 100%;
    overflow: hidden;
}

/* Reset Programs section positioning */
#programs {
    position: relative;
    left: 0;
    right: 0;
    transform: none !important;
}

/* Strong grid fix */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;

    max-width: 1200px;
    margin: 0 auto;

    width: 100%;
}

/* Prevent cards from overflowing */
.program-card-wrapper,
.program-card {
    width: 100%;
    max-width: 100%;
}