html {
    scroll-behavior: smooth;
}

body {
    background: #f6f8fb;
    color: #1e2a36;
    font-family: "Helvetica Neue", Arial, sans-serif;
    padding: 0;
}

a {
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.container-fluid.modern-page-shell {
    padding: 0;
    overflow: hidden;
}

.modern-topbar {
    background: #0d2836;
    color: #dcecf2;
    font-size: 13px;
}

.modern-topbar p {
    margin: 0;
    letter-spacing: .01em;
}

.modern-topbar a,
.modern-topbar span {
    color: #ffffff;
}

#header {
    position: sticky;
    top: 0;
    z-index: 1001;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(21, 64, 82, .1);
    box-shadow: 0 10px 30px rgba(13, 40, 54, .08);
}

#header .logo img {
    max-height: 62px;
    width: auto;
}

nav.main-menu ul > li > a {
    border-radius: 999px;
    color: #24313d;
    font-weight: 700;
    padding: 10px 14px;
    text-transform: none;
}

nav.main-menu ul > li:hover > a,
nav.main-menu ul > .current-menu-item > a {
    background: #e8f5f8;
    color: #08758b;
}

nav.main-menu ul > li ul {
    border: 1px solid rgba(21, 64, 82, .12);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(13, 40, 54, .16);
    overflow: hidden;
}

nav.main-menu ul > li ul li a {
    color: #273746;
}

.modern-hero {
    min-height: 690px;
    position: relative;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}

.modern-hero__media,
.modern-hero__overlay {
    position: absolute;
    inset: 0;
}

.modern-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modern-hero__overlay {
    background:
        linear-gradient(90deg, rgba(7, 28, 41, .92) 0%, rgba(7, 28, 41, .72) 46%, rgba(7, 28, 41, .2) 100%),
        linear-gradient(0deg, rgba(7, 28, 41, .76) 0%, rgba(7, 28, 41, 0) 46%);
    z-index: 1;
}

.modern-hero__content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-bottom: 34px;
}

.eyebrow {
    color: #0f8ba1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.modern-hero .eyebrow,
.modern-section--deep .eyebrow,
.modern-demo-band .eyebrow {
    color: #8de1ef;
}

.modern-hero h1 {
    color: #fff;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.03;
    margin: 0 0 20px;
}

.modern-hero .lead {
    color: #d8ebef;
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 26px;
    max-width: 760px;
}

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

.btn-primary-modern,
.btn-secondary-modern {
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .01em;
    padding: 13px 22px;
}

.btn-primary-modern {
    background: #0f8ba1;
    border: 1px solid #0f8ba1;
    color: #fff;
}

.btn-primary-modern:hover,
.btn-primary-modern:focus {
    background: #0c7184;
    border-color: #0c7184;
    color: #fff;
    transform: translateY(-1px);
}

.btn-secondary-modern {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .45);
    color: #fff;
}

.btn-secondary-modern:hover,
.btn-secondary-modern:focus {
    background: #fff;
    border-color: #fff;
    color: #0d2836;
}

.btn-secondary-outline {
    background: transparent;
    border: 1px solid #0f8ba1;
    border-radius: 999px;
    color: #0f8ba1;
    font-weight: 800;
    padding: 13px 22px;
}

.btn-secondary-outline:hover,
.btn-secondary-outline:focus {
    background: #0f8ba1;
    color: #fff;
    text-decoration: none;
}

.modern-metrics {
    margin-top: 72px;
}

.modern-metrics > div {
    border-left: 1px solid rgba(255, 255, 255, .28);
    min-height: 96px;
    padding: 0 24px;
}

.modern-metrics strong {
    color: #fff;
    display: block;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 10px;
}

.modern-metrics span {
    color: #c8e4ea;
    display: block;
    line-height: 1.55;
}

.modern-section {
    background: #fff;
    padding: 86px 0;
}

.modern-section--tint {
    background: #edf6f8;
}

.modern-section--deep {
    background: #0d2836;
    color: #dcecf2;
}

