/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** 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;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 5px;
}
/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
/*** Header ***/
/* Carousel Height */
.carousel .carousel-item {
    height: 720px;
}

.carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carousel Caption */
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, .5);
    padding: 2rem;
    padding-left: 11rem;
    z-index: 1;
}

/* Indicators */
.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Tablet */
@media (max-width: 992px) {
    .carousel .carousel-item {
        height: 450px;
        min-height: 0;
    }

    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    .carousel .carousel-caption {
        padding-left: 10rem;
    }
}


/* Mobile */
@media (max-width: 768px) {
    .carousel .carousel-item {
        height: 380px;
        min-height: 0;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding: 1.5rem;
        padding-left: 7rem;
    }
}


/* Small Mobile */
@media (max-width: 576px) {
    .carousel .carousel-item {
        height: 350px;
    }

    .carousel .carousel-caption {
        padding-left: 6.5rem;
    }
}


/* Large Desktop */
@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 5rem;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}


/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}


/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1) 50%), url(../img/carousel-1.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.feature-icon {
    position: relative;
    transition: .5s;
}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.feature-item a:hover {
    color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 15px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 15px !important;
}


/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-2.jpg) left center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Appoinment ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}




.sticky-contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.sticky-contact-buttons a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 21px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.sticky-call {
    background: #0d6efd;
}

.sticky-whatsapp {
    background: #25D366;
}

.sticky-contact-buttons a:hover {
    transform: translateY(-4px);
    color: #fff;
}

/* Mobile */
@media (max-width: 576px) {
    .sticky-contact-buttons {
        right: 15px;
        bottom: 18px;
        gap: 10px;
    }

    .sticky-contact-buttons a {
        width: 48px;
        height: 48px;
        font-size: 19px;
    }
}




/* =========================================================
   T S SERVICES - CUSTOM SECTION STYLING
   ========================================================= */


/* ---------------------------------------------------------
   1. SERVICE PROCESS SECTION
   --------------------------------------------------------- */

.service-process-card {
    position: relative;
    height: 100%;
    padding: 40px 28px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    transition: all 0.35s ease;
    overflow: hidden;
}

.service-process-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bs-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}

.service-process-card:hover::before {
    transform: scaleX(1);
}

.service-process-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: #f5f5f5;
    transition: all 0.35s ease;
}

.service-process-card:hover .service-process-icon {
    background: var(--bs-primary);
}

.service-process-card:hover .service-process-icon i {
    color: #ffffff !important;
}

.service-process-icon i {
    transition: all 0.35s ease;
}

.service-process-number {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: rgba(0, 0, 0, 0.05);
}


/* ---------------------------------------------------------
   2. TESTIMONIAL SECTION
   --------------------------------------------------------- */

.ts-testimonial-card {
    position: relative;
    height: 100%;
    padding: 40px 35px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    transition: all 0.35s ease;
}

.ts-testimonial-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}

.ts-testimonial-card::before {
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 42px;
    color: rgba(0, 0, 0, 0.05);
}

.ts-testimonial-stars {
    margin-bottom: 20px;
}

.ts-testimonial-stars i {
    font-size: 14px;
    color: var(--bs-primary);
    margin-right: 3px;
}

.ts-testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 25px;
}

.ts-testimonial-name {
    margin-bottom: 3px;
    font-size: 16px;
    font-weight: 700;
}

.ts-testimonial-role {
    font-size: 13px;
    color: var(--bs-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ---------------------------------------------------------
   3. FAQ SECTION
   --------------------------------------------------------- */

.ts-faq .accordion-item {
    border: 0 !important;
    border-bottom: 1px solid #e5e5e5 !important;
    background: #ffffff;
    margin-bottom: 12px;
}

.ts-faq .accordion-button {
    padding: 20px 22px;
    background: #ffffff;
    color: #222222;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: none !important;
}

.ts-faq .accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background: #f8f8f8;
}

.ts-faq .accordion-button::after {
    background-size: 14px;
}

.ts-faq .accordion-body {
    padding: 0 22px 22px;
    color: #666666;
    line-height: 1.8;
    background: #f8f8f8;
}


/* ---------------------------------------------------------
   4. CTA SECTION
   --------------------------------------------------------- */

.ts-cta {
    position: relative;
    overflow: hidden;
}

.ts-cta::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 50px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    right: -80px;
    top: -100px;
}

