/* =============================================================
   IRF Theme – Main Stylesheet
   ============================================================= */

/* Variables */
:root {
    --red:        #ee2c3c;
    --red-dark:   #c4202f;
    --red-deep:   #c01828;
    --navy:       #181A17;
    --charcoal:   #181A17;
    --white:      #FFFFFF;
    --light:      #fcf1f5;
    --gray:       #5a5a5a;
    --border:     #f0dde2;
    --text:       #181A17;
    --shadow:     0 4px 20px rgba(238,44,60,0.09);
    --shadow-lg:  0 8px 40px rgba(238,44,60,0.16);
    --radius:     12px;
    --tr:         all 0.3s ease;
    --footer-bg:  #1C1C2E;
    --cta-from:   var(--red-dark);
    --cta-mid:    #ee2c3c;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }

.section-header  { text-align: center; margin-bottom: 60px; }
.section-tag     { display: inline-block; background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 18px; border-radius: 50px; margin-bottom: 14px; }
.section-tag-dark { background: var(--charcoal); color: var(--white); }
.section-title   { font-size: clamp(26px, 4vw, 40px); color: var(--charcoal); margin-bottom: 14px; }
.section-subtitle{ font-size: 16px; color: var(--gray); max-width: 580px; margin: 0 auto; }

/* Buttons */
.btn         { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 15px; transition: var(--tr); cursor: pointer; border: none; }
.btn-primary { background: var(--red-deep); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.btn-outline  { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-white    { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--light); color: var(--red); }

/* =============================================================
   BANNER SLIDER — Cinematic Edition
   ============================================================= */

/* Wrapper */
.banner-slider {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
    background: #07071a;
}

/* Slides stack */
.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual slide */
.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    overflow: hidden;
    /* filter removed from will-change — pre-creating filter layers causes
       the browser to rasterise at the wrong resolution, producing a blurry
       flash on hard refresh before the GPU compositor is ready. */
    will-change: transform, opacity;
}
.banner-slide.active { opacity: 1; z-index: 2; }

/* Image wrapper (enables Ken Burns without clipping neighbour) */
.banner-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.banner-img-wrap a { display: block; width: 100%; height: 100%; }

/* The actual image */
.banner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Desktop / Mobile visibility */
.banner-desk-wrap { display: block; }
.banner-mob-wrap  { display: none;  }

/* Cinematic overlay: dark edges + bottom gradient */
.banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,  rgba(0,0,0,0.25) 0%,  rgba(0,0,0,0) 35%,  rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%),
        linear-gradient(to right,   rgba(0,0,0,0.18) 0%,  transparent 30%),
        linear-gradient(to left,    rgba(0,0,0,0.18) 0%,  transparent 30%);
    z-index: 3;
    pointer-events: none;
}

/* =============================================================
   BANNER — Slide Transition (right to left)
   ============================================================= */

/* Next slide enters from the right */
.banner-slide.entering-slide {
    opacity: 1; z-index: 4;
    animation: bfxSlideIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
/* Current slide exits to the left */
.banner-slide.leaving-slide {
    opacity: 1; z-index: 3;
    animation: bfxSlideOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes bfxSlideIn  { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes bfxSlideOut { from { transform: translateX(0);    } to { transform: translateX(-100%); } }

/* Prev slide enters from the left */
.banner-slide.entering-slide-rev {
    opacity: 1; z-index: 4;
    animation: bfxSlideRevIn 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.banner-slide.leaving-slide-rev {
    opacity: 1; z-index: 3;
    animation: bfxSlideRevOut 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes bfxSlideRevIn  { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes bfxSlideRevOut { from { transform: translateX(0);      } to { transform: translateX(100%); } }


/* Top progress bar */
.banner-progress-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.12);
    z-index: 20;
}
.banner-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--red), var(--red-dark));
    box-shadow: 0 0 10px rgba(238,44,60,0.6);
    transition: width linear;
}

/* Prev / Next navigation */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.banner-nav:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-50%) scale(1.1);
}
.banner-prev { left: 24px; }
.banner-next { right: 24px; }

/* Bottom footer bar */
.banner-footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