.modern-section--deep h2,
.modern-demo-band h2 {
    color: #fff;
}

.portal-preview-section {
    background: #fff;
}

.portal-preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.portal-showcase {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1.15fr) minmax(150px, .85fr);
}

.portal-showcase img {
    background: #003a7a;
    display: block;
    object-fit: contain;
    width: 100%;
}

.portal-showcase__main {
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(18, 45, 58, .14);
    height: 520px;
}

.portal-showcase__supporting {
    display: grid;
    gap: 16px;
}

.portal-showcase__supporting img {
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(18, 45, 58, .12);
    height: 252px;
}

.hero-actions--center {
    justify-content: center;
}

.section-heading {
    margin: 0 auto 44px;
    max-width: 820px;
    text-align: center;
}

.section-heading h2,
.modern-split h2,
.modern-demo-band h2 {
    color: #162936;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.16;
    margin: 0 0 16px;
}

.section-heading p,
.modern-split p,
.modern-demo-band p {
    color: #5f6e79;
    font-size: 16px;
    line-height: 1.75;
}

.modern-section--deep .modern-split p,
.modern-demo-band p {
    color: #d6e8ed;
}

.modern-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.modern-card {
    background: #fff;
    border: 1px solid rgba(21, 64, 82, .12);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(18, 45, 58, .08);
    color: #43515c;
    min-height: 315px;
    padding: 30px;
    text-decoration: none;
}

.modern-card:hover,
.product-tile:hover {
    box-shadow: 0 22px 52px rgba(18, 45, 58, .16);
    color: #43515c;
    text-decoration: none;
    transform: translateY(-3px);
}

.modern-card img {
    height: 62px;
    margin-bottom: 24px;
    width: 62px;
}

.modern-card h3 {
    color: #172c38;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 14px;
}

.modern-card p {
    color: #5f6e79;
    line-height: 1.72;
    margin: 0;
}

.modern-split {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.modern-split__image {
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(18, 45, 58, .14);
    width: 100%;
}

.modern-split__image--contained {
    background: rgba(255, 255, 255, .06);
    max-height: 420px;
    object-fit: cover;
}

.modern-feature-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.modern-feature-list a {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(21, 64, 82, .1);
    border-radius: 8px;
    color: #24313d;
    display: flex;
    font-weight: 800;
    gap: 12px;
    padding: 14px 16px;
}

.modern-feature-list a:hover {
    border-color: #0f8ba1;
    color: #08758b;
    text-decoration: none;
}

.modern-feature-list i {
    color: #0f8ba1;
    min-width: 18px;
}

.modern-feature-list--light a {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .16);
    color: #fff;
}

.modern-feature-list--light a:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

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

.product-tile {
    background: #fff;
    border: 1px solid rgba(21, 64, 82, .12);
    border-radius: 8px;
    color: #172c38;
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.product-tile img {
    aspect-ratio: 4 / 3;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.product-tile span {
    display: block;
    font-size: 18px;
    font-weight: 800;
    padding: 18px 20px;
}

.modern-demo-band {
    background: #124354;
    color: #fff;
}

.modern-demo-form {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(7, 28, 41, .22);
    padding: 26px;
}

.modern-demo-form input[type="text"],
.modern-demo-form input[type="email"],
.modern-demo-form textarea {
    border: 1px solid #d7e2e6;
    border-radius: 6px;
    color: #172c38;
    display: block;
    margin-bottom: 12px;
    max-width: none;
    padding: 0 14px;
    width: 100%;
}

.modern-demo-form input[type="text"],
.modern-demo-form input[type="email"] {
    height: 48px;
}

.modern-demo-form textarea {
    min-height: 126px;
    padding-top: 13px;
    resize: vertical;
}

.modern-demo-form input.error {
    border-color: #c84646;
}

.modern-demo-form #response-container {
    border-radius: 6px;
    display: none;
    line-height: 1.55;
    margin-top: 14px;
    padding: 12px 14px;
}

.modern-demo-form #response-container.success {
    background: #e7f7ed;
    color: #1c6b3a;
}

