/* ========================================
   About Us New Page - Premium CSS Styles
   ======================================== */

:root {
    --wm-teal: var(--hero-background-color);
    --wm-teal-hover: #4a8d86;
    --wm-heading-dark: #2E3030;
    --wm-body-brown: #60403E;
    --wm-bg-cream: #FBF9F6;
    --wm-pastel-pink: #FCECEB;
    --wm-pastel-blue: #EAF2F4;
    --wm-card-bg: #FFFFFF;
}

.about-new-page-wrapper {
    background-color: var(--wm-bg-cream);
    font-family: 'Inter', sans-serif;
    color: var(--wm-body-brown);
}

/* Tagline Component */
.tagline {
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.tagline-dot {
    width: 30px;
    height: 1px;
    background: var(--wm-heading-dark);
    display: inline-block;
    margin-right: 10px;
}

.tagline-text {
    font-weight: 700;
    color: var(--wm-subheading);
}

/* Button Custom Styles */
.btn-wm-primary {
    background-color: var(--wm-teal) !important;
    color: #FFFFFF !important;
    border: none !important;
    font-size: 0.88rem;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(91, 168, 160, 0.15);
}

.btn-wm-primary:hover {
    background-color: var(--wm-secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(114, 165, 159, 0.2);
}

.btn-wm-outline {
    background-color: transparent !important;
    color: var(--wm-heading-dark) !important;
    border: 1px solid var(--wm-heading-dark) !important;
    font-size: 0.88rem;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-wm-outline:hover {
    background-color: var(--wm-heading-dark) !important;
    color: #FFFFFF !important;
    transform: translateY(-3px);
}

/* ========================================
   1. Hero Section
   ======================================== */
.about-new-hero {
    background-color: #F8F6F3;
    background-color: var(--hero-background-color);
    padding: 100px 0 160px 0 !important;
    min-height: auto;
    position: relative;
}

.about-new-hero .tagline-dot {
    background: #ffffff;
}

.about-new-hero .tagline-text {
    color: #ffffff;
}

.about-new-hero .btn-wm-primary {
    background: white !important;
    color: #347d75 !important;
}

.about-new-hero .btn-wm-outline {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

/* Wavy layered backgrounds using absolute elements */
.about-new-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23FCECEB' fill-opacity='0.4' d='M0,192L60,202.7C120,213,240,235,360,224C480,213,600,171,720,165.3C840,160,960,192,1080,208C1200,224,1320,224,1380,224L1440,224L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

.about-new-hero .about-hero-title {
    font-family: 'Domine', serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: var(--wm-heading-dark);
    color: white;
    line-height: 1.15;
}

.about-new-hero .hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--wm-body-brown);
    color: white;
    opacity: 0.95;
    max-width: 540px;
}

.about-new-hero .hero-main-img {

    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: cover;


    border: 6px solid #FFFFFF;
    border-radius: 100px 20px;


}

.about-new-hero .hero-image-container {
    position: relative;
    padding-bottom: 20px;
}

/* Floating overlay badge */
.hero-badge-overlay {
    position: absolute;
    bottom: 50px;
    left: 0px;
    right: 0px;
    margin: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 16px 20px;
    box-shadow: 0 15px 35px rgba(96, 64, 62, 0.1);
    max-width: 280px;
    z-index: 10;
    transition: all 0.3s ease;
}

.hero-badge-overlay:hover {
    transform: translateY(-5px);
}

.badge-icon-wrap {
    width: 44px;
    height: 44px;
    /* background-color: var(--wm-pastel-blue); */
    flex-shrink: 0;
}

.hero-badge-overlay .badge-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--wm-heading-dark);
    line-height: 35px;
    font-weight: 600 !important;
}

.hero-badge-overlay .badge-text p {
    font-size: 1rem;
    line-height: 18px !important;

}

/* ========================================
   2. Practice Section
   ======================================== */
.about-new-practice {
    background-color: #f5f5f5;
    padding: 100px 0;
    z-index: 1;
}

/* .about-new-practice::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%235BA8A0' fill-opacity='0.15' d='M0,96L80,117.3C160,139,320,181,480,186.7C640,192,800,160,960,149.3C1120,139,1280,149,1360,154.7L1440,160L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
} */

.practice-title {
    font-family: 'Domine', serif;
    font-size: 2.8rem;
    color: var(--wm-heading-dark);
    font-weight: 700;
    line-height: 1.2;
}

.practice-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--wm-body-brown);
    opacity: 0.9;
}

.practice-desc p {
    margin-bottom: 20px;
}

.practice-main-img {
    border-radius: 40px;
    box-shadow: 0 20px 45px rgba(96, 64, 62, 0.05);
    border: 3px solid #FFFFFF;
    background-color: #FFFFFF;
    max-width: 480px;
    width: 100%;
    height: auto;
}

