
/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-primary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-light:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
}

/*** Section Title Start ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title::before {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}

.section-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-left: -50px;
    border: 1px solid var(--bs-primary) !important;
}


/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 991px) {
    .topbar {
        display: none;
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    padding: 35px 15px;
    color: var(--bs-white) !important;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
    color: var(--bs-dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-white) !important;
}

.navbar-light .navbar-brand h1 {
    color: var(--bs-white);
}

.sticky-top.navbar-light .navbar-brand h1 {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar-light .navbar-brand h1 {
        color: var(--bs-primary);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active  {
        color: var(--bs-primary) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 0;
        bottom: -1px;
        left: 0;
        background: var(--bs-primary);
        transition: .5s;
        z-index: -1;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        height: calc(100% + 1px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

/* Carousel images responsive - full image visible */
.carousel-item img {
  width: 100%;
  height: auto;          /* Maintain aspect ratio, no cropping */
  display: block;
}

/* Remove max-height constraints */
.carousel-item {
  max-height: none;      /* Allow the item to be as tall as the image */
  overflow: visible;     /* Ensure nothing is clipped */
}

/* Optional: keep caption styling */
.carousel-caption {
  background: rgba(0,0,0,0.5);
  padding: 15px;
  border-radius: 10px;
}

/* Mobile adjustments – remove max-height, only adjust font sizes if needed */
@media (max-width: 768px) {
  .carousel-item {
    max-height: none;    /* No height limit on mobile either */
  }
  .carousel-caption h1 {
    font-size: 1.2rem;
  }
  .carousel-caption h4 {
    font-size: 0.9rem;
  }
  .carousel-caption .btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    max-height: none;
  }
  .carousel-caption h1 {
    font-size: 1rem;
  }
  .carousel-caption h4 {
    font-size: 0.8rem;
  }
}

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(19, 53, 123, 0.5), rgba(19, 53, 123, 0.5)), url(../img/breadcrumb-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 150px 0 50px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-secondary) !important;
}
/*** Single Page Hero Header End ***/


/*** About Start ***/
.about .container .section-about-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.about .container .section-about-title::before {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}
/*** About End ***/


/*** Services Start ***/
.service .service-content-inner {
    transition: 0.5s;
}
.service .service-content-inner:hover {
    position: relative;
    background: var(--bs-primary) !important;
}

.service .service-content-inner .service-content h5,
.service .service-content-inner .service-content p,
.service .service-content-inner .service-icon i {
    transition: 0.5s;
}

.service .service-content-inner:hover .service-content h5,
.service .service-content-inner:hover .service-content p,
.service .service-content-inner:hover .service-icon i {
    color: var(--bs-white) !important;
}
/*** Service End ***/


/*** Destination Start ***/
.destination .tab-class .tab-content .tab-pane .destination-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    z-index: 1;
}

.destination .tab-class .tab-content .tab-pane .destination-img .destination-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    z-index: 3;
    transition: 0.5s;
}

.destination .tab-class .tab-content .tab-pane .destination-img .search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    display: flex;
    justify-content: end;
    padding: 20px 20px 0 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: 0.5s;

}

.destination .tab-class .tab-content .tab-pane .destination-img .search-icon a i {
    opacity: 0;
    transition: 0.5s;
}

.destination .tab-class .nav-item {
    padding: 0 0 20px 0;
}
.destination .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.destination .tab-class .nav-item a.active span {
    color: var(--bs-white) !important;
}

.destination .tab-class .tab-content .destination-img:hover .search-icon {
    background: rgba(19, 53, 123, 0.4);
}

.destination .tab-class .tab-content .destination-img:hover .destination-overlay {
    bottom: 0;
}

.destination .tab-class .tab-content .destination-img:hover .search-icon a i {
    opacity: 1;
}

.destination .tab-class .tab-content .destination-img img {
    transition: 0.5s;
}

.destination .tab-class .tab-content .destination-img:hover img {
    transform: scale(1.2);
}
/*** Destination End ***/