/* Slide counter */
.banner-counter {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: 'Poppins', sans-serif;
    color: rgba(255,255,255,0.55);
    line-height: 1;
}
.banner-curr  { font-size: 30px; font-weight: 800; color: #fff; }
.banner-slash { font-size: 18px; }
.banner-total { font-size: 15px; }

/* Pill dots */
.banner-dots { display: flex; align-items: center; gap: 8px; }
.banner-dot {
    height: 8px;
    width: 8px;
    border-radius: 50px;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.35s ease, background 0.35s ease;
}
.banner-dot.active {
    width: 32px;
    background: var(--red);
    box-shadow: 0 0 8px rgba(254,0,0,0.5);
}

/* ── Responsive ── */
@media (max-width: 1023px) and (min-width: 768px) {
    .banner-slider { height: 50vh; min-height: 380px; }
}
@media (max-width: 767px) {
    /* Mobile — tall immersive banner */
    .banner-slider    { height: 75vh; min-height: 320px; max-height: 600px; }
    .banner-desk-wrap { display: none; }
    .banner-mob-wrap  { display: block; }
    .banner-mob-wrap .banner-bg-img { object-fit: cover; object-position: center top; }
    /* Stronger bottom gradient for readability on taller canvas */
    .banner-overlay {
        background:
            linear-gradient(to bottom,  rgba(0,0,0,0.30) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.65) 100%),
            linear-gradient(to right,   rgba(0,0,0,0.15) 0%, transparent 25%),
            linear-gradient(to left,    rgba(0,0,0,0.15) 0%, transparent 25%);
    }
    .banner-nav  { width: 38px; height: 38px; }
    .banner-prev { left: 10px; }
    .banner-next { right: 10px; }
    .banner-curr { font-size: 22px; }
    .banner-footer { bottom: 18px; gap: 14px; }
}
@media (max-width: 480px) {
    /* Small mobile — same tall treatment */
    .banner-slider { height: 75vh; min-height: 300px; max-height: 560px; }
    .banner-nav    { display: none; }
    .banner-footer { bottom: 14px; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================================
   HEADER
   ============================================================= */
.site-header { position: sticky; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; background: var(--light); box-shadow: 0 2px 16px rgba(238,44,60,0.10); transition: var(--tr); }
.site-header.scrolled { padding: 12px 0; box-shadow: 0 2px 24px rgba(238,44,60,0.14); }

/* Logo */
.nav-wrapper { display: flex; align-items: center; gap: 20px; }
.site-logo { flex-shrink: 0; }
.logo-text { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; color: var(--white); }
.logo-text span { color: var(--red); }
.site-logo .logo-img { height: 44px; width: auto; max-width: 150px; object-fit: contain; display: block; }
.footer-brand .footer-logo-img,
.footer-brand img { height: 44px; width: auto; max-width: 160px; max-height: 44px; object-fit: contain; display: block; margin-bottom: 16px; }

/* Nav links — centred, takes remaining space */
.nav-menu { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: center; flex-wrap: nowrap; }
.nav-menu a { color: #181A17; font-size: 13px; font-weight: 500; white-space: nowrap; transition: var(--tr); position: relative; }
.nav-menu a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--red); transition: var(--tr); }
.nav-menu a:hover { color: var(--red); }
.nav-menu a:hover::after { width: 100%; }
.nav-cta { background: var(--red) !important; color: var(--white) !important; padding: 8px 18px !important; border-radius: 50px !important; font-weight: 600 !important; font-size: 13px !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }

/* Right side: Mock Test button + hamburger */
.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.header-mock-btn {
    display: inline-flex;
    align-items: center;
    background: #ee2c3c;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    padding: 10px 24px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(238,44,60,0.30);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.header-mock-btn:hover { background: #000; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.25); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; position: relative; z-index: 1100; }
.hamburger span { display: block; width: 24px; height: 2px; background: #181A17; transition: var(--tr); }
.hamburger.active span { background: #fff; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   HERO — 2025 Redesign: Split Layout + Glassmorphism + Ring
   ============================================================= */

/* Base */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--light); }

/* Aurora orbs */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-orb-1 { width: 650px; height: 650px; top: -220px; right: -120px; background: radial-gradient(circle, rgba(238,44,60,0.18) 0%, transparent 65%); animation: orbDrift 12s ease-in-out infinite; }
.hero-orb-2 { width: 450px; height: 450px; bottom: -140px; left: -120px; background: radial-gradient(circle, rgba(238,44,60,0.08) 0%, transparent 65%); animation: orbDrift 16s ease-in-out infinite reverse; animation-delay: -5s; }
.hero-orb-3 { width: 280px; height: 280px; top: 45%; left: 28%; background: radial-gradient(circle, rgba(238,44,60,0.10) 0%, transparent 65%); animation: orbDrift 9s ease-in-out infinite; animation-delay: -3s; }
@keyframes orbDrift { 0%,100%{ transform:translate(0,0) scale(1); } 33%{ transform:translate(40px,-30px) scale(1.06); } 66%{ transform:translate(-25px,35px) scale(0.94); } }

/* Dot-grid overlay */
.hero-grid { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(238,44,60,0.10) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%); }

/* Split grid */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 60px 0 80px; position: relative; z-index: 2; }

/* ── LEFT ── */
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(238,44,60,0.10); border: 1px solid rgba(238,44,60,0.28); color: var(--red); padding: 8px 20px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 22px; animation: fadeUp 0.7s ease both; }
.dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; animation: blink 1.5s ease-in-out infinite; flex-shrink: 0; }
@keyframes blink { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.3; transform:scale(0.7); } }

.hero-title { font-size: clamp(32px, 4.5vw, 56px); color: var(--charcoal); margin-bottom: 18px; line-height: 1.15; animation: fadeUp 0.7s ease 0.12s both; }
.hero-title .highlight { background: linear-gradient(90deg, var(--red), var(--red-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: clamp(15px, 1.8vw, 17px); color: var(--gray); margin-bottom: 14px; line-height: 1.6; animation: fadeUp 0.7s ease 0.22s both; }
.hero-typed { font-size: clamp(16px, 2.2vw, 20px); color: var(--charcoal); margin-bottom: 34px; animation: fadeUp 0.7s ease 0.32s both; }
.typed-text { color: var(--red); font-weight: 700; border-right: 2px solid var(--red); padding-right: 3px; animation: cursor 0.7s step-end infinite; }
@keyframes cursor { 0%,100%{ border-color:var(--red); } 50%{ border-color:transparent; } }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 0.7s ease 0.42s both; }

/* Feature pills */
.hero-features { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; animation: fadeUp 0.7s ease 0.52s both; }
.hero-feat { background: var(--white); border: 1px solid var(--border); color: var(--text); padding: 6px 14px; border-radius: 50px; font-size: 13px; display: flex; align-items: center; gap: 6px; transition: var(--tr); box-shadow: 0 2px 8px rgba(238,44,60,0.07); }
.hero-feat:hover { background: var(--light); border-color: rgba(238,44,60,0.3); color: var(--red); }
.hero-feat span { color: var(--red); font-weight: 700; }

/* ── RIGHT ── */
.hero-right { position: relative; height: 480px; display: flex; align-items: center; justify-content: center; }

/* Glow blob behind ring */
.hero-glow-bg { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(238,44,60,0.18) 0%, transparent 70%); animation: ringGlow 4s ease-in-out infinite; }
@keyframes ringGlow { 0%,100%{ transform:scale(1); opacity:0.8; } 50%{ transform:scale(1.25); opacity:0.4; } }

