/* --- Hero Slider --- */
.hero-section {
    position: relative;
    height: 680px;
    overflow: hidden;
    background-color: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Beautiful dark overlay for text readability */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

/* Slide-in animation for content */
@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Centered content block */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 20px;
    animation: heroSlideUp 0.8s ease both;
}

.hero-content::before {
    display: none;
}

.hero-content h2 {
    color: #ffffff;
    font-size: 3.6rem;
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.65);
}

/* Eyebrow label above heading */
.hero-content .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-secondary);
    margin-bottom: 15px;
    background: rgba(255, 193, 7, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Premium amber CTA pill button */
.hero-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--clr-secondary);
    color: #0a192f;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    border: none;
    box-shadow: 0 6px 24px rgba(255, 193, 7, 0.45);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-content .btn::after {
    display: none;
}

.hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(255, 193, 7, 0.75);
    background: #ffca2c;
    color: #0a192f;
}

/* ── Slider Navigation Arrows (Centered vertically on edges) ── */
.hero-section .slider-arrows {
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.hero-section .hero-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.hero-section .hero-arrow:hover {
    background: var(--clr-secondary);
    border-color: var(--clr-secondary);
    color: #0a192f;
    transform: scale(1.1);
}

/* ── Slide Dots (Moved up to sit above overlapping cards) ── */
.hero-section .hero-dots {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

.hero-section .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-section .hero-dot.active {
    background: var(--clr-secondary);
    width: 24px;
    border-radius: 4px;
    border-color: var(--clr-secondary);
}

/* ── Responsive Hero ── */
@media (max-width: 992px) {
    .hero-section {
        height: 600px;
    }

    .hero-content {
        max-width: 650px;
        padding: 30px 15px;
    }

    .hero-content h2 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.15rem;
        margin-bottom: 25px;
    }

    .hero-section .slider-arrows {
        left: 20px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 520px;
    }

    .hero-content {
        max-width: 100%;
        padding: 25px 15px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-section .slider-arrows {
        display: none;
    }

    .hero-section .hero-dots {
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 460px;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .hero-content .btn {
        padding: 12px 30px;
        font-size: 0.85rem;
    }

    .hero-section .hero-dots {
        bottom: 50px;
    }
}

/* Moved to style.css for reliability */

/* ── 2. Admin/Principal Message — Warm Ivory Gold ── */
.admin-message-section {
    position: relative;
    background: linear-gradient(135deg, #fffbf0 0%, #fff9e6 40%, #fef3c7 70%, #fffdf5 100%);
    border-top: 3px solid #f59e0b22;
    border-bottom: 3px solid #f59e0b22;
}

.admin-message-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 100% 100%, rgba(251, 191, 36, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.admin-layout {
    display: flex;
    gap: 50px;
    align-items: center;
}

.admin-photo {
    flex: 1;
    position: relative;
}

.admin-photo img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.admin-photo::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--clr-secondary);
    border-radius: 12px;
    z-index: -1;
}

.admin-text {
    flex: 1.5;
}

.blockquote-custom {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--clr-text-muted);
    border-left: 5px solid var(--clr-secondary);
    padding-left: 20px;
    margin: 30px 0;
    position: relative;
}

/* ── 3. Notifications — Deep Indigo Night ── */
.notifications-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #022c22 0%, #064e3b 35%, #022c22 70%, #011f18 100%);
    overflow: hidden;
}

.notifications-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
    top: -150px;
    right: -100px;
    pointer-events: none;
}

.notifications-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.15), transparent 70%);
    bottom: -100px;
    left: -50px;
    pointer-events: none;
}

/* Adjust text colors for dark bg */
.notifications-section .section-title h2 {
    color: #fff;
}

.notifications-section .section-title p {
    color: rgba(255, 255, 255, 0.65);
}

