/* ═══════════════════════════════════════════════════════════════
   IGEC Sagar — College Homepage Stylesheet (3D Premium Edition)
   ═══════════════════════════════════════════════════════════════ */

:root {
    --navy:        #1a3c6e;
    --navy-dark:   #0f2447;
    --navy-mid:    #1e4785;
    --navy-deep:   #08152e;
    --accent:      #2563eb;
    --accent-lt:   #3b82f6;
    --accent-glow: rgba(37,99,235,.35);
    --white:       #ffffff;
    --off-white:   #f8fafc;
    --border:      #e2e8f0;
    --text-main:   #1e293b;
    --text-muted:  #64748b;
    --text-light:  #94a3b8;
    --gold:        #b45309;
    --gold-lt:     #fef3c7;

    /* 3D / Glass */
    --glass-bg:    rgba(255,255,255,.08);
    --glass-border:rgba(255,255,255,.18);
    --shadow-card: 0 20px 60px rgba(10,20,55,.25);
    --shadow-glow: 0 0 40px rgba(37,99,235,.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-main);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════════════════════════
   PARTICLE CANVAS
   ═══════════════════════════════════════════════════════════════ */
#particleCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: .55;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.igec-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.igec-nav.scrolled {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,.08);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 24px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--navy-mid), var(--accent));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.18rem;
    box-shadow: 0 4px 14px rgba(37,99,235,.4);
    flex-shrink: 0;
    transition: transform .3s;
}
.nav-brand:hover .nav-logo { transform: rotate(-6deg) scale(1.08); }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name {
    font-size: .97rem; font-weight: 700; color: #fff; line-height: 1.2;
    text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.igec-nav.scrolled .nav-brand-name { color: var(--navy); text-shadow: none; }
.nav-brand-sub { font-size: .68rem; color: rgba(255,255,255,.65); font-weight: 500; }
.igec-nav.scrolled .nav-brand-sub { color: var(--text-muted); }

.nav-links {
    display: flex; list-style: none; gap: 2px; flex: 1; justify-content: center;
}
.nav-links a {
    display: inline-block;
    padding: 6px 14px;
    font-size: .88rem; font-weight: 500;
    color: rgba(255,255,255,.88);
    text-decoration: none;
    border-radius: 6px;
    transition: background .2s, color .2s;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: #fff; border-radius: 2px;
    transition: width .25s;
}
.nav-links a:hover { background: rgba(255,255,255,.12); }
.nav-links a:hover::after { width: 60%; }
.igec-nav.scrolled .nav-links a { color: var(--text-main); }
.igec-nav.scrolled .nav-links a::after { background: var(--accent); }
.igec-nav.scrolled .nav-links a:hover { background: rgba(37,99,235,.08); color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-nav-login {
    padding: 8px 18px; font-size: .85rem; font-weight: 600;
    color: rgba(255,255,255,.9); text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.35);
    border-radius: 8px;
    transition: all .25s;
}
.btn-nav-login:hover { background: rgba(255,255,255,.15); color: #fff; }
.igec-nav.scrolled .btn-nav-login { color: var(--navy); border-color: var(--border); }
.igec-nav.scrolled .btn-nav-login:hover { background: var(--off-white); }

.btn-nav-apply {
    padding: 8px 18px; font-size: .85rem; font-weight: 700;
    color: #fff; text-decoration: none;
    background: linear-gradient(135deg, var(--navy-mid), var(--accent));
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(37,99,235,.35);
    transition: transform .2s, box-shadow .2s;
}
.btn-nav-apply:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.45); }

.nav-hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: #fff; border-radius: 2px; transition: all .3s;
}
.igec-nav.scrolled .nav-hamburger span { background: var(--navy); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION — 3D CINEMATIC
   ═══════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-deep);
}

