/* ==========================================================================
   SHREE GURUS NEET & JEE ACADEMY - PRESTIGE BRAND THEME
   Palette: Deep Royal Purple, Burnished Gold, Pure White, Slate Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --sg-navy-dark: #07153D;
    --sg-navy-main: #0B2265;
    --sg-navy-light: #163691;
    --sg-cobalt: #2A4FD6;
    --sg-cobalt-light: #4A6FF2;
    --sg-navy-soft: #F0F4FC;

    /* Semantic Aliases from logo: Deep Royal Navy & Vibrant Cobalt Blue */
    --sg-purple-dark: #07153D;
    --sg-purple-main: #0B2265;
    --sg-purple-light: #2A4FD6;
    --sg-purple-soft: #F0F4FC;

    /* Metallic Bronze Gold from Logo 'Group of Institutions' */
    --sg-gold-main: #B88A44;
    --sg-gold-light: #E8C88A;
    --sg-gold-dark: #8E6527;
    --sg-gold-gradient: linear-gradient(135deg, #B88A44 0%, #DFB76C 50%, #946E2E 100%);
    --sg-purple-gradient: linear-gradient(135deg, #07153D 0%, #0B2265 60%, #1E3D9E 100%);
    --sg-navy-gradient: linear-gradient(135deg, #07153D 0%, #0B2265 60%, #2A4FD6 100%);
    --sg-dark-card: #0A1B4A;
    --sg-text-dark: #07153D;
    --sg-text-muted: #53647E;
    --sg-border-light: #E2E8F0;
    --sg-border-gold: rgba(184, 138, 68, 0.35);
    --sg-shadow-sm: 0 4px 6px -1px rgba(7, 21, 61, 0.05), 0 2px 4px -1px rgba(7, 21, 61, 0.03);
    --sg-shadow-md: 0 10px 15px -3px rgba(7, 21, 61, 0.08), 0 4px 6px -2px rgba(7, 21, 61, 0.04);
    --sg-shadow-lg: 0 20px 25px -5px rgba(7, 21, 61, 0.12), 0 10px 10px -5px rgba(7, 21, 61, 0.04);
    --sg-font-heading: 'Outfit', sans-serif;
    --sg-font-display: 'Cinzel', serif;
    --sg-font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--sg-font-body);
    color: var(--sg-text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sg-font-heading);
    color: var(--sg-purple-main);
    font-weight: 700;
}

.sg-font-display {
    font-family: var(--sg-font-display);
}

/* ---------------- Top Bar ---------------- */
.sg-topbar {
    background: #FFFFFF;
    color: #475467;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #E2E8F0;
}
.sg-topbar a {
    color: #475467;
    transition: all 0.2s ease;
    text-decoration: none;
}
.sg-topbar a:hover {
    color: var(--sg-cobalt);
}
.sg-topbar-badge {
    background: rgba(42, 79, 214, 0.1);
    color: var(--sg-cobalt);
    border: 1px solid rgba(42, 79, 214, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ---------------- Main Header Navbar ---------------- */
.sg-navbar {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 2px solid rgba(212, 175, 55, 0.25);
}
.sg-brand-logo-img,
.sg-logo-img {
    height: 82px;
    width: auto;
    max-width: 440px;
    object-fit: contain;
    display: block;
    margin-left: 36px;
    transition: transform 0.3s ease;
}

@media (max-width: 991px) {
    .sg-brand-logo-img,
    .sg-logo-img {
        height: 68px;
        max-width: 340px;
        margin-left: 20px;
    }
}

@media (max-width: 575px) {
    .sg-brand-logo-img,
    .sg-logo-img {
        height: 56px;
        max-width: 280px;
        margin-left: 12px;
    }
}
.sg-nav-link {
    color: var(--sg-purple-main) !important;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 14px !important;
    transition: all 0.2s ease;
}
.sg-nav-link:hover, .sg-nav-link.active {
    color: var(--sg-gold-dark) !important;
}

/* ---------------- Prestige Buttons ---------------- */
.sg-btn-primary {
    background: linear-gradient(135deg, #c69214 0%, #dfb743 45%, #a4760a 100%);
    color: #120217 !important;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 26px;
    border-radius: 8px;
    border: 1px solid #8e6504;
    box-shadow: 0 4px 14px rgba(164, 118, 10, 0.35);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}
.sg-btn-primary:hover {
    background: linear-gradient(135deg, #dfb743 0%, #ecd074 45%, #b9860f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(164, 118, 10, 0.55);
    color: #000000 !important;
}

/* Darker Rich Gold Solid Button (for white & light cards) */
.sg-btn-gold {
    background: linear-gradient(135deg, #b8860b 0%, #c99718 45%, #946906 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 22px;
    border-radius: 8px;
    border: 1px solid #785303;
    box-shadow: 0 4px 12px rgba(148, 105, 6, 0.35);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.sg-btn-gold:hover {
    background: linear-gradient(135deg, #c99718 0%, #dfb743 45%, #aa7a09 100%);
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(148, 105, 6, 0.5);
    text-shadow: none;
}

.sg-btn-gold-outline {
    background: rgba(184, 134, 11, 0.08);
    color: #8c6204 !important;
    border: 1.5px solid #a4760a;
    font-weight: 700;
    font-size: 13.5px;
    padding: 9px 20px;
    border-radius: 8px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.sg-btn-gold-outline:hover {
    background: linear-gradient(135deg, #b8860b 0%, #c99718 45%, #946906 100%);
    color: #ffffff !important;
    border-color: #785303;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(148, 105, 6, 0.3);
}

.sg-btn-secondary {
    background: transparent;
    color: #ffffff !important;
    border: 1.5px solid var(--sg-gold-main);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.sg-btn-secondary:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--sg-gold-light);
    color: var(--sg-gold-light) !important;
    transform: translateY(-2px);
}

.sg-btn-purple {
    background: var(--sg-purple-main);
    color: #ffffff !important;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}
.sg-btn-purple:hover {
    background: var(--sg-purple-light);
    color: var(--sg-gold-light) !important;
}

/* ==========================================================================
   FLOW BUTTON - Interactive Morphing CTA Component (shadcn-inspired)
   Pill (100px) -> Rounded Rect (12px), Sliding Dual Arrows, Expanding Circle
   ========================================================================== */
.flow-btn,
.sg-flow-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
    border-radius: 100px;
    padding: 11px 32px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    text-decoration: none !important;
    background: transparent;
    transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
    border: 1.5px solid rgba(7, 21, 61, 0.35);
    color: #07153D !important;
    user-select: none;
    outline: none;
}

.flow-btn:active,
.sg-flow-btn:active {
    transform: scale(0.95);
}

.flow-btn:hover,
.sg-flow-btn:hover {
    border-color: transparent !important;
    color: #FFFFFF !important;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(7, 21, 61, 0.28);
}

/* Left Arrow (arr-2) - enters from off-left */
.flow-btn .flow-arr-left,
.sg-flow-btn .flow-arr-left {
    position: absolute;
    left: -28%;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    z-index: 9;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
    transition: all 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flow-btn:hover .flow-arr-left,
.sg-flow-btn:hover .flow-arr-left {
    left: 16px;
    stroke: #FFFFFF !important;
}

/* Text - shifts right on hover */
.flow-btn .flow-text,
.sg-flow-btn .flow-text {
    position: relative;
    z-index: 1;
    transform: translateX(-10px);
    transition: all 800ms ease-out;
    display: inline-block;
    white-space: nowrap;
}

.flow-btn:hover .flow-text,
.sg-flow-btn:hover .flow-text {
    transform: translateX(10px);
    color: #FFFFFF !important;
}

/* Circle - expands from center */
.flow-btn .flow-circle,
.sg-flow-btn .flow-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    background: #07153D;
    transition: width 800ms cubic-bezier(0.19, 1, 0.22, 1),
                height 800ms cubic-bezier(0.19, 1, 0.22, 1),
                opacity 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

.flow-btn:hover .flow-circle,
.sg-flow-btn:hover .flow-circle {
    width: 420px;
    height: 420px;
    opacity: 1;
}

/* Right Arrow (arr-1) - exits to off-right */
.flow-btn .flow-arr-right,
.sg-flow-btn .flow-arr-right {
    position: absolute;
    right: 16px;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    z-index: 9;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
    transition: all 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flow-btn:hover .flow-arr-right,
.sg-flow-btn:hover .flow-arr-right {
    right: -28%;
    stroke: #FFFFFF !important;
}

/* Variant: Light Blue / Royal Sapphire Flow Button (for header & primary calls to action) */
.flow-btn-gold,
.flow-btn-blue {
    border-color: rgba(42, 79, 214, 0.45);
    color: #1A3EB8 !important;
    background: rgba(42, 79, 214, 0.06);
}
.flow-btn-gold .flow-circle,
.flow-btn-blue .flow-circle {
    background: linear-gradient(135deg, #07153D 0%, #163691 50%, #2A4FD6 100%);
}
.flow-btn-gold:hover,
.flow-btn-blue:hover {
    box-shadow: 0 10px 25px -5px rgba(42, 79, 214, 0.4);
    color: #FFFFFF !important;
}

/* Variant: Royal Navy Flow Button */
.flow-btn-navy {
    border-color: rgba(7, 21, 61, 0.4);
    color: #07153D !important;
    background: rgba(7, 21, 61, 0.04);
}
.flow-btn-navy .flow-circle {
    background: linear-gradient(135deg, #07153D 0%, #0B2265 60%, #1A3999 100%);
}

/* Variant: Dark Hero / White Outline */
.flow-btn-white {
    border-color: rgba(255, 255, 255, 0.45);
    color: #FFFFFF !important;
    background: rgba(255, 255, 255, 0.08);
}
.flow-btn-white .flow-circle {
    background: linear-gradient(135deg, #163691 0%, #2A4FD6 50%, #60A5FA 100%);
}
.flow-btn-white:hover {
    color: #FFFFFF !important;
}
.flow-btn-white:hover .flow-text {
    color: #FFFFFF !important;
}
.flow-btn-white:hover .flow-arr-left {
    stroke: #FFFFFF !important;
}

/* Form Submit Button Variant */
.flow-btn-submit {
    width: 100%;
    padding: 15px 32px;
    font-size: 15px;
    font-weight: 700;
    border-color: rgba(42, 79, 214, 0.45);
    color: #1A3EB8 !important;
    background: #FFFFFF;
}
.flow-btn-submit .flow-circle {
    background: linear-gradient(135deg, #07153D 0%, #163691 50%, #2A4FD6 100%);
}
.flow-btn-submit:hover {
    box-shadow: 0 12px 28px -6px rgba(42, 79, 214, 0.45);
    color: #FFFFFF !important;
}

/* Light Blue Hero Accent */
.sg-hero-h1 span.gold,
.sg-hero-h1 span.light-blue {
    color: #2E5BFF !important;
    background: linear-gradient(135deg, #1E44D8 0%, #2E5BFF 50%, #38BDF8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
}

/* ---------------- Hero Section ---------------- */
.sg-hero-section {
    background: #08080c;
    position: relative;
    padding: 85px 0 95px 0;
    color: #ffffff;
    overflow: hidden;
}
.sg-hero-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: 0.92;
    filter: none;
}
.sg-hero-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}
.sg-hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.70) 100%);
    z-index: 2;
    pointer-events: none;
}
.sg-hero-section .container {
    position: relative;
    z-index: 3;
}
.sg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(212, 175, 55, 0.6);
    padding: 6px 18px;
    border-radius: 30px;
    color: var(--sg-gold-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}
.sg-hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 18px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
}
.sg-hero-title .sg-gold-text {
    background: var(--sg-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sg-hero-motto {
    font-family: var(--sg-font-display);
    font-size: 1.35rem;
    color: var(--sg-gold-main);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
    display: block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}
.sg-hero-desc {
    font-size: 1.1rem;
    color: #f1f5f9;
    line-height: 1.65;
    max-width: 580px;
    margin-bottom: 32px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

/* Hero Program Pills */
.sg-program-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}
.sg-pill {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(6px);
}
.sg-pill i {
    color: var(--sg-gold-main);
}

/* Hero Card Visual */
.sg-hero-card {
    background: rgba(12, 12, 18, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 16px;
    padding: 36px 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(212, 175, 55, 0.25);
    position: relative;
    text-align: center;
}
.sg-hero-emblem {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.4));
}
.sg-hero-card h4 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 6px;
}
.sg-hero-card p {
    color: var(--sg-gold-light);
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
}
.sg-hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.sg-hero-stat-item h5 {
    color: var(--sg-gold-main);
    font-size: 1.15rem;
    margin-bottom: 2px;
}
.sg-hero-stat-item span {
    font-size: 11px;
    color: #cbd5e1;
    text-transform: uppercase;
}

/* ---------------- Section Headers ---------------- */
.sg-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px auto;
}
.sg-section-subtitle {
    color: var(--sg-gold-dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}
.sg-section-title {
    font-size: 2.35rem;
    color: var(--sg-purple-main);
    line-height: 1.25;
    margin-bottom: 16px;
}
.sg-section-desc {
    color: var(--sg-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ---------------- 3 Core Program Cards ---------------- */
.sg-program-card {
    background: #ffffff;
    border: 1.5px solid var(--sg-border-light);
    border-radius: 14px;
    padding: 35px 28px;
    box-shadow: var(--sg-shadow-md);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.sg-program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--sg-purple-main);
    transition: all 0.3s ease;
}
.sg-program-card.featured::before {
    background: var(--sg-gold-gradient);
    height: 6px;
}
.sg-program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sg-shadow-lg);
    border-color: rgba(212, 175, 55, 0.4);
}
.sg-card-badge {
    display: inline-block;
    background: var(--sg-purple-soft);
    color: var(--sg-purple-main);
    font-weight: 700;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    align-self: flex-start;
}
.sg-program-card.featured .sg-card-badge {
    background: rgba(212, 175, 55, 0.15);
    color: var(--sg-gold-dark);
}
.sg-program-card h3 {
    font-size: 1.65rem;
    margin-bottom: 12px;
}
.sg-program-card p.desc {
    color: var(--sg-text-muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 22px;
}
.sg-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    flex-grow: 1;
}
.sg-feature-list li {
    font-size: 14px;
    color: #334155;
    margin-bottom: 11px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.sg-feature-list li i {
    color: var(--sg-gold-dark);
    margin-top: 3px;
    font-size: 14px;
}

/* ---------------- 8-Step Academic Methodology ---------------- */
.sg-methodology-section {
    background: #fcfaf8;
    padding: 85px 0;
    border-top: 1px solid var(--sg-border-light);
    border-bottom: 1px solid var(--sg-border-light);
}
.sg-step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.sg-step-card {
    background: #ffffff;
    border: 1px solid var(--sg-border-light);
    border-radius: 12px;
    padding: 26px 22px;
    box-shadow: var(--sg-shadow-sm);
    position: relative;
    transition: all 0.3s ease;
}
.sg-step-card:hover {
    transform: translateY(-4px);
    border-color: var(--sg-gold-main);
    box-shadow: var(--sg-shadow-md);
}
.sg-step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--sg-purple-main);
    color: var(--sg-gold-light);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.sg-step-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.sg-step-card p {
    font-size: 13.5px;
    color: var(--sg-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ---------------- Parent Trust Section ---------------- */
.sg-trust-section {
    padding: 85px 0;
    background: #ffffff;
}
.sg-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.sg-trust-item {
    background: var(--sg-purple-soft);
    border: 1px solid rgba(54, 13, 59, 0.08);
    border-radius: 12px;
    padding: 26px 20px;
    transition: all 0.3s ease;
}
.sg-trust-item:hover {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: var(--sg-shadow-md);
    transform: translateY(-3px);
}
.sg-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--sg-purple-main);
    color: var(--sg-gold-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}
.sg-trust-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.sg-trust-item p {
    font-size: 13.5px;
    color: var(--sg-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ---------------- Results Section (Prestige Stat Cards) ---------------- */
.sg-results-section {
    background: var(--sg-purple-dark);
    padding: 85px 0;
    color: #ffffff;
    position: relative;
}
.sg-results-section .sg-section-title {
    color: #ffffff;
}
.sg-results-section .sg-section-desc {
    color: #cbd5e1;
}
.sg-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.sg-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 32px 22px;
    text-align: center;
    transition: all 0.3s ease;
}
.sg-stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--sg-gold-main);
    transform: translateY(-4px);
}
.sg-stat-placeholder {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--sg-gold-light);
    border: 1px dashed rgba(212, 175, 55, 0.5);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.sg-stat-card h4 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 6px;
}
.sg-stat-card p {
    color: #94a3b8;
    font-size: 13px;
    margin: 0;
}

/* ---------------- Dual Audience UX (Students & Parents) ---------------- */
.sg-audience-section {
    padding: 85px 0;
    background: #f8fafc;
}
.sg-audience-card {
    background: #ffffff;
    border: 1px solid var(--sg-border-light);
    border-radius: 14px;
    padding: 38px 32px;
    box-shadow: var(--sg-shadow-md);
    height: 100%;
}
.sg-audience-card h3 {
    font-size: 1.55rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sg-audience-card p.subtitle {
    font-weight: 600;
    color: var(--sg-purple-main);
    font-size: 14.5px;
    margin-bottom: 20px;
}
.sg-faq-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 0;
}
.sg-faq-q {
    font-weight: 600;
    font-size: 14.5px;
    color: #1e293b;
    margin-bottom: 4px;
}
.sg-faq-a {
    font-size: 13.5px;
    color: var(--sg-text-muted);
    line-height: 1.5;
}

/* ---------------- CTA Banner ---------------- */
.sg-cta-banner {
    background: var(--sg-purple-gradient);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    border-radius: 16px;
    padding: 55px 40px;
    color: #ffffff;
    text-align: center;
    margin: 40px 0 85px 0;
    box-shadow: var(--sg-shadow-lg);
    position: relative;
    overflow: hidden;
}
.sg-cta-banner h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 14px;
}
.sg-cta-banner p {
    color: #cbd5e1;
    max-width: 620px;
    margin: 0 auto 28px auto;
    font-size: 1.1rem;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
    .sg-hero-title { font-size: 2.4rem; }
    .sg-step-grid, .sg-trust-grid, .sg-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .sg-hero-title { font-size: 1.95rem; }
    .sg-hero-section { padding: 50px 0; }
    .sg-step-grid, .sg-trust-grid, .sg-results-grid {
        grid-template-columns: 1fr;
    }
    .sg-cta-banner { padding: 35px 20px; }
}

/* ==========================================================================
   SHREE GURUS - PRESTIGE BRANDED LOADING / SPLASH SCREEN
   ========================================================================== */

/* Prevent scrolling while loading */
body.sg-loading-lock {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Hide legacy loader if present */
#loading {
    display: none !important;
}

.sg-splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    background: radial-gradient(circle at 50% 45%, #2a0730 0%, #17031b 60%, #0c010e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    padding: 24px;
    box-sizing: border-box;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform, visibility;
}

.sg-splash-screen.sg-splash-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px) scale(1.015);
    pointer-events: none;
}

/* Academic Geometric Grid Pattern */
.sg-splash-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
    opacity: 0.8;
}

/* Subtle Gold Radial Glow Behind Logo */
.sg-splash-radial-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, rgba(82, 24, 88, 0.18) 45%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    animation: sgGlowPulse 4s ease-in-out infinite alternate;
}

/* Floating Academic Spark Particles */
.sg-splash-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sg-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 231, 169, 0.8) 0%, rgba(212, 175, 55, 0) 70%);
    opacity: 0.25;
    animation: sgParticleFloat 6s ease-in-out infinite;
}

