/* ============================================
   NEW STAR ACADEMY BOARDING SCHOOL - FRONTEND
   Fully Responsive Design
   ============================================ */

:root {
    --primary: #1a3a5c;
    --primary-light: #2c5f8a;
    --secondary: #e63946;
    --accent: #f4a261;
    --dark: #1d2939;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, #1a3a5c 0%, #2c5f8a 100%);
}

/* ---- General ---- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

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

.subtitle {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--secondary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ---- Top Bar ---- */
.top-bar {
    background: var(--primary);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .top-info li {
    margin-right: 20px;
}

.top-bar .top-info i {
    margin-right: 5px;
    color: var(--accent);
}

.top-bar .social-links a {
    color: #fff;
    font-size: 16px;
    margin-left: 12px;
    transition: 0.3s;
}

.top-bar .social-links a:hover {
    color: var(--accent);
}

/* ---- Navbar ---- */
.main-navbar {
    background: var(--gradient);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.main-navbar .navbar-brand {
    display: flex;
    align-items: center;
}

.main-navbar .navbar-brand img {
    max-height: 50px;
    width: auto;
}

.main-navbar .school-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.main-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 8px 12px !important;
    transition: 0.3s;
    font-size: 0.9rem;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--accent) !important;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}

.navbar-toggler-icon {
    filter: brightness(2);
}

/* ---- Hero Slider ---- */
.hero-slider {
    position: relative;
}

.hero-slider .slide-item {
    height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 92, 0.6);
}

.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    max-width: 800px;
}

.hero-slider .slide-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slider .slide-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 20px;
}

.hero-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
}

/* ---- Quick Info Cards ---- */
.quick-info {
    position: relative;
    z-index: 10;
    margin-top: -50px;
    padding-bottom: 30px;
}

.info-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 24px;
    color: #fff;
}

.info-content h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.info-content p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
}

/* ---- About Section ---- */
.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.3);
}

.experience-badge h3 {
    margin-bottom: 0;
    font-size: 14px;
    text-transform: uppercase;
}

.experience-badge h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.experience-badge p {
    margin-bottom: 0;
    font-size: 14px;
}

.about-content h3 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    font-size: 20px;
}

.feature-item span {
    font-weight: 500;
}

/* ---- Principal Section ---- */
.principal-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid var(--primary);
}

.principal-message h3 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.principal-message .lead {
    color: var(--primary);
    border-left: 4px solid var(--secondary);
    padding-left: 15px;
}

/* ---- Academics Section ---- */
.academic-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-top: 3px solid transparent;
    height: 100%;
}

.academic-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.academic-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.academic-icon i {
    font-size: 28px;
    color: #fff;
}

.academic-card h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

.academic-card p {
    color: #666;
    margin-bottom: 10px;
}

/* ---- Features Section ---- */
.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card-icon i {
    font-size: 26px;
    color: #fff;
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
    font-size: 14px;
}

/* Plans */
.plan-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    border-left: 4px solid var(--primary);
    height: 100%;
}

.plan-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(26, 58, 92, 0.1);
}

.plan-item h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.plan-item p {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

/* ---- Extra-Curricular Activities ---- */
.eca-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    height: 100%;
}

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

.eca-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, #ff6b6b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.eca-icon i {
    font-size: 24px;
    color: #fff;
}

.eca-card h6 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.eca-card p {
    color: #666;
    font-size: 13px;
    margin-bottom: 0;
}

/* ---- Video Section ---- */
.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-decoration: none;
}

.video-play-btn i {
    font-size: 60px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    transition: 0.3s;
}

.video-play-btn:hover i {
    color: var(--secondary);
    transform: scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-info h5 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 1rem;
}

.video-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 0;
}

.empty-section {
    padding: 40px 0;
}

/* ---- Gallery Section ---- */
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 92, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: #fff;
}

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

.gallery-overlay i {
    font-size: 30px;
    margin-bottom: 10px;
}

.gallery-overlay p {
    margin-bottom: 0;
    font-size: 14px;
}

/* ---- Notices Section ---- */
.notices-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.notice-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
    transition: 0.3s;
}

.notice-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left-color: var(--secondary);
}

.notice-date {
    text-align: center;
    min-width: 70px;
    padding: 10px;
    background: var(--light);
    border-radius: 8px;
}

.notice-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.notice-date .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 600;
}

.notice-date .year {
    display: block;
    font-size: 11px;
    color: #999;
}

