/* Public Website Visual Refresh */

body {
    background: #f6f8fb;
    color: #1d2b3a;
}

.main-header {
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(17, 36, 55, 0.08);
}

.top-bar {
    padding: 7px 3px;
    background: #0a3148;
    box-shadow: none;
    font-size: 13px;
}

.top-bar li {
    border-color: rgba(255, 255, 255, 0.22);
}

.stricky {
    background: #fff !important;
}

#nav.navbar {
    margin-top: 0;
    padding: 13px 0;
}

#nav .navbar-brand img {
    max-height: 62px;
}

#nav .nav-link {
    color: #203244;
    font-size: 14px;
    font-weight: 700;
}

#nav .nav-item:hover > .nav-link,
#nav .nav-item.active > .nav-link,
#nav .nav-item > .nav-link:hover,
#nav .nav-item > .nav-link:focus {
    color: var(--thm-primary);
}

@media (min-width: 992px) {
    #nav .navbar-nav > li > a:before,
    #nav .navbar-nav > li > a:after {
        display: none;
    }

    #nav .navbar-nav > li > a {
        padding: 11px 9px !important;
        border-radius: 999px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    #nav .navbar-nav > li:hover > a,
    #nav .navbar-nav > li.active > a {
        background: rgba(10, 49, 72, 0.07);
    }
}

.main-slider,
.main-slider .container-fluid,
.main-slider .slider-wrapper {
    background: #0a3148;
}

.main-slider .slider-wrapper {
    position: relative;
}

.main-slider .slider-wrapper .image {
    min-height: 500px;
    aspect-ratio: 16 / 6.1;
    opacity: 0.9;
}

.main-slider .slider-wrapper:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(5, 23, 35, 0.82) 0%, rgba(5, 23, 35, 0.5) 38%, rgba(5, 23, 35, 0.08) 70%);
    pointer-events: none;
}

.public-hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    color: #fff;
}

.public-hero-copy {
    max-width: 560px;
    padding: 18px 0;
}

.public-hero-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.public-hero-copy h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 44px;
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.public-hero-copy p {
    max-width: 520px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.65;
}

.public-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.public-hero-buttons .btn {
    min-width: 140px;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: none;
}

.public-hero-primary {
    color: #fff;
    background: var(--thm-primary);
    border: 1px solid var(--thm-primary);
}

.public-hero-primary:hover,
.public-hero-primary:focus {
    color: #fff;
    background: var(--thm-hover);
    border-color: var(--thm-hover);
}

.public-hero-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.48);
}

.public-hero-secondary:hover,
.public-hero-secondary:focus {
    color: #0a3148;
    background: #fff;
    border-color: #fff;
}

.home-quick-actions {
    margin-top: -42px;
}

.home-quick-action {
    min-height: 94px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(22, 45, 67, 0.16);
}

.home-quick-action-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #0a3148;
}

.home-quick-action-copy strong {
    color: #16283a;
    font-size: 16px;
}

.home-quick-action:hover .home-quick-action-icon,
.home-quick-action:focus .home-quick-action-icon {
    background: var(--thm-primary);
}

.public-home-main {
    padding-top: 70px;
    padding-bottom: 70px;
}

.notification-boxes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
}

.notification-boxes > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
}

.notification-boxes .box {
    height: 100%;
    min-height: 280px;
    padding: 34px 24px 26px;
    background: #fff;
    border: 1px solid #e3e9ef;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(22, 45, 67, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.notification-boxes .box:hover {
    border-color: rgba(10, 49, 72, 0.24);
    box-shadow: 0 18px 42px rgba(22, 45, 67, 0.13);
    transform: translateY(-4px);
}

.notification-boxes .box .icon {
    position: static;
    margin: 0 auto 18px;
}

.notification-boxes .box .icon:before,
.notification-boxes .box .icon:after,
.notification-boxes .box:before,
.notification-boxes .box:after {
    display: none;
}

.notification-boxes .box i {
    color: #0a3148;
}