.sg-p1 { width: 6px; height: 6px; top: 22%; left: 28%; animation-delay: 0s; animation-duration: 5.5s; }
.sg-p2 { width: 4px; height: 4px; top: 35%; right: 24%; animation-delay: 1.2s; animation-duration: 7s; }
.sg-p3 { width: 8px; height: 8px; bottom: 26%; left: 32%; animation-delay: 2.5s; animation-duration: 6.2s; }
.sg-p4 { width: 5px; height: 5px; bottom: 32%; right: 30%; animation-delay: 0.8s; animation-duration: 5.8s; }
.sg-p5 { width: 4px; height: 4px; top: 18%; right: 40%; animation-delay: 3s; animation-duration: 6.8s; }
.sg-p6 { width: 6px; height: 6px; bottom: 20%; left: 45%; animation-delay: 1.8s; animation-duration: 6s; }

/* Center Branded Card */
.sg-splash-card {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 460px;
    width: 100%;
}

/* Logo & Progress Orbit Container */
.sg-splash-logo-container {
    position: relative;
    width: 154px;
    height: 154px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Circular SVG Gold Ring */
.sg-splash-ring-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    overflow: visible;
}

.sg-ring-track {
    fill: none;
    stroke: rgba(212, 175, 55, 0.16);
    stroke-width: 2.5px;
}