/*** Packages Start ***/
.packages .packages-item .packages-img {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    z-index: 1;
}

.packages .packages-item .packages-img .packages-info {
    background: rgba(0, 0, 0, .3);
}

.packages .packages-item .packages-img .packages-info small,
.packages .packages-item .packages-img .packages-info small i {
    color: var(--bs-white);
    transition: 0.5s;
}

.packages .packages-item .packages-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 0px solid;
    border-radius: 10px !important;
    visibility: hidden;
    transition: 0.7s;
    z-index: 3;
}

.packages .packages-item .packages-img:hover.packages-img::after {
    width: 100%;
    height: 100%;
    border: 300px solid;
    border-color: rgba(19, 53, 123, 0.6) rgba(19, 53, 123, 0.6) rgba(19, 53, 123, 0.6) rgba(19, 53, 123, 0.6);
    visibility: visible;
}

.packages .packages-item .packages-img small,
.packages .packages-item .packages-img small i {
    transition: 0.5s;
}

.packages .packages-item .packages-img:hover small,
.packages .packages-item .packages-img:hover small i {
    color: var(--bs-white) !important;

}

.packages .packages-item .packages-img img {
    transition: 0.5s;
}

.packages .packages-item .packages-img:hover img {
    transform: scale(1.3);
}

.packages .packages-item .packages-img .packages-price {
    position: absolute;
    width: 100px; 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%);
    display: inline-block;
    background: var(--bs-primary);
    color: var(--bs-white);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px; 
    z-index: 5;
}

.packages .packages-carousel {
    position: relative;
}

.packages .packages-carousel .owl-nav .owl-prev {
    position: absolute;
    top: -50px;
    left: 0;
    padding: 5px 30px;
    border: 1px solid var(--bs-primary);
    border-radius: 30px;
    transition: 0.5s;
}

.packages .packages-carousel .owl-nav .owl-next {
    position: absolute;
    top: -50px;
    right: 0;
    padding: 5px 30px;
    border: 1px solid var(--bs-primary);
    border-radius: 30px;
    transition: 0.5s;
}

.packages .packages-carousel .owl-nav .owl-prev i,
.packages .packages-carousel .owl-nav .owl-next i {
    color: var(--bs-primary);
    font-size: 17px;
    transition: 0.5s;
}

.packages .packages-carousel .owl-nav .owl-prev:hover,
.packages .packages-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
}

.packages .packages-carousel .owl-nav .owl-prev:hover i,
.packages .packages-carousel .owl-nav .owl-next:hover i {
    color: var(--bs-white);
}
/*** Packages End ***/


/*** Explore Tour Start ***/
.ExploreTour .tab-class .nav-item {
    padding: 0 0 20px 0;
}
.ExploreTour .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.ExploreTour .tab-class .nav-item a.active span {
    color: var(--bs-white) !important;
}


/* National Tour Start */
.ExploreTour #NationalTab-1 .national-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.ExploreTour #NationalTab-1 .national-item img {
    transition: 0.5s;
}

.ExploreTour #NationalTab-1 .national-item:hover img {
    transform: scale(1.2);
}

.ExploreTour #NationalTab-1 .national-item .national-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: end;
    justify-content: center;
    transition: 0.5s;
}

.ExploreTour #NationalTab-1 .national-item:hover .national-content {
    background: rgba(19, 53, 123, .6);
}

.ExploreTour #NationalTab-1 .national-item .national-plus-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
}

.ExploreTour #NationalTab-1 .national-item:hover .national-plus-icon {
    opacity: 1;
}

.ExploreTour #NationalTab-1 .national-item .tour-offer {
    position: absolute;
    top: -1px;
    left: -1px;
    padding: 20px;
    border-top-right-radius: 40px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 80px;
    background: var(--bs-primary);
    color: var(--bs-white);
}

/* International Tour Start */
.ExploreTour #InternationalTab-2 .international-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.ExploreTour #InternationalTab-2 .international-item img {
    transition: 0.5s;
}

.ExploreTour #InternationalTab-2 .international-item:hover img {
    transform: scale(1.2);
}

