/* Root Variables */
:root {
    --transition-speed: 0.3s;
}

body {
    background-color: #ebeff5;
}

/*** 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: 90px;
    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%;
}

/* Fix for graduation cap icons */
.btn-lg-square.bg-primary.rounded-circle {
    width: 56px;
    height: 56px;
    min-width: 56px; /* Prevent width compression */
    flex-shrink: 0; /* Prevent shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    overflow: hidden;
    margin-right: 15px; /* Add consistent margin */
}

/* Fix for the alignment of icon and text */
.d-flex.align-items-center {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap; /* Prevent wrapping */
}

/* Ensure text doesn't overflow */
.d-flex.align-items-center h5 {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn.btn-primary {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn.btn-primary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

.btn.btn-secondary {
    background: transparent;
    color: var(--bs-secondary);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    border: none;
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    color: var(--bs-primary) !important;
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    color: var(--bs-white);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: -6px;
    margin-left: -100px;
    border: 1px solid #00acb5 !important;
}

.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: -8px;
    margin-left: -50px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: -8px;
    margin-right: -100px;
    border: 1px solid #00acb5 !important;
}

.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: -6px;
    margin-right: -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: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-primary) !important;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-primary) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.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: 600;
    vertical-align: middle;
}

@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-secondary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary) !important;
        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;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 991.98px) {
    .sticky-top .navbar-light {
        background: var(--bs-light) !important;
    }

    /*** Top and Bottom borders go out ***/
    .navbar-light .navbar-nav .nav-link:after,
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        top: 30px;
        bottom: 30px;
        left: 0px;
        width: 100%;
        height: 2px;
        background: var(--bs-primary);
        opacity: 0;
        transition: all 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:before {
        bottom: auto;
    }

    .navbar-light .navbar-nav .nav-link:after {
        top: auto;
    }

    .navbar-light .navbar-nav .nav-link:hover:before,
    .navbar-light .navbar-nav .nav-link.active:before {
        top: 20px;
        opacity: 1;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        bottom: 20px;
        opacity: 1;
    }
}

#searchModal .modal-content {
    background: rgba(240, 245, 251, 0.5);
}
/*** Navbar End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(0, 58, 102, 0.9), rgba(0, 58, 102, 0.8)), url(../img/breadcrumb.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: cover;
    padding: 100px 0 60px 0;
}
/*** Single Page Hero Header End ***/


/*** Carousel Hero Header Start ***/
.container-fluid.carousel {
    min-height: 600px;
    position: relative;
}

.carousel-header, 
#carouselId,
.carousel-inner,
.carousel-item {
    min-height: 600px !important;
    height: 600px !important;
}

.carousel-inner .carousel-item {
    position: relative;
    overflow: hidden;
}

.carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0.6));
    padding: 0;
}

.carousel-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Responsive Carousel Heights */
@media (max-width: 575.98px) {
    .container-fluid.carousel,
    .carousel-header, 
    #carouselId,
    .carousel-inner,
    .carousel-item {
        min-height: 500px !important;
        height: 500px !important;
    }

    .carousel-content {
        padding: 15px;
    }

    .carousel-content h1 {
        font-size: 1.8rem;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .container-fluid.carousel,
    .carousel-header, 
    #carouselId,
    .carousel-inner,
    .carousel-item {
        min-height: 550px !important;
        height: 550px !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .container-fluid.carousel,
    .carousel-header, 
    #carouselId,
    .carousel-inner,
    .carousel-item {
        min-height: 600px !important;
        height: 600px !important;
    }
}

@media (min-width: 992px) {
    .container-fluid.carousel,
    .carousel-header, 
    #carouselId,
    .carousel-inner,
    .carousel-item {
        min-height: 600px !important;
        height: 600px !important;
    }
}

.carousel-header .carousel-control-prev .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    margin-left: -60px;
    border-radius: 50%;
    background-size: 60% 60%;
    transition: 0.5s;
}

.carousel-header .carousel-control-next .carousel-control-next-icon {
    margin-left: 0;
    margin-right: -60px;
}

.carousel-header .carousel .carousel-indicators {
    padding-bottom: 0;
    transition: 0.5s;
}


.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li,
.carousel-header .carousel .carousel-indicators li {
    width: 8px;
    height: 8px;
    border: 8px solid var(--bs-primary);
    border-radius: 50%;
    margin-right: 30px;
    transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li.active {
    width: 8px;
    height: 8px;
    border: 8px solid var(--bs-secondary);
}

@media (max-width: 768px) {
    html,
body {
    overflow-x: hidden;
}
    .carousel-header {
        height: 700px !important;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-top: 500px;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon {
        margin-left: 0px;
    }

    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-right: 0px;
    }

    .carousel-header .carousel .carousel-indicators {
        padding: 0;
    }
}
/*** Carousel Hero Header End ***/


/*** Counter Facts Start ***/
.counter-facts {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0.8)), url(../img/breadcrumb.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    background: var(--bs-white);
}

.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
    background-color: var(--bs-primary);
    
}
.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    font-size: 50px;
    line-height: 90px;
    color: var(--bs-secondary);
    background: rgba(1, 143, 252, 0.5);
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter .counter-icon:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 90px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    background: rgba(0, 58, 102, 0.5);
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.counter-facts .counter:hover .counter-icon i {
    transform: rotate(360deg);
    transition: all 0.3s ease;
}
.counter-facts .counter h3 {
    color: var(--bs-primary);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}