.sg-ring-animated {
    fill: none;
    stroke: url(#sgSplashGoldGrad);
    stroke-width: 3.5px;
    stroke-linecap: round;
    stroke-dasharray: 465;
    stroke-dashoffset: 465;
    animation: sgRingFill 2s cubic-bezier(0.4, 0, 0.2, 1) infinite,
               sgRingSpin 4.5s linear infinite;
    transform-origin: center;
}

/* Circular Emblem Wrapper */
.sg-splash-logo-wrapper {
    width: 126px;
    height: 126px;
    border-radius: 50%;
    background: radial-gradient(circle, #2a0730 0%, #16031b 100%);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.25), 
                inset 0 0 16px rgba(0, 0, 0, 0.7);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    animation: sgLogoEntrance 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.sg-splash-emblem-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

/* Brand Name & Subtitles */
.sg-splash-brand-group {
    margin-bottom: 24px;
}

.sg-splash-brand-title {
    font-family: var(--sg-font-display);
    font-size: 2.35rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: #ffffff;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.2);
    animation: sgTextFadeUp 0.8s ease-out 0.15s both;
}

.sg-splash-subtitle {
    font-family: var(--sg-font-heading);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 2.8px;
    background: linear-gradient(135deg, #f7e7a9 0%, #d4af37 50%, #f3d068 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: sgTextFadeUp 0.8s ease-out 0.3s both;
}

.sg-sub-sep {
    color: var(--sg-gold-main);
    -webkit-text-fill-color: var(--sg-gold-main);
    opacity: 0.7;
    font-size: 0.75rem;
}

.sg-splash-tagline {
    font-family: var(--sg-font-body);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.6);
    animation: sgTextFadeUp 0.8s ease-out 0.42s both;
}

/* Loading Status Indicator & Message */
.sg-splash-status-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.sg-splash-progress-bar {
    width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 14px;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.sg-splash-progress-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #aa851d 0%, #d4af37 40%, #f7e7a9 65%, #aa851d 100%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: sgProgressMove 1.6s ease-in-out infinite;
}

.sg-splash-status-text {
    font-family: var(--sg-font-body);
    font-size: 0.84rem;
    color: #cbd5e1;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0;
    animation: sgPulseOpacity 2.4s ease-in-out infinite;
}

/* Animations */
@keyframes sgLogoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.90);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes sgTextFadeUp {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sgGlowPulse {
    0% {
        opacity: 0.6;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes sgRingFill {
    0% {
        stroke-dashoffset: 465;
    }
    50% {
        stroke-dashoffset: 120;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes sgRingSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sgProgressMove {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

@keyframes sgPulseOpacity {
    0%, 100% {
        opacity: 0.65;
    }
    50% {
        opacity: 1;
    }
}

@keyframes sgParticleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-16px) translateX(8px);
        opacity: 0.5;
    }
}

/* Responsive Styles */
@media (max-width: 576px) {
    .sg-splash-logo-container {
        width: 130px;
        height: 130px;
        margin-bottom: 18px;
    }
    .sg-splash-logo-wrapper {
        width: 106px;
        height: 106px;
        padding: 6px;
    }
    .sg-splash-brand-title {
        font-size: 1.85rem;
        letter-spacing: 3.5px;
    }
    .sg-splash-subtitle {
        font-size: 0.82rem;
        letter-spacing: 1.8px;
    }
    .sg-splash-progress-bar {
        width: 150px;
    }
    .sg-splash-status-text {
        font-size: 0.78rem;
    }
}

/* Accessibility: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .sg-splash-screen,
    .sg-splash-screen.sg-splash-hidden {
        transition: opacity 0.3s ease !important;
        transform: none !important;
    }
    .sg-splash-logo-wrapper,
    .sg-splash-brand-title,
    .sg-splash-subtitle,
    .sg-splash-tagline,
    .sg-splash-radial-glow,
    .sg-ring-animated,
    .sg-splash-progress-fill,
    .sg-splash-status-text,
    .sg-particle {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
        stroke-dashoffset: 0 !important;
    }
}

/* ==========================================================================
   INNER PAGE HERO & BREADCRUMBS
   ========================================================================== */
.sg-page-hero {
    background: var(--sg-purple-gradient);
    padding: 65px 0 55px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.sg-page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
    pointer-events: none;
}
.sg-breadcrumb {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}
.sg-breadcrumb a {
    color: var(--sg-gold-light);
    text-decoration: none;
}
.sg-breadcrumb a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   PROGRAMS OVERVIEW & FILTER SYSTEM
   ========================================================================== */
.sg-filter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}
.sg-filter-btn {
    background: #ffffff;
    border: 1.5px solid var(--sg-border-light);
    color: var(--sg-purple-main);
    font-weight: 600;
    font-size: 14.5px;
    padding: 9px 22px;
    border-radius: 30px;
    transition: all 0.25s ease;
    cursor: pointer;
}
.sg-filter-btn:hover, .sg-filter-btn.active {
    background: var(--sg-purple-main);
    color: var(--sg-gold-light);
    border-color: var(--sg-purple-main);
    box-shadow: var(--sg-shadow-md);
}

.sg-program-card-premium {
    background: #ffffff;
    border: 1.5px solid var(--sg-border-light);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--sg-shadow-sm);
    position: relative;
}
.sg-program-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--sg-shadow-lg);
    border-color: rgba(212, 175, 55, 0.45);
}
.sg-program-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--sg-gold-gradient);
    color: var(--sg-purple-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.sg-program-header {
    background: #fdfaf8;
    padding: 24px;
    border-bottom: 1px solid #f1f5f9;
}
.sg-program-header h3 {
    font-size: 1.45rem;
    margin-bottom: 6px;
    color: var(--sg-purple-main);
}
.sg-program-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.sg-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.sg-spec-item {
    display: flex;
    flex-direction: column;
}
.sg-spec-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.sg-spec-val {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
}

/* Feature Checklists */
.sg-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}
.sg-check-list li {
    font-size: 13.5px;
    color: #334155;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.sg-check-list li i {
    color: #16a34a;
    font-size: 13px;
    margin-top: 3px;
}

