/* Global Styles */
:root {
    --primary-color: #003e6d; /* Dark Blue */
    --secondary-color: #4fc3f7; /* Light Blue */
    --accent-color: #002a4a; /* Darker Blue for contrast & hover */
    --background-color: #ffffff; /* White */
    --light-background-color: #f4f8fb; /* Very light blue/grey */
    --text-color: #333333;
    --light-text-color: #f8f9fa;
    --heading-color: var(--primary-color);
    --border-color: #dee2e6;
    --border-radius: 8px; /* Slightly softer radius */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-light: 0 2px 8px rgba(0, 0, 0, 0.06);
    --font-family-sans-serif: 'Open Sans', 'Roboto', sans-serif;
    --font-family-headings: 'Roboto', 'Open Sans', sans-serif;
    --transition-speed: 0.3s ease;
}

body {
    font-family: var(--font-family-sans-serif);
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7; /* Increased for better readability */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 90px; /* Adjust if header height changes */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 1rem; /* Consistent bottom margin */
    font-weight: 600; /* Slightly bolder headings */
}

h1 { font-size: 2.5rem; text-transform: uppercase;}
h2 { font-size: 2rem; text-transform: uppercase;}
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.25rem; /* Increased for better spacing */
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
    text-decoration: none; /* No underline on hover by default */
}

a[aria-disabled="true"] {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}


img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Header & Navigation */
#main-header {
    background-color: var(--background-color);
    padding: 1rem 0;
    box-shadow: var(--box-shadow-light);
    position: fixed; /* Sticky header */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030; /* High z-index */
    transition: padding var(--transition-speed);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--primary-color);
    font-weight: 600; /* Bolder nav links */
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px; /* Slightly lower */
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}
nav ul li a.active {
    color: var(--secondary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem; 
}
.header-phone {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    white-space: nowrap; /* Prevent phone number from wrapping */
}
.header-phone:hover {
    color: var(--secondary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--background-color);
    min-width: 220px; /* Wider dropdown */
    box-shadow: var(--box-shadow);
    z-index: 1001; /* Ensure above other content */
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 0.5rem 0;
    margin-top: 0.5rem; /* Space from parent */
    border-top: 2px solid var(--secondary-color);
}

.dropdown-content a {
    color: var(--primary-color);
    padding: 0.75rem 1.25rem; /* More padding */
    text-decoration: none;
    display: block;
    font-weight: 500; /* Normal weight for dropdown items */
    font-size: 0.9rem;
    text-transform: none; /* Regular case for dropdown items */
}
.dropdown-content a::after { /* Remove underline effect from main nav */
    display: none;
}

.dropdown-content a:hover, .dropdown-content a.active {
    background-color: var(--light-background-color);
    color: var(--accent-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn {
    cursor: pointer;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-speed);
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn small { /* Style for small text within buttons */
    font-size: 0.7em;
    display: block;
    line-height: 1;
    opacity: 0.8;
}


.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color); /* Darken on hover */
    border-color: var(--accent-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
}

.btn-primary-dark {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border-color: var(--primary-color);
}
.btn-primary-dark:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-text-color); /* Ensure text remains light on darker hover */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
}
/* Special button style for Key Services section */
.btn.key-services-btn {
    background-color: var(--light-text-color);
    color: var(--primary-color);
    border-color: var(--light-text-color);
}
.btn.key-services-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}


/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem; /* Slightly smaller */
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
}


/* Main content */
main {
    flex-grow: 1;
    padding-top: 0; /* Removed padding-top as body has it now */
}

/* Hero Section */
.hero {
    color: var(--light-text-color); 
    padding: 0; /* Remove padding, slides control this */
    text-align: center;
    position: relative; 
    overflow: hidden;
    min-height: 65vh; /* Adjusted height */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color); /* Fallback if no slides/gradient */
}

.hero-slides-container {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
}

.hero-slide {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 0s 1s;
    padding: 2rem; 
    box-sizing: border-box;
    background-image: url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?q=80&w=2128&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); /* Added background image */
    background-size: cover;
    background-position: center;
    color: var(--light-text-color); 
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 62, 109, 0.8), rgba(79, 195, 247, 0.7)); /* Slightly adjusted opacity */
    z-index: 1; 
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease-in-out, visibility 0s 0s;
}

