



.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-item img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.4s ease;
}

@media (max-width:768px) {
    .gallery-item img {
    width: 360px;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.4s ease;
    object-fit: cover;
    object-position: top;
}
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 30px;
}


/* calsses page */

.class-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .4s;
    height: 100%;
    position: relative;
}

.class-card:hover {
    transform: translateY(-10px);
}

.class-number {
    width: 70px;
    height: 70px;
    line-height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ffb347);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.class-card h3 {
    margin-bottom: 10px;
}

.class-card span {
    display: block;
    color: #ff6b6b;
    font-weight: 600;
    margin-bottom: 15px;
}

.class-card p {
    margin-bottom: 25px;
}



.gallery-ssss {
    background: #e6e9f7;
}











.grade-card {
    background: #fff;
    border-radius: 30px;
    padding: 40px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: all .4s ease;
    border-top: 8px solid #5b136d;
    min-height: 260px;
}

.grade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, #0d6efd, #00bfff);
    transition: .4s;
    z-index: 0;
}

.grade-card:hover::before {
    height: 100%;
}

.grade-card * {
    position: relative;
    z-index: 2;
}

.grade-badge {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #ff004f;
    color: #fff;
    margin: 0 auto 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 0, 79, .3);
}

.grade-badge span {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.grade-badge h3 {
    color: #fff;
    margin: 5px 0 0;
    font-size: 36px;
    font-weight: 700;
}

.grade-card h4 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
    transition: .4s;
}

.grade-card p {
    font-size: 18px;
    font-weight: 600;
    color: #555;
    transition: .4s;
}

.grade-card:hover h4,
.grade-card:hover p {
    color: #fff;
}

.grade-card:hover {
    transform: translateY(-10px);
}

.active {
    background: #5b136d;
}

.active h4,
.active p {
    color: #fff;
}

.active:hover {
    background: transparent;
}



.hero-img {
    text-align: center;
}

.hero-img img {
    width: 80%;
    max-width: 600px;
    height: auto;
    margin-left: 120px;
}

@media (max-width:768px) {
    .hero-img img {
        margin-left: 0px;
    }
}



.theme-btn-outline {
    background: #6754E9 !important;
}




/* Tablet & Mobile */
@media (max-width: 1199px) {

    .header-main {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    /* Hide Desktop Menu */
    .mean__menu-wrapper {
        display: none;
    }

    .header-logo img {
        max-width: 160px;
        height: auto;
    }

    .header-right {
        gap: 10px;
    }

    /* .theme-btn {
        padding: 12px 18px;
        font-size: 14px;
    } */

    .header__hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .sidebar__toggle {
        width: 48px;
        height: 48px;
        border-radius: 10px;
        background: #f5f5f5;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 20px;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .header-main {
        padding: 12px 0;
    }

    .header-logo img {
        max-width: 130px;
    }

    .theme-btn {
        padding: 10px 14px;
        font-size: 12px;
    }

    .theme-btn i {
        display: none;
    }

    .sidebar__toggle {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* Extra Small Mobile */
@media (max-width: 575px) {

    .header-right {
        gap: 8px;
    }

    .theme-btn {
        padding: 0px 22px;
        font-size: 14px;
        white-space: nowrap;
    }

    .header-logo img {
        max-width: 110px;
    }
}









/* mission vission */
.mission-vision-section {
    background: #f8fafc;
}

.mv-box {
    background: #fff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: 0.3s ease;
    border-top: 4px solid transparent;
}

.mv-box:hover {
    transform: translateY(-8px);
}

.mission-box {
    border-top-color: #10b981;
}

.vision-box {
    border-top-color: #3b82f6;
}

.mv-icon img {
    width: 55px;
    margin-bottom: 15px;
}

.mv-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111827;
}

.mv-box p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
}

.mv-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mv-list li {
    margin-bottom: 10px;
    color: #374151;
    font-weight: 500;
}







/* Swiper Navigation Buttons - Premium Style */
.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e11d48;
    color: #fff;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.3);
    transition: all 0.3s ease;
}

/* Icon size fix */
.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 16px;
    font-weight: bold;
}

