@import url('https://fonts.cdnfonts.com/css/old-english-five');

/* ══════════════════════════════════════════
   St. Xavier's Gateway — Mockup UI
   Navy · Maroon · Gold
   ══════════════════════════════════════════ */

:root {
    --sx-navy: #1B2A4A;
    --sx-navy-deep: #142038;
    --sx-navy-mid: #243656;
    --sx-maroon: #8B1E3F;
    --sx-maroon-dark: #6E1530;
    --sx-maroon-bright: #A02448;
    --sx-gold: #E8B923;
    --sx-gold-bright: #F5C518;
    --sx-gold-pale: #FFF6D6;
    --sx-bg: #F4F6F9;
    --sx-surface: #ffffff;
    --sx-text: #1B2A4A;
    --sx-text-soft: #5A6A85;
    --sx-shadow: 0 10px 30px rgba(27, 42, 74, 0.1);
    --sx-font: 'Roboto', Arial, Helvetica, sans-serif;
    --sx-serif: 'Roboto Slab', Georgia, serif;
    --sx-display: 'Cooper Black', Cooper, Arial Black, Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.landing-page {
    min-height: 100dvh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: var(--sx-font);
    background: var(--sx-bg);
    color: var(--sx-text);
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

.sx-gate {
    width: 100%;
    max-width: 100%;
    padding: 0 0 32px;
    overflow-x: clip;
}

.sx-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(14px, 4vw, 28px);
    width: 100%;
}

/* ── Campus banner ── */
.sx-gate-campus {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1024 / 384;
    background: var(--sx-navy-mid);
    box-shadow: 0 4px 0 var(--sx-maroon);
}

.sx-gate-campus__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.sx-gate-campus__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, transparent 45%, transparent 100%);
    pointer-events: none;
}

.sx-gate-campus__sky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 72%;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 3%;
    text-align: center;
    pointer-events: none;
}

.sx-gate-campus__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

.sx-gate-campus__name-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.sx-gate-campus__logo {
    display: block;
    width: clamp(53px, 8.4vw, 82px);
    height: auto;
    max-width: clamp(53px, 8.4vw, 82px);
    max-height: clamp(53px, 8.4vw, 82px);
    aspect-ratio: 1;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(27, 42, 74, 0.2));
}

.sx-gate-campus__title {
    font-family: var(--sx-display);
    font-size: clamp(1.45rem, 4.6vw, 3.2rem);
    font-weight: 900;
    color: var(--sx-maroon);
    margin: 0;
    white-space: nowrap;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 #fff, 0 2px 10px rgba(139, 30, 63, 0.18);
}

.sx-gate-campus__addr {
    font-family: var(--sx-serif);
    font-size: clamp(12px, 2.8vw, 20px);
    font-weight: 600;
    color: var(--sx-navy);
    margin: 0;
    line-height: 1.35;
    max-width: 92vw;
}

.sx-gate-campus__affil {
    font-family: var(--sx-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    background: linear-gradient(135deg, var(--sx-maroon), var(--sx-maroon-dark));
    padding: 4px 14px;
    border-radius: 6px;
    display: inline-block;
    max-width: 92vw;
    line-height: 1.4;
}

.sx-gate-campus__branches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14%;
    pointer-events: auto;
}

.sx-branch-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 188px;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1rem, 2vw, 1.18rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 42%),
        linear-gradient(160deg, var(--sx-maroon-bright), var(--sx-maroon) 52%, var(--sx-maroon-dark));
    border: 2.5px solid #fff;
    box-shadow:
        0 12px 26px rgba(110, 21, 48, 0.38),
        0 0 0 3px rgba(139, 30, 63, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    overflow: hidden;
}

.sx-branch-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.45s ease;
}

.sx-branch-chip:hover {
    transform: translateY(-4px) scale(1.04);
    filter: brightness(1.06);
    box-shadow:
        0 16px 32px rgba(110, 21, 48, 0.45),
        0 0 0 3px rgba(139, 30, 63, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.sx-branch-chip:hover::before {
    transform: translateX(120%);
}

.sx-branch-chip__name {
    position: relative;
    z-index: 1;
}

.sx-gate-campus__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: clamp(28px, 5vw, 48px);
    z-index: 3;
}

/* ── Shared section / headings ── */
.sx-section {
    padding: 36px 0 8px;
}

.sx-head {
    text-align: center;
    margin-bottom: 28px;
}

.sx-head__eyebrow {
    font-family: var(--sx-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.sx-head__eyebrow--gold {
    color: var(--sx-gold);
}

.sx-head__eyebrow--maroon {
    color: var(--sx-maroon);
}

.sx-head__eyebrow--lined {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.sx-head__eyebrow--lined::before,
.sx-head__eyebrow--lined::after {
    content: '';
    width: 40px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.sx-head__title {
    font-family: var(--sx-serif);
    font-size: clamp(1.6rem, 4vw, 2.15rem);
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 8px;
    line-height: 1.2;
}

.sx-head--light .sx-head__title {
    color: #fff;
}

.sx-head__sub {
    font-family: var(--sx-font);
    font-size: clamp(0.88rem, 1.8vw, 1rem);
    color: var(--sx-text-soft);
    margin: 0 auto;
    max-width: 520px;
    line-height: 1.5;
}

.sx-head--light .sx-head__sub {
    color: rgba(255, 255, 255, 0.78);
}

/* ── Buttons ── */
.sx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--sx-font);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.sx-btn:hover {
    transform: translateY(-2px);
}

.sx-btn--maroon {
    background: linear-gradient(135deg, var(--sx-maroon-bright), var(--sx-maroon));
    color: #fff;
    box-shadow: 0 8px 22px rgba(139, 30, 63, 0.35);
}

.sx-btn--gold {
    background: linear-gradient(135deg, var(--sx-gold-bright), var(--sx-gold));
    color: var(--sx-navy);
    box-shadow: 0 8px 22px rgba(232, 185, 35, 0.4);
    padding-right: 10px;
}

.sx-btn__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sx-navy);
    color: #fff;
    font-size: 14px;
}

/* ══════════════════════════════════════════
   TOPPERS / ACHIEVERS
   ══════════════════════════════════════════ */
.sx-toppers__layout {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 22px;
    align-items: stretch;
}

/* Featured rank-1 card */
.sx-featured {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(165deg, var(--sx-navy-mid) 0%, var(--sx-navy) 45%, var(--sx-navy-deep) 100%);
    border-radius: 22px;
    padding: 32px 22px 28px;
    text-align: center;
    color: #fff;
    box-shadow: 0 16px 40px rgba(27, 42, 74, 0.28);
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin: 0;
    height: 100%;
    min-height: 420px;
}

.sx-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 10%, rgba(232, 185, 35, 0.12), transparent 40%),
        radial-gradient(circle at 15% 85%, rgba(139, 30, 63, 0.18), transparent 45%);
    pointer-events: none;
}