.counter-facts .counter .counter-value {
    font-size: 30px;
    font-weight: 700;
    display: block;
    color: var(--bs-secondary);
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter { margin-bottom: 40px; 
    }
}
/*** Counter Facts End ***/


/*** service Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-inner .service-title {
    position: relative;
    margin-top: -30px;
    text-align: center;
    transition: 0.5s;
}

.service .service-item .service-inner .service-title .service-content {
    position: absolute;
    bottom: -100%; 
    left: 0;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    border-radius: 10px;
    background: var(--bs-primary);
    opacity: 0;
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-content {
    bottom: 0;
    opacity: 1;
}

.service .service-item .service-inner .service-title .service-content a h4 {
    border-bottom: 1px solid rgba(256, 256, 256, .1);
}

.service .service-item .service-inner .service-title .service-title-name {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-title-name {
    opacity: 0;
}

.service .service-item .service-inner .service-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.service .service-item .service-inner .service-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .5);
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover .service-inner .service-img::after {
    height: 100%;
    opacity: 1;
}

.service .service-item .service-inner .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-img img {
    transform: scale(1.3);
}
/*** Service End ***/


/*** Features Start ***/
.features .feature-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.features .feature-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 58, 102, 0.1);
    z-index: -1;
    transition: 0.5s;
}

.features .feature-item:hover::after {
    height: 100%;
}

.features .feature-item .feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.features .feature-item:hover .feature-icon {
    border-radius: 50%;
    background: var(--bs-white) !important;
}

.features .feature-item .feature-icon i {
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon i {
    color: var(--bs-secondary) !important;
    transform: rotate(360deg);
    transition: all 0.5s ease;
}
/*** Features End ***/


/*** Country Start ***/
.country .country-item {
    position: relative;
}

.country .country-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 58, 102, 0.7);
    border-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.country .country-item:hover::after {
    height: 100%;
}

.country .country-item .country-flag {
    position: absolute;
    width: 90px; 
    height: 90px; 
    border-radius: 50%;
    top: -45px; 
    left: 50%; 
    transform: translateX(-50%);
    transition: 0.5s;
    z-index: 2;
}

.country .country-item .country-flag img {
    border: 5px solid var(--bs-white);
    transition: 0.5s;
}

.country .country-item:hover .country-flag img {
    border: 5px solid var(--bs-white);
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

.country .country-item .country-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.country .country-item:hover .country-name {
    opacity: 1;
}

.country .country-item img {
    transition: 0.5s;
}

.country .country-item:hover img {
    transform: scale(1.2);
}

.country .country-item .country-name a.fs-4 {
    transition: 0.5s;
}

.country .country-item .country-name a.fs-4:hover {
    color: var(--bs-secondary) !important;
}
/*** Country End ***/


/*** testimonial Start ***/
.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content {
    position: relative;
    border-radius: 10px;
    background: var(--bs-light);
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 45px;
    bottom: -20px;
    left: 30px;
    transform: rotate(45deg);
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--bs-primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-secondary);
}
/*** testimonial end ***/


/*** training Start ***/
.training .training-item .training-inner {
    position: relative;
}

.training .training-item .training-inner .training-title-name {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    display: flex; 
    flex-direction: column;
    justify-content: end;
    text-align: center;
    transition: 0.5s;
}

