
/* =================================
   HEALTHY CARE — COMPLETE STYLES
================================= */

:root {
    --green: #15382F;
    --dark-green: #0B251E;
    --sage: #C5CEC2;
    --light-sage: #D9E0D6;
    --ivory: #F0E8DA;
    --cream: #D8CCB8;
    --black: #000000;
    --border: #89978A;
    --shadow: 0 10px 28px rgba(8, 32, 25, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 25px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--cream);
    color: var(--black);
    line-height: 1.65;
}

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
}

p {
    color: var(--black);
}

a {
    color: inherit;
    text-decoration: none;
}

/* HEADER */

.doctor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 17px 6%;
    background: var(--green);
    border-bottom: 3px solid var(--dark-green);
}

.doctor-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ivory);
    color: var(--dark-green);
    font-size: 24px;
    font-weight: 900;
}

.doctor-logo span {
    display: block;
    color: var(--ivory);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
}

.doctor-logo small {
    display: block;
    color: var(--light-sage);
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.doctor-header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 22px;
}

.doctor-header nav a {
    color: var(--ivory);
    font-size: 13px;
    font-weight: 800;
}

.doctor-header nav a:hover {
    color: var(--sage);
}

/* HERO — TEXT OVER THE BACKGROUND IMAGE */

.doctor-hero {
    position: relative;
    isolation: isolate;
    min-height: 390px;
    padding: 55px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;

    background-color: var(--sage);

    background-image:
        linear-gradient(
            90deg,
            rgba(240, 232, 218, 0.72) 0%,
            rgba(240, 232, 218, 0.52) 52%,
            rgba(240, 232, 218, 0.12) 100%
        ),
        url("../images/doctors..picture.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-text {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
}

.hero-label {
    margin-bottom: 12px;
    color: #000000 !important;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.hero-text h1 {
    margin-bottom: 16px;
    color: #000000 !important;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    text-shadow: none;
}

.hero-text .hero-description {
    max-width: 530px;
    margin-bottom: 23px;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    font-size: 16px;
    font-weight: 900 !important;
    line-height: 1.8;
    text-shadow: none !important;
    opacity: 1;
}

.hero-button,
.contact-button {
    display: inline-block;
    padding: 12px 22px;
    border: 2px solid var(--dark-green);
    border-radius: 5px;
    background: var(--green);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
    transition: background 0.2s ease;
}

.hero-button:hover,
.contact-button:hover {
    background: var(--dark-green);
}

/* CIRCULAR MESSAGE */

.hero-side {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 190px;
    flex: 0 0 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 3px solid var(--green);
    border-radius: 50%;
    background: rgba(240, 232, 218, 0.96);
    text-align: center;
    box-shadow: var(--shadow);
}

.hero-side span {
    margin-bottom: 9px;
    color: var(--dark-green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.hero-side p {
    color: #000000;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
}

/* SHARED SECTION STYLES */

.doctor-about,
.doctor-services,
.doctor-contact {
    min-width: 0;
    padding: 38px 6%;
}

.section-label {
    margin-bottom: 10px;
    color: var(--dark-green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.doctor-about h2,
.doctor-services h2,
.doctor-contact h2 {
    margin-bottom: 14px;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.25;
}

.doctor-about h2,
.doctor-services h2 {
    color: var(--dark-green);
}

.doctor-about h2 span,
.doctor-services h2 span {
    color: #416B55;
}

/* ABOUT */

.doctor-about {
    background: var(--cream);
}

.about-intro {
    max-width: 530px;
    margin-bottom: 23px;
    color: #111111;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.about-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--ivory);
    box-shadow: 0 5px 15px rgba(8, 32, 25, 0.06);
}

.about-card h3 {
    margin-bottom: 9px;
    color: #000000;
    font-size: 20px;
}

.about-card p {
    color: #222222;
    font-size: 13px;
    font-weight: 500;
}

/* SERVICES */

.doctor-services {
    background: var(--sage);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.service-card {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-left: 5px solid var(--green);
    border-radius: 8px;
    background: var(--ivory);
    box-shadow: 0 5px 15px rgba(8, 32, 25, 0.06);
}

.service-card > span {
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.service-card h3 {
    margin: 9px 0;
    color: #000000;
    font-size: 20px;
}

.service-card p {
    color: #222222;
    font-size: 13px;
    font-weight: 500;
}

/* CONTACT */

.doctor-contact {
    background: var(--green);
    text-align: center;
}

.doctor-contact .contact-label {
    margin-bottom: 10px;
    color: var(--light-sage);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.doctor-contact h2 {
    color: var(--ivory);
}

.doctor-contact h2 span {
    color: var(--sage);
}

.contact-message {
    max-width: 520px;
    margin: 0 auto 24px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    text-align: left;
}

.contact-details > div {
    min-width: 0;
    padding: 17px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--ivory);
}

.contact-details span {
    display: block;
    margin-bottom: 7px;
    color: var(--dark-green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.contact-details p {
    color: #111111;
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contact-button {
    margin-top: 23px;
    border-color: var(--ivory);
    background: var(--ivory);
    color: var(--dark-green);
}

.contact-button:hover {
    background: var(--cream);
    color: #000000;
}

/* FOOTER */

.doctor-footer {
    padding: 17px 6%;
    background: var(--dark-green);
    text-align: center;
}

.doctor-footer p {
    color: var(--ivory);
    font-size: 12px;
}

/* COMPACT LAYOUT */

.compact-page {
    max-width: 1400px;
    margin: 0 auto;
}

.compact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.compact-content .doctor-about,
.compact-content .doctor-services {
    min-width: 0;
}

.compact-content .doctor-contact {
    grid-column: 1 / -1;
}

/* TABLET */

@media (max-width: 850px) {
    .doctor-header {
        padding-right: 5%;
        padding-left: 5%;
    }

    .doctor-hero {
        padding: 40px 5%;
    }

    .hero-side {
        width: 155px;
        height: 155px;
        flex-basis: 155px;
    }

    .hero-side p {
        font-size: 18px;
    }

    .compact-content {
        grid-template-columns: 1fr;
    }

    .compact-content .doctor-contact {
        grid-column: auto;
    }

    .doctor-about,
    .doctor-services,
    .doctor-contact {
        padding: 32px 5%;
    }

    .contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .doctor-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 17px 5%;
    }

    .doctor-header nav {
        width: 100%;
        gap: 12px 17px;
    }

    .doctor-header nav a {
        font-size: 12px;
    }

    .doctor-hero {
        min-height: 330px;
        padding: 35px 5%;
        background-image:
            linear-gradient(
                90deg,
                rgba(240, 232, 218, 0.76),
                rgba(240, 232, 218, 0.48)
            ),
            url("../images/doctors..picture.jpg");
        background-size: cover;
        background-position: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .hero-text .hero-description {
        font-size: 15px;
    }

    .hero-side {
        display: none;
    }

    .about-cards,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .contact-details > div {
        padding: 13px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
