/* ==========================================================
   LIFE LINK MEDICAL CENTRE
   MEDICAL DOCTOR PAGE
========================================================== */


/* ==========================================================
   PAGE / CONTAINER
========================================================== */

.medical-page,
.medical-page *,
.medical-page *::before,
.medical-page *::after {
    box-sizing: border-box;
}

.medical-page {
    width: 100%;
    overflow-x: hidden;
    padding-top: 88px;
}

.medical-container {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   NAVIGATION
========================================================== */

.medical-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    height: 88px;

    z-index: 9999;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid rgba(55, 89, 105, 0.08);

    box-shadow: 0 4px 25px rgba(32, 62, 76, 0.06);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.medical-nav-inner {
    height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.medical-brand {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    text-decoration: none;
}

.medical-logo-img {
    display: block;

    width: auto;
    height: 62px;

    max-width: 210px;

    object-fit: contain;
}

.medical-nav-links {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-left: auto;
}

.medical-nav-links > a:not(.medical-nav-button) {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 10px 15px;

    color: #44596b;

    font-size: 14px;
    font-weight: 600;

    line-height: 1;

    text-decoration: none;

    border-radius: 10px;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.medical-nav-links > a:not(.medical-nav-button):hover {
    color: #0a7e8c;
    background: #eff9fa;
}

.medical-nav-links > a.medical-nav-active {
    color: #0a7e8c;
}

.medical-nav-links > a.medical-nav-active::after {
    content: "";

    position: absolute;

    left: 15px;
    right: 15px;
    bottom: 4px;

    height: 2px;

    border-radius: 20px;

    background: #0a7e8c;
}


/* NAV BOOK BUTTON */

.medical-nav-button {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 46px;

    margin-left: 8px;

    padding: 12px 20px !important;

    border-radius: 12px !important;

    background: #7d171c !important;
    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    text-decoration: none !important;

    box-shadow: 0 8px 20px rgba(125, 23, 28, 0.18);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.medical-nav-button:hover {
    background: #941c22 !important;
    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow: 0 12px 28px rgba(125, 23, 28, 0.25);
}

.medical-nav-button::after {
    display: none !important;
}


/* MOBILE MENU */

.medical-mobile-menu {
    display: none;

    width: 45px;
    height: 45px;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    padding: 0;

    border: 1px solid #dcebed;
    border-radius: 12px;

    background: #f1f9fa;
    color: #0a7e8c;

    font-size: 20px;

    cursor: pointer;

    transition: 0.25s ease;
}

.medical-mobile-menu:hover {
    background: #0a7e8c;
    color: #ffffff;
}


/* ==========================================================
   HERO
========================================================== */

.medical-hero {
    position: relative;

    padding: 90px 0 110px;

    background:
        radial-gradient(
            circle at 82% 30%,
            rgba(52, 173, 184, 0.17),
            transparent 28%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(112, 201, 193, 0.11),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #f8fcfd 0%,
            #edf9fa 55%,
            #ffffff 100%
        );
}

.medical-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(380px, 0.92fr);

    gap: 70px;

    align-items: center;
}


/* BADGE */

.medical-badge {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 22px;

    padding: 9px 16px;

    background: #e2f5f5;
    color: #287f89;

    border-radius: 50px;

    font-size: 13px;
    font-weight: 700;
}

.medical-badge i {
    color: #3ea4ad;
}


/* HERO TITLE */

.medical-hero-content h1 {
    max-width: 720px;

    margin: 0 0 25px;

    color: #344b64;

    font-size: clamp(45px, 5vw, 70px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.medical-hero-content h1 span {
    display: block;

    color: #3e9fad;
}

.medical-hero-description {
    max-width: 650px;

    margin: 0 0 32px;

    color: #687b8c;

    font-size: 17px;

    line-height: 1.8;
}


/* HERO BUTTONS */

.medical-hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 13px;
}

.medical-primary-btn,
.medical-secondary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 15px 24px;

    border-radius: 50px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.medical-primary-btn {
    background: #7d171c;
    color: #ffffff;

    box-shadow: 0 10px 25px rgba(125, 23, 28, 0.20);
}

.medical-primary-btn:hover {
    background: #941c22;
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow: 0 15px 35px rgba(125, 23, 28, 0.27);
}

.medical-secondary-btn {
    background: #ffffff;
    color: #38566c;

    border: 1px solid #cce4e8;
}

.medical-secondary-btn:hover {
    background: #3e9fad;
    color: #ffffff;

    border-color: #3e9fad;

    transform: translateY(-3px);
}


/* HERO FEATURES */

.medical-hero-features {
    display: flex;

    flex-wrap: wrap;

    gap: 22px;

    margin-top: 28px;
}

.medical-hero-features div {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #63778a;

    font-size: 13px;
    font-weight: 600;
}

.medical-hero-features i {
    color: #42a78c;
}


/* ==========================================================
   HERO VISUAL
========================================================== */

.medical-hero-visual {
    position: relative;

    width: 100%;

    max-width: 470px;

    aspect-ratio: 1 / 1;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: center;
}

.medical-visual-circle {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(58, 157, 171, 0.08),
            rgba(73, 190, 190, 0.22)
        );
}

.medical-visual-circle::before {
    content: "";

    position: absolute;

    inset: 50px;

    border-radius: 50%;

    border: 1px dashed rgba(48, 141, 154, 0.38);
}

.medical-main-icon {
    position: relative;

    z-index: 2;

    width: 220px;
    height: 220px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #398f9f,
            #61c0c1
        );

    color: #ffffff;

    font-size: 92px;

    box-shadow: 0 30px 60px rgba(44, 128, 143, 0.25);
}


/* FLOATING CARDS */

.medical-floating-card {
    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 12px;

    width: 210px;

    padding: 14px;

    background: rgba(255, 255, 255, 0.97);

    border: 1px solid rgba(255, 255, 255, 0.9);

    border-radius: 18px;

    box-shadow: 0 15px 40px rgba(45, 70, 90, 0.13);
}

.medical-card-one {
    left: -25px;
    top: 60px;
}

.medical-card-two {
    right: -25px;
    bottom: 60px;
}

.medical-floating-icon {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #e3f5f5;
    color: #3e9fad;
}

.medical-floating-card strong {
    display: block;

    color: #354a65;

    font-size: 13px;
}

.medical-floating-card span {
    display: block;

    margin-top: 3px;

    color: #8a97a3;

    font-size: 11px;
}


/* ==========================================================
   ACCESS INFORMATION
========================================================== */

.medical-access-section {
    position: relative;

    padding: 0 0 20px;

    background: #ffffff;
}

.medical-info-banner {
    position: relative;

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    gap: 35px;

    margin-top: -42px;

    padding: 30px 35px;

    background:
        linear-gradient(
            135deg,
            #304a61,
            #3c6874
        );

    border-radius: 26px;

    box-shadow: 0 18px 45px rgba(37, 72, 85, 0.20);

    z-index: 5;
}

.medical-info-item {
    display: flex;

    align-items: center;

    gap: 18px;
}

.medical-info-icon {
    width: 65px;
    height: 65px;

    flex: 0 0 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 19px;

    font-size: 25px;
}

.walkin-icon {
    background: rgba(102, 211, 200, 0.15);
    color: #74d5cc;
}

.aid-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.medical-info-item span {
    display: block;

    margin-bottom: 4px;

    color: #74d5cc;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.medical-info-item h3 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 20px;
}

.medical-info-item p {
    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 13px;

    line-height: 1.6;
}

.medical-info-divider {
    width: 1px;
    height: 75px;

    background: rgba(255, 255, 255, 0.15);
}


/* ==========================================================
   SECTION HEADINGS
========================================================== */

.medical-section-heading {
    max-width: 720px;

    margin: 0 auto 50px;

    text-align: center;
}

.medical-section-heading > span {
    display: block;

    margin-bottom: 8px;

    color: #3e9fad;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.medical-section-heading h2 {
    margin: 0 0 14px;

    color: #354a65;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;
}

.medical-section-heading p {
    max-width: 640px;

    margin: auto;

    color: #778798;

    line-height: 1.8;
}


/* ==========================================================
   INTRO CARDS
========================================================== */

.medical-intro {
    padding: 90px 0 95px;

    background: #ffffff;
}

.medical-intro-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.medical-intro-card {
    padding: 32px;

    border: 1px solid #e3ecef;

    border-radius: 25px;

    background: #ffffff;

    box-shadow: 0 10px 35px rgba(45, 70, 90, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.medical-intro-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 20px 45px rgba(45, 70, 90, 0.12);
}

.medical-intro-icon {
    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 18px;

    font-size: 24px;
}

.medical-intro-icon.blue {
    background: #e2f4f6;
    color: #3e9fad;
}

.medical-intro-icon.red {
    background: #fae9ea;
    color: #a64449;
}

.medical-intro-icon.green {
    background: #e4f5ef;
    color: #34937c;
}

.medical-intro-card h3 {
    margin: 0 0 10px;

    color: #354a65;

    font-size: 19px;
}

.medical-intro-card p {
    margin: 0;

    color: #7d8b99;

    font-size: 14px;

    line-height: 1.75;
}


/* ==========================================================
   MEDICAL SERVICES
========================================================== */

.medical-services {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #f1fafb 0%,
            #f8fbfc 100%
        );
}

.medical-services-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.medical-service-card {
    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 20px;

    min-height: 180px;

    padding: 28px;

    background: #ffffff;

    border: 1px solid #e2ebee;

    border-radius: 23px;

    box-shadow: 0 10px 30px rgba(45, 70, 90, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.medical-service-card:hover {
    transform: translateY(-6px);

    border-color: #d0e4e7;

    box-shadow: 0 20px 45px rgba(45, 70, 90, 0.11);
}

.medical-service-icon {
    width: 64px;
    height: 64px;

    flex: 0 0 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    font-size: 23px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.medical-service-card:hover .medical-service-icon {
    transform: scale(1.06);
}

.medical-service-category {
    display: block;

    margin-bottom: 6px;

    color: #3e9fad;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.medical-service-card h3 {
    margin: 0 0 9px;

    color: #354a65;

    font-size: 18px;

    line-height: 1.35;
}

.medical-service-card p {
    margin: 0;

    color: #82909d;

    font-size: 13px;

    line-height: 1.75;
}


/* ==========================================================
   SERVICE ICON COLOURS
========================================================== */

.icon-blue {
    background: #e2f4f6;
    color: #3e9fad;
}

.icon-green {
    background: #e4f5ef;
    color: #34937c;
}

.icon-purple {
    background: #f0eafa;
    color: #7855a8;
}

.icon-orange {
    background: #fff0df;
    color: #c47c2c;
}

.icon-teal {
    background: #e1f5f3;
    color: #268f86;
}

.icon-red {
    background: #fae9ea;
    color: #a64449;
}

.icon-darkblue {
    background: #e6edf8;
    color: #456eaa;
}

.icon-yellow {
    background: #fff6dc;
    color: #c59222;
}

.icon-referral {
    background: #e9eef8;
    color: #586fa3;
}


/* ==========================================================
   BOOKING SERVICE CARD
========================================================== */

.medical-booking-card {
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #effafa,
            #e6f5f6
        );

    border-color: #cde7e9;
}

.medical-booking-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background: #3e9fad;
}

.booking-icon {
    background:
        linear-gradient(
            135deg,
            #398f9f,
            #61c0c1
        );

    color: #ffffff;
}

.medical-card-book-btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 14px;

    padding: 10px 17px;

    background: #7d171c;
    color: #ffffff;

    border-radius: 50px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.medical-card-book-btn:hover {
    background: #941c22;
    color: #ffffff;

    transform: translateY(-2px);
}


/* ==========================================================
   PATIENT JOURNEY
========================================================== */

.medical-process {
    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            #304a61,
            #416f7b
        );
}

.light-heading > span {
    color: #71d1cf;
}

.light-heading h2 {
    color: #ffffff;
}

.light-heading p {
    color: rgba(255, 255, 255, 0.70);
}

.medical-process-grid {
    display: grid;

    grid-template-columns:
        1fr auto 1fr auto 1fr auto 1fr;

    gap: 14px;

    align-items: center;
}

.medical-process-card {
    position: relative;

    min-height: 230px;

    padding: 27px 20px;

    text-align: center;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 22px;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.medical-process-card:hover {
    transform: translateY(-5px);

    background: rgba(255, 255, 255, 0.11);
}

.medical-process-number {
    position: absolute;

    top: 15px;
    right: 15px;

    color: rgba(255, 255, 255, 0.25);

    font-size: 12px;
    font-weight: 800;
}

.medical-process-card > i {
    display: flex;

    width: 60px;
    height: 60px;

    margin: 10px auto 20px;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: rgba(111, 208, 207, 0.16);

    color: #71d1cf;

    font-size: 23px;
}

.medical-process-card h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 18px;
}

.medical-process-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;

    line-height: 1.7;
}

.medical-process-arrow {
    color: #71d1cf;

    opacity: 0.6;
}


/* ==========================================================
   FINAL CTA
========================================================== */

.medical-cta {
    padding: 90px 0;

    background: #f5fafb;
}

.medical-cta-box {
    display: grid;

    grid-template-columns:
        auto minmax(0, 1fr) auto;

    align-items: center;

    gap: 30px;

    padding: 42px;

    background: #ffffff;

    border: 1px solid #e1eaed;

    border-radius: 30px;

    box-shadow: 0 18px 50px rgba(45, 70, 90, 0.08);
}

.medical-cta-icon {
    width: 90px;
    height: 90px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            #398f9f,
            #61c0c1
        );

    color: #ffffff;

    font-size: 37px;
}

