/* Custom Navbar Styles for Adhyayan Academy SSS */
.custom-navbar {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(42, 82, 152, 0.95) 100%);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 32px rgba(30, 64, 175, 0.18);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

.custom-navbar.scrolled {
    box-shadow: 0 6px 48px rgba(30, 64, 175, 0.25);
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.98) 0%, rgba(42, 82, 152, 0.98) 100%);
}

.custom-navbar-brand {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    letter-spacing: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-navbar-brand:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.custom-navbar-logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
    filter: drop-shadow(0 3px 12px rgba(255, 255, 255, 0.25));
    transition: all 0.3s ease;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
}

.custom-navbar-logo:hover {
    transform: rotate(5deg) scale(1.05);
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.35));
}

/* Image Slider Styling */
.image-slider {
    position: relative;
    background: #000;
}

.slider-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.85);
    transition: filter 0.3s ease;
}

.image-slider:hover .slider-image {
    filter: brightness(0.95);
}

.slider-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px !important;
    border-radius: 8px;
    bottom: 30px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    text-align: center;
    backdrop-filter: blur(8px);
}

.slider-caption h5 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slider-caption p {
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.carousel-indicators [data-bs-target] {
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}


.custom-navbar-title {
    font-size: 1.4rem;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(90deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.custom-navbar-brand small {
    font-size: 1.4rem !important;
    opacity: 0.9;
}

.custom-navbar-brand:hover .custom-navbar-title {
    letter-spacing: 2px;
}

.custom-nav-link {
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
    padding: 10px 5px !important;
    margin: 0 4px;
}

.custom-nav-link i {
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.custom-nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.custom-nav-link:hover i {
    transform: scale(1.15) rotate(5deg);
}

.custom-nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.custom-nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease;
}

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

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* Responsive navbar adjustments */
@media (max-width: 991px) {
    .custom-navbar {
        padding: 0;
    }

    .custom-nav-link {
        margin: 6px 0;
        text-align: center;
    }

    .navbar-nav {
        padding: 20px 0;
    }

    /* Remove global navbar padding on mobile/tablet */
    .navbar {
        padding: 0;
    }

    /* Smaller brand title & subtitle on mobile/tablet */
    .custom-navbar-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .custom-navbar-brand small {
        font-size: 1.2rem !important;
        opacity: 0.9;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .custom-navbar-title {
        font-size: 1.0rem;
        letter-spacing: 0.8px;
    }

    .custom-navbar-brand small {
        font-size: 1.0rem !important;
    }

    /* Smaller navbar toggler button and icon on phones */
    .navbar-toggler {
        padding: 4px 8px;
        border-width: 1px;
    }

    .navbar-toggler-icon {
        width: 1.25em;
        height: 1.25em;
    }
}

/* ===== ABOUT PAGE SECTION STYLES ===== */

/* About Hero Section */
.about-hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
    position: relative;
    padding: 60px 0 !important;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.about-hero-title {
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem !important;
    margin-bottom: 20px !important;
    letter-spacing: -1px;
}

.about-hero-section .badge {
    padding: 10px 20px !important;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.about-hero-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(30, 64, 175, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.about-hero-image {
    border-radius: 16px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.5s ease;
}

.about-hero-image-wrapper:hover .about-hero-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Academy Overview Section */
.academy-overview-section {
    padding: 80px 0 !important;
    position: relative;
}

.academy-overview-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.academy-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.academy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.academy-card:hover::before {
    transform: scaleX(1);
}

.academy-card:hover {
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.15);
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.25);
}

.card-icon-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.card-icon-accent.accent-secondary {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #3b82f6;
    transition: all 0.4s ease;
}

.card-icon.secondary {
    color: #8b5cf6;
}

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

.card-title {
    color: #1e40af;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.card-text {
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
}

.codes-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ff 100%);
    padding: 20px;
    border-radius: 12px;
}

.code-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

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

.code-label {
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
}

.code-value {
    color: #1e40af;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item i {
    color: #3b82f6;
    font-size: 1.2rem;
    margin-top: 4px;
    min-width: 20px;
}

.contact-item a,
.contact-item span {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item a {
    color: #3b82f6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Principal's Message Section */
.principal-message-section {
    padding: 80px 0 !important;
    position: relative;
}

.principal-message-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.principal-image-wrapper {
    position: relative;
    z-index: 2;
}

.principal-frame {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.principal-frame::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.95);
}

.principal-frame:hover::before {
    opacity: 1;
    transform: scale(1);
}

.principal-frame::after {
    content: '';
    position: absolute;
    inset: -14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.principal-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.15);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.principal-frame:hover .principal-image {
    transform: scale(1.05);
}

.principal-name {
    font-size: 1.5rem;
    color: #1e40af;
}

.principal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    animation: slideInUp 0.6s ease-out 0.3s both;
}

.principal-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(30, 64, 175, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.principal-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.message-header i {
    font-size: 2rem;
    color: #3b82f6;
    opacity: 0.7;
}

.message-header h3 {
    color: #1e40af;
    margin: 0;
    position: relative;
    z-index: 1;
}

.message-divider {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 2px;
    margin-bottom: 25px;
}

.message-content {
    position: relative;
    z-index: 1;
}

.message-text {
    color: #475569;
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 18px;
}

.message-text:last-of-type {
    margin-bottom: 25px;
}

.message-signature {
    color: #1e40af;
    font-weight: 500;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(59, 130, 246, 0.2);
}

.message-signature p {
    margin-bottom: 4px;
    line-height: 1.6;
}

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

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

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

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

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero-title {
        font-size: 2.5rem !important;
    }

    .academy-card {
        padding: 30px;
    }

    .card-icon {
        font-size: 2rem;
    }

    .principal-card {
        padding: 30px;
        margin-top: 40px;
    }

    .principal-message-section {
        padding: 60px 0 !important;
    }
}

/* ===== COURSE PAGE STYLES ===== */

/* Course Hero Section */
.course-hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.course-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.course-hero-title {
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem !important;
    margin-bottom: 20px !important;
    letter-spacing: -1px;
}

.course-hero-section .badge {
    padding: 10px 20px !important;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Curriculum Overview Section */
.curriculum-overview {
    padding: 60px 0 !important;
    position: relative;
}

.curriculum-stat {
    padding: 30px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.curriculum-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.curriculum-stat i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.curriculum-stat:hover i {
    transform: scale(1.2) rotateZ(10deg);
}

.curriculum-stat h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e40af;
    margin: 15px 0 10px;
}

.curriculum-stat p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Course Streams Section */
.course-streams-section {
    padding: 80px 0 !important;
    position: relative;
}

.course-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.course-header {
    padding: 30px 25px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.course-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.primary-header {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.middle-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.course-header i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    transition: transform 0.4s ease;
}

.course-card:hover .course-header i {
    transform: scale(1.2) rotateZ(10deg);
}

.course-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
}

.course-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.course-features li {
    color: #475569;
    font-size: 0.95rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-features i {
    color: #06b6d4;
    font-size: 0.85rem;
}

.middle-header~.course-body .course-features i {
    color: #f59e0b;
}

/* Stream Container */
.stream-container {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s ease;
}

.stream-container:hover {
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.15);
    transform: translateY(-8px);
}

.stream-header {
    padding: 35px 30px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stream-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.science-stream {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.arts-stream {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.commerce-stream {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stream-header i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    position: relative;
    z-index: 1;
}

.stream-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.stream-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.stream-body {
    padding: 35px 30px;
}

.subject-group {
    margin-bottom: 30px;
}

.subject-group:last-child {
    margin-bottom: 0;
}

.subject-category {
    color: #1e40af;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.subject-category::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 2px;
}

.subject-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.subject-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ff 100%);
    color: #1e40af;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.subject-badge:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Learning Facilities Section */
.learning-facilities {
    padding: 80px 0 !important;
    position: relative;
}

.facility-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
}

.facility-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.facility-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: all 0.4s ease;
}

.facility-card:hover .facility-icon {
    transform: scale(1.15) rotateZ(15deg);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
}

.facility-card h4 {
    color: #1e40af;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.facility-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .course-hero-title {
        font-size: 2.5rem !important;
    }

    .course-streams-section,
    .learning-facilities {
        padding: 60px 0 !important;
    }

    .stream-header,
    .course-header {
        padding: 25px 20px;
    }

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

    .curriculum-stat {
        margin-bottom: 20px;
    }
}

/* ===== ADMISSION PAGE STYLES ===== */

/* Admission Hero Section */
.admission-hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0 !important;
}

.admission-hero-section::before {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.admission-hero-title {
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem !important;
    margin-bottom: 20px !important;
    letter-spacing: -1px;
}

.admission-hero-section .badge {
    padding: 10px 20px !important;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Admission Info Section */
.admission-info {
    padding: 60px 0 !important;
    position: relative;
}

.info-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    transition: all 0.4s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.15) rotateZ(15deg);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
}

.info-card h4 {
    color: #1e40af;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-value {
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 10px 0;
}

.info-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* Admission Form Section */
.admission-form-section {
    padding: 80px 0 !important;
    position: relative;
}

.form-container {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(30, 64, 175, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.15);
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.form-header h2 {
    color: #1e40af;
    font-size: 2rem;
    margin-bottom: 15px;
}

.form-header p {
    font-size: 1rem;
    line-height: 1.6;
}

.admission-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.section-header i {
    font-size: 1.8rem;
    color: #3b82f6;
}

.section-header h4 {
    color: #1e40af;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    color: #1e40af;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control,
.form-select {
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 12px 16px !important;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control-lg {
    padding: 14px 18px !important;
    font-size: 1rem;
}

.declaration-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-check-input {
    margin-top: 5px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.form-check-label {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    cursor: pointer;
    margin: 0;
}

.btn-primary-submit {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 40px !important;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    margin-top: 20px;
}

.btn-primary-submit:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.btn-primary-submit:active {
    transform: translateY(-2px);
}

/* FAQ Section */
.admission-faq {
    padding: 80px 0 !important;
    position: relative;
}

.faq-item {
    background: #fff;
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.faq-button {
    color: #1e40af;
    font-weight: 600;
    font-size: 1rem;
    padding: 20px;
    text-decoration: none;
}

.faq-button:not(.collapsed) {
    background-color: linear-gradient(135deg, #f0f4f8 0%, #e0e7ff 100%);
    color: #1e40af;
}

.faq-button::after {
    content: none;
}

.faq-button i {
    transition: transform 0.3s ease;
}

.faq-button:not(.collapsed) i {
    transform: rotate(90deg);
}

.faq-body {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .admission-hero-title {
        font-size: 2.5rem !important;
    }

    .form-container {
        padding: 30px 20px;
    }

    .form-section {
        padding: 20px;
    }

    .admission-form-section {
        padding: 60px 0 !important;
    }

    .admission-info {
        padding: 40px 0 !important;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header i {
        font-size: 1.5rem;
    }

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

/* ===== FACILITIES PAGE STYLES ===== */

/* Facilities Hero Section */
.facilities-hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0 !important;
}

.facilities-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.facilities-hero-title {
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem !important;
    margin-bottom: 20px !important;
    letter-spacing: -1px;
}

.facilities-hero-section .badge {
    padding: 10px 20px !important;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Facilities Overview */
.facilities-overview {
    padding: 60px 0 !important;
    position: relative;
}

.facility-stat {
    padding: 30px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.facility-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.facility-stat i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.facility-stat:hover i {
    transform: scale(1.2) rotateZ(10deg);
}

.facility-stat h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e40af;
    margin: 15px 0 10px;
}

.facility-stat p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

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

.facility-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.facility-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.facility-card-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.facility-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.facility-card-image i {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.facility-card:hover .facility-card-image i {
    transform: scale(1.2) rotateZ(15deg);
}

.facility-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.facility-card h4 {
    color: #1e40af;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.facility-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

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

.facility-list li {
    color: #475569;
    font-size: 0.9rem;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.facility-list i {
    color: #06b6d4;
    font-size: 0.8rem;
}

/* Alternative Facility Card Design */
.facility-card-v2 {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
}

.facility-card-v2:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2);
}

.card-image-bg {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.card-image-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.card-image-bg i {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.facility-card-v2:hover .card-image-bg i {
    transform: scale(1.25) rotateZ(15deg);
}

.card-content-v2 {
    padding: 25px;
}

.card-content-v2 h4 {
    color: #1e40af;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-content-v2 p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Support Cards */
.support-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    text-align: center;
}

.support-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.support-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    transition: all 0.4s ease;
}

.support-card:hover .support-icon {
    transform: scale(1.15) rotateZ(15deg);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
}

.support-card h4 {
    color: #1e40af;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.support-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.support-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ff 100%);
    color: #1e40af;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Infrastructure Highlights */
.infrastructure-highlights {
    padding: 80px 0 !important;
    position: relative;
}

.highlight-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: all 0.4s ease;
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.15) rotateZ(15deg);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
}

.highlight-content {
    flex: 1;
}

.highlight-content h4 {
    color: #1e40af;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.highlight-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .facilities-hero-title {
        font-size: 2.5rem !important;
    }

    .facilities-section,
    .infrastructure-highlights,
    .facilities-overview {
        padding: 60px 0 !important;
    }

    .highlight-item {
        flex-direction: column;
        text-align: center;
    }

    .highlight-icon {
        margin: 0 auto;
    }

    .support-features {
        margin-top: 15px;
    }
}

/* ===== STAFF PAGE STYLES ===== */

/* Staff Hero Section */
.staff-hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0 !important;
}

.staff-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.staff-hero-title {
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem !important;
    margin-bottom: 20px !important;
    letter-spacing: -1px;
}

.staff-hero-section .badge {
    padding: 10px 20px !important;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Staff Overview */
.staff-overview {
    padding: 60px 0 !important;
    position: relative;
}

.staff-stat {
    padding: 30px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.staff-stat:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.staff-stat i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.staff-stat:hover i {
    transform: scale(1.2) rotateZ(10deg);
}

.staff-stat h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e40af;
    margin: 15px 0 10px;
}

.staff-stat p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* Staff Section */
.staff-section {
    padding: 80px 0 !important;
    position: relative;
}

.staff-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.12);
    border: 2px solid rgba(59, 130, 246, 0.08);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(to bottom, #fff 0%, #f8fbff 100%);
}

.staff-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 32px 64px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.4);
}

.staff-card-image {
    position: relative;
    overflow: hidden;
    height: 320px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

.staff-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.staff-card:hover .staff-overlay {
    opacity: 1;
}

.social-links-staff {
    display: flex;
    gap: 15px;
}

.social-links-staff a {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links-staff a:hover {
    background: #3b82f6;
    color: #fff;
    transform: scale(1.15);
}

.staff-card-info {
    padding: 24px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
    border-top: 2px solid rgba(59, 130, 246, 0.15);
    gap: 8px;
    transition: all 0.4s ease;
}

.staff-name {
    color: #1e40af;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.35;
    word-wrap: break-word;
}

.staff-position {
    color: #3b82f6;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.9;
}

.staff-qualification {
    color: #7c3aed;
    font-size: 0.75rem;
    margin: 0;
    font-style: normal;
    font-weight: 600;
    background: rgba(124, 58, 237, 0.08);
    padding: 6px 12px;
    border-radius: 14px;
    display: inline-block;
    width: fit-content;
    word-wrap: break-word;
}

.staff-bio {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.staff-experience {
    color: #475569;
    font-size: 0.85rem;
    margin-top: 12px;
}

.staff-experience i {
    color: #3b82f6;
    margin-right: 6px;
}

/* Staff Card Variants */
.staff-card-primary .staff-card-image {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.staff-card-secondary .staff-card-image {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.staff-card-tertiary .staff-card-image {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Department Badges */
.dept-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.physics-badge {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(37, 99, 235, 0.9) 100%);
}

.chemistry-badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9) 0%, rgba(124, 58, 237, 0.9) 100%);
}

.biology-badge {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(5, 150, 105, 0.9) 100%);
}

.english-badge {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9) 0%, rgba(217, 119, 6, 0.9) 100%);
}

.history-badge {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.9) 0%, rgba(219, 39, 119, 0.9) 100%);
}

.geography-badge {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.9) 0%, rgba(8, 145, 178, 0.9) 100%);
}

/* Support Staff Cards */
.support-staff-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
}