.hero-slide .container { 
    position: relative; 
    z-index: 2; 
    text-align: center;
    width: 100%;
    padding-bottom: 80px; /* Increased Space above slider dots */
}

.hero h1 {
    font-size: 2.2rem; 
    color: var(--light-text-color); 
    margin-bottom: 0; 
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* Subtle text shadow */
}

.hero-slide .container p.hero-subheading {
    font-size: 1.2rem;
    color: var(--light-text-color);
    margin-top: 0.75rem; 
    margin-bottom: 0;
    font-weight: 400; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
    max-width: 700px; 
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}


/* Slider Dots */
.slider-dots-container {
    position: absolute;
    bottom: 40px; /* Increased distance from bottom */
    left: 50%;
    transform: translateX(-50%);
    z-index: 5; 
}
.slider-dots {
    display: flex;
    gap: 15px; /* Increased gap */
}
.dot {
    width: 14px; /* Larger dots */
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5); /* Slightly less transparent */
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    border: 2px solid rgba(255, 255, 255, 0.4); /* Border for definition */
}
.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.15); /* Larger hover scale */
}
.dot.active {
    background-color: var(--light-text-color);
    transform: scale(1.25); /* Larger active scale */
    border-color: var(--light-text-color);
}


/* Info Sections */
.info-section {
    padding: 4rem 0;
}
.info-section.alternate-bg { /* General alternate bg */
    background-color: var(--light-background-color);
}

.info-section h2, .services-section h2, .doctors-section h2, .page-header h1, .cta-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* About Snippet Section on Homepage */
#about-snippet .about-snippet-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem; /* Increased gap */
    align-items: center;
}
#about-snippet .about-text {
    flex: 1;
    min-width: 300px; 
}
#about-snippet .about-image {
    flex: 1;
    min-width: 300px; 
    text-align: center; 
}
#about-snippet .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    object-fit: cover;
    max-height: 450px; 
}

/* Services Section & Card Redesign */
.services-section { /* General services section styling */
    padding: 4rem 0;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Slightly wider minmax */
    gap: 2rem;
}

.service-card, .doctor-card, .testimonial-card, .content-card, .reason-item {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color); /* Subtle border */
}

.service-card:hover, .doctor-card:hover, .testimonial-card:hover, .reason-item:hover {
    transform: translateY(-8px); /* More lift */
    box-shadow: var(--box-shadow);
}

/* Default service icon for services.html and health-packages.html */
.service-card .service-icon { 
    width: 100%; 
    height: 180px; 
    margin: -2rem -2rem 1.5rem -2rem; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
    border-radius: var(--border-radius) var(--border-radius) 0 0; 
}
.service-card .service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 0; 
    transition: transform 0.4s ease;
}
.service-card:hover .service-icon img {
    transform: scale(1.05); 
}

.service-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    text-align: center;
    font-size: 1.3rem;
}
.service-card p {
    text-align: center;
    flex-grow: 1; 
    font-size: 0.95rem;
    color: #555;
}
.service-card ul {
    text-align: left;
    padding-left: 20px; 
    margin-bottom: 1rem;
    flex-grow: 1;
    font-size: 0.9rem;
    color: #555;
}
.service-card ul li {
    margin-bottom: 0.3rem;
}