.sx-featured__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    width: 54px;
    height: 62px;
    background: linear-gradient(180deg, var(--sx-gold-bright), var(--sx-gold));
    clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--sx-navy);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    padding-bottom: 8px;
}

.sx-featured__badge-num {
    font-family: var(--sx-serif);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.sx-featured__badge-lbl {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.sx-featured__photo-wrap {
    position: relative;
    width: 60%;
    max-width: 260px;
    aspect-ratio: 1;
    height: auto;
    margin: 18px auto 28px;
    z-index: 1;
}

.sx-featured__wreath {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 3px solid transparent;
    background:
        linear-gradient(var(--sx-navy), var(--sx-navy)) padding-box,
        linear-gradient(135deg, var(--sx-gold-bright), #fff3a0, var(--sx-gold), #c49a12) border-box;
    box-shadow:
        0 0 0 6px rgba(232, 185, 35, 0.15),
        0 0 0 10px rgba(232, 185, 35, 0.08);
    pointer-events: none;
}

.sx-featured__wreath::before,
.sx-featured__wreath::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 22px;
    height: 70%;
    border: 2px solid var(--sx-gold);
    border-radius: 50%;
    opacity: 0.7;
    transform: translateY(-50%);
}

.sx-featured__wreath::before {
    left: -6px;
    border-right: none;
}

.sx-featured__wreath::after {
    right: -6px;
    border-left: none;
}

.sx-featured__photo {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.25);
    background: #fff;
}

.sx-featured__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.sx-featured__ribbon {
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    z-index: 3;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, var(--sx-maroon-bright), var(--sx-maroon));
    padding: 7px 18px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sx-featured__ribbon::before,
.sx-featured__ribbon::after {
    content: '';
    position: absolute;
    bottom: -5px;
    border-style: solid;
    border-width: 5px 6px 0;
}

.sx-featured__ribbon::before {
    left: -1px;
    border-color: var(--sx-maroon-dark) transparent transparent transparent;
    transform: rotate(25deg);
}

.sx-featured__ribbon::after {
    right: -1px;
    border-color: var(--sx-maroon-dark) transparent transparent transparent;
    transform: rotate(-25deg);
}

.sx-featured__spark {
    position: absolute;
    color: var(--sx-gold-bright);
    font-size: 14px;
    animation: sx-sparkle 2.4s ease-in-out infinite;
    z-index: 2;
    text-shadow: 0 0 8px rgba(245, 197, 24, 0.8);
}

.sx-featured__spark--1 {
    top: 8%;
    right: 4%;
    animation-delay: 0s;
}

.sx-featured__spark--2 {
    top: 42%;
    left: -2%;
    font-size: 11px;
    animation-delay: 0.7s;
}

.sx-featured__spark--3 {
    bottom: 18%;
    right: -4%;
    font-size: 12px;
    animation-delay: 1.3s;
}

@keyframes sx-sparkle {

    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.sx-featured__name {
    position: relative;
    z-index: 1;
    font-family: var(--sx-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight: 700;
    margin: 8px 0 6px;
    color: #fff;
}

.sx-featured__score {
    position: relative;
    z-index: 1;
    font-family: var(--sx-serif);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--sx-gold-bright);
    margin: 0 0 14px;
    text-shadow: 0 2px 12px rgba(245, 197, 24, 0.35);
    line-height: 1;
}

.sx-featured__meta {
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.7);
    margin: auto 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sx-featured__meta span {
    color: var(--sx-gold);
    margin: 0 6px;
}

/* Side list cards — three city toppers stacked */
.sx-toppers__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    min-height: 420px;
}

.sx-list-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    flex: 1 1 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 249, 252, 0.98) 100%);
    border-radius: 20px;
    padding: 18px 20px 16px;
    box-shadow:
        0 14px 36px rgba(27, 42, 74, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(27, 42, 74, 0.08);
    border-left: 5px solid var(--sx-navy);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    text-align: left;
}

.sx-list-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at top right, rgba(232, 185, 35, 0.18), transparent 70%);
    pointer-events: none;
}

.sx-list-card__glow {
    position: absolute;
    top: -30%;
    right: -8%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 185, 35, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.sx-list-card__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image:
        radial-gradient(circle at 20% 30%, var(--sx-navy) 1px, transparent 1.5px),
        radial-gradient(circle at 80% 70%, var(--sx-gold) 1px, transparent 1.5px);
    background-size: 18px 18px, 22px 22px;
    pointer-events: none;
}

.sx-list-card__crown {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 2;
    font-size: 16px;
    color: var(--sx-gold);
    text-shadow: 0 2px 8px rgba(232, 185, 35, 0.55);
    animation: sx-sparkle 2.8s ease-in-out infinite;
    pointer-events: none;
}

.sx-list-card:hover {
    transform: translateX(6px) translateY(-4px);
    box-shadow: 0 22px 44px rgba(27, 42, 74, 0.18);
}

.sx-list-card__main {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.sx-list-card__details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.sx-list-card__topline {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.sx-list-card__rank {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--sx-navy-mid), var(--sx-navy));
    color: #fff;
    font-family: var(--sx-serif);
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 0 rgba(20, 32, 56, 0.35), 0 8px 16px rgba(27, 42, 74, 0.28);
    border: 2px solid rgba(255, 255, 255, 0.9);
}