.ts-cta::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 30px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    left: -70px;
    bottom: -80px;
}

.ts-cta .container {
    position: relative;
    z-index: 2;
}

.ts-cta-title {
    font-size: 36px;
    font-weight: 700;
}

.ts-cta-text {
    max-width: 750px;
    line-height: 1.8;
}

.ts-cta .btn {
    transition: all 0.3s ease;
}

.ts-cta .btn:hover {
    transform: translateY(-3px);
}


/* ---------------------------------------------------------
   5. SECTION HEADINGS
   --------------------------------------------------------- */

.ts-section-title {
    position: relative;
    margin-bottom: 45px;
}

.ts-section-title h1 {
    font-weight: 700;
}

.ts-section-title p {
    max-width: 650px;
    margin: 15px auto 0;
    color: #666666;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   6. GENERAL CARD HOVER
   --------------------------------------------------------- */

.ts-hover-card {
    transition: all 0.35s ease;
}

.ts-hover-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}


/* ---------------------------------------------------------
   7. MOBILE
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .service-process-card {
        padding: 35px 25px;
    }

    .ts-testimonial-card {
        padding: 35px 25px;
    }

    .ts-cta-title {
        font-size: 30px;
    }

}


@media (max-width: 575px) {

    .service-process-card {
        padding: 30px 22px;
    }

    .service-process-icon {
        width: 65px;
        height: 65px;
    }

    .ts-testimonial-card {
        padding: 30px 22px;
    }

    .ts-faq .accordion-button {
        padding: 17px;
        font-size: 14px;
    }

    .ts-faq .accordion-body {
        padding: 0 17px 18px;
    }

    .ts-cta-title {
        font-size: 26px;
    }

}






.ts-cta {
    position: relative;
    overflow: hidden;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}








/* Topbar */
.topbar-custom {
    background-color: #ffffff !important;
    border-bottom: 1px solid #eeeeee;
    padding: 0 !important;
}

.topbar-custom .container {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

.topbar-custom small {
    font-size: 14px;
    color: #555555 !important;
    line-height: 1.4;
}

.topbar-custom i {
    color: #777777;
}

.topbar-custom .social-icons a {
    color: #777777;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.topbar-custom .social-icons a:hover {
    color: #73abb5;
}


.sticky-contact-buttons a.sticky-whatsapp {
    background: #25D366 !important;
    border-color: #25D366 !important;
}
.sticky-contact-buttons a.sticky-whatsapp,
.sticky-contact-buttons a.sticky-whatsapp i,
.sticky-contact-buttons a.sticky-whatsapp i::before {
    color: #fff !important;
}

/* =========================================================
   HEADER CALL BUTTON
   Strong rules so page-level .btn styles never leak in
   ========================================================= */
.navbar .btn-header,
.navbar .btn-header.btn-primary {
    background:#22438a !important;
    border-color: #22438a !important;
    color: #ffffff !important;
    border-radius: 5px !important;
    font-weight: 1000 !important;
    font-size: .94rem !important;

    text-transform: uppercase !important;
    padding: .8rem 1.7rem !important;
    transition: all .3s ease !important;

}

.navbar .btn-header:hover,
.navbar .btn-header:focus {
    background: white !important;
border:1px solid black !important;
    color:black !important;
    transform: translateY(-2px) !important;
   
}
.hero-btn:hover{
    background: white !important;
    border:1px solid black !important;
    color:black !important;
    transform: translateY(-2px) !important;
} 

   .ts-hero {
            position: relative; overflow: hidden;
               background: linear-gradient(rgba(0, 0, 0, .95), rgba(0, 0, 0, .15)), #22438a;
            padding: 170px 0 150px;
            text-align: center;
        }
        /* =========================================================
   RESPONSIVE HEADER (TOPBAR + NAVBAR)
   ========================================================= */

/* Logo (removed inline style — now controlled here) */
.brand-logo {
    max-height: 90px;
    width: auto;
    transition: max-height .3s ease;
}

.navbar-custom {
    z-index: 1030;
}

.navbar .btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
}