/* 3D layered photo scene */
.hero-3d-scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transform-style: preserve-3d;
}
.hero-img-layer {
    position: absolute;
    inset: -8%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: transform .05s linear;
}
.hero-img-back {
    filter: brightness(.45) blur(1px);
    transform: scale(1.1);
}
.hero-img-front {
    opacity: .38;
    filter: brightness(.5);
    transform: scale(1.06);
    mix-blend-mode: luminosity;
}
.hero-gradient-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        135deg,
        rgba(8,21,46,.92) 0%,
        rgba(15,36,71,.75) 40%,
        rgba(26,60,110,.55) 70%,
        rgba(37,99,235,.2) 100%
    );
}
.hero-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(8,21,46,.7) 100%);
}

/* Floating geometric shapes */
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: .08;
    will-change: transform;
}
.shape-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--accent), transparent);
    top: -120px; right: -100px;
    animation: shapeDrift 8s ease-in-out infinite;
}
.shape-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #60a5fa, transparent);
    bottom: 80px; left: -80px;
    animation: shapeDrift 11s ease-in-out infinite reverse;
}
.shape-3 {
    width: 180px; height: 180px;
    background: radial-gradient(circle, var(--accent-lt), transparent);
    top: 40%; right: 20%;
    animation: shapeDrift 7s ease-in-out infinite;
    opacity: .12;
}
.shape-4 {
    width: 120px; height: 120px;
    background: radial-gradient(circle, #93c5fd, transparent);
    top: 25%; left: 15%;
    animation: shapeDrift 9s ease-in-out infinite 2s;
    opacity: .15;
}
@keyframes shapeDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(18px, -22px) scale(1.05); }
}

/* Hero content */
.hero-section .container { position: relative; z-index: 2; padding-top: 100px; }
.hero-content {
    max-width: 680px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .9s ease, transform .9s ease;
}
.hero-content.entered { opacity: 1; transform: translateY(0); }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .8rem; font-weight: 600;
    color: rgba(255,255,255,.75);
    letter-spacing: .04em; text-transform: uppercase;
    margin-bottom: 20px;
}
.eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-lt);
    box-shadow: 0 0 10px var(--accent-lt);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 18px;
    text-shadow: 0 4px 32px rgba(0,0,0,.4);
}
.title-line-1 {
    display: block;
    background: linear-gradient(90deg, #fff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.title-line-2 {
    display: block;
    background: linear-gradient(90deg, #93c5fd 0%, #60a5fa 60%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-location {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: .95rem; font-weight: 500;
    color: rgba(255,255,255,.7);
    margin-bottom: 20px;
}
.hero-location i { color: var(--accent-lt); }

.hero-desc {
    font-size: 1.08rem; font-weight: 400;
    color: rgba(255,255,255,.65);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-hero-primary {
    position: relative;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 15px 32px;
    font-size: 1rem; font-weight: 700;
    color: #fff; text-decoration: none;
    background: linear-gradient(135deg, var(--accent) 0%, #1d4ed8 100%);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(37,99,235,.5);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(37,99,235,.6); }
.btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 15px 30px;
    font-size: 1rem; font-weight: 600;
    color: rgba(255,255,255,.9); text-decoration: none;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: background .25s, border-color .25s, transform .25s;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.6);
    transform: translateY(-3px);
}

/* Shine sweep */
.btn-shine {
    position: absolute; top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    transform: skewX(-20deg);
    animation: shineSweep 3s ease-in-out infinite 1s;
}
@keyframes shineSweep {
    0%   { left: -75%; }
    40%, 100% { left: 130%; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    z-index: 3; color: rgba(255,255,255,.5); font-size: .72rem; letter-spacing: .06em;
    text-transform: uppercase;
    animation: scrollBob 2.5s ease-in-out infinite;
}
@keyframes scrollBob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
.scroll-mouse {
    width: 22px; height: 36px;
    border: 2px solid rgba(255,255,255,.35);
    border-radius: 11px;
    display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
    width: 3px; height: 8px;
    background: rgba(255,255,255,.5);
    border-radius: 2px;
    animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }

/* ═══════════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════════ */
.stats-bar {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    padding: 0;
    box-shadow: 0 4px 30px rgba(10,20,55,.2);
    position: relative; z-index: 3;
}
.stats-bar-inner {
    display: flex; align-items: stretch; justify-content: center;
    flex-wrap: wrap;
}
.stat-item {
    flex: 1; min-width: 140px;
    display: flex; flex-direction: column; align-items: center;
    padding: 28px 20px;
    gap: 5px;
    position: relative;
    transition: background .25s;
}
.stat-item:hover { background: rgba(255,255,255,.06); }
.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem; font-weight: 800; color: #fff;
    line-height: 1;
    background: linear-gradient(90deg, #fff, #93c5fd);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-txt { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.6); text-align: center; }
.stat-divider { width: 1px; background: rgba(255,255,255,.15); margin: 16px 0; }

/* ═══════════════════════════════════════════════════════════════
   CAMPUS GALLERY
   ═══════════════════════════════════════════════════════════════ */
.section-gallery {
    padding: 100px 0;
    background: var(--off-white);
    position: relative; overflow: hidden;
}
.section-gallery::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--accent));
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    grid-template-rows: auto;
    gap: 20px;
    margin-top: 48px;
    align-items: start;
}
.gallery-card { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.gallery-card-inner { position: relative; overflow: hidden; }
.gallery-card--large .gallery-card-inner { height: 420px; }
.gallery-card--tall   .gallery-card-inner { height: 420px; }
.gallery-card-inner img {
    transition: transform .6s cubic-bezier(.25,.8,.25,1);
}
.gallery-card:hover .gallery-card-inner img { transform: scale(1.07); }

.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,21,46,.85) 0%, transparent 55%);
    display: flex; align-items: flex-end; padding: 22px;
    opacity: 0; transition: opacity .35s;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-label {
    display: flex; align-items: center; gap: 8px;
    color: #fff; font-size: .88rem; font-weight: 600;
}
.gallery-label i { font-size: 1rem; color: var(--accent-lt); }

/* Info card in gallery */
.gallery-info-card {
    background: linear-gradient(135deg, var(--navy), var(--accent));
    border-radius: 18px;
    padding: 36px 28px;
    color: #fff;
    box-shadow: var(--shadow-card);
    display: flex; flex-direction: column; gap: 14px;
    height: 420px; justify-content: center;
}
.gallery-info-icon {
    width: 56px; height: 56px;
    background: rgba(255,255,255,.15);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: #fff;
    backdrop-filter: blur(8px);
}
.gallery-info-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800; }
.gallery-info-card p { font-size: .9rem; color: rgba(255,255,255,.75); line-height: 1.65; }
.gallery-info-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill {
    display: inline-block; padding: 5px 12px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 20px;
    font-size: .75rem; font-weight: 600; color: #fff;
    backdrop-filter: blur(8px);
}