/* SVG ring */
.hero-ring-wrap { position: relative; width: 210px; height: 210px; z-index: 3; flex-shrink: 0; }
.ring-svg { width: 210px; height: 210px; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(238,44,60,0.15); stroke-width: 8; }
.ring-fill  { fill: none; stroke: url(#ringGrad); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 603; stroke-dashoffset: 603; transition: stroke-dashoffset 2.2s cubic-bezier(0.4,0,0.2,1) 0.6s; filter: drop-shadow(0 0 10px rgba(238,44,60,0.45)); }
.ring-fill.animated { stroke-dashoffset: 12; }
.ring-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; }
.ring-number { display: block; font-size: 40px; font-weight: 800; color: var(--navy); line-height: 1; font-family: 'Poppins', sans-serif; }
.ring-label  { display: block; font-size: 10px; color: var(--navy); margin-top: 5px; text-transform: uppercase; letter-spacing: 1.2px; }

/* Stat cards */
.stat-card { position: absolute; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px; text-align: center; z-index: 4; min-width: 120px; box-shadow: 0 8px 28px rgba(238,44,60,0.12); }
.stat-card::before { content: ''; position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(135deg, rgba(238,44,60,0.03) 0%, transparent 100%); pointer-events: none; }
.stat-card-1 { top: 18px;  right: 10px; animation: floatCard 4.0s ease-in-out infinite 0.0s; }
.stat-card-2 { bottom: 55px; right: 0;   animation: floatCard 4.0s ease-in-out infinite 1.4s; }
.stat-card-3 { bottom: 18px; left: 10px; animation: floatCard 4.0s ease-in-out infinite 2.8s; }
@keyframes floatCard { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-14px); } }
.stat-card-num   { font-size: 24px; font-weight: 800; color: var(--red); font-family: 'Poppins', sans-serif; line-height: 1; }
.stat-card-label { font-size: 11px; color: var(--navy); margin-top: 4px; white-space: nowrap; }

/* Floating edu icons */
.float-icon { position: absolute; font-size: 26px; animation: floatIcon 5s ease-in-out infinite; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.4)); z-index: 2; }
.float-icon-1 { top: 8%;  left: 0%;  animation-delay: 0.0s; }
.float-icon-2 { top: 12%; right: 0%; animation-delay: 1.5s; }
.float-icon-3 { bottom: 12%; left: 5%;  animation-delay: 2.8s; }
.float-icon-4 { bottom: 8%;  right: 5%; animation-delay: 0.9s; }
@keyframes floatIcon { 0%,100%{ transform:translateY(0) rotate(0deg); } 50%{ transform:translateY(-18px) rotate(12deg); } }

/* Scroll indicator */
.scroll-indicator { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--gray); font-size: 11px; animation: fadeUp 1s ease 1.4s both; }
.scroll-mouse { width: 22px; height: 36px; border: 2px solid rgba(238,44,60,0.3); border-radius: 11px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-wheel { width: 3px; height: 7px; background: rgba(238,44,60,0.4); border-radius: 2px; animation: scrollDown 2s ease-in-out infinite; }
@keyframes scrollDown { 0%{ transform:translateY(0); opacity:1; } 100%{ transform:translateY(10px); opacity:0; } }
@keyframes fadeUp { from{ opacity:0; transform:translateY(30px); } to{ opacity:1; transform:translateY(0); } }

/* Responsive */
@media (max-width: 900px) {
    .hero-split { grid-template-columns: 1fr; gap: 40px; padding: 80px 0 60px; text-align: center; }
    .hero-badge, .hero-actions, .hero-features { justify-content: center; }
    .hero-title { font-size: clamp(28px, 6vw, 44px); }

    /* Hero right: ring on top row, stat cards side by side on bottom row */
    .hero-right {
        height: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 16px;
        padding: 0 10px;
        margin: 0 auto;
        width: 100%;
    }
    .hero-ring-wrap {
        flex: 0 0 100%;
        display: flex;
        justify-content: center;
    }
    /* Stat cards: static, side by side in a row */
    .stat-card {
        position: static;
        animation: none;
        flex: 1;
        min-width: 85px;
        max-width: 120px;
        padding: 12px 10px;
    }
    .stat-card-1, .stat-card-2, .stat-card-3 { animation: none; }
    .stat-card-num { font-size: 20px; }
    /* Hide float icons on mobile */
    .float-icon { display: none; }
}
@media (max-width: 480px) {
    .stat-card { min-width: 75px; max-width: 100px; padding: 10px 8px; }
    .stat-card-num { font-size: 17px; }
}

/* =============================================================
   EXAMS
   ============================================================= */
.exams-section { background: var(--white); }
.exams-grid    { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.exam-card     { background: var(--light); border-radius: var(--radius); padding: 28px 18px; text-align: center; transition: var(--tr); border: 2px solid transparent; cursor: default; }
.exam-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.exam-icon     { width: 54px; height: 54px; background: rgba(254,0,0,0.07); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 24px; transition: var(--tr); }
.exam-card:hover .exam-icon { background: var(--red); }
.exam-name     { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.exam-full     { font-size: 11px; color: var(--gray); }

/* =============================================================
   LEARNING MODEL
   ============================================================= */
.learning-section { background: var(--light); position: relative; overflow: hidden; }
.learning-section::before { content: ''; position: absolute; top: 0; right: 0; width: 45%; height: 100%; background: linear-gradient(to left, rgba(238,44,60,0.04), transparent); }
.learning-section .section-title    { color: var(--charcoal); }
.learning-section .section-subtitle { color: var(--gray); }

.learning-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 52px; }
.learning-steps::before { content: ''; position: absolute; top: 48px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(to right, var(--red), rgba(238,44,60,0.2)); z-index: 0; }
.learning-step  { text-align: center; position: relative; z-index: 1; padding: 0 16px; }
.step-number    { width: 96px; height: 96px; background: var(--white); border: 3px solid var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-size: 28px; transition: var(--tr); box-shadow: 0 4px 16px rgba(238,44,60,0.12); }
.learning-step:hover .step-number { background: var(--red); }
.step-title     { font-size: 19px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.step-desc      { font-size: 13px; color: var(--gray); line-height: 1.75; }

/* =============================================================
   FACILITIES — Premium Dark Edition
   ============================================================= */
.facilities-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.facilities-section::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254,0,0,0.04) 0%, transparent 65%);
    top: -180px; right: -100px;
    pointer-events: none;
}
.facilities-section::after {
    content: '';
    position: absolute;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238,44,60,0.04) 0%, transparent 65%);
    bottom: -130px; left: -80px;
    pointer-events: none;
}

/* Grid */
.facilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 1; }

