/********** Template CSS **********/

/*** 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;
}

.back-to-top {
    position: fixed !important;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Fonts ***/
.font-work-sans {
  font-family: "Work Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-playfair-display {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.font-dancing-script {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}


/*** Button ***/
.btn {
    position: relative;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-dark,
.btn-primary {
    margin: 10px;
}

.btn-primary::before,
.btn-primary::after {
    position: absolute;
    content: "";
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
}

.btn-primary::before {
    top: -10px;
    height: calc(100% + 20px);
    border-left: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.btn-primary::after {
    left: -10px;
    width: calc(100% + 20px);
    border-top: 2px solid var(--bs-primary);
    border-bottom: 2px solid var(--bs-primary);
}

.btn-dark::before,
.btn-dark::after {
    position: absolute;
    content: "";
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
}

.btn-dark::before {
    top: -10px;
    height: calc(100% + 20px);
    border-left: 2px solid var(--bs-dark);
    border-right: 2px solid var(--bs-dark);
}

.btn-dark::after {
    left: -10px;
    width: calc(100% + 20px);
    border-top: 2px solid var(--bs-dark);
    border-bottom: 2px solid var(--bs-dark);
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin: 0 12px;
    padding: 0;
    outline: none;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bs-dark);
}

.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;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

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

.navbar .btn-primary {
    border-width: 2px;
    background: var(--bs-light);
}

.navbar .btn-primary:hover {
    background: var(--bs-primary);
}


/*** Hero Header ***/
.hero-header {
    background: url(../img/hero-bg.jpg) top left no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .hero-header .container {
        max-width: 100% !important;
    }

    .hero-header .hero-header-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .hero-header .hero-header-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .hero-header .hero-header-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.header-carousel .owl-nav {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next{
    position: relative;
    margin-left: 2px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-dark);
    background: var(--bs-primary);
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    color: var(--bs-white);
}

.page-header {
    background: linear-gradient(rgba(8, 63, 67, .82), rgba(8, 63, 67, .82)), url(../img/surgery-3.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: scroll;
    position: relative;
    min-height: 160px;
}

@media (max-width: 575px) {
    .page-header {
        background-position: top left;
        min-height: 130px;
        background-size: cover;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .page-header {
        background-position: top center;
        min-height: 150px;
        background-size: cover;
    }
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 37, 37, 0.62);
}

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

.page-header h1,
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a,
.page-header .breadcrumb-item.active {
    color: #fff !important;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
}


/*** Service ***/
@media (max-width: 768px) {
    .service .service-item {
        border: none !important;
        box-shadow: 0 0 45px rgba(0, 0, 0, .05);
    }
}

@media (min-width: 992px) {
    .service .service-item.border-lg-end {
        border-right: 1px solid #dee2e6;
    }

    .service .service-item.border-lg-end-0 {
        border-right: none !important;
    }

    .service .service-item.border-lg-bottom-0 {
        border-bottom: none !important;
    }
}

.service .service-item .btn-primary {
    border-width: 2px;
    background: var(--bs-white);
}

.service .service-item .btn-primary:hover {
    background: var(--bs-primary);
}

.service .service-item img {
    width: 70px;
    margin-bottom: 20px;
}


/*** Team ***/
.team {
    position: relative;
}

.team::before {
    position: absolute;
    content: "";
    width: 200%;
    height: 200px;
    top: 50%;
    left: -50%;
    transform: translateY(-50%);
    margin-top: 1rem;
    background: var(--bs-primary);
}

.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    text-align: center;
    background: rgba(255, 255, 255, .5);
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-overlay {
    background: rgba(255, 255, 255, .9);
}

.team-overlay p {
    letter-spacing: 1px;
}

.team-overlay .btn-dark {
    border-width: 2px;
    color: var(--bs-dark);
    background: transparent;
}

.team-overlay .btn-dark:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}


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

.testimonial-carousel .owl-item::before {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .1;
}

.testimonial-carousel .owl-item img {
    position: relative;
    width: 100px;
    height: 100px;
    z-index: 1;
}

.testimonial-carousel .owl-item,
.testimonial-carousel .owl-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item span {
    letter-spacing: 2px;
}

.testimonial-carousel .owl-item.center .bg-light {
    background: var(--bs-primary) !important;
}

.testimonial-carousel .owl-item.center .bg-light * {
    color: var(--bs-dark) !important;
}

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

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-dark);
    background: var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-white);
    background: var(--bs-dark);
}