/* Hover effect */
.swiper-button-prev:hover,
.swiper-button-next:hover {
    transform: scale(1.1);
    background: #be123c;
    box-shadow: 0 15px 30px rgba(225, 29, 72, 0.4);
}

/* Position bottom center (niche) */
.swiper-button-prev,
.swiper-button-next {
    top: auto !important;
    bottom: -10px;
}

/* spacing between buttons */
.swiper-button-prev {
    left: 45%;
}

.swiper-button-next {
    right: 45%;
}

.g-card:hover {
    transform: translateY(-0px) !important;
}


.header-logo img {
    width: 80px;
    height: auto;
}

@media (max-width: 768px) {
    .header-logo img {
        width: 70px;
    }
}




.footer-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-logo {
        width: 200px;
    }
}


.nnnnn-phone img {
    height: 40px;
}



.testimonial-item .client-image img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
}

.testimonial-box-items-inner .item-border img {
    width: 100%;
    height: auto;
    object-fit: contain;
}



.team-box .team-image {
    height: 320px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.team-box .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.principal-director-img {
    width: 100%;
    max-width: 420px;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Tablet */
@media (max-width: 991px) {
    .principal-director-img {
        max-width: 380px;
        height: 450px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .principal-director-img {
        max-width: 100%;
        height: 350px;
    }
}











.header-top-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-address {
    color: #fff;
    font-size: 16px;
}

@media (max-width: 991px) {
    .header-top-wrapper {
        justify-content: center;
        text-align: center;
    }
}















.premium-features {
    background: linear-gradient(135deg, #4B0F6B, #2a0845);
    position: relative;
    overflow: hidden;
}

/* subtle glow background effect */
.premium-features::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    filter: blur(60px);
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px 10px;
    transition: 0.3s ease;
    color: #fff;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.icon-box {
    width: 75px;
    height: 75px;
    background: #fff;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.icon-box img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.feature-card p {
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
}

.ratio-text {
    font-weight: bold;
    color: #4B0F6B;
}







.faq-section {
    background: #f5f7ff;
}

/* container */
.faq-container {
    max-width: 1200px;
}

/* heading */
.faq-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.faq-subtitle {
    color: #6c757d;
    font-size: 14px;
}

/* image */
.faq-img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.faq-img:hover {
    transform: scale(1.02);
}

/* accordion layout */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* item */
.faq-item {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* button */
.faq-btn {
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    background: #fff;
    border: none;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s ease;
}

/* active/open state */
.faq-btn:not(.collapsed) {
    background: #4B0F6B;
    color: #fff;
}

/* body */
.faq-body {
    padding: 12px 16px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

/* smooth animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}











/* NAVBAR BACKGROUND */
.custom-navbar {
    background: #FFFFFF;
    padding: 8px 70px;
    transition: 0.3s ease;
    margin-top: -5px;
}

@media (max-width:768px) {
    .custom-navbar {
        padding: 2px 0px;
    }
}

/* LOGO */
.navbar-brand img {
    transition: 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* NAV LINKS */
.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 8px;
    transition: 0.3s ease;
    position: relative;
}

/* HOVER */
.navbar-nav .nav-link:hover {
    background: rgba(75, 15, 107, 0.08);
    color: #4B0F6B;
}

/* ACTIVE */
.navbar-nav .nav-link.active {
    color: #4B0F6B !important;
    font-weight: 600;
}

/* DROPDOWN */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 8px;
}

.dropdown-item {
    border-radius: 6px;
    padding: 8px 12px;
    transition: 0.3s;
}

.dropdown-item:hover {
    background: #4B0F6B;
    color: #fff;
}

/* ADMISSION BUTTON */
.admission-btn {
    background: #4B0F6B;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.3s ease;
}

.admission-btn:hover {
    background: #3a0c52;
    color: #fff;
    transform: translateY(-2px);
}

/* TOGGLER */
.navbar-toggler {
    border: none;
    box-shadow: none;
}

/* MOBILE */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 10px;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }
}



/* Desktop only hover dropdown */
@media (min-width: 992px) {

  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s ease;
  }

}








.newsletter-image img{
    width: 100%;
    height: auto;
    display: block;
}





