/* ============================================================================
   HAVENLY CARE SOLUTIONS — BRAND-CORRECT MODERN THEME REFINEMENTS
   Append after the original Wellcare theme CSS.
   Scope: global typography, buttons, navigation, sections, cards and forms.
   These rules do not replace the separate havenly-application custom stylesheet.
   ============================================================================ */

:root {
    --hc-primary: #23722A;
    --hc-primary-dark: #1C6023;
    --hc-primary-soft: #EDF6ED;
    --hc-accent: #819313;
    --hc-ink: #131730;
    --hc-body: #475569;
    --hc-muted: #64748B;
    --hc-border: #DFE8DE;
    --hc-surface: #ffffff;
    --hc-surface-alt: #F8FAF6;
    --hc-dark: #131730;
    --hc-radius-sm: 10px;
    --hc-radius: 16px;
    --hc-radius-lg: 24px;
    --hc-shadow: 0 12px 36px rgba(35, 114, 42, .075);
    --hc-shadow-hover: 0 20px 48px rgba(35, 114, 42, .13);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', OpenSans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--hc-body);
    background: var(--hc-surface);
}

p {
    font-size: 15px;
    line-height: 1.8;
    color: inherit;
}

h1, h2, h3, h4, h5, h6, .h1-title, .h2-title, .h3-title {
    color: var(--hc-ink);
    letter-spacing: -.035em;
}

.h1-title {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.1;
    font-weight: 750;
}

.h2-title {
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.16;
    font-weight: 750;
    padding-bottom: 18px;
}

.h3-title {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.35;
    font-weight: 700;
}

.h2-subtitle {
    color: var(--hc-primary);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 750;
    letter-spacing: .14em;
}

a {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid rgba(35, 114, 42, .35);
    outline-offset: 3px;
}

::selection {
    background: #E0EEDB;
    color: var(--hc-dark);
}

