
/*** 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 {
    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;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-left: -100px;
    border: 1px solid var(--bs-primary) !important;
}

.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: 5px;
    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;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    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;
}


.topbar-shell {
    background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-shell a {
    font-size: 0.9rem;
    opacity: 0.92;
}

.topbar-shell a:hover {
    opacity: 1;
}

.topbar-contact-list,
.topbar-social-list {
    gap: 0.35rem;
}

.topbar-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #d8e5fa !important;
    color: #1d4f9a !important;
    box-shadow: 0 8px 18px rgba(10, 44, 96, .18);
    opacity: 1 !important;
    transition: .2s ease;
}

.topbar-social-btn i { font-size: 14px; }

.topbar-social-btn:hover {
    transform: translateY(-1px);
    color: #fff !important;
    border-color: transparent !important;
}

.topbar-social-btn--facebook:hover { background: #1877f2; }
.topbar-social-btn--twitter:hover { background: #1da1f2; }
.topbar-social-btn--instagram:hover { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.topbar-social-btn--linkedin:hover { background: #0a66c2; }
.topbar-social-btn--youtube:hover { background: #ff0000; }
.topbar-social-btn--tiktok:hover { background: #111111; }

body.dark-mode .topbar-social-btn {
    background: #17243b;
    border-color: #2f4467 !important;
    color: #a8cbff !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.35);
}

body.dark-mode .topbar-social-btn:hover {
    color: #fff !important;
}

@media (max-width: 576px) {
    .topbar {
        display: none;
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Open Sans', sans-serif;
    position: relative;
    margin-right: 14px;
    padding: 22px 0;
    color: var(--bs-dark) !important;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    outline: none;
    transition: .35s;
}

.navbar.navbar-expand-lg {
    width: min(100%);
    height: min(100px);
    margin-inline: auto;
}

.navbar-brand__title {
    font-size: clamp(1rem, 1.3vw, 1.35rem);
    line-height: 1.2;
}

.nav-link--home {
    min-width: 34px;
    justify-content: center;
    padding-inline: 0 !important;
}

.nav-link--home i {
    font-size: .95rem;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 12px 0;
    color: var(--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: 50px;
    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;
    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) !important;
    transition: .5s;
    opacity: 1;
}

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

    .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 var(--color-border);
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 8px 0;
        margin-left: 0;
        margin-right: 0;
        color: var(--bs-dark) !important;
        font-size: 13px;
    }

    .navbar.navbar-expand-lg {
        width: 100%;
    }

    .navbar-brand__title {
        font-size: 1.05rem;
    }

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

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid var(--section-nav-border);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light) !important;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}
/*** Carousel Hero Header Start ***/
.header-carousel {
    position: relative; 
}

.header-carousel .owl-nav .owl-prev {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

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

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 150px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

@media (max-width: 576px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        top: 630px;
        transition: 0.5s;
    }

    .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
        width: 95% !important;
    }
 
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
    position: relative;
    width: 100%;
    height: 700px;
    margin-top: 95px;
    display: block;
    object-fit: cover;
    transition: 0.5s;

}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        margin-top: 0;
        transition: 0.5s;
    }

}

@media (min-width: 992px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        margin-top: 50px;
    }
}

.header-carousel .header-carousel-item .carousel-caption {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-overlay);
}

.header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
    position: relative;
    width: 75%;
    
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 160px 0 60px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-white) !important;
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    box-shadow: var(--shadow-md);
}


.service .service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
}

.service .service-item .service-img {
    height: 220px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.service .service-item .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service .service-item .service-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.service .service-item .service-content .service-content-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.service .service-item .service-img::before {
    width: 100%;
    height: 0;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: 0.5s;
    z-index: 5;
    
}

.service .service-item:hover .service-img::before {
    height: 100%;
    background: color-mix(in srgb, var(--color-primary) 32%, transparent);
}

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

.service .service-item .service-content {
    position: relative;
    z-index: 2;

}

.service .service-item .service-content::before {
    width: 100%;
    height: 8px;
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: color-mix(in srgb, var(--color-primary) 50%, transparent);
    transition: 0.5s;
    z-index: 3;
}

.service .service-item:hover .service-content::before {
    background: color-mix(in srgb, var(--color-primary) 50%, transparent);
    height: 100%;
}

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


.service .service-item:hover .service-content .service-content-inner {
    position: relative;
    color: var(--bs-white) !important;
    z-index: 9;
}
.service .service-item:hover .service-content .service-content-inner h5 {
    color: var(--bs-secondary);
}

/*** Service End ***/

/*** About Start ***/
.about .about-img {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    border-radius: 10px;
}

.about .about-img .about-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about .about-img .about-img-inner {
    position: absolute;
    left: 0; 
    bottom: 0; 
    border: 10px solid; 
    border-color: var(--bs-white) var(--bs-white) var(--bs-white) var(--bs-white);
    border-radius: 50%;

}

.about .about-img .about-experience {
    position: absolute;
    top: 125px; 
    left: -125px; 
    transform: rotate(-90deg);
    background: transparent;
    color: var(--bs-primary);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
}

/*** About End ***/

/*** Feature Start ***/
.feature .feature-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--bs-primary);
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;

}

