/* ==================================================
   1. BASE & RESET
================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root { 
    --hero-radius: 34px; 
    --content-bg: #ffffff; 
    --sky-bg: #dceefe; 
}

html { 
    background: var(--content-bg); 
    overscroll-behavior-y: none; 
    scroll-behavior: smooth; 
}

body { 
    min-height: 100vh; 
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; 
    color: #102033; 
    background: var(--content-bg); 
    overflow-x: hidden; 
}

body.homepage { 
    background-color: #1c92d2; 
}


/* ==================================================
   2. NAVIGATION & DROPDOWN
================================================== */
.lg-navbar-wrapper { 
    position: fixed; 
    top: 24px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: min(1100px, calc(100% - 40px)); 
    z-index: 9999; 
}

body:not(.homepage) .lg-navbar-wrapper { 
    position: absolute !important; 
}

body:not(.homepage) .lg-navbar .lg-glass-filter, 
body:not(.homepage) .lg-navbar .lg-glass-overlay, 
body:not(.homepage) .lg-navbar .lg-glass-specular, 
body:not(.homepage) .lg-dropdown .lg-dropdown-filter, 
body:not(.homepage) .lg-dropdown .lg-dropdown-overlay, 
body:not(.homepage) .lg-dropdown .lg-dropdown-specular { 
    display: none !important; 
}

body:not(.homepage) .lg-navbar { 
    background: linear-gradient(135deg, #fffaf0 0%, #fbe9c8 55%, #f6dba6 100%) !important; 
    backdrop-filter: none !important; 
    -webkit-backdrop-filter: none !important; 
    box-shadow: 0 6px 24px rgba(16, 32, 51, 0.12) !important; 
    border-bottom: 1px solid rgba(252, 88, 0, 0.18) !important; 
}

body:not(.homepage) .lg-navbar::before { 
    content: ""; 
    position: absolute; 
    inset: 0; 
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), transparent 55%); 
    pointer-events: none; 
}

body:not(.homepage) .lg-brand-text { 
    color: #102033 !important; 
}

body:not(.homepage) .lg-menu-btn span { 
    background-color: #102033 !important; 
}

body:not(.homepage) .lg-dropdown { 
    background: linear-gradient(135deg, #fffaf0 0%, #fbe9c8 60%, #f6dba6 100%) !important; 
    backdrop-filter: none !important; 
    -webkit-backdrop-filter: none !important; 
    box-shadow: 0 10px 28px rgba(16, 32, 51, 0.15) !important; 
}

body:not(.homepage) .lg-dropdown-content a { 
    color: #102033 !important; 
}

body:not(.homepage) .lg-dropdown-content a:hover { 
    color: #fc5800 !important; 
}

body:not(.homepage) .lg-dropdown-content a.lg-cta { 
    color: #fff !important; 
}

.lg-navbar { 
    position: relative; 
    overflow: hidden; 
    border-radius: 999px; 
}

.lg-glass-filter, .lg-glass-overlay, .lg-glass-specular { 
    position: absolute; 
    inset: 0; 
    border-radius: inherit; 
}

.lg-glass-filter { 
    backdrop-filter: blur(14px) saturate(190%) brightness(1.15); 
}

.lg-glass-overlay { 
    background: rgba(255, 255, 255, .08); 
}

.lg-glass-specular { 
    border: 1px solid rgba(255, 255, 255, .15); 
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .65), inset 0 0 15px rgba(255, 255, 255, .15), 0 15px 40px rgba(0, 0, 0, .25); 
}

.lg-navbar-content { 
    position: relative; 
    z-index: 3; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 14px 20px; 
}

.lg-brand { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    text-decoration: none; 
    color: #b30303; 
}

.lg-brand-image { 
    width: 47px; 
    height: 47px; 
    border-radius: 50%; 
    overflow: hidden; 
    border: 2px solid rgba(255, 255, 255, .2); 
    flex-shrink: 0; 
    filter: brightness(0.89) contrast(1.5) saturate(1.0) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3)); 
}

.lg-brand-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.lg-brand-text { 
    font-size: 1.15rem; 
    font-weight: 700; 
    letter-spacing: .5px; 
}

.lg-menu-btn { 
    width: 48px; 
    height: 48px; 
    border: none; 
    border-radius: 50%; 
    background: rgba(247, 245, 245, 0.08); 
    cursor: pointer; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    gap: 6px; 
    transition: .35s; 
}

.lg-menu-btn:hover { 
    background: rgba(255, 255, 255, .15); 
}

.lg-menu-btn span { 
    width: 20px; 
    height: 2px; 
    border-radius: 999px; 
    background: white; 
    transition: .35s; 
}

.lg-menu-btn.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.lg-menu-btn.active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.lg-dropdown { 
    position: absolute; 
    top: 80px; 
    right: 0; 
    width: 320px; 
    overflow: hidden; 
    border-radius: 32px; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(-15px) scale(.95); 
    transition: .0s cubic-bezier(.175, .885, .32, 1.25); 
}

.lg-dropdown.active { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0) scale(1); 
}