/* Action buttons */
.sec-btn, .hed-btn, .header-btn .sec-btn {
    min-height: 48px;
    height: auto;
    padding: 12px 26px;
    border-radius: 12px;
    background: var(--hc-primary);
    color: #fff !important;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 750;
    letter-spacing: .045em;
    text-transform: none;
    box-shadow: 0 5px 14px rgba(35, 114, 42, .17);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.sec-btn:hover, .hed-btn:hover {
    background: var(--hc-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(35, 114, 42, .22);
}

.sec-btn:before {
    display: none;
}

.sec-btn:active {
    transform: translateY(0);
}

.sec-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.btn-link {
    font-family: inherit;
    font-weight: 650;
}

.btn-link:hover {
    color: var(--hc-primary);
}

.btn-link:hover:before {
    background: var(--hc-primary);
}

/* Navigation: keep white text over the opening hero; dark text on sticky header */
.header-top {
    background: var(--hc-primary);
}

.header-bottom {
    padding: 22px 0;
}

.main-navigation ul li a {
    font-family: inherit;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: .01em;
}

.main-navigation ul li.sub-items:hover > a, .main-navigation ul li a:hover, .main-navigation ul li.active > a {
    color: var(--hc-accent);
}

.site-header.sticky-header {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 8px 30px rgba(19, 23, 48, .09);
}

.site-header.sticky-header .header-bottom {
    padding: 14px 0;
}

.site-header.sticky-header .main-navigation ul li a {
    color: var(--hc-ink);
}

.site-header.sticky-header .main-navigation ul li a:hover {
    color: var(--hc-primary);
}

.main-navigation ul li ul.sub-menu {
    border-radius: 14px;
    border: 1px solid var(--hc-border);
    padding: 10px 0;
    box-shadow: var(--hc-shadow-hover);
}

.main-navigation ul li ul.sub-menu li {
    border-color: var(--hc-border);
}

.main-navigation ul li ul.sub-menu li a {
    padding: 10px 16px;
    font-size: 14px;
}

.toggle-button {
    background: var(--hc-primary);
    border-radius: 12px;
}

.toggle-menu .toggle-button {
    background: var(--hc-primary-dark);
}

/* Hero and inner banners */
.main-banner:before {
    background: linear-gradient(90deg, rgba(19, 23, 48, .90), rgba(35, 114, 42, .68));
}

.banner-bg:before {
    opacity: .1;
}

.banner-content {
    padding-top: clamp(170px, 22vw, 290px);
    padding-bottom: clamp(110px, 12vw, 155px);
}

.banner-content h1, .banner-content .h1-title {
    color: #fff;
}

.banner-content p {
    color: #E3EBDD;
    max-width: 570px;
    font-size: 17px;
    line-height: 1.75;
}

.banner-btn-content {
    margin-top: 36px;
}

.banner-paly {
    border-color: rgba(255, 255, 255, .65);
    transition: background-color .2s, color .2s;
}

.banner-paly:hover {
    background: #fff;
    color: var(--hc-primary);
}

.main-inner-banner {
    padding-top: 155px;
    padding-bottom: 95px;
}

.main-inner-banner:before {
    background: linear-gradient(105deg, rgba(19, 23, 48, .86), rgba(19, 23, 48, .45));
}

.inner-banner-title:after {
    display: none;
}

.inner-banner-title .h1-title {
    background: none;
    padding: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.18;
}

/* Sections and reusable cards */
.main-about-us, .main-about-us-in, .main-why-choose, .main-testimonial, .main-blog, .main-service-in,
.main-project-in, .main-team-in, .main-pricing-in, .main-blog-list-in, .main-get-touch-in,
.main-contact-box, .main-service-detail-in {
    padding-top: clamp(62px, 7vw, 105px);
    padding-bottom: clamp(62px, 7vw, 105px);
}

.service-title-bg, .main-why-choose {
    background: var(--hc-surface-alt);
}

.about-content-box {
    padding-left: clamp(0px, 2.5vw, 36px);
}

.about-experience {
    background: var(--hc-primary);
    border-radius: var(--hc-radius);
    box-shadow: var(--hc-shadow-hover);
}

.about-points ul li i, .point-icon i {
    background: var(--hc-primary);
}

.about-points ul li span {
    font-family: inherit;
    color: var(--hc-ink);
}

.why-choose-text-box, .service-box, .team-box, .pricing-box, .testimonial-box, .blog-content-box,
.contact-box, .project-detail-info-box {
    border-radius: var(--hc-radius);
}

.why-choose-text-box, .testimonial-box, .team-box, .pricing-box, .contact-box {
    background: #fff;
    border: 1px solid var(--hc-border);
    box-shadow: var(--hc-shadow);
}

.why-choose-text-box::before {
    background: var(--hc-primary);
    width: 4px;
    border-radius: 0 4px 4px 0;
}

.team-box, .pricing-box, .contact-box {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.team-box:hover, .pricing-box:hover, .contact-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--hc-shadow-hover);
    border-color: #C6DEC0;
}

.team-img, .blog-img, .project-img, .service-img, .blog-detail-img1, .blog-detail-img2 {
    border-radius: var(--hc-radius);
}

.team-img img, .blog-img img, .project-img img, .service-img img {
    transition: transform .5s ease;
}

.service-title-box {
    background: var(--hc-primary);
    border-radius: 10px;
    min-height: 64px;
    height: auto;
}

.service-icon {
    background: var(--hc-primary-dark);
    border-radius: 9px;
}

.service-title-box h3 {
    font-size: 15px;
    line-height: 1.4;
}

.service-hover-box {
    background: rgba(35, 114, 42, .94);
    border-radius: var(--hc-radius-sm);
}

.project-img:before {
    background: var(--hc-dark);
    border-radius: var(--hc-radius);
}

.project-hover-box a, .project-hover-box a:before, .video-play-icon {
    background: var(--hc-primary);
}

.blog-content-box {
    margin-top: -25px;
    padding: 26px;
    box-shadow: var(--hc-shadow);
}

.blog-date i, .blog-author i, .recent-post-content span, .team-content p, .client-name span {
    color: var(--hc-primary);
}

.testimonial-box:before {
    opacity: .35;
}

.pricing-box.active, .pricing-box:hover {
    border-color: var(--hc-primary);
}

.pricing-box .h2-title, .counter-text .h2-title, .counter-text span {
    color: var(--hc-primary);
}

.pricing-line {
    background: var(--hc-border);
}

.contact-icon {
    border: 1px solid #D1E6CF;
    background: var(--hc-primary-soft);
    color: var(--hc-primary);
}

.contact-box:hover .contact-icon {
    background: var(--hc-primary);
}

.contact-content {
    min-width: 0;
}

/* Consistent input and form styling: site-wide legacy forms */
.form-box {
    margin-bottom: 18px;
}

.form-input, .service-appointment-form input, .service-appointment-form textarea,
.blog-search-from input, .newsletter-form input {
    border: 1px solid var(--hc-border);
    background: #fff;
    color: var(--hc-ink);
    border-radius: var(--hc-radius-sm);
    font-family: inherit;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-input {
    height: 54px;
    padding: 12px 17px;
}

textarea.form-input {
    min-height: 135px;
    height: auto;
    padding: 15px 17px;
    resize: vertical;
}

.form-input::placeholder, .newsletter-form input::placeholder {
    color: #71806E;
}

.form-input:focus, .service-appointment-form input:focus, .service-appointment-form textarea:focus,
.blog-search-from input:focus, .newsletter-form input:focus {
    border-color: var(--hc-primary);
    box-shadow: 0 0 0 4px rgba(35, 114, 42, .11);
    outline: none;
}

input[type='checkbox'], input[type='radio'] {
    accent-color: var(--hc-primary);
}

.blog-search-from input {
    box-shadow: var(--hc-shadow);
}

.newsletter-form input {
    border-radius: 14px;
}

.newsletter-form .sec-btn {
    border-radius: 12px;
}

/* Deep-green editorial bands */
.main-newsletter, .main-newsletter-in, .main-senior-care, .main-scope-care:before,
.counter-bg, .service-sidebar-appointment, .blog-detail-text-box {
    background-color: var(--hc-dark);
}

.main-newsletter, .main-newsletter-in {
    background-image: linear-gradient(120deg, rgba(19, 23, 48, .96), rgba(35, 114, 42, .86));
}

.main-senior-care .h2-title, .main-newsletter .h2-title, .main-newsletter-in .h2-title,
.main-scope-care .h2-title {
    color: #fff;
}

.scope-care-icon, .senior-care-icon, .service-appointment-title {
    background: var(--hc-primary);
}

.scope-care-text p, .senior-care-text p {
    color: #C5D5C0;
}

.service-sidebar-box ul li {
    background: var(--hc-surface-alt);
    border-radius: 12px;
    overflow: hidden;
}

.service-sidebar-box ul li:hover, .service-sidebar-box .active-service {
    background: var(--hc-dark);
    box-shadow: var(--hc-shadow);
}

.service-sidebar-box ul li span:last-child {
    background: var(--hc-primary);
}

/* Footer */
.main-footer {
    padding-top: 85px;
    background: var(--hc-dark);
}

.main-footer .h3-title {
    color: #FAFCF8;
}

.footer-contact-icon {
    background: var(--hc-primary);
}

.footer-content-box p, .footer-links ul li a, .footer-service ul li a, .footer-donation p {
    color: #C6D6C0;
}

.footer-links ul li:hover, .footer-service ul li:hover {
    padding-left: 0;
}

.footer-links ul li a:hover, .footer-service ul li a:hover {
    color: #fff;
}

.footer-copyright {
    background: #101627;
    margin-top: 75px;
}

.footer-copyright p {
    color: #C6D6C0;
}

.copyright-content p a {
    color: #C2DEBA;
}

.social-media-footer a {
    background: rgba(255, 255, 255, .1);
    margin-left: 10px;
}

.social-media-footer a:hover {
    background: var(--hc-primary);
}

.scroll-top {
    background: var(--hc-primary);
    border-radius: 14px;
    bottom: 20px;
    right: 20px;
    box-shadow: var(--hc-shadow);
}

.scroll-top:before {
    background: var(--hc-primary-dark);
}

/* Responsive refinements */
@media (max-width: 991px) {
    .site-header, .site-header.sticky-header {
        background: #fff;
    }

    .main-navigation ul {
        background: #fff;
    }

    .main-navigation ul li a {
        color: var(--hc-ink);
    }

    .banner-content {
        padding-top: 190px;
        padding-bottom: 120px;
    }

    .banner-content p {
        max-width: 680px;
    }

    .main-inner-banner {
        padding-top: 130px;
    }

    .about-content-box {
        padding-left: 0;
    }

    .footer-copyright {
        margin-top: 60px;
    }
}

@media (max-width: 767px) {
    .h1-title {
        font-size: clamp(2.3rem, 9vw, 3.4rem);
        line-height: 1.12;
    }

    .h2-title {
        font-size: clamp(1.9rem, 7vw, 2.7rem);
        line-height: 1.2;
    }

    .banner-content {
        padding-top: 165px;
        padding-bottom: 95px;
    }

    .banner-content p {
        font-size: 15px;
    }

    .contact-box {
        padding: 24px;
    }

    .pricing-box, .team-box {
        padding: 25px;
    }

    .main-footer {
        padding-top: 65px;
    }

    .footer-links, .footer-service, .footer-donation {
        margin-top: 30px;
    }

    .social-media-footer {
        float: none;
    }

    .newsletter-form input {
        padding-right: 20px;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .form-input {
        height: 52px;
    }

    .contact-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .contact-content {
        width: 100%;
        margin-left: 0;
    }

    .blog-content-box {
        margin-left: 14px;
        padding: 22px;
    }

    .footer-copyright {
        margin-top: 45px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .sec-btn, .team-box, .pricing-box, .contact-box {
        transition: none;
    }

    .sec-btn:hover, .team-box:hover, .pricing-box:hover, .contact-box:hover {
        transform: none;
    }
}

/* ==================================================
   HAVENLY - MODERN SERVICES SECTION
   ================================================== */

.havenly-services-section {
    padding: 90px 0;
    background: #f7f9f5;
}

.havenly-services-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}

.havenly-services-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #23722A;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.havenly-services-title {
    color: #131730;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -1.2px;
    margin: 0 0 18px;
}

.havenly-services-description {
    color: #667085;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* Services Grid */

.havenly-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* Service Card */

.havenly-service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e9eeea;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(19, 23, 48, 0.045);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.havenly-service-card:hover {
    transform: translateY(-6px);
    border-color: #d5e3d5;
    box-shadow: 0 20px 45px rgba(19, 23, 48, 0.10);
}

/* Image */

.havenly-service-image {
    display: block;
    position: relative;
    height: 225px;
    overflow: hidden;
    background: #eaf1e8;
}

.havenly-service-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.havenly-service-card:hover .havenly-service-image img {
    transform: scale(1.055);
}

.havenly-service-image-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
            180deg,
            transparent 65%,
            rgba(19, 23, 48, 0.10) 100%
    );
}

/* Card Content */

.havenly-service-content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.havenly-service-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.havenly-service-accent {
    display: block;
    width: 4px;
    height: 25px;
    flex-shrink: 0;
    border-radius: 4px;
    background: #819313;
}

.havenly-service-heading h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.havenly-service-heading h3 a {
    color: #131730;
    text-decoration: none;
    transition: color 0.2s ease;
}

.havenly-service-heading h3 a:hover {
    color: #23722A;
}

.havenly-service-excerpt {
    flex: 1;
    color: #667085;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.havenly-service-excerpt p {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}

/* Learn More */

.havenly-service-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    color: #23722A;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.havenly-service-link:hover {
    color: #819313;
    gap: 15px;
}

.havenly-service-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #edf5eb;
    font-size: 18px;
    transition: background 0.2s ease;
}