/*** Footer ***/
@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--bs-secondary);
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

/*** Language Switcher ***/
:root {
    --theme-primary: #4338CA;
}

/* Runtime theme overrides for Bootstrap's compiled primary utilities. */
.text-primary { color: var(--theme-primary) !important; }
.bg-primary { background-color: var(--theme-primary) !important; }
.border-primary { border-color: var(--theme-primary) !important; }
.btn-primary {
    color: var(--bs-white);
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}
.btn-primary:hover,
.btn-primary:focus {
    color: var(--bs-white);
    background-color: color-mix(in srgb, var(--theme-primary) 84%, black);
    border-color: color-mix(in srgb, var(--theme-primary) 84%, black);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--theme-primary) 22%, transparent);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 12px;
    padding: 3px;
    border: 1px solid var(--bs-primary);
    border-radius: 4px;
    background: var(--bs-white);
    box-shadow: 0 4px 14px rgba(8, 63, 67, .08);
}

.language-switcher button {
    min-width: 42px;
    border: 0;
    border-radius: 3px;
    padding: 5px 8px;
    background: transparent;
    color: var(--bs-primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.language-switcher button:hover,
.language-switcher button.active {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.footer.wow {
    visibility: visible !important;
}

.lang-bn,
.lang-bn button,
.lang-bn a,
.lang-bn h1,
.lang-bn h2,
.lang-bn h3,
.lang-bn h4,
.lang-bn h5,
.lang-bn h6,
.lang-bn p,
.lang-bn span,
.lang-bn label,
.lang-bn input,
.lang-bn textarea,
.lang-bn select {
    font-family: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", sans-serif !important;
    letter-spacing: 0 !important;
}

.lang-bn body {
    line-height: 1.72;
}

/*** Theme Settings ***/
.theme-settings {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 1090;
    transform: translateY(-50%);
    font-family: "Work Sans", sans-serif;
}

.theme-settings-toggle,
.theme-settings-close,
.theme-swatch,
.theme-reset {
    border: 0;
    cursor: pointer;
}

.theme-settings-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border-radius: 6px 0 0 6px;
    background: var(--theme-primary);
    color: var(--bs-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    font-size: 18px;
    transition: right .25s ease, background-color .25s ease;
}

.theme-settings.open .theme-settings-toggle {
    right: 252px;
}

.theme-settings-toggle i {
    animation: settings-spin 7s linear infinite;
}

.theme-settings-panel {
    width: 252px;
    padding: 18px;
    border-left: 4px solid var(--theme-primary);
    border-radius: 6px 0 0 6px;
    background: var(--bs-white);
    color: var(--bs-dark);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
    transform: translateX(100%);
    transition: transform .25s ease;
}

.theme-settings.open .theme-settings-panel {
    transform: translateX(0);
}

.theme-settings-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 17px;
}

.theme-settings-close {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: var(--bs-light);
    color: var(--bs-dark);
}

.theme-settings-panel p {
    margin: 4px 0 14px;
    color: var(--bs-gray);
    font-size: 13px;
}

.theme-swatches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.theme-swatch {
    width: 42px;
    height: 42px;
    border: 3px solid var(--bs-white);
    border-radius: 50%;
    background: var(--swatch-color);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .16);
    transition: transform .18s ease, box-shadow .18s ease;
}

.theme-swatch:hover,
.theme-swatch.active {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px var(--theme-primary);
}

.theme-reset {
    width: 100%;
    margin-top: 16px;
    padding: 9px 12px;
    border-radius: 4px;
    background: var(--bs-light);
    color: var(--bs-dark);
    font-size: 13px;
    font-weight: 600;
}

.theme-reset i {
    margin-right: 7px;
    color: var(--theme-primary);
}

@keyframes settings-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .theme-settings-toggle i { animation: none; }
}

/*** Copyright and branded social icons ***/
.bg-dark.text-white.border-top,
.bg-dark.text-white.border-top a,
.bg-dark.text-white.border-top .border-bottom,
.bg-dark.text-white.border-top * {
    color: var(--bs-white) !important;
}

.footer a[href*="facebook.com"] i,
a[href*="facebook.com"] .fa-facebook-f,
a[href*="facebook.com"] .fa-facebook,
a[href*="facebook.com"] .fa-facebook-square {
    color: #1877F2 !important;
}