.lg-dropdown-filter, .lg-dropdown-overlay, .lg-dropdown-specular { 
    position: absolute; 
    inset: 0; 
}

.lg-dropdown-filter { backdrop-filter: blur(20px) saturate(180%); }
.lg-dropdown-overlay { background: rgba(255, 255, 255, .08); }
.lg-dropdown-specular { border: 1px solid rgba(255, 255, 255, .15); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .55), inset 0 0 15px rgba(255, 255, 255, .1), 0 30px 60px rgba(0, 0, 0, .25); }

.lg-dropdown-content { 
    position: relative; 
    z-index: 3; 
    display: flex; 
    flex-direction: column; 
    padding: 18px; 
}

.lg-dropdown-content a { 
    text-decoration: none; 
    color: white; 
    font-size: 1rem; 
    padding: 14px 18px; 
    border-radius: 18px; 
    transition: .3s; 
}

.lg-dropdown-content a:hover { 
    background: rgba(255, 255, 255, .12); 
    transform: translateX(4px); 
}

.lg-cta { 
    margin-top: 10px; 
    text-align: center; 
    background: linear-gradient(135deg, #fc5800, #c90d0d, #811507) !important; 
    font-weight: 600; 
    transform-origin: center; 
    transition: transform .3s ease; 
}

.lg-dropdown-content a.lg-cta:hover { 
    transform: scale(1.04) !important; 
}

@media(max-width: 768px) { 
    .lg-dropdown { width: 100%; } 
    .lg-brand-text { font-size: 0; } 
    .lg-brand-text::after { content: "SRBV"; font-size: 1rem; font-weight: 700; } 
}


/* ==================================================
   3. HERO SECTION
================================================== */
.hero { 
    position: relative; 
    min-height: 100svh; 
    overflow: hidden; 
    background: var(--sky-bg); 
    isolation: isolate; 
}

.hero-media { 
    position: absolute; 
    inset: 0; 
}

.hero-media img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center 36%; 
    transform: scale(1.02); 
    display: block; 
}

.hero-media::after { 
    content: ""; 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.00) 72%, rgba(255, 255, 255, 0.14) 82%, rgba(255, 255, 255, 0.78) 100%); 
    pointer-events: none; 
}

.hero-soft-edge { 
    position: absolute; 
    left: -3%; 
    right: -3%; 
    bottom: -2px; 
    height: 10px; 
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96)); 
    filter: blur(10px); 
    transform: scaleY(1.05); 
    pointer-events: none; 
}

.hero::before { 
    content: ""; 
    position: absolute; 
    left: 0; 
    right: 0; 
    bottom: -1px; 
    height: 78px; 
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.97)); 
    pointer-events: none; 
    z-index: 1; 
}

.hero-emblem { 
    position: absolute; 
    top: clamp(92px, 18vh, 170px); 
    left: 50%; 
    width: min(240px, 42vw); 
    height: auto; 
    transform: translateX(-50%); 
    z-index: 2; 
    pointer-events: none; 
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.28)); 
}

@media (max-width: 768px) { 
    .hero-emblem { top: clamp(88px, 16vh, 130px); width: min(180px, 48vw); } 
    .hero-media img { object-position: center 30%; } 
}


/* ==================================================
   4. LAYOUT & EXCELLENCE BLOCK
================================================== */
.page-space { 
    min-height: 150vh; 
    background: #2980B9; 
    background: -webkit-linear-gradient(to top, #FFFFFF, #6DD5FA, #2980B9, #65C7F7); 
    background: linear-gradient(#FFFFFF, #6DD5FA, #65C7F7, #1c92d2); 
}

.excellence-block { 
    text-align: center; 
    padding-top: 70px; 
    padding-bottom: 20px; 
}

.excellence-title { 
    font-family: "Amiri", serif; 
    font-weight: 700; 
    font-style: normal; 
    color: #000; 
    font-size: clamp(2rem, 5vw, 3.5rem); 
    letter-spacing: 1px; 
    margin: -25px 0 0 0; 
}

.excellence-sub { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 18px; 
    margin-top: 20px; 
}

.sub-line { 
    display: inline-block; 
    width: 70px; 
    height: 3px; 
    background: #000; 
    border-radius: 2px; 
}

.sub-text { 
    font-family: "Times New Roman", Times, serif; 
    color: #D19C1D; 
    font-size: clamp(0.85rem, 2vw, 1.15rem); 
    letter-spacing: 2px; 
    font-weight: 500; 
}

@media (max-width: 480px) { 
    .sub-line { width: 36px; } 
}


/* ==================================================
   5. STATISTICS SECTION
================================================== */
.stats-section { 
    position: relative; 
    z-index: 2; 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 50px 5% 60px; 
}

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

.stat-card { 
    background: #ffffff; 
    border-radius: 20px; 
    padding: 30px 18px; 
    text-align: center; 
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 12px 28px rgba(0, 0, 0, 0.08), 0 30px 55px rgba(41, 128, 185, 0.12); 
    transition: transform 0.35s ease, box-shadow 0.35s ease; 
}

.stat-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06), 0 18px 36px rgba(0, 0, 0, 0.10), 0 40px 65px rgba(41, 128, 185, 0.18); 
}