.havenly-service-link:hover .havenly-service-arrow {
    background: #e3ebd3;
}

/* Bottom CTA */

.havenly-services-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 48px;
    text-align: center;
}

.havenly-services-footer p {
    color: #475467;
    font-size: 15px;
    margin: 0;
}

.havenly-services-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 12px 24px;
    background: #23722A;
    border-radius: 10px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.havenly-services-cta:hover {
    background: #1c6123;
    transform: translateY(-2px);
}

/* Keyboard Accessibility */

.havenly-services-section a:focus-visible {
    outline: 3px solid #819313;
    outline-offset: 4px;
}

/* Tablet */

@media (max-width: 991px) {
    .havenly-services-section {
        padding: 70px 0;
    }

    .havenly-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .havenly-service-image {
        height: 210px;
    }
}

/* Mobile */

@media (max-width: 575px) {
    .havenly-services-section {
        padding: 55px 0;
    }

    .havenly-services-header {
        margin-bottom: 32px;
    }

    .havenly-services-eyebrow {
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .havenly-services-description {
        font-size: 14px;
    }

    .havenly-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .havenly-service-image {
        height: 220px;
    }

    .havenly-service-content {
        padding: 22px;
    }

    .havenly-services-footer {
        margin-top: 36px;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .havenly-service-card,
    .havenly-service-image img,
    .havenly-service-link,
    .havenly-services-cta {
        transition: none;
    }
}

/* ==================================================
   HAVENLY - MODERN ABOUT US SECTION
   ================================================== */

.havenly-about-section {
    padding: 50px 0;
    background: #ffffff;
    overflow: hidden;
}

.havenly-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 75px;
}

/* Image Collage */

.havenly-about-visual {
    position: relative;
    padding: 20px 35px 35px 0;
}

.havenly-about-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 190px);
    gap: 14px;
    position: relative;
    z-index: 2;
}

