/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7BA083; /* Sage Green */
    --accent-color: #8A4E56;  /* Rosewood */
    --light-bg: #F6F9F7;
    --dark-text: #1f1f1f;
    --background-cream: #fffaf6;
    --text-brown: #4a2c2a;
    --light-cream: #fdf6f0;
    --medium-brown: #6b4c4b;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-cream); /* Consistent background */
    color: var(--text-brown); /* Consistent text color */
    line-height: 1.6;
    margin-left: 220px; /* Space for the sidebar */
}



.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.section {
    padding: 3rem 2rem;
}

/* --- Global Headings --- */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem; /* Standard H1 size for pages */
    margin-bottom: 10px;
    text-align: center;
    color: var(--accent-color);
}

h2 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-align: center;
}

.page-heading, .section-heading, .services-heading { /* Unified heading styles */
    font-size: 2.5rem;
    font-style: italic;
    margin: 40px 0 30px;
    text-align: center;
}

p.subtext {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1rem;
    color: var(--medium-brown);
}

/* --- Buttons --- */
.btn {
    background-color: var(--accent-color); /* General button color */
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none; /* Ensure buttons styled as links don't have underlines */
    display: inline-block; /* Allows margin-top and other block properties */
}

.btn:hover {
    background-color: #703f3e; /* Darker hover for buttons */
}

.btn.primary { /* Specific styling for primary buttons if needed */
    background: var(--primary-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.btn.primary:hover {
    background: #6d8f72;
}

/* --- Sidebar Navigation --- */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 220px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 2rem 1rem;
    z-index: 1000;
    transition: transform 0.3s ease; /* For responsive slide-in */
    overflow-y: auto;
    box-sizing: border-box;
}

.sidebar .logo {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 1.2rem;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
/* --- GENERAL LINK STYLING (ADD THIS NEW BLOCK HERE) --- */
/* This rule ensures all links, except those specifically overridden (like sidebar links), get this style */
a {
    color: var(--medium-brown); /* Your specified brown color for links */
    text-decoration: none; /* No underline by default */
    transition: color 0.3s ease; /* Smooth hover effect */
}

a:hover {
    color: var(--accent-color); /* Your rosewood accent color on hover */
    text-decoration: underline; /* Add underline on hover for interaction */
}

/* Keep the specific sidebar link styling as is, it's more specific than the above 'a' tag */
.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sidebar ul li a:hover {
    color: #ccc;
}
.sidebar ul li a:hover {
    color: #ccc;
}
.sidebar ul li.has-submenu {
    position: relative; /* Needed for submenu positioning */
}

.sidebar ul li .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: var(--medium-brown); /* Darker shade for submenu, using your var */
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.sidebar ul li .submenu.active {
    max-height: 200px; /* Adjust as needed to show all submenu items */
}

.sidebar ul li .submenu li {
    border-bottom: none; /* No separator between submenu items */
}

.sidebar ul li .submenu li a {
    padding: 10px 25px; /* Indent submenu items slightly */
    font-size: 0.95rem; /* Slightly smaller font for submenu items */
    color: #f0f0f0; /* Lighter color for submenu text */
}

.sidebar ul li .submenu li a:hover {
    background-color: var(--text-brown); /* Hover color for submenu items */
    color: var(--light-cream);
}

.submenu-arrow {
    font-size: 0.8rem;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.submenu-arrow.rotated {
    transform: rotate(180deg);
}

/* ADD THIS IMMEDIATELY AFTER THE .submenu-arrow.rotated RULE */
/* Class to prevent body scroll when sidebar is open on mobile */
body.sidebar-open {
    overflow: hidden;
}
/* --- Mobile Menu Toggle Button --- */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    position: fixed;
    top: 1rem;
    left: 1rem;
    font-size: 2rem;
    background: none;
    border: none;
    z-index: 1001;
    color: var(--text-brown); /* Match body text or accent color */
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color); /* Match hamburger color to your accent */
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}
/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; /* WhatsApp green */
    border-radius: 50%;
    padding: 14px; /* Larger padding for better touch target */
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

.whatsapp-float img {
    width: 28px; /* Larger icon */
    height: 28px;
    display: block;
}

/* --- Index Page Sections (Hero & Mini Contact) --- */
.hero {
    background: var(--light-bg);
    padding: 4rem 0;
}

.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--dark-text);
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    display: block;
}