.notification-boxes .box h4 {
    color: #172a3c;
    font-size: 20px;
    line-height: 1.2;
}

.notification-boxes .box p {
    color: #526272;
}

.notification-boxes .box .btn-transparent {
    color: #0a3148;
    border-color: #b8c5d0;
    border-radius: 6px;
}

.notification-boxes .box .btn-transparent:hover,
.notification-boxes .box .btn-transparent:focus {
    color: #fff;
    border-color: #0a3148;
    background: #0a3148;
}

.welcome-area {
    margin-top: 68px;
    padding: 0;
}

.welcome-area .row {
    align-items: center;
}

.welcome-area .main-heading1 {
    color: #718092 !important;
    font-size: 30px;
    font-weight: 400;
}

.welcome-area .main-heading2 {
    color: #0a3148;
    font-size: 34px;
    font-weight: 900;
}

.welcome-area .sec-title span.decor {
    display: none;
}

.welcome-area p,
.welcome-area li {
    color: #526272;
}

.wel-img img {
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(22, 45, 67, 0.16);
}

.featured-doctors {
    padding: 76px 0;
    background-color: #102d41;
}

.featured-doctors:before {
    background: rgba(6, 22, 33, 0.78);
}

.featured-doctors .bio-box {
    background: transparent;
}

.featured-doctors .dlab-media img {
    background: #eaf0f5;
    border: 6px solid rgba(255, 255, 255, 0.24);
}

.bio-box .txt-holder {
    border-radius: 0 0 8px 8px;
}

.testimonial-wrapper {
    padding: 76px 0;
    background: #fff;
}

.single-testimonial-style {
    padding-left: 0;
}

.single-testimonial-style:before {
    display: none;
}

.single-testimonial-style .inner-content {
    min-height: 285px;
    border: 1px solid #e3e9ef;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(22, 45, 67, 0.08);
}

.single-testimonial-style .inner-content:after {
    border-top-color: #0a3148;
}

.counters-wrapper.counters-wrapper-plain,
.counters-wrapper {
    padding: 74px 0;
    background: #eef4f8;
}

.counters-wrapper .counters-item {
    min-height: 176px;
    padding: 25px 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #d9e4ec;
    border-radius: 8px;
}

.counters-wrapper .counters-item i {
    color: #0a3148;
}

.medical-services ul {
    justify-content: center;
    gap: 22px 0;
}

.medical-services li {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
}

.medical-services li .icon {
    width: 82px;
    height: 82px;
    line-height: 82px;
    flex: 0 0 auto;
}

.medical-services li .icon .i-hover {
    width: 68px;
    height: 68px;
    line-height: 68px;
    margin: 6px auto;
    border-radius: 8px;
    background: #0a3148;
}

.medical-services li .icon i {
    font-size: 36px;
}