.ExploreTour #InternationalTab-2 .international-item .tour-offer {
    position: absolute;
    top: -1px;
    left: -1px;
    padding: 20px;
    border-top-right-radius: 30px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 80px;
    background: var(--bs-primary);
    color: var(--bs-white);
}

.ExploreTour #InternationalTab-2 .international-item .international-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, .3);
    display: flex;
    align-items: end;
    justify-content: center;
    transition: 0.5s;
}

.ExploreTour #InternationalTab-2 .international-item:hover .international-content {
    background: rgba(19, 53, 123, .6);
}

.ExploreTour #InternationalTab-2 .international-item .international-content .international-info a {
    font-size: 14px;
}

.ExploreTour #InternationalTab-2 .international-item .international-plus-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
}

.ExploreTour #InternationalTab-2 .international-item:hover .international-plus-icon {
    opacity: 1;
}

/* carousel Start */
.ExploreTour #InternationalTab-2 .InternationalTour-carousel .international-item {
    position: relative;
    overflow: hidden;
}

.ExploreTour #InternationalTab-2 .InternationalTour-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ExploreTour #InternationalTab-2 .InternationalTour-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-light);
    border: 1px solid var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.ExploreTour #InternationalTab-2 .InternationalTour-carousel .owl-dot.active {
    width: 40px;
    background: var(--bs-primary);
}
/*** Explore Tour End ***/


/*** Gallery Start ***/
.gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery .gallery-item img {
    min-height: 300px;
    object-fit: cover;
}

.gallery .gallery-item .gallery-content {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    transition: 0.5s;
}

.gallery .gallery-item .gallery-content .gallery-info {
    position: relative;
    margin-bottom: -100%;
    opacity: 0;
    transition: 0.5s;
}

.gallery .gallery-item .gallery-plus-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
}

.gallery .gallery-item:hover .gallery-content .gallery-info,
.gallery .gallery-item:hover .gallery-plus-icon {
   opacity: 1;
   margin: 0;
}

.gallery .gallery-item img {
    transition: 0.5s;
}

.gallery .gallery-item:hover img {
    transform: scale(1.2);
}

.gallery .gallery-item:hover .gallery-content {
    background: rgba(19, 53, 123, 0.8);
}

.gallery .tab-class .nav-item {
    padding: 0 0 20px 0;
}
.gallery .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.gallery .tab-class .nav-item a.active span {
    color: var(--bs-white) !important;
}

/*** Gallery End ***/

/*** Tour Booking Start ***/
.booking {
    background: linear-gradient(rgba(19, 53, 123, .8), rgba(19, 53, 123, .8)), url(../img/tour-booking-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    
}


.booking .container .section-booking-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-white);
}

.booking .container .section-booking-title::before {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: -50px;
    border: 1px solid var(--bs-white) !important;
}

.booking .container form .btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.booking .container form .btn.btn-primary:hover {
    box-shadow: inset 800px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}



/*** Tour Booking end ***/

/*** Travel Guide Start ***/
.guide .guide-item .guide-img {
    position: relative;
}

.guide .guide-item .guide-img .guide-icon {
    position: absolute;
    bottom: 0; 
    left: 50%; 
    transform: translate(-50%, -50%);
    margin-bottom: -50px;
    display: flex;
    justify-content: center;
    border: 1px solid var(--bs-primary);
    background: var(--bs-light);
    z-index: 9;
}

.guide .guide-item .guide-img .guide-img-efects {
    position: relative;
    overflow: hidden;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.guide .guide-item .guide-img .guide-img-efects::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.guide .guide-item:hover .guide-img-efects::after {
    height: 100%;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    background: rgba(19, 53, 123, .5);
}

.guide .guide-item .guide-img-efects img {
    transition: 0.5s;
}
.guide .guide-item:hover .guide-img-efects img {
    transform: scale(1.1);
}

.guide .guide-item .guide-title {
    position: relative;
    background: var(--bs-light);
    transition: 0.5s;
}

.guide .guide-item .guide-title::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: 0.5s;
}

