/* Past Events Grid - Event Name Below Image */
.event-gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 8px;
}
.event-gallery-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 18px;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.2;
    min-height: 20px;
    max-width: none;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}
.event-gallery-date {
    font-size: 13px;
    color: #b71c1c;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
    display: flex;
    gap: 16px;
    margin-top: 8px;
}
.social-links a {
    font-size: 20px;
    color: #fff;
    background: #d32f2f;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}
.social-links a:hover {
    background: #b71c1c;
    color: #fff;
}
/* PDF View Button */
.pdf-view-btn {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 14px 4px 10px;
    background: #d32f2f;
    color: #fff !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(211,47,47,0.08);
    text-decoration: none;
    vertical-align: middle;
}
.pdf-view-btn i {
    margin-right: 6px;
}
.pdf-view-btn:hover {
    background: #b71c1c;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(211,47,47,0.16);
}
/* Gallery Full Page Popup Styles */
.gallery-full-item {
    position: relative;
    display: inline-block;
    margin: 12px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}
.gallery-full-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    transition: transform 0.2s;
    cursor: zoom-in;
}
.gallery-full-item.hovered {
    box-shadow: 0 0 0 4px #ff6600;
    z-index: 2;
}
.gallery-full-item:hover img {
    transform: scale(1.04);
}
.gallery-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 6000;
}
.gallery-popup.active {
    display: flex;
}
.gallery-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}
.gallery-popup-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    padding: 18px 18px 12px 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    min-width: 340px;
    min-height: 320px;
}
.gallery-popup-img {
    max-width: 70vw;
    max-height: 70vh;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.gallery-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d80000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 22px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
}
.gallery-popup-close:hover {
    background: #a60000;
}
.gallery-popup-prev, .gallery-popup-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 22px;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.2s;
}
.gallery-popup-prev { left: 10px; }
.gallery-popup-next { right: 10px; }
.gallery-popup.active .gallery-popup-prev,
.gallery-popup.active .gallery-popup-next {
    opacity: 1;
}
.gallery-popup-content:hover .gallery-popup-prev,
.gallery-popup-content:hover .gallery-popup-next {
    opacity: 1;
}
/* Instagram Pink Gradient Icon */
.social-icons a.instagram, .footer-social-row a[aria-label="Instagram"] {
    /* Only apply gradient to .social-icons, not footer */
    background: linear-gradient(135deg, #fd5d8d 0%, #e1306c 50%, #fcb045 100%);
    color: #fff !important;
    }
    .footer-social-row a[aria-label="Instagram"] {
        background: #fff0;
        color: #f5f9ff !important;
    }
}
.social-icons a.instagram:hover, .footer-social-row a[aria-label="Instagram"]:hover {
    filter: brightness(1.1) saturate(1.2);
    }
    .footer-social-row a[aria-label="Instagram"]:hover {
        color: #ffb052 !important;
        background: #fff0;
}
/* Gallery Popup Styles */
.gallery-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 6000;
}
.gallery-popup.active {
    display: flex;
}
.gallery-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}
.gallery-popup-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    padding: 18px 18px 12px 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    min-width: 340px;
    min-height: 320px;
}
.gallery-popup-img {
    max-width: 70vw;
    max-height: 70vh;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.gallery-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #d80000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 22px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
}
.gallery-popup-close:hover {
    background: #a60000;
}
.gallery-popup-prev, .gallery-popup-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 22px;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.2s;
}
.gallery-popup-prev { left: 10px; }
.gallery-popup-next { right: 10px; }
.gallery-popup.active .gallery-popup-prev,
.gallery-popup.active .gallery-popup-next {
    opacity: 1;
}

/* Show slide button only on hover */
.gallery-popup-content:hover .gallery-popup-prev,
.gallery-popup-content:hover .gallery-popup-next {
    opacity: 1;
}
.gallery-item.hovered {
    box-shadow: 0 0 0 4px #ff6600;
    z-index: 2;
}
:root {
    --primary: #CC0000;
    --secondary: #FF6600;
    --accent: #228B22;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray: #f5f5f5;
    --text: #333333;
    --gradient: linear-gradient(135deg, #CC0000, #FF6600);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.6;
}

body.popup-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Utility Bar */
.top-bar {
    background: var(--dark);
    color: var(--light);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 25px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-right a {
    padding: 5px 12px;
    border-radius: 3px;
    font-weight: 500;
    font-size: 13px;
    transition: 0.3s;
}

.btn-admission {
    background: var(--secondary);
    color: white !important;
}

.btn-fee {
    background: var(--accent);
    color: white !important;
}

.btn-login {
    background: transparent;
    border: 1px solid #555;
    color: white !important;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.social-icons a.fb { background: #1877F2; }
.social-icons a.twitter { background: #1DA1F2; }
.social-icons a.youtube { background: #FF0000; }

/* Site Popup */
.site-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    padding: 20px;
}

.site-popup.active {
    display: flex;
}

.site-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 14, 28, 0.72);
    backdrop-filter: blur(2px);
}

.site-popup-card {
    position: relative;
    width: min(820px, 94vw);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
    z-index: 1;
    animation: popupRise 0.3s ease;
}

.site-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(12, 35, 68, 0.88);
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.site-popup-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.site-popup-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.site-popup-content {
    padding: 34px 30px;
    background: linear-gradient(170deg, #f7fbff 0%, #eef6ff 100%);
}

.site-popup-kicker {
    display: inline-block;
    background: #0d4a84;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.site-popup-content h3 {
    font-size: 34px;
    line-height: 1.05;
    color: #0d2f56;
    margin-bottom: 14px;
}

.site-popup-content p {
    color: #38536f;
    font-size: 15px;
    margin-bottom: 18px;
}

/* Floating WhatsApp */

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 48px; /* moved up from 18px to 48px */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 31px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.26);
    z-index: 4000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

@keyframes popupRise {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Announcement Ticker */
.announcement-ticker {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #ffcc3f 0%, #ffb629 100%);
    color: #18263c;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.ticker-label {
    flex: 0 0 auto;
    background: rgba(0, 0, 0, 0.12);
    color: #0d1f35;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-track {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 9px 0;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 36px;
    padding-right: 36px;
    min-width: 100%;
    animation: tickerScroll 26s linear infinite;
    font-size: 20px;
    font-weight: 500;
}

.ticker-content span::before {
    content: '\2022';
    color: #d80000;
    margin-right: 12px;
    font-weight: 900;
}

.announcement-ticker:hover .ticker-content {
    animation-play-state: paused;
}

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

/* Navbar */
.navbar {
    background: var(--light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 74px;
    height: 74px;
    background: #fff;
    border-radius: 50%;
    object-fit: contain;
    padding: 5px;
    border: 2px solid #eee;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.logo-text span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #666;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    padding: 10px 16px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
    border-radius: 5px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover {
    background: var(--primary);
    color: white;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    list-style: none;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: var(--primary);
    color: white;
}

.dropdown-arrow {
    font-size: 10px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: clamp(560px, 82vh, 760px);
    overflow: hidden;
    background: #071f3d;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.85s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.slide.active .slide-content {
    animation: heroReveal 0.8s ease both;
}

.slide-shell {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide-left {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 70px 72px;
    background: linear-gradient(95deg, rgba(6, 25, 52, 0.9) 0%, rgba(6, 25, 52, 0.76) 42%, rgba(6, 25, 52, 0.38) 72%, rgba(6, 25, 52, 0.1) 100%);
}

.slide-left::before {
    content: '';
    position: absolute;
    width: 440px;
    height: 440px;
    left: -140px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 58%, rgba(255, 255, 255, 0) 72%);
}

.slide-left::after {
    content: '';
    position: absolute;
    right: 18%;
    top: -70px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 163, 58, 0.38) 0%, rgba(242, 163, 58, 0.08) 58%, rgba(242, 163, 58, 0) 74%);
}

.slide-right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: var(--slide-image);
    background-size: cover !important;
    background-position: var(--slide-pos, center center) !important;
    background-repeat: no-repeat !important;
    z-index: 1;
}

/* Fallback for direct <img> in .slide-right, if ever used */
.slide-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(6, 24, 48, 0.64) 0%, rgba(6, 24, 48, 0.3) 40%, rgba(6, 24, 48, 0.62) 100%);
}

.slide-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 15%, rgba(242, 163, 58, 0.22) 0%, rgba(242, 163, 58, 0) 30%),
        radial-gradient(circle at 15% 78%, rgba(204, 0, 0, 0.18) 0%, rgba(204, 0, 0, 0) 36%);
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: left;
    color: white;
    max-width: 620px;
    padding: 36px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: linear-gradient(150deg, rgba(12, 42, 81, 0.52) 0%, rgba(10, 35, 69, 0.3) 100%);
    backdrop-filter: blur(5px);
    box-shadow: 0 28px 50px rgba(0, 0, 0, 0.28);
}

.slide-content h1 {
    font-size: clamp(34px, 4.4vw, 64px);
    line-height: 1.02;
    letter-spacing: 0.4px;
    margin-bottom: 14px;
    text-transform: none;
    text-shadow: 0 12px 32px rgba(0, 0, 0, 0.36);
}