.medical-services li h5 {
    width: 100%;
    max-width: 170px;
    min-height: 42px;
    margin-top: 18px;
    margin-bottom: 8px;
    color: #172a3c;
    font-size: 14px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.medical-services li p {
    width: 100%;
    max-width: 160px;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.book-appointment-box {
    overflow: hidden;
    border-radius: 8px 8px 36px 8px;
    box-shadow: 0 18px 44px rgba(22, 45, 67, 0.22);
}

.footer-area {
    background-color: #08283b !important;
    background-image: none !important;
    padding-top: 58px;
}

.footer-logo img {
    padding: 10px;
    background: #fff;
    border-radius: 6px;
}

.main-footer h4 {
    color: #fff;
}

.main-footer,
.main-footer p,
.main-footer li,
.main-footer a {
    color: rgba(255, 255, 255, 0.78);
}

.main-footer a:hover,
.main-footer a:focus {
    color: #fff;
}

.copyright {
    background-color: #061e2c !important;
}

.main-container,
.main-container *,
.welcome-area,
.welcome-area * {
    box-sizing: border-box;
}

.main-container {
    overflow-x: clip;
}

.main-container img,
.welcome-area img,
.main-container video,
.main-container iframe,
.welcome-area video,
.welcome-area iframe {
    max-width: 100% !important;
    height: auto !important;
}

.main-container table {
    width: 100% !important;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}

.main-container td,
.main-container th {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.main-container p,
.main-container li,
.main-container h1,
.main-container h2,
.main-container h3,
.main-container h4,
.main-container h5,
.main-container h6,
.welcome-area p,
.welcome-area li,
.welcome-area h1,
.welcome-area h2,
.welcome-area h3,
.welcome-area h4,
.welcome-area h5,
.welcome-area h6 {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.main-container [style*="width"],
.welcome-area [style*="width"],
.main-container [class*="elementor"],
.welcome-area [class*="elementor"],
.main-container .elementor-widget-container,
.welcome-area .elementor-widget-container,
.main-container .elementor-container,
.welcome-area .elementor-container,
.main-container .elementor-column,
.welcome-area .elementor-column,
.main-container .elementor-widget,
.welcome-area .elementor-widget {
    max-width: 100% !important;
    min-width: 0 !important;
}

.main-container [class*="elementor"],
.welcome-area [class*="elementor"] {
    left: auto !important;
    right: auto !important;
}

.public-broken-image {
    display: none !important;
}

.whatsapp-popup {
    max-width: calc(100vw - 24px);
}

.whatsapp-popup .popup-content {
    max-width: calc(100vw - 24px);
}

@media (max-width: 1199px) {
    .notification-boxes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-hero-copy h1 {
        font-size: 38px;
    }
}

@media (max-width: 991px) {
    #nav .navbar-brand img {
        max-height: 54px;
    }

    #mainNav {
        margin-top: 12px;
        padding: 12px 0;
        background: #fff;
    }

    #mainNav .nav-link {
        padding: 11px 6px;
    }

    .main-slider .slider-wrapper:after,
    .public-hero-content {
        display: none;
    }

    .home-quick-actions {
        margin-top: 0;
        background: #f6f8fb;
    }

    .public-home-main {
        padding-top: 46px;
    }

    .welcome-area {
        margin-top: 48px;
    }
}

@media (max-width: 575px) {
    body {
        font-size: 14px;
        line-height: 22px;
    }

    .main-header {
        box-shadow: 0 8px 22px rgba(17, 36, 55, 0.08);
    }

    #nav.navbar {
        padding: 8px 12px;
    }

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

    .main-slider .slider-wrapper {
        min-height: 0;
    }

    .home-quick-actions {
        padding-top: 10px;
    }

    .home-quick-action {
        grid-template-columns: 40px minmax(0, 1fr) 14px;
        min-height: 62px;
        padding: 11px 14px;
        box-shadow: 0 10px 26px rgba(22, 45, 67, 0.11);
    }

    .home-quick-action-icon {
        width: 36px;
        height: 36px;
    }

    .home-quick-action-copy strong {
        font-size: 14px;
    }

    .public-home-main {
        padding: 36px 14px 44px;
    }

    .notification-boxes {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .notification-boxes .box {
        min-height: 0;
        padding: 28px 20px 22px;
    }

    .welcome-area .main-heading1 {
        font-size: 24px;
    }

    .welcome-area .main-heading2,
    .sec-title h2 {
        font-size: 26px;
    }

    .featured-doctors,
    .testimonial-wrapper,
    .counters-wrapper.counters-wrapper-plain,
    .counters-wrapper {
        padding: 52px 0;
    }

    .single-testimonial-style .inner-content {
        min-height: 0;
        padding: 42px 24px 30px;
    }

    .counters-wrapper .counters-item {
        min-height: 0;
        margin-bottom: 12px;
    }

    .book-appointment-box {
        border-radius: 8px 8px 28px 8px;
    }

    .medical-services ul {
        gap: 16px 0;
    }

    .medical-services li {
        margin-top: 18px;
    }

    .medical-services li h5 {
        min-height: 0;
    }
}