.havenly-about-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #edf3e9;
}

.havenly-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.havenly-about-image:hover img {
    transform: scale(1.06);
}

.havenly-about-image-1 {
    border-top-left-radius: 65px;
}

.havenly-about-image-2 {
    border-top-right-radius: 16px;
}

.havenly-about-image-3 {
    border-bottom-left-radius: 16px;
}

.havenly-about-image-4 {
    border-bottom-right-radius: 65px;
}

/* Experience Badge */

.havenly-about-experience {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 25px;
    min-width: 230px;
    max-width: 90%;
    background: #23722A;
    border: 5px solid #ffffff;
    border-radius: 16px;
    box-shadow: 0 14px 35px rgba(19, 23, 48, 0.16);
    color: #ffffff;
}

.havenly-about-experience-icon {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 19px;
}

.havenly-about-experience-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

/* Decorative Background */

.havenly-about-decoration {
    position: absolute;
    right: 0;
    bottom: 12px;
    width: 70%;
    height: 65%;
    border-radius: 35px;
    background: #edf5ea;
    z-index: 1;
}

/* Content */

.havenly-about-content {
    padding: 20px 0;
}

.havenly-about-eyebrow {
    display: inline-block;
    color: #23722A;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.havenly-about-title {
    color: #131730;
    font-size: clamp(32px, 3.5vw, 46px);
    line-height: 1.2;
    letter-spacing: -1px;
    font-weight: 750;
    margin: 0 0 24px;
}

