* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inter, sans-serif;

}

/* Header Styling */
/* Header Container */
.main-header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 50px;
    background-color: #E9E9E4;
    border-bottom: 1px solid #eee;
    position: relative;
    /* Dropdown ko header ke andar contain karne ke liye */
}

.logo img {
    max-width: 180px;
}

/* Nav Menu Structure */
.main-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.main-menu li {
    position: relative;
    /* Ye bohot zaroori hai dropdown positioning ke liye */
}

.main-menu li a {
    text-decoration: none;
    color: #7a805e;
    font-weight: 400;
    font-size: 16px;
    display: block;
    padding: 10px 0;
}

.main-menu li a:hover {
    color: #9b7fa8;
    transition: 0.3s;
}

/* --- Dropdown Styling --- */
.submenu {
    display: none;
    /* Default hidden */
    position: absolute;
    top: 100%;
    /* Header se thik niche */
    left: 0;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    z-index: 1000;
    /* Content ke upar dikhane ke liye */
    border-radius: 5px;
    border: 1px solid #eee;
}

/* Hover par show karein */
.dropdown:hover .submenu {
    display: block;
}

.submenu li a {
    padding: 8px 15px !important;
    color: #7a805e !important;
    font-size: 14px !important;
}

.submenu li a:hover {
    background-color: #f9f9f9;
    color: #9b7fa8 !important;
}