/* ═══════════════════════════════════════════════════════════════
   SECTION COMMONS
   ═══════════════════════════════════════════════════════════════ */
.section-header { text-align: center; }
.section-tag {
    display: inline-block;
    padding: 5px 16px;
    font-size: .75rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--accent);
    background: rgba(37,99,235,.1);
    border-radius: 20px;
    margin-bottom: 14px;
}
.section-tag.light { color: rgba(255,255,255,.85); background: rgba(255,255,255,.15); }
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--text-main); line-height: 1.2;
    margin-bottom: 12px;
}
.section-desc { font-size: .97rem; color: var(--text-muted); max-width: 540px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-about { padding: 100px 0; background: #fff; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-para { font-size: .97rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; }
.about-info-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px;
}
.about-info-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px;
    background: var(--off-white);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.about-info-item:hover {
    border-color: var(--accent-lt);
    box-shadow: 0 4px 20px rgba(37,99,235,.1);
    transform: translateY(-2px);
}
.about-info-icon {
    width: 38px; height: 38px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--navy), var(--accent));
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .95rem;
}
.about-info-item div { display: flex; flex-direction: column; gap: 2px; }
.about-info-item strong { font-size: .8rem; font-weight: 700; color: var(--text-main); }
.about-info-item span { font-size: .8rem; color: var(--text-muted); }