.havenly-about-description {
    color: #667085;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 30px;
}

.havenly-about-description p {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    margin-bottom: 14px;
}

.havenly-about-description p:last-child {
    margin-bottom: 0;
}

/* Feature Cards */

.havenly-about-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 30px 0 35px;
}

.havenly-about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    min-height: 65px;
    background: #f7f9f5;
    border: 1px solid #e9eeea;
    border-radius: 12px;
    color: #131730;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.havenly-about-feature:hover {
    border-color: #bed7b9;
    background: #edf5ea;
}

.havenly-about-feature-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #23722A;
    background: #e4f0e1;
    font-size: 12px;
}

/* Button */

.havenly-about-footer {
    margin-top: 10px;
}

.havenly-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 50px;
    padding: 14px 25px;
    border-radius: 10px;
    background: #23722A;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.havenly-about-btn:hover {
    background: #1c6123;
    transform: translateY(-2px);
}

.havenly-about-btn i {
    transition: transform 0.25s ease;
}

.havenly-about-btn:hover i {
    transform: translateX(4px);
}

.havenly-about-section a:focus-visible {
    outline: 3px solid #819313;
    outline-offset: 4px;
}

/* Tablet */

@media (max-width: 991px) {
    .havenly-about-section {
        padding: 75px 0;
    }

    .havenly-about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .havenly-about-visual {
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }

    .havenly-about-images {
        grid-template-rows: repeat(2, 210px);
    }

    .havenly-about-content {
        padding: 0;
    }
}

/* Mobile */

@media (max-width: 575px) {
    .havenly-about-section {
        padding: 55px 0;
    }

    .havenly-about-visual {
        padding: 10px 10px 35px 0;
    }

    .havenly-about-images {
        grid-template-rows: repeat(2, 130px);
        gap: 10px;
    }

    .havenly-about-image {
        border-radius: 12px;
    }

    .havenly-about-image-1 {
        border-top-left-radius: 35px;
    }

    .havenly-about-image-4 {
        border-bottom-right-radius: 35px;
    }

    .havenly-about-experience {
        padding: 12px 15px;
        min-width: 0;
        width: max-content;
        max-width: 95%;
    }

    .havenly-about-experience-icon {
        width: 34px;
        height: 34px;
    }

    .havenly-about-experience-text {
        font-size: 13px;
    }

    .havenly-about-title {
        font-size: 32px;
    }

    .havenly-about-description {
        font-size: 14px;
    }

    .havenly-about-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .havenly-about-feature {
        min-height: 55px;
    }

    .havenly-about-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .havenly-about-image img,
    .havenly-about-feature,
    .havenly-about-btn,
    .havenly-about-btn i {
        transition: none;
    }
}

/* ==================================================
   HAVENLY - MODERN FEATURED SERVICES SIDEBAR
   ================================================== */

.havenly-featured-sidebar {
    width: 100%;
    margin-bottom: 32px;
}