.guide .guide-item:hover .guide-title::after {
    height: 100%;
    background: var(--bs-primary) !important;
    color: var(--bs-white);
}

.guide .guide-item .guide-title .guide-title-inner,
.guide .guide-item:hover .guide-title .guide-title-inner h4 {
    transition: 0.5s;
}

.guide .guide-item:hover .guide-title .guide-title-inner {
    position: relative;
    color: var(--bs-white) !important;
    z-index: 2;
}

.guide .guide-item:hover .guide-title .guide-title-inner h4 {
    color: var(--bs-white);
}
/*** Travel Guide End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img {
    position: relative;
}

.blog .blog-item .blog-img .blog-info {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    display: flex;
    background: rgba(255, 255, 255, .2);
    color: var(--bs-white);
}

.blog .blog-item .blog-img .blog-img-inner {
    position: relative;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.blog .blog-item .blog-img .blog-img-inner .blog-icon {
    position: absolute;
    width: 100%;
    height: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.blog .blog-item .blog-img .blog-img-inner .blog-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover .blog-img-inner .blog-icon a {
    opacity: 1;
}

.blog .blog-item .blog-img:hover .blog-img-inner .blog-icon {
    height: 100%;
    background: rgba(19, 53, 123, .6);
    opacity: 1;
}

.blog .blog-item .blog-img .blog-img-inner {
    overflow: hidden;
}

.blog .blog-item .blog-img .blog-img-inner img {
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover .blog-img-inner img {
    transform: scale(1.2);
}
/*** Blog End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
}

.testimonial .testimonial-carousel .testimonial-item .testimonial-img {
    position: relative;
    width: 100px; 
    height: 100px; 
    top: 0; left: 50%; 
    transform: translate(-50%, -50%);
    border: 3px solid var(--bs-primary); 
    border-style: dotted;
    border-radius: 50%;
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-light);
    border: 1px solid var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 40px;
    background: var(--bs-primary);
}

.testimonial .testimonial-carousel .owl-nav .owl-prev {
    position: absolute;
    top: -55px;
    left: 0;
    padding: 5px 30px;
    border: 1px solid var(--bs-primary);
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: -55px;
    right: 0;
    padding: 5px 30px;
    border: 1px solid var(--bs-primary);
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev i,
.testimonial .testimonial-carousel .owl-nav .owl-next i {
    color: var(--bs-primary);
    font-size: 17px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
}

.testimonial .testimonial-carousel .owl-nav .owl-prev:hover i,
.testimonial .testimonial-carousel .owl-nav .owl-next:hover i {
    color: var(--bs-white);
}

.testimonial .testimonial-carousel .owl-item.center .testimonial-item .testimonial-comment {
    background: var(--bs-primary) !important;
    color: var(--bs-white);
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-item.center .testimonial-item .testimonial-img {
    border: 3px solid var(--bs-white); 
    border-style: dotted;
    transition: 0.5s;
}
/*** Testimonial End ***/

/*** Contact Start ***/
.contact .container form .btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.contact .container form .btn.btn-primary:hover {
    box-shadow: inset 1000px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}
/*** Contact End ***/

/*** Subscribe Start ***/
.subscribe {
    background: linear-gradient(rgba(19, 53, 123, .6), rgba(19, 53, 123, .6)), url(../img/subscribe-img.jpg);
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.subscribe .subscribe-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-white);
}

.subscribe .subscribe-title::before {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-right: -50px;
    border: 1px solid var(--bs-white) !important;
}

.subscribe .subscribe-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-left: -50px;
    border: 1px solid var(--bs-white) !important;
}
/*** Subscribe End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}
.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-primary);
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}

/* Carousel images: responsive and limited height on mobile */
.carousel-header img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Limit carousel item height */
.carousel-header .carousel-item {
  max-height: 400px;  /* desktop max height */
  overflow: hidden;
}

