/*
Theme Name: Wholemind
Theme URI: http://wholemind.com/
Author: Ludych
Author URI: http://example.com
Description: Custom WordPress theme for Wholemind - Psychiatry & Wellness for Women.
Version: 1.0
Text Domain: wholemind
*/

/* 
  Design Tokens 
*/
:root {
    --wm-primary: #6DA8A3;
    --wm-secondary: #99B8DD;
    --wm-muted: #949599;
    --wm-bg: #F5F5F5;
    --wm-heading: #2E3030;
    --wm-subheading: #4C4C4C;
    --wm-body: #60403E;
    --wm-highlight: #f8f4f2;
    --wm-accent: #F2D36B;
    --white: #FFFFFF;
    --wm-header-link: #4d4d4d;
    --wm-header-hover: #2E3030;
    --wm-btn-bg: #949497;



    /* Font tokens */
    --font-heading: 'Domine', serif;
    --font-body: 'Inter', sans-serif;

    /* Legacy mapping for compatibility if needed */
    --primary-color: var(--wm-primary);
    --secondary-color: var(--wm-secondary);
    --muted-color: var(--wm-muted);
    --bg-main: var(--wm-bg);
    --text-headline: var(--wm-heading);
    --text-heading-supp: var(--wm-subheading);
    --text-body: var(--wm-body);
    --highlight-soft: var(--wm-highlight);
    --accent-bright: var(--wm-accent);
    --secondary-btn-bg: var(--wm-btn-bg);

    --hero-background-color: #5ba8a0;
}

* {
    border: 0px
}

/* Soft Background Utilities */
.bg-soft-pink {
    background-color: #FDF1F0 !important;
}

.bg-soft-teal {
    background-color: #F0F9F8 !important;
}

.bg-soft-blue {
    background-color: #F0F7FF !important;
}

.bg-soft-gold {
    background-color: #FEFAF0 !important;
}

.bg-wm-cream-soft {
    background-color: #FAF8F5 !important;
}

/* Container Width for Ultra-wide Screens */
@media (min-width: 1820px) {
    .container {
        max-width: 1490px !important;
    }
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-body);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-headline);
    font-weight: 700;
}

p,
span,
div {
    color: var(--text-body);
}

.text-muted {
    color: var(--text-heading-supp) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-headline);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--wm-secondary);
    border-color: var(--wm-secondary);
    color: var(--text-headline);
    transform: translateY(-2px);
}

/* ========================================
   Common Primary Button (used site-wide)
   ======================================== */
.btn-wm-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: 8px;
    background-color: var(--wm-primary);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    gap: 8px;
}

.btn-wm-primary:hover {
    background-color: var(--wm-secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-wm-primary svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-wm-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary,
.btn-wm-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-size: 1.05rem;
    border-radius: 10px;
    background-color: var(--wm-btn-bg);
    color: var(--white) !important;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    gap: 8px;
}

.btn-secondary:hover,
.btn-wm-secondary:hover {
    background-color: #818184;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-secondary svg,
.btn-wm-secondary svg {
    flex-shrink: 0;
}

.navbar-brand img {
    width: 260px !important;
    height: auto !important;
    max-height: none !important;
}

.custom-logo-link img {
    width: 260px !important;
    height: auto !important;
    max-height: none !important;
}


.navbar-nav a {
    font-weight: 500;
    color: var(--wm-header-link) !important;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
    position: relative;
    padding: 5px 0;
}

.navbar-nav a:hover,
.navbar-nav .current-menu-item>a,
.navbar-nav .current_page_item>a,
.navbar-nav .current-menu-ancestor>a {
    color: var(--wm-primary) !important;
}

/* Animated Underline */
.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--wm-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar-nav a:hover::after,
.navbar-nav .current-menu-item>a::after,
.navbar-nav .current_page_item>a::after,
.navbar-nav .current-menu-ancestor>a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar {
    height: 90px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Primary Navigation Dropdowns / Sub-menus (Aesthetics & Multi-column Layouts)
   ========================================================================== */
.navbar-nav .menu-item-has-children {
    position: relative;
}

.navbar-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFFFFF;
    border-radius: 0 0 16px 16px;
    /* Removed top-left and top-right border radius */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 20px !important;
    min-width: 240px;
    z-index: 1050;
    margin-top: 32px;
    /* Aligns with header height */
    list-style: none;
}

/* Custom Dropdown arrow element instead of ::after */
.navbar-nav .menu-arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--wm-header-link);
    border-bottom: 1.5px solid var(--wm-header-link);
    transform: rotate(45deg);
    margin-left: 8px;
    vertical-align: middle;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease;
    margin-top: -3px;
    position: relative;
    /* Relative position for pseudo-element hit target expansion */
}