/* Prominent Key Services Section on Homepage (#services-highlight) */
#services-highlight.services-section.alternate-bg {
    background-color: var(--primary-color); /* Dark blue background */
    color: var(--light-text-color);
}
#services-highlight h2 {
    color: var(--light-text-color); /* Light heading color for dark background */
}
#services-highlight .service-card {
    background-color: var(--background-color); /* White cards on dark blue background */
    border-color: var(--secondary-color); /* Light blue border for cards */
}
#services-highlight .service-card h3 {
    color: var(--primary-color); /* Dark blue heading for card title */
}
#services-highlight .service-card p {
    color: var(--text-color); /* Standard dark text for card paragraph */
}
/* Icon styling specific to #services-highlight */
#services-highlight .service-icon {
    width: 90px; /* Smaller, circular icon */
    height: 90px;
    margin: 0 auto 1.5rem auto; /* Centered, no negative margin, space below */
    border-radius: 50%; /* Circular icon background */
    background-color: var(--secondary-color); /* Light blue background for the icon circle */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* Allow potential icon shadow if any */
    padding: 15px; /* Padding inside the circle for the image */
    box-sizing: border-box;
}
#services-highlight .service-icon img {
    width: 100%; /* Make image fill the padding box of .service-icon */
    height: 100%;
    object-fit: contain; /* Ensure transparent PNG scales well */
    border-radius: 0; /* No radius for the image itself if it's an icon */
    transform: none; /* Remove hover scale from general service icon if any */
    /* Assuming the PNG icon is light/white to show on var(--secondary-color) background */
    /* If icons are dark, you might need 'filter: brightness(0) invert(1);' to make them white */
}
#services-highlight .service-card:hover .service-icon img {
    transform: none; /* No zoom on icon image on card hover for this section */
}
#services-highlight .service-card:hover .service-icon {
    transform: scale(1.1); /* Scale the icon circle on card hover */
}


/* Reasons Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.reason-item { /* Uses .service-card base style */
    /* Specific overrides for reason-item if needed */
}
.reason-icon { 
    height: 80px; 
    width: 80px;
    margin: 0 auto 1.5rem auto; 
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--light-background-color); /* Light background for icon container */
}
.reason-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}
.reason-item:hover .reason-icon img {
    transform: scale(1.05);
}
.reason-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    text-align: center;
    font-size: 1.3rem;
}
.reason-item p {
    text-align: center;
    flex-grow: 1; 
    font-size: 0.95rem;
    color: #555;
}


/* Doctors Section */
.doctors-section {
    padding: 4rem 0;
}
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Wider doctor cards */
    gap: 2rem;
}
.doctor-card img.doctor-avatar { /* Specific class for doctor images */
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    display: block;
    border: 4px solid var(--secondary-color); /* Thicker border */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.doctor-card h3 {
    text-align: center;
    color: var(--accent-color);
    font-size: 1.4rem;
}
.doctor-card .specialty {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600; /* Bolder specialty */
    margin-bottom: 0.75rem;
    font-size: 1rem;
}
.doctor-card p:not(.specialty) {
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    min-height: 60px; /* Ensure cards have similar height */
}


/* Testimonials */
.testimonial-card {
    border-left: 5px solid var(--secondary-color); /* Accent line */
    padding-left: 2.5rem;
}
.testimonial-card .stars {
    color: #ffd700; /* Gold */
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: left; /* Align stars left */
}
.testimonial-card p:not(.author) {
    font-style: italic;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: left;
}
.testimonial-card .author {
    font-weight: bold;
    margin-top: 1.5rem;
    color: var(--primary-color);
    text-align: right;
    font-size: 1rem;
}

/* Page Header (for subpages) */
.page-header {
    background-color: var(--primary-color); /* Dark blue background */
    padding: 4rem 0; /* More padding */
    text-align: center;
    margin-bottom: 3rem; /* More space after header */
}
.page-header h1 {
    color: var(--light-text-color); /* Light text on dark background */
    font-size: 2.8rem;
}
.page-header p { /* For subtitle if any */
    color: var(--light-text-color);
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0.5rem auto 0 auto;
}


/* Content Card (for general content blocks like FAQ items) */
.content-card {
    margin-bottom: 1.5rem; /* Space between cards */
    padding: 1.5rem;
}
.content-card h3 {
    font-size: 1.25rem;
    color: var(--accent-color);
}

/* CTA Section */
#make-appointment-cta.cta-section { /* Specific ID for homepage CTA */
    background-color: var(--secondary-color);
    padding: 3rem 0; 
    text-align: center;
}
#make-appointment-cta.cta-section h2 {
    color: var(--primary-color); 
    font-size: 2.2rem;
}
#make-appointment-cta.cta-section p {
    color: var(--accent-color); 
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}
/* General CTA Section styling if needed elsewhere */
.cta-section { 
    padding: 4.5rem 0; 
    text-align: center;
}
.cta-section h2 { /* Default CTA heading if not overridden */
    color: var(--primary-color); 
}


