/* Variables for easy theme adjustments */
:root {
    --primary-color: #007aff; /* Apple Blue for accents */
    --text-color: #1d1d1f; /* Near Black for high contrast */
    --light-text-color: #86868b; /* Apple Gray for secondary text */
    --background-color: #f5f5f7; /* Near White / Light Gray */
    --white: #ffffff;
    --border-color: #e0e0e0;
    --font-family: 'Inter', sans-serif;
    --max-width: 1100px;
    --header-height: 56px;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    /* 💥 IMPLEMENTED CHANGE: Increased side padding to 40px for wider screens */
    padding: 0 40px; 
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.2s ease;
}

a:hover {
    color: #005bb5; /* Darker blue on hover */
}

/* --- Header & Navigation --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    
    /* Blurry, Translucent Background (Frosted Glass Effect) */
    background-color: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary-color); 
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li {
    margin-left: 30px;
}

.navbar ul li a {
    font-weight: 500; 
    color: var(--text-color);
    font-size: 1rem;
    letter-spacing: 0.02em; 
    padding: 18px 0;
    display: block;
    position: relative;
    opacity: 0.9; 
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* 🏆 NAVIGATION ACTIVE LINK STYLES */
.navbar ul li a.active {
    font-weight: 700; /* Make text bold */
    color: var(--primary-color); /* Make text blue */
    opacity: 1;
}

.navbar ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 12px; 
    left: 0;
    width: 100%; /* Full width underline */
    height: 2px;
    background-color: var(--primary-color);
}
/* 🏆 END NAVIGATION ACTIVE LINK STYLES */

.navbar ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
    
    /* Subtle Underline Effect for NON-ACTIVE links only */
    &::after {
        content: '';
        position: absolute;
        bottom: 12px; 
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        transition: width 0.2s ease;
    }
}

/* Ensure the hover effect doesn't unintentionally overwrite the active underline */
.navbar ul li a.active:hover::after {
    width: 100%; /* Keep the underline stable on hover */
}

/* --- Hero Section (for index.html) --- */
.hero {
    margin-top: calc(-1 * var(--header-height)); 
    padding: 120px 0 140px; 
    padding-top: calc(120px + var(--header-height)); 
    
    text-align: center;
    
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), 
        url('assets/buidling.png'); 
        
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white); 
}

.hero h2 {
    font-size: 3.5rem; 
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.05em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
    color: var(--white); 
}

.hero p {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8); 
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- General Button Styles (Updated cta-button box-shadow) --- */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 999px; 
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.2s ease, transform 0.1s ease;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    
    border: none;
    cursor: pointer;
    
    /* ✅ FIX: Use a soft, subtle box-shadow for a modern, flat look */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #005bb5;
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 6px 12px rgba(0, 0, 0, 0.15);
    /* ✅ FIX: Ensure text color stays white on hover */
    color: var(--white); 
}


/* --- ABOUT TEASE SECTION STYLES (for index.html) --- */
.about-tease {
    padding: 100px 0;
    text-align: center;
    background-color: var(--white); 
}

.about-tease .subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color); 
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.8;
}

.about-tease h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.about-tease .description {
    font-size: 1.2rem;
    color: var(--light-text-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.learn-more-button-lg {
    display: inline-block;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color);
    padding: 10px 0;
    position: relative;
}

.learn-more-button-lg::after {
    content: '→';
    display: inline-block;
    margin-left: 8px;
    transition: margin-left 0.2s ease;
}

/* NOTE: Since this button is just text, it already uses var(--primary-color) which is visible. No color fix needed here, just ensuring the text color doesn't accidentally get overwritten by a parent style. */
.learn-more-button-lg:hover {
    color: #005bb5;
}

.learn-more-button-lg:hover::after {
    margin-left: 12px;
}
/* --- END ABOUT TEASE SECTION STYLES --- */


/* --- Teaser Grid (for index.html) --- */
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 80px 20px;
}

.teaser-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.teaser-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.teaser-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.teaser-card p {
    font-size: 1rem;
    color: var(--light-text-color);
    margin-bottom: 25px;
    flex-grow: 1; 
}