.notice-content h5 {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.notice-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

/* ---- Stats Section ---- */
.stats-section {
    background: var(--gradient);
    padding: 60px 0;
    color: #fff;
}

.stat-item h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 0;
}

/* ---- Contact Section ---- */
.contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.contact-icon i {
    font-size: 24px;
    color: #fff;
}

.contact-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p {
    color: #666;
    margin-bottom: 0;
}

/* ---- Page Header ---- */
.page-header {
    background: var(--gradient);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item.active {
    color: var(--accent);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Registration Form ---- */
.registration-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header-custom {
    background: var(--gradient);
    color: #fff;
    padding: 30px;
}

.card-header-custom h3 {
    margin-bottom: 5px;
    font-weight: 700;
}

.card-header-custom p {
    margin-bottom: 0;
    opacity: 0.9;
}

.registration-form {
    padding: 30px;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    font-size: 20px;
}

.registration-form .form-control,
.registration-form .form-select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 58, 92, 0.15);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--dark);
    color: #ccc;
    padding: 60px 0 0;
}

.footer-widget h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

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

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

.footer-links li a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

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

.footer-contact li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom .social-links a {
    color: #aaa;
    font-size: 18px;
    margin-left: 15px;
    transition: 0.3s;
}

.footer-bottom .social-links a:hover {
    color: var(--accent);
}

/* ---- Badges ---- */
.bg-soft-primary {
    background-color: rgba(26, 58, 92, 0.1) !important;
    color: var(--primary) !important;
}

.bg-soft-success {
    background-color: rgba(25, 135, 84, 0.1) !important;
    color: #198754 !important;
}

.bg-soft-warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107 !important;
}

.bg-soft-danger {
    background-color: rgba(230, 57, 70, 0.1) !important;
    color: var(--secondary) !important;
}

/* ---- Scrollbar ---- */
.notices-list::-webkit-scrollbar {
    width: 5px;
}

.notices-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* ---- Large Desktop (1400px+) ---- */
@media (min-width: 1400px) {
    .hero-slider .slide-item {
        height: 600px;
    }
    .hero-slider .slide-content h1 {
        font-size: 3.2rem;
    }
}

/* ---- Desktop (992px - 1199px) ---- */
@media (max-width: 1199px) {
    .main-navbar .nav-link {
        padding: 8px 8px !important;
        font-size: 0.85rem;
    }

    .main-navbar .school-name {
        font-size: 0.95rem;
    }

    .hero-slider .slide-content h1 {
        font-size: 2.4rem;
    }
}

/* ---- Tablet (768px - 991px) ---- */
@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }

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

    /* Navbar mobile */
    .main-navbar {
        padding: 8px 0;
    }

    .main-navbar .navbar-brand img {
        max-height: 40px;
    }

    .main-navbar .school-name {
        font-size: 0.85rem;
        max-width: 150px;
    }

    .navbar-collapse {
        background: var(--primary);
        padding: 15px;
        border-radius: 10px;
        margin-top: 10px;
    }

    .main-navbar .nav-link {
        padding: 10px 15px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Slider */
    .hero-slider .slide-item {
        height: 400px;
    }

    .hero-slider .slide-content h1 {
        font-size: 2rem;
    }

    .hero-slider .slide-content p {
        font-size: 1rem;
    }

    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .hero-slider .swiper-button-next:after,
    .hero-slider .swiper-button-prev:after {
        font-size: 16px;
    }

    /* Quick info */
    .quick-info {
        margin-top: 0;
        padding-top: 30px;
    }

    /* About */
    .experience-badge {
        bottom: 10px;
        right: 10px;
        padding: 15px;
    }

    .experience-badge h2 {
        font-size: 2rem;
    }

    /* Principal */
    .principal-image img {
        width: 150px;
        height: 150px;
    }

    /* Stats */
    .stat-item h2 {
        font-size: 2rem;
    }

    /* Gallery */
    .gallery-item img {
        height: 180px;
    }

    /* Video */
    .video-thumbnail img {
        height: 180px;
    }
}

