/* ============================================================
   ROSEWOOD HOME PAGE
============================================================ */

:root {
    --rosewood-green: #006b52;
    --rosewood-dark-green: #00483f;
    --rosewood-dark-orrange: #D6562E;
    --rosewood-navy: #071c42;
    --rosewood-text: #0b2940;
    --rosewood-light-green: #eaf8f0;
    --rosewood-border: #dce9e3;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--rosewood-text);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.home-container {
    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}

/* ============================================================
   HOME HERO
============================================================ */

.home-hero {
    position: relative;

    min-height: 610px;

    display: flex;
    align-items: center;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}


/* ============================================================
   OVERLAY
============================================================ */

.home-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .98) 0%,
            rgba(255, 255, 255, .95) 20%,
            rgba(255, 255, 255, .80) 35%,
            rgba(255, 255, 255, .40) 50%,
            rgba(255, 255, 255, .06) 68%,
            rgba(255, 255, 255, 0) 100%
        );

    pointer-events: none;
}


/* ============================================================
   HERO CONTENT
============================================================ */
.home-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
}

/* ============================================================
   HERO COPY
============================================================ */
.hero-copy {
    width: min(620px, 100%);
    padding: 65px 30px 60px 100px;
}

/* ============================================================
   EYEBROW
============================================================ */
.hero-eyebrow {
    position: relative;
    display: inline-block;
    margin-bottom: 18px;
    padding-left: 45px;
    color: var(--rosewood-dark-green);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

/* little green line */
.hero-eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 32px;
    height: 2px;
    background: var(--rosewood-green);
    transform: translateY(-50%);
}


/* ============================================================
   MAIN HEADING
============================================================ */

.hero-copy h1 {
    margin: 0 0 22px;

    color: var(--rosewood-navy);

    font-size: clamp(54px, 5vw, 76px);
    font-weight: 700;

    line-height: .98;

    letter-spacing: -3px;
}


/* Orange second line */

.hero-copy h1 span {
    color: var(--rosewood-dark-orrange);
}


/* ============================================================
   DESCRIPTION
============================================================ */

.hero-copy p {
    max-width: 550px;

    margin: 0 0 30px;

    color: #53605e;

    font-size: 18px;
    font-weight: 400;

    line-height: 1.7;
}


/* ============================================================
   HERO ACTIONS
============================================================ */

.hero-actions {
    display: flex;
    align-items: center;

    gap: 15px;
}


/* ============================================================
   BOOK APPOINTMENT BUTTON
============================================================ */

.hero-book-button {
    position: relative;

    width: fit-content;
    min-height: 62px;

    display: inline-flex;
    align-items: center;

    gap: 13px;

    padding: 8px 18px 8px 9px;

    border: 2px solid #ffffff;
    border-radius: 50px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #00805e 0%,
            #006f55 55%,
            #005f49 100%
        );

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 8px 20px rgba(0, 96, 72, .22);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


/* ============================================================
   CALENDAR ICON
============================================================ */

.hero-book-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    color: var(--rosewood-dark-green);

    background: #ffffff;

    font-size: 23px;
    line-height: 1;
}


/* ============================================================
   BUTTON TEXT
============================================================ */

.hero-book-text {
    white-space: nowrap;
}


/* ============================================================
   BUTTON ARROW
============================================================ */

.hero-book-arrow {
    margin-left: 8px;

    font-size: 23px;
    font-weight: 400;

    line-height: 1;

    transition: transform .25s ease;
}


/* ============================================================
   BUTTON HOVER
============================================================ */

.hero-book-button:hover {
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 13px 26px rgba(0, 96, 72, .28);
}