.learn-more-button {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.learn-more-button:hover {
    color: #005bb5;
}

/* --- ABOUT US PAGE STYLES --- */

/* 🖼️ NEW: Styles for the background image hero section on the About page */
.about-hero {
    /* KEY CHANGE 1: Use a negative margin equal to the header height */
    margin-top: calc(-1 * var(--header-height)); 
    
    /* Set the background image and dark overlay */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), /* Dark overlay for contrast */
        url('assets/team.png'); /* The custom background image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* KEY CHANGE 2: Adjust top padding to push content below the header */
    padding: 120px 0; /* Fallback for older browsers */
    padding-top: calc(120px + var(--header-height)); 
    
    color: var(--white); /* White text for readability over dark background */
    text-align: center;
}

.page-title-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title-content h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--white); /* Ensure title is white */
}

.page-title-content p {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9); /* Lighter white for secondary text */
}

.page-content {
    /* Removed padding-top here as the new about-hero handles it */
    padding-bottom: 80px;
}

/* The previous .page-title styles are no longer necessary and have been removed/replaced. */

.about-section {
    padding: 40px 0;
    /* 💥 FIX: Center the heading and other block-level items */
    text-align: center; 
}

.about-section h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: -0.03em;
}

.about-section p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    max-width: 800px;
    
    /* 💥 FIX: Center the paragraph block itself */
    margin: 0 auto 1.5em auto; 
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 40px 0;
}

/* Core Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-item {
    padding: 30px;
    border-radius: 12px;
    background-color: var(--background-color); 
    border: 1px solid var(--border-color);
}

.value-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color); /* Title color is dark */
    margin-bottom: 10px;
}

/* Style for the SVG icons within the h4 */
.value-icon {
    width: 28px; /* Standard size for a crisp icon */
    height: 28px;
    vertical-align: middle; /* Align icon center with the text */
    margin-right: 10px; /* Space between icon and text */
}

.value-item p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Leadership Team Profiles */
.team-profile {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

.profile-card {
    max-width: 300px;
    text-align: center;
}

.profile-image {
    width: 100%;
    max-width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%; 
    object-fit: cover; 
    object-position: center; 
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.profile-card:hover .profile-image {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.profile-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-card .title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.profile-card p {
    font-size: 0.95rem;
    color: var(--light-text-color);
    line-height: 1.6;
}

/* Call to Action Section (Reused from Home page style) */
.call-to-action {
    background-color: var(--background-color);
    padding: 60px 0;
    text-align: center;
    border-radius: 12px;
    margin-top: 60px;
}

.call-to-action p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-color);
}

/* --- Footer --- */
footer {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    background-color: var(--background-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-text-color);
}

footer a {
    color: var(--light-text-color);
    margin: 0 5px;
}

footer a:hover {
    color: var(--primary-color);
}

/* --- SERVICES PAGE STYLES --- */

/* 🖼️ Services Hero Section */
.services-hero {
    /* Uses the same full-width technique as the other heroes */
    margin-top: calc(-1 * var(--header-height)); 
    padding: 120px 0; 
    padding-top: calc(120px + var(--header-height)); 
    
    text-align: center;
    color: var(--white); 
    
    /* Placeholder for the Services Background Image */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
        url('assets/doctorpatiet.png'); /* 💡 Use your own service image path here! */
        
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Service Category styles */
.service-category {
    padding: 60px 0;
}

.category-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
    color: var(--primary-color);
}

.service-category > p {
    font-size: 1.1rem;
    color: var(--light-text-color);
    margin-bottom: 40px;
    max-width: 800px;
}

/* Service Item Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background-color: var(--background-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.service-item h4 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    color: var(--text-color);
    display: flex; /* Allows icon and text to align */
    align-items: center;
}

.service-item p {
    font-size: 1rem;
    color: var(--light-text-color);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1; 
}

/* 🖼️ Custom Asset Icon Style */
.service-icon {
    /* 💥 IMPLEMENTED CHANGE: Style for your asset images (SVG, PNG, etc.) */
    width: 28px;
    height: 28px;
    margin-right: 10px;
    vertical-align: middle; /* Ensures proper text alignment */
}

/* Updated Category Title (Removed Emoji space compensation) */
.category-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
    color: var(--primary-color);
}