.stat-number { 
    font-family: "Amiri", serif; 
    font-weight: 700; 
    font-size: clamp(1.7rem, 3vw, 2.5rem); 
    color: #000; 
    line-height: 1.1; 
    margin-bottom: 8px; 
}

.stat-label { 
    font-size: clamp(0.7rem, 1.4vw, 0.85rem); 
    color: #2b2b2b; 
    letter-spacing: 0.5px; 
    font-weight: 500; 
}

@media (max-width: 768px) { 
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } 
}

@media (max-width: 480px) { 
    .stat-card { padding: 22px 12px; } 
    :root { --hero-radius: 26px; } 
}


/* ==================================================
   6. SHOWCASE CARD (RESULTS & NOTICE BOARD)
================================================== */
.showcase-card { 
    position: relative; 
    display: flex; 
    align-items: stretch; 
    gap: 30px; 
    border-radius: 28px; 
    padding: 36px; 
    max-width: 1100px; 
    margin: 40px auto 0; 
    overflow: hidden; 
    isolation: isolate; 
    border: 1px solid rgba(255, 255, 255, 0.7); 
    background: radial-gradient(120% 140% at 8% -10%, rgba(255, 252, 246, 0.85) 0%, rgba(232, 218, 190, 0.18) 35%, rgba(255, 255, 255, 0) 55%), radial-gradient(100% 120% at 95% 115%, rgba(214, 196, 168, 0.55) 0%, rgba(214, 196, 168, 0) 50%), linear-gradient(135deg, #ffffff 0%, #fbf8f2 22%, #f3ecdd 45%, #ece2cd 62%, #f6f1e6 80%, #ffffff 100%); 
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), inset 0 -1px 0 rgba(180, 150, 100, 0.15), 0 1px 3px rgba(80, 60, 30, 0.06), 0 14px 28px rgba(80, 60, 30, 0.12), 0 45px 80px rgba(80, 60, 30, 0.16); 
}

.showcase-card::before { 
    content: ""; 
    position: absolute; 
    inset: 0; 
    z-index: 0; 
    border-radius: inherit; 
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 15%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.45) 85%, rgba(255, 255, 255, 0) 100%); 
    background-size: 250% 250%; 
    background-position: 0% 0%; 
    mix-blend-mode: overlay; 
    pointer-events: none; 
    animation: pearl-shimmer 8s ease-in-out infinite; 
}

.showcase-card::after { 
    content: ""; 
    position: absolute; 
    inset: 0; 
    z-index: 0; 
    border-radius: inherit; 
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 0 40px rgba(255, 255, 255, 0.4); 
    pointer-events: none; 
}

.results-slot, .notice-slot { position: relative; z-index: 1; }
.results-slot { flex: 1.5; min-height: 420px; display: flex; flex-direction: column; }
.notice-slot { position: relative; flex: 1; min-height: 420px; }

.notice-board-card { 
    position: absolute; 
    inset: 0; 
    display: flex; 
    flex-direction: column; 
    background: #f1e0ba; 
    border-radius: 20px; 
    padding: 30px 28px; 
    border: 1px solid rgba(139, 94, 52, 0.25); 
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), inset 0 -3px 10px rgba(139, 94, 52, 0.08), 0 6px 14px rgba(90, 60, 20, 0.18), 0 22px 40px rgba(90, 60, 20, 0.22); 
    overflow: hidden; 
    box-sizing: border-box; 
}

.notice-title { 
    font-family: "Amiri", serif; 
    font-weight: 700; 
    font-size: 1.2rem; 
    color: #4a2f17; 
    margin-bottom: 28px; 
    position: relative; 
    z-index: 1; 
}

.notice-lines { 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
    position: relative; 
    z-index: 1; 
}

.notice-line { 
    height: 1px; 
    background: rgba(74, 47, 23, 0.3); 
}

.ssc-carousel { 
    position: relative; 
    flex: 1; 
    border-radius: 20px; 
    overflow: hidden; 
    background: #0d1117; 
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 40px rgba(0, 0, 0, 0.18); 
}

.ssc-carousel-track { 
    display: flex; 
    height: 100%; 
    transition: transform 0.55s cubic-bezier(.65, 0, .35, 1); 
}

.ssc-carousel-slide { 
    flex: 0 0 100%; 
    width: 100%; 
    height: 100%; 
}

.ssc-carousel-slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}

.ssc-carousel-btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 48px; 
    height: 48px; 
    padding: 0; 
    border: none; 
    border-radius: 50%; 
    overflow: hidden; 
    cursor: pointer; 
    background: transparent; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 4; 
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease; 
}

.ssc-carousel-btn i { 
    position: relative; 
    z-index: 3; 
    color: #D4AF37; 
    font-size: 16px; 
}

.ssc-carousel-btn:hover .lg-glass-overlay { 
    background: rgba(255, 255, 255, .16); 
}

.ssc-carousel-prev { left: 16px; }
.ssc-carousel-next { right: 16px; }

.ssc-carousel-btn.is-hidden { 
    opacity: 0; 
    visibility: hidden; 
    pointer-events: none; 
    transform: translateY(-50%) scale(.85); 
}