.notifications-section .notice-board {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.notifications-section .notice-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.notifications-section .notice-date {
    color: #a78bfa;
}

.news-ticker-container {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.ticker-label {
    background-color: var(--clr-secondary);
    color: var(--clr-primary);
    font-weight: 700;
    padding: 10px 20px;
    white-space: nowrap;
    z-index: 2;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    padding-left: 20px;
}

.ticker-move {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 20px;
}

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

    100% {
        transform: translateX(-100%);
    }
}

.notice-board {
    background: var(--clr-white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 20px;
    height: 400px;
    overflow-y: auto;
}

.notice-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.notice-date {
    font-size: 0.85rem;
    color: var(--clr-accent-1);
    font-weight: 600;
    margin-bottom: 5px;
}

/* ── 4. Achievements — Premium Emerald Forest ── */
.achievements-section {
    position: relative;
    background:
        linear-gradient(135deg, rgba(1, 24, 18, 0.96) 0%, rgba(2, 44, 34, 0.94) 50%, rgba(1, 15, 11, 0.96) 100%),
        url('../images/school-building.jpg') fixed center center;
    background-size: cover;
    color: var(--clr-white);
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.achievements-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(45, 212, 191, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(251, 191, 36, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.achievements-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #2dd4bf, #fbbf24, #2dd4bf, transparent);
}

.ach-subtitle {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
    color: #fbbf24 !important;
    text-transform: uppercase;
}

.ach-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 60px;
    text-transform: uppercase;
    color: #ffffff !important;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.achievements-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

/* Glassmorphic Glowing Capsules */
.counter-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 45px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.counter-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--counter-glow);
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 
                0 0 20px var(--counter-glow-rgba), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Glowing Circular Icon Wrapper */
.counter-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    background: rgba(var(--counter-glow-rgb), 0.08);
    border: 1px solid rgba(var(--counter-glow-rgb), 0.2);
    color: var(--counter-glow);
    font-size: 1.8rem;
    box-shadow: 0 0 20px rgba(var(--counter-glow-rgb), 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.counter-item:hover .counter-icon-wrap {
    background: var(--counter-glow);
    color: #fff;
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 8px 24px var(--counter-glow-rgba), 0 0 15px var(--counter-glow);
}

.counter-item i {
    transition: transform 0.4s ease;
}

.counter-num-wrap {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-label {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.counter-item:hover .counter-label {
    color: #ffffff;
}

.suffix {
    font-size: 2.2rem;
    margin-left: 2px;
    color: var(--counter-glow);
    -webkit-text-fill-color: var(--counter-glow);
}

@media (max-width: 992px) {
    .achievements-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 576px) {
    .achievements-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* ── 5. Teachers — Compact Professional Cards ── */
.teachers-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    overflow: hidden;
}

/* ── Teacher Card — Compact & Light ── */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 28px;
    justify-content: center;
}

.teacher-card {
    background: var(--tc-light, #f8fafc);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
    position: relative;
    border: 1px solid rgba(var(--tc-rgb, 0,0,0), 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.teacher-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(var(--tc-rgb, 0,0,0), 0.12),
                0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ── Photo Container ── */
.tc-photo-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(var(--tc-rgb), 0.06) 0%, transparent 100%);
}

.teacher-card .teacher-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.teacher-card:hover .teacher-photo {
    transform: scale(1.05);
}

/* ── Social Icons Bar ── */
.tc-social-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.teacher-card:hover .tc-social-bar {
    transform: translateY(0);
    opacity: 1;
}

.tc-social-bar a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--tc-accent, #0f172a);
    font-size: 0.8rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.tc-social-bar a:hover {
    background: var(--tc-accent);
    color: #fff;
    transform: scale(1.15);
}

/* ── Info Section ── */
.tc-info {
    padding: 18px 16px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: #fff;
    width: 100%;
}

.tc-info h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.tc-qual {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    font-style: italic;
}

.tc-designation {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tc-accent, #064e3b);
    background: rgba(var(--tc-rgb, 0,0,0), 0.06);
    padding: 4px 14px;
    border-radius: 99px;
    margin-top: 6px;
}

/* ── Faculty Swiper Custom Styling ── */
.teachers-slider-container {
    position: relative;
    padding: 10px 0 60px;
}

.faculty-next,
.faculty-prev {
    width: 44px !important;
    height: 44px !important;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    color: var(--clr-primary) !important;
    transition: all 0.3s ease !important;
}

.faculty-next::after,
.faculty-prev::after {
    font-size: 1rem !important;
    font-weight: 900 !important;
}

.faculty-next:hover,
.faculty-prev:hover {
    background: var(--clr-primary) !important;
    color: #fff !important;
    transform: scale(1.1);
}

.faculty-next {
    right: -20px !important;
}

.faculty-prev {
    left: -20px !important;
}

.faculty-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--clr-primary);
    opacity: 0.2;
    transition: all 0.3s ease;
}

.faculty-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 10px;
    opacity: 1;
}

@media (max-width: 1300px) {
    .faculty-next {
        right: 10px !important;
    }

    .faculty-prev {
        left: 10px !important;
    }
}


/* --- Results --- */
/* ============================================
   RESULTS AT A GLANCE — Premium Horizontal Cards
   ============================================ */
.results-section {
    position: relative;
    padding: 100px 0 90px;
    background: linear-gradient(160deg, #0f0c29 0%, #1a1a3e 40%, #0a0a1a 100%);
    overflow: hidden;
}

/* Animated mesh background */
.results-bg-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 15% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 85% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 50% 90%, rgba(251, 146, 60, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: meshPulse 8s ease-in-out infinite alternate;
}

@keyframes meshPulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Section title override for dark bg */
.results-section .section-title h2 {
    color: #fff;
    font-size: 2.4rem;
}

.results-section .section-title h2::after {
    background: linear-gradient(90deg, #8b5cf6, #06b6d4);
}

/* Grid */
.results-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Card ── */
.result-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: default;
    animation-delay: var(--delay, 0s);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.result-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

/* Top accent gradient bar */
.rc-accent-bar {
    height: 4px;
    width: 100%;
    border-radius: 20px 20px 0 0;
}

/* Card inner — horizontal layout */
.rc-card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px 20px;
    gap: 24px;
}

.rc-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

/* Icon Circle */
.rc-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.result-card:hover .rc-icon-circle {
    transform: scale(1.08) rotate(3deg);
}

/* Info text */
.rc-info {
    min-width: 0;
}

.rc-label {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.rc-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Right side — big number */
.rc-right {
    flex-shrink: 0;
}

.rc-number-wrap {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.rc-pct {
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    font-family: var(--font-heading);
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.rc-pct-unit {
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
}

/* Bottom bar section */
.rc-bottom-bar {
    padding: 0 32px 24px;
}

/* Progress track */
.rc-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 16px;
}

.rc-progress-fill {
    height: 100%;
    width: 0;
    border-radius: 99px;
    transition: width 2.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.rc-progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: inherit;
    box-shadow: 0 0 12px currentColor;
    opacity: 0;
    transition: opacity 0.5s 2s ease;
}

.result-card.is-visible .rc-progress-fill {
    width: var(--w, 0%);
}

.result-card.is-visible .rc-progress-fill::after {
    opacity: 1;
}

/* Meta / chip area */
.rc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.rc-chip i {
    font-size: 0.7rem;
}

.rc-meta-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
}

/* ── Color Themes ── */

/* Violet Theme */
.rc-violet .rc-accent-bar {
    background: linear-gradient(90deg, #7c3aed, #a78bfa, #c4b5fd);
}
.rc-violet:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 48px rgba(139, 92, 246, 0.15);
}
.rc-violet .rc-icon-circle {
    color: #a78bfa;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(167, 139, 250, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.12);
}
.rc-violet .rc-pct {
    background: linear-gradient(135deg, #c4b5fd, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.rc-fill-violet {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}
.rc-chip-violet {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Cyan Theme */
.rc-cyan .rc-accent-bar {
    background: linear-gradient(90deg, #0891b2, #22d3ee, #67e8f9);
}
.rc-cyan:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 20px 48px rgba(6, 182, 212, 0.15);
}
.rc-cyan .rc-icon-circle {
    color: #22d3ee;
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.15), rgba(34, 211, 238, 0.08));
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.12);
}
.rc-cyan .rc-pct {
    background: linear-gradient(135deg, #67e8f9, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.rc-fill-cyan {
    background: linear-gradient(90deg, #0891b2, #22d3ee);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
}
.rc-chip-cyan {
    color: #22d3ee;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

/* Orange Theme */
.rc-orange .rc-accent-bar {
    background: linear-gradient(90deg, #ea580c, #fb923c, #fdba74);
}
.rc-orange:hover {
    border-color: rgba(251, 146, 60, 0.3);
    box-shadow: 0 20px 48px rgba(251, 146, 60, 0.15);
}
.rc-orange .rc-icon-circle {
    color: #fb923c;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.15), rgba(251, 146, 60, 0.08));
    border: 1px solid rgba(251, 146, 60, 0.2);
    box-shadow: 0 4px 16px rgba(251, 146, 60, 0.12);
}
.rc-orange .rc-pct {
    background: linear-gradient(135deg, #fdba74, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.rc-fill-orange {
    background: linear-gradient(90deg, #ea580c, #fb923c);
    box-shadow: 0 0 12px rgba(251, 146, 60, 0.5);
}
.rc-chip-orange {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.2);
}

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
    .results-section {
        padding: 70px 0 60px;
    }

    .results-cards-grid {
        gap: 18px;
    }

    .rc-card-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 22px 16px;
        gap: 16px;
    }

    .rc-left {
        width: 100%;
    }

    .rc-right {
        width: 100%;
        text-align: right;
    }

    .rc-pct {
        font-size: 2.6rem;
    }

    .rc-label {
        font-size: 1.1rem;
    }

    .rc-bottom-bar {
        padding: 0 22px 20px;
    }

    .rc-icon-circle {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        font-size: 1.1rem;
    }
}



/* ================================================
   COURSES WE OFFER — Premium Redesigned Cards
   ================================================ */
.courses-section {
    position: relative;
    padding: 120px 0 110px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 60%, #f6f8fd 100%);
    overflow: hidden;
}

/* Soft background orbs */
.courses-section-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cs-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
}

.cs-orb-1 {
    width: 600px;
    height: 600px;
    background: #818cf8;
    top: -200px;
    left: -150px;
    animation: cs-orb-drift 18s ease-in-out infinite alternate;
}

.cs-orb-2 {
    width: 500px;
    height: 500px;
    background: #34d399;
    bottom: -150px;
    right: -100px;
    animation: cs-orb-drift 14s ease-in-out infinite alternate-reverse;
}

@keyframes cs-orb-drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 30px) scale(1.1); }
}

/* Eyebrow tag */
.cs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e293b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 99px;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.25);
}

.cs-eyebrow i {
    color: #1e293b;
    opacity: 0.8;
}

/* Grid Layout */
.courses-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

.courses-section .container .section-title {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

/* Card Wrapper */
.cc-wrap {
    perspective: 1000px;
    animation-delay: var(--delay, 0s);
}

/* Premium Card */
.cc-card-premium {
    position: relative;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 38px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: default;
    overflow: hidden;
}

.cc-card-premium:hover {
    transform: translateY(-8px);
    border-color: var(--cc-color);
    box-shadow: 0 24px 48px rgba(30, 41, 59, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* Inner radial glow */
.cc-inner-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(150px circle at 0px 0px, var(--cc-light), transparent 80%);
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.cc-card-premium:hover .cc-inner-glow {
    opacity: 0.8;
}

/* Watermark Number */
.cc-watermark {
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 4.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--cc-color);
    opacity: 0.03;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    user-select: none;
}

.cc-card-premium:hover .cc-watermark {
    opacity: 0.08;
    transform: scale(1.05);
}

/* Header Elements */
.cc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Premium Icon Container */
.cc-icon-box-premium {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--cc-color), var(--cc-color-g2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #fff;
    box-shadow: 0 8px 20px var(--cc-shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
}

.cc-card-premium:hover .cc-icon-box-premium {
    transform: scale(1.06) rotate(3deg);
    box-shadow: 0 12px 28px var(--cc-shadow);
}

/* Dual Ring Rotating Glow */
.cc-icon-ring-glow {
    position: absolute;
    inset: -5px;
    border-radius: 23px;
    border: 1.5px dashed var(--cc-color);
    opacity: 0.35;
    animation: rotateRing 16s linear infinite;
    pointer-events: none;
    transition: scale 0.4s ease, opacity 0.4s ease;
}

.cc-card-premium:hover .cc-icon-ring-glow {
    scale: 1.05;
    opacity: 0.7;
}

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

/* Category Badge */
.cc-category-badge {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 5px 12px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Body Elements */
.cc-body {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.cc-body h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    font-family: var(--font-heading);
}

.cc-body p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

/* Highlights Checklist */
.cc-highlights {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    padding-top: 18px;
}

.cc-highlights span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #475569;
    font-weight: 600;
}

.cc-highlights i {
    color: var(--cc-color);
    font-size: 0.92rem;
}

/* Footer / Button */
.cc-footer {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.cc-learn-more-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    transition: color 0.3s ease;
    width: 100%;
}

.cc-arrow-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #0f172a;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Hover Interactivity */
.cc-card-premium:hover .cc-learn-more-btn {
    color: var(--cc-color);
}

.cc-card-premium:hover .cc-arrow-circle {
    background: var(--cc-color);
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px var(--cc-shadow);
}

/* Media Queries */
@media (max-width: 992px) {
    .courses-section .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .courses-section .container {
        grid-template-columns: 1fr;
    }

    .courses-section {
        padding: 80px 0 70px;
    }

    .cc-card-premium {
        padding: 32px 26px;
    }
}



@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }
}


/* --- Quick Links Section (Handled by style.css — home.css overrides only) --- */
/* Gradient overrides from home.css for richer look */
.ql-card[data-color="crimson"] {
    background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 40%, #dc2626 100%);
}

.ql-card[data-color="amber"] {
    background: linear-gradient(135deg, #78350f 0%, #d97706 40%, #f59e0b 100%);
}

.ql-card[data-color="emerald"] {
    background: linear-gradient(135deg, #064e3b 0%, #059669 40%, #10b981 100%);
}

/* --- Latest Updates Section --- */
.latest-updates-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    /* Deep forest-pine gradient matching school identity */
    background: linear-gradient(135deg, #011511 0%, #022c22 45%, #054032 80%, #011511 100%);
}

/* Animated star dots */
.latest-updates-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 35px 35px, 70px 70px;
    background-position: 0 0, 17px 17px;
    pointer-events: none;
}

/* Top brand shimmer */
.latest-updates-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #0d9488, #34d399, #fbbf24, #059669, #fbbf24, #0d9488);
    background-size: 200% 100%;
    animation: shimmer-move 5s linear infinite;
}

/* Section title on dark bg */
.latest-updates-section .section-title h2 {
    color: #fff;
}

.latest-updates-section .section-title p {
    color: rgba(255, 255, 255, 0.6);
}

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

/* ── Update Card — White body with colorful header ── */
.update-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e8edf2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 580px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.update-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* ── Card Header Gradients — unique per card ── */
.card-header {
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

/* Notifications — Deep Teal / Mint */
.card-header.bg-blue {
    background: linear-gradient(135deg, #0d9488, #0b6a61);
    box-shadow: 0 4px 18px rgba(13, 148, 136, 0.3);
}

/* News & Events — Vibrant Amber / Bronze */
.update-card:nth-child(2) .card-header {
    background: linear-gradient(135deg, #eab308, #ca8a04);
    box-shadow: 0 4px 18px rgba(234, 179, 8, 0.3);
}

/* Results — Forest Green */
.update-card:nth-child(3) .card-header {
    background: linear-gradient(135deg, #064e3b, #0b7a5e);
    box-shadow: 0 4px 18px rgba(6, 78, 59, 0.3);
    color: #fff;
}

/* Recruitment — Rich Crimson Red */
.update-card:nth-child(4) .card-header {
    background: linear-gradient(135deg, #be123c, #9f1239);
    box-shadow: 0 4px 18px rgba(190, 18, 60, 0.3);
}

.card-header i {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

.card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
}

.update-list {
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 8px;
}

.update-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f4f8;
}

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

.item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.item-meta .date {
    font-size: 0.73rem;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-new {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    font-size: 0.58rem;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.update-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.55;
    margin-bottom: 10px;
    color: #1e293b;
}

.view-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: #6366f1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.view-link:hover {
    color: #f472b6;
    transform: translateX(5px);
}

.empty-msg {
    font-size: 0.9rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 50px;
    font-style: italic;
}

/* Custom Scrollbar — dark theme */
.scroll-bar::-webkit-scrollbar {
    width: 4px;
}

.scroll-bar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.scroll-bar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.scroll-bar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@media (max-width: 1200px) {
    .updates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .updates-grid {
        grid-template-columns: 1fr;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .quick-links-section {
        margin-top: -30px;
    }

    .latest-updates-section {
        padding: 60px 0;
    }

    .update-card {
        height: 500px;
    }
}