/* Expand the clickable/tap area of the dropdown arrow */
.navbar-nav .menu-arrow::before {
    content: '';
    position: absolute;
    top: -15px;
    bottom: -15px;
    left: -15px;
    right: -15px;
}

.navbar-nav .menu-item-has-children.show-submenu .menu-arrow {
    transform: rotate(-135deg);
    border-color: var(--wm-primary);
}

/* Make bottom underline border active when submenu is open */
.navbar-nav .menu-item-has-children.show-submenu>a::after {
    transform: scaleX(1) !important;
    transform-origin: left !important;
}

.navbar-nav .menu-item-has-children.show-submenu>.sub-menu {
    display: block;
    animation: provMenuFadeIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes provMenuFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.navbar-nav .sub-menu li {
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    border: none !important;
}

.navbar-nav .sub-menu li:last-child {
    margin-bottom: 0 !important;
}

.navbar-nav .sub-menu a {
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    color: var(--wm-body) !important;
    padding: 10px 16px !important;
    /* Balanced layout padding */
    display: flex !important;
    align-items: center !important;
    /* Perfect vertical alignment */
    justify-content: space-between !important;
    /* Spaces text name on left, arrow on right */
    gap: 15px !important;
    /* Added gap between arrow and name */
    border-radius: 8px;
    white-space: nowrap;
    position: relative;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.navbar-nav .sub-menu a::after {
    content: '' !important;
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    opacity: 0 !important;
    transform: translateX(-8px) !important;
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.25s ease, background-color 0.25s ease !important;
    background-color: currentColor !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E") !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
}

.navbar-nav .menu-about .sub-menu a::after {
    background-color: #D88A8A !important;
}

.navbar-nav .menu-conditions .sub-menu a::after {
    background-color: #3C867C !important;
}

/* Hover behaviors by category (in place of dot circle) */
.navbar-nav .menu-about .sub-menu a:hover {
    background-color: #FAF0ED !important;
    /* Peach light bg */
    color: #D88A8A !important;
    /* Peach text */
    padding-left: 16px !important;
    /* Consistent alignment */
}

.navbar-nav .menu-conditions .sub-menu a:hover {
    background-color: #E6F0EE !important;
    /* Teal light bg */
    color: #3C867C !important;
    /* Teal text */
    padding-left: 16px !important;
    /* Consistent alignment */
}

.navbar-nav .sub-menu a:hover::after {
    opacity: 1 !important;
    transform: translateX(0) !important;
    /* Slide in and center vertically */
    background-color: currentColor !important;
}

/* Selected / Active Submenu Items */
.navbar-nav .menu-about .sub-menu li.current-menu-item>a,
.navbar-nav .menu-about .sub-menu li.current_page_item>a,
.navbar-nav #menu-item-2770 .sub-menu li.current-menu-item>a,
.navbar-nav #menu-item-2770 .sub-menu li.current_page_item>a {
    color: #D88A8A !important;
    background-color: #FAF0ED !important;
    padding-left: 16px !important;
    /* Consistent alignment */
}

.navbar-nav .menu-about .sub-menu li.current-menu-item>a::after,
.navbar-nav .menu-about .sub-menu li.current_page_item>a::after,
.navbar-nav #menu-item-2770 .sub-menu li.current-menu-item>a::after,
.navbar-nav #menu-item-2770 .sub-menu li.current_page_item>a::after {
    opacity: 1 !important;
    transform: translateX(0) !important;
    background-color: #D88A8A !important;
}