.slide-content p {
    font-size: clamp(16px, 1.55vw, 24px);
    line-height: 1.42;
    margin-bottom: 28px;
    max-width: 520px;
    color: rgba(236, 244, 255, 0.95);
}

.slide-content .btn {
    padding: 13px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 18px 35px rgba(204, 0, 0, 0.34);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(204, 0, 0, 0.4);
    color: white;
}

.slider-nav {
    display: none;
}

.slider-dots {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(8, 31, 58, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 24px rgba(7, 24, 43, 0.3);
    z-index: 10;
}
.slider-dots span {
    width: 18px;
    height: 11px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.58);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    display: inline-block;
}
.slider-dots span:hover {
    background: rgba(255, 255, 255, 0.86);
}
.slider-dots span.active {
    background: var(--secondary);
    width: 36px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.18);
}
}

.slider-dot {
    width: 18px;
    height: 11px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.58);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.86);
}

.slider-dot.active {
    background: var(--secondary);
    width: 36px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.18);
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quick Access Buttons */
.quick-access {
    background: transparent;
    margin-top: -34px;
    position: relative;
    z-index: 11;
    padding: 0 0 26px;
}

.quick-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(130deg, #de2100 0%, #ff5c00 100%);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 18px 34px rgba(11, 35, 67, 0.24);
    max-width: 600px;
    margin: 0 auto;
}

.quick-btn {
    background: rgba(255, 255, 255, 0.92);
    padding: 14px 26px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);
}

.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.quick-btn i {
    font-size: 20px;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background: var(--gray);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.welcome-content h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
}

.welcome-content p {
    margin-bottom: 20px;
    color: #555;
}

.welcome-content .btn {
    margin-top: 20px;
}

/* Stats Counter */
.stats-section {
    background: var(--primary);
    padding: 60px 0;
}

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

.stat-item {
    color: white;
}

.stat-item i {
    font-size: 40px;
    margin-bottom: 15px;
}