.training .training-item {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.training .training-item:hover .training-inner .training-title-name {
    background: rgba(0, 58, 102, 0.5);
}

.training .training-item:hover .training-inner .training-title-name a {
    opacity: 0;
}

.training .training-item .training-inner img {
    transition: 0.5s;
}

.training .training-item:hover .training-inner img {
    transform: scale(1.3);
}

.training .training-item .training-content {
    position: absolute;
    width: 100%;
    bottom: -100%;
    left: 0;
    transition: 0.5s;
}

.training .training-item:hover .training-content {
    bottom: 0;
}  
/*** training End ***/


/*** Contact Start ***/
.contact .office .office-item {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
    background: var(--bs-light);
    transition: 0.5s;
}

.contact .office .office-item:hover {
    box-shadow: 20px 20px 20px rgba(0, 58, 102, 0.3);
}

.contact .office .office-item .office-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.contact .office .office-item .office-img img {
    transition: 0.5s;
}

.contact .office .office-item:hover .office-img img {
    transform: scale(1.3);
}

.contact .office .office-item .office-content a.text-secondary,
.contact .office .office-item .office-content a.text-muted {
    transition: 0.5s;
}

.contact .office .office-item .office-content a.text-muted:hover {
    color: var(--bs-secondary) !important;
}

.contact .office .office-item .office-content a.text-secondary:hover {
    color: var(--bs-primary) !important;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: var(--bs-primary);
}
.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 30px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-secondary);
}

/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-secondary) !important;
}
/*** copyright end ***/

/* Enhanced Responsive Navbar Styles */
.navbar-toggler {
    padding: 0.5rem;
    transition: var(--transition-speed);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    transition: var(--transition-speed);
}

/* Mobile Menu Animation */
.navbar-collapse {
    transition: var(--transition-speed);
}

.navbar-collapse.collapsing {
    height: auto;
}

.navbar-collapse.show {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Comprehensive Media Queries */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    html,
body {
    overflow-x: hidden;
}
    .navbar-brand img {
        max-width: 120px;
    }

    .display-5 {
        font-size: 1.8rem;
    }

    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        padding: 20px;
    }

    .carousel-header .carousel-inner .carousel-item .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .service-item, .feature-item, .country-item {
        margin-bottom: 1.5rem;
    }

    .carousel-header .carousel-inner .carousel-item {
        min-height: 450px;
    }

    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        padding: 20px;
    }

    .carousel-header .carousel-inner .carousel-item .carousel-caption h1 {
        font-size: 1.8rem;
    }
}

/* Small Devices (tablets, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    html,
body {
    overflow-x: hidden;
}
    .navbar-brand img {
        max-width: 140px;
    }

    .display-5 {
        font-size: 2rem;
    }

    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        padding: 30px;
    }

    .carousel-header .carousel-inner .carousel-item {
        min-height: 450px;
    }

    .carousel-header .carousel-inner .carousel-item .carousel-caption {
        padding: 30px;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--bs-white);
        padding: 1rem;
        border-radius: 0.5rem;
    }

    .service-item, .feature-item {
        margin-bottom: 2rem;
    }

    .carousel-header .carousel-inner .carousel-item {
        min-height: 450px;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all var(--transition-speed);
    }

    .dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .carousel-header .carousel-inner .carousel-item {
        min-height: 450px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

/* Landscape Orientation Specific */
@media (max-height: 500px) and (orientation: landscape) {
    html,
body {
    overflow-x: hidden;
}
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print Styles */
@media print {
    .navbar-toggler,
    .back-to-top,
    .btn-play {
        display: none !important;
    }
}

/*** WhatsApp Button ***/
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-btn i {
    color: #ffffff;
    font-size: 24px;
}

/* Text Shadow Styles */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.text-shadow-sm {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Carousel Styles */
.carousel-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 50px;
}

.carousel-content {
    max-width: 900px;
    margin: 0 auto;
}

.carousel-content h1 {
    font-weight: 700;
    letter-spacing: -1px;
}

.carousel-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.carousel-content .btn {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .carousel-content h1 {
        font-size: 2.5rem !important;
    }
    .carousel-content p {
        font-size: 1rem;
    }
}

/* About Text Styles */
.about-text span {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

/* Service Icon Styles */
.service-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 20px;
}

/* Feature Item Styles */
.feature-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 70px;
}