.medical-cta-content span {
    display: block;

    margin-bottom: 5px;

    color: #3e9fad;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.7px;
}

.medical-cta-content h2 {
    margin: 0 0 8px;

    color: #354a65;

    font-size: clamp(27px, 3vw, 39px);
}

.medical-cta-content p {
    max-width: 600px;

    margin: 0;

    color: #7d8997;

    line-height: 1.7;
}

.medical-cta-actions {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 12px;
}

.medical-call-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #354a65;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
}

.medical-call-link:hover {
    color: #3e9fad;
}


/* ==========================================================
   FOOTER LINK FIXES
========================================================== */

.footer-contact a {
    color: inherit;
    text-decoration: none;

    transition: color 0.25s ease;
}

.footer-contact a:hover {
    color: #0a7e8c;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1050px) {

    .medical-hero-grid {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .medical-hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .medical-hero-actions,
    .medical-hero-features {
        justify-content: center;
    }

    .medical-hero-visual {
        max-width: 420px;
    }

    .medical-intro-grid {
        grid-template-columns: 1fr 1fr;
    }

    .medical-process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }

    .medical-process-arrow {
        display: none;
    }

    .medical-cta-box {
        grid-template-columns:
            auto minmax(0, 1fr);
    }

    .medical-cta-actions {
        grid-column: 1 / -1;

        flex-direction: row;

        justify-content: center;
    }
}