.hero-book-button:hover .hero-book-arrow {
    transform: translateX(4px);
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 992px) {

    .home-hero {
        min-height: 560px;
 background-size: cover;
        background-position: 20% center;
        background-repeat: no-repeat;
        background-position: 60% center;
    }

    .home-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, .98) 0%,
                rgba(255, 255, 255, .92) 40%,
                rgba(255, 255, 255, .60) 65%,
                rgba(255, 255, 255, .20) 100%
            );
    }

    .hero-copy {
        width: 560px;

        padding: 55px 0;
    }

    .hero-copy h1 {
        font-size: 60px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    .home-hero {
        min-height: 590px;

        align-items: flex-end;

        background-position: 62% center;
    }


    /*
       On mobile the stronger overlay is important because
       the text sits over more of the photograph.
    */

    .home-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, .96) 0%,
                rgba(255, 255, 255, .90) 55%,
                rgba(255, 255, 255, .65) 100%
            );
    }

    .hero-copy {
        width: 100%;

        padding: 55px 0;
    }

    .hero-eyebrow {
        margin-bottom: 14px;

        padding-left: 35px;

        font-size: 11px;

        letter-spacing: 1.8px;
    }

    .hero-eyebrow::before {
        width: 24px;
    }

    .hero-copy h1 {
        margin-bottom: 18px;

        font-size: clamp(47px, 13vw, 60px);

        line-height: .98;

        letter-spacing: -2px;
    }

    .hero-copy p {
        max-width: 480px;

        margin-bottom: 25px;

        font-size: 16px;

        line-height: 1.6;
    }

    .hero-book-button {
        min-height: 56px;

        padding:
            6px 16px
            6px 7px;

        font-size: 14px;
    }

    .hero-book-icon {
        width: 40px;
        height: 40px;

        font-size: 20px;
    }

    .hero-book-arrow {
        font-size: 20px;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 420px) {

    .home-hero {
        min-height: 560px;
    }

    .hero-copy {
        padding: 45px 0;
    }

    .hero-copy h1 {
        font-size: 46px;
    }

    .hero-copy p {
        font-size: 15px;
    }

    .hero-book-button {
        width: 100%;

        justify-content: flex-start;
    }

    .hero-book-arrow {
        margin-left: auto;
    }

}

/* ============================================================
   HOURS CARD
============================================================ */

.hours-card {
    grid-column: 3;

    padding: 20px;

    background: rgba(255, 255, 255, .93);

    border-radius: 24px;

    box-shadow: 0 10px 30px rgba(0, 50, 40, .12);

    backdrop-filter: blur(8px);
}

.hours-title {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 14px;
}

.hours-title h2 {
    margin: 0;

    color: var(--rosewood-dark-orrange);

    font-size: 27px;
}

.hours-clock {
    font-size: 50px;
    color: var(--rosewood-green);
}

.hours-row {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 15px;
    align-items: center;

    padding: 17px 10px;

    border-bottom: 1px solid #cddfd8;
}

.hours-icon {
    font-size: 38px;
}

.hours-row span,
.hours-row strong {
    display: block;
}

.hours-row span {
    margin-bottom: 5px;
    font-size: 18px;
}

.hours-row strong {
    color: var(--rosewood-dark-orrange);
    font-size: 22px;
}

.walk-in-row {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    gap: 15px;

    margin-top: 12px;
    padding: 15px;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #e2f8e8,
            #d4f3df
        );
}

.walk-in-icon {
    font-size: 38px;
}

.walk-in-row strong,
.walk-in-row span {
    display: block;
}

.walk-in-row strong {
    margin-bottom: 4px;
    font-size: 18px;
}


/* ============================================================
   HEALTH TOPICS
============================================================ */
/* ============================================================
   HEALTH TOPICS
============================================================ */

.health-topics {
    position: relative;

    padding: 75px 0 85px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}


/* ============================================================
   HEADING
============================================================ */

.health-heading-row {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 38px;
}

.health-heading-content {
    max-width: 720px;
}

.health-heading-row .section-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--rosewood-green);

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.health-heading-row h2 {
    margin: 0 0 13px;

    color: var(--rosewood-navy);

    font-size: clamp(34px, 3.3vw, 50px);
    font-weight: 700;
    line-height: 1.08;

    letter-spacing: -1px;
}

.health-heading-row p {
    max-width: 600px;

    margin: 0;

    color: #5f6875;

    font-size: 17px;
    line-height: 1.65;
}


/* ============================================================
   TOPIC GRID
============================================================ */

.health-topic-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 14px;
}


/* ============================================================
   TOPIC CARD
============================================================ */

.health-topic-card {
    position: relative;

    min-height: 155px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 13px;

    padding: 22px 45px 22px 20px;

    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;

    color: var(--rosewood-navy);

    text-decoration: none;

    overflow: hidden;

    box-shadow:
        0 4px 15px rgba(32, 71, 62, .035);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


/* subtle decorative circle */

.health-topic-card::before {
    content: "";

    position: absolute;

    width: 95px;
    height: 95px;

    top: -40px;
    right: -35px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .28);

    transition: transform .3s ease;
}