.ssc-carousel-dots { 
    position: absolute; 
    left: 0; 
    right: 0; 
    bottom: 16px; 
    z-index: 4; 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
}

.ssc-carousel-dot { 
    width: 9px; 
    height: 9px; 
    padding: 0; 
    border: none; 
    border-radius: 50%; 
    background: rgba(255, 255, 255, .45); 
    cursor: pointer; 
    transition: transform .3s ease, background .3s ease; 
}

.ssc-carousel-dot.active { background: #fff; }

.ssc-results-title { 
    font-family: Helvetica, Arial, sans-serif; 
    font-weight: 700; 
    font-size: clamp(1.3rem, 2.5vw, 1.8rem); 
    color: #102033; 
    text-align: left; 
    padding-left: 10px; 
    margin-bottom: 14px; 
    flex-shrink: 0; 
}

@media (max-width: 900px) { 
    .showcase-card { flex-direction: column; padding: 26px; margin: 40px 20px 0; } 
    .results-slot { min-height: auto; } 
    .ssc-carousel { flex: none; aspect-ratio: 4 / 3; min-height: 260px; } 
    .notice-slot { min-height: 300px; } 
}

@media (max-width: 480px) { 
    .showcase-card { border-radius: 20px; padding: 20px; gap: 20px; margin: 30px 16px 0; } 
    .ssc-carousel { aspect-ratio: 1 / 1; min-height: 220px; } 
    .notice-slot { min-height: 260px; } 
    .notice-board-card { padding: 22px 20px; } 
    .notice-title { font-size: 1.05rem; margin-bottom: 20px; } 
    .notice-lines { gap: 22px; } 
    .ssc-carousel-btn { width: 40px; height: 40px; }
}


/* ==================================================
   7. ADMISSIONS SECTION & FACILITIES
================================================== */
.admissions-section { 
    margin-top: 48px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 36px; 
    padding: 0 0 40px 0; 
    width: 100%; 
}

.admissions-banner { 
    display: flex; 
    align-items: stretch; 
    border: 2px solid rgba(255, 255, 255, 0.75); 
    border-radius: 18px; 
    overflow: hidden; 
    background: rgba(255, 255, 255, 0.12); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 32px rgba(0, 0, 0, 0.18); 
}

.admissions-banner-cell { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    gap: 4px; 
    padding: 18px 48px; 
}

.admissions-banner-divider { 
    width: 2px; 
    background: rgba(255, 255, 255, 0.6); 
    align-self: stretch; 
}

.admissions-banner-title { 
    font-size: 1.15rem; 
    font-weight: 600; 
    color: #fff; 
    letter-spacing: 0.04em; 
}

.admissions-banner-sub { 
    font-size: 1.35rem; 
    font-weight: 700; 
    color: #fff; 
    letter-spacing: 0.06em; 
}

.facilities-block { 
    width: 100%; 
    max-width: 1100px; 
    padding: 0; 
}

.facilities-title { 
    font-size: 1.25rem; 
    font-weight: 800; 
    color: #fff; 
    letter-spacing: 0.06em; 
    margin-bottom: 18px; 
    text-transform: uppercase; 
}

.facilities-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 10px 40px; 
}

.facility-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    color: #000; 
    font-size: 1.1rem; 
    font-weight: 400; 
    line-height: 1.5; 
    padding: 6px 0; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.20); 
}

.facility-num { 
    font-weight: 700; 
    flex-shrink: 0; 
    color: #fff; 
    min-width: 22px; 
}

.admissions-bottom { 
    width: 100%; 
    max-width: 1100px; 
    padding: 0; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 32px; 
}

.programs-box { 
    display: inline-flex; 
    flex-direction: row; 
    gap: 16px; 
    padding: 16px; 
    border-radius: 24px; 
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%); 
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 8px 24px rgba(0, 0, 0, 0.15), 0 32px 64px rgba(0, 0, 0, 0.20); 
    position: relative; 
    isolation: isolate; 
    align-items: center; 
    width: fit-content; 
    height: fit-content; 
}

.programs-box::before { 
    content: ""; 
    position: absolute; 
    inset: 0; 
    border-radius: 24px; 
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.10) 40%, rgba(255, 255, 255, 0) 100%); 
    pointer-events: none; 
    z-index: 2; 
}

.programs-box:hover::after { 
    opacity: 1; 
}

.programs-box:hover { 
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 16px 40px rgba(0, 0, 0, 0.22), 0 48px 80px rgba(0, 0, 0, 0.18), 0 0 40px rgba(100, 200, 255, 0.18); 
}

.program-card { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    padding: 22px 40px; 
    gap: 6px; 
    border-radius: 18px; 
    border: 1px solid rgba(255, 255, 255, 0.55); 
    background: rgba(255, 255, 255, 0.14); 
    backdrop-filter: blur(18px); 
    -webkit-backdrop-filter: blur(18px); 
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -1px 0 rgba(255, 255, 255, 0.10), 0 8px 32px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.14); 
    position: relative; 
    overflow: hidden; 
    width: auto; 
    height: auto; 
    min-height: unset; 
    min-width: unset; 
    transform-style: preserve-3d; 
    transform: perspective(600px) rotateX(0deg) rotateY(0deg); 
    transition: transform 0.15s ease-out, box-shadow 0.3s ease; 
    cursor: default; 
}