/* ==========================================================
   MOBILE NAVIGATION
========================================================== */

@media (max-width: 950px) {

    .medical-navbar {
        height: 78px;
    }

    .medical-nav-inner {
        height: 78px;
    }

    .medical-logo-img {
        height: 54px;
    }

    .medical-page {
        padding-top: 78px;
    }

    .medical-mobile-menu {
        display: flex;
    }

    .medical-nav-links {
        position: absolute;

        top: 78px;
        left: 20px;
        right: 20px;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 5px;

        margin: 0;

        padding: 16px;

        background: #ffffff;

        border: 1px solid #e3edef;

        border-radius: 18px;

        box-shadow: 0 18px 45px rgba(34, 60, 72, 0.14);
    }

    .medical-nav-links.medical-nav-open {
        display: flex;
    }

    .medical-nav-links > a:not(.medical-nav-button) {
        width: 100%;

        justify-content: flex-start;

        padding: 14px 15px;

        min-height: 48px;
    }

    .medical-nav-links > a.medical-nav-active {
        background: #eff9fa;
    }

    .medical-nav-links > a.medical-nav-active::after {
        display: none;
    }

    .medical-nav-button {
        width: 100%;

        margin: 8px 0 0;
    }
}


/* ==========================================================
   SMALL TABLET
========================================================== */