.practice-placeholder-frame {
    width: 100%;
    max-width: 480px;
    height: 420px;
    background-color: #FFFFFF;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
    border: 3px solid #FFFFFF;
}

/* ========================================
   3. Values Cards Section
   ======================================== */
.about-new-cards {
    background-color: var(--wm-bg-cream);
    padding: 100px 0 30px !important;
}

.value-card {
    background-color: #FFFFFF;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(96, 64, 62, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 40px 32px !important;
}

.value-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(91, 168, 160, 0.1), 0 8px 20px rgba(0, 0, 0, 0.04);
    border-color: rgba(91, 168, 160, 0.12);
}

/* Icon circle — bg set inline per card via PHP */
.value-card-icon-wrap {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.value-card:hover .value-card-icon-wrap {
    transform: scale(1.1) rotate(8deg);
    filter: brightness(0.9);
}

.value-card-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    transition: all 0.4s ease;
}

/* Thin separator line under title */
.value-card-divider {
    width: 40px;
    height: 1.5px;
    background-color: rgba(96, 64, 62, 0.12);
    border-radius: 2px;
    margin-left: auto;
    margin-right: auto;
}

.value-card-title {
    font-family: 'Domine', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wm-heading-dark);
    line-height: 1.25;
}

.value-card-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #888580;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   4. Focus & Philosophy Section
   ======================================== */
.about-new-focus-philosophy {
    background-color: var(--wm-bg-cream);
    padding: 100px 0 180px !important;
}

/* What We Treat styled cards */
.treat-card {
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.treat-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.1);
}

.treat-card[aria-expanded="true"] .accordion-arrow {
    transform: rotate(90deg);
}

.treat-card[aria-expanded="true"] {
    background-color: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 0, 0, 0.1);
}

/* About Us New specific overrides for treat-card concerns grid */
.about-new-focus-philosophy .treat-card {
    padding: 16px 20px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(91, 168, 160, 0.12) !important;
    box-shadow: 0 4px 15px rgba(96, 64, 62, 0.02) !important;
    min-height: 80px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.about-new-focus-philosophy .treat-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(91, 168, 160, 0.08) !important;
    border-color: rgba(91, 168, 160, 0.2) !important;
}

.about-new-focus-philosophy .treat-card[aria-expanded="true"] {
    background-color: #ffffff !important;
    box-shadow: 0 12px 30px rgba(91, 168, 160, 0.1) !important;
    border-color: rgba(91, 168, 160, 0.2) !important;
}

/* Icon circle styling */
.about-new-focus-philosophy .treat-card .icon-circle {
    width: 46px !important;
    height: 46px !important;
    margin-right: 12px !important;
}

.about-new-focus-philosophy .treat-card .icon-circle img {
    width: 26px !important;
    height: 26px !important;
}

.about-new-focus-philosophy .treat-card .icon-circle i,
.about-new-focus-philosophy .treat-card .icon-circle span {
    font-size: 1.25rem !important;
}

/* Text styling */
.about-new-focus-philosophy .treat-card span.fw-bold {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: var(--wm-heading-dark) !important;
}

/* Arrow styling */
.about-new-focus-philosophy .treat-card .accordion-arrow {
    color: #8BB6B1 !important;
    font-size: 1.6rem !important;
}

.section-title-sm {
    font-family: 'Domine', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--wm-heading-dark);
}

.section-subtitle-sm {
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--wm-body-brown);
    opacity: 0.85;
}