.support-staff-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.support-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    transition: all 0.4s ease;
}

.support-staff-card:hover .support-icon {
    transform: scale(1.15) rotateZ(15deg);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
}

.support-staff-card h4 {
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.support-staff-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.support-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ff 100%);
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Staff Highlights */
.staff-highlights {
    padding: 80px 0 !important;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
}

.highlight-box {
    display: flex;
    gap: 25px;
    padding: 35px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s ease;
}

.highlight-box:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: all 0.4s ease;
}

.highlight-box:hover .highlight-icon {
    transform: scale(1.15) rotateZ(15deg);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.3);
}

.highlight-content {
    flex: 1;
}

.highlight-content h4 {
    color: #1e40af;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.highlight-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .staff-hero-title {
        font-size: 2.5rem !important;
    }

    .staff-section,
    .staff-highlights {
        padding: 60px 0 !important;
    }

    .staff-card-image {
        height: 220px;
    }

    .highlight-box {
        flex-direction: column;
        text-align: center;
    }

    .highlight-icon {
        margin: 0 auto;
    }

    .staff-overview {
        padding: 40px 0 !important;
    }
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #f0f4f8 100%);
    min-height: 100vh;
}

header {
    background: #003366;
    color: #fff;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-links li a:hover {
    background: #0055a5;
}

