/* ====================================
   MODERN SCHOOL WEBSITE CSS v3.0
   Enhanced with modern UI/UX & animations
   ==================================== */

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Roboto+Slab:wght@400;700&family=Inter:wght@400;500;600;700&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
    --primary: #1565c0;
    --primary-light: #42a5f5;
    --primary-dark: #0d47a1;
    --secondary: #00897b;
    --accent: #ff6b35;
    --accent-light: #ff8359;
    --success: #4caf50;
    --warning: #ffc107;
    --danger: #f44336;
    --light: #f9fafb;
    --light-gray: #f3f4f6;
    --medium-gray: #9ca3af;
    --dark: #1f2937;
    --dark-blue: #0f172a;
    --white: #ffffff;

    --gradient-primary: linear-gradient(135deg, #1565c0, #42a5f5);
    --gradient-secondary: linear-gradient(135deg, #00897b, #26a69a);
    --gradient-accent: linear-gradient(135deg, #ff6b35, #ff8359);
    --gradient-dark: linear-gradient(135deg, #0f172a, #1e293b);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ========== BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: '' Poppins'', '' Inter'', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
    letter-spacing: 0.3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: '' Roboto Slab'', '' Poppins'', serif;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* TOP HEADER */
.top-header {
    background: var(--gradient-dark);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.top-header p {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.top-header i {
    margin-right: 10px;
    font-size: 1rem;
    color: var(--accent);
}

.top-header a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.top-header a:hover {
    color: var(--accent);
}

/* NAVIGATION */
.navbar {
    background: var(--white);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--light-gray);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 800;
    color: var(--primary-dark);
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--accent);
}

.navbar-brand img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    object-fit: cover;
}

.navbar-brand:hover img {
    transform: scale(1.08);
    box-shadow: var(--shadow-md);
}

.navbar-brand h1 {
    font-size: 1.4rem;
    margin: 0;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 6px 14px;
    margin: 0 3px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    font-size: 0.9rem;
    text-decoration: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    background: rgba(21, 101, 192, 0.06);
}

.navbar-nav .nav-link::after {
    content: '' '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 75%;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-toggler {
    border: 1px solid var(--light-gray);
    box-shadow: none !important;
    padding: 0.2rem 0.5rem;
}

/* HERO SLIDER */
.carousel {
    height: 80vh;
    min-height: 450px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none !important;
    brightness: 1 !important;
    contrast: 1 !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
}

.carousel-caption {
    bottom: 30%;
    background: transparent !important;
    border-radius: 16px;
    backdrop-filter: none !important;
    border: none;
    padding: 40px;
    max-width: 800px;
}

.carousel-caption h2 {
    font-size: 3.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.carousel-caption p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* BUTTONS */
.btn-warning {
    background: var(--gradient-accent);
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 11px 28px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* NOTICE SECTION */
.notice-section {
    padding: 70px 0;
    background: var(--white);
    border-top: none;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    z-index: 5;
}

.card {
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--white);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-header {
    background: var(--light-gray);
    color: var(--dark);
    font-weight: 700;
    border: none;
    padding: 16px 20px;
    font-size: 1rem;
}

.card-body {
    padding: 20px;
}

.news-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

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

.news-item:hover {
    padding-left: 8px;
}

.news-item p {
    margin-bottom: 0;
    color: var(--dark);
    font-size: 0.95rem;
}

.date {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

/* STAFF SECTION */
.staff-section {
    padding: 70px 0;
    background: var(--light-gray);
    border: 1px solid var(--light-gray);
}

.section-title {
    font-weight: 700;
    font-size: 2.3rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 50px !important;
    letter-spacing: -0.5px;
}

.section-title span {
    color: var(--primary);
}

.staff-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--light-gray);
}

.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.staff-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.staff-card:hover img {
    transform: scale(1.05);
}

.staff-card .card-body {
    padding: 18px;
}

.staff-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.staff-card .card-text {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.staff-card .text-muted {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* INITIATIVES */
#initiatives {
    background: var(--white);
    padding: 70px 0;
    border-top: 1px solid var(--light-gray);
}

.initiative-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

.initiative-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* PREMIUM HIGHLIGHT CARDS (After Carousel) */
.hero-highlight-section {
    background: var(--white);
    margin: 0;
    padding: 35px 0;
    position: relative;
    z-index: 50;
    border-bottom: 1px solid var(--light-gray);
}

.highlight-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(21, 101, 192, 0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.highlight-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.highlight-card:hover::before {
    top: -25%;
    right: -25%;
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 12px;
    display: inline-block;
}

.highlight-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}

.highlight-card p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ABOUT SECTION */
.about-section {
    padding: 70px 0;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
}

.about-section img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-section img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* FEATURES SECTION */
.features {
    padding: 70px 0;
    background: var(--light-gray);
    border: 1px solid var(--light-gray);
}

.feature-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feature-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.feature-card .icon {
    font-size: 2rem;
    color: var(--accent);
    margin: 12px 0;
    transition: var(--transition);
}

.feature-card:hover .icon {
    transform: rotate(10deg) scale(1.15);
}

.feature-card .card-body {
    padding: 24px;
}

.feature-card .card-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
}

/* STATS SECTION */
.stats-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-blend-mode: multiply;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.stat-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    position: relative;
    z-index: 2;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item .number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.stat-item p {
    font-size: 1.05rem;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.95);
}

/* CTA SECTION */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--primary-light);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 300;
}

.cta-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px 40px;
    font-weight: 700;
    border-radius: 8px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.cta-btn:hover {
    background: #ff5526;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

/* TOPPERS SECTION */
.toppers-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #fff5f0 100%);
    border: 1px solid var(--light-gray);
}

.topper-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.topper-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--light-gray);
    position: relative;
}