@media (max-width: 768px) {
  .carousel-header .carousel-item {
    max-height: 250px;  /* tablets/mobiles */
  }
  .carousel-caption {
    bottom: 5%;
    padding: 5px;
  }
  .carousel-caption h1 {
    font-size: 1.2rem;
  }
  .carousel-caption h4 {
    font-size: 0.9rem;
  }
  .carousel-caption .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .carousel-header .carousel-item {
    max-height: 180px;  /* small phones */
  }
  .carousel-caption h1 {
    font-size: 1rem;
  }
  .carousel-caption h4 {
    font-size: 0.8rem;
  }
}

/*** copyright end ***/

/* ===== Global UI Refresh (Non-ERP) ===== */
:root {
    --bs-primary: #0f3d8c;
    --bs-secondary: #0ea5a2;
    --bs-light: #f4f7ff;
    --bs-dark: #0f172a;
    --gd-surface: #ffffff;
    --gd-muted: #5b6475;
    --gd-border: #dde5f3;
    --gd-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', 'Roboto', system-ui, -apple-system, Segoe UI, sans-serif;
    color: var(--bs-dark);
    background:
        radial-gradient(circle at top right, #ecf3ff 0%, transparent 36%),
        radial-gradient(circle at bottom left, #f5fbff 0%, transparent 34%),
        #f8fbff;
    line-height: 1.65;
}

p {
    color: var(--gd-muted);
}

.container,
.container-fluid {
    position: relative;
}

.bg-light {
    background-color: var(--gd-surface) !important;
}

.rounded,
.rounded-1,
.rounded-2,
.rounded-3,
.rounded-4,
.rounded-5 {
    border-radius: 16px !important;
}

.border {
    border-color: var(--gd-border) !important;
}

.shadow-sm,
.shadow,
.shadow-lg {
    box-shadow: var(--gd-shadow) !important;
}

/* Top bar */
.topbar {
    background: linear-gradient(90deg, #08224f, #0f3d8c) !important;
    padding: 4px 10px 4px 20px;
}

/* Navbar */
.navbar-light {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 61, 140, 0.08);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.06);
}

.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 18px 14px;
    font-size: 16px;
    font-weight: 600;
    color: #24324a !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar .dropdown-menu {
    border: 1px solid var(--gd-border);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
    padding: 8px;
}

.navbar .dropdown-menu .dropdown-item {
    border-radius: 10px;
    font-weight: 500;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background: #edf3ff;
    color: var(--bs-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Jost', sans-serif;
    color: #0f244d;
    letter-spacing: 0.2px;
}

.section-title {
    letter-spacing: 1px;
    font-weight: 700;
}

/* Buttons */
.btn {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn.btn-primary {
    background: linear-gradient(135deg, #1e4fa6 0%, #0f3d8c 100%);
    border: none;
    box-shadow: 0 10px 24px rgba(15, 61, 140, 0.28);
}

.btn.btn-primary:hover {
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(15, 61, 140, 0.35);
}

.btn.btn-outline-primary {
    border-width: 2px;
}

/* Cards and sections */
.service .service-content-inner,
.packages .packages-item,
.destination .destination-item,
.blog .blog-item,
.testimonial .testimonial-item,
.contact .bg-light,
.about .bg-light,
.feature .feature-item,
.team .team-item,
.bg-light.rounded,
.bg-light.rounded-4,
.bg-light.rounded-5 {
    border: 1px solid var(--gd-border);
    box-shadow: var(--gd-shadow);
}

.service .service-content-inner:hover,
.packages .packages-item:hover,
.destination .destination-item:hover,
.blog .blog-item:hover {
    transform: translateY(-4px);
    transition: 0.25s ease;
}

/* Forms */
.form-control,
.form-select {
    border-radius: 12px;
    border: 1px solid #ccd8ef;
    min-height: 48px;
}

.form-control:focus,
.form-select:focus {
    border-color: #8eb2eb;
    box-shadow: 0 0 0 0.2rem rgba(15, 61, 140, 0.15);
}

/* Breadcrumb sections */
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
}

.bg-breadcrumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 61, 140, 0.12), rgba(15, 61, 140, 0.45));
    pointer-events: none;
}