/* Card */
.facility-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px 26px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
/* Per-card accent colours — unified brand red */
.facility-card:nth-child(1),
.facility-card:nth-child(2),
.facility-card:nth-child(3),
.facility-card:nth-child(4),
.facility-card:nth-child(5),
.facility-card:nth-child(6) { --fac-accent: #ee2c3c; --fac-bg: rgba(238,44,60,0.08); }

/* Subtle top glow line (always visible) */
.facility-card-line {
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--fac-accent), transparent);
    border-radius: 0 0 4px 4px;
    opacity: 0.55;
    transition: opacity 0.32s ease, left 0.32s ease, right 0.32s ease;
}
/* Floating glow orb */
.facility-glow {
    position: absolute;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--fac-accent) 0%, transparent 70%);
    top: -70px; right: -50px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
/* Icon wrap */
.facility-icon-wrap {
    width: 58px; height: 58px;
    border-radius: 14px;
    background: var(--fac-bg);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.32s ease;
}
.facility-icon  { font-size: 28px; line-height: 1; display: block; }
.facility-icon-wrap svg { width: 32px; height: 32px; display: block; }
.facility-title { font-size: 18px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.facility-desc  { font-size: 14px; color: var(--gray); line-height: 1.78; }

/* Hover state */
.facility-card:hover {
    transform: translateY(-8px);
    border-color: var(--fac-accent);
    box-shadow: 0 20px 50px rgba(238,44,60,0.14), 0 0 28px -6px var(--fac-accent);
}
.facility-card:hover .facility-card-line { opacity: 1; left: 0; right: 0; }
.facility-card:hover .facility-glow      { opacity: 0.14; }
.facility-card:hover .facility-icon-wrap { transform: scale(1.08); }

/* =============================================================
   HOME — ALL INDIA RANK ACHIEVERS — AUTO-SCROLL
   ============================================================= */
.hp-air-section { background: var(--light); overflow: hidden; }

/* Scrolling track */
.hp-air-track-wrapper { overflow: hidden; padding: 10px 0 4px; }
.hp-air-track         { display: flex; gap: 20px; width: max-content; padding: 0 24px 20px; animation: slideReels 40s linear infinite; }
.hp-air-track:hover   { animation-play-state: paused; }

/* Card */
.hp-air-card  { width: 160px; flex-shrink: 0; background: var(--white); border-radius: 16px; border: 1px solid var(--border); padding: 20px 14px 16px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.07); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hp-air-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(238,44,60,0.15); }

/* Circular photo */
.hp-air-img-wrap    { position: relative; width: 110px; height: 110px; margin: 0 auto 14px; }
.hp-air-photo       { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: top center; display: block; border: 3px solid #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.hp-air-placeholder { width: 110px; height: 110px; border-radius: 50%; background: linear-gradient(135deg, #fce8ea, #f8d0d4); display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 800; color: var(--red); font-family: 'Poppins', sans-serif; }

/* Orange rank badge (bottom-left of photo) */
.hp-air-rank-badge  { position: absolute; bottom: 0; left: 0; width: 34px; height: 34px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(238,44,60,0.45); }
.hp-air-num         { font-size: 13px; font-weight: 800; color: #fff; line-height: 1; font-family: 'Poppins', sans-serif; }

/* Card body */
.hp-air-body    { text-align: center; }
.hp-air-name    { font-size: 13px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; line-height: 1.3; }
.hp-air-exam    { font-size: 11px; color: var(--gray); line-height: 1.4; margin-bottom: 4px; }
.hp-air-year    { font-size: 11px; font-weight: 600; color: var(--red); }

/* CTA */
.hp-air-cta     { text-align: center; margin-top: 40px; }

/* =============================================================
   SUCCESS STORIES  — Premium Redesign
   ============================================================= */
.stories-section {
    background: var(--white);
    overflow: hidden;
    position: relative;
}
/* Subtle red radial tint */
.stories-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 65% at  4% 45%, rgba(238,44,60,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 45% 55% at 96% 55%, rgba(238,44,60,0.04) 0%, transparent 55%);
    pointer-events: none;
}
.stories-section::after { display: none; }
.stories-section .section-tag   { background: var(--red); color: var(--white); border: none; }
.stories-section .section-title { color: var(--charcoal); }
.stories-subtitle                { color: var(--gray); }

.stories-carousel { overflow: hidden; padding: 8px 0 12px; position: relative; z-index: 1; }
.stories-track    { display: flex; gap: 24px; transition: transform 0.55s cubic-bezier(0.4,0,0.2,1); will-change: transform; }

/* Card */
.story-card {
    width: 352px;
    min-width: 352px;
    max-width: 352px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 26px 24px;
    flex-shrink: 0;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(238,44,60,0.07);
}
/* Top accent line */
.story-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--red);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.story-card::after { display: none; }
.story-card:hover {
    transform: translateY(-8px) scale(1.012);
    box-shadow: 0 20px 50px rgba(238,44,60,0.15);
    border-color: rgba(238,44,60,0.25);
}
.story-card:hover::before { opacity: 1; }

/* Quote mark */
.story-quote-icon {
    font-size: 76px;
    font-family: Georgia, serif;
    line-height: 0.68;
    display: block;
    margin-bottom: 14px;
    color: var(--red);
    opacity: 0.6;
}

.story-message {
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.85;
    font-style: italic;
    flex: 1;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Stars */
.story-stars {
    color: var(--red);
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

/* Divider */
.story-sep { height: 1px; background: var(--border); margin-bottom: 18px; }

/* Footer: avatar + info + rank */
.story-footer { display: flex; align-items: center; gap: 13px; }

.story-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; color: var(--white);
    flex-shrink: 0;
    border: 2px solid var(--white);
    box-shadow: 0 4px 14px rgba(238,44,60,0.25);
}
.story-avatar-1,
.story-avatar-2,
.story-avatar-3,
.story-avatar-4 { background: linear-gradient(135deg, var(--red), var(--red-dark)); }

.story-photo { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); flex-shrink: 0; box-shadow: 0 4px 14px rgba(238,44,60,0.20); }