/* ==========================================================================
   COURSE DETAIL MODULES & TIMETABLE
   ========================================================================== */
.sg-sticky-card {
    background: #ffffff;
    border: 2px solid var(--sg-gold-main);
    border-radius: 14px;
    padding: 30px;
    box-shadow: var(--sg-shadow-lg);
    position: sticky;
    top: 100px;
}
.sg-schedule-box {
    background: #fdfaf8;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}
.sg-schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
}
.sg-schedule-row:last-child {
    border-bottom: none;
}
.sg-time-pill {
    background: var(--sg-purple-main);
    color: var(--sg-gold-light);
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
}

/* Faculty Mentor Cards */
.sg-faculty-card-modern {
    background: #ffffff;
    border: 1px solid var(--sg-border-light);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--sg-shadow-sm);
    transition: all 0.2s ease;
}
.sg-faculty-card-modern:hover {
    border-color: var(--sg-gold-main);
    transform: translateY(-2px);
    box-shadow: var(--sg-shadow-md);
}
.sg-faculty-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sg-gold-main);
}

/* ==========================================================================
   ADMISSIONS & SG-SAT SCHOLARSHIP CALCULATOR
   ========================================================================== */
.sg-calc-container {
    background: #ffffff;
    border: 2px solid var(--sg-gold-main);
    border-radius: 16px;
    padding: 36px;
    box-shadow: var(--sg-shadow-lg);
}
.sg-calc-result-box {
    background: var(--sg-purple-gradient);
    color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.sg-calc-reward-percent {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--sg-font-heading);
    color: var(--sg-gold-light);
    line-height: 1;
    margin: 10px 0;
}
.sg-step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sg-gold-gradient);
    color: var(--sg-purple-dark);
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