.slider {
    width: 100%;
    height: 250px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.about-us,
.notice-board,
.achievement-summary,
.course-summary {
    background: #fff;
    margin: 1rem auto;
    padding: 1rem;
    border-radius: 8px;
    max-width: 900px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.notice-board marquee {
    color: #c00;
    font-weight: bold;
}

/* About & Notice Section UI improvements */
.about-us {
    border-left: 4px solid #3b82f6;
}

.about-image {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border: 2px solid #e5e7eb;
}

.about-us h3 {
    color: #1e40af;
}

.about-us p {
    color: #334155;
    line-height: 1.6;
}

.notice-board {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    /* ensure marquee fades don't overlap other sections */
}

.notice-board h3 {
    color: #1e40af;
}

.notice-marquee {
    display: block;
    height: 220px;
}

.notice-board ul li {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    color: #1f2937;
}

.notice-board ul li+li {
    margin-top: 10px;
}

.notice-board ul li i {
    margin-right: 8px;
}

.notice-board .btn {
    border-radius: 999px;
}

/* Subtle fade at top/bottom of marquee content */
.notice-board::before,
.notice-board::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 16px;
    pointer-events: none;
    z-index: 1;
}

.notice-board::before {
    top: 56px;
    /* below header */
    background: linear-gradient(to bottom, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0));
}