.footer a[href*="wa.me"] i,
.footer a[href*="whatsapp"] i,
a[href*="wa.me"] .fa-whatsapp,
a[href*="whatsapp"] .fa-whatsapp {
    color: #25D366 !important;
}

.footer a[href*="facebook.com"],
.footer a[href*="wa.me"],
.footer a[href*="whatsapp"],
.footer .btn[href*="facebook.com"],
.footer .btn[href*="wa.me"] {
    background: var(--bs-white) !important;
    border-color: var(--bs-white) !important;
}

/*** Readable Text On Colored Backgrounds ***/
.bg-primary,
.bg-dark,
.page-header,
.footer,
.cta-banner,
.exp-banner,
.schedule-card,
.profile-card-header,
[style*="background: linear-gradient(135deg, var(--bs-primary)"],
[style*="background:linear-gradient(135deg,var(--bs-primary)"] {
    color: var(--bs-white) !important;
}

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
.page-header h1,
.page-header h2,
.page-header h3,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6,
.cta-banner h1,
.cta-banner h2,
.cta-banner h3,
.cta-banner h4,
.cta-banner h5,
.cta-banner h6,
.exp-banner h1,
.exp-banner h2,
.exp-banner h3,
.exp-banner h4,
.exp-banner h5,
.exp-banner h6,
.schedule-card h1,
.schedule-card h2,
.schedule-card h3,
.schedule-card h4,
.schedule-card h5,
.schedule-card h6,
.profile-card-header h1,
.profile-card-header h2,
.profile-card-header h3,
.profile-card-header h4,
.profile-card-header h5,
.profile-card-header h6 {
    color: var(--bs-white) !important;
}

@media (max-width: 991.98px) {
    .language-switcher {
        margin: 12px 0 0;
    }

    .theme-settings {
        top: auto;
        bottom: 92px;
        transform: none;
    }

    .theme-settings-toggle {
        top: auto;
        bottom: 0;
        transform: none;
    }
}
/* ==========================================================
   Copyright bar: force pure white text/links (all pages)
   ========================================================== */
.site-copyright,
.site-copyright a,
.site-copyright a:hover,
.site-copyright a:focus,
.site-copyright .border-bottom {
    color: #ffffff !important;
}

.site-copyright a {
    text-decoration: none;
    border-bottom-color: rgba(255, 255, 255, 0.65) !important;
}

.site-copyright a:hover {
    border-bottom-color: #ffffff !important;
    opacity: 0.9;
}

/* ==========================================================
   Footer social icons: keep original brand colours
   ========================================================== */
.footer .btn-sm-square,
.footer .btn.btn-primary.btn-sm-square {
    background: #ffffff !important;
    border-color: #ffffff !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.footer .btn-sm-square:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.footer .btn-sm-square .fa-facebook-f,
.footer a .fa-facebook-f { color: #1877F2 !important; }
.footer .btn-sm-square .fa-whatsapp,
.footer a .fa-whatsapp { color: #25D366 !important; }
.footer .btn-sm-square .fa-youtube { color: #FF0000 !important; }
.footer .btn-sm-square .fa-instagram { color: #E1306C !important; }
.footer .btn-sm-square .fa-twitter,
.footer .btn-sm-square .fa-x-twitter { color: #1DA1F2 !important; }
.footer .btn-sm-square .fa-linkedin-in { color: #0A66C2 !important; }

/* Navbar appointment button text */
.navbar .btn-primary,
.navbar .btn-primary:hover,
.navbar .btn-primary:focus {
    color: #000000 !important;
}

/* Footer social icons: brand colours on white chips */
.footer .btn-sm-square,
.footer a.btn-sm-square,
.footer a.btn.btn-primary.btn-sm-square,
a.btn-sm-square[href*="facebook.com"],
a.btn-sm-square[href*="wa.me"] {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: inherit !important;
}

.footer .btn-sm-square i,
a.btn-sm-square i { font-size: 16px; }

.fa-facebook-f, .fa-facebook, .fa-facebook-square { color: #1877F2 !important; }
.fa-whatsapp { color: #25D366 !important; }
.fa-youtube, .fa-youtube-square { color: #FF0000 !important; }
.fa-instagram, .fa-instagram-square { color: #E1306C !important; }
.fa-twitter, .fa-x-twitter { color: #1DA1F2 !important; }
.fa-linkedin-in, .fa-linkedin { color: #0A66C2 !important; }