/* Left Grid Pills */
.focus-item-pill {
    background-color: var(--wm-card-bg);
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 8px 25px rgba(96, 64, 62, 0.02);
    text-decoration: none;
    color: var(--wm-heading-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.focus-item-pill:hover {
    background-color: var(--wm-teal);
    color: #FFFFFF !important;
    border-color: var(--wm-teal);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(91, 168, 160, 0.2);
}

.focus-pill-icon-wrap {
    width: 32px;
    height: 32px;
    background-color: #EEF5F4;
    transition: all 0.3s ease;
}

.focus-item-pill:hover .focus-pill-icon-wrap {
    background-color: rgba(255, 255, 255, 0.2);
}

.focus-item-pill:hover .focus-pill-icon {
    filter: brightness(0) invert(1);
}

.focus-pill-text {
    max-width: 110px;
}

.focus-pill-arrow {
    color: var(--wm-teal);
    transition: transform 0.3s ease, color 0.3s ease;
}

.focus-item-pill:hover .focus-pill-arrow {
    color: #FFFFFF;
    transform: translateX(3px);
}

/* Right checklist and Quote */
.philosophy-list-item {
    font-size: 1rem;
    font-weight: 500;
    color: var(--wm-heading-dark);
}

.philo-check-icon {
    width: 28px;
    height: 28px;
    background-color: transparent;
    border: 1.5px solid var(--wm-heading-dark);
    color: var(--wm-heading-dark);
}

.philosophy-quote-card {
    background-color: var(--wm-pastel-pink);
    border: none;
    border-radius: 24px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 48px 40px !important;
}

.philosophy-quote-card .quote-icon-top {
    font-family: 'Domine', serif;
    font-size: 6.5rem;
    color: #F7D5D2;
    line-height: 0.8;
    margin-top: -15px;
    margin-bottom: -10px;
}

.philosophy-quote-card .quote-text {
    font-family: 'Domine', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--wm-heading-dark);
    line-height: 1.5;
    font-style: normal;
    margin: 10px 0;
    text-align: left;
}

.philosophy-quote-card .quote-icon-bottom {
    font-family: 'Domine', serif;
    font-size: 6.5rem;
    color: #F7D5D2;
    line-height: 0.8;
    text-align: right;
    margin-top: -10px;
    margin-bottom: -40px;
}

/* Vertical separator between Focus and Philosophy on desktop */
@media (min-width: 992px) {
    .philosophy-column {
        border-left: 2px solid rgba(91, 168, 160, 0.25);
        padding-left: 3rem !important;
    }
}

/* ========================================
   5. How Care Works Section
   ======================================== */
.about-new-care-works {
    background-color: #5BA8A0;
    padding: 100px 0;
}

.care-works-main-title {
    font-family: 'Domine', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
}

.steps-row {
    position: relative;
    z-index: 2;
}

/* Vertical separators on desktop */
@media (min-width: 992px) {
    .step-column-new {
        border-right: 1px solid rgba(91, 168, 160, 0.2);
    }

    .step-column-new:last-child {
        border-right: none;
    }
}

.step-wrapper-new {
    width: 100%;
}

.step-number-bubble-new {
    position: absolute;
    top: 15px;
    left: 20px;
    width: 36px;
    height: 36px;
    background-color: #c56b71;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(91, 168, 160, 0.15);
    border: 2px solid #FFFFFF;
    z-index: 5;
    transition: all 0.3s ease;
}

.step-number-bubble-new span {
    color: #ffffff
}


.step-icon-wrap-new {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* background-color: #c56b71; */
}



.step-icon-new {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.step-title-new {
    font-family: 'Domine', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: white;
    line-height: 1.35;
    margin-bottom: 0;
}

.step-divider-new {
    width: 40px;
    height: 1.5px;
    background-color: rgba(96, 64, 62, 0.15);
    margin: 15px auto;
}

.step-desc-new {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: white;
    opacity: 0.9;
    max-width: 270px;
    margin: 0 auto;
}

/* ========================================
   6. CTA Section
   ======================================== */
.about-new-cta-section {
    /* background-color: var(--wm-bg-cream); */
    background-color: #f8f7f5;
    padding: 80px 0 120px 0;
}

.cta-banner-new {
    background-color: var(--wm-pastel-blue);
    border-radius: 24px;
    border: 3px solid #FFFFFF;
    max-width: 1140px;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 60px 40px !important;
}

.cta-banner-new .cta-title {
    font-family: 'Domine', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--wm-heading-dark);
    margin-bottom: 15px !important;
}

.cta-banner-new .cta-subtitle {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--wm-body-brown);
    opacity: 0.95;
    max-width: 680px;
    margin: 0 auto 30px auto !important;
}

/* ========================================
   Responsive Breakpoints
   ======================================== */
@media (max-width: 1199.98px) {
    .about-new-hero .about-hero-title {
        font-size: 3rem;
    }

    .cta-banner-new .cta-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 991.98px) {
    .about-new-hero {
        padding: 60px 0 100px 0;
        text-align: center;
    }

    .about-new-hero .hero-desc {
        max-width: 100%;
    }

    .about-new-hero .hero-image-container {
        margin-top: 40px;
    }

    .hero-badge-overlay {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }

    .hero-badge-overlay:hover {
        transform: translateX(-50%) translateY(-5px);
    }

    .practice-title {
        font-size: 2.3rem;
    }

    .practice-image-container {
        margin-bottom: 30px;
    }

    .philosophy-quote-card {
        margin-top: 20px;
        min-height: 200px;
    }

    .care-works-main-title {
        font-size: 2.3rem;
    }

    .cta-banner-new {
        padding: 40px 20px !important;
    }

    .cta-banner-new .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .about-new-hero .about-hero-title {
        font-size: 35px !important;
        line-height: 1.15 !important;
    }

    .practice-title {
        font-size: 35px !important;
        line-height: 1.15 !important;
    }

    .section-title-sm {
        font-size: 35px !important;
        line-height: 1.15 !important;
    }

    .care-works-main-title {
        font-size: 35px !important;
        line-height: 1.15 !important;
    }

    .cta-banner-new .cta-title {
        font-size: 35px !important;
        line-height: 1.15 !important;
    }

    .hero-badge-overlay {
        position: relative;
        left: 0;
        transform: none;
        margin: 20px auto 0 auto;
    }

    .hero-badge-overlay:hover {
        transform: translateY(-5px);
    }
}