html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}



.transition-hover {
    transition: transform 0.3s ease, shadow 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}


.teacher-card {
    transition: all 0.3s ease-in-out;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .15) !important;
}

.teacher-card img {
    transition: transform 0.3s ease-in-out;
}

.teacher-card:hover img {
    transform: scale(1.05);
}


/* About */


/* Gallery------------------ */

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 110, 253, 0.4);
    /* Blue overlay */
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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




/* Latest Notices / News---------------------- */
.notice-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
    /* default state */
}

.notice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

.notice-card:nth-child(1):hover {
    border-top-color: #dc3545;
}

.notice-card:nth-child(2):hover {
    border-top-color: #198754;
}

.notice-card:nth-child(3):hover {
    border-top-color: #0d6efd;
}



/* Authorization -----------------------------*/

.authorization-container {
    position: relative;
    width: 100%;
    padding: 0 50px;
}

.authorizationSwiper {
    overflow: hidden;
    padding: 15px 5px 40px;
}

.auth-logo-card {
    background: #fff;
    height: 160px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    transition: all .3s ease;
}

.auth-logo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
}

.auth-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/*=====================
      ARROWS
======================*/
.custom-prev-btn,
.custom-next-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    transition: .3s;
}

.custom-prev-btn:hover,
.custom-next-btn:hover {
    background: #0d6efd;
}

.custom-prev-btn:hover i,
.custom-next-btn:hover i {
    color: #fff;
}

.custom-prev-btn {
    left: 0;
}

.custom-next-btn {
    right: 0;
}

.custom-prev-btn i,
.custom-next-btn i {
    font-size: 22px;
    color: #0d6efd;
}

/*====================
    PAGINATION
=====================*/
.swiper-pagination {
    position: absolute !important;
    bottom: 0px !important;
    left: 50% !important;
    transform: translateX(-50%);
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc !important;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 10px;
    background: #0d6efd !important;
}

/*======================
  RESPONSIVE BREAKPOINTS
========================*/

@media(max-width: 1200px) {
    .auth-logo-card {
        height: 140px;
    }
}

@media(max-width: 992px) {
    .authorization-container {
        padding: 0 40px;
    }

    .auth-logo-card {
        height: 130px;
        padding: 15px;
    }

    .custom-prev-btn,
    .custom-next-btn {
        width: 38px;
        height: 38px;
    }

    .custom-prev-btn i,
    .custom-next-btn i {
        font-size: 18px;
    }
}

@media(max-width: 576px) {
    .authorization-container {
        padding: 0;
    }

    .auth-logo-card {
        height: 100px;
        padding: 10px;
        border-radius: 10px;
    }

    .custom-prev-btn,
    .custom-next-btn {
        display: none;
    }
}



/* About Page--------------- */

.about-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}

.principal-img {
    border: 10px solid #f8f9fa;
}


/* Clasess-------------- */

.classes-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}

.transition-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}



/* Teachers---------- */
.teachers-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}

.teacher-card {
    transition: all 0.3s ease-in-out;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .15) !important;
}

.teacher-card img {
    transition: transform 0.3s ease-in-out;
}

.teacher-card:hover img {
    transform: scale(1.05);
}



/* Gallery Page--------- */

.gallery-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1606761568499-6d2451b23c66?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 110, 253, 0.4);
    /* Blue overlay */
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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



/* Contact Page */

.contact-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}

.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1) !important;
}


/* Application Form--------------- */

.form-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}



/* class- details--------- */

.details-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}





.custom-fee-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.custom-fee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.class-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-card-action {
    transition: all 0.2s ease;
}

.custom-fee-card:hover .btn-card-action {
    transform: scale(1.02);
}

.x-small {
    font-size: 0.75rem;
}

.tracking-wider {
    letter-spacing: 0.08em;
}

/* Login--------- */

.login-section {
    height: 100vh;
}