/* ---------- Mobile Quick Bar ---------- */
.topbar-mobile {
    border-bottom: 1px solid #eee;
}

.topbar-mobile-link {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
}

.topbar-mobile-link i { color: #22438a; }
.topbar-mobile-link:hover { color: #22438a; }

/* ---------- Toggler ---------- */
.navbar-toggler {
    border: 1px solid rgba(34, 67, 138, .35);
    border-radius: 5px;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(34, 67, 138, .2);
}

/* ---------- Call Icon Next To Toggler (Mobile) ---------- */
.header-call-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22438a;
    color: #fff !important;
    border-radius: 5px;
    text-decoration: none;
    transition: all .3s ease;
}

.header-call-icon:hover {
    background: #1a346e;
    transform: translateY(-2px);
}

/* ---------- Dropdown items (all screens) ---------- */
.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
    color: var(--bs-primary);
    background: rgba(34, 67, 138, .06);
}

/* =========================================================
   MOBILE MENU (below 992px)
   ========================================================= */
@media (max-width: 991.98px) {

    /* Compact logo */
    .brand-logo { max-height: 55px; }

    .navbar { padding-top: 10px; padding-bottom: 10px; }

    /* Collapsed menu panel */
    .navbar-collapse {
        background: #fff;
        margin-top: 10px;
        padding: 5px 16px 18px;
        border-top: 2px solid #22438a;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 12px 25px rgba(0, 0, 0, .08);
        max-height: calc(100vh - 130px);
        overflow-y: auto;
    }

    /* Links */
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 13px 4px;
        font-size: 15px;
        border-bottom: 1px solid #f1f1f1;
    }

    /* Sub-menu */
    .navbar .dropdown-menu {
        background: #f8f9fa;
        border: 0;
        box-shadow: none;
        margin: 0;
        padding: 4px 0;
        border-radius: 0;
    }

    .navbar .dropdown-item {
        position: relative;
        padding: 10px 15px 10px 30px;
        font-size: 14px;
        color: #555;
    }

    .navbar .dropdown-item::before {
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        left: 5px;
        color: #22438a;
    }

    /* Rotate caret when submenu is open */
    .navbar .dropdown-toggle::after { transition: transform .3s ease; }
    .navbar .nav-item.dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    /* Full-width call button inside menu */
    .btn-header-block {
        display: flex !important;
        width: 100%;
        justify-content: center;
        padding: 13px 20px !important;
        font-size: 14px !important;
    }
}

/* =========================================================
   SMALL PHONES (below 576px)
   ========================================================= */
@media (max-width: 575.98px) {
    .brand-logo { max-height: 46px; }
    .navbar { padding-top: 8px; padding-bottom: 8px; }
    .header-call-icon { width: 38px; height: 38px; font-size: 14px; }
}

/* =========================================================
   SMALL DESKTOP / LAPTOP (992px – 1200px) — Topbar fits
   ========================================================= */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .topbar-custom small { font-size: 12px; }
    .topbar-custom .social-icons a { font-size: 12px; }
    .topbar-custom .ms-4 { margin-left: .9rem !important; }
}
/* Topbar clickable email & phone */
.topbar-link {
    color: #555555;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color .3s ease;
}

.topbar-link i {
    color: #777777;
    transition: color .3s ease;
}

.topbar-link:hover,
.topbar-link:hover i {
    color: #73abb5;
}
/* =========================================================
   PREMIUM MOBILE HEADER
   ========================================================= */

.brand-logo {
    max-height: 80px !important;
    width: auto;
    transition: max-height .3s ease;
}

.navbar-custom {
    z-index: 1030;
}

/* ---------- Custom Hamburger → X ---------- */
.custom-toggler {
    border: none !important;
    background: transparent;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: none !important;
    
}

.toggler-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #22438a;
    border-radius: 2px;
    transition: all .3s ease;
}

.custom-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.custom-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
    opacity: 0;
}
.custom-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Backdrop ---------- */
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 1025;
}

body.menu-open .menu-backdrop {
    opacity: 1;
    visibility: visible;
}

/* Lock page scroll while menu is open */
body.menu-open {
    overflow: hidden;
}

/* =========================================================
   MOBILE MENU — OVERLAY (below 992px)
   ========================================================= */