/* 3D About card */
.about-3d-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(10,20,55,.22);
    border: 1px solid var(--border);
    transition: transform .4s, box-shadow .4s;
}
.about-3d-card:hover {
    transform: perspective(800px) rotateY(-4deg) rotateX(2deg) translateY(-6px);
    box-shadow: 0 40px 100px rgba(10,20,55,.3);
}
.about-card-img { position: relative; height: 280px; overflow: hidden; }
.about-card-img img { transition: transform .6s; }
.about-3d-card:hover .about-card-img img { transform: scale(1.06); }
.about-card-badge {
    position: absolute; top: 16px; right: 16px;
    background: rgba(15,36,71,.85);
    backdrop-filter: blur(10px);
    color: #93c5fd;
    font-size: .75rem; font-weight: 700;
    padding: 6px 12px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,.15);
    display: flex; align-items: center; gap: 5px;
}
.about-card-body {
    display: flex; align-items: stretch;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
}
.about-card-stat {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    padding: 22px 14px; gap: 5px;
}
.acs-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem; font-weight: 800; color: #fff;
    background: linear-gradient(90deg, #fff, #93c5fd);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.acs-lbl { font-size: .72rem; color: rgba(255,255,255,.55); font-weight: 500; }
.about-card-divider { width: 1px; background: rgba(255,255,255,.15); margin: 12px 0; }

/* ═══════════════════════════════════════════════════════════════
   ACADEMICS / BRANCH CARDS
   ═══════════════════════════════════════════════════════════════ */
.section-academics {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--off-white) 0%, #eef2ff 100%);
    position: relative; overflow: hidden;
}
.section-academics::after {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563eb' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 48px;
    position: relative; z-index: 1;
}
.branch-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 32px 22px 28px;
    border: 1.5px solid var(--border);
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
    transform-style: preserve-3d;
}
.branch-card:hover {
    border-color: var(--accent-lt);
    box-shadow: 0 20px 60px rgba(37,99,235,.18);
}
.branch-card-glow {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(37,99,235,.08), transparent 70%);
    opacity: 0; transition: opacity .35s;
}
.branch-card:hover .branch-card-glow { opacity: 1; }
.branch-icon {
    width: 58px; height: 58px; margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--navy-dark), var(--accent));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(37,99,235,.3);
    transition: transform .3s, box-shadow .3s;
}
.branch-card:hover .branch-icon {
    transform: translateZ(12px) scale(1.08);
    box-shadow: 0 12px 32px rgba(37,99,235,.45);
}
.branch-code {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem; font-weight: 900; color: var(--navy);
    margin-bottom: 6px;
}
.branch-name {
    font-size: .82rem; font-weight: 700; color: var(--text-main);
    margin-bottom: 10px; line-height: 1.35;
}
.branch-desc { font-size: .75rem; color: var(--text-muted); line-height: 1.6; }
.branch-arrow {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    background: var(--accent);
    border-radius: 50%; color: #fff; font-size: .85rem;
    margin-top: 16px;
    opacity: 0; transform: translateY(8px);
    transition: opacity .3s, transform .3s;
}
.branch-card:hover .branch-arrow { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════
   ADMISSION SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-admission {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, #1e3a8a 100%);
    overflow: hidden;
}
.section-admission::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.admission-bg-overlay { position: absolute; inset: 0; }

.admission-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 56px;
    align-items: start;
    position: relative; z-index: 2;
    margin-top: 48px;
}

.admission-steps { display: flex; flex-direction: column; gap: 0; }
.step-item {
    display: flex; gap: 22px; align-items: flex-start;
    padding: 28px 24px;
    border-radius: 14px;
    transition: background .25s;
    position: relative;
}
.step-item:hover { background: rgba(255,255,255,.06); }
.step-item:not(:last-child)::after {
    content: '';
    position: absolute; left: 47px; bottom: 0;
    width: 2px; height: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
    top: 68px; bottom: 0;
}
.step-num {
    flex-shrink: 0;
    width: 50px; height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(37,99,235,.4);
}
.step-content h4 {
    font-size: 1rem; font-weight: 700; color: #fff;
    margin-bottom: 6px;
}
.step-content p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.65; }

/* CTA Card — glassmorphism */
.admission-cta-card {
    position: relative;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 22px;
    padding: 36px 30px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.cta-glow {
    position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(37,99,235,.35), transparent);
    pointer-events: none;
    animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse { 0%, 100% { opacity: .5; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.15); } }