.program-card:hover { 
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 16px 48px rgba(0, 0, 0, 0.30), 0 4px 12px rgba(0, 0, 0, 0.18); 
}

.program-card::before { 
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 42%; 
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 100%); 
    border-radius: 18px 18px 0 0; 
    pointer-events: none; 
    z-index: 2; 
}

.pc-anim-layer { 
    position: absolute; 
    inset: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 0; 
    pointer-events: none; 
    opacity: 0.75; 
    transition: opacity 0.3s ease; 
}

.program-card:hover .pc-anim-layer { opacity: 1; }
.pc-anim-layer svg { width: 88%; height: 88%; }

.pc-content { 
    position: relative; 
    z-index: 3; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 4px; 
}

.program-name { 
    font-size: 1.05rem; 
    font-weight: 800; 
    color: #000; 
    letter-spacing: 0.06em; 
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); 
}

.program-classes { 
    font-size: 0.86rem; 
    font-weight: 600; 
    color: rgba(99, 98, 98, 0.88); 
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); 
}

.tagline-block { 
    flex: 1; 
    text-align: left; 
}

.tagline-text { 
    font-size: 1.45rem; 
    font-weight: 800; 
    color: #fff; 
    letter-spacing: 0.08em; 
    line-height: 1.7; 
    text-transform: uppercase; 
}

@media (max-width: 768px) { 
    .admissions-section { padding: 0 16px 40px; } 
    .admissions-banner { width: 100%; } 
    .admissions-banner-cell { padding: 14px 24px; } 
    .facilities-block { width: 100%; padding: 0; } 
    .facilities-grid { grid-template-columns: 1fr; gap: 6px; } 
    .admissions-bottom { flex-direction: column; align-items: center; gap: 24px; width: 100%; } 
    .programs-box { width: 100%; display: flex; flex-direction: row; justify-content: center; box-sizing: border-box; overflow: hidden; align-items: stretch; } 
    .program-card { flex: 1 1 0; min-width: 0; width: 50%; min-height: 160px; } 
    .pc-anim-layer { width: 100%; height: 100%; } 
    .pc-anim-layer svg { width: 100%; height: 100%; } 
    .tagline-block { text-align: center; width: 100%; } 
    .tagline-text { font-size: 1.1rem; letter-spacing: 0.05em; } 
}


/* ==================================================
   8. ANIMATIONS & KEYFRAMES
================================================== */
@keyframes pearl-shimmer { 
    0%, 100% { background-position: 10% 10%; } 
    50% { background-position: 90% 60%; } 
}

@keyframes beadUD { 
    0% { transform: translateY(0px); } 
    100% { transform: translateY(20px); } 
}

@keyframes beadDU { 
    0% { transform: translateY(0px); } 
    100% { transform: translateY(-20px); } 
}

@keyframes orbitCW { 
    to { transform: rotate(360deg); } 
}

@keyframes orbitCCW { 
    to { transform: rotate(-360deg); } 
}

@keyframes srbvRotate { 
    0% { transform: rotateX(0deg); } 
    40% { transform: rotateX(0deg); } 
    50% { transform: rotateX(-90deg); } 
    90% { transform: rotateX(-90deg); } 
    100% { transform: rotateX(-180deg); } 
}

/* Specific Animation Assignments */
.r1b1 { animation: beadUD 2.8s ease-in-out infinite alternate; } 
.r1b2 { animation: beadDU 3.2s ease-in-out infinite alternate; } 
.r1b3 { animation: beadUD 2.5s ease-in-out infinite alternate-reverse; } 
.r2b1 { animation: beadDU 3.6s ease-in-out infinite alternate; } 
.r2b2 { animation: beadUD 2.2s ease-in-out infinite alternate-reverse; } 
.r2b3 { animation: beadDU 3.0s ease-in-out infinite alternate; } 
.r3b1 { animation: beadUD 3.4s ease-in-out infinite alternate-reverse; } 
.r3b2 { animation: beadDU 2.6s ease-in-out infinite alternate; } 
.r3b3 { animation: beadUD 2.9s ease-in-out infinite alternate; } 
.r4b1 { animation: beadDU 2.3s ease-in-out infinite alternate-reverse; } 
.r4b2 { animation: beadUD 3.1s ease-in-out infinite alternate; } 
.r4b3 { animation: beadDU 2.7s ease-in-out infinite alternate-reverse; }

.v-orbit1 { transform-origin: 80px 80px; animation: orbitCW 6s linear infinite; } 
.v-orbit2 { transform-origin: 80px 80px; animation: orbitCW 10s linear infinite; } 
.v-orbit3 { transform-origin: 80px 80px; animation: orbitCW 14s linear infinite; } 