@media (max-width: 900px) {

    .medical-info-banner {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .medical-info-divider {
        width: 100%;
        height: 1px;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .medical-hero {
        padding: 70px 0 95px;
    }

    .medical-hero-content h1 {
        font-size: clamp(38px, 11vw, 54px);

        letter-spacing: -1px;
    }

    .medical-hero-actions {
        flex-direction: column;
    }

    .medical-primary-btn,
    .medical-secondary-btn {
        width: 100%;
    }

    .medical-hero-visual {
        max-width: 330px;
    }

    .medical-main-icon {
        width: 165px;
        height: 165px;

        font-size: 67px;
    }

    .medical-floating-card {
        width: 170px;

        padding: 10px;
    }

    .medical-card-one {
        left: -5px;
        top: 25px;
    }

    .medical-card-two {
        right: -5px;
        bottom: 35px;
    }

    .medical-intro,
    .medical-services,
    .medical-process,
    .medical-cta {
        padding: 70px 0;
    }

    .medical-intro-grid,
    .medical-services-grid,
    .medical-process-grid {
        grid-template-columns: 1fr;
    }

    .medical-service-card {
        min-height: 0;
    }

    .medical-cta-box {
        grid-template-columns: 1fr;

        padding: 30px 22px;

        text-align: center;
    }

    .medical-cta-icon {
        margin: auto;
    }

    .medical-cta-actions {
        grid-column: auto;

        width: 100%;

        flex-direction: column;
    }
}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 600px) {

    .medical-info-banner {
        padding: 25px 20px;
    }

    .medical-info-item {
        align-items: flex-start;
    }

    .medical-info-icon {
        width: 52px;
        height: 52px;

        flex-basis: 52px;

        border-radius: 15px;

        font-size: 20px;
    }

    .medical-info-item h3 {
        font-size: 17px;
    }

    .medical-service-card {
        padding: 22px;
    }
}


/* ==========================================================
   PHONE
========================================================== */

@media (max-width: 480px) {

    .medical-container {
        width: calc(100% - 28px);
    }

    .medical-navbar,
    .medical-nav-inner {
        height: 72px;
    }

    .medical-logo-img {
        height: 48px;

        max-width: 170px;
    }

    .medical-page {
        padding-top: 72px;
    }

    .medical-nav-links {
        top: 72px;

        left: 14px;
        right: 14px;
    }

    .medical-hero {
        padding-top: 55px;
    }

    .medical-hero-visual {
        display: none;
    }

    .medical-hero-features {
        flex-direction: column;

        align-items: center;

        gap: 10px;
    }

    .medical-info-banner {
        margin-top: -25px;
    }

    .medical-service-card {
        flex-direction: column;
    }

    .medical-service-icon {
        width: 58px;
        height: 58px;

        flex-basis: 58px;
    }

    .medical-section-heading {
        margin-bottom: 35px;
    }
}

/* ==========================================================
   FOOTER
========================================================== */

.footer {
    position: relative;

    width: 100%;

    padding: 55px 0 0;

    background: #263e50;

    color: #ffffff;
}


/* ==========================================================
   CONTAINER
========================================================== */

.footer .container {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
}


/* ==========================================================
   FOOTER GRID
========================================================== */

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        0.8fr
        0.8fr
        1.35fr;

    gap: 50px;

    align-items: start;

    padding-bottom: 45px;
}