/* Footer */
footer {
    background-color: var(--accent-color); /* Darkest blue for footer */
    color: rgba(255,255,255,0.8); /* Slightly transparent white text */
    padding: 4rem 0 1.5rem 0;
    margin-top: auto; /* Ensures footer sticks to bottom if content is short */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    color: var(--light-text-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}


.footer-section p, .footer-section ul, .footer-section li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-speed), padding-left var(--transition-speed);
}

.footer-section a:hover {
    color: var(--light-text-color);
    text-decoration: none;
    padding-left: 5px; /* Slight indent on hover */
}
.footer-section.footer-about a { /* Specific for contact links in about */
     color: var(--secondary-color);
}
.footer-section.footer-about a:hover {
    color: var(--light-text-color);
}
.footer-section .social-media-icons a {
    margin-right: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 1.5rem; /* Example size, replace with actual icon styles */
}
.footer-section .social-media-icons a:hover {
    color: var(--light-text-color);
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

/* Form Styles & Doctor Channeling Table Styles */
.form-container, .doctor-channel-container {
    max-width: 850px;
    margin: 2rem auto;
    padding: 2.5rem; /* More padding */
    background-color: var(--background-color);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    border-top: 4px solid var(--secondary-color); /* Accent border top */
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem; /* Increased gap */
    margin-bottom: 2.5rem;
}

.filters-container .form-group {
    flex: 1;
    min-width: 220px; /* Wider filter inputs */
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.75rem; /* Increased margin */
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem; /* Increased margin */
    font-weight: 600; /* Bolder labels */
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="search"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem; /* More padding */
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
    background-color: var(--light-background-color); /* Light bg for inputs */
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.25); /* Softer focus shadow */
    background-color: var(--background-color);
}

.form-group textarea {
    min-height: 130px; /* Taller textarea */
    resize: vertical;
}

.doctor-table-container {
    overflow-x: auto;
}

.doctor-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: var(--box-shadow-light); /* Add shadow to table */
}

.doctor-table th, .doctor-table td {
    border: 1px solid var(--border-color);
    padding: 1rem; /* More padding */
    text-align: left;
    font-size: 0.95rem;
}

.doctor-table th {
    background-color: var(--primary-color); /* Primary color for th */
    color: var(--light-text-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctor-table tbody tr:nth-child(even) {
    background-color: var(--light-background-color);
}

.doctor-table tbody tr:hover {
    background-color: #e9ecef; /* Slightly darker hover */
}

.doctor-table .btn {
    padding: 0.6rem 1.2rem; /* Standardized button padding */
    font-size: 0.85rem;
}

#no-results-message {
    text-align: center;
    padding: 1.5rem;
    color: var(--text-color);
    font-style: italic;
    background-color: var(--light-background-color);
    border-radius: var(--border-radius);
    margin-top: 1rem;
}


.map-placeholder {
    width: 100%;
    height: 350px; /* Taller map */
    background-color: #e9e9e9;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-style: italic;
    margin-top: 1.5rem;
    border: 1px solid var(--border-color);
}

.coming-soon-image {
    max-width: 250px; /* Adjusted for services.html */
    margin: 1.5rem auto;
    display: block;
    border-radius: var(--border-radius);
}
#bill-payment-heading { /* specific ID from services.html */
    color: var(--primary-color);
}
.coming-soon-actions { /* For the new buttons in services.html */
    margin-top: 2rem; 
    display: flex; 
    justify-content: center; 
    gap: 1rem; 
    flex-wrap: wrap;
}
.coming-soon-actions .btn {
    min-width: 200px; /* Ensure buttons have a decent width */
}