.hero-image img {
    max-width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.mini-contact {
    background-color: var(--background-cream);
    padding: 40px 20px;
    text-align: center;
}

.mini-contact h2 {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 10px;
}

.mini-contact p {
    margin-bottom: 20px;
}

.mini-contact p strong {
    font-weight: bold;
}

.mini-contact-map {
    padding: 40px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

.mini-contact-map h2 {
    font-family: 'Playfair Display', serif;
}

.mini-contact-map div {
    max-width: 600px;
    margin: auto;
}

.mini-contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 10px;
}
/* --- Treatment Page Specific Styles --- */

/* This wrapper will mimic the Dermosphere layout, centralizing content */
.main-page-content-wrapper {
    max-width: 900px; /* Matches your existing content width guidelines */
    margin: 60px auto; /* Centered with vertical spacing */
    padding: 0 20px; /* Horizontal padding */
    line-height: 1.6;
    color: var(--text-brown); /* Use your defined text color */
}

.content-block {
    margin-bottom: 50px;
}

.content-block h2 {
    font-family: 'Playfair Display', serif; /* Ensure Playfair Display is used */
    font-size: 2rem; /* Adjusted to your h2 base size */
    color: var(--accent-color); /* Use your accent color */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.content-block h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color); /* Using your primary color for underline */
    border-radius: 2px;
}

.content-block h3 {
    font-family: 'Playfair Display', serif; /* Use Playfair Display */
    font-size: 1.6rem; /* Adjusted to rem */
    color: var(--medium-brown); /* Using your medium-brown for consistency */
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-block p {
    font-size: 1rem; /* Adjusted to rem, matches your subtext */
    margin-bottom: 15px;
    color: var(--text-brown);
}

.content-block ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: var(--text-brown); /* Ensure list item color consistency */
}

.content-block ul li {
    margin-bottom: 10px;
    font-size: 1rem; /* Adjusted to rem */
}


/* --- Hero Section Specifics for Treatment Pages (Adjusted to your variables) --- */
.treatment-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Text color over dark background */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.treatment-hero h1 {
    font-family: 'Playfair Display', serif; /* Ensure consistency */
    font-size: 3.5rem; /* Adjusted to rem */
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    z-index: 2;
    color: white; /* Override parent accent-color */
}

.treatment-hero p {
    font-size: 1.5rem; /* Adjusted to rem */
    max-width: 700px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    z-index: 2;
    color: white;
}

/* Note: .treatment-hero .cta-button is handled by your general .btn styles now, as added to HTML. */


/* --- Common Causes Section (with icons/images) --- */
.causes-section .cause-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.causes-section .cause-item {
    text-align: center;
    width: 150px;
}

.causes-section .cause-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.causes-section .cause-item p {
    font-size: 0.95rem; /* Adjusted to rem */
    color: var(--text-brown);
    margin: 0;
}