.feature-item h4 {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-item p {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .feature-item {
        margin-bottom: 20px;
    }
}

/* Country Item Styles */
.country-item {
    transition: all 0.5s;
    height: 300px;
}

.country-item img {
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.country-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 72, 51, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: all 0.5s;
}

.country-content {
    text-align: center;
    transform: translateY(20px);
    transition: all 0.5s;
}

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

.country-item:hover .country-content {
    transform: translateY(0);
}

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

.country-content ul li {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.country-content .btn {
    transition: all 0.3s;
}

/* Testimonial Styles */
.testimonial-content {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    margin: 0 15px;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent;
}

.testimonial-item .fa-quote-right {
    background: var(--primary);
    padding: 10px;
    border-radius: 50%;
    font-size: 18px;
}

.testimonial-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid var(--primary);
}

/* Owl Carousel Navigation Styles */
.owl-nav {
    margin-top: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
}

.owl-prev,
.owl-next {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--primary) !important;
    background: transparent !important;
    border: none !important;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.owl-prev {
    left: -50px;
}

.owl-next {
    right: -50px;
}

.owl-prev:hover,
.owl-next:hover {
    opacity: 1;
}

.owl-prev i,
.owl-next i {
    font-size: 24px;
}

/* Remove any pseudo-elements that might be causing double arrows */
.owl-prev:before,
.owl-prev:after,
.owl-next:before,
.owl-next:after {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .owl-prev {
        left: -40px;
    }
    .owl-next {
        right: -40px;
    }
}

@media (max-width: 768px) {
    .owl-prev {
        left: -30px;
    }
    .owl-next {
        right: -30px;
    }
    .testimonial-content p {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .owl-prev {
        left: -20px;
    }
    .owl-next {
        right: -20px;
    }
}

/* Experience Box Styles */
.experience-box {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.experience-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.experience-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.experience-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
}

.experience-icon {
    font-size: 2.5rem;
    color: #83CD20;
}

@media (max-width: 768px) {
    .experience-content h1 {
        font-size: 3rem;
    }
    .experience-icon {
        font-size: 2rem;
    }
}

/* Contact Info Styles */
.contact-info h6 {
    color: #6c757d;
}

.contact-info h4 {
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .about .h-100 {
        height: auto !important;
        margin-bottom: 3rem;
    }
}

/* Features List Styles */
.features-list i {
    font-size: 16px;
}

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

.success-carousel .owl-nav button {
    position: absolute;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.success-carousel .owl-nav button:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.success-carousel .owl-nav .owl-prev {
    left: -25px;
}

.success-carousel .owl-nav .owl-next {
    right: -25px;
}

.success-item {
    margin: 15px;
}

.success-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .5s;
}

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

.success-content {
    position: relative;
    padding: 20px;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 1;
    background-color: rgba(108, 117, 125, 0.95) !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    position: absolute;
    top: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.lb-nav a.lb-prev {
    left: 20px;
}

.lb-nav a.lb-next {
    right: 20px;
}

.lb-data {
    position: relative;
    padding: 0 80px;
}

.lb-data .lb-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    background-color: rgba(108, 117, 125, 0.95) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.lb-dataContainer {
    padding-top: 15px;
}

.lb-data .lb-details {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Keep the pseudo-element styles for icons */
.lb-nav a.lb-prev::before,
.lb-nav a.lb-next::before,
.lb-data .lb-close::before {
    display: none;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next,
.lb-data .lb-close {
    background-image: none !important;
    filter: none !important;
}

.lb-nav a.lb-prev::after {
    content: '←';
    color: white;
    font-size: 24px;
}

.lb-nav a.lb-next::after {
    content: '→';
    color: white;
    font-size: 24px;
}

.lb-data .lb-close::after {
    content: '×';
    color: white;
    font-size: 24px;
}

/* Hover effects */
.lb-data .lb-close:hover,
.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    background-color: var(--primary) !important;
    transform: scale(1.1);
}

/* Mobile styles */
@media (max-width: 768px) {
    .lb-outerContainer {
        padding: 0 !important;
    }

    .lb-nav {
        left: 0;
        right: 0;
    }

    .lb-nav a.lb-prev {
        left: 10px;
    }
    
    .lb-nav a.lb-next {
        right: 10px;
    }
    
    .lb-data {
        padding: 0;
    }

    .lb-data .lb-close {
        top: 10px;
        right: 10px;
    }
}

.lightbox {
    z-index: 9999;
}

.lb-outerContainer {
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
    background-color: transparent !important;
    margin: 0 auto;
    padding: 0 !important;
}

.lb-container {
    padding: 0 !important;
    position: relative;
}

.lb-image {
    max-width: 90vw !important;
    max-height: 85vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    border: none !important;
}

.lb-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
}

.lb-nav a {
    pointer-events: auto;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 1;
    background-color: rgba(108, 117, 125, 0.95) !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    position: absolute;
    top: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.lb-nav a.lb-prev::after {
    content: '←';
    color: white;
    font-size: 24px;
}

.lb-nav a.lb-next::after {
    content: '→';
    color: white;
    font-size: 24px;
}

.lb-nav a.lb-prev {
    left: -60px;
}

.lb-nav a.lb-next {
    right: -60px;
}

.lb-data {
    position: relative;
}

.lb-data .lb-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    background-color: rgba(108, 117, 125, 0.95) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.lb-data .lb-close::after {
    content: '×';
    color: white;
    font-size: 24px;
}

.lb-dataContainer {
    padding-top: 15px;
}

.lb-data .lb-details {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hover effects */
.lb-data .lb-close:hover,
.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    background-color: var(--primary) !important;
    transform: scale(1.1);
}

/* Mobile styles */
@media (max-width: 768px) {
    .lb-nav a.lb-prev {
        left: 10px;
    }
    
    .lb-nav a.lb-next {
        right: 10px;
    }
    
    .lb-data .lb-close {
        top: 10px;
        right: 10px;
    }
}

.success-stories {
    padding: 50px 0;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.success-stories .container {
    width: 100%;
}

.success-stories .owl-carousel {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.success-stories .owl-stage-outer {
    overflow: visible;
}

.success-stories .owl-carousel .item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.success-stories .owl-carousel .item a {
    display: block;
    width: 100%;
    text-align: center;
}

.success-stories .owl-carousel .item img {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* Navigation arrows */
.success-stories .owl-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 120px);
    transform: translate(-50%, -50%);
    pointer-events: none;
    margin: 0;
}

.success-stories .owl-nav button {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(108, 117, 125, 0.95) !important;
    border-radius: 50% !important;
    pointer-events: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    top: 50%;
    transform: translateY(-50%);
}

.success-stories .owl-nav button:hover {
    background: var(--primary) !important;
}

.success-stories .owl-nav button span {
    color: white;
    font-size: 24px;
    line-height: 1;
}

.success-stories .owl-nav .owl-prev {
    left: 0;
}

.success-stories .owl-nav .owl-next {
    right: 0;
}

/* Lightbox specific styles */
.lb-outerContainer {
    width: auto !important;
    height: auto !important;
    max-width: 90vw;
    background: transparent !important;
}

.lb-image {
    max-width: 90vw !important;
    max-height: 85vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

/* Mobile styles */
@media (max-width: 991px) {
    .success-stories .owl-carousel {
        max-width: 500px;
        padding: 0;
    }

    .success-stories .owl-nav {
        width: calc(100% + 80px);
    }
}

@media (max-width: 575px) {
    .success-stories .owl-carousel {
        max-width: 100%;
        padding: 0 40px;
    }

    .success-stories .owl-nav {
        width: 100%;
    }

    .success-stories .owl-nav .owl-prev {
        left: -35px;
    }

    .success-stories .owl-nav .owl-next {
        right: -35px;
    }
}

/*** Country We Offer Start ***/
.country-item-new {
    position: relative;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.country-item-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.country-item-new img {
    display: block;
    width: 100%;
}

.country-name-new {
    padding: 20px 15px;
}

.country-name-new a {
    color: var(--bs-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.country-name-new a:hover {
    color: var(--bs-primary);
}

.country .btn {
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 30px auto 0 auto;
}
/*** Country We Offer End ***/

/* Country Modal Styles */
.country-modal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.country-modal .modal-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%) !important;
}

.country-modal .modal-body {
    background-color: #f8f9fa;
}

.country-modal .modal-body img {
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 5px solid #fff;
}

.country-modal .modal-body img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.country-modal ul li {
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.country-modal ul li:last-child {
    border-bottom: none;
}

.country-modal ul li:hover {
    transform: translateX(5px);
}

.country-modal ul li i {
    transition: all 0.3s ease;
}

.country-modal ul li:hover i {
    transform: scale(1.2);
}

.country-modal .btn {
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.country-modal .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

/* Animation classes */
.fadeInLeft {
    animation: fadeInLeft 0.8s ease forwards;
}

.fadeInRight {
    animation: fadeInRight 0.8s ease forwards;
}

.fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Explore More Button */
.explore-more-btn {
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.explore-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--bs-primary) 0%, #0056b3 100%);
    transition: all 0.4s ease;
    z-index: -1;
}

.explore-more-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.5);
}

.explore-more-btn:hover::before {
    width: 100%;
}

.explore-more-btn i {
    transition: all 0.4s ease;
}

.explore-more-btn:hover i {
    transform: rotate(360deg);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 1.5s infinite ease-in-out;
}

/* Video Banner Styles */
.video-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -50;
}

.banner-content {
    position: relative;
    z-index: 1;
}

/* Enhanced Modal Styles */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-title {
    color: #ffffff !important;
}

.modal-header {
    background: #00acb5 !important;
    padding: 1.5rem;
}

.modal-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-floating > .form-control:focus {
    border-color: #00acb5 !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-floating > .form-control:focus ~ label {
    color: #0d6efd;
}

.modal-body {
    background: #f8f9fa;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid #dee2e6;
}