/* Rank 2 — silver highlight */
.sx-list-card--rank-2 {
    background:
        linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%),
        linear-gradient(160deg, #ffffff 0%, #F0F4F9 45%, #E4EBF4 100%);
    background-size: 200% 100%, 100% 100%;
    animation: sx-list-shine 5s ease-in-out infinite;
    border-left-color: #8FA3BF;
    border-top-color: rgba(27, 42, 74, 0.08);
    box-shadow:
        0 10px 28px rgba(27, 42, 74, 0.1),
        0 0 0 1px rgba(143, 163, 191, 0.25),
        inset 0 1px 0 #fff;
}

@keyframes sx-list-shine {
    0%, 100% { background-position: 100% 0, 0 0; }
    50% { background-position: -100% 0, 0 0; }
}

.sx-list-card--rank-2 .sx-list-card__glow {
    background: radial-gradient(circle, rgba(143, 163, 191, 0.32) 0%, transparent 70%);
}

.sx-list-card--rank-2 .sx-list-card__rank {
    background: linear-gradient(145deg, #E8EEF5, #A8B8CC 45%, #7E93AD);
    color: var(--sx-navy);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 0 #6B7F96, 0 8px 16px rgba(126, 147, 173, 0.45);
    border-color: #fff;
}

.sx-list-card--rank-2 .sx-list-card__photo {
    width: 122px;
    height: 122px;
    max-width: none;
    aspect-ratio: auto;
}

.sx-list-card--rank-2 .sx-list-card__photo-ring {
    background: linear-gradient(135deg, #E8EEF5, #A8B8CC, #7E93AD, #C5D0DE);
}

.sx-list-card--rank-2 .sx-list-card__name {
    font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.sx-list-card--rank-2 .sx-list-card__score {
    font-size: clamp(1.4rem, 2.6vw, 1.65rem);
    background: linear-gradient(90deg, var(--sx-maroon), #C2395F);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sx-list-card--rank-2 .sx-list-card__badge {
    background: linear-gradient(135deg, var(--sx-navy-mid), var(--sx-navy));
    color: #fff;
    box-shadow: 0 4px 12px rgba(27, 42, 74, 0.28);
    padding: 7px 12px;
}

.sx-list-card--rank-2:hover {
    border-left-color: var(--sx-navy);
    box-shadow: 0 18px 40px rgba(27, 42, 74, 0.16);
    animation: none;
}

/* Rank 3 — bronze / maroon */
.sx-list-card--rank-3 {
    border-left-color: var(--sx-maroon);
}

.sx-list-card--rank-3 .sx-list-card__photo-ring {
    background: linear-gradient(135deg, #E8A070, var(--sx-maroon-bright), var(--sx-maroon), #C46A3A);
}

.sx-list-card--rank-3 .sx-list-card__photo {
    border-color: transparent;
    box-shadow: none;
}

.sx-list-card--rank-3 .sx-list-card__rank {
    background: linear-gradient(145deg, #C46A3A, var(--sx-maroon));
    box-shadow: 0 4px 0 var(--sx-maroon-dark), 0 6px 14px rgba(139, 30, 63, 0.35);
}

.sx-list-card--rank-3 .sx-list-card__glow {
    background: radial-gradient(circle, rgba(139, 30, 63, 0.12) 0%, transparent 70%);
}

.sx-list-card--rank-4 .sx-list-card__photo-ring {
    background: linear-gradient(135deg, var(--sx-gold-bright), var(--sx-gold), #c49a12, var(--sx-maroon-bright));
}

.sx-list-card--rank-4 .sx-list-card__rank {
    background: linear-gradient(145deg, #5C7A9A, var(--sx-navy));
}

.sx-head--toppers {
    margin-bottom: 32px;
}

.sx-head--toppers .sx-head__eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.sx-head--toppers .sx-head__title {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.sx-head--toppers .sx-head__title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--sx-gold), var(--sx-maroon));
}

.sx-list-card__photo {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 118px;
    height: 118px;
    aspect-ratio: auto;
    max-width: none;
    border-radius: 50%;
    overflow: visible;
    border: none;
    box-shadow: none;
    background: transparent;
}

.sx-list-card__photo-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sx-gold-bright), #fff3a0, var(--sx-gold), #c49a12);
    box-shadow:
        0 0 0 3px rgba(232, 185, 35, 0.2),
        0 10px 22px rgba(27, 42, 74, 0.18);
    z-index: 0;
    pointer-events: none;
}

.sx-list-card__photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 3px solid #fff;
    background: #fff;
    transition: transform 0.3s ease;
}

.sx-list-card:hover .sx-list-card__photo img {
    transform: scale(1.06);
}

.sx-list-card__info {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    text-align: left;
    width: auto;
}

.sx-list-card__badge {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: var(--sx-navy);
    background: linear-gradient(180deg, #FFE566, var(--sx-gold));
    padding: 7px 12px;
    border-radius: 999px;
    margin-left: auto;
    box-shadow: 0 4px 12px rgba(232, 185, 35, 0.35);
}

.sx-list-card__name {
    font-family: var(--sx-serif);
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sx-list-card__score {
    font-family: var(--sx-serif);
    font-size: clamp(1.35rem, 2.6vw, 1.6rem);
    font-weight: 800;
    color: var(--sx-maroon);
    margin: 0;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.sx-list-card__tagline {
    margin: 4px 0 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--sx-text-soft);
}

.sx-toppers__cta {
    text-align: center;
    margin-top: 28px;
}

/* ══════════════════════════════════════════
   FACILITIES
   ══════════════════════════════════════════ */
.sx-facilities__panel {
    position: relative;
    background: transparent;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    box-shadow: none;
    border: none;
}

.sx-facilities__panel::before,
.sx-facilities__panel::after {
    display: none;
}

.sx-facilities__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.sx-facility-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 30px 16px 26px;
    border: 1.5px solid rgba(27, 42, 74, 0.08);
    border-radius: 20px;
    background:
        linear-gradient(180deg, #ffffff 0%, #F8FAFD 100%);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    min-width: 0;
    box-shadow:
        0 14px 32px rgba(27, 42, 74, 0.1),
        inset 0 1px 0 #fff;
    overflow: hidden;
}

.sx-facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 4px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, var(--sx-maroon), var(--sx-gold), var(--sx-maroon));
}

.sx-facility-card::after {
    content: '';
    position: absolute;
    inset: auto -20% -40% -20%;
    height: 70%;
    background: radial-gradient(ellipse at bottom, rgba(232, 185, 35, 0.1), transparent 65%);
    pointer-events: none;
}

.sx-facility-card--new {
    border-color: rgba(232, 185, 35, 0.55);
    background: linear-gradient(165deg, #FFFBF0 0%, #ffffff 55%, #F7F9FC 100%);
    box-shadow:
        0 16px 34px rgba(27, 42, 74, 0.12),
        0 0 0 1px rgba(232, 185, 35, 0.18),
        inset 0 1px 0 #fff;
}

.sx-facility-card--new::before {
    background: linear-gradient(90deg, var(--sx-gold-bright), var(--sx-gold), #FFE566);
    height: 5px;
}

.sx-facility-card__newtag {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--sx-navy);
    background: linear-gradient(180deg, #FFE566, var(--sx-gold));
    padding: 5px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(232, 185, 35, 0.4);
}

.sx-facility-card:hover {
    background: #fff;
    border-color: rgba(139, 30, 63, 0.28);
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(27, 42, 74, 0.16);
}

.sx-facility-card:hover .sx-facility-card__icon {
    transform: scale(1.08) rotate(-4deg);
    color: var(--sx-maroon-bright);
    box-shadow:
        0 0 0 8px rgba(232, 185, 35, 0.14),
        0 12px 22px rgba(139, 30, 63, 0.16);
}

.sx-facility-card__icon {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sx-maroon);
    background:
        radial-gradient(circle at 35% 30%, #FFF8E0, rgba(232, 185, 35, 0.22));
    border: 2px solid rgba(232, 185, 35, 0.65);
    box-shadow:
        0 0 0 8px rgba(232, 185, 35, 0.1),
        0 10px 20px rgba(27, 42, 74, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.sx-facility-card__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

.sx-facility-card__title {
    font-family: var(--sx-serif);
    font-size: clamp(0.98rem, 1.8vw, 1.12rem);
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0;
    line-height: 1.25;
}

.sx-facility-card__text {
    font-family: var(--sx-font);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: 500;
    color: var(--sx-text-soft);
    margin: 0;
    line-height: 1.5;
    max-width: 240px;
}

/* ══════════════════════════════════════════
   BRANCHES
   ══════════════════════════════════════════ */
.sx-branches--hero {
    padding-top: 20px;
    padding-bottom: 4px;
}

.sx-branches__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.sx-campus-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--sx-surface);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(27, 42, 74, 0.08);
    box-shadow: var(--sx-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sx-campus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(27, 42, 74, 0.16);
}

.sx-campus-card__media {
    position: relative;
    height: 168px;
    overflow: hidden;
    background: var(--sx-navy-mid);
}

.sx-campus-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
}

.sx-campus-card:hover .sx-campus-card__media img {
    transform: scale(1.08);
}

.sx-campus-card__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(27, 42, 74, 0.45) 100%);
    pointer-events: none;
    z-index: 1;
}

.sx-campus-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--sx-navy);
    background: linear-gradient(180deg, #FFE566, var(--sx-gold));
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Pant + Malviya — matched featured campus cards */
.sx-campus-card--pant,
.sx-campus-card--malviya {
    border: 2px solid rgba(232, 185, 35, 0.45);
    box-shadow:
        0 12px 32px rgba(27, 42, 74, 0.12),
        0 0 0 1px rgba(232, 185, 35, 0.15);
}

.sx-campus-card--pant .sx-campus-card__media,
.sx-campus-card--malviya .sx-campus-card__media {
    height: 230px;
}

.sx-campus-card--pant .sx-campus-card__media img {
    object-position: center 55%;
}

.sx-campus-card--malviya .sx-campus-card__media img {
    object-position: center 40%;
}

.sx-campus-card--pant .sx-campus-card__veil,
.sx-campus-card--malviya .sx-campus-card__veil {
    background: linear-gradient(180deg,
            transparent 30%,
            rgba(27, 42, 74, 0.25) 65%,
            rgba(20, 32, 56, 0.55) 100%);
}

.sx-campus-card--pant .sx-campus-card__body,
.sx-campus-card--malviya .sx-campus-card__body {
    background: linear-gradient(180deg, #fff 0%, #F7F5EE 100%);
    border-top: 3px solid var(--sx-gold);
    padding: 20px 22px;
}

.sx-campus-card--pant .sx-campus-card__pin,
.sx-campus-card--malviya .sx-campus-card__pin {
    width: 42px;
    height: 42px;
    background: linear-gradient(145deg, var(--sx-navy-mid), var(--sx-navy));
    color: var(--sx-gold-bright);
    box-shadow: 0 4px 12px rgba(27, 42, 74, 0.25);
}

.sx-campus-card--pant .sx-campus-card__name,
.sx-campus-card--malviya .sx-campus-card__name {
    font-size: 1.15rem;
    color: var(--sx-navy);
}

.sx-campus-card--pant .sx-campus-card__hint,
.sx-campus-card--malviya .sx-campus-card__hint {
    color: var(--sx-maroon);
    font-weight: 700;
}

.sx-campus-card__points {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--sx-text-soft);
}

.sx-campus-card--pant .sx-campus-card__go,
.sx-campus-card--malviya .sx-campus-card__go {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--sx-gold-bright), var(--sx-gold));
    color: var(--sx-navy);
    box-shadow: 0 4px 12px rgba(232, 185, 35, 0.4);
    font-size: 17px;
}

.sx-campus-card--pant:hover,
.sx-campus-card--malviya:hover {
    transform: translateY(-8px);
    box-shadow:
        0 22px 48px rgba(27, 42, 74, 0.18),
        0 0 0 2px rgba(232, 185, 35, 0.35);
}

.sx-campus-card__body {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
}

.sx-campus-card__pin {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 42, 74, 0.08);
    color: var(--sx-navy);
}