@media (max-width: 991.98px) {

    .brand-logo { max-height: 44px; }

    .navbar {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    /* ---- The overlay panel ---- */
    .navbar-custom .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 6px 24px 24px;
        border-top: 1px solid #f1f1f1;
        box-shadow: 0 30px 50px -15px rgba(0, 0, 0, .15);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        margin-top: 0;
        animation: menuDrop .3s ease;
    }

    @keyframes menuDrop {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* ---- Links ---- */
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 15px 2px;
        font-size: 14px;
        letter-spacing: .6px;
        border-bottom: 1px solid #f4f4f4;
        color: #1e293b;
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        color: var(--bs-primary);
    }

    /* ---- Services submenu ---- */
    .navbar .dropdown-menu {
        display: block;              /* avoids Bootstrap desktop hover clash */
        background: #f8f9fb;
        border: 0;
        border-radius: 10px;
        margin: 8px 0 12px;
        padding: 4px 0;
        box-shadow: none;
    }

    .navbar .dropdown-menu.show {
        animation: menuDrop .25s ease;
    }

    .navbar .dropdown-item {
        padding: 11px 18px;
        font-size: 13.5px;
        color: #556070;
        border-radius: 6px;
        transition: all .2s ease;
    }

    .navbar .dropdown-item:hover,
    .navbar .dropdown-item.active {
        background: transparent;
        color: var(--bs-primary);
        padding-left: 24px;
    }

    /* Rotate caret when submenu open */
    .navbar .dropdown-toggle::after { transition: transform .3s ease; }
    .navbar .nav-item.dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    /* ---- CTA button ---- */
    .btn-header-block {
        display: flex !important;
        width: 100%;
        justify-content: center;
        padding: 14px 20px !important;
        font-size: 13px !important;
        letter-spacing: 1px !important;
        border-radius: 8px !important;
    }
}

/* Small phones */
@media (max-width: 575.98px) {
    .brand-logo { max-height: 40px; }
}

/* =========================================================
   SMALL LAPTOP TOPBAR FIT (unchanged)
   ========================================================= */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .topbar-custom small { font-size: 12px; }
    .topbar-custom .social-icons a { font-size: 12px; }
    .topbar-custom .ms-4 { margin-left: .9rem !important; }
}

/* =========================================================
   OUR STAFF SECTION — wide-image collage
   ========================================================= */

.ts-staff-gallery {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.ts-staff-img {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
}

.ts-staff-img img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;      /* landscape-friendly crop */
    object-fit: cover;
    transition: transform .7s ease;
}

.ts-staff-img:hover img {
    transform: scale(1.06);
}

/* Image 1 — slightly narrower, anchored left */
.ts-staff-img-1 {
    width: 90%;
}

/* Image 2 — pulled up over image 1, offset right.
   White border creates the separation line. */
.ts-staff-img-2 {
    position: relative;
    z-index: 2;
    width: 78%;
    margin-left: auto;
    margin-top: -14%;
    border: 8px solid #ffffff;
}

/* ---- Text column ---- */
.ts-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #22438a;
    margin-bottom: 10px;
}

.ts-eyebrow::before {
    content: "";
    width: 42px;
    height: 2px;
    background: #22438a;
    margin-right: 12px;
}

.ts-staff-text {
    color: #666666;
    line-height: 1.8;
    max-width: 520px;
}

.ts-staff-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    color: #444444;
}

.ts-staff-points i {
    color: #22438a;
    margin-right: 8px;
}

/* ---- Button (matches .about-btn / header button) ---- */
.ts-staff-btn {
    background: #22438a;
    border: 1px solid #22438a;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    padding: .8rem 1.7rem;
    border-radius: 5px;
    transition: all .3s ease;
}

.ts-staff-btn:hover,
.ts-staff-btn:focus {
    background: #ffffff;
    border: 1px solid #22438a;
    color: #22438a;
    transform: translateY(-2px);
}

/* ---- Mobile ---- */
@media (max-width: 575.98px) {
    .ts-staff-img-2 {
        width: 86%;
        margin-top: -12%;
        border-width: 5px;
    }

    .ts-staff-points {
        flex-direction: column;
        gap: 10px !important;
        font-size: 14px;
    }
}