/* ==========================================================================
   STUDENT DASHBOARD PORTAL
   ========================================================================== */
.sg-portal-container {
    background: #f8fafc;
    min-height: 85vh;
    padding: 40px 0 60px 0;
}
.sg-portal-header-card {
    background: var(--sg-purple-gradient);
    color: #ffffff;
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: var(--sg-shadow-md);
}
.sg-portal-kpi-card {
    background: #ffffff;
    border: 1px solid var(--sg-border-light);
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--sg-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sg-portal-kpi-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sg-purple-main);
    line-height: 1.1;
    margin: 4px 0 0 0;
}
.sg-portal-chart-card {
    background: #ffffff;
    border: 1px solid var(--sg-border-light);
    border-radius: 14px;
    padding: 26px;
    box-shadow: var(--sg-shadow-sm);
    margin-bottom: 24px;
}
.sg-progress-bar-custom {
    height: 9px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    margin: 8px 0 16px 0;
}
.sg-progress-fill-purple {
    background: var(--sg-purple-main);
    height: 100%;
}
.sg-progress-fill-gold {
    background: var(--sg-gold-main);
    height: 100%;
}
.sg-progress-fill-teal {
    background: #0284c7;
    height: 100%;
}
.sg-progress-fill-green {
    background: #16a34a;
    height: 100%;
}