.topper-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    z-index: 1;
}

.topper-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.topper-rank {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-accent);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.topper-rank.district {
    background: linear-gradient(135deg, #ffd700, #ffb700);
}

.topper-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.topper-card:hover .topper-image {
    transform: scale(1.08);
}

.topper-body {
    padding: 24px;
}

.topper-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.topper-class {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.topper-percentage {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    text-align: center;
}

.topper-percentage .label {
    font-size: 0.8rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.topper-percentage .value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
}

.topper-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topper-badge.district {
    background: linear-gradient(135deg, #ffd700, #ffb700);
}

@media (max-width: 768px) {
    .topper-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .toppers-section {
        padding: 50px 0;
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .carousel-caption {
        padding: 30px;
        bottom: 25%;
    }

    .carousel-caption h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .navbar-brand h1 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 35px !important;
    }

    .carousel-caption {
        padding: 24px;
        bottom: 20%;
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

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

@media (max-width: 768px) {
    .top-header p {
        font-size: 0.75rem;
    }

    .topper-container {
        grid-template-columns: 1fr;
    }

    .stats-section {
        padding: 60px 0;
    }

    .stat-item {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .stat-item .number {
        font-size: 2.5rem;
    }

    .stat-item p {
        font-size: 0.95rem;
    }
}

/* ADMIN PANEL BUTTON & STYLING */
.admin-panel-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-panel-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: var(--shadow-xl);
}

.admin-panel {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 24px;
    width: 300px;
    display: none !important;
    z-index: 998;
    animation: slideUp 0.3s ease;
    visibility: hidden;
}

.admin-panel[style*="display: block"] {
    visibility: visible !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.admin-panel h4 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.admin-panel .form-group {
    margin-bottom: 16px;
}

.admin-panel label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.admin-panel .form-control {
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.admin-panel .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.admin-panel .btn-login {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.admin-panel .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 480px) {
    .admin-panel {
        width: 280px;
        bottom: 70px;
        right: 10px;
        padding: 16px;
    }

    .admin-panel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

.navbar-brand img {
    height: 40px;
    width: 40px;
    margin-right: 8px;
}

.carousel {
    height: 60vh;
}

.carousel-caption {
    padding: 16px;
    bottom: 15%;
    max-width: 90%;
}

.carousel-caption h2 {
    font-size: 1.5rem;
}

.carousel-caption p {
    font-size: 0.95rem;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 25px !important;
}

.notice-section {
    padding: 50px 0;
}

.staff-section {
    padding: 50px 0;
}

.features {
    padding: 50px 0;
}

.highlight-card {
    padding: 16px;
}

.cta-section {
    padding: 50px 0;
}

.cta-section h2 {
    font-size: 1.8rem;
}

.cta-section p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.initiative-card:hover .card-img-top {
    transform: scale(1.05);
}

/* FOOTER */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .carousel {
        height: 70vh;
    }
}

@media (max-width: 768px) {
    .carousel {
        height: 60vh;
    }

    .navbar-brand h1 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .carousel {
        height: 50vh;
    }

    h2 {
        font-size: 1.75rem;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

/* ========== CAROUSEL DARK OVERLAY REMOVAL ========== */
/* Complete removal of all dark filters, overlays, and brightness effects */
.carousel,
.carousel-inner,
.carousel-item,
.hero-slider,
.hero-slider * {
    background: transparent !important;
}

/* Hide all pseudo-element overlays */
.carousel-item::before,
.carousel-item::after,
.carousel::before,
.carousel::after,
.carousel-inner::before,
.carousel-inner::after,
.hero-slider::before,
.hero-slider::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
}

/* Remove all filters from images and videos */
.carousel-item img,
.carousel-video,
.carousel-item video {
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    background: transparent !important;
}

/* Ensure caption has no backdrop effects */
.carousel-caption {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}