.navbar-nav .menu-conditions .sub-menu li.current-menu-item>a,
.navbar-nav .menu-conditions .sub-menu li.current_page_item>a,
.navbar-nav #menu-item-2789 .sub-menu li.current-menu-item>a,
.navbar-nav #menu-item-2789 .sub-menu li.current_page_item>a {
    color: #3C867C !important;
    background-color: #E6F0EE !important;
    padding-left: 16px !important;
    /* Consistent alignment */
}

.navbar-nav .menu-conditions .sub-menu li.current-menu-item>a::after,
.navbar-nav .menu-conditions .sub-menu li.current_page_item>a::after,
.navbar-nav #menu-item-2789 .sub-menu li.current-menu-item>a::after,
.navbar-nav #menu-item-2789 .sub-menu li.current_page_item>a::after {
    opacity: 1 !important;
    transform: translateX(0) !important;
    background-color: #3C867C !important;
}

/* Unique Dropdown Brand Accents */
.navbar-nav .menu-about .sub-menu {
    border-top: 4px solid #D88A8A !important;
    /* Elegant Peach accent */
}

.navbar-nav .menu-conditions .sub-menu {
    border-top: 4px solid #3C867C !important;
    /* Elegant Teal accent */
}

/* 1 row, 2 columns layout if there are more than 4 menu links */
.navbar-nav .menu-item-has-children.two-columns>.sub-menu {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    min-width: 440px;
    padding: 24px !important;
}

.navbar-nav .menu-item-has-children.two-columns.show-submenu>.sub-menu {
    display: grid;
    animation: provMenuFadeIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Responsive Styles for Dropdowns on Mobile Screen */
@media (max-width: 1199.98px) {
    .navbar-nav .sub-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background-color: #FAF6F5 !important;
        padding: 15px !important;
        margin-top: 5px !important;
        width: 100% !important;
        min-width: 0 !important;
        border-radius: 12px !important;
    }

    .navbar-nav .menu-item-has-children.two-columns>.sub-menu {
        grid-template-columns: 1fr !important;
        /* Stack columns on mobile */
        gap: 5px !important;
    }

    .navbar-nav .sub-menu a:hover {
        padding-left: 16px !important;
        background-color: transparent !important;
    }
}

/* ========================================
   Common Section Components
   ======================================== */
.section-tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875em;
    /* Matches small class */
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--wm-subheading);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-tagline::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--wm-heading);
}

.section-title {
    font-family: var(--font-heading);
    color: var(--wm-heading);
    margin-bottom: 25px;
    line-height: 1.1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--wm-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--wm-secondary);
    color: white;
    transform: translateY(-5px);
}



.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Footer Styles */
.site-footer {
    background-color: var(--wm-bg);
    position: relative;

    padding-bottom: 30px;

    font-family: var(--font-body);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -99px;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 100" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path fill="%23fdfbf9" d="M0,50 C300,100 600,0 1000,30 C1200,45 1350,20 1440,0 L1440,100 L0,100 Z" /></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
}

.footer-top-wave {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 150" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path fill="%23e8f4f1" d="M0,60 C400,150 800,0 1440,60 L1440,0 L0,0 Z" opacity="0.6" /><path fill="%23f8e5e5" d="M0,90 C400,150 800,30 1440,90 L1440,0 L0,0 Z" opacity="0.6"/></svg>');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -2;
}

.footer-brand-col .footer-tagline p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--wm-body);
    margin-top: 30px;
    font-family: var(--font-body);
}

.footer-nav-col .footer-nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 0;
}