/* ==========================================================
   BRAND
========================================================== */

.footer-brand {
    min-width: 0;
}


/*
    IMPORTANT:
    This controls the logo size.
*/

.footer-logo {
    display: inline-block;

    margin-bottom: 16px;

    text-decoration: none;
}


.footer-logo-img {
    display: block;

    width: 130px !important;
    height: auto !important;

    max-width: 130px !important;

    object-fit: contain;
}


.footer-brand > p {
    max-width: 280px;

    margin: 0 0 22px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 13px;

    line-height: 1.7;
}


/* ==========================================================
   HEADINGS
========================================================== */

.footer h4 {
    margin: 5px 0 20px;

    padding: 0;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;
}


/* Remove previous underline decoration */

.footer h4::after {
    display: none;
}


/* ==========================================================
   SOCIAL ICONS
========================================================== */

.socials {
    display: flex;

    align-items: center;

    gap: 9px;
}


.socials a {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.85);

    font-size: 13px;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.socials a:hover {
    background: #3da4ad;

    color: #ffffff;

    transform: translateY(-2px);
}


/* ==========================================================
   QUICK LINKS / SERVICES
========================================================== */

.footer-links ul {
    margin: 0;

    padding: 0;

    list-style: none;
}


.footer-links li {
    margin: 0 0 11px;
}


