/* =============================================================
   MEDICARE CLINIC — MASTER STYLESHEET
   Color Palette:
     Primary Teal:   #0d9488
     Teal Dark:      #0f766e
     Teal Light:     #14b8a6
     Teal Lighter:   #2dd4bf  /  #5eead4
     Navy Dark:      #0f1c2e
     Navy Mid:       #162744
     Navy Deepest:   #09111c
     Body Text:      #333
     Muted Text:     #64748b
     Subtle:         #94a3b8  /  #cbd5e1
     BG Light:       #f8fafc
     Border:         #e2e8f0
================================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ── TOP BAR ──────────────────────────────────────────────── */
.top-bar {
    background: #0d9488;
    color: #fff;
    padding: 0.8rem 5%;
    font-size: 0.9rem;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.top-bar-left a,
.top-bar-left span {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-left a:hover { color: #d1fae5; }

.top-bar-left i { margin-right: 0.5rem; }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.follow-text {
    color: #fff;
    font-weight: 500;
    margin-right: 0.5rem;
}

.top-social { display: flex; gap: 1rem; }

.top-social a {
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.top-social a:hover {
    color: #d1fae5;
    transform: translateY(-2px);
}

/* ── HEADER & NAVIGATION ──────────────────────────────────── */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: #0f1c2e;
    text-decoration: none;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: #0d9488;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0 auto;
}

.nav-links li { position: relative; }

.nav-links a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-links a:hover,
.nav-links a.active { color: #0d9488; }

.nav-links .dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.nav-links li:hover .dropdown-toggle i { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    color: #475569;
    font-size: 1rem;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background: #f1f5f9;
    color: #0d9488;
    padding-left: 2rem;
}

.dropdown-menu a i {
    font-size: 1.1rem;
    width: 20px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-icon { display: none; }

.btn-appointment {
    background: #0d9488;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-appointment:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13,148,136,0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #0f1c2e 0%, #162744 50%, #0d9488 100%);
    padding: 5rem 5%;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/></pattern></defs><rect width="1200" height="400" fill="url(%23grid)"/></svg>');
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.95rem;
    opacity: 0.8;
}

.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: #5eead4; }
.breadcrumb i { font-size: 0.7rem; }

/* ── SHARED SECTION UTILITIES ─────────────────────────────── */
.section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #0f1c2e;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #64748b;
    font-size: 1.1rem;
}

.section-title .title-line {
    width: 60px;
    height: 4px;
    background: #0d9488;
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* ── SHARED FILTER TABS ───────────────────────────────────── */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-tab {
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.filter-tab:hover,
.filter-tab.active {
    background: #0d9488;
    border-color: #0d9488;
    color: #fff;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
    background: #0f1c2e;
    color: #cbd5e1;
    padding: 0;
}

.footer-main { padding: 3rem 5% 1.5rem; }

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section h3 i { margin-right: 0.5rem; }

.footer-section p,
.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-section a:hover { color: #0d9488; }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #1e3a5f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    color: #cbd5e1;
    text-decoration: none;
}

.social-links a:hover {
    background: #0d9488;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 5%;
    border-top: 1px solid #1e3a5f;
    color: #94a3b8;
}

/* ── INDEX: HERO SLIDER ───────────────────────────────────── */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem 5%;
}

.hero-slide.active { opacity: 1; }
.hero-slide-1 { background: #0d9488; }
.hero-slide-2 { background: #14b8a6; }
.hero-slide-3 { background: #0f766e; }

.hero-content {
    max-width: 900px;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary { background: #fff; color: #0d9488; }
.btn-primary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover {
    background: #fff;
    color: #0d9488;
    transform: translateY(-2px);
}

.btn-emergency { background: #dc2626; color: #fff; }
.btn-emergency:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220,38,38,0.25);
}

/* Slider nav */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #fff;
    width: 40px;
    border-radius: 6px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-arrow:hover { background: rgba(255,255,255,0.4); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ── INDEX: QUICK INFO BAR ────────────────────────────────── */
.quick-info {
    background: #0f1c2e;
    color: white;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.info-item { display: flex; align-items: center; gap: 1rem; }

.info-icon { font-size: 2rem; color: #0d9488; }

.info-content h3 {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.3rem;
}

.info-content p { font-size: 1.2rem; font-weight: 600; }

/* ── INDEX: DEPARTMENTS ───────────────────────────────────── */
#departments { background: #f8fafc; }

.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.department-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    text-align: center;
    border: 2px solid transparent;
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(13,148,136,0.15);
    background: #0d9488;
    border-color: #0d9488;
}

.department-card:hover .department-icon { color: #fff; transform: scale(1.1); }
.department-card:hover h3,
.department-card:hover p { color: #fff; }

.department-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #0d9488;
    transition: all 0.4s ease;
}

.department-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #0f1c2e;
    transition: color 0.4s ease;
}

.department-card p {
    color: #64748b;
    line-height: 1.6;
    transition: color 0.4s ease;
}

/* ── INDEX: INTRO / ABOUT SECTION ────────────────────────── */
.intro-section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-image { position: relative; }

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.intro-image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: 0 10px 30px rgba(13,148,136,0.2);
}

.intro-text h2 { font-size: 2.5rem; color: #0f1c2e; margin-bottom: 1rem; }
.intro-text h3 { font-size: 1.3rem; color: #0d9488; margin-bottom: 1.5rem; font-weight: 600; }
.intro-text p  { color: #64748b; line-height: 1.8; margin-bottom: 1.5rem; font-size: 1.05rem; }

.intro-features { list-style: none; margin: 2rem 0; }

.intro-features li {
    padding: 0.8rem 0;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
}

.intro-features li i { color: #0d9488; font-size: 1.2rem; width: 24px; }

.intro-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #0d9488;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 1.5rem;
}

.intro-btn:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13,148,136,0.3);
}

/* ── INDEX: WHY CHOOSE ────────────────────────────────────── */
.why-choose-section {
    background: #0f1c2e;
    background-image:
        linear-gradient(rgba(15, 28, 46, 0.95), rgba(15, 28, 46, 0.95)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="1200" height="800" fill="url(%23grid)"/></svg>');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 5rem 5%;
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(13,148,136,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(20,184,166,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.why-choose-content { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }

.why-choose-header { text-align: center; margin-bottom: 4rem; }
.why-choose-header h2 { font-size: 2.5rem; color: #fff; margin-bottom: 1rem; }
.why-choose-header p  { color: #cbd5e1; font-size: 1.2rem; font-style: italic; }

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.why-choose-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.why-choose-card:hover {
    transform: translateY(-10px);
    background: rgba(13,148,136,0.1);
    border-color: rgba(13,148,136,0.3);
    box-shadow: 0 10px 30px rgba(13,148,136,0.2);
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
}

.why-choose-card:hover .why-choose-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(13,148,136,0.4);
}

.why-choose-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 1rem; }
.why-choose-card p  { color: #cbd5e1; line-height: 1.8; font-size: 1rem; }

/* ── INDEX: DOCTORS CAROUSEL ──────────────────────────────── */
#doctors { background: #fff; }

.doctors-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.doctor-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.doctor-image {
    width: 100%;
    height: 300px;
    background: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
}

.doctor-info { padding: 1.5rem; }

.doctor-info h3 { font-size: 1.5rem; color: #0f1c2e; margin-bottom: 0.5rem; }

.doctor-specialty { color: #0d9488; font-weight: 600; margin-bottom: 1rem; }

.doctor-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }

.stars { color: #fbbf24; font-size: 1.2rem; }

.doctor-info p { color: #64748b; font-size: 0.95rem; line-height: 1.6; }

/* ── INDEX: TESTIMONIALS ──────────────────────────────────── */
.testimonials { background: #f8fafc; }

.testimonials-slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide { min-width: 50%; padding: 0 1rem; }

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    height: 100%;
}

.quote-icon {
    font-size: 3rem;
    color: #0d9488;
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.patient-info { display: flex; align-items: center; gap: 1rem; }

.patient-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.patient-details h4 { color: #0f1c2e; margin-bottom: 0.2rem; }
.patient-details p  { color: #64748b; font-size: 0.9rem; }

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-arrow {
    background: #0d9488;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-arrow:hover { background: #0f766e; transform: scale(1.1); }
.testimonial-arrow:disabled { background: #cbd5e1; cursor: not-allowed; transform: scale(1); }

.testimonial-dots { display: flex; gap: 0.8rem; }

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-dot.active {
    background: #0d9488;
    width: 30px;
    border-radius: 5px;
}

/* ── INDEX: FACILITIES / GALLERY ──────────────────────────── */
.facilities-section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
}

.facilities-header { text-align: center; margin-bottom: 3rem; }
.facilities-header h2 { font-size: 2.5rem; color: #0f1c2e; margin-bottom: 0.5rem; }
.facilities-header p  { color: #64748b; font-size: 1.1rem; }

.virtual-tour-box {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(13,148,136,0.2);
}

.virtual-tour-box h3 { color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }
.virtual-tour-box p  { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }

.tour-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #fff;
    color: #0d9488;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.tour-button:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.facility-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 250px;
}

.facility-card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

.facility-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    transition: transform 0.3s;
}

.facility-card:hover .facility-image { transform: scale(1.05); }

.facility-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
    color: white;
}

.facility-overlay h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.facility-overlay p  { font-size: 0.9rem; opacity: 0.9; }

.view-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9);
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0d9488;
    opacity: 0;
    transition: all 0.3s;
}

.facility-card:hover .view-icon { opacity: 1; }

/* ── INDEX: LIGHTBOX (shared with gallery page) ───────────── */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.lightbox-image {
    width: 100%; height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-placeholder {
    width: 800px; height: 600px;
    max-width: 90vw; max-height: 80vh;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
}

.lightbox-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem;
    color: white;
}

.lightbox-info h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

.lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }

.lightbox-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* ── INDEX: APPOINTMENT CTA ───────────────────────────────── */
.appointment-cta-section {
    position: relative;
    padding: 8rem 5%;
    background-image:
        linear-gradient(rgba(13,148,136,0.9), rgba(15,118,110,0.85)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23e0f2f1" width="1200" height="600"/><circle cx="200" cy="150" r="80" fill="%23b2dfdb" opacity="0.3"/><circle cx="800" cy="400" r="120" fill="%2380cbc4" opacity="0.3"/><circle cx="1000" cy="200" r="60" fill="%2326a69a" opacity="0.3"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    overflow: hidden;
}

.appointment-cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent, transparent 10px,
        rgba(255,255,255,0.03) 10px,
        rgba(255,255,255,0.03) 20px
    );
    pointer-events: none;
}

.appointment-cta-content { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.appointment-cta-content h2 {
    font-size: 3rem; color: #fff;
    margin-bottom: 1.5rem; font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.appointment-cta-content p {
    font-size: 1.4rem; color: #fff;
    margin-bottom: 3rem; line-height: 1.8; opacity: 0.95;
}

.cta-big-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    color: #0d9488;
    padding: 1.5rem 4rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 3px solid transparent;
}

.cta-big-button:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.cta-big-button i { font-size: 1.5rem; }

/* ── INDEX: CONTACT & MAP SECTION (footer area) ───────────── */
.contact-map-section {
    background: #09111c;
    padding: 4rem 5%;
    border-bottom: 1px solid #334155;
}

.contact-map-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper h3 { color: #fff; font-size: 1.8rem; margin-bottom: 1rem; }
.contact-form-wrapper p  { color: #cbd5e1; margin-bottom: 2rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }

.form-group { display: flex; flex-direction: column; }

.form-group label { color: #cbd5e1; margin-bottom: 0.5rem; font-weight: 500; }

.form-group input,
.form-group textarea {
    padding: 0.9rem 1.2rem;
    border: 1px solid #334155;
    background: #0f1c2e;
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d9488;
    background: #09111c;
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.quick-action-buttons { display: flex; gap: 1rem; margin-bottom: 1.5rem; }

.quick-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.quick-btn.call { background: #0d9488; color: #fff; }
.quick-btn.call:hover {
    background: #0f766e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13,148,136,0.3);
}

.quick-btn.whatsapp { background: #25d366; color: #fff; }
.quick-btn.whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}

.submit-btn {
    background: #0d9488;
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
}

.submit-btn:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13,148,136,0.3);
}

.map-wrapper h3 { color: #fff; font-size: 1.8rem; margin-bottom: 1rem; }

.map-container {
    border-radius: 15px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 1px solid #334155;
}

.map-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #0f1c2e 0%, #09111c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    color: #cbd5e1;
}

.map-placeholder i    { font-size: 4rem; color: #0d9488; }
.map-placeholder p    { font-size: 1.1rem; }
.map-placeholder span { font-size: 0.95rem; color: #94a3b8; }
.map-placeholder a    { color: #5eead4; font-size: 0.95rem; text-decoration: none; }

.map-iframe { width: 100%; height: 100%; border: none; }

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.mv-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-top: 4px solid #0d9488;
    transition: transform 0.3s;
}

.mv-card:hover { transform: translateY(-8px); }
.mv-card:nth-child(2) { border-top-color: #14b8a6; }
.mv-card:nth-child(3) { border-top-color: #0f766e; }

.mv-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.mv-card h3 { font-size: 1.5rem; color: #0f1c2e; margin-bottom: 1rem; }
.mv-card p  { color: #64748b; line-height: 1.8; }

.story-section { background: #f8fafc; padding: 5rem 5%; }

.story-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-image { position: relative; }

.story-placeholder {
    width: 100%; height: 520px;
    background: linear-gradient(135deg, #0f1c2e 0%, #0d9488 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(255,255,255,0.5);
    box-shadow: 0 20px 60px rgba(13,148,136,0.2);
}

.story-badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: #0d9488;
    color: white;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(13,148,136,0.3);
}

.story-badge .num { font-size: 3rem; font-weight: 800; line-height: 1; }
.story-badge span  { font-size: 0.9rem; opacity: 0.9; }

.story-text h2 { font-size: 2.5rem; color: #0f1c2e; margin-bottom: 1rem; line-height: 1.2; }
.story-text h3 { color: #0d9488; font-weight: 600; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; font-size: 0.95rem; }
.story-text p  { color: #64748b; line-height: 1.8; margin-bottom: 1.2rem; font-size: 1.05rem; }

.story-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.stat-box .stat-num   { font-size: 2rem; font-weight: 800; color: #0d9488; }
.stat-box .stat-label { color: #64748b; font-size: 0.9rem; margin-top: 0.3rem; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.value-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    border-left-color: #0d9488;
    box-shadow: 0 8px 25px rgba(13,148,136,0.12);
}

.value-icon { font-size: 2.5rem; color: #0d9488; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.3rem; color: #0f1c2e; margin-bottom: 0.8rem; }
.value-card p  { color: #64748b; line-height: 1.7; }

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.leader-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.leader-card:hover { transform: translateY(-8px); }

.leader-photo {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
}

.leader-photo.bg1 { background: linear-gradient(135deg, #0f1c2e, #0d9488); }
.leader-photo.bg2 { background: linear-gradient(135deg, #162744, #14b8a6); }
.leader-photo.bg3 { background: linear-gradient(135deg, #0f766e, #2dd4bf); }

.leader-info { padding: 1.5rem; }
.leader-info h3 { font-size: 1.3rem; color: #0f1c2e; margin-bottom: 0.3rem; }
.leader-role { color: #0d9488; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.8rem; }
.leader-info p { color: #64748b; font-size: 0.95rem; line-height: 1.6; }

.accred-section { background: #0f1c2e; padding: 4rem 5%; }
.accred-inner { max-width: 1400px; margin: 0 auto; text-align: center; }
.accred-inner h2 { color: white; font-size: 2rem; margin-bottom: 0.5rem; }
.accred-inner p  { color: #94a3b8; margin-bottom: 3rem; }

.accred-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.accred-badge {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: center;
    min-width: 160px;
    transition: all 0.3s;
}

.accred-badge:hover {
    background: rgba(13,148,136,0.1);
    border-color: rgba(13,148,136,0.4);
}

.accred-badge i    { font-size: 2.5rem; color: #0d9488; margin-bottom: 0.8rem; display: block; }
.accred-badge span { color: #cbd5e1; font-size: 0.95rem; font-weight: 500; }

/* ── SERVICES PAGE ────────────────────────────────────────── */
.highlights-banner { background: #0f1c2e; padding: 4rem 5%; }

.highlights-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.highlight-item { color: white; }
.highlight-num   { font-size: 3rem; font-weight: 800; color: #5eead4; line-height: 1; }
.highlight-label { color: #94a3b8; margin-top: 0.5rem; font-size: 0.95rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(13,148,136,0.15);
}

.service-header {
    padding: 2rem;
    background: linear-gradient(135deg, #0f1c2e, #162744);
    color: white;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.service-icon-wrap {
    width: 70px; height: 70px;
    background: rgba(13,148,136,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #5eead4;
    flex-shrink: 0;
}

.service-header h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.service-header span { font-size: 0.9rem; opacity: 0.7; }

.service-body { padding: 1.5rem 2rem; }
.service-body p { color: #64748b; line-height: 1.7; margin-bottom: 1.5rem; }

.service-features { list-style: none; }
.service-features li {
    padding: 0.4rem 0;
    color: #475569;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.service-features li i { color: #0d9488; font-size: 0.8rem; }

.service-footer {
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-link {
    color: #0d9488;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.service-link:hover { gap: 0.8rem; }

.service-badge {
    background: #f0fdf4;
    color: #16a34a;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.process-section { background: #f8fafc; padding: 5rem 5%; }
.process-inner { max-width: 1400px; margin: 0 auto; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step { text-align: center; position: relative; }
.process-step::after {
    content: '→';
    position: absolute;
    right: -1.5rem;
    top: 2rem;
    font-size: 1.5rem;
    color: #0d9488;
    opacity: 0.5;
}
.process-step:last-child::after { display: none; }

.step-num {
    width: 60px; height: 60px;
    background: #0d9488;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.2rem;
}

.process-step h3 { font-size: 1.1rem; color: #0f1c2e; margin-bottom: 0.5rem; }
.process-step p  { color: #64748b; font-size: 0.95rem; }

/* ── DOCTORS PAGE ─────────────────────────────────────────── */
.search-filter { background: #f8fafc; padding: 2.5rem 5%; }

.search-filter-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-box { flex: 1; min-width: 260px; position: relative; }
.search-box i { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); color: #94a3b8; }

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    background: #fff;
}

.search-box input:focus { border-color: #0d9488; }

.filter-select {
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 1rem;
    color: #475569;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
}

.filter-select:focus { border-color: #0d9488; }

.doctors-section { padding: 4rem 5%; max-width: 1400px; margin: 0 auto; }

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.doctor-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(13,148,136,0.12);
}

.doctor-photo {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.8);
    position: relative;
}

.doctor-photo.c1 { background: linear-gradient(145deg, #0f1c2e, #0d9488); }
.doctor-photo.c2 { background: linear-gradient(145deg, #162744, #14b8a6); }
.doctor-photo.c3 { background: linear-gradient(145deg, #0f766e, #2dd4bf); }
.doctor-photo.c4 { background: linear-gradient(145deg, #1a3a6b, #0d9488); }
.doctor-photo.c5 { background: linear-gradient(145deg, #0c1f3b, #16a0a0); }
.doctor-photo.c6 { background: linear-gradient(145deg, #0f1c2e, #1d7a7a); }

.avail-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: #16a34a;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.avail-badge.busy { background: #d97706; }

.doctor-info { padding: 1.5rem; }
.doctor-info h3 { font-size: 1.3rem; color: #0f1c2e; margin-bottom: 0.3rem; }

.doctor-specialty {
    color: #0d9488;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doctor-meta { display: flex; gap: 1.5rem; margin-bottom: 1rem; }

.meta-item { font-size: 0.85rem; color: #64748b; display: flex; align-items: center; gap: 0.4rem; }

.doctor-bio { color: #64748b; font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.2rem; }

.doctor-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }

.doctor-tag {
    background: #f0fdf9;
    color: #0d9488;
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    border: 1px solid #ccfbf1;
}

.doctor-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.rating-text { color: #64748b; font-size: 0.85rem; }

.doctor-actions { display: flex; gap: 1rem; }

.btn-profile {
    flex: 1;
    padding: 0.7rem;
    border-radius: 8px;
    border: 2px solid #0d9488;
    background: transparent;
    color: #0d9488;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-profile:hover { background: #0d9488; color: #fff; }

.btn-book {
    flex: 1;
    padding: 0.7rem;
    border-radius: 8px;
    border: none;
    background: #0d9488;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-book:hover { background: #0f766e; }

.results-count { color: #64748b; font-size: 0.95rem; margin-bottom: 2rem; }

.doc-cta {
    background: linear-gradient(135deg, #0f1c2e, #0d9488);
    padding: 4rem 5%;
    text-align: center;
    color: white;
}

.doc-cta h2 { font-size: 2rem; margin-bottom: 1rem; }
.doc-cta p  { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; }

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #fff;
    color: #0d9488;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

/* ── GALLERY PAGE ─────────────────────────────────────────── */
.gallery-filter { padding: 3rem 5% 0; max-width: 1400px; margin: 0 auto; }

.gallery-section { padding: 3rem 5% 5rem; max-width: 1400px; margin: 0 auto; }

.gallery-grid { columns: 3; column-gap: 1.5rem; }

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-img-placeholder { transform: scale(1.05); }

.gallery-img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
    border-radius: 12px;
}

.gallery-img-placeholder {
    width: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.gallery-img-placeholder i { font-size: 3.5rem; color: rgba(255,255,255,0.6); }

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13,148,136,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 12px;
}

.gallery-overlay i { font-size: 2rem; color: white; }

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem 1rem 1rem;
    color: white;
}

.gallery-caption h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.gallery-caption span { font-size: 0.8rem; opacity: 0.8; }

/* Gallery page lightbox (slightly different structure) */
.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

.lightbox-media {
    width: 700px;
    max-width: 90vw;
    height: 520px;
    max-height: 80vh;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-media i { font-size: 7rem; color: rgba(255,255,255,0.5); }

.lb-close {
    position: absolute;
    top: -50px; right: 0;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 45px; height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
}

.lb-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }

.lb-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s;
}

.lb-nav:hover { background: rgba(255,255,255,0.3); }
.lb-nav.prev { left: -70px; }
.lb-nav.next { right: -70px; }

.video-section { background: #f8fafc; padding: 5rem 5%; }
.video-inner { max-width: 1400px; margin: 0 auto; }

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.3s;
}

.video-card:hover { transform: translateY(-5px); }

.video-thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.video-thumb.v1 { background: linear-gradient(135deg, #0f1c2e, #0d9488); }
.video-thumb.v2 { background: linear-gradient(135deg, #162744, #14b8a6); }
.video-thumb.v3 { background: linear-gradient(135deg, #0f766e, #2dd4bf); }

.video-thumb i { color: rgba(255,255,255,0.5); }

.play-btn {
    position: absolute;
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0d9488;
    transition: transform 0.3s;
}

.video-card:hover .play-btn { transform: scale(1.1); }

.video-info { padding: 1.2rem; }
.video-info h4  { color: #0f1c2e; font-size: 1rem; margin-bottom: 0.3rem; }
.video-info span { color: #64748b; font-size: 0.85rem; }

/* ── CONTACT PAGE ─────────────────────────────────────────── */
.quick-cards { background: #0f1c2e; padding: 3rem 5%; }

.quick-cards-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.qcard {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 1.8rem;
    text-align: center;
    transition: all 0.3s;
}

.qcard:hover {
    background: rgba(13,148,136,0.1);
    border-color: rgba(13,148,136,0.4);
    transform: translateY(-5px);
}

.qcard-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
}

.qcard h3 { color: white; font-size: 1rem; margin-bottom: 0.5rem; }
.qcard p  { color: #94a3b8; font-size: 0.9rem; }
.qcard a  { color: #5eead4; text-decoration: none; font-weight: 600; }
.qcard a:hover { color: #2dd4bf; }

.contact-main { padding: 5rem 5%; }

.contact-main-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 { font-size: 2.2rem; color: #0f1c2e; margin-bottom: 1rem; }
.contact-info p  { color: #64748b; line-height: 1.8; margin-bottom: 2rem; }

.info-block { display: flex; gap: 1.2rem; margin-bottom: 1.8rem; align-items: flex-start; }

.info-icon {
    width: 52px; height: 52px;
    background: #f0fdf9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #0d9488;
    flex-shrink: 0;
}

.info-details h4 { color: #0f1c2e; font-size: 1rem; margin-bottom: 0.3rem; }
.info-details p,
.info-details a  { color: #64748b; font-size: 0.95rem; text-decoration: none; line-height: 1.6; }
.info-details a:hover { color: #0d9488; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.hours-table th { text-align: left; padding: 0.5rem 0; color: #0f1c2e; font-size: 0.9rem; border-bottom: 2px solid #e2e8f0; }
.hours-table td { padding: 0.6rem 0; color: #64748b; font-size: 0.9rem; border-bottom: 1px solid #f1f5f9; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.open td { color: #0d9488; }

.contact-form-box {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
}

.contact-form-box h3 { font-size: 1.8rem; color: #0f1c2e; margin-bottom: 0.5rem; }
.contact-form-box p  { color: #64748b; margin-bottom: 2rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group { display: flex; flex-direction: column; margin-bottom: 1.2rem; }

.form-group label { color: #475569; font-size: 0.9rem; font-weight: 500; margin-bottom: 0.5rem; }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
    color: #333;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0d9488;
    background: #fff;
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }

.quick-actions { display: flex; gap: 1rem; margin-bottom: 1.5rem; }

.qa-btn {
    flex: 1;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: none;
}

.qa-btn.call { background: #0d9488; color: #fff; }
.qa-btn.call:hover { background: #0f766e; transform: translateY(-2px); }

.qa-btn.wa { background: #25d366; color: #fff; }
.qa-btn.wa:hover { background: #20ba5a; transform: translateY(-2px); }

.map-section { background: #f8fafc; padding: 5rem 5%; }
.map-inner { max-width: 1400px; margin: 0 auto; }

.faq-section { padding: 5rem 5%; max-width: 1400px; margin: 0 auto; }

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.faq-q {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    color: #0f1c2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-q:hover { background: #f8fafc; }
.faq-q i { color: #0d9488; transition: transform 0.3s; }

.faq-a {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-a.open { padding: 1rem 1.5rem; max-height: 300px; }
.faq-item.open .faq-q i { transform: rotate(180deg); }

.success-msg {
    display: none;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    color: #16a34a;
    font-weight: 500;
    margin-bottom: 1rem;
    align-items: center;
    gap: 0.8rem;
}

.success-msg.show { display: flex; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .why-choose-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 968px) {
    /* About */
    .mv-grid, .story-inner { grid-template-columns: 1fr; }
    .story-badge { bottom: 10px; right: 10px; }
    .story-placeholder { height: 350px; }

    /* Index */
    .intro-content { grid-template-columns: 1fr; gap: 2rem; }
    .intro-image-placeholder, .intro-image img { height: 350px; }
    .departments-grid { grid-template-columns: repeat(2, 1fr); }

    /* Testimonials */
    .testimonial-slide { min-width: 100%; }

    /* Contact */
    .contact-map-container { grid-template-columns: 1fr; gap: 2rem; }
    .quick-action-buttons { flex-direction: column; }
    .map-container { height: 350px; }
    .contact-main-inner, .faq-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    /* Doctors */
    .search-filter-inner { flex-direction: column; }

    /* Gallery */
    .gallery-grid { columns: 2; }
    .lb-nav.prev { left: -50px; }
    .lb-nav.next { right: -50px; }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }
    .nav-right { display: none; }
    .menu-toggle { display: flex; }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        background: #f8fafc;
        margin-top: 0.5rem;
        margin-left: 1rem;
        display: none;
    }
    .nav-links li:hover .dropdown-menu,
    .nav-links li.active .dropdown-menu { display: block; }
    .dropdown-menu a { padding: 0.6rem 1rem; }

    /* Top bar */
    .top-bar-content { justify-content: center; text-align: center; }
    .top-bar-left { flex-direction: column; gap: 0.5rem; }
    .top-bar-right { flex-direction: column; gap: 0.5rem; }

    /* Page hero */
    .page-hero h1 { font-size: 2rem; }
    .page-hero p  { font-size: 1.1rem; }

    /* Hero slider */
    .hero-slider { height: 500px; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p  { font-size: 1.2rem; }
    .slider-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }

    /* Quick info */
    .quick-info { flex-direction: column; text-align: center; }
    .info-item { flex-direction: column; }

    /* CTA */
    .cta-buttons { flex-direction: column; }
    .btn { width: 100%; }

    /* Departments + doctors */
    .departments-grid, .doctors-carousel { grid-template-columns: 1fr; }
    .doctors-grid { grid-template-columns: 1fr; }

    /* Intro */
    .intro-text h2 { font-size: 2rem; }

    /* Why choose */
    .why-choose-grid { grid-template-columns: 1fr; }
    .why-choose-header h2 { font-size: 2rem; }
    .why-choose-section { background-attachment: scroll; }

    /* Facilities */
    .facilities-header h2 { font-size: 2rem; }
    .facilities-grid { grid-template-columns: 1fr; }
    .facility-card { height: 200px; }

    /* Lightbox (index) */
    .lightbox-placeholder { width: 100%; height: 400px; font-size: 4rem; }
    .lightbox-nav, .lightbox-close { width: 40px; height: 40px; font-size: 1.2rem; }
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
    .lightbox-info { padding: 1rem; }
    .lightbox-info h3 { font-size: 1.2rem; }

    /* Gallery lightbox */
    .lb-nav { display: none; }
    .gallery-grid { columns: 1; }

    /* Appointment CTA */
    .appointment-cta-section { padding: 5rem 5%; background-attachment: scroll; }
    .appointment-cta-content h2 { font-size: 2rem; }
    .appointment-cta-content p  { font-size: 1.1rem; }
    .cta-big-button { padding: 1.2rem 3rem; font-size: 1.1rem; width: 100%; justify-content: center; }

    /* Contact */
    .quick-actions { flex-direction: column; }

    /* Services */
    .process-step::after { display: none; }
}

@media (max-width: 640px) {
    .why-choose-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-slider { height: 450px; }
    .hero-content h1 { font-size: 2rem; }
    .section-title h2 { font-size: 2rem; }
    nav { padding: 1rem 3%; }
    .section { padding: 3rem 3%; }
    .testimonial-card { padding: 1.5rem; }
}
