/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #f8f8f8; /* A light gray for body background */
    color: #333333; /* Dark grey from logo for primary text */
}

/* Color Palette Variables (from logo) */
:root {
    --primary-dark: #333333;
    --accent-blue: #00AEEF;
    --light-gray: #f8f8f8;
    --white: #ffffff;
    --border-gray: #D1D5DB;
    --text-gray: #4B5563;
    --success-green: #22c55e;
    --error-red: #ef4444;
    --hover-bg-accent-blue: #0099DD; /* Define this for consistency */
}

/* Fixed Navbar styling */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar-logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 40px;
    width: auto;
}

.navbar-links-container {
    display: none; /* hidden by default on small screens */
    column-gap: 1.5rem; /* space-x-6 */
}
@media (min-width: 768px) { /* md breakpoint */
    .navbar-links-container {
        display: flex;
    }
}

.navbar-link {
    font-size: 0.875rem; /* text-sm */
    color: var(--primary-dark);
    transition: color 0.3s ease;
}
.navbar-link:hover {
    color: var(--accent-blue);
}

/* Mobile menu button (Hamburger icon) */
.mobile-menu-button {
    display: block; /* block by default */
}
@media (min-width: 768px) { /* md breakpoint */
    .mobile-menu-button {
        display: none; /* hidden on md and larger */
    }
}

.mobile-menu-icon {
    width: 1.5rem; /* w-6 */
    height: 1.5rem; /* h-6 */
    fill: none;
    stroke: currentColor;
    color: var(--primary-dark);
    outline: none; /* focus:outline-none */
}

/* Mobile Menu */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: 0; /* Changed to 0 so it's always in position to slide */
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 999;
    padding: 1.5rem;
    padding-top: 5rem;
    display: flex; /* Always flex so we can control visibility with opacity/transform */
    flex-direction: column;
    align-items: center; /* Center items in the menu */
    justify-content: flex-start; /* Align items to the top */
    transform: translateX(100%); /* Start off-screen to the right */
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-drawer.active { /* Class added by JS to show */
    transform: translateX(0); /* Slide into view */
    opacity: 1;
    visibility: visible;
}

@media (min-width: 768px) { /* md breakpoint */
    .mobile-menu-drawer {
        display: none; /* Hide on larger screens */
    }
}

.mobile-menu-link {
    display: block;
    font-size: 1rem; /* text-base */
    color: var(--primary-dark);
    padding-top: 0.5rem; /* py-2 */
    padding-bottom: 0.5rem; /* py-2 */
    width: 100%; /* Ensure links take full width in menu */
    text-align: center; /* Center text in mobile menu */
}
.mobile-menu-link:hover {
    color: var(--accent-blue);
}