.havenly-featured-panel {
    background: #ffffff;
    border: 1px solid #e9eeea;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 8px 30px rgba(19, 23, 48, 0.045);
}

/* Header */

.havenly-featured-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #edf0ed;
}

.havenly-featured-accent {
    width: 4px;
    height: 36px;
    flex-shrink: 0;
    background: #23722A;
    border-radius: 4px;
}

.havenly-featured-title {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
    color: #131730;
    margin: 0 0 5px;
}

.havenly-featured-subtitle {
    font-size: 13px;
    line-height: 1.6;
    color: #667085;
    margin: 0;
}

/* List */

.havenly-featured-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Cards */

.havenly-featured-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
    background: #f8faf7;
    border: 1px solid #eef1ec;
    border-radius: 12px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.havenly-featured-card:hover {
    background: #f0f6ed;
    border-color: #d3e3cf;
    transform: translateY(-2px);
}

/* Thumbnail */

.havenly-featured-image {
    display: block;
    flex: 0 0 94px;
    width: 94px;
    height: 94px;
    border-radius: 10px;
    overflow: hidden;
    background: #e5efe1;
}

.havenly-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.havenly-featured-card:hover .havenly-featured-image img {
    transform: scale(1.07);
}

.havenly-featured-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #23722A;
    font-size: 25px;
}

/* Content */

.havenly-featured-content {
    flex: 1;
    min-width: 0;
}

.havenly-featured-card-title {
    color: #131730;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 6px;
}

.havenly-featured-card-title a {
    color: inherit;
    text-decoration: none;
}

.havenly-featured-card-title a:hover {
    color: #23722A;
}

.havenly-featured-excerpt {
    color: #667085;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.havenly-featured-excerpt p {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}

/* Learn More */

.havenly-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #23722A;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.havenly-featured-link:hover {
    color: #819313;
    gap: 11px;
}

.havenly-featured-link i {
    font-size: 11px;
}

/* Footer */

.havenly-featured-footer {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #edf0ed;
}

.havenly-featured-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    background: #edf5ea;
    border-radius: 10px;
    color: #23722A;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.havenly-featured-all:hover {
    background: #23722A;
    color: #ffffff;
}

.havenly-featured-sidebar a:focus-visible {
    outline: 3px solid #819313;
    outline-offset: 3px;
}

/* Small Sidebar / Mobile */

