@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #006b54;
    --secondary-color: #f29c38;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #f3f4f6;
    color: #1f2937;
    line-height: 1.5;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-texture-url, url('../images/bg_texture.png'));
    background-repeat: repeat;
    background-position: top center;
    background-size: auto;
    opacity: 0.20;
    z-index: -1;
    pointer-events: none;
}

/* Banner section */
.top-banner {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Quick badges container */
.badges-container {
    max-width: 1200px;
    margin: 15px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 15px;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

.badge-gallery { background-color: #198754; }
.badge-apply { background-color: #6f42c1; }
.badge-notice { background-color: #dc3545; }
.badge-student { background-color: #198754; }
.badge-hr { background-color: #6f42c1; }
.badge-subject { background-color: #ffc107; color: #000; }
.badge-result { background-color: #dc3545; }
.badge-routine { background-color: #0d6efd; }
.badge-marketplace { background-color: #5856d6; }

/* Main navigation bar */
.main-nav {
    background-color: color-mix(in srgb, var(--primary-color) 88%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    position: sticky;
    top: 63px;
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #fff;
    border: 2px solid #ffffff;
}

.nav-brand span {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 4px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
}

/* Dropdown menu styling */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 8px 0;
    display: none;
    list-style: none;
}

.dropdown-item a {
    color: #374151;
    text-decoration: none;
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.dropdown-item a:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
}

.nav-item:hover .dropdown-menu {
    display: block;
}

/* Showcase section */
.showcase-container {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
}

/* Full Width Carousel */
.hero-carousel {
    width: 100%;
    height: 650px;
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Caption Styles */
.carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 60px;
    color: #ffffff;
    z-index: 10;
    max-width: 600px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    font-family: 'Outfit', sans-serif;
}

.carousel-caption h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-caption p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.95;
}

/* Carousel Controls */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    border: none;
    font-size: 22px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-prev { left: 30px; }
.carousel-next { right: 30px; }
.carousel-prev:active { transform: translateY(-50%) scale(0.9); }
.carousel-next:active { transform: translateY(-50%) scale(0.9); }

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1.5px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.indicator.active {
    background-color: #ffffff;
    transform: scale(1.2);
    border-color: rgba(0,0,0,0.4);
}

/* Video Showcase Styles */
.hero-video-container {
    height: 650px;
    max-height: 650px;
    max-width: 100%;
    width: auto;
    margin: 25px auto;
    background-color: #000000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

/* Responsive adjustment for showcase section */
@media (max-width: 768px) {
    .hero-carousel {
        height: 320px;
    }
    .carousel-caption {
        bottom: 30px;
        left: 20px;
        right: 20px;
    }
    .carousel-caption h2 {
        font-size: 22px;
    }
    .carousel-caption p {
        font-size: 13px;
    }
    .carousel-prev, .carousel-next {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .carousel-prev { left: 10px; }
    .carousel-next { right: 10px; }
}

/* Welcome section card style matching screenshot */
.welcome-section {
    max-width: 1100px;
    margin: 30px auto;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    display: flex;
    gap: 20px;
    align-items: center;
}

.welcome-logo-container {
    flex-shrink: 0;
}

.welcome-logo-container img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.welcome-body {
    flex: 1;
}

.welcome-badge {
    background-color: #d1e7dd;
    color: #0f5132;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.welcome-body h2 {
    color: #0d233a;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.welcome-body p {
    color: #4b5563;
    font-size: 13.5px;
    line-height: 1.6;
}

/* Common Section Badge & Title */
.section-badge-container {
    max-width: 1100px;
    margin: 40px auto 10px auto;
    padding: 0 15px;
}

.section-badge {
    background-color: #d1e7dd;
    color: #0f5132;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 8px;
}

.section-title {
    color: #0d233a;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Leadership section */
.leadership-wrapper {
    max-width: 1100px;
    margin: 0 auto 30px auto;
    padding: 0 15px;
}

.leadership-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.leadership-card {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 16px;
    display: flex;
    gap: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
    cursor: pointer;
}

.leadership-card:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.leadership-img {
    width: 120px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.leadership-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.leadership-subtitle {
    color: #dc3545;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.leadership-name {
    color: #0d233a;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.leadership-designation {
    color: #198754;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.leadership-text {
    color: #4b5563;
    font-size: 12.5px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.details-link {
    margin-top: auto;
    align-self: flex-end;
    color: #fd7e14;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.details-link:hover {
    color: #e06907;
}

/* Notice Board Section */
.notice-board-wrapper {
    max-width: 1100px;
    margin: 40px auto 30px auto;
    padding: 0 15px;
}

.notice-board-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 30px 20px;
}

.notice-pin {
    width: 44px;
    height: 44px;
    background-color: #ff4d4d;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.3);
}

.notice-badge {
    background-color: #d1e7dd;
    color: #0f5132;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.notice-board-card h2 {
    color: #0d233a;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.notice-table th {
    background-color: #f8f9fa;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.notice-table td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.notice-date {
    font-weight: 700;
    color: #1f2937;
    font-size: 14px;
}

.notice-time {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.notice-title {
    font-weight: 700;
    color: #1f2937;
    font-size: 14px;
}

.notice-cat {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.notice-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #e0f2fe;
    color: #0284c7;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s;
}

.notice-action:hover {
    background-color: #bae6fd;
    transform: scale(1.05);
}

/* Notice Badges */
.notice-badge-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 10px;
    text-transform: uppercase;
    vertical-align: middle;
    line-height: 1;
    letter-spacing: 0.03em;
    font-family: 'Outfit', sans-serif;
}

.badge-new {
    background-color: #fff1f2;
    color: #e11d48;
    border: 1px solid #ffe4e6;
}

.badge-new::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #e11d48;
    margin-right: 6px;
    animation: dot-pulse 1.8s infinite ease-in-out;
    flex-shrink: 0;
}

.badge-latest {
    background-color: #f0fdfa;
    color: #0d9488;
    border: 1px solid #ccfbf1;
}

@keyframes dot-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

@media (prefers-reduced-motion: reduce) {
    .badge-new::before {
        animation: none;
    }
}

/* Courses Section */
.courses-wrapper {
    max-width: 1100px;
    margin: 0 auto 50px auto;
    padding: 0 15px;
    text-align: center;
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 25px;
}

.course-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.course-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-title-text {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.3;
}

.course-desc {
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f3f4f6;
    padding-top: 12px;
    font-size: 12.5px;
    color: #4b5563;
    font-weight: 600;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-meta-item i {
    color: var(--primary-color);
}

/* Responsive grid for courses */
@media (max-width: 992px) {
    .courses-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .courses-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .course-img-wrapper {
        height: 160px;
    }
}




/* Back to Top button */
.top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000080;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: background-color 0.2s;
}

.top-btn:hover {
    background-color: #000066;
}

/* Teachers section */
.teachers-wrapper {
    max-width: 1100px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
    text-align: center;
}

.teachers-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.teacher-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.teacher-avatar-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    border: 3px solid #f3f4f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.teacher-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-name {
    color: #0d233a;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.teacher-role {
    color: #dc3545;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.teacher-qual {
    color: #6b7280;
    font-size: 11px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.teacher-socials {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.social-icon:hover {
    background-color: #f3f4f6;
    color: #0a58ca;
    transform: scale(1.1);
}

.btn-details {
    background-color: #004080;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-details:hover {
    background-color: #002d5a;
}

/* Admission Promo Banner */
.admission-banner-container {
    width: 100%;
    position: relative;
    height: 380px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.admission-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.admission-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.admission-banner-content {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 30px;
    color: #ffffff;
}

.promo-badge {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.admission-banner-content h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.admission-banner-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    max-width: 600px;
}

.btn-apply-now {
    background-color: #005f47;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 95, 71, 0.3);
    transition: all 0.3s;
}

.btn-apply-now:hover {
    background-color: #004735;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 95, 71, 0.4);
}

/* Courses Section */
.courses-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px;
    text-align: center;
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 25px;
}

.course-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.course-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-title {
    color: #0d233a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.course-desc {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.course-price {
    color: #dc3545;
    font-weight: 700;
    font-size: 14px;
}

.btn-learn-more {
    background-color: #e05a47;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: background-color 0.2s;
}

.btn-learn-more:hover {
    background-color: #c94634;
}

/* Gallery Section Layout */
.gallery-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px;
}

.gallery-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 12px;
}

.gallery-header-left {
    text-align: left;
}

.gallery-header-left .section-badge {
    margin-bottom: 4px;
}

.gallery-header-left .section-title {
    margin-bottom: 0;
}

.btn-view-all {
    background-color: #004d40;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background-color 0.2s;
}

.btn-view-all:hover {
    background-color: #00332c;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-overlay-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 8px 12px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Video Gallery */
.videos-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px;
}

.videos-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 12px;
}

.videos-header-left {
    text-align: left;
}

.videos-header-left .section-badge {
    margin-bottom: 4px;
}

.videos-header-left .section-title {
    margin-bottom: 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 25px;
}

.video-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.video-player-mock {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000000;
    overflow: hidden;
}

.video-player-mock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-text {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    max-width: 80%;
    line-height: 1.3;
}

.video-overlay-text .highlight {
    color: #dc3545;
}

.video-logo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #005f47;
}

.video-logo-badge img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.video-controls-mock {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    font-size: 11px;
}

.video-controls-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-play-btn-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background-color: #ff0000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.video-play-btn-large:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-iframe-container {
    width: 100%;
    aspect-ratio: 16/9;
}

.youtube-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-body {
    padding: 16px;
    flex: 1;
}

.video-title {
    color: #0d233a;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.video-desc {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
}

/* Download Zone */
.downloads-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px;
    text-align: center;
}

.downloads-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 25px;
    text-align: left;
}

.download-column-title {
    color: #004080;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    border-left: 4px solid #004080;
    padding-left: 10px;
}

.download-card {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.download-card-left {
    display: flex;
    flex-direction: column;
}

.download-badge {
    background-color: #fef3c7;
    color: #d97706;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
    align-self: flex-start;
}

.download-title {
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.download-desc {
    color: #6b7280;
    font-size: 11.5px;
}

.download-card-right {
    display: flex;
    gap: 10px;
}

.download-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.download-icon-btn:hover {
    background-color: #f3f4f6;
    color: #0d6efd;
    border-color: #0d6efd;
}

/* Open Downloads Zone Button */
.downloads-btn-container {
    text-align: left;
    margin-top: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.btn-open-downloads {
    background-color: #004d40;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    transition: background-color 0.2s;
}

.btn-open-downloads:hover {
    background-color: #00332c;
}

/* Important Links */
.links-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px;
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
    text-align: left;
}

.link-card {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.link-card:hover {
    transform: translateY(-3px);
}

.link-img-wrapper {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.link-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-body {
    padding: 15px;
    font-weight: 700;
    color: #1f2937;
    font-size: 13.5px;
}

/* Location Address Section */
.location-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px;
    text-align: center;
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    text-align: left;
    max-width: 250px;
    z-index: 10;
}

.map-overlay-card h3 {
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.map-overlay-card p {
    color: #4b5563;
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.map-overlay-card a {
    color: #0d6efd;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.map-overlay-card a:hover {
    text-decoration: underline;
}

/* Premium Footer */
.premium-footer {
    background-color: #004d40;
    color: #d1e7dd;
    padding: 60px 0 20px 0;
    margin-top: 50px;
    font-size: 13.5px;
    border-top: 3px solid #005f47;
    text-align: left;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo-wrapper {
    background-color: #ffffff;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.footer-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-brand-desc {
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-brand-desc a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.footer-brand-desc a:hover {
    text-decoration: underline;
}

.footer-btn-row {
    display: flex;
    gap: 12px;
}

.footer-badge-btn {
    background-color: #005f47;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badge-btn:hover {
    background-color: #007356;
}

.footer-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-list a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact-info {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}

.social-tiles-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-tile-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-tile-btn:hover {
    transform: scale(1.1);
}

.social-tile-btn i {
    display: inline-block;
    line-height: 1;
}

.social-tile-fb { background-color: #3b5998; }
.social-tile-yt { background-color: #ff0000; }
.social-tile-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.footer-copyright-bar {
    max-width: 1100px;
    margin: 40px auto 0 auto;
    padding: 20px 15px 0 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* Admission Page Hero */
.admission-hero-container {
    width: 100%;
    position: relative;
    height: 380px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.admission-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.admission-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.admission-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 30px;
    color: #ffffff;
}

.admission-hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.admission-hero-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    max-width: 600px;
}

.btn-apply-online {
    background-color: #005f47;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-apply-online:hover {
    background-color: #004735;
    transform: translateY(-2px);
}

/* Admission Main Content Columns */
.admission-content-wrapper {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.admission-promo-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.admission-promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.academic-categories-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    align-self: start;
}

.academic-categories-title {
    color: #0d233a;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.category-list {
    display: flex;
    flex-direction: column;
}

.category-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #f3f4f6;
    transition: color 0.2s, padding-left 0.2s;
}

.category-list-item:last-child {
    border-bottom: none;
}

.category-list-item i {
    color: #004d40;
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.category-list-item:hover {
    color: #004d40;
    padding-left: 4px;
}

/* Contact Page Hero Banner */
.contact-hero-container {
    width: 100%;
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-hero-content {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    padding: 0 30px;
    color: #ffffff;
    z-index: 2;
}

.contact-hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-hero-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

/* Contact page layouts */
.contact-content-wrapper {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 35px;
}

.contact-form-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-form-card h2 {
    color: #0d233a;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #1f2937;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #005f47;
    box-shadow: 0 0 0 3px rgba(0, 95, 71, 0.1);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit-message {
    background-color: #005f47;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit-message:hover {
    background-color: #004735;
}

/* Contact Info Card */
.contact-info-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    align-self: start;
    text-align: left;
}

.info-badge {
    background-color: #d1e7dd;
    color: #0f5132;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.contact-info-card h2 {
    color: #0d233a;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.info-item {
    font-size: 13.5px;
    color: #4b5563;
    margin-bottom: 12px;
}

.info-item strong {
    color: #1f2937;
}

.info-item a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.2s;
}

.info-item a:hover {
    text-decoration: underline;
    color: #0a58ca;
}

.contact-btn-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-contact-action-teal {
    background-color: #005f47;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background-color 0.2s;
}

.btn-contact-action-teal:hover {
    background-color: #004735;
}

.btn-contact-action-blue {
    background-color: #0d233a;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background-color 0.2s;
}

.btn-contact-action-blue:hover {
    background-color: #081625;
}

/* Footer section & media queries */
footer {
    background-color: #1f2937;
    color: #9ca3af;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .badges-container {
        gap: 8px;
    }
    .welcome-section {
        flex-direction: column;
        text-align: center;
    }
    .leadership-container {
        grid-template-columns: 1fr;
    }
    .leadership-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .details-link {
        align-self: center;
    }
    .teachers-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .admission-banner-content h1, .admission-hero-content h1, .contact-hero-content h1 {
        font-size: 28px;
    }
    .courses-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .downloads-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-logo-wrapper {
        margin: 0 auto 20px auto;
    }
    .footer-btn-row {
        justify-content: center;
    }
    .social-tiles-row {
        justify-content: center;
    }
    .admission-content-wrapper, .contact-content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 520px) {
    .courses-container {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .videos-grid {
        grid-template-columns: 1fr;
    }
    .links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .teachers-container {
        grid-template-columns: 1fr;
    }
}

/* Top Utility Bar Styles */
.top-utility-bar {
    position: sticky;
    top: 0;
    z-index: 101;
    width: 100%;
    background-color: rgba(239, 239, 239, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 3px solid #00adef; /* Cyan/blue top border */
    border-bottom: 4px solid var(--secondary-color); /* Orange bottom border */
    padding: 6px 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

.utility-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    box-sizing: border-box;
    height: 44px;
}

.utility-left {
    display: flex;
    align-items: center;
}

.utility-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.utility-date {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    white-space: nowrap;
}

.btn-online-payment {
    display: inline-block;
    background: linear-gradient(to bottom, #0066cc, #0044aa);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 26px;
    border-radius: 25px; /* Perfect pill shape */
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.15);
    border: 1px solid #003388;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
}

.btn-online-payment:hover {
    background: linear-gradient(to bottom, #1b75ff, #0066cc);
    transform: scale(1.03);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.5), 0 3px 6px rgba(0, 0, 0, 0.2);
}

.utility-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.utility-link {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #444;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.utility-link:hover {
    color: #0066cc;
}

.utility-separator {
    color: #ccc;
    font-size: 14px;
    font-weight: 300;
    margin: 0 5px;
}

/* Dropdown */
.utility-dropdown {
    position: relative;
    display: inline-block;
}

.utility-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 5px 0;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.utility-dropdown-menu li a {
    color: #333;
    padding: 8px 15px;
    text-decoration: none;
    display: block;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.2s ease;
    text-align: left;
}

.utility-dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #0066cc;
}

.utility-dropdown:hover .utility-dropdown-menu {
    display: block;
}

.utility-search-link {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: #444;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    letter-spacing: 0.5px;
}

.utility-search-link:hover {
    color: #0066cc;
}

/* Responsive adjustment for top utility bar */
@media (max-width: 768px) {
    .top-utility-bar {
        position: static;
    }
    .main-nav {
        position: static;
    }
    .utility-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
        text-align: center;
    }
    .utility-left, .utility-center, .utility-right {
        justify-content: center;
        width: 100%;
    }
    .utility-right {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* News Ticker Styles */
.news-ticker-container {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    height: 40px;
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ticker-title {
    background-color: #dc3545; /* Red color for news title */
    color: #ffffff;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    gap: 8px;
    z-index: 10;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.ticker-content-wrapper {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.ticker-content {
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    gap: 20px;
    animation: marquee-animation 25s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    font-size: 13px;
    color: #1f2937;
    font-weight: 500;
}

.ticker-bullet {
    color: #dc3545;
    font-weight: bold;
    font-size: 16px;
}

@keyframes marquee-animation {
    0% {
        transform: translate3d(100%, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}/* Demo Settings Widget */
.demo-settings-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

.settings-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.settings-btn:hover {
    background-color: #004d3c;
    transform: rotate(30deg);
}

.settings-panel {
    position: fixed;
    bottom: 85px;
    right: 25px;
    width: 320px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid #ddd;
    padding: 20px;
    display: none;
    z-index: 9998;
    font-family: 'Outfit', sans-serif;
}

.settings-panel.open {
    display: block;
}

.settings-panel h3 {
    margin-top: 0;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-group {
    margin-bottom: 15px;
}

.settings-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #555;
}

.settings-select, .settings-file {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 13px;
    background-color: #fff;
    outline: none;
    box-sizing: border-box;
}

.settings-select:focus {
    border-color: var(--primary-color);
}

.settings-alert {
    background-color: #fce8e6;
    color: #c5221f;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    margin-top: 8px;
    display: none;
    border: 1px solid #fad2cf;
    line-height: 1.4;
}

/* PDF Modal Styles */
.pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
}

.pdf-modal.open {
    display: flex;
}

.pdf-modal-content {
    background-color: #ffffff;
    width: 90%;
    max-width: 900px;
    height: 85vh;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    animation: modal-fade-in 0.3s ease;
}

@keyframes modal-fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.pdf-modal-header {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
}

.pdf-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.pdf-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s;
}

.pdf-modal-close:hover {
    opacity: 0.8;
}

.pdf-modal-body {
    flex-grow: 1;
    background-color: #f3f4f6;
    padding: 10px;
    height: calc(100% - 60px);
}

/* Talented Students Gallery */
.talented-students-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 15px;
    font-family: 'Outfit', sans-serif;
}

.talented-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.talented-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.talented-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.talented-img-wrapper {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background-color: #f3f4f6;
}

.talented-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.talented-card:hover .talented-img-wrapper img {
    transform: scale(1.05);
}

.talented-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d97706 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.talented-info {
    padding: 16px;
}

.student-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

.student-class {
    display: block;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 4px;
}

.student-achievement {
    margin: 10px 0 0 0;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
}

/* Responsive Talented Students */
@media (max-width: 992px) {
    .talented-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .talented-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Section Styles */
.blog-wrapper {
    max-width: 1100px;
    margin: 45px auto;
    padding: 0 15px;
    font-family: 'Outfit', sans-serif;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.blog-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.blog-img-container {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.blog-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-img-container img {
    transform: scale(1.05);
}

.blog-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.blog-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    margin: 0 0 20px 0;
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-read-btn {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.blog-card:hover .blog-read-btn {
    gap: 10px;
}

/* Responsive Blog */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating Common Utilities Sidebar */
.common-utils-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.util-sidebar-btn {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 0 8px 8px 0;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    outline: none;
}

.util-sidebar-btn:hover {
    width: 62px;
}

.util-sidebar-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: #1f2937;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.util-sidebar-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(6px);
}

.util-btn-anthem { background-color: #dc3545; }
.util-btn-anthem:hover { background-color: #c82333; }

.util-btn-prayer { background-color: var(--secondary-color); }
.util-btn-prayer:hover { background-color: #e08b26; }

.util-btn-weather { background-color: #0284c7; }
.util-btn-weather:hover { background-color: #0270a9; }

.util-btn-links { background-color: #0d9488; }
.util-btn-links:hover { background-color: #0b7a70; }

/* Custom pulsing animation for playing state */
@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.util-btn-anthem.playing {
    animation: pulse-red 1.5s infinite;
}

/* Common Modal Styles for Side Utils */
.util-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
}

.util-modal.open {
    display: flex;
}

.util-modal-content {
    background-color: #ffffff;
    width: 90%;
    max-width: 480px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    animation: modal-scale-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-scale-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.util-modal-header {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
}

.util-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.util-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.util-modal-close:hover {
    opacity: 1;
}

.util-modal-body {
    padding: 20px;
    font-family: 'Outfit', sans-serif;
}

/* Prayer Times Table */
.prayer-table {
    width: 100%;
    border-collapse: collapse;
}

.prayer-table th, .prayer-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #f3f4f6;
}

.prayer-table th {
    background-color: #f9fafb;
    color: #4b5563;
    font-weight: 700;
}

.prayer-table tr:hover td {
    background-color: #f9fafb;
}

.prayer-table td i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Weather Card Styles */
.weather-card {
    text-align: center;
    padding: 10px 0;
}

.weather-city {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 5px;
}

.weather-date {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 15px;
}

.weather-icon-large {
    font-size: 64px;
    color: #0284c7;
    margin: 15px 0;
    animation: bounce 3s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.weather-temp {
    font-size: 48px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 5px;
}

.weather-desc {
    font-size: 16px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 20px;
}

.weather-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    border-top: 1px solid #f3f4f6;
    padding-top: 15px;
    margin-top: 10px;
}

.weather-detail-item {
    font-size: 13px;
    color: #4b5563;
}

.weather-detail-item strong {
    color: #1f2937;
}

/* Links Corner Styles */
.links-corner-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.links-corner-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.links-corner-item a:hover {
    background-color: #f0fdfa;
    border-color: #0d9488;
    color: #0d9488;
    transform: translateX(4px);
}

.links-corner-item a i {
    font-size: 16px;
    color: #0d9488;
}
