.elementor-8939 .elementor-element.elementor-element-d079fe9{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-b32454f *//* =====================================
   HILLSIDE FAMILY MEDICINE
   THANK YOU SECTION
===================================== */

.hfm-thankyou,
.hfm-thankyou * {
    box-sizing: border-box;
}

.hfm-thankyou {
    --brown: #4b2618;
    --brown-hover: #35190f;
    --green: #80b82d;
    --green-light: #f2f7e9;
    --text: #302722;
    --muted: #7b8491;
    --white: #ffffff;
    --border: #eae5e1;
}

/* Decorative background elements */
.hfm-thankyou::before,
.hfm-thankyou::after {
    position: absolute;
    z-index: -1;
    content: "";
    border-radius: 50%;
    pointer-events: none;
}


.hfm-thankyou .hfm-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

/* Main card */
.hfm-thankyou .hfm-card {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
    background: var(--white);
    border: 1px solid rgba(75, 38, 24, 0.07);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(54, 35, 26, 0.08);
}

/* Top accent */
.hfm-thankyou .hfm-card::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 110px;
    height: 5px;
    content: "";
    background: var(--green);
    border-radius: 0 0 6px 6px;
    transform: translateX(-50%);
}

/* Success icon */
.hfm-thankyou .hfm-success-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: #f6f9f0;
    border: 1px solid #e7efd8;
    border-radius: 50%;
}

.hfm-thankyou .hfm-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    color: #ffffff;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(128, 184, 45, 0.23);
}

.hfm-thankyou .hfm-success-icon svg {
    display: block;
    width: 35px;
    height: 35px;
}

/* Brand label */
.hfm-thankyou .hfm-eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 8px 15px;
    color: var(--brown);
    background: #f8f5f2;
    border: 1px solid #eee7e1;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.5;
    text-transform: uppercase;
}

/* Heading */
.hfm-thankyou h1 {
    max-width: 680px;
    margin: 0 auto 20px;
    color: var(--brown);
    font-size: clamp(32px, 4.5vw, 46px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
}

/* Description */
.hfm-thankyou .hfm-description {
    max-width: 610px;
    margin: 0 auto 34px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 400;
        text-align: justify;
    line-height: 1.9;
}

/* Buttons */
.hfm-thankyou .hfm-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
}

.hfm-thankyou a.hfm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 27px;
    border: 2px solid var(--brown);
    border-radius: 40px;
    background: var(--brown);
    color: #ffffff !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 5px 12px rgba(75, 38, 24, 0.09);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.hfm-thankyou a.hfm-button:hover {
    background: var(--brown-hover);
    border-color: var(--brown-hover);
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(75, 38, 24, 0.17);
    transform: translateY(-2px);
}

.hfm-thankyou a.hfm-button-outline {
    background: #ffffff;
    color: var(--brown) !important;
    box-shadow: none;
}

.hfm-thankyou a.hfm-button-outline:hover {
    background: var(--green-light);
    border-color: var(--green);
    color: var(--brown) !important;
}

.hfm-thankyou .hfm-button svg {
    display: block;
    flex-shrink: 0;
    width: 19px;
    height: 19px;
}

/* Bottom accent line */
.hfm-thankyou .hfm-bottom-accent {
    width: 54px;
    height: 3px;
    margin: 37px auto 0;
    background: var(--green);
    border-radius: 5px;
}

/* Footer text */
.hfm-thankyou .hfm-footer-text {
    margin: 26px 0 0;
    color: #85817d;
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
}

.hfm-thankyou .hfm-footer-text strong {
    color: var(--brown);
    font-weight: 600;
}

.hfm-thankyou .hfm-heart {
    display: inline-block;
    margin-right: 5px;
    color: var(--green);
}

/* Keyboard accessibility */
.hfm-thankyou a.hfm-button:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 4px;
}

/* Tablet and mobile */
@media (max-width: 767px) {
    .hfm-thankyou {
        padding: 0;
    }

    .hfm-thankyou .hfm-card {
        padding: 48px 24px 40px;
        border-radius: 14px;
    }

    .hfm-thankyou .hfm-success-wrap {
        width: 84px;
        height: 84px;
        margin-bottom: 25px;
    }

    .hfm-thankyou .hfm-success-icon {
        width: 62px;
        height: 62px;
    }

    .hfm-thankyou .hfm-success-icon svg {
        width: 30px;
        height: 30px;
    }

    .hfm-thankyou .hfm-eyebrow {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .hfm-thankyou h1 {
        font-size: 25px;
        letter-spacing: -0.6px;
        line-height: 1.25;
    }

    .hfm-thankyou .hfm-description {
        margin-bottom: 28px;
        font-size: 15px;
        line-height: 1.8;
    }

    .hfm-thankyou .hfm-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hfm-thankyou a.hfm-button {
        width: 100%;
        min-height: 50px;
        padding: 13px 18px;
    }

    .hfm-thankyou .hfm-bottom-accent {
        margin-top: 30px;
    }
}

@media (max-width: 380px) {
    .hfm-thankyou .hfm-card {
        padding-right: 18px;
        padding-left: 18px;
    }

    .hfm-thankyou h1 {
        font-size: 29px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hfm-thankyou a.hfm-button {
        transition: none;
    }

    .hfm-thankyou a.hfm-button:hover {
        transform: none;
    }
}/* End custom CSS */