/* Ensure learn-more-button alignment is correct */
.service-item .learn-more-button {
    margin-top: auto; /* Push button to the bottom if container has variable height */
    font-size: 1rem;
}


/* --- Services Page Media Query Adjustments --- */
@media (max-width: 768px) {
    .services-hero {
        padding: 80px 0;
    }
    .service-category {
        padding: 40px 0;
    }
    .category-title {
        font-size: 1.8rem;
    }
}

/* --- FACILITIES PAGE STYLES --- */

/* 🖼️ Facilities Hero Section (Full-width header) */
.facilities-hero {
    /* Uses the same full-width technique as the other heroes */
    margin-top: calc(-1 * var(--header-height)); 
    padding: 120px 0; 
    padding-top: calc(120px + var(--header-height)); 
    
    text-align: center;
    color: var(--white); 
    
    /* Placeholder for the Facilities Background Image */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
        url('assets/hallway2.png'); /* 💡 Use your own facility exterior image path here! */
        
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Facility Area sections */
.facility-area {
    padding: 60px 0;
}

.facility-area .category-title {
    /* Reuses category-title style from services.css */
    margin-bottom: 10px;
}

.facility-area > p {
    font-size: 1.1rem;
    color: var(--light-text-color);
    margin-bottom: 40px;
    max-width: 800px;
}

/* Facility Item Grid Layout */
.facility-grid {
    display: grid;
    /* Two columns by default */
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.facility-item {
    background-color: var(--background-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.facility-item h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.facility-item p {
    font-size: 1rem;
    color: var(--light-text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Image styling within the facility item */
.facility-img {
    width: 100%;
    height: 200px; /* Consistent height for a clean grid */
    object-fit: cover;
    border-radius: 8px;
    margin-top: auto; /* Pushes the image to the bottom */
    border: 1px solid var(--border-color);
}

/* Specific styling for the single item in the last section */
.facility-item.full-width {
    grid-column: 1 / -1; /* Make the item span all columns */
}

.procedure-image-container .facility-img {
    height: 350px; /* Make the procedure room image taller */
}

/* --- CONTACT PAGE STYLES --- */

/* 🖼️ Contact Hero Section (Full-width header) */
.contact-hero {
    /* Uses the same full-width technique as the other heroes */
    margin-top: calc(-1 * var(--header-height)); 
    padding: 120px 0; 
    padding-top: calc(120px + var(--header-height)); 
    
    text-align: center;
    color: var(--white); 
    
    /* Placeholder for the Contact Background Image */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
        url('assets/reception.png'); /* 💡 Use your own contact image path here! */
        
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Two-column layout for Contact Form and Details */
.contact-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr; /* Form takes 2/3, Details take 1/3 */
    gap: 60px;
    padding: 80px 0;
}

.contact-form-section .category-title {
    color: var(--text-color);
}

.section-description {
    color: var(--light-text-color);
    margin-bottom: 30px;
}

/* Contact Form Styling */
.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns for name/email/phone/subject */
    gap: 20px;
    padding: 30px;
    background-color: var(--background-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
}

.form-group.full-width {
    grid-column: 1 / -1; /* Make the message field span both columns */
}

.cta-button.full-width-button {
    grid-column: 1 / -1;
    margin-top: 10px;
    text-align: center;
}

/* Details Section Styling */
.details-section {
    padding-top: 5px; /* Alignment adjustment */
}

.details-section .category-title {
    margin-bottom: 30px;
}

.detail-block {
    margin-bottom: 30px;
}

.detail-block h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex; 
    align-items: center;
}

.detail-block p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.map-container {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background-image: url('assets/location.png');
    background-size: cover; /* Ensures the image covers the entire 250px height */
    background-position: center; /* Centers the map graphic */
    background-repeat: no-repeat;
    border: 1px solid var(--border-color);
}

/* --- Hamburger Menu Base Styles --- */
.menu-toggle {
    display: none; /* Hide on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1010;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* --- Contact Page Media Query Adjustments --- */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr; /* Stack into a single column on tablet/mobile */
        gap: 40px;
        padding: 40px 0;
    }
    .contact-form {
        grid-template-columns: 1fr; /* Stack form fields vertically */
        padding: 20px;
    }
    .contact-form-section .section-description {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0;
    }
}

/* --- Facilities Page Media Query Adjustments --- */
@media (max-width: 768px) {
    .facilities-hero {
        padding: 80px 0;
    }
    .facility-area {
        padding: 40px 0;
    }
    .facility-grid {
        grid-template-columns: 1fr; /* Stack facility items on mobile */
        gap: 30px;
    }
    .procedure-image-container .facility-img {
        height: 250px; 
    }
}

/* --- Media Queries for Responsiveness (Hamburger FIX) --- */
@media (max-width: 768px) {
    
    /* 💥 CORE FIX: Ensure container has 20px side padding on small screens */
    .container {
        padding: 0 20px;
    }

    /* 💥 CORE FIX: Ensure Header layout works for logo and toggle */
    header {
        /* Revert styles that were trying to manually stack */
        background-color: rgba(255, 255, 255, 0.95); 
        backdrop-filter: blur(8px); 
        -webkit-backdrop-filter: blur(8px); 
        height: var(--header-height); /* Keep original fixed height */
    }

    header .container {
        /* Align logo and toggle side-by-side (row) */
        flex-direction: row; 
        justify-content: space-between; /* Push logo left, toggle right */
        height: 100%; /* Fill the fixed header height */
        padding: 0 20px;
    }

    .logo {
        margin-bottom: 0; /* Remove vertical margin */
        /* Ensure the logo uses an accessible link tag in HTML (already done in your code) */
    }
    
    .menu-toggle {
        display: block; /* Show the hamburger button on mobile */
    }

    /* 💥 FIX: Collapse the navigation list by default on mobile */
    .navbar {
        position: absolute;
        top: var(--header-height); /* Starts right below the fixed header */
        left: 0;
        width: 100%;
        height: 0; /* Hidden by default */
        overflow: hidden;
        background-color: var(--white);
        border-top: 1px solid var(--border-color);
        transition: height 0.3s ease-in-out;
        z-index: 999;
    }
    
    /* State when menu is open (requires JS to add 'open' class to .navbar) */
    .navbar.open {
        height: 280px; /* Adjust height based on your number of links */
        overflow-y: auto;
    }

    .navbar ul {
        flex-direction: column; /* Stack links vertically */
        align-items: center; /* Center links */
        padding: 20px 0;
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .navbar ul li a {
        padding: 10px 0;
        font-size: 1.1rem;
        /* Remove active/hover underline on mobile links for a cleaner look */
        &::after { 
            display: none; 
        }
    }
    
    /* 💥 Hamburger Icon Transform (to an 'X' when open) */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* --- Other Mobile Adjustments --- */
    .hero {
        padding: 80px 20px;
        margin-top: 0; 
        padding-top: 80px;
    }

    .hero h2 {
    font-size: 2.5rem; /* Reduced size for mobile */
    max-width: 100%; /* Ensure it fits the container */
    margin: 0 auto 15px auto; /* Center the block itself */
    line-height: 1.2;
}

/* 💥 NEW: Ensure hero paragraph text is correctly scaled and centered */
.hero p {
    font-size: 1.1rem; /* Reduced size for mobile */
    max-width: 100%; /* Ensure it fits the container */
    margin: 0 auto 30px auto; /* Center the block itself */
}

/* Make sure the main .container has padding */
.container {
    padding: 0 20px;
}
    
    .about-hero, .services-hero, .facilities-hero, .contact-hero {
        padding: 80px 0;
        margin-top: 0;
        padding-top: 80px;
    }

    .page-title-content h2 {
        font-size: 2.5rem;
    }

    .page-title-content p {
        font-size: 1.2rem;
    }

    .about-section {
        padding: 20px 0;
    }

    .team-profile {
        flex-direction: column;
        align-items: center;
    }

    .profile-card {
        margin-bottom: 30px;
    }
    
    .teaser-grid {
        grid-template-columns: 1fr;
        padding: 50px 20px;
    }
    
    .facility-grid {
        grid-template-columns: 1fr; 
    }
    .procedure-image-container .facility-img {
        height: 250px; 
    }
}