.sx-campus-card__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sx-campus-card__name {
    font-family: var(--sx-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sx-navy);
}

.sx-campus-card__hint {
    font-size: 12px;
    font-weight: 600;
    color: var(--sx-text-soft);
}

.sx-campus-card__go {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sx-navy);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.25s ease;
}

.sx-campus-card:hover .sx-campus-card__go {
    transform: translateX(3px);
}

/* ══════════════════════════════════════════
   CONTACT CTA
   ══════════════════════════════════════════ */
.sx-contact__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    background:
        radial-gradient(ellipse at 8% 20%, rgba(245, 197, 24, 0.22), transparent 42%),
        linear-gradient(135deg, #B42852, var(--sx-maroon-bright), var(--sx-maroon), var(--sx-maroon-dark));
    border-radius: 26px;
    padding: 30px 32px;
    box-shadow:
        0 20px 46px rgba(139, 30, 63, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(245, 197, 24, 0.35);
    color: #fff;
    overflow: hidden;
}

.sx-contact__glow {
    position: absolute;
    right: -40px;
    top: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.28), transparent 68%);
    pointer-events: none;
}

.sx-contact__icon {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--sx-navy-mid), var(--sx-navy-deep));
    color: var(--sx-gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.28),
        0 0 0 6px rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(245, 197, 24, 0.45);
}