/* Fixed Side Sliders */
.side-slider {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; /* Initial narrow width */
    background-color: var(--accent-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out, opacity 0.5s ease, visibility 0.5s ease; /* Added opacity and visibility transitions */
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 10px 0;
    font-weight: bold;
    text-transform: uppercase;
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
}
.side-slider.active { /* Class added by JS to show slider */
    visibility: visible;
    opacity: 1;
}

.side-slider:hover {
    width: 150px; /* Expanded width on hover */
    writing-mode: horizontal-tb;
    padding: 10px 20px;
    justify-content: flex-start;
}
.side-slider-left {
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.side-slider-right {
    right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Main Content Area */
.main-content-area {
    padding-top: 4rem; /* pt-16, accounts for fixed navbar height */
}

/* Section common styles */
.section-padding {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem; /* py-16 */
}
@media (min-width: 768px) { /* md breakpoint */
    .section-padding {
        padding-top: 5rem; /* md:py-20 */
        padding-bottom: 5rem; /* md:py-20 */
    }
}

.section-bg-white {
    background-color: var(--white);
}

.section-bg-gray {
    background-color: var(--light-gray);
}

.content-container {
    max-width: 1280px; /* max-w-7xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
}
/* Responsive padding for content containers to prevent overlap with side sliders */
@media (min-width: 640px) { /* sm breakpoint */
    .content-container {
        padding-left: 1.5rem; /* sm:px-6 */
        padding-right: 1.5rem; /* sm:px-6 */
    }
}
@media (min-width: 768px) { /* md breakpoint */
    .content-container {
        padding-left: 4rem; /* md:px-16 */
        padding-right: 4rem; /* md:px-16 */
    }
}
@media (min-width: 1024px) { /* lg breakpoint */
    .content-container {
        padding-left: 6rem; /* lg:px-24 */
        padding-right: 6rem; /* lg:px-24 */
    }
}
@media (min-width: 1280px) { /* xl breakpoint */
    .content-container {
        padding-left: 12rem; /* xl:px-48 */
        padding-right: 12rem; /* xl:px-48 */
    }
}


/* Headings */
.section-heading {
    font-size: 2.25rem; /* text-3xl */
    font-weight: 800; /* font-extrabold */
    text-align: center;
    margin-bottom: 2.5rem; /* mb-10 */
    color: var(--primary-dark);
}
@media (min-width: 768px) { /* md breakpoint */
    .section-heading {
        font-size: 3rem; /* md:text-4xl */
    }
}

.sub-section-heading {
    font-size: 1.5rem; /* text-2xl */
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.75rem; /* mb-7 */
    color: var(--accent-blue);
}

.card-title {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    margin-bottom: 0.75rem; /* mb-3 */
    color: var(--primary-dark);
}

.card-title-accent {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    margin-bottom: 0.75rem; /* mb-3 */
    color: var(--accent-blue);
}

/* Paragraphs and text */
.paragraph-text {
    font-size: 1rem; /* text-base */
    line-height: 1.625; /* leading-relaxed */
    margin-bottom: 1.25rem; /* mb-5 */
    color: #4A5568; /* A slightly softer gray for body text */
}

.paragraph-text-white {
    font-size: 1rem; /* text-base */
    line-height: 1.625; /* leading-relaxed */
    text-align: center;
    color: var(--white);
}

.paragraph-text-small {
    font-size: 0.875rem; /* text-sm */
    color: #4A5568;
    margin-bottom: 0.5rem; /* mb-2 */
}

.small-text {
    font-size: 0.875rem; /* text-sm */
    color: #6B7280; /* A darker gray for smaller text */
}

.x-small-text {
    font-size: 0.75rem; /* text-xs */
    color: #6B7280; /* A darker gray for extra small text */
}

.text-center-max-width {
    text-align: center;
    max-width: 900px; /* limits width for centered paragraphs */
    margin-left: auto;
    margin-right: auto;
}

/* Hero section specific styles */
.hero-section {
    height: 100vh; /* h-screen */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url(images/landing.png);
    background-size: cover;
    background-position: center;
    color: var(--primary-dark);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.hero-content-box {
    max-width: 64rem; /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
    padding: 2rem; /* p-8 */
    border-radius: 0.5rem; /* rounded-lg */
}

.hero-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 800; /* font-extrabold */
    line-height: 1.25; /* leading-tight */
    margin-bottom: 0.75rem; /* mb-3 */
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@media (min-width: 768px) { /* md breakpoint */
    .hero-title {
        font-size: 3rem; /* md:text-5xl */
    }
}

.hero-subtitle {
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75rem; /* md:text-xl (this is wrong, should be leading-7) */
    margin-bottom: 1.5rem; /* mb-6 */
}
@media (min-width: 768px) { /* md breakpoint */
    .hero-subtitle {
        font-size: 1.25rem; /* md:text-xl */
    }
}

.hero-button {
    display: inline-block;
    background-color: var(--accent-blue);
    color: var(--white);
    font-size: 1rem; /* text-md */
    font-weight: 600; /* font-semibold */
    padding: 0.75rem 2rem; /* py-3 px-8 */
    border-radius: 9999px; /* rounded-full */
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.hero-button:hover {
    background-color: var(--hover-bg-accent-blue);
    transform: scale(1.05);
}

/* About section specific styles */
.flex-center {
    display: flex;
    justify-content: center;
}

flex-center2
{
    display: flex;
    justify-content: center;
    padding:3rem;
    width:90%;
    margin:3rem auto;
    align-items: center;
}
.about-image {
    border-radius: 0.5rem; /* rounded-lg */   
    width: 100%;
    max-width: 28rem; /* max-w-md */
}
.about-image2 {
    border-radius: 0.5rem; /* rounded-lg */   
    width: 100%;    
}

/* Card styles (used for various content blocks) */
.card-style {
    background-color: var(--white); /* bg-gray-50 from previous, but white for cards on gray background */
    padding: 1.25rem; /* p-5 */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* shadow-md */
    border: 1px solid #e2e8f0; /* border border-gray-200 */
}

.card-style-center-aligned {
    background-color: var(--white);
    padding: 1.75rem; /* p-7 */
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
}

/* List styles for features within cards */
.feature-list {
    list-style: disc;
    list-style-position: inside;
    color: var(--text-gray);
    line-height: 1.5; /* space-y-1.5 means roughly 0.375rem (6px) margin between list items */
}
.feature-list li {
    margin-bottom: 0.375rem; /* space-y-1.5 */
}

/* Grid layouts */
.grid-2-col-gap-10 {
    display: grid;
    gap: 2.5rem; /* gap-10 */
}
@media (min-width: 768px) { /* md breakpoint */
    .grid-2-col-gap-10 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.grid-card-layout-3-col {
    display: grid;
    gap: 1.75rem; /* gap-7 */
}
@media (min-width: 768px) { /* md breakpoint */
    .grid-card-layout-3-col {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* md:grid-cols-2 */
    }
}
@media (min-width: 1024px) { /* lg breakpoint */
    .grid-card-layout-3-col {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* lg:grid-cols-3 */
    }
}

.span-3-cols {
    grid-column: span 3 / span 3; /* lg:col-span-3 */
}
@media (max-width: 1023px) { /* Reset for smaller screens if it was a multi-column span */
    .span-3-cols {
        grid-column: auto;
    }
}

.span-2-cols {
    grid-column: span 2 / span 2; /* md:col-span-2 */
}
@media (max-width: 767px) { /* Reset for smaller screens if it was a multi-column span */
    .span-2-cols {
        grid-column: auto;
    }
}


/* Sub-section specific margins */
.sub-section-margin-bottom {
    margin-bottom: 3.5rem; /* mb-14 */
}

/* Combined Therapy Banner */
.combined-therapy-banner {
    margin-top: 3.5rem; /* mt-14 */
    background-color: var(--accent-blue);
    color: var(--white);
    padding: 1.75rem; /* p-7 */
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); /* shadow-xl */
    text-align: center;
}

.combined-therapy-heading {
    font-size: 1.5rem; /* text-2xl */
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.75rem; /* mb-3 */
}

/* Pricing Plans */
.pricing-amount {
    font-size: 3rem; /* text-4xl */
    font-weight: 800; /* font-extrabold */
    color: var(--primary-dark);
    margin-bottom: 1.25rem; /* mb-5 */
}

.pricing-plan-button {
    background-color: var(--accent-blue);
    color: var(--white);
    font-weight: 600; /* font-semibold */
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    border-radius: 9999px; /* rounded-full */
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%; /* w-full */
}
.pricing-plan-button:hover {
    background-color: var(--hover-bg-accent-blue);
    transform: scale(1.05);
}

.flex-col-justify-between {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Contact Section */
.flex-align-center {
    display: flex;
    align-items: center;
}

.icon-style {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
    margin-right: 0.75rem; /* mr-3 */
    color: var(--primary-dark);
}

.operating-hours-container {
    margin-top: 1.75rem; /* mt-7 */
}

.map-section-container {
    margin-top: 2rem; /* mt-8 */
}

/* Form Styles */
.form-layout {
    display: flex;
    flex-direction: column;
    row-gap: 1rem; /* space-y-4 */
}

.form-label {
    display: block;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    color: #4A5568; /* gray-700 */
}

.form-input-field {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-gray);
    border-radius: 0.375rem;
    font-size: 0.9rem;
    line-height: 1.5rem;
    color: var(--text-gray);
    margin-top: 0.25rem; /* mt-1 */
}
.form-input-field:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}

.form-submit-button {
    width: 100%;
    background-color: var(--accent-blue);
    color: var(--white);
    font-weight: 600; /* font-semibold */
    padding: 0.625rem 1.5rem; /* py-2.5 px-6 */
    border-radius: 9999px; /* rounded-full */
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem; /* text-sm */
}
.form-submit-button:hover {
    background-color: var(--hover-bg-accent-blue);
    transform: scale(1.05);
}

.form-message {
    margin-top: 0.75rem; /* mt-3 */
    text-align: center;
    font-size: 0.75rem; /* text-xs */
    font-weight: 500; /* font-medium */
}
.form-message.success {
    color: var(--success-green);
}
.form-message.error {
    color: var(--error-red);
}


/* Footer */
.footer-main {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 1.75rem 0; /* py-7 */
}

.footer-text-container {
    max-width: 1280px; /* max-w-7xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
    text-align: center;
    font-size: 0.875rem; /* text-sm */
}
@media (min-width: 640px) { /* sm breakpoint */
    .footer-text-container {
        padding-left: 1.5rem; /* sm:px-6 */
        padding-right: 1.5rem; /* sm:px-6 */
    }
}
@media (min-width: 1024px) { /* lg breakpoint */
    .footer-text-container {
        padding-left: 2rem; /* lg:px-8 */
        padding-right: 2rem; /* lg:px-8 */
    }
}
.footer-text-container p + p { /* mt-1.5 for subsequent paragraphs */
    margin-top: 0.375rem;
}
.footer-link {
    color: var(--accent-blue);
}
.footer-link:hover {
    text-decoration: underline;
}


/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5); /* bg-black bg-opacity-50 */
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden; /* hidden by default */
    opacity: 0; /* hidden by default */
    z-index: 1001;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active { /* Class added by JS to show modal */
    visibility: visible;
    opacity: 1;
}


.modal-content {
    background-color: var(--white);
    padding: 2rem; /* p-8 */
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* shadow-xl */
    max-width: 24rem; /* max-w-sm */
    width: 100%;
    text-align: center;
}

.modal-title {
    font-size: 1.25rem; /* text-xl */
    font-weight: bold;
    margin-bottom: 1rem; /* mb-4 */
    color: var(--primary-dark);
}

.modal-text {
    font-size: 1rem; /* text-base */
    color: #4A5568; /* gray-700 */
    margin-bottom: 1.25rem; /* mb-5 */
}

.modal-button-group {
    display: flex;
    flex-direction: column;
    row-gap: 1rem; /* space-y-4 */
}

.modal-button-primary {
    display: block;
    background-color: var(--accent-blue);
    color: var(--white);
    font-weight: 600; /* font-semibold */
    padding: 0.625rem 1.5rem; /* py-2.5 px-6 */
    border-radius: 9999px; /* rounded-full */
    transition: background-color 0.3s ease;
    font-size: 0.875rem; /* text-sm */
}
.modal-button-primary:hover {
    background-color: var(--hover-bg-accent-blue);
}

.modal-button-secondary {
    display: block;
    background-color: #e5e7eb; /* gray-200 */
    color: var(--primary-dark);
    font-weight: 600; /* font-semibold */
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    transition: background-color 0.3s ease;
    font-size: 0.875rem;
}
.modal-button-secondary:hover {
    background-color: #d1d5db; /* gray-300 */
}

.modal-button-tertiary {
    display: block;
    background-color: #f3f4f6; /* gray-100 */
    color: var(--primary-dark);
    font-weight: 600; /* font-semibold */
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    transition: background-color 0.3s ease;
    font-size: 0.875rem;
}
.modal-button-tertiary:hover {
    background-color: #e5e7eb; /* gray-200 */
}

.modal-close-link {
    margin-top: 1.5rem; /* mt-6 */
    color: var(--accent-blue);
    font-size: 0.875rem; /* text-sm */
}
.modal-close-link:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .75; }
}
