/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Transition Effects */
.btn,
.social-icon,
.contact-item {
    transition: all 0.3s ease;
}

/* Topbar Styles */
.topbar {
    background: white;
    color: #314465;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}



.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: transparent;
    color: #a7c724;
    border: 2px solid #a7c724;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #a7c724;
    color: white;
    transform: translateY(-2px);
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: linear-gradient(135deg, rgba(167, 199, 36, 0.1) 0%, rgba(49, 68, 101, 0.05) 100%);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #a7c724;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-label {
    font-weight: 700;
    color: #314465;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #a7c724 0%, #8fb91a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-value {
    color: #314465;
    font-weight: 600;
    font-size: 15px;
    position: relative;
}

.contact-value::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    background: #a7c724;
    border-radius: 50%;
}


/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, #314465 0%, #4a5f7a 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo-image {
    height: 100px;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
}

.brand-logo:hover .brand-logo-image {
    transform: scale(1.05);
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 10px 15px !important;
    border-radius: 5px;
    /* position: relative; */
    /* overflow: hidden; */
}
/* 
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #a7c724;
    transition: all 0.3s ease;
    transform: translateX(-50%);
} */
/* 
.nav-link:hover::before {
    width: 80%;
} */

.nav-link:hover {
    color: #a7c724 !important;
    background: rgba(167, 199, 36, 0.2);
    transform: translateY(-2px);
}

/* dropdown */
.dropend .dropdown-toggle {
    color: #212529 !important;
    font-weight: normal;
    margin-left: 1em;
}

.dropdown-item:hover {
     color: #a7c724 !important;
    background: rgba(167, 199, 36, 0.2);
    transform: translateY(-2px);
}

.dropdown .dropdown-menu {
    display: none;
}

.dropdown:hover>.dropdown-menu,
.dropend:hover>.dropdown-menu {
    display: block;
    margin-top: .125em;
    margin-left: .125em;
}

@media screen and (min-width:992px) {
    .dropend:hover>.dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
    }

    .dropend .dropdown-toggle {
        margin-left: .5em;
    }
}