/* --- Treatment Options Section (Grid layout for cards) --- */
.treatments-section .treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.treatments-section .treatment-card {
    background-color: var(--light-cream); /* Use your light-cream variable */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.treatments-section .treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.treatments-section .treatment-card h3 {
    font-family: 'Playfair Display', serif; /* Use Playfair Display */
    color: var(--accent-color); /* Heading color inside treatment cards */
    font-size: 1.4rem; /* Adjusted to rem */
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
}

.treatments-section .treatment-card ul {
    list-style: disc;
    margin-left: 20px;
    padding: 0;
}
.treatments-section .treatment-card ul li {
    font-size: 0.95rem; /* Adjusted to rem */
    margin-bottom: 8px;
    color: var(--text-brown);
}


/* --- Benefits Section (Grid layout with icons) --- */
.benefits-section .benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.benefits-section .benefit-item {
    text-align: center;
    width: 200px;
}

.benefits-section .benefit-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.benefits-section .benefit-item p {
    font-size: 1rem; /* Adjusted to rem */
    color: var(--text-brown);
    margin: 0;
}


/* --- FAQ Section --- */
.faq-section .faq-item {
    background-color: var(--light-bg); /* Use your light-bg variable */
    border-left: 5px solid var(--primary-color); /* Use your primary color */
    border-radius: 5px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.faq-section .faq-item h3 {
    font-family: 'Playfair Display', serif; /* Use Playfair Display */
    font-size: 1.25rem; /* Adjusted to rem */
    color: var(--accent-color); /* Use your accent color */
    margin-top: 0;
    margin-bottom: 10px;
}

.faq-section .faq-item p {
    font-size: 1rem; /* Adjusted to rem */
    color: var(--medium-brown); /* Use your medium-brown color */
    margin-bottom: 0;
}


/* --- Why Choose Us Section --- */
.why-choose-us-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.why-choose-us-section ul li {
    font-size: 1.1rem; /* Adjusted to rem */
    color: var(--text-brown);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    display: inline-block;
    max-width: 400px;
    text-align: left;
}

.why-choose-us-section ul li::before {
    content: '✓';
    color: var(--primary-color); /* Using your primary color for checkmark */
    font-weight: bold;
    font-size: 1.2rem; /* Adjusted to rem */
    position: absolute;
    left: 0;
    top: 0;
}

/* --- BOTTOM CTA Button - Centered and Pop Style (New/Revised) --- */
.call-to-action {
    text-align: center; /* This already centers its block content due to your existing CSS */
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 40px 20px;
    background-color: var(--light-cream); /* Using your light-cream variable */
    border-radius: 10px;
}

.call-to-action h2 {
    font-family: 'Playfair Display', serif; /* Consistent font */
    font-size: 2.2rem; /* Adjusted to rem, similar to other H2s */
    color: var(--accent-color); /* Consistent heading color */
    margin-bottom: 20px;
}

.call-to-action p {
    font-size: 1.1rem; /* Consistent paragraph font size */
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-brown); /* Consistent text color */
}

.cta-button-pop {
    background-color: var(--primary-color); /* Using your primary color */
    color: white;
    padding: 1.1rem 2.5rem; /* Larger padding for a more prominent button */
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    font-size: 1.2rem; /* Adjusted to rem */
    font-weight: 600;
    display: inline-block;
    animation: pulse 2s infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-button-pop:hover {
    background-color: #6d8f72; /* Darker shade of primary color (from your .btn.primary:hover) */
    transform: scale(1.05); /* Slightly larger on hover */
    animation: none; /* Stop pulsing on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); box-shadow: 0 7px 20px rgba(0, 0, 0, 0.25); }
    100% { transform: scale(1); }
}

/* --- About Page Specific --- */
.about-container {
    max-width: 1000px;
    margin: auto;
    padding: 60px 20px;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.about-image {
    flex: 1 1 300px;
    max-width: 320px;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.about-text {
    flex: 2 1 600px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-text p {
    margin-bottom: 20px;
}

/* --- Contact Page Specific --- */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.contact-info, .contact-form {
    flex: 1 1 45%;
    background: var(--light-cream);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-info p {
    margin: 10px 0;
    line-height: 1.5;
}

form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 500;
}

form input,
form textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    font-family: 'Poppins', sans-serif; /* Ensure form fields use Poppins */
}

form textarea {
    height: 120px;
}

/* --- Service Category Cards (For Him/Her pages) --- */
.gender-category-grid, .sub-service-grid {
    display: flex; /* Or grid for sub-services */
    flex-direction: column;
    gap: 25px;
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto 50px;
}

.gender-category-card, .sub-service-card {
    position: relative;
    height: 250px; /* Default height, will adjust for sub-services */
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gender-category-card:hover, .sub-service-card:hover {
    transform: scale(1.02);
}

.gender-category-card .overlay, .sub-service-card .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.gender-category-card .title, .sub-service-card .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem; /* Default title size, will adjust */
    font-style: italic;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 3px #000;
    z-index: 1; /* Ensure title is above overlay */
}

/* Specific styles for sub-service cards (e.g., Skincare, Haircare, Sexual Health) */
.sub-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for these grids */
    gap: 30px;
    max-width: 900px;
    margin: auto;
}

.sub-service-card {
    height: 220px; /* Slightly smaller height for sub-service cards */
}

.sub-service-card .title {
    font-size: 1.6rem; /* Slightly smaller font for sub-service card titles */
}

/* --- Responsive Design (Media Queries) --- */
@media (max-width: 768px) {
    body {
        margin-left: 0; /* Remove sidebar margin on smaller screens */
    }

    .sidebar {
        transform: translateX(-100%); /* Hide sidebar off-screen by default */
    }

    .sidebar.active {
        transform: translateX(0); /* Show sidebar when active */
    }

    .menu-toggle {
        display: flex; /* Show toggle button on smaller screens */
        /* Ensure its position doesn't conflict with other elements */
        top: 20px; /* Adjust as needed */
        left: 20px; /* Adjust as needed */
    }

    body.sidebar-open { /* Class added when sidebar is open */
        overflow: hidden; /* Prevent scrolling of main content */
    }
/* ADD/MODIFY THESE TREATMENT PAGE SPECIFIC MOBILE STYLES */
    .main-page-content-wrapper {
        margin: 30px auto;
        padding: 0 15px;
    }
    .treatment-hero {
        height: 300px;
    }
    .treatment-hero h1 {
        font-size: 2rem; /* Adjusted to match your hero-text h1 */
    }
    .treatment-hero p {
        font-size: 1rem; /* Adjusted to match your hero-text p */
        max-width: 90%;
    }
    .hero-content-overlay {
        padding: 0 15px;
    }
    .content-block h2 {
        font-size: 1.8rem; /* Adjusted to rem */
    }
    .content-block h3 {
        font-size: 1.3rem; /* Adjusted to rem */
    }
    .content-block p, .content-block ul li {
        font-size: 0.95rem; /* Adjusted to rem */
    }
    .causes-section .cause-list,
    .benefits-section .benefits-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .causes-section .cause-item,
    .benefits-section .benefit-item {
        width: 100%;
    }
    .treatments-section .treatment-grid {
        grid-template-columns: 1fr;
    }
    .why-choose-us-section ul li {
        padding-left: 25px;
        max-width: 100%;
        text-align: left;
    }

    /* Ensure .cta-button-pop adjusts for mobile */
    .cta-button-pop {
        padding: 15px 30px; /* Slightly smaller padding for mobile */
        font-size: 1.1rem; /* Slightly smaller font for mobile */
    }
}
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .about-section {
        flex-direction: column;
        align-items: center;
    }

    .about-text {
        font-size: 1rem;
    }

    .contact-grid {
        flex-direction: column;
    }

    .gender-category-card {
        height: 180px;
    }

    .gender-category-card .title {
        font-size: 1.5rem;
    }

    .sub-service-grid {
        grid-template-columns: 1fr; /* Single column for sub-service grids */
    }

    .sub-service-card .title {
        font-size: 1.4rem;
    }
/* --- General Page Layout for Treatment Pages --- */
/* This wrapper will mimic the Dermosphere layout, centralizing content */
.main-page-content-wrapper {
    max-width: 900px; /* Adjust based on your preferred content width */
    margin: 60px auto; /* Center the content block, add vertical spacing */
    padding: 0 20px; /* Add horizontal padding for smaller screens */
    font-family: Arial, sans-serif; /* Example, use your site's font */
    line-height: 1.6;
    color: #333;
}

.content-block {
    margin-bottom: 50px; /* Spacing between main content sections */
}

.content-block h2 {
    font-size: 2.2em;
    color: #007bff; /* Primary heading color */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.content-block h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #007bff; /* Underline for headings */
    border-radius: 2px;
}

.content-block h3 {
    font-size: 1.6em;
    color: #444;
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-block p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.content-block ul {
    list-style: disc; /* Use disc bullets for lists */
    margin-left: 25px;
    margin-bottom: 15px;
}

.content-block ul li {
    margin-bottom: 10px;
    font-size: 1.05em;
}


/* --- Hero Section Specifics for Treatment Pages --- */
.treatment-hero {
    height: 400px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Text color for hero */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for readability */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure overlay is below text but above image */
}

.treatment-hero h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    z-index: 2; /* Ensure text is above overlay */
}

.treatment-hero p {
    font-size: 1.5em;
    max-width: 700px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    z-index: 2;
}

/* Call to action button within hero */
.treatment-hero .cta-button {
    background-color: #007bff; /* Example primary color for button */
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 2;
}

.treatment-hero .cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}


/* --- Common Causes Section (with icons/images) --- */
.causes-section .cause-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center items in the row */
    gap: 30px; /* Space between items */
    margin-top: 30px;
}

.causes-section .cause-item {
    text-align: center;
    width: 150px; /* Fixed width for consistent sizing */
}

.causes-section .cause-item img {
    width: 80px; /* Size of the icon images */
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.causes-section .cause-item p {
    font-size: 0.95em;
    color: #555;
    margin: 0;
}


/* --- Treatment Options Section (Grid layout for cards) --- */
.treatments-section .treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.treatments-section .treatment-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.treatments-section .treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.treatments-section .treatment-card h3 {
    color: #007bff; /* Heading color inside treatment cards */
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left; /* Keep text left-aligned within card */
}

.treatments-section .treatment-card ul {
    list-style: disc;
    margin-left: 20px;
    padding: 0;
}
.treatments-section .treatment-card ul li {
    font-size: 0.95em;
    margin-bottom: 8px;
    color: #555;
}


/* --- Benefits Section (Grid layout with icons) --- */
.benefits-section .benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.benefits-section .benefit-item {
    text-align: center;
    width: 200px; /* Adjust width as needed */
}

.benefits-section .benefit-item img {
    width: 60px; /* Size of benefit icons */
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.benefits-section .benefit-item p {
    font-size: 1em;
    color: #555;
    margin: 0;
}


/* --- FAQ Section --- */
.faq-section .faq-item {
    background-color: #f0f8ff; /* Light blue background for FAQ item */
    border-left: 5px solid #007bff; /* Blue border on the left */
    border-radius: 5px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.faq-section .faq-item h3 {
    font-size: 1.25em;
    color: #007bff;
    margin-top: 0;
    margin-bottom: 10px;
}

.faq-section .faq-item p {
    font-size: 1em;
    color: #666;
    margin-bottom: 0;
}


/* --- Why Choose Us Section --- */
.why-choose-us-section ul {
    list-style: none; /* Remove bullets */
    padding: 0;
    margin: 0;
    text-align: center; /* Center the list items if they are block elements */
}

.why-choose-us-section ul li {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px; /* Space for custom bullet */
    display: inline-block; /* Allows items to wrap naturally */
    max-width: 400px; /* Limit width for multi-column look if space allows */
    text-align: left; /* Keep text left aligned within the list item */
}

.why-choose-us-section ul li::before {
    content: '✓'; /* Custom checkmark bullet */
    color: #28a745; /* Green checkmark */
    font-weight: bold;
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .main-page-content-wrapper {
        margin: 30px auto;
        padding: 0 15px;
    }
    .treatment-hero {
        height: 300px;
    }
    .treatment-hero h1 {
        font-size: 2.5em;
    }
    .treatment-hero p {
        font-size: 1.2em;
        max-width: 90%;
    }
    .treatment-hero .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .content-block h2 {
        font-size: 1.8em;
    }
    .content-block h3 {
        font-size: 1.3em;
    }
    .content-block p, .content-block ul li {
        font-size: 1em;
    }
    .causes-section .cause-list,
    .benefits-section .benefits-grid {
        flex-direction: column; /* Stack icons/benefits vertically */
        align-items: center;
        gap: 20px;
    }
    .causes-section .cause-item,
    .benefits-section .benefit-item {
        width: 100%; /* Full width when stacked */
    }
    .treatments-section .treatment-grid {
        grid-template-columns: 1fr; /* Stack treatment cards vertically */
    }
    .why-choose-us-section ul li {
        padding-left: 25px;
    }
}