/* Dashboard Button */
.dash-btn {
    background-color: #9b7fa8;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}

.dash-btn:hover {
    background-color: #EEDB94;
    color: #7a805e;
}

.mobile-header-nav {
    display: none !important;
}

@media (max-width: 767px) {
    .main-header {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .mobile-header-nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px !important;
        background-color: #E9E9E4 !important;
        position: relative;
    }

    .header-logo {
        width: 70px !important;
    }

    .hamburger-icon {
        font-size: 28px;
        cursor: pointer;
        margin-right: 10px;
    }

    /* Button Styling */
    .dash-btn {
        background-color: #9b7fa8;
        color: white;
        padding: 8px 10px !important;
        border-radius: 25px;
        font-size: 11px !important;
        font-weight: 500;
        text-decoration: none;
    }

    /* Menu Links Styling */
    .nav-links {
        display: none;
        /* Default hidden */
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #ddd;
        padding: 10px 0;
        list-style: none;
        z-index: 999;
    }

    .nav-links.active {
        display: block;
    }

    /* Clicked state */
    .nav-links ul {
        padding: 0;
        margin: 0;
    }

    .nav-links li {
        list-style: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links li a {
        display: block;
        padding: 15px;
        color: #333;
        text-decoration: none;
    }
}

@media (max-width: 767px) {

    /* 1. Ensure parent list item is relative */
    .has-submenu {
        position: relative !important;
    }

    /* 2. Submenu positioning fix */
    .submenu {
        display: none;
        background-color: #f9f9f9;
        padding-left: 20px !important;

        /* Fixed positioning logic */
        position: static !important;
        /* Absolute ki jagah static karein taaki ye menu ke flow mein rahe */
        width: 100% !important;
        box-shadow: none !important;
    }

    .submenu.open {
        display: block !important;
    }
}



/* Hero Section Styling */
.hero-section {
    position: relative;
    background-image: url('https://therapy.wellnesswithincares.com/wp-content/uploads/Hero-Banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 20px;

}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #EEDC9A;
    opacity: 0.65;
    /* adjust 0.5 - 0.8 as needed */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: #9B7FA8;
    font-size: 58px;
    font-weight: 600;
    line-height: 62px;
    margin-bottom: 20px;
}

.hero-content p {
    color: #23241e;
    font-size: 22px;
    font-weight: 400;
}

.therapy-section2 {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
}

.therapy-section2 .container {
    max-width: 1100px;
    /* Keeps the text from becoming too wide */
    margin: 0 auto;
}

.therapy-section2 h2 {
    font-size: 2.5rem;
    color: #141413;
    margin-bottom: 20px;
}

.therapy-section2 p {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
}

/* Optional: responsive adjustment */
@media (max-width: 768px) {
    .therapy-section2 h2 {
        font-size: 2rem;
    }
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0px 20px;
    flex-wrap: wrap;
    align-items: stretch;
    /* Forces all cards to match the height of the tallest one */
}

.card {
    width: 400px;
    padding: 20px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    /* Stacks image, text, and button vertically */
    text-align: left;
    min-height: 550px;
    /* Adjust this to control overall height */
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* Backgrounds & Text Colors */
.purple {
    background-color: #9b7fa8;
}

.yellow {
    background-color: #EFDA95;
}

.green {
    background-color: #7d856a;
}

.heading-yellow {
    color: #EFDA95;
    margin-bottom: 10px;
}

.heading-black {
    color: #141413;
    margin-bottom: 10px;
}

.purple p,
.purple ul,
.purple ul li,
.green p,
.green ul,
.green ul li {
    color: #ffffff;
}

.yellow p,
.yellow ul,
.yellow ul li {
    color: #141413;
}

/* Bullet Points */
.card ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
    flex-grow: 1;
    /* Pushes button to the bottom */
}

.card ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ead481;
    background-image: radial-gradient(circle, #ead481 35%, transparent 40%);
}

.yellow ul li::before {
    border: 2px solid #141413;
    background-image: radial-gradient(circle, #141413 35%, transparent 40%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 0.9rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin-top: auto;
    align-self: flex-start;
    width: fit-content;
    min-width: 120px;
}

.purple .btn,
.yellow .btn {
    background-color: #141413;
    color: #ead481;
}

.green .btn {
    background-color: white;
    color: #7d856a;
}

/* Section Scope: Uniform Styles */
.main-container {
    background-color: #ffffff;
    padding: 0px 20px 20px 20px;
}

.divider {
    height: 1px;
    background-color: #EAD481;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
}

.therapy-section {
    background-color: #F2F3ED;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    /* Uniform Font & Color */
    font-family: sans-serif;
    color: #333333;
    line-height: 1.5;
}

.image-container {
    flex: 1;
    min-width: 350px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content-container {
    flex: 1;
    min-width: 350px;
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Reset Defaults for consistency */
.content-container h2,
.content-container h3,
.content-container p,
.content-container ul,
.content-container li {
    margin: 0;
    font-family: inherit;
    color: inherit;
    line-height: inherit;
}

/* Specific Spacing */
.content-container h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.content-container p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.content-container h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    margin-top: 0px;
}

.content-container ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.content-container li {
    margin-bottom: 5px;
}

.btn-book {
    background-color: #9B7FA8;
    color: white;
    padding: 10px 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    border-radius: 62px;
    align-self: flex-start;
    margin-top: 15px;
    font-weight: 600;
}

.btn-book:hover {
    background-color: #ead481;
    color: #333;

}

.ww-footer {
    background: #EAE8DC;
    padding: 80px 0 20px;
    margin-top: 50px;

    color: #23241e;
}

.ww-footer .footer-top-note,
.ww-footer .footer-main,
.ww-footer .footer-bottom {
    width: 80%;
    margin: auto;
}

.ww-footer p {
    margin: 0;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
    color: #23241e;
}

.ww-footer .helpline {
    margin-top: 15px;
}

.ww-footer hr {
    border: none;
    border-top: 1px solid #EAD481;
    width: 80%;
    margin: 35px auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-logo {
    width: 22%;
}

.footer-logo img {
    width: 150px;
    height: auto;
    display: block;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    color: #fff;
}

.social-icons a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #23241e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all .3s ease;
}

.social-icons a:hover {
    background: #7a805e;
    color: #ffffff;
}

.footer-contact {
    width: 34%;
}

.footer-contact p {
    margin-bottom: 12px;
}

.footer-contact .email {
    font-size: 24px;
    font-weight: 600;
    color: #7A805E;
    text-decoration: none;
    line-height: 1.4;
    word-break: break-word;
}

.footer-links {
    min-width: 180px;
}

.footer-links h3 {
    font-size: 22px;
    font-weight: 500;
    color: #23241e;
    margin: 0 0 20px;
    line-height: 1.3;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 16px;
    font-weight: 400;
    color: #23241e;
    text-decoration: none;
    transition: all .3s ease;
}

.footer-links a:hover {
    color: #7a805e;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    font-weight: 500;
    color: #23241e;
}

.footer-bottom a {
    color: #23241e;
    text-decoration: underline;
    transition: .3s;
}

.footer-bottom a:hover {
    color: #7a805e;
}

@media (max-width:991px) {

    .ww-footer {
        padding: 35px 0 20px;
    }

    .footer-main {
        flex-direction: column;
        gap: 30px;
    }

    .footer-logo,
    .footer-contact,
    .footer-links {
        width: 100%;
    }

    .ww-footer .footer-top-note,
    .ww-footer .footer-main,
    .ww-footer .footer-bottom,
    .ww-footer hr {
        width: 90%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-contact .email {
        font-size: 22px;
    }
}

.fixed-footer-fix {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #23241E;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    display: flex;
    /* Flexbox ka use */
    justify-content: center;
    /* Horizontally center */
}

.fixed-footer-fix p {
    max-width: 800px;
    /* Text ki width limit karein taaki woh neeche line mein aa jaye */
    margin: 0;
    line-height: 1.5;
    /* Lines ke beech thodi jagah dene ke liye */
}

.fixed-footer-fix a {
    color: #ead481;
    /* Yellow color */
    font-weight: 300;
    /* Thoda highlight karne ke liye */
    text-decoration: none;
}

/* Popup Overlay - Background */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.red {
    color: red !important;
    font-weight: bold !important;
    /* Sirf asterisk bold rahega */
}

/* Popup Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 99999;
    padding: 10px;
    /* Added padding so it doesn't touch edges on mobile */
}

/* Popup Content - Compact & Responsive */
.popup-content {
    background: white;
    padding: 20px;
    /* Reduced from 30px */
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    position: relative;
    font-weight: 300;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Responsive adjustment for Mobile */
@media (max-width: 480px) {
    .popup-content {
        padding: 15px;
    }

    .form-row {
        flex-direction: column;
        /* Stacks inputs vertically on mobile */
        gap: 10px;
    }
}

/* Heading */
.popup-content h2 {
    font-weight: bold;
    margin-bottom: 15px;
    /* Reduced from 25px */
    margin-top: 0;
}

/* Form Layout */
.form-row {
    display: flex;
    gap: 15px;
    /* Reduced from 20px */
    margin-bottom: 10px;
    /* Reduced from 15px */
}

.form-group {
    flex: 1;
}

/* Label styling */
label {
    display: block;
    margin-bottom: 2px;
    /* Reduced from 5px */
    font-weight: 300;
    font-size: 14px;
}

/* Inputs styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
    width: 100%;
    padding: 8px;
    /* Reduced from 10px */
    border: 1px solid #434447;
    border-radius: 5px;
    box-sizing: border-box;
    color: #434447;
}

/* Radio & Checkbox Groups */
.radio-group {
    margin-top: 15px;
    /* Reduced from 25px */
}

.radio-options {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.support-options {
    margin-top: 10px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 10px;
    /* Reduced from 12px */
    background-color: #9b72a5;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 15px;
    /* Reduced from 25px */
    font-weight: 400;
}

.submit-btn:hover {
    background-color: #ead481;
    transition: 0.3s;
    color: #333;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Paragraph spacing */
.para {
    margin-top: 10px !important;
    margin-bottom: 5px !important;
    font-weight: 300;
}

/* Checkbox options */
.checkbox-list {
    line-height: 22px;
    /* Reduced from 29px for less height */
    font-weight: 300;
}

/* Mobile Optimization - CSS */
@media (max-width: 600px) {

    /* 1. Font weight control */
    .popup-content,
    .popup-content * {
        font-weight: 300 !important;
    }

    .popup-content h2 {
        font-weight: 300 !important;
        /* Heading ka weight kam kiya */
    }

    /* 2. Heading alignment */
    .popup-content h2 {
        white-space: nowrap;
        /* Ek line mein rakhne ke liye */
        font-size: 18px !important;
    }

    /* 3. Initials and Name in one line */
    /* Hum .form-row ko target kar rahe hain */
    .form-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        margin-bottom: 5px !important;
    }

    /* 4. Email/Phone ko alag line mein rakhne ke liye 
       Agar Email/Phone alag form-row mein hain, toh ye apne aap ho jayega */

    /* 5. Asterisk issue: Sirf ek bar red dikhe */
    /* Agar HTML mein span class="red" use ho rahi hai, toh hum sirf usse handle karenge */
    .red {
        color: red !important;
        font-weight: bold !important;
        /* Sirf asterisk bold rahega */
    }

    .submit-btn {
        width: 100%;
        padding: 10px;
        /* Reduced from 12px */
        background-color: #9b72a5;
        color: white;
        border: none;
        border-radius: 20px;
        cursor: pointer;
        margin-top: 15px;
        /* Reduced from 25px */
        font-weight: 400;
    }

    .submit-btn:hover {
        background-color: #ead481;
        transition: 0.3s;
        color: #333;
    }

    /* Agar label ke andar "*" text manually likha hai aur span bhi hai, 
       toh hum label ke direct text ko target karenge */
    label {
        font-weight: 300 !important;
    }

    /* 6. Checkbox grid for height */
    .support-options {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 5px !important;
    }

    /* Inputs compacting */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"] {
        padding: 5px !important;
        height: 30px !important;
    }
}

@media (max-width: 768px) {
    .fixed-footer-fix {
        display: none !important;
    }
}