.v-electron1 { transform-origin: 80px 80px; animation: orbitCW 3s linear infinite; } 
.v-electron2 { transform-origin: 80px 80px; animation: orbitCCW 2.5s linear infinite; } 
.v-electron3 { transform-origin: 80px 80px; animation: orbitCW 4s linear infinite; }


/* ==================================================
   9. ALUMNI LOVE BADGE
================================================== */
.srbv-love-outer { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 28px 0 20px; 
}

.srbv-love-pill { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    padding: 10px 20px 10px 24px; 
    border-radius: 999px; 
    backdrop-filter: blur(16px) saturate(180%); 
    -webkit-backdrop-filter: blur(16px) saturate(180%); 
    background: rgba(255, 255, 255, 0.14); 
    border: 1px solid rgba(255, 255, 255, 0.40); 
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.55), inset 0 0 12px rgba(255, 255, 255, 0.10), 0 8px 24px rgba(0, 0, 0, 0.15); 
    font-size: 14px; 
    font-weight: 700; 
    color: #fff; 
    letter-spacing: 0.01em; 
    overflow: hidden; 
}

.srbv-love-static { color: #fff; flex-shrink: 0; }

.srbv-flip-wrap { 
    position: relative; 
    width: 115px; 
    height: 20px; 
    perspective: 800px; 
    overflow: visible; 
    flex-shrink: 0; 
}

.srbv-flip-cube { 
    width: 100%; 
    height: 100%; 
    position: relative; 
    transform-style: preserve-3d; 
    animation: srbvRotate 6s ease-in-out infinite; 
}

.srbv-flip-face, .srbv-flip-back, .srbv-flip-top, .srbv-flip-bottom { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
    backface-visibility: hidden; 
    white-space: nowrap; 
    color: #fff; 
    font-weight: 700; 
    font-size: 14px; 
}

.srbv-flip-top .srbv-name, .srbv-flip-bottom .srbv-name { color: #FFD700; margin: 0 2px; }

.srbv-flip-front { transform: rotateX(0deg) translateZ(10px); }
.srbv-flip-top { transform: rotateX(-90deg) translateZ(10px); }
.srbv-flip-back { transform: rotateX(180deg) translateZ(10px); }
.srbv-flip-bottom { transform: rotateX(90deg) translateZ(10px); }
.srbv-heart { color: #ff4d4d; margin-left: 4px; font-style: normal; }


/* ==================================================
   10. FOOTER
================================================== */
.school-footer { 
    position: relative; 
    padding: 20px 8% 15px; 
    border-radius: 34px 34px 0 0; 
    overflow: hidden; 
    z-index: 10; 
    backdrop-filter: blur(20px) saturate(180%); 
    -webkit-backdrop-filter: blur(20px) saturate(180%); 
    background: linear-gradient(135deg, #f7deab 0%, #f3b945 55%, #efb643 70%, #f3b945 100%) !important; 
    border-top: 1px solid rgba(255, 255, 255, .15); 
    border-left: 1px solid rgba(255, 255, 255, .15); 
    border-right: 1px solid rgba(255, 255, 255, .15); 
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .55), inset 0 0 15px rgba(255, 255, 255, .1), 0 -15px 40px rgba(0, 0, 0, .15); 
}

.homepage .school-footer { 
    background: rgba(255, 255, 255, .08) !important; 
}

.footer-container { 
    display: grid; 
    grid-template-columns: 1.3fr 1fr 0.8fr; 
    gap: 40px; 
    align-items: start; 
    position: relative; 
}

.footer-map { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin-top: 40px; 
}

.footer-map iframe { 
    width: 100%; 
    max-width: 450px; 
    height: 220px; 
    border-radius: 16px; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
}

.footer-map-btn { 
    display: none; 
    width: 52px; 
    height: 52px; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    background: linear-gradient(135deg, #fc5800, #c90d0d); 
    color: #fff; 
    font-size: 20px; 
    text-decoration: none; 
    box-shadow: 0 6px 18px rgba(201, 13, 13, 0.35); 
    z-index: 5; 
    transition: transform .25s ease; 
}

.footer-map-btn:hover { 
    transform: scale(1.08); 
    color: #fff; 
}

.footer-left { flex: 2; min-width: 300px; }
.footer-right { flex: 1; min-width: 220px; text-align: right; }

.footer-school-logo-img { 
    display: block; 
    width: 490px; 
    max-width: 100%; 
    height: auto; 
    margin-bottom: 14px; 
    margin-left: -8px; 
    object-fit: contain; 
}

.footer-quick-links-title { 
    font-size: 1.6rem; 
    margin-bottom: 10px; 
    font-weight: 700; 
    color: #FFD700; 
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.35), 0 8px 20px rgba(0, 0, 0, 0.18); 
    transform: translateY(-2px); 
    display: inline-block; 
}

.contact-item { 
    display: flex; 
    flex-direction: row; 
    align-items: flex-start; 
    gap: 15px; 
    text-align: left; 
    margin-bottom: 4px; 
    padding: 2px 10px; 
    margin-left: -10px; 
    border-radius: 12px; 
    width: fit-content; 
    transition: transform 0.25s ease, filter 0.25s ease; 
}

.contact-item--link:hover { 
    transform: translateY(-3px); 
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45)); 
    cursor: pointer; 
}

.contact-item--address { cursor: default; }

.contact-icon { 
    width: 22px; 
    height: 22px; 
    flex-shrink: 0; 
    margin-top: 3px; 
}

.contact-link { 
    text-align: left; 
    line-height: 1.6; 
    color: #fff !important; 
    text-decoration: none; 
    font-weight: 400; 
}

.social-links { 
    display: flex; 
    gap: 18px; 
    margin-top: 25px; 
}

.social-links a { 
    width: 42px; 
    height: 42px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    transition: transform .3s ease, box-shadow .3s ease; 
    position: relative; 
    overflow: hidden; 
    text-decoration: none; 
    color: #fff; 
}

.social-links a::before { 
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    height: 50%; 
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.08) 100%); 
    border-radius: 50% 50% 0 0 / 40% 40% 0 0; 
    pointer-events: none; 
    z-index: 2; 
}