.story-info { flex: 1; min-width: 0; }
.story-name { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-exam { font-size: 12px; color: var(--red); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.story-rank-pill {
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(238,44,60,0.30);
}

/* Carousel controls */
.carousel-controls  { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 44px; position: relative; z-index: 1; }
.carousel-btn       { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); color: var(--charcoal); font-size: 16px; cursor: pointer; transition: var(--tr); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(238,44,60,0.08); }
.carousel-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); transform: scale(1.12); box-shadow: 0 8px 28px rgba(238,44,60,0.30); }
.carousel-dots      { display: flex; gap: 8px; align-items: center; }
.carousel-dot       { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: var(--tr); }
.carousel-dot.active{ background: var(--red); width: 28px; border-radius: 4px; }

/* =============================================================
   ANNOUNCEMENTS
   ============================================================= */
.announcements-section { background: var(--light); }
.announcements-grid    { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.announcement-card     { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--tr); display: flex; flex-direction: column; }
.announcement-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.announcement-image    { width: 100%; height: 190px; object-fit: cover; }
.announcement-image-placeholder { width: 100%; height: 190px; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 44px; }
.announcement-body     { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.announcement-meta     { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.announcement-type     { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--red); background: rgba(254,0,0,0.08); padding: 4px 12px; border-radius: 50px; }
.announcement-date     { font-size: 12px; color: var(--gray); }
.announcement-title    { font-size: 17px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; line-height: 1.4; }
.announcement-desc     { font-size: 14px; color: var(--gray); line-height: 1.7; flex: 1; }
.announcement-link     { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 14px; font-weight: 600; margin-top: 14px; transition: var(--tr); }
.announcement-link:hover { gap: 10px; }

/* =============================================================
   YOUTUBE REELS
   ============================================================= */
.reels-section { background: #fcf1f5; overflow: hidden; }
.reels-track-wrapper { overflow: hidden; position: relative; padding: 10px 0; }
.reels-track-wrapper::before,.reels-track-wrapper::after { display: none; }
.reels-track      { display: flex; gap: 18px; animation: slideReels 35s linear infinite; width: max-content; padding: 0 24px; }
.reels-track:hover{ animation-play-state: paused; }
@keyframes slideReels { from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.reel-item        { flex-shrink: 0; width: 210px; }
.reel-embed       { width: 210px; height: 374px; border-radius: var(--radius); overflow: hidden; background: var(--charcoal); }
.reel-embed iframe{ width: 100%; height: 100%; border: none; }
.reel-placeholder { width: 210px; height: 374px; border-radius: var(--radius); background: var(--charcoal); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: rgba(255,255,255,0.55); font-size: 13px; border: 2px solid rgba(238,44,60,0.2); transition: var(--tr); cursor: pointer; }
.reel-placeholder:hover { border-color: var(--red); color: rgba(255,255,255,0.85); }
.reel-play-icon   { width: 52px; height: 52px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--white); }

/* =============================================================
   CTA
   ============================================================= */
.cta-section    { background: linear-gradient(135deg, var(--cta-from) 0%, var(--cta-mid) 40%, var(--red-dark) 100%); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -60%; right: -5%; width: 450px; height: 450px; background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%); pointer-events: none; }
.cta-section::after { content: ''; position: absolute; bottom: -40%; left: -5%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(254,0,0,0.2) 0%, transparent 70%); pointer-events: none; }
.cta-content    { text-align: center; position: relative; z-index: 1; }
.cta-title      { font-size: clamp(26px, 4vw, 42px); color: var(--white); margin-bottom: 14px; }
.cta-subtitle   { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-actions    { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer       { background: linear-gradient(135deg, #1C1C2E 0%, #2d2d4e 100%); color: rgba(255,255,255,0.65); padding: 80px 0 0; }
.footer-grid       { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo-text  { font-size: 26px; margin-bottom: 14px; display: block; }
/* footer logo handled above */
.footer-desc       { font-size: 14px; line-height: 1.85; margin-bottom: 22px; color: rgba(255,255,255,0.55); }
.social-links      { display: flex; gap: 10px; }
.social-link       { width: 38px; height: 38px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: var(--tr); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.70); }
.social-link:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.footer-heading    { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 22px; }
.footer-links      { display: flex; flex-direction: column; gap: 11px; }
.footer-links a    { font-size: 14px; color: rgba(255,255,255,0.55); transition: var(--tr); }
.footer-links a:hover { color: var(--red); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; color: rgba(255,255,255,0.55); }
.footer-contact-icon { flex-shrink: 0; margin-top: 1px; }
.footer-bottom     { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.30); }

/* =============================================================
   PAGE BANNER & CONTENT
   ============================================================= */
.page-banner         { position: relative; padding: 140px 0 70px; overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; }
.page-banner-bg      { position: absolute; inset: 0; background: linear-gradient(135deg, var(--red-dark) 0%, var(--footer-bg) 100%); }
.page-banner-bg::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: rgba(255,255,255,0.25); }
.page-banner-bg::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40%; background: radial-gradient(ellipse at right, rgba(255,255,255,0.10), transparent); }
.page-banner-content { position: relative; z-index: 1; }
.page-banner-title   { font-size: clamp(28px, 4vw, 44px); color: var(--white); margin-bottom: 14px; }
.breadcrumb          { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.5); }
.breadcrumb a        { color: var(--red); transition: var(--tr); }
.breadcrumb a:hover  { color: var(--white); }
.breadcrumb-sep      { color: rgba(255,255,255,0.3); }
.page-banner-subtitle { font-size: 15px; color: rgba(255,255,255,0.65); margin-top: 12px; }

/* =============================================================
   ABOUT PAGE – HERO
   ============================================================= */