.bg-breadcrumb .container {
    position: relative;
    z-index: 1;
}

/* Carousel caption */
.carousel-caption {
    border-radius: 14px;
    backdrop-filter: blur(3px);
}

/* Utility */
.ticker-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .navbar-light .navbar-collapse {
        margin-top: 10px;
        border-top: 1px solid var(--gd-border);
    }
}

/* shared fragment helpers */
.topbar-row {
    height: 45px;
}

.brand-logo {
    height: 50px;
    width: auto;
}

.brand-title {
    font-size: 24px;
}

.about-frame {
    border: 50px solid;
    border-color: transparent #13357B transparent #13357B;
}

.about-panel {
    background: linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)), url(../img/about-img-1.png);
    border-radius: 16px;
    padding: 12px;
}

/* homepage ticker + carousel */
.carousel-item {
    max-height: 850px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: #163577;
    color: #ffffff;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.ticker__item {
    display: inline-block;
    padding: 0 50px;
    font-size: 18px;
}

@keyframes ticker {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* footer */
.mdf-footer {
    background: #ffffff;
    border-top: 4px solid #0f3d8c;
    padding: 30px 20px;
}

.mdf-map-box {
    background: #f4f8ff;
    border: 1px solid #dbe6ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
}

.mdf-map-title {
    margin: 0 0 10px 2px;
}

.mdf-map {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 8px;
}

.mdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.mdf-box {
    background: #ffffff;
    border: 1px solid #dbe6ff;
    border-radius: 8px;
    padding: 18px;
}

.mdf-box:hover {
    border-color: #0f3d8c;
    box-shadow: 0 6px 18px rgba(11, 61, 145, 0.08);
}

.mdf-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f3d8c;
    margin-bottom: 12px;
    border-bottom: 2px solid #dbe6ff;
    padding-bottom: 6px;
}

.mdf-box p,
.mdf-box li {
    font-size: 14px;
    color: #5f6b7a;
    line-height: 1.6;
}

.mdf-box a {
    color: #5f6b7a;
}

.mdf-box a:hover {
    color: #0f3d8c;
}

.mdf-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mdf-list li {
    margin-bottom: 6px;
}

.mdf-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.mdf-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0f3d8c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mdf-footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #dbe6ff;
    font-size: 13px;
    color: #5f6b7a;
}

/* page hero backgrounds */
.hero-about {
    background: linear-gradient(rgba(19, 53, 123, 0.7), rgba(19, 53, 123, 0.7)), url(../img/5.jpg) center/cover no-repeat fixed;
}

.hero-contact {
    background: linear-gradient(rgba(19, 53, 123, 0.7), rgba(19, 53, 123, 0.7)), url(../img/1.jpg) center/cover no-repeat fixed;
}