.social-links a i { position: relative; z-index: 3; color: #fff; font-size: 18px; }

.social-links a:nth-child(1) { 
    background: linear-gradient(145deg, #2d8ae6, #0A66C2, #084f9e); 
    border: 1px solid rgba(255, 255, 255, 0.25); 
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 20px rgba(10, 102, 194, 0.55), 0 2px 6px rgba(0, 0, 0, 0.25); 
}

.social-links a:nth-child(2) { 
    background: linear-gradient(145deg, #ff4949, #FF0000, #cc0000, #a60202); 
    border: 1px solid rgba(255, 255, 255, 0.25); 
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 20px rgba(255, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.25); 
}

.social-links a:nth-child(3) { 
    background: linear-gradient(145deg, #4397f6, #1877F2, #1060cc); 
    border: 1px solid rgba(255, 255, 255, 0.25); 
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 20px rgba(24, 119, 242, 0.55), 0 2px 6px rgba(0, 0, 0, 0.25); 
}

.social-links a:hover { transform: scale(1.13) translateY(-3px); }

.social-links a:nth-child(1):hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 12px 30px rgba(10, 102, 194, 0.70), 0 2px 6px rgba(0, 0, 0, 0.25); }
.social-links a:nth-child(2):hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 12px 30px rgba(255, 0, 0, 0.70), 0 2px 6px rgba(0, 0, 0, 0.25); }
.social-links a:nth-child(3):hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 12px 30px rgba(24, 119, 242, 0.70), 0 2px 6px rgba(0, 0, 0, 0.25); }

.footer-right ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.footer-right ul li { 
    margin-bottom: 14px; 
    list-style: none; 
}

.footer-right ul li a { 
    color: #FFFFFF; 
    text-decoration: none; 
    transition: 0.3s ease; 
    display: inline-block; 
}

.footer-right ul li a:hover { 
    color: #ffffff; 
    transform: scale(1.08); 
    text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 15px #ffffff; 
}

.footer-bottom { 
    text-align: center; 
    margin-top: 10px; 
    padding-top: 10px; 
    border-top: 1px solid rgba(255, 255, 255, 0.2); 
    color: #fff; 
    font-size: 14px; 
}

@media (max-width: 768px) { 
    .footer-container { grid-template-columns: 1fr; padding-bottom: 15px; } 
    .footer-left { width: 100%; } 
    .footer-right { display: none; } 
    .footer-map iframe { display: none; } 
    .footer-map { margin-top: 0; } 
    .footer-map-btn { display: flex; position: absolute; right: 0; bottom: 0px; } 
}


/* ==================================================
   11. ACCESSIBILITY & UTILITIES
================================================== */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link:focus {
    position: fixed !important;
    top: 10px !important;
    left: 10px !important;
    width: auto !important;
    height: auto !important;
    background: #1c92d2 !important;
    color: white !important;
    padding: 10px 15px !important;
    z-index: 100000 !important;
    clip: auto !important;
    text-decoration: none !important;
    border-radius: 8px !important;
}

/*:focus-visible {
    outline: 3px solid #fc5800;
    outline-offset: 3px;
}*/



/* ==================================================
   12. SUCCESS MODAL (PHONEPE STYLE)
================================================== */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 32, 51, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 1000000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-modal.show {
    display: flex;
    opacity: 1;
}

.success-modal-content {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 28px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.success-modal.show .success-modal-content {
    transform: scale(1);
}

.success-icon {
    color: #00c853; /* Bright green checkmark */
    font-size: 85px;
    margin-bottom: 20px;
    opacity: 0;
}

.success-modal.show .success-icon {
    animation: iconPopIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.1s;
}

@keyframes iconPopIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.close-modal-btn-ui {
    background: linear-gradient(135deg, #102033, #1a365d);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.close-modal-btn-ui:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 32, 51, 0.2);
}


/* ==================================================
   13. DYNAMIC NOTICE BOARD & MODAL (RULED LINES)
================================================== */
.notice-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    max-height: 340px;
    padding-right: 10px;
}

.notice-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(74, 47, 23, 0.3); /* Ruled line */
    padding: 15px 4px;
    border-radius: 0; 
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notice-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.25);
}