/* second soft circle */

.health-topic-card::after {
    content: "";

    position: absolute;

    width: 55px;
    height: 55px;

    right: 20px;
    bottom: -35px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .22);

    transition: transform .3s ease;
}


.health-topic-card:hover {
    transform: translateY(-6px);

    border-color: rgba(255, 255, 255, 1);

    box-shadow:
        0 16px 30px rgba(24, 69, 57, .10);
}

.health-topic-card:hover::before {
    transform: scale(1.25);
}


/* ============================================================
   TOPIC ICON
============================================================ */

.topic-icon {
    position: relative;
    z-index: 2;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, .72);

    color: var(--rosewood-green);

    font-size: 27px;
    font-weight: 400;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, .035);

    transition:
        transform .25s ease,
        background-color .25s ease;
}

.health-topic-card:hover .topic-icon {
    transform: scale(1.08);

    background: #ffffff;
}


/* ============================================================
   TOPIC TITLE
============================================================ */

.health-topic-card strong {
    position: relative;
    z-index: 2;

    display: block;

    color: var(--rosewood-navy);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}


/* ============================================================
   CARD COLORS
============================================================ */

.topic-pink {
    background:
        linear-gradient(
            145deg,
            rgba(255, 242, 245, .96),
            rgba(252, 229, 236, .93)
        );
}

.topic-blue {
    background:
        linear-gradient(
            145deg,
            rgba(239, 249, 255, .96),
            rgba(224, 242, 252, .93)
        );
}

.topic-orange {
    background:
        linear-gradient(
            145deg,
            rgba(255, 249, 236, .96),
            rgba(255, 239, 211, .93)
        );
}

.topic-green {
    background:
        linear-gradient(
            145deg,
            rgba(239, 250, 242, .96),
            rgba(221, 244, 228, .93)
        );
}

.topic-purple {
    background:
        linear-gradient(
            145deg,
            rgba(247, 243, 255, .96),
            rgba(234, 227, 251, .93)
        );
}


/* ============================================================
   INDIVIDUAL ICON COLORS
============================================================ */

.topic-pink .topic-icon {
    color: #c86f84;
}

.topic-blue .topic-icon {
    color: #438baa;
}

.topic-orange .topic-icon {
    color: #ce8a39;
}

.topic-green .topic-icon {
    color: var(--rosewood-green);
}

.topic-purple .topic-icon {
    color: #7767ae;
}


/* ============================================================
   ARROW
============================================================ */

.topic-arrow {
    position: absolute;

    right: 14px;
    bottom: 14px;

    z-index: 3;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .85);

    color: var(--rosewood-dark-green);

    font-size: 16px;
    font-weight: 600;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, .035);

    transition:
        transform .25s ease,
        color .25s ease,
        background-color .25s ease;
}


.health-topic-card:hover .topic-arrow {
    transform: translateX(3px);

    color: #ffffff;

    background: var(--rosewood-green);
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1100px) {

    .health-topic-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 850px) {

    .health-topics {
        padding: 60px 0 65px;
    }

    .health-heading-row {
        align-items: flex-start;

        gap: 30px;
    }

    .health-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

    .health-topics {
        padding: 45px 0 55px;

        background-position: center;
    }

    .health-heading-row {
        flex-direction: column;
        align-items: flex-start;

        gap: 20px;

        margin-bottom: 28px;
    }

    .health-heading-row h2 {
        margin-bottom: 10px;

        font-size: 34px;
    }

    .health-heading-row p {
        font-size: 15px;
        line-height: 1.6;
    }

    .health-topic-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .health-topic-card {
        min-height: 110px;

        flex-direction: row;
        align-items: center;
        justify-content: flex-start;

        gap: 16px;

        padding: 18px 55px 18px 17px;

        border-radius: 15px;
    }

    .topic-icon {
        width: 55px;
        height: 55px;

        font-size: 26px;
    }

    .health-topic-card strong {
        font-size: 15px;
    }

    .topic-arrow {
        top: 50%;
        right: 15px;
        bottom: auto;

        transform: translateY(-50%);
    }

    .health-topic-card:hover .topic-arrow {
        transform: translate(3px, -50%);
    }

}