@media (max-width: 575px) {
    .havenly-featured-panel {
        padding: 18px;
    }

    .havenly-featured-title {
        font-size: 21px;
    }

    .havenly-featured-card {
        gap: 12px;
        padding: 10px;
    }

    .havenly-featured-image {
        flex-basis: 82px;
        width: 82px;
        height: 82px;
    }

    .havenly-featured-card-title {
        font-size: 14px;
    }

    .havenly-featured-excerpt {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .havenly-featured-card,
    .havenly-featured-image img,
    .havenly-featured-link,
    .havenly-featured-all {
        transition: none;
    }
}

/* ==========================================
   HAVENLY - ACCESSIBLE HEADER
   Senior-friendly typography and spacing
   ========================================== */

/* Top Contact Bar */

.header-top {
    height: auto;
    min-height: 46px;
    padding: 9px 0;
    background: #23722A;
}

.header-contact {
    gap: 24px;
}

.header-contact > div {
    margin: 0 !important;
}

.header-contact a {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin-right: 0;
    color: #ffffff;
}

.header-contact a i {
    font-size: 17px;
    margin-right: 8px;
}

.Social-midea a {
    font-size: 17px;
    margin-left: 14px;
}

/* Main Header */

.header-bottom {
    padding: 18px 0;
}

.site-branding {
    gap: 12px;
}

.site-branding a img {
    width: auto;
    max-height: 70px;
    object-fit: contain;
}

.logo-heading {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin: 0;
}

/* Navigation */

.header-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.main-navigation ul li {
    margin-left: 0;
    padding-left: 0;
    margin-right: 18px;
}

.main-navigation ul li:last-child {
    margin-right: 0;
}

.main-navigation ul li a {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0;
}

.main-navigation ul li.sub-items > a {
    padding-right: 19px;
}

/* Dropdown Menu */

.main-navigation ul li ul.sub-menu {
    width: 250px;
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(19, 23, 48, 0.12);
}

.main-navigation ul li ul.sub-menu li,
.main-navigation ul li ul.sub-menu li:first-child {
    padding: 0;
    margin: 0;
}

.main-navigation ul li ul.sub-menu li a {
    display: block;
    padding: 13px 18px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

/* Call Button */

.header-btn {
    margin-left: 5px;
}

.header-btn .sec-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    height: auto;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

/* Keyboard Accessibility */

.header-menu a:focus-visible,
.header-contact a:focus-visible {
    outline: 3px solid #819313;
    outline-offset: 4px;
}

/* Sticky Header */

.site-header.sticky-header .header-bottom {
    padding: 14px 0;
}

.site-header.sticky-header .site-branding a img {
    max-height: 60px;
}

/* Smaller Desktop */

@media (min-width: 992px) and (max-width: 1399px) {
    .logo-heading {
        font-size: 17px;
    }

    .header-menu {
        gap: 12px;
    }

    .main-navigation ul li {
        margin-right: 12px;
    }

    .main-navigation ul li a {
        font-size: 16px;
    }

    .header-btn .sec-btn {
        font-size: 15px;
        padding: 11px 14px;
    }
}

/* Tablet and Mobile */

@media (max-width: 991px) {
    .header-bottom,
    .site-header.sticky-header .header-bottom {
        padding: 10px 0;
    }

    .site-branding {
        gap: 10px;
    }

    .site-branding a img {
        max-height: 52px;
    }

    .logo-heading {
        font-size: 17px;
    }

    .header-menu {
        display: block;
    }

    .main-navigation ul li {
        margin: 0;
    }

    .main-navigation ul li a {
        font-size: 18px;
        font-weight: 600;
        line-height: 1.6;
    }

    .main-navigation ul li ul.sub-menu {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .main-navigation ul li ul.sub-menu li a {
        font-size: 17px;
        padding: 12px 16px;
    }
}

@media (max-width: 575px) {
    .logo-heading {
        font-size: 15px;
    }

    .site-branding a img {
        max-height: 48px;
    }
}

/* =============================================
   HAVENLY - MODERN HOMEPAGE HERO SLIDER
   ============================================= */

.havenly-hero {
    position: relative;
    width: 100%;
    height: clamp(540px, 65vw, 680px);
    overflow: hidden;
    background: #131730;
    isolation: isolate;
}

/* Slides */

.havenly-hero-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.havenly-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}

.havenly-hero-slide.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

/* Background */

.havenly-hero-background {
    position: absolute;
    inset: 0;
    background-color: #131730;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.havenly-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            rgba(19, 23, 48, 0.90) 0%,
            rgba(19, 23, 48, 0.76) 38%,
            rgba(19, 23, 48, 0.38) 75%,
            rgba(19, 23, 48, 0.22) 100%
    );
}

/* Content */

.havenly-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.havenly-hero-content {
    max-width: 780px;
    padding: 65px 0 90px;
}

.havenly-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    color: #D8F0CE;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
}

.havenly-hero-eyebrow-line {
    width: 35px;
    height: 3px;
    background: #819313;
    border-radius: 5px;
}

.havenly-hero-title {
    max-width: 800px;
    margin: 0 0 25px;
    color: #ffffff;
    font-size: clamp(38px, 4.5vw, 64px);
    font-weight: 750;
    line-height: 1.14;
    letter-spacing: -1.5px;
    text-wrap: balance;
}

.havenly-hero-description {
    max-width: 650px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.75;
    font-weight: 400;
    margin-bottom: 32px;
}

/* Optional Text Alignment */

.havenly-align-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.havenly-align-center .havenly-hero-eyebrow {
    justify-content: center;
}

.havenly-align-center .havenly-hero-description {
    margin-left: auto;
    margin-right: auto;
}

.havenly-align-center .havenly-hero-actions {
    justify-content: center;
}

.havenly-align-right {
    margin-left: auto;
    text-align: right;
}

.havenly-align-right .havenly-hero-eyebrow,
.havenly-align-right .havenly-hero-actions {
    justify-content: flex-end;
}

.havenly-align-right .havenly-hero-description {
    margin-left: auto;
}

/* Buttons */

.havenly-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.havenly-hero-primary,
.havenly-hero-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    padding: 14px 25px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.havenly-hero-primary {
    background: #23722A;
    color: #ffffff !important;
    border: 2px solid #23722A;
}

.havenly-hero-primary:hover {
    background: #1B5B21;
    border-color: #1B5B21;
    transform: translateY(-2px);
}

.havenly-hero-secondary {
    background: rgba(19, 23, 48, 0.25);
    border: 2px solid #ffffff;
    color: #ffffff !important;
}