.login-image {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

.card {
    border: none;
    border-radius: 1.2rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
}


/* Register------------- */

.register-section {
    height: 100vh;
}

.register-image {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

.card {
    border: none;
    border-radius: 1.2rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
}


/* Notice And News----------------- */

.notice-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}




/* Open dropdown on hover */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        /* Prevents a gap that might close the menu when moving the mouse */
    }
}



/* Van route Page */

.vanservice-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}

.timeline-wrapper {
    position: relative;
    padding-left: 40px;
}

.timeline-item.end-point::before {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: #e9ecef;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 4px solid #0d6efd;
    z-index: 1;
}

.timeline-item.start::before {
    border-color: #198754;
}

.timeline-item.end::before {
    border-color: #dc3545;
}

.price-tag {
    font-size: 0.9rem;
    font-weight: bold;
    color: #0d6efd;
    background: #e7f1ff;
    padding: 4px 12px;
    border-radius: 50px;
}


/* Wrapper core setup */
.testimonial-wrapper {
    position: relative;
    width: 100%;
    padding: 0 40px;
}

.testimonialSwiper {
    padding-bottom: 50px;
}

.video-card {
    background: #ce93c88b;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.187);
    transition: 0.4s;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-8px);
}

/* 16:9 Aspect Ratio Box for Videos */
.video-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    overflow: hidden;
}

.video-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

/* Play Button Overlay styling */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn-circle {
    width: 55px;
    height: 55px;
    background: #0d6efd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.5);
    transition: 0.3s ease;
}

.play-btn-circle i {
    color: #fff;
    font-size: 28px;
    margin-left: 3px;
}

.video-play-overlay:hover .play-btn-circle {
    transform: scale(1.1);
    background: #0056b3;
}

/* Hide play button when video is active */
.video-box.video-playing .video-play-overlay {
    opacity: 0;
    pointer-events: none;
}

/* BUTTONS / ARROWS Positions */
.custom-next,
.custom-prev {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
}

.custom-prev {
    left: -10px !important;
}

.custom-next {
    right: -10px !important;
}

.custom-prev i,
.custom-next i {
    font-size: 40px;
    color: #0d6efd;
}

.swiper-pagination-bullet-active {
    background: #0d6efd !important;
    width: 18px !important;
    border-radius: 10px !important;
}

/* Responsive Breakpoints */
@media(max-width:768px) {
    .testimonial-wrapper {
        padding: 0;
    }

    .custom-prev,
    .custom-next {
        display: none;
    }
}



/* Hostel Service--------------------- */

.hostel-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://www.studenthousing.co.in/hero-banner/hostel-near-college-hero-banner.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}

.feature-box {
    border: none;
    border-bottom: 4px solid #0d6efd;
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
    background-color: #f8f9fa;
}

.routine-time {
    width: 100px;
    font-weight: bold;
    color: #0d6efd;
}


/* HOSTEL MENU */
.menu-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

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

.day-header {
    background-color: #0d6efd;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

.meal-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6c757d;
    font-weight: bold;
    margin-bottom: 2px;
}

.meal-desc {
    font-size: 0.95rem;
    color: #212529;
    margin-bottom: 15px;
}

.special-sunday {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
}



/* Hostel Application-------- */
.form-section-title {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-left: 4px solid #0d6efd;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 20px;
    color: #212529;
}

.form-card {
    border-radius: 20px;
    border: none;
}




.custom-fee-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.custom-fee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.room-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-card-action {
    transition: all 0.2s ease;
}

.custom-fee-card:hover .btn-card-action {
    transform: scale(1.02);
}

.x-small {
    font-size: 0.75rem;
}

.tracking-wider {
    letter-spacing: 0.08em;
}



/* Slider Wrapper */


.authorization-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 45px;
}


.authorizationSwiper {
    width: 100%;
    overflow: hidden;
    padding: 15px 0 40px 0;
}

.auth-logo-card {
    width: 200px;
    height: 200px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.auth-logo-card:hover {
    transform: translateY(-5px);
}

.auth-logo-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.authorization-wrapper .swiper-pagination {
    bottom: 0px !important;
}