.sx-contact__copy {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.sx-contact__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--sx-gold-bright);
    margin: 0 0 6px;
}

.sx-contact__title {
    font-family: var(--sx-serif);
    font-size: clamp(1.4rem, 2.8vw, 1.85rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.sx-contact__sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 12px;
    line-height: 1.5;
    max-width: 52ch;
}

.sx-contact__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sx-contact__pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.sx-contact__pill:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(245, 197, 24, 0.55);
}

.sx-contact__bar .sx-btn--gold {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.sx-foot {
    text-align: center;
    padding: 28px 12px 8px;
}

.sx-foot__contact {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
}

.sx-foot__contact a {
    color: var(--sx-maroon);
    text-decoration: none;
}

.sx-foot__contact a:hover {
    text-decoration: underline;
}

.sx-foot__copy,
.sx-foot__credit {
    font-size: 12px;
    color: var(--sx-text-soft);
    margin: 0 0 4px;
    line-height: 1.5;
}

.sx-foot__credit a {
    color: var(--sx-navy);
    font-weight: 600;
    text-decoration: none;
}

.sx-foot__credit a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════
   SOCIAL FLOAT (LEFT) + ADMISSION FAB
   ══════════════════════════════════════════ */
.sx-social-float {
    position: fixed;
    left: clamp(10px, 2vw, 18px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 16px 12px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 249, 0.95));
    border: 1.5px solid rgba(139, 30, 63, 0.18);
    box-shadow:
        0 18px 40px rgba(27, 42, 74, 0.24),
        0 0 0 4px rgba(232, 185, 35, 0.12),
        inset 0 1px 0 #fff;
    backdrop-filter: blur(10px);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.sx-social-float.is-hidden {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(-50%);
}

.sx-social-float__close {
    display: none !important;
}

.sx-social-float__btn {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow:
        0 10px 18px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.sx-social-float__ripple {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0.35;
    animation: sx-social-pulse 2.4s ease-out infinite;
    pointer-events: none;
}

.sx-social-float__btn:hover {
    transform: scale(1.14) translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}

.sx-social-float__btn--fb {
    background: linear-gradient(145deg, #4a96ff, #1877F2 55%, #0f5dca);
}

.sx-social-float__btn--ig {
    background: linear-gradient(135deg, #F58529, #DD2A7B 45%, #8134AF 75%, #515BD4);
}

.sx-social-float__btn--x {
    background: linear-gradient(145deg, #3a3a3a, #111 60%, #000);
}

@keyframes sx-social-pulse {
    0% { transform: scale(0.85); opacity: 0.45; }
    70% { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1.25); opacity: 0; }
}

.sx-admission-fab {
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 16px));
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    top: auto;
    left: auto;
    transform: none;
    z-index: 999;
    border: none;
    padding: 0;
    width: 142px;
    height: 142px;
    background: none;
    cursor: pointer;
    animation: sx-fab-bob 2.8s ease-in-out infinite;
    filter: drop-shadow(0 0 18px rgba(245, 197, 24, 0.55));
}

.sx-admission-fab__ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2.5px solid rgba(139, 30, 63, 0.55);
    animation: sx-fab-ring 2.2s ease-out infinite;
    pointer-events: none;
}

.sx-admission-fab__ring--delay {
    animation-delay: 0.75s;
    border-color: rgba(160, 36, 72, 0.45);
    inset: -16px;
}

.sx-admission-fab__ring--gold {
    animation-delay: 1.5s;
    border-color: rgba(245, 197, 24, 0.7);
    inset: -4px;
    border-width: 3px;
}

.sx-admission-fab__beacon {
    position: absolute;
    inset: -22px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.45) 0%, transparent 68%);
    animation: sx-fab-beacon 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.sx-admission-fab__shadow {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 82%;
    height: 20px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(110, 21, 48, 0.5), transparent 70%);
    filter: blur(3px);
    pointer-events: none;
}

.sx-admission-fab__orb {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 14px 12px 16px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.65), transparent 42%),
        radial-gradient(circle at 70% 78%, rgba(0, 0, 0, 0.18), transparent 48%),
        linear-gradient(165deg, #C8F08A 0%, #8AD94F 20%, #4CAF32 48%, #2E7D24 76%, #1B5E18 100%);
    border: 5px solid var(--sx-maroon);
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.95),
        0 0 0 7px rgba(245, 197, 24, 0.55),
        0 16px 36px rgba(110, 21, 48, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    filter: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    z-index: 1;
}