/* Error Logbook Table */
.sg-table-responsive {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--sg-border-light);
}
.sg-table-custom {
    width: 100%;
    margin-bottom: 0;
    font-size: 13.5px;
}
.sg-table-custom th {
    background: #f8fafc;
    color: var(--sg-purple-main);
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 1.5px solid var(--sg-border-light);
}
.sg-table-custom td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}
.sg-badge-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.sg-badge-revision {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.sg-badge-mastered {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.sg-badge-progress {
    background: #fefce8;
    color: #ca8a04;
    border: 1px solid #fef08a;
}

/* ==========================================================================
   VIDEO SHOWCASE & CAMPUS TOUR GALLERY
   ========================================================================== */
.sg-video-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--sg-border-light);
    overflow: hidden;
    box-shadow: var(--sg-shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.sg-video-card:hover {
    transform: translateY(-5px);
    border-color: var(--sg-gold-main);
    box-shadow: var(--sg-shadow-lg);
}
.sg-video-thumb-box {
    position: relative;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    background: #0f172a;
}
.sg-video-thumb {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.sg-video-card:hover .sg-video-thumb {
    transform: scale(1.06);
}
.sg-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: rgba(212, 175, 55, 0.92);
    color: #1b0422;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: all 0.25s ease;
    padding-left: 3px;
    border: 2px solid #ffffff;
}
.sg-video-card:hover .sg-play-badge {
    background: #ffffff;
    color: #dc2626;
    transform: translate(-50%, -50%) scale(1.15);
}
.sg-video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}
.sg-video-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sg-video-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: inline-block;
}