.notice-board::after {
    bottom: 52px;
    /* above footer actions */
    background: linear-gradient(to top, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0));
}

footer {
    background: #003366;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

@media (max-width: 800px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .slider {
        height: 150px;
    }

    /* About & Notice mobile tweaks */
    .about-image {
        max-width: 100px !important;
    }

    .notice-marquee {
        height: 180px;
    }
}

/* ================= Rules Page Styles ================= */
/* ================= Contact Page Styles ================= */
.contact-hero-section {
    background: linear-gradient(135deg, #e0f2fe, #eff6ff);
    border-bottom: 1px solid rgba(30, 58, 138, 0.15);
}

.contact-hero-title {
    letter-spacing: 0.5px;
}

.contact-section {
    position: relative;
}

.contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(30, 58, 138, 0.10);
    border: 1px solid rgba(30, 58, 138, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(30, 58, 138, 0.14);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-size: 22px;
    margin-bottom: 12px;
    border: 1px solid rgba(30, 58, 138, 0.12);
}

.contact-card h5 {
    color: #111827;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-link {
    color: #1e40af;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.form-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(30, 58, 138, 0.10);
    border: 1px solid rgba(30, 58, 138, 0.10);
}

.section-header h4 {
    color: #1e40af;
}

.form-control:focus,
.form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15);
}