.sx-admission-fab:hover .sx-admission-fab__orb {
    transform: scale(1.08) translateY(-3px);
    box-shadow:
        0 0 0 4px #fff,
        0 0 0 8px rgba(245, 197, 24, 0.7),
        0 22px 40px rgba(110, 21, 48, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.sx-admission-fab__glow {
    position: absolute;
    inset: -14%;
    background: radial-gradient(circle, rgba(255, 245, 160, 0.7), transparent 58%);
    animation: sx-fab-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

.sx-admission-fab__shine {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.6) 48%, transparent 64%);
    animation: sx-fab-shine 2.8s ease-in-out infinite;
    pointer-events: none;
}

.sx-admission-fab__sparkle {
    position: absolute;
    top: 12%;
    right: 16%;
    z-index: 2;
    font-size: 13px;
    color: #FFE566;
    text-shadow: 0 0 10px rgba(245, 197, 24, 1);
    animation: sx-sparkle 1.8s ease-in-out infinite;
    pointer-events: none;
}

.sx-admission-fab__sparkle--2 {
    top: auto;
    bottom: 18%;
    right: auto;
    left: 14%;
    font-size: 11px;
    animation-delay: 0.9s;
}

.sx-admission-fab__cap {
    position: relative;
    z-index: 1;
    font-size: 1.8rem;
    line-height: 1;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.4));
    margin-top: 0;
}

.sx-admission-fab__text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.05;
}

.sx-admission-fab__line {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #E8FFB8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.sx-admission-fab__line--strong {
    font-size: 16px;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.sx-admission-fab__year {
    margin-top: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #fff;
    background: var(--sx-maroon);
    padding: 3px 9px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(245, 197, 24, 0.65);
}

@keyframes sx-fab-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes sx-fab-pulse {
    0%, 100% { opacity: 0.45; transform: scale(0.92); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes sx-fab-shine {
    0%, 100% { transform: translateX(-120%); }
    50% { transform: translateX(120%); }
}

@keyframes sx-fab-ring {
    0% { transform: scale(0.82); opacity: 0.75; }
    100% { transform: scale(1.28); opacity: 0; }
}

@keyframes sx-fab-beacon {
    0%, 100% { opacity: 0.35; transform: scale(0.92); }
    50% { opacity: 0.85; transform: scale(1.08); }
}


/* ══════════════════════════════════════════
   ADMISSION MODAL
   ══════════════════════════════════════════ */
body.landing-page.modal-open {
    overflow: hidden;
}

.sx-admission-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
}

.sx-admission-modal[hidden] {
    display: none !important;
}

.sx-admission-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(27, 42, 74, 0.45);
    backdrop-filter: blur(4px);
}

.sx-admission-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    background: var(--sx-surface);
    border-radius: 20px;
    border: 1px solid rgba(27, 42, 74, 0.1);
    box-shadow: 0 20px 60px rgba(27, 42, 74, 0.22);
    padding: 0 0 24px;
    text-align: center;
}

.sx-admission-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--sx-text);
    font-size: 22px;
    cursor: pointer;
    box-shadow: var(--sx-shadow);
}

.sx-admission-modal__banner {
    padding: 32px 24px 20px;
    background: linear-gradient(180deg, #EEF1F6 0%, var(--sx-surface) 100%);
    border-radius: 20px 20px 0 0;
    border-bottom: 3px solid var(--sx-gold);
}

.sx-admission-modal__banner-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sx-maroon);
    background: var(--sx-gold-pale);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
    border: 1px solid rgba(232, 185, 35, 0.5);
}

.sx-admission-modal__title {
    font-family: var(--sx-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 8px;
}

.sx-admission-modal__lead {
    font-size: 14px;
    line-height: 1.55;
    color: var(--sx-text-soft);
    margin: 0;
}

.sx-admission-modal__info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 16px 20px 0;
}

.sx-admission-modal__chip {
    font-size: 12px;
    color: var(--sx-text-soft);
    background: #EEF1F6;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(27, 42, 74, 0.1);
}

.sx-admission-modal__chip strong {
    color: var(--sx-navy);
    margin-right: 4px;
}

.sx-admission-modal__qr-block {
    padding: 20px 24px 8px;
}

.sx-admission-modal__qr-title {
    font-family: var(--sx-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sx-navy);
    margin: 0 0 14px;
}

.sx-admission-modal__qr-link {
    display: inline-block;
    padding: 12px;
    background: #fff;
    border: 2px solid rgba(27, 42, 74, 0.2);
    border-radius: 14px;
    box-shadow: var(--sx-shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.sx-admission-modal__qr-link:hover {
    transform: scale(1.03);
    border-color: var(--sx-maroon);
}

.sx-admission-modal__qr-link img {
    display: block;
}

.sx-admission-modal__qr-hint {
    font-size: 12px;
    color: var(--sx-text-soft);
    margin: 10px 0 0;
    font-style: italic;
}

.sx-admission-modal__cta {
    display: inline-block;
    margin: 12px 24px 0;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--sx-maroon-bright), var(--sx-maroon));
    color: #fff;
    font-family: var(--sx-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 10px;
    border-top: 2px solid var(--sx-gold);
    box-shadow: 0 4px 0 var(--sx-maroon-dark), 0 8px 20px rgba(139, 30, 63, 0.35);
}

.sx-admission-modal__cta:hover {
    color: #fff;
    transform: translateY(-2px);
}

.sx-admission-modal__contact {
    font-size: 12px;
    color: var(--sx-text-soft);
    margin: 18px 20px 0;
    padding-top: 14px;
    border-top: 1px solid rgba(27, 42, 74, 0.1);
}

.sx-admission-modal__contact a {
    color: var(--sx-maroon);
    font-weight: 600;
    text-decoration: none;
}

.sx-admission-modal__contact a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════
   RESPONSIVE — phone · tablet · desktop
   ══════════════════════════════════════════ */

/* Large tablet / small laptop */
@media (max-width: 1024px) {
    .sx-toppers__layout {
        gap: 18px;
    }

    .sx-facilities__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }

    .sx-campus-card--pant .sx-campus-card__media,
    .sx-campus-card--malviya .sx-campus-card__media {
        height: 200px;
    }

    .sx-featured {
        min-height: 400px;
        padding: 28px 18px 24px;
    }

    .sx-featured__photo-wrap {
        width: 60%;
    }

    .sx-toppers__list {
        min-height: 400px;
        gap: 12px;
    }
}