.stat-item .number {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.stat-item .label {
    font-size: 16px;
    opacity: 0.9;
}

/* Why Choose Us */
.why-choose {
    padding: 84px 0;
    background: #eef1f6;
}

.edge-heading {
    text-align: center;
    margin-bottom: 38px;
}

.edge-heading-line {
    display: block;
    width: 2px;
    height: 46px;
    margin: 0 auto 16px;
    background: #3e4a87;
}

.edge-heading h2 {
    font-size: 52px;
    color: #343970;
    letter-spacing: 0.2px;
}

.edge-wrap {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 28px;
    align-items: center;
}

.edge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.edge-tile {
    min-height: 122px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.edge-tile i {
    font-size: 34px;
    margin-bottom: 10px;
}

.edge-tile span {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
}

.edge-tile:hover {
    transform: translateY(-4px);
    filter: brightness(1.06);
}

.edge-wide {
    grid-column: span 2;
}

.tile-red { background: #e32b38; }
.tile-orange { background: #ef6d32; }
.tile-amber { background: #f4a131; }
.tile-green { background: #77c34b; }
.tile-blue { background: #3894cf; }
.tile-indigo { background: #474783; }
.tile-violet { background: #7e4ba9; }

.edge-more {
    margin: 22px auto 0;
    display: block;
    width: fit-content;
    border: 1px solid #343970;
    color: #343970;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.4px;
    padding: 8px 24px;
    border-radius: 4px;
}

.edge-more:hover {
    background: #343970;
    color: #fff;
}

.edge-visual {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edge-student-ring {
    width: min(470px, 94%);
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 22%, #6d63b6 0%, #45438f 72%);
    padding: 14px;
    position: relative;
    z-index: 2;
}

.edge-student-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.edge-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.edge-shape-a {
    width: 108px;
    height: 108px;
    background: rgba(71, 71, 131, 0.2);
    right: 6%;
    bottom: 12%;
}

.edge-shape-b {
    width: 86px;
    height: 86px;
    background: rgba(244, 161, 49, 0.38);
    left: 12%;
    top: 14%;
}

.edge-doodle {
    position: absolute;
    width: 140px;
    height: 30px;
    border-bottom: 4px solid #5f63a6;
    border-radius: 40px;
    right: 4%;
    top: 32%;
    opacity: 0.8;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title .line {
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 0 auto;
}

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

.why-card {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.why-card i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.why-card p {
    color: #666;
    font-size: 14px;
}

/* Latest News & Notices */
.news-section {
    padding: 80px 0;
    background: var(--gray);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.notice-board {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

.notice-board h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray);
}

.notice-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-date {
    background: var(--primary);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
    font-size: 12px;
    min-width: 60px;
}

.notice-text h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
}

.notice-text span {
    font-size: 12px;
    color: #888;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-img {
    height: 180px;
    background: #ddd;
    background-size: cover;
    background-position: center;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 20px;
}

.event-date {
    background: var(--secondary);
    color: white;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.event-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.event-content p {
    font-size: 13px;
    color: #666;
}

/* Facilities Section */
.facilities-section {
    padding: 80px 0;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

.facility-card {
    background: white;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.facility-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.facility-card h4 {
    font-size: 13px;
    font-weight: 600;
}

/* Gallery Preview */
.gallery-section {
    padding: 96px 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 122, 0, 0.12) 0%, rgba(255, 122, 0, 0) 36%),
        radial-gradient(circle at 90% 85%, rgba(201, 18, 18, 0.12) 0%, rgba(201, 18, 18, 0) 34%),
        linear-gradient(165deg, #eff4fb 0%, #e6edf8 100%);
}


.gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    grid-auto-rows: auto;
    gap: 22px;
    margin-bottom: 36px;
}

.gallery-section .gallery-item {
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(15, 63, 110, 0.12);
    box-shadow: 0 16px 28px rgba(7, 35, 64, 0.14);
}

.gallery-section .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-section .gallery-item:hover img {
    transform: scale(1.13);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 33, 62, 0.14) 0%, rgba(209, 16, 16, 0.78) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-section .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 34px;
}

.gallery-section .text-center {
    text-align: center;
}

.gallery-section .gallery-item:nth-child(2),
.gallery-section .gallery-item:nth-child(5) {
    height: 320px;
}

@media (max-width: 1200px) {
    .gallery-section .gallery-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
    .gallery-section .gallery-item,
    .gallery-section .gallery-item:nth-child(2),
    .gallery-section .gallery-item:nth-child(5) {
        height: 220px;
    }
}

/* Principal Message */
.principal-section {
    padding: 80px 0;
}

.principal-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
}

.principal-img {
    width: 300px;
    height: 350px;
    background: #ddd;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.principal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.principal-message blockquote {
    font-size: 18px;
    font-style: italic;
    color: #555;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin-bottom: 20px;
}

.principal-message h4 {
    font-size: 20px;
    color: var(--primary);
}

.principal-message span {
    color: #888;
    font-size: 14px;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--gray);
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.testimonial-card .stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card h4 {
    color: var(--primary);
}

.testimonial-card span {
    font-size: 14px;
    color: #888;
}

/* Admission CTA */
.admission-cta {
    background: var(--gradient);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.admission-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.admission-cta p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.admission-cta .btn {
    background: white;
    color: var(--primary);
}

.admission-cta .btn:hover {
    background: var(--dark);
    color: white;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0b3a69 0%, #0a345f 100%);
    color: #eef6ff;
    padding: 48px 0 18px;
    position: relative;
    overflow: hidden;
}

.footer::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    background: url('https://www.joonsquare.com/usermanage/image/business/surat-valley-public-school-surat-5366/surat-valley-public-school-surat-logo.png') center/contain no-repeat;
    opacity: 0.07;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 34px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    padding-right: 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.footer .logo-img {
    width: 86px;
    height: 86px;
    border: 0;
    padding: 3px;
    background: #fff;
}

.footer-logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.15;
    color: #ffffff;
}

.footer-logo-text span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    color: #d9e8f6;
}

.footer-col h4 {
    font-size: 28px;
    margin-bottom: 14px;
    color: #ffffff;
    font-weight: 600;
    line-height: 1;
}

.footer-col ul,
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    color: #e2edf9;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.15;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links li a i {
    color: #d8e9f9;
    font-size: 13px;
}

.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #dceaf8;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.footer-contact li i {
    color: #ff9f3e;
    margin-top: 4px;
    font-size: 14px;
}

.footer-rule {
    width: 100%;
    height: 1px;
    margin: 16px 0;
    background: rgba(255, 176, 82, 0.75);
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-social-row a {
    color: #f5f9ff;
    font-size: 16px;
    width: 28px;
    text-align: center;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-social-row a:hover {
    color: #ffb052;
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 14px;
    text-align: center;
    color: #bfd4ea;
    font-size: 13px;
    position: relative;
    z-index: 1;
}

/* Page Banner */
.page-banner {
    background: var(--gradient);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.page-banner h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    opacity: 0.8;
}

.breadcrumb span {
    opacity: 0.6;
}

/* Inner Page Content */
.page-content {
    padding: 60px 0;
}

.content-card {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.content-card h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.content-card h3 {
    color: var(--text);
    margin: 25px 0 15px;
}

.content-card p {
    color: #555;
    margin-bottom: 15px;
}

.content-card ul, .content-card ol {
    margin-left: 20px;
    color: #555;
}

.content-card li {
    margin-bottom: 10px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.mission-card, .vision-card {
    background: var(--gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.mission-card i, .vision-card i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.mission-card h3, .vision-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* About Table */
.about-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0;
    margin-top: 20px;
    table-layout: auto;
}

.about-table td:first-child, .about-table th:first-child {
    width: 100%;
    display: block;
    padding: 0 4px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    padding: 12px 8px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

/* Make details column right-aligned */
.about-table td:last-child {
    text-align: center;
    width: 99%;
    min-width: 300px;
}

.about-table th:first-child, .about-table td:first-child {
    text-align: center;
}

.about-table th {
    background: var(--gray);
    color: var(--primary);
    font-weight: 600;
}

/* Academics */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.curriculum-card {
    background: var(--gray);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.curriculum-card:hover {
    background: var(--primary);
    color: white;
}

.curriculum-card h4 {
    margin-bottom: 10px;
}

.curriculum-card p {
    font-size: 14px;
    opacity: 0.8;
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.lab-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.lab-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.lab-card .lab-content {
    padding: 20px;
}

/* Admissions */
.admission-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.step-card {
    text-align: center;
    padding: 25px 15px;
    background: var(--gray);
    border-radius: 10px;
    position: relative;
}

.step-card::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

.step-card:last-child::after {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    color: #666;
}

.eligibility-table, .fee-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0;
    margin-top: 20px;
    table-layout: auto;
}

.eligibility-table th, .eligibility-table td,
.fee-table th, .fee-table td {
    padding: 12px 8px;
    border: 1px solid #ddd;
    text-align: center;
}
.fee-table td:first-child, .fee-table th:first-child {
    width: 1%;
    white-space: nowrap;
    padding-right: 32px;
    text-align: center;
}
.fee-table td:not(:first-child), .fee-table th:not(:first-child) {
    text-align: center;
    width: 99%;
    min-width: 150px;
}

.eligibility-table th, .fee-table th {
    background: var(--primary);
    color: white;
    text-align: center;
}
/* Category column left, details right, center text for all */
.eligibility-table td:first-child, .eligibility-table th:first-child {
    width: 1%;
    white-space: nowrap;
    padding-right: 32px;
    text-align: center;
}
.eligibility-table td:not(:first-child), .eligibility-table th:not(:first-child) {
    text-align: center;
    width: 99%;
    min-width: 150px;
}
.eligibility-table td:last-child {
    text-align: center;
    width: 99%;
    min-width: 300px;
}

.admission-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Facilities Page */
.facilities-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.facility-page-card {
    background: white;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.facility-page-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.facility-page-card i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.facility-page-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.facility-page-card p {
    color: #666;
    font-size: 14px;
}

/* Faculty Page */
.faculty-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--gray);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
}

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

.faculty-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.faculty-img {
    height: 250px;
    background: #ddd;
}

.faculty-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty-info {
    padding: 20px;
    text-align: center;
}

.faculty-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.faculty-info .designation {
    color: #888;
    font-size: 14px;
    margin-bottom: 5px;
}

.faculty-info .subject {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 500;
}

.faculty-info .qualification {
    color: #666;
    font-size: 12px;
    margin-top: 8px;
}

/* Gallery Page */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 32px;
}

.gallery-full-item {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 220px;
    cursor: pointer;
    position: relative;
}

.gallery-full-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: 0.3s;
}

.gallery-full-item:hover img {
    transform: scale(1.1);
}

.gallery-full-overlay {
    display: none;
}

.gallery-full-item:hover .gallery-full-overlay {
    display: none;
}

/* Events Page */
.events-list {
    display: grid;
    gap: 30px;
}

.event-list-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.event-list-img {
    height: 150px;
    background: #ddd;
}

.event-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-list-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-list-date {
    background: var(--primary);
    color: white;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    width: fit-content;
    margin-bottom: 10px;
}

.event-list-content h3 {
    margin-bottom: 10px;
}

.event-list-content p {
    color: #666;
    font-size: 14px;
}

/* News Page */
.news-grid-page {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.news-list {
    display: grid;
    gap: 20px;
}

.news-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    gap: 20px;
}

.news-date {
    background: var(--primary);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    min-width: 70px;
    height: fit-content;
}

.news-date .day {
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.news-date .month {
    font-size: 12px;
    text-transform: uppercase;
}

.news-content h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

.news-content p {
    color: #666;
    font-size: 14px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
}

.contact-info-item h4 {
    margin-bottom: 5px;
}

.contact-info-item p {
    color: #666;
    font-size: 14px;
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.map-embed {
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
}

.map-embed iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Admin Styles */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--dark);
    color: white;
    position: fixed;
    height: 100%;
    padding: 20px 0;
}

.admin-sidebar .logo {
    padding: 0 20px 20px;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.admin-sidebar .logo-img {
    width: 56px;
    height: 56px;
    padding: 4px;
}

.admin-sidebar .logo-text {
    color: white;
    font-size: 16px;
}

.admin-nav {
    list-style: none;
}

.admin-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #aaa;
    transition: 0.3s;
}

.admin-nav li a:hover, .admin-nav li a.active {
    background: var(--primary);
    color: white;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    background: var(--gray);
    min-height: 100vh;
}

.admin-header {
    background: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.admin-header h2 {
    font-size: 24px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-user span {
    color: #666;
}

.admin-content {
    padding: 30px;
}

.admin-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.stat-card-info h3 {
    font-size: 28px;
    color: var(--primary);
}

.stat-card-info p {
    color: #666;
    font-size: 14px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background: var(--gray);
    color: var(--primary);
    font-weight: 600;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.pending { background: #FFF3CD; color: #856404; }
.status-badge.approved { background: #D4EDDA; color: #155724; }
.status-badge.rejected { background: #F8D7DA; color: #721C24; }

.admin-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
}

.login-card {
    background: white;
    padding: 50px;
    border-radius: 15px;
    width: 400px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-card .logo {
    justify-content: center;
    margin-bottom: 30px;
}

.login-card h2 {
    margin-bottom: 30px;
    color: var(--primary);
}

.login-card .form-group {
    text-align: left;
}

.login-card .btn {
    width: 100%;
    margin-top: 20px;
}

/* Gallery Grid for Admin */
.gallery-grid-admin {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.gallery-item-admin {
    position: relative;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-item-admin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-admin .delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-slider { height: 620px; }
    .slide-left { padding: 56px 42px; }
    .slide-content {
        max-width: 560px;
        padding: 30px 32px;
    }
    .slide-content h1 { font-size: 44px; }
    .slide-content p { font-size: 18px; }
    .facilities-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .edge-heading h2 { font-size: 44px; }
    .edge-wrap { grid-template-columns: 1fr; }
    .edge-left { order: 2; }
    .edge-visual {
        order: 1;
        min-height: 400px;
    }
}

@media (max-width: 992px) {
    .hero-slider { height: 560px; }
    .slide-left {
        padding: 42px 28px;
    }
    .slide-content {
        max-width: 520px;
        padding: 26px 24px;
        border-radius: 16px;
    }
    .slide-content h1 { font-size: 38px; }
    .slide-content p { font-size: 17px; }
    .quick-access {
        margin-top: -26px;
        padding-bottom: 22px;
    }
    .quick-btns {
        border-radius: 14px;
        padding: 12px;
        gap: 10px;
    }
    .quick-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    .quick-btn i { font-size: 17px; }
    .welcome-grid, .news-grid, .principal-grid, .contact-grid, .news-grid-page {
        grid-template-columns: 1fr;
    }
    .stats-grid, .why-grid, .events-grid, .curriculum-grid, .lab-grid, .facilities-page-grid, .faculty-grid, .gallery-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .edge-heading h2 { font-size: 38px; }
    .edge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }
    .edge-wide { grid-column: span 2; }
    .edge-tile {
        min-height: 110px;
        padding: 8px;
    }
    .edge-tile i { font-size: 28px; }
    .edge-tile span { font-size: 14px; }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .footer-brand {
        grid-column: span 2;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.35);
        padding-right: 0;
        padding-bottom: 18px;
    }
    .footer-logo-text { font-size: 20px; }
    .footer-col h4 { font-size: 24px; }
    .footer-links li a,
    .footer-contact li { font-size: 15px; }
    .admission-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .top-bar {
        padding: 8px 0 10px;
    }
    .top-bar .container {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .top-bar-left {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px 12px;
    }
    .top-bar-left span {
        font-size: 12px;
        line-height: 1.2;
    }
    .top-bar-left span i {
        font-size: 11px;
    }
    .top-bar-right {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            'admission fee'
            'social social';
        gap: 6px;
        align-items: center;
    }
    .top-bar-right a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 34px;
        text-align: center;
        padding: 7px 9px;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.1;
        border-radius: 6px;
        letter-spacing: 0.2px;
    }
    .top-bar-right .btn-admission {
        grid-area: admission;
    }
    .top-bar-right .btn-fee {
        grid-area: fee;
    }
    .social-icons {
        grid-area: social;
        justify-content: center;
        margin-top: 1px;
        width: 100%;
    }
    .social-icons a {
        width: 30px;
        height: 30px;
        font-size: 12px;
        padding: 0;
    }
    .site-popup {
        padding: 10px;
    }
    .site-popup-card {
        width: min(500px, 96vw);
        border-radius: 12px;
    }
    .site-popup-body {
        grid-template-columns: 1fr;
    }
    .site-popup-image {
        min-height: 210px;
        max-height: 250px;
    }
    .site-popup-content {
        padding: 20px 18px;
    }
    .site-popup-content h3 {
        font-size: 26px;
    }
    .site-popup-content p {
        font-size: 14px;
        margin-bottom: 14px;
    }
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 28px;
        right: 14px;
        bottom: 14px;
    }
    .announcement-ticker {
        flex-direction: column;
        align-items: stretch;
    }
    .ticker-label {
        justify-content: center;
        padding: 7px 10px;
        font-size: 12px;
    }
    .ticker-track { padding: 6px 0; }
    .ticker-content {
        font-size: 12px;
        gap: 14px;
        padding-left: 12px;
        padding-right: 14px;
        animation-duration: 26s;
    }
    .ticker-content span::before {
        margin-right: 6px;
    }
    .hero-slider { height: 520px; }
    .slide-left {
        padding: 28px 18px;
    }
    .slide-left::before {
        width: 260px;
        height: 260px;
        left: -100px;
        top: 44%;
    }
    .slide-left::after {
        width: 140px;
        height: 140px;
        right: -30px;
        top: -25px;
    }
    .slide-content {
        max-width: 100%;
        padding: 20px 18px;
        border-radius: 14px;
    }
    .slide-content h1 {
        font-size: 31px;
        line-height: 1.08;
        margin-bottom: 10px;
    }
    .slide-content p {
        font-size: 15px;
        margin-bottom: 16px;
    }
    .slide-content .btn {
        font-size: 13px;
        padding: 10px 18px;
    }
    .slider-dots {
        bottom: 44px;
        gap: 8px;
        padding: 8px 11px;
    }
    .slider-dot.active { width: 24px; }
    .quick-access {
        margin-top: -18px;
        padding-bottom: 18px;
    }
    .quick-btns {
        border-radius: 12px;
        padding: 10px;
        gap: 8px;
    }
    .quick-btn {
        flex: 1 1 100%;
        justify-content: center;
        padding: 11px 14px;
    }
    .stats-grid, .why-grid, .facilities-grid, .gallery-grid, .curriculum-grid, .lab-grid, .facilities-page-grid, .faculty-grid, .gallery-full-grid {
        grid-template-columns: 1fr;
    }
    .why-choose { padding: 64px 0; }
    .edge-heading {
        margin-bottom: 24px;
    }
    .edge-heading-line {
        height: 34px;
        margin-bottom: 10px;
    }
    .edge-heading h2 {
        font-size: 30px;
    }
    .edge-grid {
        grid-template-columns: 1fr;
    }
    .edge-wide { grid-column: auto; }
    .edge-visual {
        min-height: 310px;
        margin-bottom: 8px;
    }
    .edge-student-ring {
        width: min(320px, 90vw);
        padding: 10px;
    }
    .edge-doodle,
    .edge-shape-b {
        display: none;
    }
    .edge-shape-a {
        width: 74px;
        height: 74px;
        right: 4%;
        bottom: 8%;
    }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand {
        grid-column: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.35);
        padding-bottom: 16px;
    }
    .footer-logo-row { align-items: flex-start; }
    .footer-logo-text { font-size: 18px; }
    .footer-col h4 { font-size: 22px; }
    .footer-links li a,
    .footer-contact li { font-size: 14px; }
    .footer-contact li i { font-size: 13px; margin-top: 4px; }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .top-bar-left {
        justify-content: center;
        gap: 5px 10px;
    }
    .top-bar-left span {
        font-size: 11px;
    }
    .top-bar-left span:last-child {
        overflow-wrap: anywhere;
    }
    .top-bar-right {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            'admission fee'
            'social social';
        gap: 5px;
    }
    .top-bar-right a {
        min-height: 32px;
        font-size: 10px;
        letter-spacing: 0.2px;
    }
    .social-icons a {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .ticker-label {
        font-size: 11px;
        padding: 6px 8px;
    }
    .ticker-track {
        padding: 5px 0;
    }
    .ticker-content {
        font-size: 11px;
        gap: 12px;
        padding-left: 10px;
        padding-right: 12px;
    }
    .ticker-content span::before {
        margin-right: 5px;
    }
}

/* Global UI Refresh */
body {
    background: radial-gradient(circle at 12% 8%, #f4f7ff 0%, #eff3fa 42%, #edf1f8 100%);
}

.top-bar,
.navbar,
.announcement-ticker {
    animation: fadeSlideDown 0.55s ease;
}

.navbar {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(17, 48, 89, 0.08);
}

.btn,
.quick-btn,
.filter-btn,
.methods-btn,
.edge-more {
    transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.btn:hover,
.methods-btn:hover,
.edge-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(7, 25, 52, 0.22);
}

.page-banner {
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 40%),
        linear-gradient(120deg, #143d72 0%, #0f4c8b 55%, #0f6298 100%);
    position: relative;
    overflow: hidden;
    padding: 74px 0;
}

.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 2px, transparent 2px, transparent 24px);
    opacity: 0.25;
    pointer-events: none;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: clamp(34px, 5vw, 52px);
    letter-spacing: 0.25px;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.breadcrumb {
    font-size: 15px;
    opacity: 0.95;
}

.page-content {
    padding: 72px 0;
}

.content-card,
.contact-info-card,
.contact-form-card,
.notice-board,
.event-card,
.faculty-card,
.facility-page-card,
.news-card {
    border: 1px solid rgba(14, 60, 104, 0.1);
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(18, 45, 79, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.content-card:hover,
.contact-info-card:hover,
.contact-form-card:hover,
.notice-board:hover,
.event-card:hover,
.faculty-card:hover,
.facility-page-card:hover,
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 44px rgba(9, 33, 62, 0.15);
    border-color: rgba(14, 83, 149, 0.2);
}

.section-title h2,
.content-card h2,
.content-card h3,
.contact-info-item h4,
.event-content h4,
.faculty-card h3,
.news-content h3 {
    color: #0f3663;
}

.line {
    background: linear-gradient(90deg, #ff5d00, #ff9f1c);
    box-shadow: 0 5px 18px rgba(255, 93, 0, 0.35);
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid #ced9e7;
    border-radius: 10px;
    background: #f8fbff;
    transition: all 0.22s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1d74c9;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(29, 116, 201, 0.12);
}

.about-table,
.admin-table {
    border-radius: 10px;
    overflow: hidden;
}

.about-table th,
.admin-table th {
    background: linear-gradient(120deg, #0f4b88, #155f9f);
    color: #fff;
}

.about-table td,
.admin-table td {
    background: #ffffff;
}

.about-table tr:nth-child(even) td,
.admin-table tr:nth-child(even) td {
    background: #f7faff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    grid-auto-rows: 160px;
    gap: 16px;
}

.gallery-grid .gallery-item {
    border-radius: 12px;
    overflow: hidden;
}

.gallery-grid .gallery-item:nth-child(2),
.gallery-grid .gallery-item:nth-child(5) {
    grid-row: span 2;
}

.gallery-grid .gallery-item:nth-child(3),
.gallery-grid .gallery-item:nth-child(6) {
    grid-column: span 1;
}

.gallery-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.gallery-full-item {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 220px;
    cursor: pointer;
    position: relative;
}



/* Methods Section */
.methods-section {
    padding: 86px 0;
    background: #eef1f6;
}

.methods-heading {
    text-align: center;
    margin-bottom: 26px;
}

.methods-heading h2 {
    font-size: clamp(32px, 4.2vw, 66px);
    color: #343970;
    line-height: 1.08;
}

.methods-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr 1fr;
    gap: 0;
    align-items: stretch;
}

.methods-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.methods-card {
    position: relative;
    min-height: 210px;
    overflow: hidden;
}

.methods-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.methods-card:hover img {
    transform: scale(1.07);
}

.methods-tag {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    padding: 14px 10px;
    backdrop-filter: blur(2px);
}

.methods-tag i {
    font-size: 24px;
}

.tag-purple { background: rgba(122, 58, 152, 0.78); }
.tag-blue { background: rgba(47, 140, 197, 0.78); }
.tag-green { background: rgba(101, 179, 72, 0.78); }
.tag-gold { background: rgba(223, 152, 42, 0.84); }

.methods-center {
    background: #f4f5f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 22px 26px;
    position: relative;
}

.methods-center::before,
.methods-center::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

.methods-center::before {
    left: -26px;
    border-right: 26px solid #f4f5f8;
}

.methods-center::after {
    right: -26px;
    border-left: 26px solid #f4f5f8;
}

.methods-center h3 {
    font-size: 42px;
    line-height: 1.08;
    color: #102d51;
    margin-bottom: 10px;
}

.methods-center p {
    color: #3c4e66;
    font-size: 26px;
    line-height: 1.45;
    margin-bottom: 16px;
}

.methods-btn {
    border: 1px solid #323a75;
    color: #323a75;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 4px;
    padding: 8px 28px;
}

.methods-btn:hover {
    background: #323a75;
    color: #fff;
}

.notice-item,
.event-card,
.gallery-item,
.gallery-full-item,
.facility-card,
.faculty-card {
    animation: fadeSlideUp 0.5s ease both;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .methods-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .methods-center::before,
    .methods-center::after {
        display: none;
    }
    .methods-center h3 { font-size: 34px; }
    .methods-center p { font-size: 19px; }
    .gallery-grid,
    .gallery-full-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 56px 0;
    }
    .content-card {
        padding: 26px 18px;
        border-radius: 14px;
    }
    .methods-section {
        padding: 62px 0;
    }
    .methods-heading {
        margin-bottom: 18px;
    }
    .methods-card {
        min-height: 170px;
    }
    .methods-tag {
        font-size: 22px;
        padding: 10px;
    }
    .methods-tag i {
        font-size: 16px;
    }
    .methods-center h3 {
        font-size: 28px;
    }
    .methods-center p {
        font-size: 16px;
    }
    .gallery-grid,
    .gallery-full-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 230px;
    }
    .gallery-grid .gallery-item:nth-child(2),
    .gallery-grid .gallery-item:nth-child(5),
    .gallery-full-item:nth-child(2),
    .gallery-full-item:nth-child(5),
    .gallery-full-item:nth-child(8) {
        grid-row: span 1;
    }
}

/* Homepage Premium Polish */
.news-section,
.gallery-section,
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.news-section {
    background:
        radial-gradient(circle at 82% 16%, rgba(255, 170, 47, 0.12) 0%, rgba(255, 170, 47, 0) 42%),
        linear-gradient(155deg, #edf4ff 0%, #eef3fb 45%, #e9f0fb 100%);
}

.news-grid {
    align-items: stretch;
    gap: 24px;
}

.notice-board {
    border-radius: 16px;
    padding: 26px 24px;
    border: 1px solid rgba(15, 77, 139, 0.16);
    background: linear-gradient(165deg, #ffffff 0%, #f8fbff 100%);
}

.notice-board h3 {
    font-size: 20px;
    color: #0d3c72;
    letter-spacing: 0.2px;
    border-bottom: 1px dashed rgba(16, 76, 134, 0.24);
}

.notice-item {
    padding: 13px 0;
    gap: 12px;
}

.notice-date {
    border-radius: 10px;
    min-width: 58px;
    background: linear-gradient(145deg, #d60d0d 0%, #b50707 100%);
    box-shadow: 0 8px 16px rgba(173, 17, 17, 0.22);
}

.notice-text h4 {
    font-size: 14px;
    color: #173d67;
}

.events-grid {
    gap: 18px;
}

.event-card {
    border-radius: 14px;
    border: 1px solid rgba(11, 66, 120, 0.14);
    box-shadow: 0 16px 28px rgba(8, 30, 55, 0.1);
}

.event-card:hover {
    transform: translateY(-7px) scale(1.01);
    box-shadow: 0 22px 34px rgba(8, 35, 65, 0.16);
}

.event-img {
    height: 170px;
}

.event-content {
    padding: 16px;
}

.event-date {
    border-radius: 8px;
    background: linear-gradient(135deg, #ff6d00, #ff9f1f);
    font-weight: 600;
}

.event-content h4 {
    color: #0f3764;
}

.facilities-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(72, 127, 181, 0.12) 0%, rgba(72, 127, 181, 0) 40%),
        #f3f6fb;
    border-top: 1px solid rgba(11, 56, 103, 0.06);
    border-bottom: 1px solid rgba(11, 56, 103, 0.06);
}

.facilities-grid {
    gap: 14px;
}

.facility-card {
    border-radius: 12px;
    border: 1px solid rgba(14, 66, 116, 0.1);
    padding: 18px 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.facility-card i {
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    font-size: 24px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d60808;
    background: linear-gradient(145deg, #fff2f2 0%, #ffe4e4 100%);
}

.facility-card h4 {
    font-size: 12px;
    color: #1d3d63;
    text-transform: capitalize;
}

.gallery-section {
    background:
        radial-gradient(circle at 78% 12%, rgba(255, 110, 0, 0.12) 0%, rgba(255, 110, 0, 0) 42%),
        linear-gradient(165deg, #eef3fb 0%, #e9eff8 100%);
}

.gallery-grid {
    grid-template-columns: 1fr 1.18fr 1fr;
    grid-auto-rows: 190px;
    gap: 14px;
}

.gallery-item {
    border-radius: 14px;
    border: 1px solid rgba(12, 59, 105, 0.16);
    box-shadow: 0 12px 24px rgba(12, 33, 61, 0.1);
}

.gallery-overlay {
    background: linear-gradient(180deg, rgba(5, 32, 63, 0.14) 0%, rgba(209, 16, 16, 0.75) 100%);
}

.principal-section {
    background:
    radial-gradient(circle at 92% 10%, rgba(255, 102, 0, 0.12) 0%, rgba(255, 102, 0, 0) 36%),
    radial-gradient(circle at 6% 86%, rgba(204, 0, 0, 0.1) 0%, rgba(204, 0, 0, 0) 34%),
    linear-gradient(180deg, #f8f8f8 0%, #f2f2f2 100%);
}

.principal-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 34px;
    align-items: center;
    background: linear-gradient(160deg, #ffffff 0%, #fff8f5 100%);
    border-radius: 24px;
    border: 1px solid rgba(204, 0, 0, 0.16);
    box-shadow: 0 18px 36px rgba(81, 22, 22, 0.12);
    padding: 28px;
}

.principal-photo-wrap {
    position: relative;
    padding: 10px;
}

.principal-shape {
    position: absolute;
    width: 86px;
    height: 86px;
    z-index: 1;
}

.principal-shape-blue {
    left: -8px;
    top: 26px;
    background: var(--primary);
    transform: rotate(45deg);
}

.principal-shape-gold {
    left: 18px;
    top: -2px;
    background: var(--secondary);
    transform: rotate(45deg);
}

.principal-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 310px;
    min-height: 390px;
    border-radius: 16px;
    border: 2px solid rgba(204, 0, 0, 0.5);
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(7, 30, 56, 0.18);
}

.principal-message {
    align-self: stretch;
}

.principal-kicker {
    color: var(--secondary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.principal-headline {
    color: #2d2d2d;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
}

.principal-quote-box {
    border: 1px solid rgba(204, 0, 0, 0.2);
    border-radius: 0 48px 0 0;
    padding: 22px 24px 18px;
    background: #fffdfb;
    color: #464646;
}

.principal-quote-box i {
    color: var(--secondary);
    font-size: 40px;
    margin-bottom: 8px;
}

.principal-quote-box p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.principal-quote-box p:last-child {
    margin-bottom: 0;
}

.principal-quote-box a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.principal-signoff {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.principal-sign-line {
    width: 46px;
    height: 2px;
    background: var(--primary);
    flex-shrink: 0;
}

.principal-signoff h4 {
    color: var(--primary);
    font-size: 30px;
    margin: 0;
}

.principal-signoff span {
    color: #4a4a4a;
    font-size: 16px;
}

.testimonials-section {
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 114, 35, 0.12) 0%, rgba(255, 114, 35, 0) 35%),
        radial-gradient(circle at 88% 78%, rgba(204, 0, 0, 0.1) 0%, rgba(204, 0, 0, 0) 32%),
        linear-gradient(180deg, #f8f8f8 0%, #f2f2f2 100%);
}

.testimonials-slider {
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
}

.testimonial-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
    min-height: 260px;
}

.testimonial-card {
    border-radius: 18px;
    border: 1px solid rgba(204, 0, 0, 0.2);
    padding: 34px;
    background: linear-gradient(165deg, #ffffff 0%, #fff8f5 100%);
    box-shadow: 0 14px 28px rgba(97, 37, 26, 0.12);
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.testimonial-card.in-view {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card p {
    font-size: 17px;
    line-height: 1.7;
    color: #474747;
}

.testimonial-card .stars {
    color: #f49a2c;
    margin-bottom: 10px;
}

.testimonial-card h4 {
    color: var(--primary);
    margin-top: 12px;
    font-size: 20px;
}

.testimonial-card span {
    color: #686868;
    font-size: 14px;
}

.testimonial-dots {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.testimonial-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 0;
    background: rgba(204, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.testimonial-dot.active {
    background: var(--primary);
    transform: scale(1.15);
}

.admission-cta {
    background:
        radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 33%),
        radial-gradient(circle at 90% 80%, rgba(255, 214, 170, 0.18) 0%, rgba(255, 214, 170, 0) 35%),
        linear-gradient(120deg, #c90d00 0%, #ef4e00 46%, #ff7b12 100%);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.admission-cta::before,
.admission-cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.admission-cta::before {
    width: 280px;
    height: 280px;
    top: -120px;
    right: -90px;
    background: rgba(255, 255, 255, 0.13);
}

.admission-cta::after {
    width: 240px;
    height: 240px;
    bottom: -120px;
    left: -90px;
    background: rgba(255, 255, 255, 0.11);
}

.admission-cta-shell {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    padding: 26px 28px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(2px);
    box-shadow: 0 24px 45px rgba(106, 30, 5, 0.28);
}

.admission-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admission-cta h2 {
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.05;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 4px 18px rgba(111, 35, 11, 0.35);
}

.admission-cta p {
    font-size: clamp(17px, 2vw, 24px);
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.admission-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 20px;
}

.admission-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
}

.admission-highlights i {
    color: #fff3dc;
}

.admission-cta .btn {
    background: #fff;
    color: #b71400;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(112, 29, 5, 0.24);
}

.admission-cta .btn:hover {
    background: #2d2d2d;
    color: #fff;
    transform: translateY(-2px);
}

.methods-layout {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 42px rgba(11, 33, 59, 0.16);
}

.methods-card {
    min-height: 250px;
}

.methods-tag {
    font-size: 18px;
    line-height: 1.1;
}

.methods-tag i {
    font-size: 15px;
}

.methods-center h3 {
    font-size: 36px;
}

.methods-center p {
    font-size: 17px;
    max-width: 420px;
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .facilities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    .principal-grid {
        grid-template-columns: 250px 1fr;
        gap: 24px;
        padding: 20px;
    }
    .principal-kicker {
        font-size: 30px;
    }
    .principal-headline {
        font-size: 19px;
    }
    .principal-signoff h4 {
        font-size: 24px;
    }
    .testimonial-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admission-cta {
        padding: 78px 0;
    }
    .admission-cta-shell {
        max-width: 860px;
        padding: 22px 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        margin-bottom: 30px;
    }
    .section-title h2 {
        font-size: 30px;
    }
    .news-section,
    .facilities-section,
    .gallery-section,
    .principal-section,
    .testimonials-section {
        padding: 60px 0;
    }
    .events-grid,
    .facilities-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-auto-rows: 220px;
    }
    .principal-grid {
        grid-template-columns: 1fr;
        padding: 14px;
    }
    .principal-img {
        max-width: 100%;
        min-height: 300px;
        margin: 0 auto;
    }
    .principal-photo-wrap {
        max-width: 360px;
        margin: 0 auto;
    }
    .principal-shape {
        width: 70px;
        height: 70px;
    }
    .principal-kicker {
        font-size: 26px;
    }
    .principal-headline {
        font-size: 17px;
    }
    .principal-quote-box {
        border-radius: 0 28px 0 0;
        padding: 16px;
    }
    .principal-quote-box p {
        font-size: 15px;
    }
    .principal-signoff h4 {
        font-size: 21px;
    }
    .admission-cta {
        padding: 64px 0;
    }
    .admission-cta-shell {
        padding: 18px 14px;
        border-radius: 14px;
    }
    .admission-highlights {
        gap: 8px;
        margin-bottom: 16px;
    }
    .admission-highlights span {
        font-size: 12px;
        padding: 6px 10px;
    }
    .admission-cta .btn {
        width: 100%;
        max-width: 320px;
        font-size: 15px;
        padding: 12px 18px;
    }
    .testimonial-card {
        padding: 24px 16px;
    }
    .testimonial-track {
        grid-template-columns: 1fr;
    }
    .testimonial-card h4 {
        font-size: 18px;
    }
    .testimonial-card p {
        font-size: 15px;
        line-height: 1.6;
    }
    .methods-card {
        min-height: 190px;
    }
    .methods-center h3 {
            min-height: 0;
            white-space: normal;
            overflow-wrap: break-word;
            word-break: break-word;
            height: auto;
    }
    .methods-center p {
        font-size: 15px;
    }
}

/* Facilities Showcase Redesign */
.facilities-section {
    background: linear-gradient(180deg, #f4f7fc 0%, #edf3fb 100%);
}

.facilities-intro {
    max-width: 900px;
    margin: -12px auto 28px;
    text-align: center;
    color: #395878;
    font-size: 17px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.facility-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    min-height: 340px;
    border: 1px solid rgba(16, 62, 109, 0.14);
    box-shadow: 0 16px 34px rgba(10, 33, 60, 0.16);
    background: #dfe7f3;
    text-decoration: none;
}

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

.facility-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.35s ease;
}

.facility-media.two-up {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
}

.facility-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 29, 56, 0.03) 36%, rgba(5, 29, 56, 0.7) 100%);
    z-index: 1;
}

.facility-card::after {
    content: '';
    position: absolute;
    right: -72px;
    top: -72px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    z-index: 2;
}

.facility-corner-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 3;
}

.facility-card h4 {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    color: #fff;
    text-align: center;
    font-size: 18px;
    line-height: 1.18;
    font-weight: 700;
    padding: 10px 10px;
    border-radius: 4px;
    text-transform: none;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 44px rgba(7, 30, 56, 0.22);
}

.facility-card:hover .facility-media img {
    transform: scale(1.07);
    filter: saturate(1.08);
}

.facility-theme-red::after,
.facility-theme-red .facility-corner-icon,
.facility-theme-red h4 {
    background: #e52820;
}

.facility-theme-blue::after,
.facility-theme-blue .facility-corner-icon,
.facility-theme-blue h4 {
    background: #0b4d7e;
}

.facility-theme-green::after,
.facility-theme-green .facility-corner-icon,
.facility-theme-green h4 {
    background: #07b11a;
}

.facility-theme-orange::after,
.facility-theme-orange .facility-corner-icon,
.facility-theme-orange h4 {
    background: #f18222;
}

@media (max-width: 1400px) {
    .facility-card h4 {
        font-size: 17px;
    }
}

@media (max-width: 1200px) {
    .facilities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .facility-card {
        min-height: 300px;
    }
    .facility-card h4 {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .facilities-intro {
        font-size: 15px;
        margin-bottom: 18px;
    }
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .facility-card {
        min-height: 250px;
    }
    .facility-card::after {
        width: 138px;
        height: 138px;
        top: -60px;
        right: -60px;
    }
    .facility-corner-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: 12px;
        right: 12px;
    }
    .facility-card h4 {
        left: 10px;
        right: 10px;
        bottom: 10px;
        font-size: 15px;
        padding: 8px;
    }
}

/* Voice Carousel Gallery */
.gallery-section {
    background: linear-gradient(180deg, #eef6ef 0%, #e7f0e8 100%);
}

.voice-title {
    text-align: left;
    max-width: 1020px;
    margin: 0 auto 24px;
}

.voice-title h2 {
    font-size: clamp(34px, 4vw, 58px);
    color: #0e3b67;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.voice-title p {
    color: #32536f;
    font-size: 17px;
}

.voice-carousel {
    display: grid;
    grid-template-columns: 54px 1fr 54px;
    gap: 20px;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto 28px;
}

.voice-nav {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid #0f4f88;
    color: #0f4f88;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.24s ease;
}

.voice-nav:hover {
    background: #0f4f88;
    color: #fff;
    transform: scale(1.05);
}

.voice-track-wrap {
    overflow: hidden;
    min-height: 440px;
    position: relative;
}

.voice-track {
    display: flex;
    gap: 22px;
    align-items: center;
    transition: transform 0.35s ease;
    padding: 12px 4px;
}

.voice-card {
    flex: 0 0 280px;
    height: 390px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 14px 32px rgba(6, 29, 52, 0.2);
    transform: scale(0.9);
    opacity: 0.58;
    filter: saturate(0.9);
    transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
}

.voice-card.active {
    transform: scale(1.14);
    opacity: 1;
    filter: saturate(1.04);
    z-index: 2;
}

.voice-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 32, 57, 0.06) 10%, rgba(8, 32, 57, 0.88) 100%);
    z-index: 1;
}

.voice-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(227, 25, 25, 0.95);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 2;
    box-shadow: 0 14px 22px rgba(150, 18, 18, 0.34);
}

.voice-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 16px 12px;
}

.voice-meta h4 {
    font-size: 26px;
    margin-bottom: 2px;
}

.voice-meta span {
    font-size: 19px;
    opacity: 0.92;
}

@media (max-width: 1200px) {
    .voice-carousel {
        grid-template-columns: 44px 1fr 44px;
        gap: 12px;
    }
    .voice-nav {
        width: 44px;
        height: 44px;
        font-size: 15px;
    }
    .voice-card {
        flex-basis: 240px;
        height: 340px;
    }
    .voice-card.active {
        transform: scale(1.06);
    }
    .voice-meta h4 { font-size: 20px; }
    .voice-meta span { font-size: 15px; }
}

@media (max-width: 768px) {
    .voice-title {
        text-align: center;
    }
    .voice-title p {
        font-size: 14px;
    }
    .voice-carousel {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .voice-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 4;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .voice-nav.prev { left: 8px; }
    .voice-nav.next { right: 8px; }
    .voice-track-wrap {
        min-height: 330px;
    }
    .voice-track {
        gap: 12px;
        padding: 8px 42px;
    }
    .voice-card {
        flex-basis: calc(100% - 84px);
        height: 300px;
        opacity: 0.35;
    }
    .voice-card.active {
        transform: scale(1);
        opacity: 1;
    }
    .voice-play {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    .voice-meta h4 { font-size: 18px; }
    .voice-meta span { font-size: 13px; }
}

/* School News Showcase */
.news-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.9) 72%),
        url('https://images.unsplash.com/photo-1457305237443-44c3d5a30b89?w=1800') center/cover no-repeat;
    position: relative;
    padding-bottom: 98px;
}

.news-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 82px;
    background: linear-gradient(90deg, #ec9a38 0%, #f7a844 100%);
}

.news-showcase-head {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.news-showcase-head img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 6px;
}

.news-showcase-head span {
    display: block;
    color: #6a4e2a;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    letter-spacing: 0.4px;
}

.news-showcase-head h2 {
    color: #0f3d70;
    text-transform: uppercase;
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: 0.4px;
    margin-top: 3px;
}

.news-showcase-wrap {
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    gap: 18px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.news-showcase-nav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #1a4f85;
    color: #1a4f85;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.24s ease;
}

.news-showcase-nav:hover {
    background: #1a4f85;
    color: #fff;
    transform: scale(1.05);
}

.news-showcase-nav:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
}

.news-showcase-track-wrap {
    overflow: hidden;
}

.news-showcase-track {
    display: flex;
    gap: 18px;
    transition: transform 0.34s ease;
    will-change: transform;
}

.news-showcase-card {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 0;
    background: #fff;
    border: 1px solid rgba(12, 62, 107, 0.18);
    border-radius: 4px;
    box-shadow: 0 14px 28px rgba(9, 33, 58, 0.14);
    overflow: hidden;
}

.news-showcase-image {
    position: relative;
    height: 258px;
    background: #d8e4f1;
}

.news-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-showcase-date {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 58px;
    border-radius: 4px;
    background: #374a93;
    color: #fff;
    text-align: center;
    padding: 5px 0 7px;
}

.news-showcase-date strong {
    display: block;
    font-size: 34px;
    line-height: 1;
}

.news-showcase-date span {
    display: block;
    font-size: 18px;
    line-height: 1;
    margin-top: 2px;
    text-transform: uppercase;
}

.news-showcase-body {
    padding: 14px 16px 16px;
}

.news-showcase-body h4 {
    font-size: 36px;
    color: #143b68;
    line-height: 1.18;
    margin-bottom: 8px;
}

.news-showcase-body p {
    font-size: 30px;
    line-height: 1.55;
    color: #3e5871;
    margin-bottom: 14px;
}

.news-showcase-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #0f3f72;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 3px;
    padding: 8px 14px;
}

.news-showcase-btn:hover {
    background: #14528f;
    color: #fff;
}

.news-showcase-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
    position: relative;
    z-index: 2;
}

.news-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #1a4f85;
    color: #133b69;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    padding: 9px 14px;
}

.news-view-all:hover {
    background: #1a4f85;
    color: #fff;
}

@media (max-width: 1200px) {
    .news-showcase-card {
        flex-basis: calc((100% - 18px) / 2);
    }
    .news-showcase-body h4 { font-size: 28px; }
    .news-showcase-body p { font-size: 22px; }
}

@media (max-width: 768px) {
    .news-section {
        padding-bottom: 72px;
    }
    .news-section::after {
        height: 58px;
    }
    .news-showcase-wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .news-showcase-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3;
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    .news-showcase-nav.prev { left: 6px; }
    .news-showcase-nav.next { right: 6px; }
    .news-showcase-track-wrap {
        padding: 0 42px;
    }
    .news-showcase-card {
        flex-basis: 100%;
    }
    .news-showcase-image {
        height: 220px;
    }
    .news-showcase-date {
        width: 46px;
        padding: 4px 0 6px;
    }
    .news-showcase-date strong { font-size: 24px; }
    .news-showcase-date span { font-size: 13px; }
    .news-showcase-body h4 { font-size: 22px; }
    .news-showcase-body p { font-size: 16px; }
    .news-showcase-footer {
        justify-content: center;
    }
}

/* Revert Home News & Gallery */
.news-section {
    padding: 80px 0;
    background: var(--gray);
}

.news-section::after {
    display: none;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.notice-board {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 0;
}

.notice-board h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray);
    font-size: 22px;
}

.notice-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-date {
    background: var(--primary);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
    font-size: 12px;
    min-width: 60px;
    box-shadow: none;
}

.notice-text h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
    color: inherit;
}

.notice-text span {
    font-size: 12px;
    color: #888;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 0;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-img {
    height: 180px;
}

.event-content {
    padding: 20px;
}

.event-date {
    background: var(--secondary);
    color: white;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.event-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.event-content p {
    font-size: 13px;
    color: #666;
}

.gallery-section {
    padding: 96px 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 122, 0, 0.12) 0%, rgba(255, 122, 0, 0) 36%),
        radial-gradient(circle at 90% 85%, rgba(201, 18, 18, 0.12) 0%, rgba(201, 18, 18, 0) 34%),
        linear-gradient(165deg, #eff4fb 0%, #e6edf8 100%);
}

.gallery-section .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    grid-auto-rows: auto;
    gap: 22px;
    margin-bottom: 36px;
}

.gallery-section .gallery-item {
    height: 260px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(15, 63, 110, 0.12);
    box-shadow: 0 16px 28px rgba(7, 35, 64, 0.14);
}

.gallery-section .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-section .gallery-item:hover img {
    transform: scale(1.13);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 33, 62, 0.14) 0%, rgba(209, 16, 16, 0.78) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 34px;
}

.gallery-section .gallery-item:nth-child(2),
.gallery-section .gallery-item:nth-child(5) {
    height: 320px;
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-section .gallery-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
    .gallery-section .gallery-item,
    .gallery-section .gallery-item:nth-child(2),
    .gallery-section .gallery-item:nth-child(5) {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .news-grid,
    .events-grid,
    .gallery-section .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-section {
        padding: 72px 0;
    }
    .gallery-section .gallery-item,
    .gallery-section .gallery-item:nth-child(2),
    .gallery-section .gallery-item:nth-child(5) {
        height: 220px;
    }
}

/* Home Live Update Section */
.news-section {
    padding: 74px 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(243, 160, 63, 0.12) 0%, rgba(243, 160, 63, 0) 34%),
        linear-gradient(180deg, #edf1f7 0%, #e7edf6 100%);
}

.live-update-grid {
    display: grid;
    grid-template-columns: minmax(360px, 1.05fr) minmax(420px, 1fr);
    gap: 22px;
    align-items: stretch;
}

.calendar-panel,
.notice-feed {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(8, 36, 66, 0.12);
    min-height: 390px;
    overflow: hidden;
}

.calendar-panel {
    display: grid;
    grid-template-columns: 96px 1fr;
}

.calendar-months {
    background: #0a3b68;
    color: #fff;
    display: grid;
    grid-auto-rows: minmax(24px, auto);
    padding: 10px 0;
}

.month-item {
    display: block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
}

.month-item.active {
    background: #f2a043;
    color: #092d4e;
}

.calendar-content {
    padding: 14px;
    border-right: 3px solid #0a3b68;
}

.calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.calendar-head h3 {
    color: #e38b22;
    font-size: 34px;
    letter-spacing: 0.2px;
}

.calendar-day-badge {
    background: #0b3d6b;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-weekdays {
    gap: 4px;
    margin-bottom: 6px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 11px;
    color: #0b355f;
    font-weight: 700;
}

.calendar-days {
    gap: 6px;
    margin-bottom: 12px;
}

.calendar-days .day {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #113f6a;
    border-radius: 50%;
    font-weight: 700;
    position: relative;
}

.calendar-days .day.has-event {
    box-shadow: inset 0 0 0 2px rgba(10, 62, 111, 0.25);
}

.calendar-days .day.has-event::after {
    content: "";
    position: absolute;
    bottom: 4px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f09a2d;
}

.calendar-days .day.muted {
    color: #b2bcc9;
}

.calendar-days .day.active {
    background: #0b3d6b;
    color: #fff;
}

.calendar-days .day.active.has-event::after {
    background: #ffffff;
}

.calendar-events-label {
    background: #c7c7ca;
    text-align: center;
    color: #102b48;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 8px;
    margin-bottom: 8px;
}

.calendar-events-list {
    display: grid;
    gap: 8px;
}

.calendar-event-item {
    font-size: 14px;
    color: #032e58;
    text-decoration: none;
    font-weight: 700;
    position: relative;
    padding-left: 12px;
}

.calendar-event-item::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f3a03f;
    left: 0;
    top: 8px;
}

.notice-feed {
    display: flex;
    flex-direction: column;
}

.feed-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    border-bottom: 1px solid #e4e8ef;
    padding: 12px;
}

.feed-date {
    text-align: center;
    color: #ef8d22;
    border-right: 2px solid #ef8d22;
    padding-right: 8px;
}

.feed-date strong {
    display: block;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
}

.feed-date span,
.feed-date small {
    display: block;
    font-size: 14px;
    color: #0f3760;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
}

.feed-content h4 {
    font-size: 18px;
    color: #0a3965;
    line-height: 1.2;
    margin-bottom: 4px;
}

.feed-content p {
    font-size: 14px;
    line-height: 1.35;
    color: #3f4958;
}

.feed-content a {
    color: #f08f24;
    text-decoration: none;
    font-weight: 700;
}

.feed-cta {
    margin-top: auto;
    background: #edf1f6;
    display: flex;
    justify-content: center;
    padding: 12px;
}

.feed-btn {
    background: #0a3e6f;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .live-update-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }
    .calendar-panel {
        grid-template-columns: 82px 1fr;
    }
    .month-item {
        padding: 6px 9px;
        font-size: 12px;
    }
    .calendar-head h3 {
        font-size: 26px;
    }
    .calendar-days .day {
        height: 28px;
        font-size: 13px;
    }
    .feed-item {
        grid-template-columns: 60px 1fr;
        gap: 10px;
    }
    .feed-date strong {
        font-size: 20px;
    }
    .feed-date span,
    .feed-date small {
        font-size: 12px;
    }
    .feed-content h4 {
        font-size: 16px;
    }
    .feed-content p {
        font-size: 13px;
    }
}

/* Sitewide Public Page Refresh */
.page-banner {
    background:
        radial-gradient(circle at 88% 14%, rgba(255, 112, 24, 0.2) 0%, rgba(255, 112, 24, 0) 34%),
        linear-gradient(120deg, #b90000 0%, #db2e00 46%, #ff6a00 100%);
    color: #fff;
    padding: 46px 0 40px;
    position: relative;
    overflow: hidden;
}

.page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(9, 20, 36, 0.14), rgba(9, 20, 36, 0));
    pointer-events: none;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: 0.2px;
    margin-bottom: 10px;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
    font-weight: 600;
}

.page-content {
    padding: 64px 0 78px;
    background:
        radial-gradient(circle at 9% 5%, rgba(255, 102, 0, 0.08) 0%, rgba(255, 102, 0, 0) 32%),
        linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
}

.page-content .container {
    display: grid;
    gap: 24px;
}

.content-card {
    background: linear-gradient(160deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(204, 0, 0, 0.12);
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(9, 32, 57, 0.1);
    padding: 24px;
}

.content-card h2 {
    font-size: clamp(24px, 2.4vw, 34px);
    color: #0f355a;
    margin-bottom: 10px;
}

.content-card h3 {
    color: #103a63;
}

.content-card p,
.content-card li,
.event-list-content p,
.news-content p,
.contact-info-item p,
.faculty-info p {
    color: #4a4a4a;
}

.content-card ul {
    padding-left: 18px;
}

.admission-steps,
.curriculum-grid,
.lab-grid,
.faculty-grid,
.facilities-page-grid,
.gallery-full-grid,
.news-grid-page,
.contact-grid {
    gap: 16px;
}

.step-card,
.curriculum-card,
.lab-card,
.facility-page-card,
.faculty-card,
.contact-info-card,
.contact-form-card,
.news-item,
.event-list-item {
    border-radius: 14px;
    border: 1px solid rgba(16, 64, 112, 0.14);
    box-shadow: 0 10px 22px rgba(8, 30, 54, 0.08);
    background: #fff;
}

.lab-card img,
.event-list-img img,
.faculty-img img,
.gallery-full-item img {
    border-radius: 12px;
}

.filter-btn {
    border-radius: 999px;
    border: 1px solid rgba(204, 0, 0, 0.2);
    background: #fff;
    font-weight: 600;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient);
    color: #fff;
}

.about-table,
.eligibility-table,
.fee-table,
.admin-table {
    width: 100%;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 12px;
    border: 1px solid rgba(16, 71, 125, 0.14);
}

.about-table th,
.eligibility-table th,
.fee-table th {
    background: linear-gradient(120deg, #0f4c88 0%, #155d9e 100%);
    color: #fff;
}

.about-table td,
.eligibility-table td,
.fee-table td {
    background: #fff;
}

.map-embed {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 59, 103, 0.16);
    box-shadow: 0 10px 22px rgba(8, 31, 56, 0.11);
}

.footer {
    background: linear-gradient(180deg, #0b3660 0%, #082b4c 100%);
}

@media (max-width: 992px) {
    .page-content {
        padding: 56px 0 66px;
    }
    .content-card {
        padding: 20px;
    }
    .contact-grid,
    .news-grid-page,
    .events-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .nav-links {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }
    .nav-links a {
        white-space: nowrap;
        padding: 9px 12px;
        font-size: 13px;
    }
    .dropdown-menu {
        display: none;
    }
    .page-banner {
        padding: 36px 0 30px;
    }
    .page-content {
        padding: 44px 0 56px;
    }
    .content-card {
        padding: 16px;
        border-radius: 14px;
    }
    .content-card h2 {
        font-size: 24px;
    }
    .admission-form,
    .contact-grid,
    .news-grid-page,
    .lab-grid,
    .faculty-grid,
    .gallery-full-grid,
    .facilities-page-grid,
    .events-list {
        grid-template-columns: 1fr;
    }
    .step-card,
    .curriculum-card,
    .facility-page-card,
    .faculty-card,
    .news-item,
    .event-list-item {
        padding: 14px;
    }
    .about-table,
    .eligibility-table,
    .fee-table {
        font-size: 13px;
    }
}

/* Universal Responsive Hardening */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

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

table {
    width: 100%;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 16px;
    }
    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-card {
        padding: 20px;
    }
    .events-list,
    .news-grid-page,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .top-bar .container {
        flex-wrap: wrap;
        gap: 10px;
    }
    .top-bar-left {
        flex-wrap: wrap;
        gap: 10px;
    }
    .top-bar-right {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }
    .admin-wrapper {
        display: block;
    }
    .admin-sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding: 12px 0;
    }
    .admin-sidebar .logo {
        margin-bottom: 10px;
        padding: 0 14px 12px;
    }
    .admin-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        padding: 0 12px 4px;
    }
    .admin-nav li {
        flex: 0 0 auto;
    }
    .admin-nav li a {
        white-space: nowrap;
        border-radius: 8px;
        padding: 10px 12px;
    }
    .admin-main {
        margin-left: 0;
    }
    .admin-header {
        padding: 14px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .admin-header h2 {
        font-size: 20px;
    }
    .admin-content {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .logo {
        gap: 8px;
    }
    .logo-img {
        width: 58px;
        height: 58px;
    }
    .logo-text {
        font-size: 16px;
    }
    .logo-text span {
        font-size: 10px;
    }
    .page-banner h1 {
        font-size: 30px;
    }
    .breadcrumb {
        font-size: 12px;
    }
    .admin-form {
        grid-template-columns: 1fr;
    }
    .admin-stats {
        grid-template-columns: 1fr;
    }
    .admin-table,
    .about-table,
    .eligibility-table,
    .fee-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 10px;
    }
    .admin-table th,
    .admin-table td {
        padding: 10px;
        font-size: 13px;
    }
    .content-card,
    .admin-card {
        padding: 14px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }
    .hero-slider {
        height: 460px;
    }
    .slide-content {
        padding: 16px 14px;
    }
    .slide-content h1 {
        font-size: 26px;
    }
    .slide-content p {
        font-size: 14px;
    }
    .slider-dots {
        bottom: 34px;
    }
    .quick-btns {
        padding: 8px;
    }
    .quick-btn {
        font-size: 12px;
        padding: 9px 10px;
    }
    .content-card h2 {
        font-size: 22px;
    }
    .section-title h2 {
        font-size: 26px;
    }
    .admission-cta h2 {
        font-size: 30px;
    }
    .admission-highlights {
        gap: 6px;
    }
    .admission-highlights span {
        font-size: 11px;
        padding: 5px 8px;
    }
}

/* Cross-Page Responsive Completion */
.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.admin-form-full {
    grid-column: 1 / -1;
}

.admin-events-update-form {
    grid-template-columns: 2fr 1fr 2fr 1.5fr auto;
    align-items: center;
    gap: 10px;
}

.admin-gallery-upload-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

.admin-form-compact {
    margin-bottom: 0;
}

.admin-gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
}

@media (max-width: 992px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    .admission-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .event-list-item {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .event-list-img {
        height: 210px;
    }
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .news-date {
        min-width: 0;
    }
    .login-card {
        width: min(420px, 94vw);
        padding: 36px 28px;
    }
    .admin-dashboard-grid,
    .admin-events-update-form,
    .admin-gallery-upload-form {
        grid-template-columns: 1fr;
    }
    .admin-events-update-form .btn,
    .admin-gallery-upload-form .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .admission-steps {
        grid-template-columns: 1fr;
    }
    .step-card::after {
        display: none;
    }
    .event-list-img {
        height: 180px;
    }
    .news-date {
        padding: 8px 12px;
    }
    .content-card,
    .contact-info-card,
    .contact-form-card {
        padding: 14px;
    }
}

@media (max-width: 576px) {
    .mission-card,
    .vision-card {
        padding: 18px 14px;
    }
    .event-list-content {
        padding: 14px;
    }
    .map-embed iframe {
        height: 260px;
    }
    .login-card {
        width: min(360px, 96vw);
        padding: 26px 18px;
        border-radius: 12px;
    }
    .login-card h2 {
        font-size: 24px;
        margin-bottom: 18px;
    }
}