.btn-primary-contact {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #2563eb;
}

.btn-primary-contact:hover {
    filter: brightness(1.03);
}

.map-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(30, 58, 138, 0.10);
    border: 1px solid rgba(30, 58, 138, 0.10);
    display: flex;
    flex-direction: column;
}

.map-container iframe {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 12px;
}

.map-actions .btn {
    border-radius: 999px;
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2rem;
    }
}

.rules-hero-section {
    background: linear-gradient(135deg, #e0f2fe, #eff6ff);
    border-bottom: 1px solid rgba(30, 58, 138, 0.15);
}

.rules-hero-title {
    letter-spacing: 0.5px;
}

.rules-overview .policy-stat {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 16px;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rules-overview .policy-stat i {
    font-size: 26px;
    color: #1e40af;
    margin-bottom: 8px;
}

.rules-overview .policy-stat h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.rules-overview .policy-stat p {
    color: #6b7280;
    margin: 0;
}

.rules-overview .policy-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(30, 58, 138, 0.12);
}

.rules-section {
    position: relative;
}

.rules-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(30, 58, 138, 0.10);
    border: 1px solid rgba(30, 58, 138, 0.10);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rules-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(30, 58, 138, 0.14);
}

.rules-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    font-size: 22px;
    margin-bottom: 14px;
    border: 1px solid rgba(30, 58, 138, 0.12);
}