.feature .feature-item::before {
    width: 0;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover::before {
    width: 100%;
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 82px;
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item .feature-icon > div {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature .feature-item .feature-icon i {
    font-size: 44px;
    line-height: 1;
}

.feature .feature-item .feature-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.feature .feature-item .feature-content h5 {
    min-height: 48px;
}

.feature .feature-item:hover .feature-icon {
    position: relative;
    z-index: 2;
}

.feature .feature-item:hover .feature-content {
    position: relative;
    color: var(--bs-white);
    z-index: 2;
}

.feature .feature-item:hover .feature-content h5 {
    color: var(--bs-dark);
}
/*** Feature End ***/


/*** Appointment Start ***/
.appointment {
    background: linear-gradient(var(--section-appointment-overlay), var(--section-appointment-overlay)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.appointment .appointment-form {
    background: var(--section-appointment-form);
}

.appointment .appointment-form .btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.appointment .appointment-form .btn.btn-primary:hover {
    box-shadow: inset 600px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}
/*** Youtube Video start ***/
.video {
    position: relative;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: content-box;
    display: block;
    width: 33px;
    height: 44px;
    border-radius: 50%;
    transition: 0.5s;
    

}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 115px;
    height: 115px;
    background: var(--bs-primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
    transition: 0.5s;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    transition: all 300ms;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 33px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    margin-left: 5px;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}
/*** Youtube Video End ***/
/*** Appointment End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: -125px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
}

.team .team-item .team-img:hover .team-icon {
    margin-bottom: 145px;
}

.team .team-item:hover .team-img::before {
    background: color-mix(in srgb, var(--color-primary) 32%, transparent);
}

.team .team-item .team-content {
    color: var(--bs-primary);
    transition: 0.5s;
}

.team .team-item .team-content h5 {
    color: var(--bs-secondary);
    transition: 0.5s;
}

.team .team-item:hover .team-content h5 {
    color: var(--bs-dark);
}

.team .team-item:hover .team-content {
    background: var(--bs-primary);
    color: var(--bs-white);
}
/*** Team End ***/


/*** testimonial Start ***/
.testimonial {
    background: linear-gradient(var(--color-overlay-soft), var(--color-overlay-soft)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.testimonial .testimonial-item .testimonial-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    background: transparent;
}

.testimonial .testimonial-item .testimonial-inner .testimonial-inner-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid var(--bs-white);
}

.testimonial .testimonial-carousel.owl-carousel {
    position: relative;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--bs-light);
    color: var(--bs-primary);
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--bs-light);
    color: var(--bs-primary);
    transition: 0.5s;
}


.testimonial .testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .testimonial-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 100px 0 0 0 var(--bs-primary) !important;
    color: var(--bs-white) !important;
}


@media (max-width: 900px) {
    .testimonial .testimonial-carousel .owl-nav .owl-prev {
        margin-top: -190px;
        margin-left: 40px;
    }

    .testimonial .testimonial-carousel .owl-nav .owl-next {
        margin-top: -190px;
        margin-right: 40px;
    }
    
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 15px;
    border: 1px solid var(--bs-white);
    background: transparent;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 20px;
    height: 20px;
    background: var(--bs-secondary) !important;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
}

.testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
    transition: 0.5s;
}

@media (min-width: 900px) {
    .testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
        font-size: 20px;
    }
}


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

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

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

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

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

.testimonial .section-title .sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -50px;
    border: 1px solid var(--bs-white) !important;
}
/*** Testimonial End ***/


/*** Blog Start ***/

.blog .blog-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.blog .blog-item .blog-img {
    height: 240px;
}