/* Swiper Slider Styles */
.swiper-container {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: zoomIn 5s ease-out forwards;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Reset animation for each new slide */
.swiper-slide-active img {
    animation: zoomIn 5s ease-out forwards;
}

/* Enhanced Fade Effect */
.swiper-slide {
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide-active {
    opacity: 1;
}

.swiper-slide-prev,
.swiper-slide-next {
    opacity: 0;
}

/* Swiper Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(167, 199, 36, 0.9);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(167, 199, 36, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(167, 199, 36, 0.4);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Swiper Pagination Dots */
.swiper-pagination {
    bottom: 30px;
    z-index: 10;
    pointer-events: auto;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.swiper-pagination-bullet-active {
    background: #a7c724;
    transform: scale(1.2);
}

.swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* Swiper Scrollbar */
.swiper-scrollbar {
    background: rgba(255, 255, 255, 0.2);
    height: 4px;
}

.swiper-scrollbar-drag {
    background: #a7c724;
    border-radius: 2px;
}

/* Cards Section Styles */
.cards-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cards-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cards-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cards-section .card-top {
    background: white;
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards-section .card-bottom {
    background: #314465;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards-section .card-title {
    text-align: center;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.cards-section .title-first {
    color: #314465;
    display: block;
    margin-bottom: 0.25rem;
}

.cards-section .title-second {
    color: #a7c724;
    display: block;
}

.read-more-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    color: #a7c724;
    transform: translateY(-1px);
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #314465, #4a5f7a);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 1.5rem 2rem;
}

.modal-title {
    font-weight: 600;
    font-size: 1.5rem;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
}

.modal-content-scroll {
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 10px;
}

.modal-content-scroll::-webkit-scrollbar {
    width: 8px;
}

.modal-content-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content-scroll::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.modal-content-scroll::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 2rem;
    border-radius: 0 0 15px 15px;
}

.modal-footer .btn {
    border-radius: 25px;
    padding: 0.5rem 2rem;
    font-weight: 500;
    background: #a7c724;
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.modal-footer .btn:hover {
    background: #8ba61a;
    transform: translateY(-1px);
}

/* Event Section Styles */
.event-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.event-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.section-header {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    font-weight: 400;
}

/* Event Cards */
.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a7c724, #314465);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

/* Event Image */
.event-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-img {
    transform: scale(1.1);
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 68, 101, 0.8), rgba(167, 199, 36, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

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

.event-date {
    background: white;
    color: #314465;
    padding: 0.75rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}

.event-card:hover .event-date {
    transform: translateY(0);
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
    color: #a7c724;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Event Content */
.event-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    color: #314465;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.event-card:hover .event-title {
    color: #a7c724;
}

.event-detail {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Read More Button */
.event-read-more {
    background: linear-gradient(135deg, #314465, #4a5f7a);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    align-self: flex-start;
}

.event-read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a7c724, #8ba61a);
    transition: left 0.3s ease;
    z-index: 1;
}

.event-read-more span,
.event-read-more i {
    position: relative;
    z-index: 2;
}

.event-read-more:hover::before {
    left: 0;
}

.event-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(49, 68, 101, 0.3);
}

.event-read-more i {
    transition: transform 0.3s ease;
}

.event-read-more:hover i {
    transform: translateX(5px);
}

/* Responsive Design for Event Section */
@media (max-width: 768px) {
    .event-card {
        margin-bottom: 2rem;
    }

    .event-content {
        padding: 1.5rem;
    }

    .event-title {
        font-size: 1.2rem;
    }

    .event-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 576px) {
    .event-image {
        height: 200px;
    }

    .event-content {
        padding: 1rem;
    }

    .event-title {
        font-size: 1.1rem;
    }

    .event-read-more {
        width: 100%;
        justify-content: center;
    }
}

/* Latest Updates Section Styles */
.latest-updates-section {
    background-color: #f8f9fa;
}

/* Video Section Styles */
.video-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
    z-index: 1;
}

.video-section .container {
    position: relative;
    z-index: 2;
}

.video-container {
    position: relative;
    margin-bottom: 2rem;
}

.video-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    display: none;
}

.video-item.active {
    display: block;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
}

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

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a7c724, #8ba61a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 5px 20px rgba(167, 199, 36, 0.3);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: linear-gradient(135deg, #8ba61a, #6b8a0f);
    box-shadow: 0 8px 25px rgba(167, 199, 36, 0.4);
}

.play-button i {
    margin-left: 5px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.video-item:hover .video-overlay {
    background: rgba(0, 0, 0, 0.1);
}

/* Video Controls */
.video-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.video-nav-btn {
    background: linear-gradient(135deg, #a7c724, #8ba61a);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(167, 199, 36, 0.3);
    pointer-events: auto;
}

.video-nav-btn:hover {
    background: linear-gradient(135deg, #8ba61a, #6b8a0f);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(167, 199, 36, 0.4);
    color: white;
}

.video-nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive Design for Video Section */
@media (max-width: 768px) {
    .video-thumbnail {
        height: 400px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .video-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .video-thumbnail {
        height: 350px;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .video-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .video-controls {
        padding: 0 15px;
    }
}

.section-title {
    color: #314465;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

/* Accordion Styles */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
    outline: none;
}

.accordion-button {
    background: white;
    border: none;
    padding: 1.5rem 2rem;
    font-weight: 500;
    color: #314465;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
    box-shadow: none;
}

.accordion-button:hover {
    background: #f8f9fa;
    color: #314465;
}

.accordion-button:not(.collapsed) {
    background: white;
    color: #314465;
}

.accordion-button:not(.collapsed) .update-icon {
    transform: rotate(45deg);
    background: #a7c724;
}

/* Remove Bootstrap's default accordion button arrow */
.accordion-button::after {
    display: none !important;
}

.accordion-button:not(.collapsed)::after {
    display: none !important;
}

.update-title {
    font-size: 1.1rem;
    font-weight: 500;
    flex-grow: 1;
    margin-right: 1rem;
}

.update-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    background: #a7c724;
    color: white;
    width: 40px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accordion-button:not(.collapsed) .update-icon {
    color: white;
    background: #a7c724;
    transform: rotate(45deg);
}

.accordion-body {
    padding: 0;
    background: white;
}

/* PDF Viewer Styles */
.pdf-viewer-container {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* PDF Content */
.pdf-content {
    display: flex;
    min-height: 600px;
}

.pdf-main {
    flex-grow: 1;
    background: white;
    position: relative;
}

.pdf-main iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
    outline: none;
}

.pdf-page {
    max-width: 800px;
    margin: 0 auto;
}

/* Routine Header */
.routine-header {
    text-align: center;
    margin-bottom: 2rem;
}

.routine-header h3 {
    color: #314465;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.routine-header h4 {
    color: #a7c724;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.routine-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.routine-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Routine Table */
.routine-table {
    overflow-x: auto;
}

.routine-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.routine-table th {
    background: #314465;
    color: white;
    padding: 1rem 0.5rem;
    text-align: center;
    font-weight: 600;
    border: 1px solid #dee2e6;
}

.routine-table td {
    padding: 0.75rem 0.5rem;
    text-align: center;
    border: 1px solid #dee2e6;
    vertical-align: middle;
    font-size: 0.9rem;
}

.routine-table tr:nth-child(even) {
    background: #f8f9fa;
}

.routine-table .break {
    background: #a7c724 !important;
    color: white;
    font-weight: 600;
}

/* Exam Routine */
.exam-routine {
    text-align: center;
}

.exam-routine h3 {
    color: #314465;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.exam-routine h4 {
    color: #a7c724;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.exam-info {
    margin-bottom: 2rem;
}

.exam-info p {
    margin: 0.5rem 0;
    color: #666;
}

.exam-schedule table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.exam-schedule th {
    background: #314465;
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

.exam-schedule td {
    padding: 1rem;
    text-align: center;
    border: 1px solid #dee2e6;
}

.exam-schedule tr:nth-child(even) {
    background: #f8f9fa;
}

/* PDF Actions */
.pdf-actions {
    padding: 1.5rem;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.download-btn {
    background: #a7c724;
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #8ba61a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(167, 199, 36, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .topbar-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

        .contact-info {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        padding: 0.5rem 0.75rem;
    }
    
    .hotline-label-main {
        font-size: 0.9rem;
        justify-content: center;
    }
    
    .hotline-numbers {
        gap: 0.25rem;
    }
    
    .hotline-item {
        font-size: 0.85rem;
        padding: 0.2rem 0.4rem;
        justify-content: center;
    }
    
    .campus-label {
        min-width: 60px;
    }
    
    .hotline-item:hover {
        transform: translateX(0);
        transform: translateY(-1px);
    }

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

    .swiper-container {
        height: 60vh;
        min-height: 400px;
    }

    .slide-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

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

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

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1rem;
    }

    .swiper-pagination {
        bottom: 20px;
    }

    .cards-section .card-top {
        padding: 1.5rem;
    }

    .cards-section .card-bottom {
        padding: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
        max-height: 70vh;
    }

    .modal-content-scroll {
        max-height: 60vh;
    }

    .modal-header {
        padding: 1rem 1.5rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .accordion-button {
        padding: 1rem 1.5rem;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .update-title {
        font-size: 1rem;
        margin-right: 0;
    }



    .pdf-content {
        flex-direction: column;
        min-height: 400px;
    }

    .pdf-main {
        height: 400px;
    }

    .routine-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .routine-table {
        font-size: 0.8rem;
    }

    .routine-table th,
    .routine-table td {
        padding: 0.5rem 0.25rem;
    }
}

@media (max-width: 576px) {
    .swiper-container {
        height: 50vh;
        min-height: 350px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

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

    .slide-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Remove focus indicators and red marks */
.accordion-button:focus,
.accordion-button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.accordion-button:active {
    outline: none !important;
    box-shadow: none !important;
}

.pdf-viewer-container:focus,
.pdf-viewer-container:focus-visible {
    outline: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.pdf-main iframe:focus,
.pdf-main iframe:focus-visible {
    outline: none !important;
    border: none !important;
}

/* Remove any Bootstrap focus styles */
.btn:focus,
.btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Footer Styles */
.footer {
    background: #314465;
    color: white;
    padding: 3rem 0 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-about {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-details p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}



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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #a7c724;
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.footer-contact .contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
    align-items: flex-start;
}

.footer-contact .contact-label {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-align: left;
}

.footer-contact .contact-value {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid #4a5f7a;
    padding: 1.5rem 0;
    background: #314465;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-left,
.footer-bottom-center,
.footer-bottom-right {
    flex: 1;
}

.footer-bottom-left span,
.footer-bottom-center span {
    color: white;
    font-size: 0.9rem;
}

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

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

.footer-social-icons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-social-icon {
    width: 35px;
    height: 35px;
    background: transparent;
    color: #a7c724;
    border: 2px solid #a7c724;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background: #ffffff;
    color: #a7c724;
    transform: translateY(-2px);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-logo-img {
        max-width: 120px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-left,
    .footer-bottom-center,
    .footer-bottom-right {
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer {
        padding: 2rem 0 0 0;
    }
}



/* Basic Info Section Styles */
.basic-info-section {
    background: white;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.info-panel {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
}

/* Logo Circle (EIIN) */
.logo-circle {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-outer-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #314465;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #314465;
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.logo-inner-circle {
    position: absolute;
    width: 45px;
    height: 45px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-building {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.logo-text {
    font-size: 0.5rem;
    text-align: center;
    line-height: 1.1;
}

/* Geometric Logo (International School Awards) */
.logo-geometric {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geometric-shape {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Shield Logo (Cambridge) */
.logo-shield {
    position: relative;
    width: 60px;
    height: 70px;
    background: #dc3545;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-quarter {
    position: absolute;
    width: 50%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffc107;
    font-size: 0.8rem;
}

.shield-quarter.top-left {
    top: 0;
    left: 0;
    background: #dc3545;
}

.shield-quarter.top-right {
    top: 0;
    right: 0;
    background: #dc3545;
}

.shield-quarter.bottom-left {
    bottom: 0;
    left: 0;
    background: #dc3545;
}

.shield-quarter.bottom-right {
    bottom: 0;
    right: 0;
    background: #dc3545;
}

.shield-center {
    position: absolute;
    width: 20%;
    height: 100%;
    background: #f8f9fa;
    left: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-crosses {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: #dc3545;
    font-size: 0.6rem;
}

/* Info Text */
.info-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    color: #314465;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: #314465;
    font-weight: 600;
    font-size: 0.9rem;
}

.info-code {
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-panel {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .info-item {
        min-width: auto;
        width: 100%;
        justify-content: center;
    }

    .logo-circle,
    .logo-geometric,
    .logo-shield {
        width: 50px;
        height: 50px;
    }

    .logo-shield {
        height: 60px;
    }

    .logo-outer-ring {
        font-size: 0.5rem;
    }

    .logo-inner-circle {
        width: 35px;
        height: 35px;
    }

    .logo-building {
        font-size: 1rem;
    }

    .logo-text {
        font-size: 0.4rem;
    }

    .geometric-shape {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .shield-quarter {
        font-size: 0.6rem;
    }

    .shield-crosses {
        font-size: 0.5rem;
    }

    .info-label {
        font-size: 0.8rem;
    }

    .info-value {
        font-size: 0.8rem;
    }

    .info-code {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .info-panel {
        padding: 1rem;
    }

    .logo-circle,
    .logo-geometric,
    .logo-shield {
        width: 45px;
        height: 45px;
    }

    .logo-shield {
        height: 55px;
    }

    .logo-inner-circle {
        width: 30px;
        height: 30px;
    }

    .geometric-shape {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}