.footer-nav-col .footer-nav li:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-nav-col .footer-nav a {
    color: var(--wm-body);
    text-decoration: none;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.footer-nav-col .footer-nav a:hover {
    color: var(--wm-primary);
}

.footer-nav-col .footer-nav a i {
    margin-right: 15px;
    color: var(--wm-muted);
    font-size: 0.8rem;
}

.btn-footer-book {
    background-color: var(--wm-primary);
    color: white;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 500;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(129, 210, 195, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-footer-book:hover {
    background-color: var(--wm-secondary);
    color: white;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    border: 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px 0;
}

.footer-contact-info li:last-child {
    border-bottom: none;
}

.footer-contact-info .icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1rem;
    flex-shrink: 0;
}

.footer-contact-info .icon-location {
    background-color: var(--wm-bg);
    color: var(--wm-primary);
}

.footer-contact-info .icon-laptop {
    background-color: var(--wm-highlight);
    color: var(--wm-secondary);
}

.footer-contact-info .icon-calendar {
    background-color: var(--wm-highlight);
    color: var(--wm-muted);
}

.footer-contact-info .icon-clock {
    background-color: var(--wm-accent);
    color: var(--wm-primary);
}

.footer-contact-info span {
    color: #60403E;
    font-size: 1rem;
}

.footer-warning-box {
    background-color: var(--wm-highlight);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 25px 35px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

@media (min-width: 768px) {
    .footer-warning-box {
        flex-direction: row;
    }
}

.warning-icon {
    width: 55px;
    height: 55px;
    background-color: var(--wm-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--wm-heading);
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.warning-divider {
    width: 2px;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 0 35px;
}

.warning-text p {
    color: var(--wm-body);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-bottom {
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--wm-muted);
}

.footer-bottom a {
    color: var(--text-body) !important;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline !important;
}

@media (min-width: 992px) {
    .footer-nav-col::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 0;
        height: 100%;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.06);
    }

    .footer-info-col::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 0;
        height: 100%;
        width: 1px;
        background-color: rgba(0, 0, 0, 0.06);
    }
}

.footer-bg-leaves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    opacity: 0.5;
}

.footer-content-wrapper {
    position: relative;
    z-index: 1;
}

/* FAQ Styles */
.faq-section {
    background-color: var(--wm-bg);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.faq-item {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.faq-text p {
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.testimonialsSwiper {
    padding-bottom: 60px !important;
}

.testimonialsSwiper .swiper-wrapper {
    align-items: center;
}

.testimonialsSwiper .swiper-slide {
    width: 290px;
    max-width: 90vw;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .testimonialsSwiper .swiper-slide {
        width: 330px !important;
        height: 531px !important;
        position: relative;
    }
}

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    height: 480px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 6px solid var(--wm-muted);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .testimonialsSwiper .testimonial-card {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 330px !important;
        height: 480px !important;
    }

    .testimonialsSwiper .swiper-slide-active .testimonial-card {
        width: 422px !important;
        height: 531px !important;
        z-index: 10;
    }
}

.card-grey {
    border-top-color: var(--wm-muted);
}

.card-blue {
    border-top-color: var(--wm-secondary);
}

.card-teal {
    border-top-color: var(--wm-primary);
}

.card-pink {
    border-top-color: var(--wm-highlight);
}

.card-yellow {
    border-top-color: var(--wm-accent);
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: var(--wm-highlight);
    margin-bottom: 10px;
}

/* Active slide styling */
.swiper-slide-active .testimonial-card {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.swiper-slide-active .card-teal .quote-icon {
    color: var(--wm-primary);
}

.quote-text {
    flex-grow: 1;
    font-size: 1.05rem;
    color: var(--wm-heading);
    line-height: 1.6;
}

.author-info {
    font-size: 0.9rem;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1.5px solid #d3e5e2;
}

.author-name {
    font-weight: 700;
    color: var(--wm-heading);
}

.author-loc {
    color: var(--wm-muted);
}

/* Navigation buttons */
.testi-prev,
.testi-next {
    width: 54px;
    height: 54px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    margin-top: -27px;
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.testi-prev:hover,
.testi-next:hover {
    transform: scale(1.1);
}

.testi-prev {
    left: -20px;
}

.testi-next {
    right: -20px;
}

@media (max-width: 1200px) {
    .testi-prev {
        left: 0;
    }

    .testi-next {
        right: 0;
    }
}

.testi-prev::after,
.testi-next::after {
    content: none !important;
}

/* Pagination */
.testi-pagination {
    bottom: 0 !important;
}

.testi-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--wm-muted);
    opacity: 0.5;
    margin: 0 6px !important;
}

.testi-pagination .swiper-pagination-bullet-active {
    background: var(--wm-primary);
}

/* Background leaves */
.testi-bg-leaf {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    background-size: contain;
    background-repeat: repeat-y;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.left-leaf {
    left: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 200"><path d="M10,50 Q40,20 80,60 Q50,90 10,50 Z" fill="none" stroke="%23cbd5e1" stroke-width="1"/><path d="M10,150 Q40,120 80,160 Q50,190 10,150 Z" fill="none" stroke="%23cbd5e1" stroke-width="1"/></svg>');
}

.right-leaf {
    right: 0;
    transform: scaleX(-1);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 200"><path d="M10,50 Q40,20 80,60 Q50,90 10,50 Z" fill="none" stroke="%23cbd5e1" stroke-width="1"/><path d="M10,150 Q40,120 80,160 Q50,190 10,150 Z" fill="none" stroke="%23cbd5e1" stroke-width="1"/></svg>');
}

/* Insurance & Self Pay Section */
.insurance-pill {
    display: inline-flex;
    align-items: center;
    background-color: var(--pill-bg);
    color: var(--wm-heading);
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-family: var(--font-heading);
    font-weight: 400;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.insurance-pill::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--pill-dot);
    margin-right: 12px;
}

.btn-insurance-eval {
    background-color: var(--wm-primary);
    color: white;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-insurance-eval:hover {
    background-color: var(--wm-secondary);
    color: white;
    transform: translateY(-2px);
}

.self-pay-card .time,
.self-pay-card .price {
    font-family: var(--font-body);
}

.self-pay-card .desc {
    font-family: var(--font-body);
}

.insurance-pay-section .section-title {
    font-family: var(--font-heading);
    color: var(--text-headline);
}

#approach {
    min-height: 1100px;
}

.approach-image-wrapper {
    width: 540px;
    height: 880px;
    border-radius: 100px 40px 100px 40px;
    overflow: hidden;
    position: relative;
    margin-left: auto;
}

.approach-image-wrapper img {
    width: 540px;
}

.approach-list-number {
    position: relative;
}

.approach-list-number:after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    left: 10px;
    top: 10px;

    background: rgba(111, 164, 156, 0.2);
    border-radius: 100%;
}

.approach-footer b {
    color: #3C867C
}

#what-we-treat {
    background: #FAF8F7 url(../wholemind/assets/images/what-we-treat-bg.png) no-repeat left center !important;
    padding-bottom: 100px;
}