.footer-links a {
    display: inline-block;

    padding: 0;

    color: rgba(255, 255, 255, 0.67);

    font-size: 13px;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.footer-links a:hover {
    color: #67c5c7;

    transform: translateX(3px);
}


/* ==========================================================
   CONTACT
========================================================== */

.footer-contact {
    min-width: 0;
}


.footer-contact ul {
    display: flex;

    flex-direction: column;

    gap: 14px;

    margin: 0;

    padding: 0;

    list-style: none;
}


.footer-contact li {
    display: flex;

    align-items: center;

    gap: 11px;

    margin: 0;

    min-width: 0;
}


/* Contact icon */

.footer-contact-icon {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(77, 181, 188, 0.12);

    color: #62c1c4;

    font-size: 13px;
}


/* Contact text container */

.footer-contact li > div:last-child {
    min-width: 0;

    display: flex;

    flex-direction: column;
}


/* Small labels */

.footer-contact span {
    margin-bottom: 1px;

    color: rgba(255, 255, 255, 0.42);

    font-size: 10px;

    line-height: 1.3;
}


/* Contact links */

.footer-contact a {
    color: rgba(255, 255, 255, 0.78);

    font-size: 12px;

    line-height: 1.5;

    text-decoration: none;

    overflow-wrap: anywhere;

    transition: color 0.2s ease;
}


.footer-contact a:hover {
    color: #67c5c7;
}


/* ==========================================================
   FOOTER BOTTOM
========================================================== */

.footer-bottom {
    min-height: 64px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 19px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.43);

    font-size: 11px;

    line-height: 1.5;
}


.footer-bottom-links {
    display: flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;
}


.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.25);
}


.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.52);

    font-size: 11px;

    text-decoration: none;

    transition: color 0.2s ease;
}


.footer-bottom-links a:hover {
    color: #67c5c7;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 950px) {

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 40px 50px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 600px) {

    .footer {
        padding-top: 45px;
    }


    .footer .container {
        width: calc(100% - 32px);
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 32px;

        padding-bottom: 35px;
    }


    /*
        Smaller logo on mobile
    */

    .footer-logo-img {
        width: 110px !important;
        max-width: 110px !important;
        height: auto !important;
    }


    .footer-brand > p {
        max-width: 100%;
    }


    .footer-bottom {
        flex-direction: column;

        justify-content: center;

        gap: 8px;

        text-align: center;
    }

}