/********** Template CSS **********/
:root {
    --primary: #da5007;
    --light: #FFF5F3;
    --dark: #103741;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

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


/*** Facility ***/
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}


/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Glass Morphism Facility Cards */
.facility-card {
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    min-height: 380px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 109, 46, 0.637) 0%, rgba(248, 64, 2, 0.961) 100%);
    z-index: -1;
    border-radius: inherit;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(255, 254, 254, 0.05);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.facility-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    opacity: 0.6;
    transition: all 1s ease;
}

.facility-card:hover .facility-image-bg {
    opacity: 0.8;
    transform: scale(1.05);
}

.facility-icon-container {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.facility-card:hover .facility-icon-container {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.facility-badge {
    background: rgb(239, 69, 6);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hover-scale {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50px;
    padding: 8px 20px;
}

.btn-hover-scale:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 5px 15px rgba(253, 93, 13, 0.3);
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.card-body {
    position: relative;
    z-index: 1;
    color: white;
    padding: 2rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-text {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .facility-card {
        min-height: 320px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .facility-icon-container {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

.achievement-timeline {
        position: relative;
        max-width: 900px;
        margin: 0 auto;
        padding-left: 100px;
    }
    
    .achievement-timeline::before {
        content: '';
        position: absolute;
        left: 70px;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(to bottom, #fe5d37, #182848);
        border-radius: 10px;
    }
    
    .timeline-item {
        position: relative;
        margin-bottom: 40px;
    }
    
    .timeline-year {
        position: absolute;
        left: -100px;
        top: 0;
        width: 80px;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border: 4px solid #fe5d37;
        border-radius: 50%;
        font-weight: 700;
        color: #182848;
        font-size: 1.2rem;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }
    
    .timeline-content {
        background: #fff;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        position: relative;
        transition: transform 0.3s;
    }
    
    .timeline-content:hover {
        transform: translateY(-5px);
    }
    
    .timeline-content::before {
        content: '';
        position: absolute;
        left: -20px;
        top: 40px;
        width: 0;
        height: 0;
        border-top: 15px solid transparent;
        border-right: 20px solid #fff;
        border-bottom: 15px solid transparent;
    }
    
    .timeline-icon {
        position: absolute;
        right: 30px;
        top: -25px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .achievement-badge {
        display: inline-block;
        padding: 5px 15px;
        background: #f8f9fa;
        border-radius: 30px;
        font-size: 0.8rem;
        font-weight: 600;
        margin-top: 15px;
        color: #fe5d37;
        border: 1px solid #dee2e6;
    }
    
    @media (max-width: 767px) {
        .achievement-timeline {
            padding-left: 50px;
        }
        
        .achievement-timeline::before {
            left: 25px;
        }
        
        .timeline-year {
            left: -50px;
            width: 50px;
            height: 50px;
            font-size: 1rem;
        }
        
        .timeline-content::before {
            left: -15px;
            top: 30px;
            border-top: 10px solid transparent;
            border-right: 15px solid #fff;
            border-bottom: 10px solid transparent;
        }
    }



    /* Notice & News Section Styles */
.card.notice-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

.card.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-header.notice-header {
    border-bottom: none;
    padding: 1rem 1.25rem;
}

.list-group-item {
    border-left: 0;
    border-right: 0;
    padding: 1.25rem 1.5rem;
    transition: background-color 0.2s ease;
}

.list-group-item:first-child {
    border-top: 0;
}

.list-group-item:last-child {
    border-bottom: 0;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.list-group-item h6 {
    font-weight: 600;
    color: #343a40;
}

.list-group-item small {
    font-size: 0.75rem;
}

.news-item {
    transition: transform 0.3s ease;
}

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

.news-item h6 {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.5rem;
}

.news-item p {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Photo Gallery Section Styles */
.gallery-container {
    margin-top: 20px;
}

.gallery-item {
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.gallery-wrap {
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-wrap img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
}

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

.gallery-overlay h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.btn-group-toggle .btn {
    margin: 0 5px;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-group-toggle .btn.active {
    background-color: #fd4d0d;
    color: white;
}

.btn-group-toggle .btn:not(.active) {
    background-color: transparent;
}

/* Animation for gallery items */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced Gallery Styles */
.gallery-hidden {
    display: none;
}

.gallery-btn {
    position: relative;
    z-index: 1;
}

/* Lightbox customization */
.lightbox .lb-image {
    border: 5px solid #fff;
    border-radius: 3px;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
}

.lb-nav a.lb-next, 
.lb-nav a.lb-prev {
    opacity: 1;
}

.lb-data .lb-caption {
    font-size: 16px;
    line-height: 1.5;
}

.lb-data .lb-number {
    font-size: 14px;
    color: #666;
}

/* Gallery hover effects */
.gallery-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-overlay {
    background: rgba(0,0,0,0.7);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .gallery-container .col-md-6 {
        margin-bottom: 20px;
    }
    
    .gallery-overlay h5 {
        font-size: 1rem;
    }
}









/* Responsive adjustments */
@media (max-width: 767.98px) {
    .gallery-wrap img {
        height: 200px;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-item img {
        margin-bottom: 15px;
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 575.98px) {
    .btn-group-toggle .btn {
        margin: 0 2px 5px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .list-group-item {
        padding: 1rem;
    }
}

/* Enhanced Gallery Styles */
.gallery-hidden {
    display: none;
}

.gallery-btn {
    position: relative;
    z-index: 1;
}

/* Lightbox customization */
.lightbox .lb-image {
    border: 5px solid #fff;
    border-radius: 3px;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
}

.lb-nav a.lb-next, 
.lb-nav a.lb-prev {
    opacity: 1;
}

.lb-data .lb-caption {
    font-size: 16px;
    line-height: 1.5;
}

.lb-data .lb-number {
    font-size: 14px;
    color: #666;
}

/* Gallery hover effects */
.gallery-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-overlay {
    background: rgba(0,0,0,0.7);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .gallery-container .col-md-6 {
        margin-bottom: 20px;
    }
    
    .gallery-overlay h5 {
        font-size: 1rem;
    }
}

/* Enhanced Lightbox Styles */
.lightbox .lb-image {
    border: 4px solid #fff;
    border-radius: 3px;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
}

.lb-nav a.lb-next, 
.lb-nav a.lb-prev {
    opacity: 0.9;
    transition: opacity 0.3s;
    outline: none;
}

.lb-nav a.lb-next:hover, 
.lb-nav a.lb-prev:hover {
    opacity: 1;
}

.lb-nav a.lb-next {
    right: -50px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"/></svg>') center no-repeat;
}

.lb-nav a.lb-prev {
    left: -50px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"/></svg>') center no-repeat;
}

.lb-close {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>') center no-repeat;
    opacity: 0.9;
    transition: opacity 0.3s;
    outline: none;
}

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

.lb-data .lb-caption {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.lb-data .lb-number {
    font-size: 14px;
    color: #ddd;
    padding: 10px 0;
}

/* Gallery item styles */
.gallery-wrap {
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.gallery-overlay {
    background: rgba(0,0,0,0.7);
    transition: opacity 0.3s;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .lb-nav a.lb-next {
        right: 0;
    }
    
    .lb-nav a.lb-prev {
        left: 0;
    }
    
    .gallery-item {
        margin-bottom: 20px;
    }
}

/* Syllabus Accordion Styles */
.syllabus-accordion {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.syllabus-accordion .accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 8px !important;
    overflow: hidden;
}

.syllabus-accordion .accordion-button {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    padding: 1.2rem 1.5rem;
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

.syllabus-accordion .accordion-button:not(.collapsed) {
    background-color: var(--bs-primary);
    color: white;
    box-shadow: none;
}

.syllabus-accordion .accordion-button:not(.collapsed) i {
    color: white;
}

.syllabus-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.syllabus-accordion .accordion-body {
    padding: 2rem;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
}

.syllabus-accordion .subject-group {
    margin-bottom: 1.5rem;
}

.syllabus-accordion .subject-group h5 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.syllabus-accordion ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.syllabus-accordion ul li {
    padding: 0.4rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.syllabus-accordion ul li:before {
    content: "•";
    color: var(--bs-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .syllabus-accordion .accordion-body {
        padding: 1.5rem;
    }
    
    .syllabus-accordion .subject-group {
        margin-bottom: 1.2rem;
    }
}

/* Gallery Styles */
    .gallery-filter .nav-link {
        color: #333;
        font-weight: 500;
        padding: 8px 20px;
        margin: 0 5px;
        border-radius: 30px;
        transition: all 0.3s;
    }
    
    .gallery-filter .nav-link.active {
        background: var(--primary);
        color: white;
    }
    
    .gallery-filter .nav-link:hover:not(.active) {
        background: #f8f9fa;
    }
    
    .gallery-card {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        height: 100%;
    }
    
    .gallery-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
    
    .gallery-img {
        position: relative;
        overflow: hidden;
        height: 250px;
    }
    
    .gallery-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }
    
    .gallery-card:hover .gallery-img img {
        transform: scale(1.05);
    }
    
    .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        transition: opacity 0.3s;
        display: flex;
        align-items: flex-end;
    }
    
    .gallery-card:hover .gallery-overlay {
        opacity: 1;
    }
    
    .gallery-info {
        padding: 20px;
        color: white;
        width: 100%;
        transform: translateY(20px);
        transition: transform 0.3s;
    }
    
    .gallery-card:hover .gallery-info {
        transform: translateY(0);
    }
    
    .gallery-info h5 {
        font-weight: 600;
        margin-bottom: 5px;
    }
    
    .gallery-info p {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .badge {
        font-size: 12px;
        font-weight: 500;
        padding: 5px 10px;
    }