.blog .blog-item .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog .blog-item .blog-centent {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

.blog .blog-item .blog-centent .h4 {
    min-height: 3.4rem;
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 70%;
    height: 100%;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: 0.5s;
}

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

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

.blog .blog-item:hover .blog-img::after {
    background: color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.blog .blog-item .blog-centent {
    background: var(--bs-light);
    border: 1px solid var(--bs-primary);
    border-top: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
/*** Blog End ***/


.service .service-item,
.feature .feature-item,
.blog .blog-item {
    width: 100%;
}

.feature .feature-item > .col-12 {
    display: flex;
    flex-direction: column;
    flex: 1;
}


/*** Contact Start ***/
.contact {
    background: linear-gradient(var(--color-overlay-soft), var(--color-overlay-soft)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}


.contact .contact-form .btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.contact .contact-form .btn.btn-light:hover {
    box-shadow: inset 600px 0 0 0 var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

.contact .contact-form .form-floating input,
.contact .contact-form .form-floating textarea,
.contact .contact-form .form-floating label {
    color: var(--bs-light);
}



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

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

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

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

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

.contact .section-title .sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -50px;
    border: 1px solid var(--bs-white) !important;
}
/*** Contact End ***/


/*** Footer Start ***/
.navbar-brand__logo {
    max-height: 52px;
    width: auto;
}

.footer {
    position: relative;
    background: linear-gradient(120deg, #020617 0%, #0b1f47 55%, #0f4c81 100%);
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 45%), radial-gradient(circle at 85% 75%, rgba(56,189,248,.22), transparent 40%);
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer .footer-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 24px 20px;
    height: 100%;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 40px rgba(2, 6, 23, 0.35);
}

.footer .footer-logo {
    max-height: 58px;
    width: auto;
    object-fit: contain;
}

.footer .footer-about-text {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer .footer-item h4 {
    font-weight: 700;
}

.footer .footer-item a {
    line-height: 2;
    color: rgba(255, 255, 255, 0.82);
    transition: 0.35s;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.footer .footer-item a:hover {
    letter-spacing: 0.3px;
    color: #fff;
    transform: translateX(2px);
}

.footer .footer-socials .btn-square {
    width: 36px;
    height: 36px;
}

/*** Footer End ***/
/*** copyright Start ***/
.copyright {
    background: var(--bs-dark) !important;
}
/*** copyright end ***/
/*** Mega Menu Start ***/
.mega-menu {
    position: static;
}

.mega-menu__trigger {
    background: transparent;
    border: 0;
    color: var(--text-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 22px 16px;
    transition: color .3s ease;
}

.mega-menu__trigger:hover,
.mega-menu__trigger:focus-visible {
    color: var(--bs-primary);
    outline: none;
}

.mega-menu__caret {
    font-size: 12px;
    transition: transform .3s ease;
}

.mega-menu__panel {
    position: absolute;
    top: 100%;
    left: 50%;
    width: min(68vw, 980px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .18);
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 14px);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
    z-index: 1040;
}

.mega-menu:hover .mega-menu__panel,
.mega-menu:focus-within .mega-menu__panel,
.mega-menu.is-open .mega-menu__panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.mega-menu:hover .mega-menu__caret,
.mega-menu:focus-within .mega-menu__caret,
.mega-menu.is-open .mega-menu__caret {
    transform: rotate(180deg);
}

.mega-menu__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 22px;
}

.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.mega-menu__category {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
}

.mega-menu__heading {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.mega-menu__category-toggle {
    display: none;
}

.mega-menu__services {
    display: grid;
    gap: 8px;
}

.mega-menu__service {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.mega-menu__service:hover {
    background: #f0f9ff;
    box-shadow: 0 10px 24px rgba(14, 116, 144, .13);
    transform: translateY(-2px);
}

.mega-menu__service h5 {
    font-size: 13px;
    margin: 0;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mega-menu__service-content {
    min-width: 0;
    flex: 1;
}

.mega-menu__service p {
    display: none;
}

@media (max-width: 1199.98px) {
    .mega-menu__panel {
        width: min(90vw, 860px);
    }

    .mega-menu__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .mega-menu {
        width: 100%;
    }

    .mega-menu__trigger {
        width: 100%;
        justify-content: space-between;
        padding: 12px 0;
    }

    .mega-menu__panel {
        position: relative;
        width: 100%;
        box-shadow: none;
        border-radius: 14px;
        margin: 8px 0 12px;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height .35s ease;
    }

    .mega-menu.is-open .mega-menu__panel {
        max-height: min(75vh, 680px);
        overflow-y: auto;
    }

    .mega-menu__inner {
        padding: 10px;
    }

    .mega-menu__grid {
        display: block;
    }

    .mega-menu__category {
        margin-bottom: 10px;
    }

    .mega-menu__heading {
        display: block;
        margin-bottom: 10px;
    }

    .mega-menu__category-toggle {
        display: none;
    }

    .mega-menu__services {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand__title {
        font-size: 1rem;
    }

    .navbar-light .navbar-nav .nav-link {
        font-size: 13px;
        gap: 6px;
    }

    .mega-menu__service {
        padding: 10px;
        gap: 8px;
    }
}
/*** Mega Menu End ***/

/*** Theme + Language Controls Start ***/
body {
    transition: background-color .3s ease, color .3s ease;
}

body.theme-fade {
    animation: themeFade .3s ease;
}

@keyframes themeFade {
    from { opacity: .65; }
    to { opacity: 1; }
}

.navbar,
.dropdown-menu,
.mega-menu__panel,
.mega-menu__category,
.mega-menu__service {
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.navbar {
    background-color: var(--surface-color) !important;
}

.navbar .nav-link,
.mega-menu__trigger,
.dropdown-menu .dropdown-item {
    color: var(--text-color);
}

body.dark-mode .navbar .nav-link,
body.dark-mode .mega-menu__trigger,
body.dark-mode .dropdown-menu .dropdown-item {
    color: var(--text-color);
}

.nav-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-inline: 12px;
}

.nav-toolbar__btn {
    border: 1px solid var(--border-color);
    background: var(--surface-muted);
    color: var(--text-color);
    border-radius: 999px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .25s ease;
}

.nav-toolbar__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px var(--shadow-color);
}

.nav-toolbar__icon {
    font-size: 16px;
    line-height: 1;
}

.nav-toolbar__text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

body.dark-mode .mega-menu__panel,
body.dark-mode .dropdown-menu {
    background: var(--surface-color);
    border-color: var(--border-color);
    box-shadow: 0 22px 55px var(--shadow-color);
}

body.dark-mode .mega-menu__category {
    background: var(--color-surface-elevated);
    border-color: var(--border-color);
}

body.dark-mode .mega-menu__service {
    background: var(--color-surface-muted);
    border-color: var(--border-color);
}

body.dark-mode .mega-menu__service:hover {
    background: var(--color-hover);
}

body.dark-mode .mega-menu__service h5,
body.dark-mode .mega-menu__heading {
    color: var(--nav-dropdown-title);
}

body.dark-mode .mega-menu__service p {
    color: var(--nav-dropdown-text);
}

body.dark-mode .mega-menu__service,
body.dark-mode .mega-menu__service:visited {
    color: var(--nav-dropdown-text);
}

body.dark-mode .mega-menu__service:hover {
    background: var(--nav-dropdown-hover-bg);
    box-shadow: 0 12px 28px var(--shadow-color);
}

body.dark-mode .mega-menu__service:hover h5,
body.dark-mode .mega-menu__service:focus-visible h5,
body.dark-mode .mega-menu__service:focus-visible .mega-menu__heading {
    color: var(--nav-dropdown-text-strong);
}

body.dark-mode .mega-menu__service:hover p,
body.dark-mode .mega-menu__service:focus-visible p {
    color: var(--nav-dropdown-text-strong);
    opacity: .94;
}

body.dark-mode .dropdown-menu .dropdown-item {
    color: var(--nav-dropdown-text-strong) !important;
}

body.dark-mode .dropdown-menu .dropdown-item:hover,
body.dark-mode .dropdown-menu .dropdown-item:focus {
    background-color: var(--nav-dropdown-hover-bg);
    color: var(--nav-dropdown-text-strong) !important;
}

[dir="rtl"] .navbar-nav {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .nav-toolbar {
    margin-inline: 0 12px;
}

[dir="rtl"] .mega-menu__service {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .mega-menu__trigger,
[dir="rtl"] .nav-toolbar__btn {
    flex-direction: row-reverse;
}

@media (max-width: 991.98px) {
    .nav-toolbar {
        width: 100%;
        margin: 10px 0;
        justify-content: flex-start;
    }

    [dir="rtl"] .nav-toolbar {
        justify-content: flex-end;
    }
}
/*** Theme + Language Controls End ***/

/* Product design system consistency */
.product-grid-col {
    display: flex;
}

.product-grid-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(25, 35, 58, 0.08);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.product-grid-media-wrap {
    height: 230px;
    overflow: hidden;
}

.product-grid-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-grid-content {
    min-height: 230px;
}

.product-grid-title {
    font-weight: 700;
    line-height: 1.35;
}

.product-grid-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.product-grid-price {
    font-size: 1rem;
    letter-spacing: .2px;
}

.mega-menu__service-thumb,
.mega-menu__service img {
    width: clamp(52px, 4.5vw, 64px);
    height: clamp(52px, 4.5vw, 64px);
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f4f7fb;
    border: 1px solid rgba(25, 35, 58, 0.08);
}

@media (max-width: 991.98px) {
    .product-grid-media-wrap {
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    .product-grid-media-wrap {
        height: 210px;
    }

    .product-grid-content {
        min-height: 0;
    }
}

.navbar .nav-link {
    transition: color .25s ease, transform .25s ease;
}

.navbar .nav-link:hover {
    color: var(--bs-primary);
    transform: translateY(-1px);
}

.navbar .nav-link.active {
    color: var(--bs-primary) !important;
    font-weight: 700;
}

.partners-hero {
    padding-block: clamp(5.5rem, 9vw, 8.5rem) clamp(2.5rem, 5vw, 4rem);
    background: var(--partners-hero-bg);
}

.partners-hero__content {
    width: min(100%, 860px);
    padding-inline: clamp(.25rem, 2vw, 1rem);
}

.partners-hero__eyebrow {
    color: var(--bs-primary);
    text-transform: uppercase;
    letter-spacing: .14rem;
    font-weight: 700;
    margin-bottom: .85rem;
    font-size: clamp(.78rem, 1.3vw, .95rem);
}

.partners-hero__title {
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.partners-hero__subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: var(--partners-subtitle-color);
    line-height: 1.85;
    font-size: clamp(.98rem, 1.5vw, 1.15rem);
}

.partners-section {
    padding-block: clamp(1rem, 2vw, 1.5rem) clamp(2.75rem, 6vw, 4.5rem);
}

.partners-grid,
.partner-skeleton-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    align-items: stretch;
}

.partners-grid {
    margin-inline: auto;
}

.partner-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--partners-card-bg);
    border: 1px solid var(--partners-card-border);
    border-radius: 18px;
    box-shadow: var(--partners-card-shadow);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--partners-card-shadow-hover);
}

.partner-card__logo-wrap {
    min-height: clamp(130px, 22vw, 170px);
    max-height: clamp(130px, 22vw, 170px);
    background: var(--partners-card-logo-bg);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 1.5rem;
}

.partner-card__logo {
    max-height: 100px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: transform .35s ease;
    filter: drop-shadow(0 6px 16px rgba(11, 18, 32, .12));
}

.partner-card:hover .partner-card__logo {
    transform: scale(1.06);
}

.partner-card__body {
    padding: clamp(1rem, 2.2vw, 1.35rem);
    display: flex;
    flex: 1;
    flex-direction: column;
}

.partner-card__title {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    margin-bottom: .65rem;
    color: var(--partners-card-title);
}

.partner-card__description {
    color: var(--partners-card-description);
    margin-bottom: 1rem;
    line-height: 1.65;
    flex: 1;
    font-size: clamp(.92rem, 1.2vw, 1rem);
}

.partner-card__link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .35rem;
    color: var(--partners-card-link);
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.partner-card__link:hover {
    color: var(--partners-card-link-hover);
    transform: translateX(2px);
}

.partners-empty-state {
    border: 1px dashed var(--partners-empty-border);
    border-radius: 20px;
    padding: 3.5rem 2rem;
    background: var(--partners-empty-bg);
}

.partners-empty-state__icon {
    font-size: 2.2rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.partner-skeleton-card {
    border-radius: 18px;
    min-height: 320px;
    background: linear-gradient(90deg, #f5f7fa 25%, #eef2f8 37%, #f5f7fa 63%);
    background-size: 400% 100%;
    animation: partner-skeleton 1.2s ease infinite;
}

@keyframes partner-skeleton {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

@media (min-width: 768px) {
    .partners-grid,
    .partner-skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .partners-grid,
    .partner-skeleton-grid {
        gap: 1rem;
    }

    .partners-empty-state {
        padding: 2.25rem 1.1rem;
        border-radius: 16px;
    }
}

@media (min-width: 992px) {
    .partners-grid,
    .partner-skeleton-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .partners-grid,
    .partner-skeleton-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .partners-hero {
        padding-top: 6.25rem;
    }
}


@media (max-width: 575.98px) {
    .partners-hero {
        padding-top: 5rem;
        padding-bottom: 2rem;
    }

    .partners-hero__eyebrow {
        margin-bottom: .6rem;
        letter-spacing: .1rem;
    }

    .partners-hero__title {
        line-height: 1.2;
        margin-bottom: .8rem;
    }

    .partners-hero__subtitle {
        line-height: 1.7;
        font-size: .95rem;
    }

    .partners-section {
        padding-bottom: 2.75rem;
    }

    .partner-card {
        border-radius: 16px;
    }

    .partner-skeleton-card {
        min-height: 280px;
        border-radius: 16px;
    }
}



@media (max-width: 991.98px) {
    .service .service-item .service-img,
    .blog .blog-item .blog-img {
        height: 210px;
    }
}

@media (max-width: 575.98px) {
    .service .service-item .service-img,
    .blog .blog-item .blog-img {
        height: 190px;
    }
}


@media (max-width: 991.98px) {
    .about .about-img {
        min-height: 360px;
    }
}

@media (max-width: 575.98px) {
    .about .about-img {
        min-height: 300px;
    }
}

/* Partners v2 refresh */
.partners-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2850 0%, #125eaf 58%, #2f7fe1 100%);
    color: #fff;
    padding-block: clamp(6rem, 10vw, 8rem) clamp(3rem, 6vw, 4.5rem);
}

.partners-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 12%, rgba(255,255,255,.2), transparent 35%), radial-gradient(circle at 88% 82%, rgba(255,255,255,.15), transparent 34%);
    pointer-events: none;
}

.partners-hero__content { position: relative; z-index: 2; }
.partners-hero__eyebrow { color: #cfe3ff; }
.partners-hero__title { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.8rem); }
.partners-hero__subtitle { color: rgba(236,244,255,.95); }

.partners-hero__metrics { margin-top: 1.5rem; }
.partners-metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.12);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

.partners-section {
    margin-top: -18px;
    position: relative;
    z-index: 2;
}

.partners-toolbar {
    background: #fff;
    border: 1px solid #e1e9f6;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 10px 24px rgba(16, 30, 54, .08);
}

.partners-toolbar__title {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 800;
    color: #123261;
}

.partners-toolbar__subtitle {
    color: #60708a;
    font-size: 14px;
}

.partners-toolbar__count {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    border-radius: 12px;
    background: #f0f6ff;
    color: #1658ab;
    padding: 8px 12px;
    font-weight: 800;
}

.partners-toolbar__count small {
    font-size: 11px;
    color: #43628b;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.partner-card {
    border-radius: 20px;
    border-color: #deebf8;
    box-shadow: 0 12px 26px rgba(18, 42, 84, .08);
}

.partner-card__logo-wrap {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fd 100%);
    min-height: 150px;
    max-height: 150px;
}

.partner-card__body { padding: 18px; }
.partner-card__title { font-size: 1.05rem; font-weight: 800; }
.partner-card__description { font-size: .94rem; }

.partner-card__link {
    padding: 8px 12px;
    border-radius: 10px;
    background: #edf4ff;
    width: fit-content;
}

body.dark-mode .partners-hero {
    background: linear-gradient(135deg, #0f1c32 0%, #15325d 62%, #23549b 100%);
}

body.dark-mode .partners-toolbar,
body.dark-mode .partner-card,
body.dark-mode .partners-empty-state {
    background: #121b2b;
    border-color: #243247;
    box-shadow: 0 10px 24px rgba(0,0,0,.34);
}

body.dark-mode .partners-toolbar__title,
body.dark-mode .partner-card__title,
body.dark-mode .partners-empty-state h2 {
    color: #e7edf8;
}

body.dark-mode .partners-toolbar__subtitle,
body.dark-mode .partner-card__description,
body.dark-mode .partners-empty-state p,
body.dark-mode .partners-toolbar__count small {
    color: #9fb5d4;
}

body.dark-mode .partners-toolbar__count,
body.dark-mode .partner-card__link {
    background: #1b2940;
    color: #9ec5ff;
}

body.dark-mode .partner-card__logo-wrap {
    background: linear-gradient(180deg, #19263a 0%, #131f30 100%);
}

@media (max-width: 575.98px) {
    .partners-hero { padding-top: 5.3rem; }
    .partners-toolbar { padding: 14px; }
    .partners-toolbar__count { width: 100%; justify-content: center; }
}

/* compact controls */
.nav-toolbar__btn { padding: 6px 10px; gap: 5px; min-height: 34px; }
.nav-toolbar__icon { font-size: 13px; }
.nav-toolbar__text { font-size: 11px; font-weight: 700; }
@media (max-width: 991.98px) {
  .nav-toolbar { gap: 6px; margin-top: 8px; }
  .nav-toolbar__btn { padding: 6px 9px; }
}

/* partners hover overlay */
.partner-card { position: relative; }
.partner-card__overlay {
  position: absolute; inset: 0; padding: 1rem; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(6,14,28,.08), rgba(8,20,44,.88)); color: #fff;
  opacity: 0; transform: translateY(8px); transition: all .25s ease;
}
.partner-card:hover .partner-card__overlay { opacity: 1; transform: translateY(0); }
.partner-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .6rem; }
.partner-card__actions a { color: #fff; background: rgba(255,255,255,.16); border-radius: 999px; padding: 6px 10px; font-size: 13px; }
.partner-card__actions a:hover { background: rgba(255,255,255,.26); color: #fff; }

/* clients logo wall */
.client-logo-card { position: relative; border: 1px solid #dbe6f7; border-radius: 14px; min-height: 130px; display: grid; place-items: center; background: #fff; overflow: hidden; }
.client-logo-card__img { max-width: 78%; max-height: 68px; object-fit: contain; filter: grayscale(.12); }

.client-logo-card__placeholder { width: 62px; height: 62px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #2b5faa; background: #ecf3ff; border: 1px solid #d9e7fb; }
body.dark-mode .client-logo-card__placeholder { background: #1a2a43; border-color: #2e4568; color: #aecdff; }

.client-logo-card__overlay { position: absolute; inset: 0; background: rgba(12,24,46,.88); color: #fff; opacity: 0; transition: .25s ease; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:10px; }
.client-logo-card:hover .client-logo-card__overlay { opacity: 1; }
.client-logo-card__links { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; }
.client-logo-card__links a { width:30px; height:30px; border-radius:999px; background:rgba(255,255,255,.2); color:#fff; display:grid; place-items:center; }
body.dark-mode .client-logo-card { background:#121b2b; border-color:#2a3a52; }
body.dark-mode .client-logo-card__overlay { background: rgba(5,12,24,.9); }

/* refined toggle controls */
.nav-toolbar__btn--toggle {
    padding: 4px;
    min-height: 34px;
    min-width: 78px;
    border-radius: 999px;
    background: var(--surface-muted);
    gap: 4px;
}

.nav-toggle-pill {
    width: 30px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-color);
    opacity: .75;
    transition: all .2s ease;
}

.nav-toggle-pill.is-active {
    background: var(--bs-primary);
    color: #fff;
    opacity: 1;
    box-shadow: 0 6px 14px rgba(32, 85, 172, .35);
}

body.dark-mode .nav-toolbar__btn--toggle {
    background: #18243a;
    border-color: #2d3f5c;
}

@media (max-width: 991.98px) {
    .nav-toolbar__btn--toggle {
        min-width: 74px;
    }
}

/* stronger active state + responsive navbar controls */
.nav-toggle-pill {
    border: 1px solid transparent;
}

.nav-toggle-pill:not(.is-active) {
    background: rgba(116, 134, 164, .14);
}

.nav-toolbar__btn--toggle .nav-toggle-pill.is-active {
    transform: translateY(-1px) scale(1.03);
    border-color: rgba(255, 255, 255, .45);
}

.nav-toolbar__btn--toggle.is-dark,
.nav-toolbar__btn--toggle.is-ar {
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .24), 0 8px 20px rgba(15, 23, 42, .08);
}

@media (max-width: 991.98px) {
    .navbar .navbar-collapse {
        padding-top: 12px;
    }

    .navbar .nav-toolbar {
        width: 100%;
        justify-content: center;
        margin: 10px 0 12px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .navbar .nav-toolbar__btn--toggle {
        min-width: 88px;
        min-height: 36px;
    }

    .navbar .btn.rounded-pill {
        width: 100%;
        justify-content: center;
    }
}

[dir="rtl"] .navbar .nav-toolbar {
    flex-direction: row;
}

/* clients page showcase */
.clients-showcase {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.clients-showcase__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.clients-showcase__stat-card {
    border: 1px solid #d9e7fa;
    border-radius: 14px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(17, 39, 77, .06);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.clients-showcase__stat-number {
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: #11428a;
}

.clients-showcase__stat-label {
    color: #657892;
    font-size: .88rem;
    font-weight: 600;
}

.clients-showcase__empty {
    border: 1px dashed #cdddf5;
    border-radius: 18px;
    padding: 32px 20px;
    color: #5f7392;
    background: #f8fbff;
}

.clients-showcase__empty i {
    width: 56px;
    height: 56px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #eaf2ff;
    color: #2b66b6;
    font-size: 1.25rem;
}

@media (max-width: 991.98px) {
    .clients-showcase__stats {
        grid-template-columns: 1fr;
    }
}

/* professional mobile navbar refresh */
@media (max-width: 991.98px) {
    .navbar.navbar-expand-lg {
        min-height: 78px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 12px;
        border: 1px solid #c9daf6;
        background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
        box-shadow: 0 8px 18px rgba(19, 61, 123, .12);
    }

    .navbar.navbar-expand-lg .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(35, 93, 181, .25);
    }

    .navbar-light .navbar-collapse {
        margin-top: 12px;
        border: 1px solid #d8e6fb;
        border-radius: 16px;
        padding: 14px;
        background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
        box-shadow: 0 12px 30px rgba(16, 41, 82, .1);
    }

    .navbar-light .navbar-nav {
        gap: 6px;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        width: 100%;
        border-radius: 10px;
        padding: 10px 12px;
        background: transparent;
    }

    .navbar-light .navbar-nav .nav-link.active,
    .navbar-light .navbar-nav .nav-link:hover,
    .mega-menu__trigger:hover,
    .mega-menu__trigger:focus-visible {
        background: #e8f1ff;
        color: #11428a !important;
    }
}

body.dark-mode .clients-showcase {
    background: linear-gradient(180deg, #0f1729 0%, #101c31 100%);
}

body.dark-mode .clients-showcase__stat-card {
    background: #16243a;
    border-color: #2a3d58;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}

body.dark-mode .clients-showcase__stat-number {
    color: #b7d4ff;
}

body.dark-mode .clients-showcase__stat-label,
body.dark-mode .clients-showcase__empty {
    color: #a2bad9;
}

body.dark-mode .clients-showcase__empty {
    background: #111c30;
    border-color: #2b3f5b;
}

body.dark-mode .clients-showcase__empty i {
    background: #1a2b45;
    color: #a6ccff;
}

@media (max-width: 991.98px) {
    body.dark-mode .navbar.navbar-expand-lg .navbar-toggler {
        background: linear-gradient(180deg, #1b2a42 0%, #162336 100%);
        border-color: #314b73;
    }

    body.dark-mode .navbar-light .navbar-collapse {
        background: linear-gradient(180deg, #131f34 0%, #101a2d 100%);
        border-color: #2b3f5d;
        box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
    }

    body.dark-mode .navbar-light .navbar-nav .nav-link.active,
    body.dark-mode .navbar-light .navbar-nav .nav-link:hover,
    body.dark-mode .mega-menu__trigger:hover,
    body.dark-mode .mega-menu__trigger:focus-visible {
        background: #1f3350;
        color: #9dc3ff !important;
    }
}

/* RTL hero/blog slider stability fixes */
[dir="rtl"] .header-carousel .carousel-caption .carousel-caption-content,
[dir="rtl"] .blog-slide-content .inner {
    text-align: right;
    direction: rtl;
}

/* Home nav label + responsive navbar fixes */
.nav-link--home {
    min-width: auto;
    gap: 8px;
    padding-inline: 10px !important;
}

@media (max-width: 991.98px) {
    .navbar-light {
        position: relative;
        z-index: 1055;
        background: var(--surface-color) !important;
    }

    .navbar-light .navbar-collapse {
        position: relative;
        z-index: 1056;
        padding: 10px 12px;
        border-radius: 14px;
    }
}

.header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
    margin-inline: auto;
    text-align: center;
}

[dir="rtl"] .header-carousel .carousel-caption .carousel-caption-content {
    text-align: right;
    margin-left: auto;
    margin-right: 8%;
}

[dir="rtl"] .header-carousel .header-carousel-item .carousel-caption {
    justify-content: flex-end;
}