.modern-demo-form #response-container.error {
    background: #fdecec;
    color: #9c2e2e;
}

.home-services,
.features-var-two,
.features-var-three,
.home-doctors,
.blog-page,
.blog-page-single {
    background: #fff;
    padding: 70px max(15px, calc((100vw - 1170px) / 2)) 86px;
}

.modern-subhero {
    min-height: 440px;
    position: relative;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}

.modern-subhero__media,
.modern-subhero__overlay {
    position: absolute;
    inset: 0;
}

.modern-subhero__media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.modern-subhero__overlay {
    background: linear-gradient(90deg, rgba(7, 28, 41, .9) 0%, rgba(7, 28, 41, .68) 50%, rgba(7, 28, 41, .18) 100%);
    z-index: 1;
}

.modern-subhero__content {
    color: #fff;
    max-width: 920px;
    padding-bottom: 70px;
    position: relative;
    z-index: 2;
}

.modern-subhero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 18px;
}

.modern-subhero p {
    color: #d8ebef;
    font-size: 18px;
    line-height: 1.65;
    max-width: 780px;
}

.contact-modern__form h2 {
    color: #172c38;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 18px;
}

.contact-modern__details {
    background: #fff;
    border: 1px solid rgba(21, 64, 82, .12);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(18, 45, 58, .08);
    overflow: hidden;
}

.contact-modern__details > img {
    aspect-ratio: 16 / 8;
    border-radius: 0;
    display: block;
    object-fit: cover;
    width: 100%;
}

.contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.contact-detail-grid > div {
    border-top: 1px solid rgba(21, 64, 82, .1);
    padding: 24px;
}

.contact-detail-grid > div:nth-child(odd) {
    border-right: 1px solid rgba(21, 64, 82, .1);
}

.contact-detail-grid span {
    align-items: center;
    background: #e8f5f8;
    border-radius: 999px;
    color: #0f8ba1;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    margin-bottom: 14px;
    width: 38px;
}

.contact-detail-grid h3 {
    color: #172c38;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 8px;
}

.contact-detail-grid p,
.contact-detail-grid a {
    color: #5f6e79;
    line-height: 1.65;
}

.about-modern {
    background: #fff;
    padding: 82px 0 96px;
}

.about-modern__grid {
    align-items: center;
    display: grid;
    gap: 54px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
}

.about-modern__copy h1 {
    color: #172c38;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 20px;
}