#what-we-treat .tagline-dot {
    background: #ffffff;
}

#what-we-treat .tagline-text {
    color: #ffffff;
}

#what-we-treat .btn-wm-primary {
    background: #347d75 !important;
    color: white !important;
    border: 1px solid transparent !important
}

#what-we-treat .btn-wm-primary:hover {
    background-color: transparent !important;
    color: #347d75 !important;
    border: 1px solid #347d75 !important
}

#what-we-treat .btn-wm-outline {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

#what-we-treat .what-we-description p {
    color: white !important;
}

#what-we-treat .cta-banner {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 28px 100px 28px 64px;
    gap: 52px;

    height: 150px;

    background: linear-gradient(0deg, rgba(255, 251, 251, 0.2), rgba(255, 251, 251, 0.2)), #F8F5F2;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
    border-radius: 20px;

    flex: none;
    order: 1;
    flex-grow: 0;
}

.page-template-page-conditions section {
    background-repeat: no-repeat !important;
}

/* ========================================
   Responsive & Liquid Design (Below 1680px)
   ======================================== */

/* Large Laptops / High-Res Monitors (up to 1680px) */
@media (max-width: 1680px) {
    .display-1 {
        font-size: 4.5rem;
    }

    .display-3 {
        font-size: 3rem;
    }

    .display-5 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 90px 0;
    }
}

/* Standard Laptops & Tablets (up to 1440px) */
@media (max-width: 1440px) {
    .display-1 {
        font-size: 4rem;
    }

    .display-3 {
        font-size: 2.8rem;
    }

    /* Adjust CTA heights for smaller screens */
    .service-cta-section,
    .condition-cta-section {
        min-height: 800px !important;
        padding: 80px 0 !important;
    }

    .row.align-items-end {
        min-height: 800px !important;
    }
}