/* ==========================================================================
   MINIMALIST SIGNATURE FOOTER COMPONENT
   ========================================================================== */
.sg-site-footer,
.sg-footer-dark,
.sg-footer {
    background: #FAFAFA !important;
    border-top: 1px solid #ECECF0 !important;
    padding: 70px 0 0 0 !important;
    position: relative !important;
    overflow: hidden !important;
    color: #1E293B !important;
}

.sg-footer-inner {
    position: relative !important;
    z-index: 2 !important;
    padding-bottom: 20px !important;
}

.sg-footer-brand-logo {
    height: 54px !important;
    width: auto !important;
    max-width: 320px !important;
    object-fit: contain !important;
    display: block !important;
    margin-bottom: 16px !important;
}

.sg-footer-tagline {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: #64748B !important;
    max-width: 340px !important;
    margin: 0 !important;
    font-weight: 400 !important;
}

.sg-footer-heading {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #64748B !important;
    margin-bottom: 20px !important;
}

.sg-footer-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.sg-footer-nav li {
    margin: 0 !important;
    padding: 0 !important;
}

.sg-footer-nav li a {
    color: #1E293B !important;
    font-size: 14.5px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.sg-footer-nav li a:hover {
    color: #2563EB !important;
    transform: translateX(2px) !important;
}

.sg-footer-watermark {
    position: relative !important;
    z-index: 1 !important;
    text-align: center !important;
    font-size: clamp(3.8rem, 15vw, 12.5rem) !important;
    font-weight: 900 !important;
    line-height: 0.85 !important;
    letter-spacing: -0.02em !important;
    color: #DEE3FB !important;
    text-transform: uppercase !important;
    user-select: none !important;
    pointer-events: none !important;
    margin-top: 30px !important;
    margin-bottom: -15px !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    .sg-site-footer,
    .sg-footer-dark,
    .sg-footer {
        padding: 50px 0 0 0 !important;
    }
    .sg-footer-tagline {
        margin-bottom: 25px !important;
    }
    .sg-footer-watermark {
        font-size: clamp(2.6rem, 15vw, 5.2rem) !important;
        margin-top: 20px !important;
        margin-bottom: -8px !important;
    }
}

.sg-footer-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #07153D !important;
    margin-bottom: 22px;
}