.notice-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.notice-item-title {
    font-weight: 700;
    color: #4a2f17;
    font-size: 1.05rem;
    font-family: Helvetica, Arial, sans-serif;
}

.notice-date {
    font-size: 0.8rem;
    color: #8b5e34;
    font-weight: 600;
}

.notice-new-badge {
    background: #e60000;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    animation: textBlink 1.2s infinite;
    vertical-align: middle;
    font-weight: bold;
    letter-spacing: 0.5px;
}

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

/* Notice Modal Styling */
.notice-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.notice-modal.active {
    display: flex;
    animation: fadeIn 0.2s ease-out forwards;
}

.notice-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #fbf8f2 100%);
    padding: 35px 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(214, 196, 168, 0.5);
}

.notice-modal-close {
    position: absolute;
    top: 15px;
    right: 22px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.notice-modal-close:hover { color: #e60000; }

.notice-modal-header h3 {
    margin: 0;
    color: #102033;
    font-size: 1.5rem;
    font-family: "Amiri", serif;
    padding-right: 25px;
}

.modal-date {
    color: #8b5e34;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-top: 5px;
    margin-bottom: 20px;
}

.modal-desc {
    color: #333;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1rem;
}

.modal-actions { display: flex; gap: 15px; }

.modal-btn {
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    flex: 1;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.preview-btn {
    background: #dceefe;
    color: #102033;
    border: 1px solid #b3dcfd;
}
.preview-btn:hover { box-shadow: 0 6px 15px rgba(179, 220, 253, 0.4); }

.download-btn {
    background: linear-gradient(135deg, #fc5800, #c90d0d);
    color: #fff;
    border: none;
}
.download-btn:hover { box-shadow: 0 6px 15px rgba(201, 13, 13, 0.3); }

/* Custom scrollbar for notice list */
.notice-container::-webkit-scrollbar { width: 6px; }
.notice-container::-webkit-scrollbar-track { background: rgba(139, 94, 52, 0.05); border-radius: 10px; }
.notice-container::-webkit-scrollbar-thumb { background: rgba(139, 94, 52, 0.3); border-radius: 10px; }


/* ==================================================
   13. DYNAMIC NOTICE BOARD, MODAL & BUTTONS
================================================== */
.notice-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    max-height: 340px;
    padding-right: 10px;
}

.notice-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(74, 47, 23, 0.3);
    padding: 15px 4px;
    border-radius: 0; 
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notice-item:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.25);
}

.notice-empty-line {
    height: 67px; /* Matches the exact height of a populated row */
    border-bottom: 1px solid rgba(74, 47, 23, 0.3);
    background: transparent;
}

.notice-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.notice-item-title {
    font-weight: 700;
    color: #4a2f17;
    font-size: 1.05rem;
    font-family: Helvetica, Arial, sans-serif;
}

.notice-date { font-size: 0.8rem; color: #8b5e34; font-weight: 600; }

.notice-new-badge {
    background: #e60000;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    animation: textBlink 1.2s infinite;
    vertical-align: middle;
    font-weight: bold;
    letter-spacing: 0.5px;
}

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

/* Notice Modal Styling */
.notice-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.notice-modal.active {
    display: flex;
    animation: fadeIn 0.2s ease-out forwards;
}

.notice-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #fbf8f2 100%);
    padding: 25px 25px;
    border-radius: 20px;
    width: 90%;
    max-width: 460px; /* Slimmer profile */
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(214, 196, 168, 0.5);
}

.notice-modal-close {
    position: absolute;
    top: 15px;
    right: 22px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.notice-modal-close:hover { color: #e60000; }

.notice-modal-header h3 {
    margin: 0;
    color: #102033;
    font-size: 1.5rem;
    font-family: "Amiri", serif;
    padding-right: 25px;
}

.modal-date {
    color: #8b5e34;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-top: 5px;
    margin-bottom: 20px;
}

.modal-desc {
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Inline Media Preview styling */
.modal-media-preview {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    display: none; 
    background: #f4f6f8;
    border: 1px solid rgba(0,0,0,0.1);
}

.modal-media-preview iframe {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
}

/* Dual Action Buttons */
.modal-actions { 
    display: none; 
    gap: 15px; 
}

.modal-btn {
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    flex: 1;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.website-btn {
    background: #dceefe;
    color: #102033;
    border: 1px solid #b3dcfd;
    display: none; 
}
.website-btn:hover { box-shadow: 0 6px 15px rgba(179, 220, 253, 0.4); }

.download-btn {
    background: linear-gradient(135deg, #fc5800, #c90d0d);
    color: #fff;
    border: none;
    display: none; 
}
.download-btn:hover { box-shadow: 0 6px 15px rgba(201, 13, 13, 0.3); color: #fff;}

/* Custom scrollbar */
.notice-container::-webkit-scrollbar { width: 6px; }
.notice-container::-webkit-scrollbar-track { background: rgba(139, 94, 52, 0.05); border-radius: 10px; }
.notice-container::-webkit-scrollbar-thumb { background: rgba(139, 94, 52, 0.3); border-radius: 10px; }