/* Large Tablets & Small Laptops (up to 1200px) */
@media (max-width: 1200px) {
    .display-1 {
        font-size: 3.5rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2.2rem;
    }

    .approach-image-wrapper {
        width: 100%;
        height: 600px;
        margin-top: 40px;
    }

    .approach-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .floating-tags {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

/* Tablets (up to 991px) */
@media (max-width: 991px) {
    .display-1 {
        font-size: 3rem;
    }

    .display-3 {
        font-size: 2.2rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 70px 0;
    }

    /* CTA Layout shift */
    .service-cta-section,
    .condition-cta-section {
        min-height: 600px !important;
        text-align: center;
    }

    .row.align-items-end {
        min-height: 600px !important;
        justify-content: center;
    }

    .col-lg-5,
    .col-lg-6 {
        width: 100% !important;
    }

    .tagline {
        justify-content: center;
    }

    .btn-wm-primary,
    .btn-wm-secondary {
        width: 100%;
    }

    .condition-card {
        min-height: 450px !important;
    }

    .navbar {
        height: 80px;
    }

    .navbar-brand img,
    .custom-logo-link img {
        width: 200px !important;
    }

    /* Fix background scaling for sections */
    .condition-hero-section,
    .condition-landscape-section,
    .service-approach-section {
        background-size: cover !important;
        background-position: center !important;
        min-height: 600px !important;
        padding: 80px 0 !important;
    }

    .service-approach-section .approach-timeline {
        padding-top: 30px !important;
    }
}

/* Mobile Devices (up to 767px) */
@media (max-width: 767px) {
    .display-1 {
        font-size: 2.5rem;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.8rem !important;
    }

    .section-padding {
        padding: 50px 0;
    }

    .hero-floating-badges,
    .floating-tags {
        display: none !important;
    }

    /* Hide on small mobile to avoid clutter */

    .condition-card {
        padding: 30px 20px !important;
    }

    /* Approach Section Notice Box Responsive */
    .service-approach-section .rounded-3 {
        flex-direction: column !important;
        padding: 30px 20px !important;
        text-align: center !important;
    }

    .service-approach-section .rounded-3 .me-4 {
        margin-right: 0 !important;
        margin-bottom: 20px !important;
    }

    .service-approach-section .rounded-3 p {
        text-align: center !important;
        font-size: 1.1rem !important;
    }

    .footer-warning-box {
        padding: 20px;
    }

    .warning-divider {
        width: 100%;
        height: 1px;
        margin: 20px 0;
    }

    .footer-top-wave {
        height: 100px;
        top: -100px;
    }

    /* Specialty Cards Mobile Refinement */
    .specialty-card {
        padding: 30px 25px !important;
        border-radius: 25px !important;
    }

    .specialty-card h3 {
        font-size: 1.4rem !important;
        max-width: 100% !important;
    }

    .specialty-card .card-shade {
        width: 100px !important;
        height: 100px !important;
    }

    /* Heading BR management */
    h2 br,
    h1 br {
        display: none;
    }

    /* Footer Mobile centering */
    .site-footer .footer-logo img {
        max-width: 200px !important;
    }

    .site-footer .footer-nav {
        max-width: 100% !important;
        text-align: center;
    }

    .site-footer .footer-nav li a {
        justify-content: start !important;
    }

    /* Liquid typography for paragraphs */
    p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin: 0px !important;
    }
}

/* Small Mobile (up to 576px) */
@media (max-width: 576px) {
    .display-1 {
        font-size: 2.2rem;
    }

    .display-3 {
        font-size: 1.8rem;
    }

    .btn-wm-primary,
    .btn-wm-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* About Us Page Styles */
.about-hero {
    background-color: var(--wm-highlight);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(109, 168, 163, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-founder img {
    transition: transform 0.5s ease;
}

.about-founder img:hover {
    transform: scale(1.02);
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.step-card {
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.about-cta .cta-box {
    background: linear-gradient(135deg, #fdfdfd 0%, #f7f9f9 100%);
    border: 1px solid rgba(109, 168, 163, 0.1) !important;
}

.care-item {
    transition: all 0.3s ease;
}

.care-item:hover .icon-circle {
    background: var(--wm-primary) !important;
    color: white;
}

.care-item:hover img {
    filter: brightness(0) invert(1);
}

@media (max-width: 991px) {
    .about-hero {
        text-align: center;
    }

    .about-hero .pe-lg-5 {
        padding-right: 0 !important;
    }
}

/* --- Enhanced About Us Aesthetics --- */

.about-page-wrapper {
    background-color: #fff;
    overflow: hidden;
}



.about-heading {
    font-family: var(--font-heading);
    color: var(--wm-heading);
    line-height: 1.2;
}

.about-text {
    color: var(--wm-body);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Hero Section */
.about-hero {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, #fdfbf9 0%, #f8f4f2 100%);
}

.about-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,144C672,139,768,181,864,181.3C960,181,1056,139,1152,122.7C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

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

.hero-image-container::before {
    /* content: ""; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--wm-secondary);
    opacity: 0.1;
    border-radius: 40px 100px 40px 100px;
    transform: rotate(-3deg);
    z-index: 0;
}

.hero-image-container img {
    position: relative;
    z-index: 1;
    /* border-radius: 40px 100px 40px 100px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
}

.badge-item {
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Founder Section */
.about-founder {
    padding: 120px 0;
    background: #fff;
    position: relative;
}

.founder-image-box {
    position: relative;
    display: inline-block;
}

.founder-image-box::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--wm-highlight) 0%, transparent 70%);
    z-index: 0;
}

.founder-image-box img {
    position: relative;
    z-index: 1;
    border-radius: 200px 200px 20px 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.founder-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Expertise Section */
.expertise-card {
    background: #fff;
    border: none;
    border-radius: 30px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(109, 168, 163, 0.1);
}

.expertise-card.bg-soft-blue {
    background-color: #f0f7ff;
}

.expertise-card.bg-soft-teal {
    background-color: #f0f9f8;
}

.expertise-card.bg-soft-pink {
    background-color: #fff9f9;
}

/* Care Icons Section */
.care-icon-item {
    transition: all 0.3s ease;
}

.care-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fdfbf9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.care-icon-item:hover .care-icon-circle {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Specialization Grid */
.spec-item {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.spec-item:hover {
    border-color: var(--wm-primary);
    transform: translateY(-5px);
}

/* Why Choose List */
.why-item-row {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.why-item-row::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--wm-primary) 0%, transparent 100%);
}

.why-item-row:last-child::before {
    display: none;
}

.why-icon-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--wm-highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wm-primary);
    z-index: 1;
}

/* Path steps */
.path-step {
    position: relative;
}

.path-step-number {
    font-size: 5rem;
    font-weight: 900;
    color: var(--wm-highlight);
    position: absolute;
    top: -20px;
    left: 0;
    z-index: 0;
    opacity: 0.5;
}

.path-step-content {
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

/* CTA */
.premium-cta {
    background: var(--wm-heading);
    border-radius: 50px;
    padding: 80px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.premium-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(109, 168, 163, 0.1) 0%, transparent 70%);
}

.premium-cta h2,
.premium-cta p {
    color: #fff !important;
}

.condition-hero-section .swiper {
    margin-right: 50px;
}

/* Global AOS Override - Completely Disables and Removes AOS animations */
[data-aos] {
    pointer-events: auto !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
}

.approach-footer,
.timeline-content-icon-wrap {
    border: 0px
}

/* ==========================================================================
   Condition Detail Page (single-wm_service) Section Height Adjustments
   ========================================================================== */
.condition-detail-page section,
.condition-hero-section,
.condition-symptoms-section,
.condition-differences-section,
.condition-hormones-section,
.condition-help-section,
.condition-journey-section,
.condition-faqs-section,
.condition-footer-cta-section {
    min-height: 1100px !important;
    display: flex;
    align-items: center;
    position: relative;
}

/* Ensure container inside flex sections behaves correctly */
.condition-detail-page section>.container {
    width: 100%;
}

.wm-section-separator {
    display: none !important;
}

/* Custom Desktop font-size override for all .display-3 sections */
@media (min-width: 992px) {
    .display-3 {
        font-size: 3.8rem !important;
    }
}

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



.service-hero-section .tagline-dot {
    background: #ffffff;
}

.service-hero-section .tagline-text {
    color: #ffffff;
}

.service-hero-section .btn-wm-primary {
    background: white !important;
    color: #347d75 !important;
    border: 1px solid transparent !important
}

.service-hero-section p {
    color: white !important;
}


.service-hero-section .btn-wm-primary:hover {
    background-color: transparent !important;
    color: white !important;
    border: 1px solid white !important
}

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