.ab-hero          { position: relative; background: var(--red); min-height: 520px; display: flex; align-items: center; overflow: hidden; padding: 120px 0 80px; }
.ab-hero-bg       { position: absolute; inset: 0; background: linear-gradient(135deg, var(--red-dark) 0%, var(--footer-bg) 60%, #f04050 100%); }
.ab-hero-overlay  { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=1400&q=60') center/cover; opacity: 0.07; }
.ab-hero-shape    { position: absolute; border-radius: 50%; opacity: 0.08; }
.ab-hero-shape-1  { width: 500px; height: 500px; background: var(--red); top: -200px; right: -100px; }
.ab-hero-shape-2  { width: 300px; height: 300px; background: var(--red); bottom: -150px; left: -80px; }
.ab-hero-shape-3  { width: 180px; height: 180px; background: #fff; top: 40%; left: 30%; opacity: 0.03; }
.ab-hero-inner    { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ab-hero-title    { font-size: clamp(32px, 4.5vw, 52px); color: var(--white); margin: 16px 0 14px; line-height: 1.15; }
.ab-hero-sub      { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 28px; line-height: 1.7; }
.ab-hero-pills    { display: flex; gap: 10px; flex-wrap: wrap; }
.ab-pill          { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 50px; backdrop-filter: blur(4px); }
.ab-hero-img-wrap { position: relative; }
.ab-hero-img      { width: 100%; height: 380px; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); display: block; }
.ab-hero-badge    { position: absolute; bottom: -18px; left: -18px; background: var(--red); color: var(--white); border-radius: 14px; padding: 16px 22px; text-align: center; box-shadow: 0 8px 24px rgba(254,0,0,0.4); }
.ab-badge-num     { display: block; font-size: 28px; font-weight: 800; line-height: 1; font-family: 'Poppins', sans-serif; }
.ab-badge-txt     { font-size: 12px; opacity: 0.9; line-height: 1.4; }
.ab-hero-wave     { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.ab-hero-wave svg { width: 100%; height: 60px; }

/* =============================================================
   ANNOUNCEMENT TICKER
   ============================================================= */
.irf-ticker-wrap  { position: relative; z-index: 4; }

/* ── 4 equal-width colored tabs ── */
.irf-ticker-tabs  { display: grid; grid-template-columns: repeat(4, 1fr); }
.irf-tab          { border: none; cursor: pointer; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.75); padding: 15px 12px; text-align: center; letter-spacing: 0.3px; transition: color 0.25s, background 0.25s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
                    background: rgba(0,0,0,0.55); /* fallback */
                    background: color-mix(in srgb, var(--tab-color) 50%, #000); }
.irf-tab:hover    { color: #fff; background: rgba(0,0,0,0.3); background: color-mix(in srgb, var(--tab-color) 72%, #000); }
.irf-tab.active   { color: #fff; background: var(--tab-color); }

/* ── Ticker bar ── */
.irf-ticker-bar   { display: flex; align-items: center; height: 46px; background: #ee2c3c; transition: background 0.35s ease; overflow: hidden; }
.irf-ticker-live  { flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 0 18px; height: 100%; background: rgba(0,0,0,0.25); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; }
.irf-live-dot     { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: irf-pulse 1.2s ease-in-out infinite; }
@keyframes irf-pulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.4; transform:scale(1.4); } }

/* Tracks — only active is visible */
.irf-ticker-track { display: none; flex: 1; overflow: hidden; height: 100%; }
.irf-ticker-track.active { display: block; }
.irf-ticker-inner { display: inline-flex; align-items: center; white-space: nowrap; height: 46px; animation: irf-scroll 35s linear infinite; }
.irf-ticker-bar:hover .irf-ticker-inner { animation-play-state: paused; }

.irf-tick-item    { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.92); font-size: 13.5px; padding: 0 8px; }
.irf-tick-num     { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.25); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; }
.irf-tick-date    { flex-shrink: 0; background: rgba(0,0,0,0.2); color: rgba(255,255,255,0.8); font-size: 11px; padding: 2px 8px; border-radius: 4px; }
.irf-tick-sep     { color: rgba(255,255,255,0.4); font-size: 16px; padding: 0 16px; font-weight: 300; }
.irf-ticker-more  { flex-shrink: 0; padding: 0 18px; height: 100%; display: flex; align-items: center; background: rgba(0,0,0,0.2); color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 700; letter-spacing: 0.5px; white-space: nowrap; transition: var(--tr); }
.irf-ticker-more:hover { color: #fff; background: rgba(0,0,0,0.35); }

@keyframes irf-scroll { 0%{ transform:translateX(0); } 100%{ transform:translateX(-50%); } }

/* INTRO SECTION */
.ab-intro-section  { background: var(--white); }
.ab-intro-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ab-intro-collage  { position: relative; }
.ab-collage-main   { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.ab-collage-main img { width: 100%; height: 300px; object-fit: cover; display: block; }
.ab-collage-side   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ab-collage-sm     { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.ab-collage-sm img { width: 100%; height: 150px; object-fit: cover; display: block; }
.ab-collage-badge-exp { position: absolute; top: 20px; right: -18px; background: var(--red); color: var(--white); border-radius: 12px; padding: 14px 18px; text-align: center; font-size: 13px; line-height: 1.5; box-shadow: 0 8px 24px rgba(238,44,60,0.35); }
.ab-collage-badge-exp strong { display: block; font-size: 26px; font-family: 'Poppins', sans-serif; color: var(--white); }
.ab-intro-text     { font-size: 15.5px; line-height: 1.9; color: var(--text); margin-top: 20px; }
.ab-intro-text p   { margin-bottom: 14px; }
.ab-intro-highlights { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.ab-highlight      { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text); }

/* MISSION & VISION */
.ab-mv-section  { background: var(--light); }
.ab-mv-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ab-mv-card     { border-radius: 20px; padding: 48px 40px; position: relative; overflow: hidden; }
.ab-mv-mission  { background: linear-gradient(135deg, #1C1C2E 0%, #2d2d4e 100%); }
.ab-mv-vision   { background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%); }
.ab-mv-icon-wrap { width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.ab-mv-title    { font-size: 22px; color: var(--white); margin-bottom: 14px; }
.ab-mv-text     { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.8; }
.ab-mv-line     { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: rgba(255,255,255,0.2); }
.ab-mv-card::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,0.04); }

/* TIMELINE */
.ab-journey-section { background: var(--white); }
.ab-timeline         { position: relative; margin-top: 60px; }
.ab-timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--red), rgba(238,44,60,0.15)); transform: translateX(-50%); }
/* 3-col grid: left-content | dot | right-content */
.ab-tl-item          { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: start; gap: 0; margin-bottom: 48px; }
/* ODD items: year | dot | card */
.ab-tl-odd .ab-tl-year { text-align: right; padding-right: 32px; padding-left: 0; }
.ab-tl-odd .ab-tl-card { padding-left: 32px; padding-right: 0; text-align: left; }
/* EVEN items: card | dot | year */
.ab-tl-even .ab-tl-card { padding-right: 32px; padding-left: 0; text-align: right; }
.ab-tl-even .ab-tl-year { text-align: left; padding-left: 32px; padding-right: 0; }
.ab-tl-year          { font-size: 22px; font-weight: 800; color: var(--red); font-family: 'Poppins', sans-serif; padding-top: 6px; }
.ab-tl-dot           { display: flex; align-items: flex-start; justify-content: center; padding-top: 8px; }
.ab-tl-dot::before   { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--red); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--red); flex-shrink: 0; }
.ab-tl-card          { background: var(--light); border-radius: var(--radius); padding: 20px 24px; border: 1px solid var(--border); transition: var(--tr); }
.ab-tl-card:hover    { box-shadow: var(--shadow); border-color: rgba(254,0,0,0.2); }
.ab-tl-title         { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; }
.ab-tl-desc          { font-size: 13.5px; color: var(--gray); line-height: 1.7; }

/* CORE VALUES */
.ab-values-section  { background: var(--light); }
.ab-values-section .section-title    { color: #181A17; }
.ab-values-section .section-subtitle { color: #181A17; }
.ab-values-grid     { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ab-val-card        { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 28px; transition: var(--tr); box-shadow: var(--shadow); }
.ab-val-card:hover  { border-color: rgba(238,44,60,0.3); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ab-val-icon        { font-size: 36px; margin-bottom: 16px; }
.ab-val-title       { font-size: 17px; color: var(--charcoal); margin-bottom: 10px; }
.ab-val-desc        { font-size: 14px; color: var(--gray); line-height: 1.75; }

/* WHY CHOOSE US */
.ab-why-section  {background: #fff;}
.ab-why-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ab-why-image    { position: relative; border-radius: 20px; overflow: visible; }
.ab-why-image img { width: 100%; height: 420px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); display: block; }
.ab-why-img-badge { position: absolute; bottom: -16px; right: -16px; background: var(--red); color: var(--white); border-radius: 14px; padding: 18px 24px; text-align: center; box-shadow: 0 8px 24px rgba(238,44,60,0.35); }
.ab-why-img-badge span { display: block; font-size: 30px; font-weight: 800; color: var(--white); font-family: 'Poppins', sans-serif; line-height: 1; }
.ab-why-img-badge     { font-size: 13px; opacity: 0.8; }
.ab-why-list     { display: flex; flex-direction: column; gap: 24px; }
.ab-why-item     { display: flex; gap: 20px; align-items: flex-start; }
.ab-why-num      { flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; font-family: 'Poppins', sans-serif; }
.ab-why-item strong { display: block; font-size: 15px; color: var(--charcoal); margin-bottom: 4px; }
.ab-why-item p   { font-size: 13.5px; color: var(--gray); line-height: 1.7; margin: 0; }

/* TEAM */
.ab-team-section  {background: #fcf1f5;}
.ab-team-grid     { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.ab-team-card     { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--tr); }
.ab-team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ab-team-photo-wrap { position: relative; overflow: hidden; height: 220px; background: var(--light); }
.ab-team-photo    { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.ab-team-card:hover .ab-team-photo { transform: scale(1.05); }
.ab-team-photo-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 52px; background: var(--light); }
.ab-team-info     { padding: 20px; }
.ab-team-name     { font-size: 16px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.ab-team-role     { font-size: 13px; color: var(--red); font-weight: 600; margin-bottom: 4px; }
.ab-team-exp      { font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.ab-team-bio      { font-size: 13px; color: var(--gray); line-height: 1.6; margin: 0; }

/* CTA */
.ab-cta-section   { position: relative; padding: 80px 0; overflow: hidden; }
.ab-cta-bg        { position: absolute; inset: 0; background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, #f04050 100%); }
.ab-cta-inner     { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ab-cta-title     { font-size: clamp(22px, 3vw, 34px); color: var(--white); margin-bottom: 10px; }
.ab-cta-sub       { font-size: 16px; color: rgba(255,255,255,0.75); }
.ab-cta-actions   { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
.ab-cta-section .btn-primary  { background: var(--white); color: var(--red); }
.ab-cta-section .btn-primary:hover { background: var(--light); color: var(--red); box-shadow: none; }
.ab-cta-section .btn-outline  { border-color: rgba(255,255,255,0.5); color: var(--white); }
.ab-cta-section .btn-outline:hover { background: var(--white); color: var(--red); border-color: var(--white); }

.page-content-section { background: var(--light); padding: 60px 0 80px; }
.page-content-wrap    { background: var(--white); border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; }
.page-content-wrap p  { font-size: 16px; line-height: 1.85; color: var(--text); margin-bottom: 20px; }
.page-content-wrap h2 { font-size: 26px; color: var(--charcoal); margin: 36px 0 16px; }
.page-content-wrap h3 { font-size: 20px; color: var(--charcoal); margin: 28px 0 12px; }
.page-content-wrap ul,
.page-content-wrap ol { padding-left: 24px; margin-bottom: 20px; }
.page-content-wrap li { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 8px; }
.page-content-wrap img { border-radius: 8px; margin: 20px 0; }

/* Empty page placeholder */
.page-content-wrap:empty::after,
.page-empty { text-align: center; padding: 40px; color: var(--gray); font-size: 16px; }

/* =============================================================
   BLOG ARCHIVE
   ============================================================= */
.blog-archive-section { background: var(--light); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }

.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--tr); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-thumb { display: block; overflow: hidden; height: 210px; }
.blog-thumb-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-thumb-img { transform: scale(1.04); }
.blog-thumb-placeholder { height: 210px; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 48px; color: var(--red); }
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.blog-date { font-size: 12px; color: var(--gray); }
.blog-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--red); background: rgba(254,0,0,0.08); padding: 3px 10px; border-radius: 50px; }
.blog-card-title { font-size: 18px; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; line-height: 1.4; flex: 1; }
.blog-card-title a { color: inherit; transition: var(--tr); }
.blog-card-title a:hover { color: var(--red); }
.blog-card-excerpt { font-size: 14px; color: var(--gray); line-height: 1.75; margin-bottom: 16px; }

/* =============================================================
   SINGLE POST
   ============================================================= */
.single-post-wrap { max-width: 820px; margin: 0 auto; }
.single-post-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.single-thumb-img { width: 100%; max-height: 440px; object-fit: cover; }
.single-post-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.single-post-content { margin-top: 0; }
.single-post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.single-post-nav a { font-size: 14px; font-weight: 600; color: var(--red); transition: var(--tr); }
.single-post-nav a:hover { color: var(--charcoal); }

/* =============================================================
   STORIES ARCHIVE
   ============================================================= */
.stories-archive-section { background: var(--light); }
.stories-archive-section .section-title { color: var(--charcoal); }
.stories-archive-section .section-subtitle { color: var(--gray); }
.stories-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.story-card-full { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: var(--tr); box-shadow: var(--shadow); }
.story-card-full:hover { border-color: rgba(238,44,60,0.3); box-shadow: var(--shadow-lg); }

/* =============================================================
   ARCHIVE PAGINATION
   ============================================================= */
.archive-pagination { margin-top: 52px; display: flex; justify-content: center; }
.archive-pagination .nav-links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.archive-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--charcoal); background: var(--white); border: 1px solid var(--border); transition: var(--tr); }
.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current { background: var(--red); color: var(--white); border-color: var(--red); }
.archive-pagination .page-numbers.dots { background: transparent; border: none; width: auto; }
.archive-pagination .prev.page-numbers,
.archive-pagination .next.page-numbers { width: auto; padding: 0 16px; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
    .facilities-grid    { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-grid        { grid-template-columns: 1fr 1fr; gap: 32px; }
    .learning-steps     { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .learning-steps::before { display: none; }
    .about-intro-grid   { gap: 40px; }
    .ab-hero-inner      { gap: 40px; }
    .ab-intro-grid      { gap: 40px; }
    .ab-why-grid        { gap: 40px; }
    .ab-values-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .nav-wrapper { justify-content: space-between; }
    .hamburger { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 270px; height: 100vh;
        background: linear-gradient(135deg, #1C1C2E 0%, #2d2d4e 100%);
        flex-direction: column; align-items: flex-start;
        padding: 72px 0 0; gap: 0;
        transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        overflow-y: auto;
    }
    .nav-menu.open { right: 0; }

    /* Nav links */
    .nav-menu li { width: 100%; }
    .nav-menu a {
        display: block;
        font-size: 15px; font-weight: 500;
        color: rgba(255,255,255,0.78);
        padding: 14px 28px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        transition: color 0.2s ease, padding-left 0.2s ease, background 0.2s ease;
    }
    .nav-menu a:hover {
        color: #fff;
        background: rgba(238,44,60,0.12);
        padding-left: 36px;
    }
    .nav-menu a::after { display: none; }
    .header-mock-btn { display: none; }
    .nav-cta {
        margin: 20px 28px 28px !important;
        display: block !important;
        text-align: center !important;
        border-radius: 50px !important;
        padding: 12px 22px !important;
        background: var(--red) !important;
        color: var(--white) !important;
        border-bottom: none !important;
        font-weight: 700 !important;
    }
    .nav-cta:hover { background: var(--red-dark) !important; padding-left: 22px !important; }
    .facilities-grid { grid-template-columns: 1fr; }
    .learning-steps  { grid-template-columns: 1fr; }
    .footer-grid     { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom   { flex-direction: column; gap: 10px; text-align: center; }
    .story-card        { width: 280px; min-width: 280px; max-width: 280px; }
    .hero-actions      { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .hero-features     { justify-content: center; }
    .hero-stats        { gap: 20px; }
    .about-intro-grid  { grid-template-columns: 1fr; gap: 32px; }
    .about-mv-grid     { grid-template-columns: 1fr; }
    /* About page responsive */
    .ab-hero-inner     { grid-template-columns: 1fr; gap: 40px; }
    .ab-hero-cards     { display: none; }
    .irf-tab           { font-size: 12px; padding: 13px 8px; }
    .irf-ticker-inner  { animation-duration: 22s; }
    .ab-intro-grid     { grid-template-columns: 1fr; gap: 40px; }
    .ab-collage-badge-exp { right: 12px; }
    .ab-mv-grid        { grid-template-columns: 1fr; }
    .ab-timeline::before { left: 20px; transform: none; }
    /* Mobile: 2-col grid — dot | content; year sits above card in col 2 */
    .ab-tl-item         { grid-template-columns: 40px 1fr; }
    /* Re-order DOM so dot is always col-1, year+card in col-2 */
    .ab-tl-odd .ab-tl-year,
    .ab-tl-even .ab-tl-year  { grid-column: 2; grid-row: 1; text-align: left; padding: 0 0 6px 16px; font-size: 18px; }
    .ab-tl-odd .ab-tl-dot,
    .ab-tl-even .ab-tl-dot   { grid-column: 1; grid-row: 1 / span 2; justify-content: flex-start; padding-top: 6px; }
    .ab-tl-odd .ab-tl-card,
    .ab-tl-even .ab-tl-card  { grid-column: 2; grid-row: 2; text-align: left; padding: 16px 0 16px 16px; }
    .ab-values-grid    { grid-template-columns: 1fr; }
    .ab-why-grid       { grid-template-columns: 1fr; }
    .ab-why-image img  { height: 260px; }
    .ab-cta-inner      { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .exams-grid  { grid-template-columns: repeat(2, 1fr); }
    .hero-stats  { flex-wrap: wrap; }
    .cta-actions { flex-direction: column; align-items: center; }
}


/* =============================================================
   RESULTS PAGE STYLES → assets/css/results.css
   Enqueued only on the Results page via functions.php
   ============================================================= */