/* ---- Mobile Landscape (576px - 767px) ---- */
@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 12px;
    }

    /* Top bar hide on mobile */
    .top-bar {
        display: none;
    }

    /* Navbar */
    .main-navbar .navbar-brand img {
        max-height: 35px;
    }

    .main-navbar .school-name {
        font-size: 0.8rem;
        max-width: 120px;
    }

    /* Slider */
    .hero-slider .slide-item {
        height: 300px;
    }

    .hero-slider .slide-content h1 {
        font-size: 1.5rem;
    }

    .hero-slider .slide-content p {
        font-size: 0.9rem;
    }

    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none;
    }

    /* Info cards stack */
    .info-card {
        padding: 20px;
    }

    /* About */
    .about-content h3 {
        font-size: 1.3rem;
    }

    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        display: inline-block;
        margin-top: 15px;
    }

    /* Principal */
    .principal-image img {
        width: 130px;
        height: 130px;
    }

    .principal-message h3 {
        font-size: 1.3rem;
    }

    /* Academics */
    .academic-card {
        padding: 20px;
    }

    .academic-icon {
        width: 55px;
        height: 55px;
    }

    /* Features */
    .feature-card {
        padding: 20px;
    }

    .plan-item {
        padding: 20px;
    }

    /* ECA */
    .eca-card {
        padding: 20px;
    }

    /* Notices */
    .notice-item {
        flex-direction: column;
        gap: 10px;
    }

    .notice-date {
        display: flex;
        gap: 8px;
        align-items: center;
        min-width: auto;
    }

    /* Stats */
    .stats-section {
        padding: 40px 0;
    }

    .stat-item h2 {
        font-size: 1.8rem;
    }

    /* Gallery */
    .gallery-item img {
        height: 160px;
    }

    /* Video */
    .video-thumbnail img {
        height: 180px;
    }

    .video-play-btn i {
        font-size: 45px;
    }

    /* Page header */
    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    /* Registration */
    .card-header-custom {
        padding: 20px;
    }

    .card-header-custom h3 {
        font-size: 1.2rem;
    }

    .registration-form {
        padding: 20px;
    }

    /* Footer */
    .site-footer {
        padding: 40px 0 0;
    }

    .footer-bottom {
        text-align: center;
    }

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

    .footer-bottom .social-links a {
        margin: 0 8px;
    }
}

/* ---- Small Mobile (below 576px) ---- */
@media (max-width: 575px) {
    .section-padding {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 1.3rem;
    }

    /* Slider */
    .hero-slider .slide-item {
        height: 250px;
    }

    .hero-slider .slide-content h1 {
        font-size: 1.2rem;
    }

    .hero-slider .slide-content p {
        font-size: 0.8rem;
    }

    .hero-slider .slide-content .btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    /* Navbar */
    .main-navbar .school-name {
        font-size: 0.75rem;
        max-width: 100px;
    }

    .main-navbar .navbar-brand img {
        max-height: 30px;
    }

    /* Info cards */
    .info-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    /* About */
    .about-content h3 {
        font-size: 1.1rem;
    }

    /* Principal */
    .principal-message .lead {
        font-size: 0.95rem;
    }

    /* Academic */
    .academic-card {
        padding: 15px;
    }

    .academic-icon {
        width: 50px;
        height: 50px;
    }

    .academic-icon i {
        font-size: 22px;
    }

    /* Features */
    .feature-card-icon {
        width: 50px;
        height: 50px;
    }

    .feature-card-icon i {
        font-size: 22px;
    }

    /* ECA */
    .eca-icon {
        width: 50px;
        height: 50px;
    }

    .eca-icon i {
        font-size: 20px;
    }

    /* Gallery 2-col */
    .gallery-item img {
        height: 140px;
    }

    /* Video */
    .video-thumbnail img {
        height: 160px;
    }

    /* Contact */
    .contact-card {
        padding: 20px;
    }

    /* Registration */
    .registration-form {
        padding: 15px;
    }

    .form-submit .btn {
        width: 100%;
    }

    /* Stats */
    .stat-item h2 {
        font-size: 1.5rem;
    }

    .stat-item p {
        font-size: 14px;
    }
}

/* ---- Print Styles ---- */
@media print {
    .top-bar,
    .main-navbar,
    .hero-slider,
    .site-footer,
    .stats-section {
        display: none;
    }

    .section-padding {
        padding: 20px 0;
    }
}

/* ---- Gallery Tabs ---- */
.gallery-tabs {
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-tabs .nav-link {
    background: #fff;
    color: var(--dark);
    border: 2px solid #eee;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.gallery-tabs .nav-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.gallery-tabs .nav-link.active {
    background: var(--gradient);
    color: #fff;
    border-color: var(--primary);
}

/* ---- Map Section ---- */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

/* ---- Gallery Tabs Responsive ---- */
@media (max-width: 575px) {
    .gallery-tabs .nav-link {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .gallery-tabs {
        gap: 6px;
    }

    .map-container iframe {
        height: 250px;
    }
}