.section-narrow {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

/* home page link layouts */
.link-hub {
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid var(--gd-border);
    box-shadow: var(--gd-shadow);
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.portal-card {
    display: block;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid var(--gd-border);
    border-radius: 14px;
    padding: 16px 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-card:hover {
    transform: translateY(-3px);
    border-color: #9bb8e7;
    box-shadow: 0 12px 24px rgba(15, 61, 140, 0.15);
}

.portal-card i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e9f1ff;
    color: #0f3d8c;
    margin-bottom: 10px;
}

.portal-card h6 {
    margin: 0;
    color: #102246;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--gd-border);
    border-radius: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: #102246;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
}

.quick-link-card i {
    color: #0f3d8c;
}

/* about page story layout */
.story-shell {
    border: 1px solid var(--gd-border);
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: var(--gd-shadow);
}

.story-head {
    padding: 22px;
    background: linear-gradient(120deg, #edf4ff, #f7fbff);
    border-bottom: 1px solid var(--gd-border);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
}

.story-main {
    padding: 22px;
}

.story-main h4 {
    margin-top: 18px;
}

.story-aside {
    padding: 22px;
    background: #f9fbff;
    border-left: 1px solid var(--gd-border);
}

.fact-tile {
    background: #ffffff;
    border: 1px solid var(--gd-border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.fact-tile strong {
    display: block;
    color: #0f3d8c;
}

.program-card {
    background: #ffffff;
    border: 1px solid var(--gd-border);
    border-radius: 16px;
    padding: 18px;
    height: 100%;
}

/* contact page layout */
.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 20px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid var(--gd-border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--gd-shadow);
}

.contact-item {
    display: flex;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed #d9e3f5;
}

.contact-item:last-child {
    border-bottom: 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e9f1ff;
    color: #0f3d8c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-map-frame {
    border: 1px solid #bbcff1;
    border-radius: 16px;
    padding: 10px;
    background: #ffffff;
}

.contact-map {
    width: 100%;
    height: 460px;
    border: 0;
    border-radius: 12px;
}

.contact-strip {
    margin-top: 22px;
    background: linear-gradient(90deg, #e9f1ff, #f8fbff);
    border: 1px solid var(--gd-border);
    border-radius: 16px;
    padding: 14px 18px;
}

@media (max-width: 991.98px) {
    .story-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .story-aside {
        border-left: 0;
        border-top: 1px solid var(--gd-border);
    }

    .contact-map {
        height: 320px;
    }
}

/* more page heroes */
.hero-alumni {
    background: linear-gradient(rgba(19, 53, 123, 0.72), rgba(19, 53, 123, 0.72)), url(../img/alumni.jpg) center/cover no-repeat fixed;
}

.hero-naac {
    background: linear-gradient(rgba(19, 53, 123, 0.72), rgba(19, 53, 123, 0.72)), url(../img/naac-logo.png) center/cover no-repeat fixed;
}

.hero-nirf {
    background: linear-gradient(rgba(19, 53, 123, 0.72), rgba(19, 53, 123, 0.72)), url(../img/nirf_logo.png) center/cover no-repeat fixed;
}

.hero-career {
    background: linear-gradient(rgba(19, 53, 123, 0.72), rgba(19, 53, 123, 0.72)), url(../img/career.jpg) center/cover no-repeat fixed;
}

.hero-vision {
    background: linear-gradient(rgba(19, 53, 123, 0.72), rgba(19, 53, 123, 0.72)), url(../img/2.jpg) center/cover no-repeat fixed;
}

/* reveal animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* page components */
.quote-banner {
    background: linear-gradient(145deg, #ffffff, #f6faff);
    border: 1px solid var(--gd-border);
    border-radius: 20px;
    padding: 26px;
    text-align: center;
    box-shadow: var(--gd-shadow);
}

.alumni-card {
    background: #ffffff;
    border: 1px solid var(--gd-border);
    border-radius: 18px;
    box-shadow: var(--gd-shadow);
    padding: 20px;
    height: 100%;
}

.alumni-avatar {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16469d, #0f3d8c);
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 61, 140, 0.28);
}

.data-highlight {
    background: linear-gradient(150deg, #ffffff, #f6fbff);
    border: 1px solid var(--gd-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--gd-shadow);
}

.logo-badge {
    max-width: 150px;
}

.round-icon-xl {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16469d, #0f3d8c);
    color: #fff;
}

.report-card {
    background: #ffffff;
    border: 1px solid var(--gd-border);
    border-radius: 18px;
    box-shadow: var(--gd-shadow);
    padding: 22px;
    height: 100%;
    text-align: center;
}

.career-media-frame {
    border: 1px solid #b8caea;
    border-radius: 18px;
    padding: 10px;
    background: #fff;
    box-shadow: var(--gd-shadow);
}

.career-media-frame img {
    border-radius: 14px;
}

.mission-card {
    background: #ffffff;
    border: 1px solid var(--gd-border);
    border-radius: 18px;
    padding: 22px;
    height: 100%;
    box-shadow: var(--gd-shadow);
}

.accent-line {
    width: 80px;
    height: 3px;
    background: var(--bs-primary);
}

.cta-banner {
    background: linear-gradient(145deg, #0f3d8c, #0d2f6a);
    color: #fff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 20px 35px rgba(15, 61, 140, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