/* Tablet — stack toppers */
@media (max-width: 900px) {
    .sx-section {
        padding: 30px 0 6px;
    }

    .sx-toppers__layout {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
        gap: 16px;
    }

    .sx-featured {
        max-width: 100%;
        margin: 0;
        min-height: 0;
        height: auto;
    }

    .sx-toppers__list {
        min-height: 0;
        height: auto;
    }

    .sx-list-card {
        flex: none;
    }

    .sx-facilities__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sx-gate-campus__title {
        white-space: normal;
        max-width: 90vw;
    }
}

/* Large phone / small tablet */
@media (max-width: 700px) {
    .sx-gate {
        padding-bottom: max(88px, calc(72px + env(safe-area-inset-bottom, 0px)));
    }

    .sx-wrap {
        padding: 0 14px;
    }

    .sx-gate-campus {
        aspect-ratio: 16 / 13;
        min-height: 260px;
        max-height: 420px;
    }

    .sx-gate-campus__img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 40%;
    }

    .sx-gate-campus__veil {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.28) 0%,
            rgba(255, 255, 255, 0.12) 28%,
            transparent 55%
        );
    }

    .sx-gate-campus__sky {
        height: auto;
        min-height: 72%;
        padding: 3%;
        align-items: flex-start;
    }

    .sx-gate-campus__brand {
        gap: 6px;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .sx-gate-campus__name-row {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .sx-gate-campus__logo {
        width: 67px;
        height: 67px;
        max-width: 67px;
        max-height: 67px;
        filter:
            drop-shadow(0 0 3px #fff)
            drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
    }

    .sx-gate-campus__title {
        white-space: normal;
        font-family: var(--sx-display);
        font-size: clamp(1.12rem, 6vw, 1.55rem);
        font-weight: 900;
        text-align: center;
        line-height: 1.25;
        text-shadow: 0 0 8px #fff, 0 1px 0 #fff;
    }

    .sx-gate-campus__addr {
        font-size: clamp(11px, 3.2vw, 13px);
        text-align: center;
        padding: 0 4px;
        text-shadow: 0 0 6px #fff;
    }

    .sx-gate-campus__affil {
        font-size: clamp(8px, 2.4vw, 10px);
        letter-spacing: 0.4px;
        padding: 5px 10px;
        line-height: 1.35;
        max-width: 100%;
    }

    .sx-gate-campus__branches {
        gap: 10px;
        margin-top: 14%;
    }

    .sx-branch-chip {
        min-width: 0;
        flex: 1 1 auto;
        padding: 12px 16px;
        font-size: 0.92rem;
        gap: 0;
        border-radius: 999px;
    }

    .sx-gate-campus__wave {
        height: 18px;
    }

    .sx-section {
        padding: 24px 0 4px;
    }

    .sx-head {
        margin-bottom: 20px;
    }

    .sx-head__eyebrow {
        font-size: 11px;
        letter-spacing: 1.8px;
    }

    .sx-head__eyebrow--lined::before,
    .sx-head__eyebrow--lined::after {
        width: 28px;
    }

    .sx-head__title {
        font-size: clamp(1.35rem, 6vw, 1.75rem);
    }

    .sx-head__sub {
        font-size: 0.88rem;
        padding: 0 4px;
    }

    .sx-toppers__layout {
        max-width: 100%;
    }

    .sx-featured__photo-wrap {
        width: 60%;
        margin: 14px auto 24px;
    }

    .sx-featured__score {
        font-size: clamp(1.75rem, 8vw, 2.2rem);
    }

    .sx-list-card {
        flex: none;
        padding: 14px 14px 12px;
        gap: 8px;
    }

    .sx-list-card__crown {
        font-size: 13px;
        top: 8px;
        right: 10px;
    }

    .sx-list-card__main {
        gap: 12px;
    }

    .sx-list-card__rank {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .sx-list-card__photo {
        width: 96px;
        height: 96px;
    }

    .sx-list-card--rank-2 .sx-list-card__photo {
        width: 100px;
        height: 100px;
    }

    .sx-list-card__name {
        white-space: normal;
        font-size: 0.95rem;
        line-height: 1.25;
    }

    .sx-list-card__tagline {
        font-size: 10px;
    }

    .sx-list-card__badge {
        display: none;
    }

    .sx-list-card--rank-2 {
        animation: none;
    }

    .sx-btn {
        width: 100%;
        max-width: 320px;
        padding: 13px 22px;
    }

    .sx-toppers__cta .sx-btn {
        max-width: 280px;
    }

    .sx-facilities__panel {
        padding: 0;
        border-radius: 0;
        overflow: visible;
        background: transparent;
        box-shadow: none;
        border: none;
    }

    .sx-facilities__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sx-facility-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 16px 16px 16px;
        gap: 14px;
        background: #fff;
        border-color: rgba(27, 42, 74, 0.1);
    }

    .sx-facility-card::before {
        left: 0;
        right: auto;
        top: 14%;
        bottom: 14%;
        width: 4px;
        height: auto;
        border-radius: 0 8px 8px 0;
    }

    .sx-facility-card:hover .sx-facility-card__icon {
        transform: scale(1.06) rotate(0deg);
    }

    .sx-facility-card__icon {
        width: 52px;
        height: 52px;
        box-shadow: 0 0 0 5px rgba(232, 185, 35, 0.1);
        color: var(--sx-maroon);
    }

    .sx-facility-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .sx-facility-card__copy {
        align-items: flex-start;
        text-align: left;
        flex: 1;
        min-width: 0;
    }

    .sx-facility-card__title {
        font-size: 0.95rem;
        text-align: left;
        color: var(--sx-navy);
    }

    .sx-facility-card__text {
        font-size: 0.8rem;
        max-width: none;
        text-align: left;
        color: var(--sx-text-soft);
    }

    .sx-branches__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sx-campus-card--pant .sx-campus-card__media,
    .sx-campus-card--malviya .sx-campus-card__media {
        height: 168px;
    }

    .sx-campus-card:hover {
        transform: none;
    }

    .sx-campus-card:active {
        transform: scale(0.99);
    }

    .sx-contact__bar {
        flex-direction: column;
        text-align: center;
        padding: 24px 18px;
        gap: 16px;
        border-radius: 20px;
    }

    .sx-contact__copy {
        text-align: center;
    }

    .sx-contact__meta {
        justify-content: center;
    }

    .sx-contact__bar .sx-btn--gold {
        width: 100%;
        max-width: none;
        justify-content: center;
    }

    .sx-contact__icon {
        width: 64px;
        height: 64px;
    }

    .sx-foot {
        padding: 22px 8px 8px;
    }

    .sx-foot__contact {
        font-size: 13px;
        word-break: break-word;
    }

    .sx-foot__contact a {
        display: inline-block;
        margin: 2px 0;
    }

    .sx-social-float {
        left: max(8px, env(safe-area-inset-left, 8px));
        right: auto;
        top: 50%;
        transform: translateY(-50%);
        gap: 10px;
        padding: 12px 9px;
    }

    .sx-social-float.is-hidden {
        transform: translateY(-50%);
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .sx-social-float__btn {
        width: 46px;
        height: 46px;
    }

    .sx-admission-fab {
        right: max(12px, env(safe-area-inset-right, 12px));
        bottom: max(14px, env(safe-area-inset-bottom, 14px));
        top: auto;
        left: auto;
        width: 118px;
        height: 118px;
        transform: none;
        animation: sx-fab-bob 2.8s ease-in-out infinite;
    }

    .sx-admission-fab__orb {
        padding: 10px 8px 12px;
        border-width: 4px;
    }

    .sx-admission-fab__cap {
        font-size: 1.4rem;
    }

    .sx-admission-fab__line {
        font-size: 9px;
    }

    .sx-admission-fab__line--strong {
        font-size: 13px;
    }

    .sx-admission-fab__year {
        font-size: 8px;
        padding: 2px 6px;
    }

    @keyframes sx-fab-float-m {
        0%, 100% { transform: none; }
        50% { transform: translateY(-5px); }
    }

    .sx-admission-modal {
        padding: 12px 10px;
        padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
        align-items: flex-end;
    }

    .sx-admission-modal__dialog {
        max-height: min(92dvh, calc(100dvh - 24px));
        border-radius: 16px 16px 12px 12px;
    }

    .sx-admission-modal__banner {
        padding: 24px 16px 16px;
    }

    .sx-admission-modal__title {
        font-size: 1.4rem;
    }

    .sx-admission-modal__qr-link img {
        width: 150px;
        height: 150px;
    }

    .sx-admission-modal__cta {
        display: block;
        margin: 12px 16px 0;
        width: calc(100% - 32px);
        max-width: none;
        box-sizing: border-box;
        text-align: center;
    }
}

/* Small phones */
@media (max-width: 520px) {
    .sx-gate-campus {
        aspect-ratio: 3 / 3.2;
        min-height: 250px;
    }

    .sx-campus-card__tag {
        font-size: 9px;
        padding: 5px 10px;
        top: 10px;
        left: 10px;
    }

    .sx-campus-card--pant .sx-campus-card__body,
    .sx-campus-card--malviya .sx-campus-card__body {
        padding: 14px 14px;
    }

    .sx-campus-card--pant .sx-campus-card__name,
    .sx-campus-card--malviya .sx-campus-card__name {
        font-size: 1rem;
    }
}

/* Extra-small phones */
@media (max-width: 380px) {
    .sx-wrap {
        padding: 0 12px;
    }

    .sx-gate-campus {
        min-height: 240px;
    }

    .sx-gate-campus__logo {
        width: 58px;
        height: 58px;
        max-width: 58px;
        max-height: 58px;
    }

    .sx-gate-campus__title {
        font-size: 0.94rem;
        font-weight: 700;
    }

    .sx-gate-campus__addr {
        font-size: 11px;
    }

    .sx-gate-campus__affil {
        font-size: 8px;
        padding: 4px 8px;
    }

    .sx-featured__photo-wrap {
        width: 60%;
    }

    .sx-admission-fab {
        width: 100px;
        height: 100px;
    }

    .sx-admission-fab__orb {
        padding: 12px 8px 16px;
    }
}

/* Short landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
    .sx-gate-campus {
        aspect-ratio: 21 / 9;
        min-height: 180px;
        max-height: 220px;
    }

    .sx-gate-campus__sky {
        min-height: 70%;
        padding-top: 8px;
    }

    .sx-gate-campus__logo {
        width: 44px;
        height: 44px;
        max-width: 44px;
        max-height: 44px;
    }

    .sx-gate-campus__name-row {
        flex-direction: row;
        gap: 10px;
    }

    .sx-gate-campus__title {
        white-space: nowrap;
        font-size: 0.9rem;
    }

    .sx-admission-fab {
        bottom: 10px;
        right: 10px;
    }

    .sx-admission-modal {
        align-items: center;
    }

    .sx-admission-modal__dialog {
        max-height: 94dvh;
    }
}

/* Wide desktop */
@media (min-width: 1200px) {
    .sx-wrap {
        max-width: 1140px;
    }

    .sx-campus-card--pant .sx-campus-card__media,
    .sx-campus-card--malviya .sx-campus-card__media {
        height: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .sx-admission-fab,
    .sx-admission-fab__shine,
    .sx-admission-fab__glow,
    .sx-admission-fab__ring,
    .sx-admission-fab__beacon,
    .sx-admission-fab__sparkle,
    .sx-social-float__ripple,
    .sx-featured__spark,
    .sx-list-card__crown,
    .sx-list-card--rank-2 {
        animation: none !important;
    }

    .sx-campus-card,
    .sx-list-card,
    .sx-facility-card,
    .sx-btn {
        transition: none;
    }
}

@media (hover: none) {
    .sx-list-card:hover,
    .sx-campus-card:hover,
    .sx-facility-card:hover {
        transform: none;
    }

    .sx-campus-card:hover .sx-campus-card__media img,
    .sx-list-card:hover .sx-list-card__photo img {
        transform: none;
    }
}