/* =========================================================
   VISIT US / CONTACT SECTION
========================================================= */

#team {
    background: #eef8fa;
}

/* Contact details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 25px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #dff2ee;
    color: var(--teal);

    font-size: 22px;
}

.contact-detail > div {
    flex: 1;
}

.contact-detail strong {
    display: block;

    margin-bottom: 3px;

    color: var(--navy);

    font-size: 16px;
    font-weight: 700;
}

.contact-detail p {
    margin: 0 !important;

    color: #416170;

    font-size: 15px;
    line-height: 1.6;
}

.contact-detail a {
    color: var(--teal);
    font-weight: 600;
}

.contact-detail a:hover {
    text-decoration: underline;
}


/* Get Directions button */
.contact-details > .btn {
    align-self: flex-start;

    margin-top: 5px;
}


/* =========================================================
   MAP / LOCATION IMAGE
========================================================= */

.contact-page-map {
    min-height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 35px;

    background: #fff;
}

.contact-page-map a {
    display: block;
    width: 100%;
}

.contact-page-map img {
    width: 100% !important;
    height: auto !important;

    margin: 0 !important;

    border-radius: 12px;

    object-fit: contain;

    box-shadow: 0 8px 25px rgba(7, 62, 85, 0.12);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.contact-page-map a:hover img {
    transform: scale(1.02);

    box-shadow: 0 12px 30px rgba(7, 62, 85, 0.18);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .clinics-grid {
        width: calc(100% - 40px);
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .clinics-grid {
        width: calc(100% - 30px);
    }

    .clinic-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;

        padding: 25px 20px;
    }

    .clinic-hours {
        padding-left: 0;
        padding-top: 25px;

        border-left: 0;
        border-top: 1px solid #cddfd8;
    }

    .clinic-map {
        padding: 0 20px 20px;
    }

    .clinic-map img {
        height: 230px;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    #team.team-card {
        grid-template-columns: 45% 55%;
    }

    .contact-page-map {
        padding: 25px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    #team.team-card {
        display: flex;
        flex-direction: column;
    }

    #team .team-content {
        padding: 30px 22px;
    }

    .contact-details {
        gap: 20px;
    }

    .contact-detail {
        gap: 14px;
    }

    .contact-icon {
        flex-basis: 44px;

        width: 44px;
        height: 44px;

        font-size: 20px;
    }

    .contact-details > .btn {
        width: 100%;
    }

    .contact-page-map {
        min-height: auto;
        padding: 20px;
    }

    .contact-page-map img {
        height: auto !important;
        max-height: none;
    }
    
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1300px) {

    .home-container {
        width: min(1200px, calc(100% - 50px));
    }

    .home-hero-content {
        grid-template-columns: minmax(400px, 550px) 1fr 340px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .health-topic-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}


@media (max-width: 950px) {

    .home-hero {
        padding: 60px 0;
        min-height: auto;
    }

    .home-hero-overlay {
        background: rgba(255, 255, 255, .82);
    }

    .home-hero-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-copy,
    .hours-card {
        grid-column: 1;
    }

    .hero-copy {
        max-width: 650px;
    }

    .hours-card {
        max-width: 550px;
    }

    .section-heading-row,
    .health-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .health-search {
        width: 100%;
    }
}


@media (max-width: 700px) {

    .home-container {
        width: calc(100% - 30px);
    }

    .home-hero {
        padding: 45px 0;
        /* background-position: 65% center; */
         background-size: cover;
        background-position: 20% center;
        background-repeat: no-repeat;
    }

    .hero-eyebrow {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .hero-copy h1 {
        font-size: 50px;
        letter-spacing: -2px;
    }

    .hero-copy p {
        font-size: 17px;
    }

    .hero-book-button {
        min-height: 75px;

        padding: 15px 20px;

        border-width: 3px;
        border-radius: 18px;

        font-size: 22px;
    }

    .hero-book-icon {
        font-size: 30px;
    }

    .hero-book-arrow {
        font-size: 35px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 115px;
    }

    .health-topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .health-search button {
        padding: 12px 20px;
    }
}


@media (max-width: 420px) {

    .hero-copy h1 {
        font-size: 43px;
    }

    .hero-book-button {
        gap: 12px;
        font-size: 19px;
    }

    .health-topic-grid {
        grid-template-columns: 1fr;
    }
}