.havenly-hero-secondary:hover {
    background: #ffffff;
    color: #131730 !important;
}

/* Bottom Navigation */

.havenly-hero-navigation {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 32px;
    z-index: 5;
}

.havenly-hero-navigation-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.havenly-hero-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.havenly-hero-prev,
.havenly-hero-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(19, 23, 48, 0.4);
    cursor: pointer;
    font-size: 16px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.havenly-hero-prev:hover,
.havenly-hero-next:hover {
    background: #23722A;
    border-color: #23722A;
}

.havenly-hero-counter {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

.havenly-hero-counter-divider {
    color: rgba(255, 255, 255, 0.6);
    padding: 0 5px;
}

/* Slide Indicators */

.havenly-hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.havenly-hero-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.havenly-hero-dot::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    transition: width 0.25s ease, background 0.25s ease;
}

.havenly-hero-dot.is-active::after {
    width: 26px;
    background: #ffffff;
}

.havenly-hero a:focus-visible,
.havenly-hero button:focus-visible {
    outline: 3px solid #D8F0CE;
    outline-offset: 4px;
}

/* Tablet */

@media (max-width: 991px) {
    .havenly-hero {
        height: 590px;
    }

    .havenly-hero-content {
        max-width: 660px;
    }

    .havenly-hero-title {
        font-size: clamp(36px, 5vw, 52px);
    }

    .havenly-hero-description {
        font-size: 19px;
    }

    .havenly-hero-overlay {
        background: rgba(19, 23, 48, 0.68);
    }
}

/* Mobile */

@media (max-width: 575px) {
    .havenly-hero {
        height: auto;
        min-height: 610px;
    }

    .havenly-hero-track {
        min-height: 610px;
    }

    .havenly-hero-slide {
        align-items: center;
    }

    .havenly-hero-background {
        background-position: center;
    }

    .havenly-hero-content {
        padding: 65px 0 115px;
        text-align: left;
    }

    .havenly-hero-eyebrow {
        font-size: 12px;
        letter-spacing: 1px;
        margin-bottom: 18px;
    }

    .havenly-hero-title {
        font-size: clamp(34px, 9vw, 43px);
        line-height: 1.18;
        letter-spacing: -0.8px;
    }

    .havenly-hero-description {
        font-size: 18px;
        line-height: 1.65;
    }

    .havenly-hero-actions {
        justify-content: flex-start;
        gap: 12px;
    }

    .havenly-hero-primary,
    .havenly-hero-secondary {
        width: 100%;
        min-height: 52px;
        font-size: 16px;
    }

    .havenly-hero-navigation {
        bottom: 18px;
    }

    .havenly-hero-controls {
        gap: 8px;
    }

    .havenly-hero-prev,
    .havenly-hero-next {
        width: 44px;
        height: 44px;
    }

    .havenly-hero-counter {
        font-size: 15px;
    }

    .havenly-hero-dots {
        gap: 0;
    }

    .havenly-hero-dot {
        width: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .havenly-hero-slide,
    .havenly-hero-dot::after,
    .havenly-hero-primary,
    .havenly-hero-secondary,
    .havenly-hero-prev,
    .havenly-hero-next {
        transition: none;
    }
}

/* ==================================================
   HAVENLY - MODERN TESTIMONIALS & REVIEWS
   ================================================== */

.havenly-reviews-section {
    padding: 90px 0;
    background: #f7f9f5;
    overflow: hidden;
}

/* Section Header */

.havenly-reviews-header {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.havenly-reviews-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #23722A;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.havenly-reviews-title {
    margin: 0 0 18px;
    color: #131730;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -1px;
}

.havenly-reviews-description {
    color: #667085;
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}

/* ==================================================
   SLICK SLIDER - EQUAL HEIGHT FIX
   ================================================== */

.havenly-reviews-slider {
    margin-bottom: 0;
}

.havenly-reviews-slider .slick-list {
    overflow: hidden;
    padding-top: 12px;
    padding-bottom: 18px;
}

.havenly-reviews-slider .slick-track {
    display: flex !important;
    align-items: stretch;
}

.havenly-reviews-slider .slick-slide {
    height: auto !important;
    display: flex !important;
    flex-direction: column;
    opacity: 1;
}

.havenly-reviews-slider .slick-slide > div {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
}

.havenly-reviews-slide {
    display: flex !important;
    height: auto;
    padding: 0 12px;
}