.sg-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sg-footer-links a {
    color: #556582 !important;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sg-footer-links a:hover {
    color: var(--sg-cobalt) !important;
    transform: translateX(4px);
}

.sg-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #475467 !important;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.sg-footer-contact-item a {
    color: #07153D !important;
    text-decoration: none;
    transition: color 0.2s;
}

.sg-footer-contact-item a:hover {
    color: var(--sg-cobalt) !important;
}

.sg-footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sg-footer-link-list a {
    color: #556582 !important;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sg-footer-link-list a:hover {
    color: var(--sg-cobalt) !important;
}

.sg-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F0F4FC !important;
    color: #07153D !important;
    font-size: 13px;
    border: 1px solid #D8E3F5 !important;
    transition: all 0.2s ease;
}

.sg-social-icon:hover {
    background: var(--sg-cobalt) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* ---------------- Infinite Scrolling Photos Ticker / Premium Facilities ---------------- */
.sg-sec-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2A4FD6;
    background: #EEF2FF;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid #C7D2FE;
}

.sg-photo-scroller-sec {
    padding: 60px 0;
    background: #FFFFFF;
    overflow: hidden;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.sg-scroller-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollPhotos 35s linear infinite;
}

.sg-scroller-track:hover {
    animation-play-state: paused;
}

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

.sg-photo-card {
    width: 320px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(9, 15, 45, 0.06);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.sg-photo-card:hover {
    transform: translateY(-6px);
}

.sg-photo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.sg-photo-card .info {
    padding: 16px;
}

.sg-photo-card .tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #2A4FD6;
    margin-bottom: 4px;
}

.sg-photo-card h6 {
    font-size: 15px;
    font-weight: 700;
    color: #07153D;
    margin-bottom: 4px;
}

/* ============================================================
   PROGRAM BROCHURES / FLYERS SLIDING SCREEN (HOME PAGE)
   ============================================================ */
.sg-brochure-scroller-sec {
    padding: 60px 0 70px 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.sg-brochure-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: scrollBrochures 40s linear infinite;
}

.sg-brochure-track:hover {
    animation-play-state: paused;
}

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

.sg-brochure-card {
    width: 310px;
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(7, 21, 61, 0.08);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.sg-brochure-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(7, 21, 61, 0.18);
}

.sg-brochure-thumb-wrap {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #07153D;
    cursor: pointer;
}

.sg-brochure-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    display: block;
}

.sg-brochure-card:hover .sg-brochure-thumb-wrap img {
    transform: scale(1.04);
}

.sg-brochure-zoom-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(7, 21, 61, 0.82);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    transition: background 0.2s ease;
}

.sg-brochure-card:hover .sg-brochure-zoom-badge {
    background: #2A4FD6;
}

.sg-brochure-intake-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    font-size: 11.5px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.sg-brochure-details {
    padding: 18px 20px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sg-brochure-details h5 {
    font-size: 17px;
    font-weight: 800;
    color: #07153D;
    margin: 0;
}

.sg-brochure-details p {
    font-size: 13px;
    color: #64748B;
    margin: 0;
    line-height: 1.45;
}

.sg-brochure-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.sg-brochure-btn-view {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #F1F5F9;
    color: #0F172A;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid #CBD5E1;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sg-brochure-btn-view:hover {
    background: #E2E8F0;
    color: #07153D;
}

.sg-brochure-btn-enrol {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #2A4FD6;
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sg-brochure-btn-enrol:hover {
    background: #1A3EB8;
    color: #FFFFFF;
}