.rules-card h4 {
    font-size: 1.3rem;
    color: #111827;
    margin-bottom: 14px;
}

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

.policy-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #374151;
}

.policy-list li i {
    color: #10b981;
    margin-top: 2px;
}

.step-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(30, 58, 138, 0.10);
    border: 1px solid rgba(30, 58, 138, 0.10);
    height: 100%;
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #bfdbfe, #e0e7ff);
    color: #1e40af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .rules-hero-title {
        font-size: 2rem;
    }

    .rules-card {
        padding: 20px;
    }
}

/* Gallery styles */
.gallery-row img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border-radius: 8px;
}

.gallery-row a {
    display: block;
    overflow: hidden;
}

.gallery-row img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.12);
}

.gallery-board {
    --card-padding: 1rem;
}

.gallery-board .fw-semibold {
    color: #0f172a;
}

/* Modal lightbox image */
.gallery-modal-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

@media (max-width: 576px) {
    .gallery-row img {
        height: 160px;
    }
}

/* Event/Activities styles */
.event-card {
    transition: all 0.3s ease;
}

.event-card:hover {
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.15);
    transform: translateY(-4px);
}

.event-carousel-img {
    height: 360px;
    object-fit: cover;
    border-radius: 12px;
}

.activities-board {
    --card-padding: 1rem;
}