.about-modern__copy p {
    color: #5f6e79;
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-modern__points {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.about-modern__points span {
    align-items: center;
    background: #edf6f8;
    border: 1px solid rgba(15, 139, 161, .14);
    border-radius: 8px;
    color: #172c38;
    display: flex;
    font-weight: 800;
    gap: 10px;
    padding: 14px 16px;
}

.about-modern__points i {
    color: #0f8ba1;
}

.about-modern__media img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(18, 45, 58, .14);
    display: block;
    object-fit: cover;
    width: 100%;
}

.portal-login-hero {
    background: #3b486a;
    color: #fff;
    padding: 88px 0;
    text-align: center;
}

.portal-login-hero h1 {
    color: #fff;
    font-size: 46px;
    font-weight: 800;
    margin: 0 0 18px;
}

.portal-login-hero p {
    color: #fff;
    font-size: 28px;
    margin: 0;
}

.portal-login-section {
    background: #fff;
    padding: 72px 0 90px;
}

.portal-login-card {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    gap: 34px;
    margin: 0 auto;
    max-width: 1060px;
}

.portal-login-copy {
    background: #edf6f8;
    border-radius: 8px;
    padding: 40px;
}

.portal-login-copy h2 {
    color: #172c38;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.16;
    margin: 0 0 16px;
}

.portal-login-copy p {
    color: #5f6e79;
    line-height: 1.75;
}

.portal-login-links {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.portal-login-links a {
    color: #08758b;
    font-weight: 800;
}

.portal-login-form {
    background: #fff;
    border: 1px solid rgba(21, 64, 82, .12);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(18, 45, 58, .1);
    padding: 34px;
}

.portal-login-launch h3 {
    margin: 0 0 12px;
    color: #102735;
    font-size: 28px;
    font-weight: 800;
}

.portal-login-launch p {
    margin: 0 0 24px;
    color: #5b6d77;
    font-size: 18px;
    line-height: 1.7;
}

.portal-login-launch .btn {
    width: 100%;
}

.portal-error {
    color: #c84646;
    display: block;
    margin-bottom: 12px;
}

.portal-input {
    border: 1px solid #d7e2e6;
    border-radius: 7px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    margin-bottom: 16px;
    overflow: hidden;
}

.portal-input span {
    align-items: center;
    background: #f4f7f9;
    border-right: 1px solid #d7e2e6;
    color: #515b64;
    display: flex;
    justify-content: center;
}

.portal-input input {
    border: 0;
    height: 58px;
    max-width: none;
    padding: 0 16px;
    width: 100%;
}

.portal-form-actions {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-top: 26px;
}

.portal-switch {
    align-items: center;
    color: #43515c;
    display: inline-flex;
    font-weight: 700;
    gap: 10px;
}

.portal-switch input {
    display: none;
}

.portal-switch span {
    background: #0f8ba1;
    border-radius: 999px;
    display: inline-block;
    height: 34px;
    position: relative;
    width: 68px;
}

.portal-switch span:after {
    background: #fff;
    border-radius: 999px;
    content: "";
    height: 28px;
    position: absolute;
    right: 3px;
    top: 3px;
    width: 28px;
}

.portal-switch input:not(:checked) + span {
    background: #b8c4cb;
}

.portal-switch input:not(:checked) + span:after {
    left: 3px;
    right: auto;
}

.portal-forgot {
    margin-top: 26px;
    text-align: center;
}

.portal-forgot a {
    color: #0f8ba1;
    font-weight: 800;
}

.webportal-cta {
    background: #fff;
}

.home-services > .col-sm-12,
.home-services > .col-sm-6 {
    float: none;
}

.home-services {
    display: flow-root;
}

.slogan-section {
    margin-bottom: 34px;
    text-align: center;
}

.slogan-section h2 {
    color: #162936;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.18;
}

.slogan-section h2 span {
    color: #0f8ba1;
}

.slogan-section p,
.textwidget p {
    color: #5f6e79;
    font-size: 16px;
    line-height: 1.75;
}

.tab-main {
    background: transparent;
}

.tab-main .common-doctor,
.doctors-posts .common-doctor {
    background: #fff;
    border: 1px solid rgba(21, 64, 82, .12);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(18, 45, 58, .08);
    height: 100%;
    overflow: hidden;
}

.tab-main .common-doctor figure,
.doctors-posts .common-doctor figure {
    margin: 0;
}

.tab-main .common-doctor figure img,
.doctors-posts .common-doctor figure img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.tab-main .common-doctor .text-content,
.doctors-posts .common-doctor .text-content {
    padding: 22px;
}

.tab-main .common-doctor h5,
.doctors-posts .common-doctor h5 {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
}

.tab-main .common-doctor h5 a,
.doctors-posts .common-doctor h5 a {
    color: #172c38;
}

.tab-main .common-doctor h5 a:hover,
.doctors-posts .common-doctor h5 a:hover {
    color: #0f8ba1;
    text-decoration: none;
}

.tab-main .common-doctor .for-border,
.doctors-posts .common-doctor .for-border,
.feature-border {
    background: #0f8ba1;
    height: 3px;
    margin: 12px 0 16px;
    width: 42px;
}

.tab-main .common-doctor p,
.doctors-posts .common-doctor p {
    color: #5f6e79;
    line-height: 1.65;
}

.tab-main .appointment-form,
.appointment-form {
    background: #0d2836;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(18, 45, 58, .12);
    padding: 22px;
}

.tab-main h4 {
    color: #162936;
    font-size: 22px;
    font-weight: 800;
}

.appointment-form input[type="text"],
.appointment-form input[type="email"],
.appointment-form textarea {
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 6px;
    max-width: none;
    width: 100%;
}

.appointment-form .form-submit-btn {
    background: #0f8ba1;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    padding: 10px 20px;
}

.features-var-two .single-feature,
.features-var-three .single-feature,
.home-doctors .common-doctor {
    border-radius: 8px;
}

.features-var-two .single-feature h3,
.features-var-three .single-feature h5,
.home-doctors .common-doctor h5 {
    color: #162936;
    font-weight: 800;
}

.features-var-two img,
.features-var-three img,
.home-doctors img,
.home-services img {
    border-radius: 8px;
}

.footer1 {
    background: #071c29;
    color: #dcecf2;
    padding: 18px 0;
}

.footer-content {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.footer-copy p {
    margin: 0;
}

.footer-links {
    text-align: right;
}

.footer-links a {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    margin-left: 6px;
    width: 34px;
}

.footer-links a:hover {
    background: #0f8ba1;
    border-color: #0f8ba1;
    color: #fff;
}

@media (max-width: 991px) {
    #header {
        position: relative;
    }

    .modern-hero {
        min-height: 620px;
    }

    .modern-hero h1 {
        font-size: 42px;
    }

    .modern-card-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-login-card {
        grid-template-columns: 1fr;
    }

    .portal-showcase {
        grid-template-columns: 1fr;
    }

    .portal-showcase__main,
    .portal-showcase__supporting img {
        height: auto;
    }

    .about-modern__grid {
        grid-template-columns: 1fr;
    }

    .modern-split__image {
        margin-bottom: 28px;
    }

    .modern-section--deep .modern-split .col-md-6:first-child {
        margin-bottom: 28px;
    }
}

@media (max-width: 767px) {
    .modern-topbar,
    .modern-topbar .text-right {
        text-align: center;
    }

    .modern-hero {
        min-height: 700px;
    }

    .modern-hero__overlay {
        background: linear-gradient(0deg, rgba(7, 28, 41, .9) 0%, rgba(7, 28, 41, .7) 100%);
    }

    .modern-hero h1 {
        font-size: 34px;
    }

    .modern-subhero {
        min-height: 520px;
    }

    .modern-subhero__overlay {
        background: linear-gradient(0deg, rgba(7, 28, 41, .9) 0%, rgba(7, 28, 41, .66) 100%);
    }

    .modern-subhero h1 {
        font-size: 33px;
    }

    .modern-hero .lead {
        font-size: 16px;
    }

    .modern-metrics {
        margin-top: 40px;
    }

    .modern-metrics > div {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .24);
        margin-top: 16px;
        min-height: 0;
        padding: 16px 15px 0;
    }

    .modern-section {
        padding: 58px 0;
    }

    .section-heading h2,
    .modern-split h2,
    .modern-demo-band h2 {
        font-size: 29px;
    }

    .about-modern {
        padding: 58px 0 68px;
    }

    .about-modern__copy h1 {
        font-size: 31px;
    }

    .modern-card-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .contact-detail-grid {
        grid-template-columns: 1fr;
    }

    .contact-detail-grid > div:nth-child(odd) {
        border-right: 0;
    }

    .portal-login-hero {
        padding: 64px 0;
    }

    .portal-login-hero h1 {
        font-size: 36px;
    }

    .portal-login-hero p {
        font-size: 22px;
    }

    .portal-login-copy,
    .portal-login-form {
        padding: 26px;
    }

    .portal-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-services,
    .features-var-two,
    .features-var-three,
    .home-doctors,
    .blog-page,
    .blog-page-single {
        padding-bottom: 58px;
        padding-top: 50px;
    }

    .footer-content {
        display: block;
        text-align: center;
    }

    .footer-links {
        margin-top: 14px;
        text-align: center;
    }

    .footer-links a {
        margin: 3px;
    }
}