/* Responsive Design */
@media (max-width: 1024px) {
    body {
        padding-top: 74px; /* Adjust if header height changes */
    }
    .nav-container nav { /* Targets the <nav> element */
        order: 4; 
        /* Removed width: 100%; from here as it was causing layout issues for the flex container */
    }
    .nav-container nav ul {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%; /* This is correct for the dropdown menu itself */
        background-color: var(--background-color);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
    }
    .nav-container nav ul.active {
        display: flex;
    }
    .nav-container nav ul li {
        margin: 0;
        width: 100%;
        text-align: left;
    }
    .nav-container nav ul li a {
        padding: 0.8rem 1.5rem; /* Adjust padding for mobile nav items */
        display: block;
        border-bottom: 1px solid var(--light-background-color);
        font-size: 1rem;
    }
     nav ul li a::after { /* Hide underline for mobile nav items */
        display:none;
    }
    .nav-container nav ul li:last-child a {
        border-bottom: none;
    }
    .mobile-nav-toggle {
        display: block;
        order: 3; /* Ensure toggle is on the right */
        margin-left: 1rem; /* Add space between phone and toggle */
    }
    .header-actions {
        order: 2; /* Actions before toggle */
    }
    .header-phone { 
      /* display: block; Removed as it causes issues with inline alignment */
      font-size: 0.9rem; /* Make phone number smaller to prevent wrapping */
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding-left: 1.5rem; /* Indent dropdown items */
        border-top: none;
        background-color: var(--light-background-color); 
    }
     .dropdown-content a {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    #about-snippet .about-snippet-content {
        flex-direction: column;
    }
    #about-snippet .about-image img {
        max-height: 350px;
    }

    .filters-container .form-group {
        min-width: calc(50% - 0.75rem); 
    }
    .hero h1 { font-size: 2rem; }
    .hero-slide .container p.hero-subheading { font-size: 1.1rem; }


    #make-appointment-cta.cta-section {
        padding: 2.5rem 0;
    }
}


@media (max-width: 768px) {
    body {
        padding-top: 68px; 
    }
    .logo { font-size: 1.6rem; }
    .header-phone {
        font-size: 0.85rem; /* Further adjust if needed */
    }
    .hero { min-height: 60vh; }
    .hero h1 { font-size: 1.8rem; } 
    .hero-slide .container p.hero-subheading { font-size: 1rem; }
    .hero-slide .container { padding-bottom: 70px; }
    .slider-dots-container { bottom: 30px; }
    .dot { width: 12px; height: 12px; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.3rem; }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }
    
    .filters-container .form-group {
        min-width: 100%; 
    }
    /* General service icon for services.html etc. */
    .service-card .service-icon { height: 150px; }
    /* Specific for Key Services on homepage */
    #services-highlight .service-icon {
        width: 80px;
        height: 80px;
        padding: 12px;
    }

    .reason-icon { height: 70px; width: 70px; }
    #make-appointment-cta.cta-section h2 { font-size: 1.8rem; }
    #make-appointment-cta.cta-section p { font-size: 1rem; }
    .coming-soon-actions .btn {
        min-width: 180px;
        padding: 0.65rem 1.2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px; 
        font-size: 0.95rem; 
    }
    .container { width: 95%; }
    .logo { font-size: 1.4rem; }
    
    .hero { min-height: 55vh; }
    .hero h1 { font-size: 1.5rem; }
    .hero-slide .container p.hero-subheading { font-size: 0.9rem; line-height: 1.4;}
    .hero-slide .container { padding-bottom: 60px; }
    .slider-dots-container { bottom: 20px; }
    .dot { width: 10px; height: 10px; gap: 10px; }

    .service-grid, .doctors-grid, .reasons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    /* General service icon for services.html etc. */
    .service-card .service-icon { height: 120px; }

    /* Specific for Key Services on homepage */
    #services-highlight .service-icon {
        width: 70px;
        height: 70px;
        padding: 10px;
    }

    .reason-icon { width: 60px; height: 60px; }

    .btn { padding: 0.65rem 1.3rem; font-size: 0.85rem; }
    .header-phone {
        font-size: 0.8rem; /* Smallest phone font size */
        margin-right: 0.25rem; /* Reduce margin if very tight */
    }
    .mobile-nav-toggle {
        margin-left: 0.5rem; /* Adjust space for very small screens */
    }
    
    .form-container, .doctor-channel-container {
        padding: 1.5rem;
    }
    .form-group input, .form-group select, .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    .doctor-table th, .doctor-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    #make-appointment-cta.cta-section h2 { font-size: 1.6rem; }
    .coming-soon-actions {
        flex-direction: column;
        align-items: center;
    }
    .coming-soon-actions .btn {
        width: 80%;
        max-width: 250px;
    }
}