.cta-icon {
    width: 64px; height: 64px; margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.7rem;
    box-shadow: 0 8px 28px rgba(37,99,235,.5);
    position: relative; z-index: 1;
}
.admission-cta-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem; font-weight: 800; color: #fff;
    margin-bottom: 12px; position: relative; z-index: 1;
}
.admission-cta-card > p {
    font-size: .88rem; color: rgba(255,255,255,.7);
    line-height: 1.65; margin-bottom: 24px;
    position: relative; z-index: 1;
}
.btn-cta-apply {
    position: relative; display: block;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    color: #fff; text-decoration: none;
    font-size: .95rem; font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(37,99,235,.4);
    overflow: hidden;
    margin-bottom: 16px;
    transition: transform .25s, box-shadow .25s;
}
.btn-cta-apply:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(37,99,235,.55); }
.cta-divider {
    font-size: .78rem; color: rgba(255,255,255,.45);
    margin: 4px 0 14px;
}
.btn-cta-login {
    display: block;
    padding: 12px 24px;
    color: rgba(255,255,255,.85); text-decoration: none;
    font-size: .9rem; font-weight: 600;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 12px;
    margin-bottom: 18px;
    transition: background .25s, border-color .25s;
}
.btn-cta-login:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.cta-note {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: .75rem; color: rgba(255,255,255,.45);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.home-footer {
    background: var(--navy-dark);
    padding: 64px 0 0;
    border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand i { font-size: 1.6rem; color: var(--accent-lt); }
.footer-brand span { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 800; color: #fff; }
.footer-tagline { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 10px; }
.footer-affil { font-size: .78rem; color: rgba(255,255,255,.35); }

.footer-links-col h5, .footer-info-col h5 {
    font-size: .78rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: rgba(255,255,255,.4);
    margin-bottom: 16px;
}
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a {
    font-size: .87rem; color: rgba(255,255,255,.6);
    text-decoration: none; transition: color .2s;
}
.footer-links-col a:hover { color: var(--accent-lt); }

.footer-info-col { display: flex; flex-direction: column; gap: 12px; }
.footer-info-item {
    display: flex; align-items: center; gap: 10px;
    font-size: .85rem; color: rgba(255,255,255,.6);
}
.footer-info-item i { color: var(--accent-lt); font-size: .95rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.25,.8,.25,1), transform .8s cubic-bezier(.25,.8,.25,1);
}
.reveal.revealed { opacity: 1; transform: none; }

/* stagger siblings */
.branches-grid .branch-card:nth-child(2) { transition-delay: .08s; }
.branches-grid .branch-card:nth-child(3) { transition-delay: .16s; }
.branches-grid .branch-card:nth-child(4) { transition-delay: .24s; }
.branches-grid .branch-card:nth-child(5) { transition-delay: .32s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .branches-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .about-grid        { grid-template-columns: 1fr; gap: 40px; }
    .about-visual      { order: -1; }
    .gallery-grid      { grid-template-columns: 1fr 1fr; }
    .gallery-card--large { grid-column: 1 / -1; }
    .gallery-info-card   { grid-column: 1 / -1; height: auto; }
    .admission-layout  { grid-template-columns: 1fr; }
    .footer-grid       { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 70px; left: 0; right: 0;
        background: rgba(8,21,46,.97);
        backdrop-filter: blur(16px);
        padding: 20px 24px; gap: 4px; z-index: 99;
        border-top: 1px solid rgba(255,255,255,.1);
    }
    .nav-links.open a { color: rgba(255,255,255,.9) !important; padding: 12px 16px; border-radius: 8px; }
    .nav-hamburger { display: flex; }
    .branches-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid  { grid-template-columns: 1fr; }
    .gallery-card--large .gallery-card-inner,
    .gallery-card--tall   .gallery-card-inner { height: 260px; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-bar-inner { grid-template-columns: repeat(2,1fr); display: grid; }
    .stat-divider { display: none; }
}
@media (max-width: 480px) {
    .branches-grid { grid-template-columns: 1fr; }
    .about-info-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
}
