
/*** 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 {
    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;
}

/*** Section Title Modern Style ***/

.section-title {
    max-width: 800px;
    margin: 0 auto;
}

/* Subtitle (Modern Badge Style) */
.sub-title {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-primary);
    background: rgba(13, 59, 102, 0.08); /* light primary */
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 1px;
}

/* Heading */
.section-title h1 {
    font-weight: 700;
    color: #222;
}

/* Optional underline accent */
.section-title h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--bs-secondary);
    margin: 15px auto 0;
    border-radius: 2px;
}


/*** 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 Modern Clean Design ***/

.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 30px 0;
    color: var(--bs-primary) !important;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Sticky Navbar */
.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 18px 0;
}

/* Hover Effect (Clean Underline Animation) */
.navbar-light .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 10px;
    left: 0;
    background-color: var(--bs-secondary);
    transition: width 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Text Color Hover */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

/* Logo Resize */
.navbar-light .navbar-brand img {
    max-height: 90px;
    transition: 0.3s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 50px;
}

/* Topbar Layout */
.topbar-left span {
    font-size: 14px;
    letter-spacing: 0.5px;
}

.topbar-right a {
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.topbar-right a:hover {
    color: var(--bs-secondary) !important;
}

/* Mobile Hide */
@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/* Dropdown Icon */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

/* Desktop Dropdown Animation */
@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .navbar .nav-item:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        background: var(--bs-light);
    }
}

/* Dropdown Hover Style */
.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {

    .sticky-top {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 10px;
        border-top: 1px solid #ddd;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-right: 0;
        color: var(--bs-dark) !important;
    }

    /* Remove underline on mobile */
    .navbar-light .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}
#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 Modern ***/

.carousel-header {
    position: relative;
}

/* Full Height */
.carousel-header .carousel-inner .carousel-item {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

/* Image */
.carousel-header .carousel-inner .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomEffect 8s ease-in-out infinite;
}

/* Overlay */
.carousel-header .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.55);
}

/* Zoom Animation */
@keyframes zoomEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== Indicators (Modern Dots) ===== */
.carousel-header .carousel-indicators {
    bottom: 30px;
}

.carousel-header .carousel-indicators li {
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 6px;
    opacity: 0.5;
    transition: 0.3s;
}

.carousel-header .carousel-indicators li.active {
    width: 30px;
    border-radius: 20px;
    background-color: var(--bs-primary);
    opacity: 1;
}

/* ===== Controls ===== */
.carousel-header .carousel-control-prev-icon,
.carousel-header .carousel-control-next-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    background-size: 50%;
    transition: 0.3s;
}

/* Hover Effect */
.carousel-header .carousel-control-prev-icon:hover,
.carousel-header .carousel-control-next-icon:hover {
    background-color: var(--bs-primary);
    transform: scale(1.1);
}

/* Position */
.carousel-header .carousel-control-prev {
    left: 20px;
}

.carousel-header .carousel-control-next {
    right: 20px;
}

/* ===== Caption Text ===== */
.carousel-caption h1 {
    font-weight: 700;
}

.carousel-caption p {
    color: #ddd;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {

    .carousel-header .carousel-inner .carousel-item {
        height: 70vh;
    }

    .carousel-caption h1 {
        font-size: 24px;
    }

    .carousel-caption p {
        font-size: 14px;
    }

    .carousel-header .carousel-control-prev,
    .carousel-header .carousel-control-next {
        display: none;
    }
}
.carousel-caption h1 {
    animation: fadeUp 1s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*** 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 ***/
/* Job Cards */
.job-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.job-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.job-card p {
    font-size: 14px;
    color: #666;
}

/*** Testimonial Modern Design ***/

.testimonial {
    background: #f8f9fa;
}

/* Card Style */
.testimonial .testimonial-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    transition: 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* Hover Effect */
.testimonial .testimonial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Remove old arrow bubble */
.testimonial .testimonial-content::after {
    display: none;
}

/* Quote Icon */
.testimonial .fa-quote-left {
    opacity: 0.2;
}

/* Text */
.testimonial .testimonial-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* Profile Image */
.testimonial .testimonial-item img {
    border-radius: 50%;
    border: 3px solid var(--bs-primary);
}

/* Name */
.testimonial .testimonial-item h6 {
    font-weight: 600;
    color: #222;
}

/* Role */
.testimonial .testimonial-item small {
    color: #888;
}

/* Star Rating */
.testimonial .text-warning {
    font-size: 16px;
    letter-spacing: 2px;
    color: #fca311 !important;
}

/* Owl Navigation */
.testimonial .owl-carousel .owl-nav {
    text-align: center;
    margin-top: 30px;
}

.testimonial .owl-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    margin: 0 5px;
    transition: 0.3s;
}

.testimonial .owl-carousel .owl-nav button:hover {
    background: var(--bs-secondary);
}

/* Hide dots if not needed */
.testimonial .owl-dots {
    display: none;
}

/* Smooth Card Animation */
.country-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Hover Lift + Glow */
.country-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Flag Animation */
.country-card:hover .country-flag {
    transform: scale(1.1);
}

/* Flag smooth effect */
.country-flag {
    width: 60px;
    transition: 0.3s ease;
}

/* Light Gradient Hover Effect */
.country-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.country-card:hover::before {
    left: 100%;
}


/*** 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 ***/
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-secondary) !important;
}
/*** copyright end ***/