* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #FBF8F3;
    color: #3B2E27;
}
a { text-decoration: none; color: inherit; }

.site-header {
    background: #0B2A5B;
    color: #FFFFFF;
    padding: 0 24px;
}
.top-contact-bar { border-bottom: 1px solid rgba(255, 255, 255, 0.12); margin: 0 -24px; padding: 0 24px; background: #081F45; }
.top-contact-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 20px; padding: 6px 0; font-size: 13px; }
.top-contact-inner a { color: #CFE6FF; }
.top-contact-inner a:hover { color: #FFFFFF; }
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 28px; }
.logo-img { width: 50px; height: 50px; display: block; }
.logo-title { font-size: 22px; font-weight: 700; color: #FFFFFF; letter-spacing: 1px; }
.logo-sub { font-size: 12px; color: #BFDBFE; }

.main-nav a { margin-left: 18px; font-size: 14px; padding: 8px 4px; color: #FFFFFF; }
.main-nav a:hover { color: #8FD3FF; }
.nav-cta {
    background: #8FD3FF;
    color: #0B2A5B !important;
    padding: 8px 16px !important;
    border-radius: 20px;
    font-weight: 600;
}

.page-content { max-width: 1100px; margin: 0 auto; padding: 32px 24px 60px; min-height: 60vh; }

.hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #F5E6C8, #FBF8F3);
    border-radius: 12px;
    margin-bottom: 32px;
}
.hero h1 { font-size: 32px; margin-bottom: 12px; color: #2E2019; }
.hero p { max-width: 600px; margin: 0 auto 20px; color: #5A4B3E; }

.btn-primary, .btn-secondary, .btn-small {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}
.btn-primary { background: #C0392B; color: #fff; }
.btn-secondary { background: transparent; border: 2px solid #C0392B; color: #C0392B; margin-top: 12px; }
.btn-small { background: #E4B95B; color: #2E2019; padding: 6px 14px; font-size: 12px; }
.btn-danger { background: #C0392B; color: #fff; }

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
.highlight-card { background: #fff; border: 1px solid #EEE1CC; border-radius: 10px; padding: 18px; }
.highlight-card h3 { margin: 0 0 8px; color: #C0392B; }

.services-teaser { text-align: center; }
.service-chip {
    display: inline-block;
    background: #F5E6C8;
    color: #2E2019;
    padding: 6px 14px;
    border-radius: 16px;
    margin: 4px;
    font-size: 13px;
}

.service-card {
    background: #fff;
    border: 1px solid #EEE1CC;
    border-radius: 12px;
    padding: 22px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(46, 32, 25, 0.12); }
.service-icon { font-size: 26px; margin-bottom: 10px; }
.service-card-header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.service-card-header h3 { margin: 0; font-size: 17px; }
.service-category { font-size: 11px; color: #A08A6F; text-transform: uppercase; white-space: nowrap; }
.service-desc { color: #5A4B3E; font-size: 14px; min-height: 40px; }
.service-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.service-price { font-weight: 700; color: #C0392B; }

.doctor-card {
    background: #fff;
    border: 1px solid #EEE1CC;
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
}
.doctor-avatar-lg { font-size: 44px; margin-bottom: 12px; }
.doctor-qual { color: #A08A6F; font-size: 13px; margin: 2px 0; }
.doctor-spec { font-weight: 600; margin: 2px 0 10px; color: #C0392B; }
.doctor-bio { color: #5A4B3E; font-size: 14px; }

.booking-form, .contact-form { max-width: 500px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 14px; }
.form-control { width: 100%; padding: 9px 10px; border: 1px solid #D8C7A8; border-radius: 6px; font-size: 14px; }
.field-error { color: #C0392B; font-size: 12px; display: block; margin-top: 4px; }
.form-message { display: block; margin-top: 16px; font-weight: 600; }
.form-message.success { color: #1E7B34; }
.form-message.error { color: #C0392B; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 700px) {
    .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-card, .contact-form-card {
    background: #fff;
    border: 1px solid #EEE1CC;
    border-radius: 14px;
    padding: 28px;
}
.contact-info-card h3, .contact-form-card h3 { margin: 0 0 18px; color: #2E2019; }
.contact-line { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.contact-icon { font-size: 18px; line-height: 1.4; }
.contact-line p { margin: 0; color: #5A4B3E; font-size: 14px; }
.contact-line a { color: #1565C0; font-weight: 600; }
.map-placeholder {
    margin-top: 20px;
    height: 160px;
    border-radius: 10px;
    border: 1px dashed #D8C7A8;
    background: #FBF3E2;
    color: #A08A6F;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
}

.admin-grid { width: 100%; border-collapse: collapse; }
.admin-grid th, .admin-grid td { border: 1px solid #EEE1CC; padding: 8px; font-size: 13px; text-align: left; }
.admin-note { background: #FDEBD0; padding: 10px 14px; border-radius: 6px; font-size: 13px; }

.site-footer { text-align: center; padding: 20px; background: #2E2019; color: #C9B79C; font-size: 13px; }
.site-footer a { color: #F5E6C8; }
.site-footer a:hover { text-decoration: underline; }
.developed-by { margin-top: 6px; font-size: 12px; color: #E4B95B; }

/* ===================== HOME PAGE: HERO SLIDER ===================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 440px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: 0 10px 30px rgba(46, 32, 25, 0.18);
}
.hero-slide {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
}
.hero-slide.active { display: block; opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 50px 36px 28px;
    background: linear-gradient(to top, rgba(20, 14, 10, 0.85), rgba(20, 14, 10, 0.15) 70%, transparent);
    color: #fff;
}
.hero-slide-caption h2 { margin: 0 0 8px; font-size: 30px; }
.hero-slide-caption p { margin: 0 0 16px; max-width: 560px; color: #EFE4D2; }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 14, 10, 0.4);
    color: #fff;
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 3;
    cursor: pointer;
    transition: background 0.2s;
}
.slider-arrow:hover { background: rgba(20, 14, 10, 0.7); }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

.slider-dots {
    position: absolute;
    bottom: 16px; right: 24px;
    z-index: 3;
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s;
}
.hero-dot.active { background: #E4B95B; }

@media (max-width: 700px) {
    .hero-slider { height: 320px; }
    .hero-slide-caption h2 { font-size: 20px; }
    .hero-slide-caption p { font-size: 13px; }
}

/* ===================== HOME PAGE: SHARED SECTION STYLES ===================== */
.section-title { text-align: center; font-size: 26px; color: #2E2019; margin-bottom: 6px; }
.section-subtitle { text-align: center; color: #7A6A57; margin: 0 auto 28px; max-width: 560px; }

/* Welcome / intro */
.welcome-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 56px;
}
.eyebrow {
    display: inline-block;
    color: #C0392B;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.welcome-text h2 { font-size: 26px; margin: 0 0 14px; color: #2E2019; }
.welcome-text p { color: #5A4B3E; margin-bottom: 18px; }
.welcome-image img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(46, 32, 25, 0.15);
}
@media (max-width: 800px) {
    .welcome-section { grid-template-columns: 1fr; }
    .welcome-image { order: -1; }
}

/* Why choose us */
.features-section { margin-bottom: 56px; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.feature-card {
    background: #fff;
    border: 1px solid #EEE1CC;
    border-radius: 12px;
    padding: 26px 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 22px rgba(46, 32, 25, 0.1); }
.feature-icon {
    width: 56px; height: 56px;
    line-height: 56px;
    border-radius: 50%;
    background: #F5E6C8;
    font-size: 26px;
    margin: 0 auto 14px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 16px; color: #2E2019; }
.feature-card p { margin: 0; color: #7A6A57; font-size: 14px; }

/* Services teaser */
.services-teaser { text-align: center; margin-bottom: 56px; }
.chip-row { margin-bottom: 18px; }

/* Doctors preview */
.doctors-preview-section { text-align: center; margin-bottom: 56px; }
.doctors-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 700px;
    margin: 0 auto 22px;
}
.doctor-preview-card {
    background: #fff;
    border: 1px solid #EEE1CC;
    border-radius: 12px;
    padding: 24px 18px;
}
.doctor-avatar { font-size: 34px; margin-bottom: 10px; }
.doctor-preview-card h3 { margin: 0 0 4px; color: #2E2019; }

/* CTA banner */
.cta-banner {
    text-align: center;
    background: linear-gradient(135deg, #2E2019, #4A342A);
    color: #F5E6C8;
    border-radius: 14px;
    padding: 48px 24px;
    margin-bottom: 24px;
}
.cta-banner h2 { margin: 0 0 10px; font-size: 26px; color: #fff; }
.cta-banner p { margin: 0 0 22px; color: #E4D6BC; }
.cta-banner p.cta-contact { margin: 18px 0 0; font-size: 14px; }
.cta-banner .cta-contact a { color: #FFFFFF; font-weight: 600; }
.btn-large { padding: 13px 30px; font-size: 15px; }

/* ===================== INNER PAGE HERO BANNER (Services / About / Contact) ===================== */
.page-hero {
    position: relative;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 26px rgba(46, 32, 25, 0.16);
}
.page-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(46, 32, 25, 0.78), rgba(46, 32, 25, 0.42));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}
.page-hero-overlay h1 { margin: 0 0 8px; font-size: 32px; }
.page-hero-overlay p { margin: 0; color: #EFE4D2; }
@media (max-width: 700px) {
    .page-hero { height: 160px; }
    .page-hero-overlay h1 { font-size: 22px; }
}

/* ===================== SERVICES PAGE ===================== */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}
.cat-tab {
    padding: 8px 16px;
    border-radius: 18px;
    border: 1px solid #E4B95B;
    color: #2E2019;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}
.cat-tab:hover { background: #F5E6C8; }
.cat-tab.active { background: #2E2019; border-color: #2E2019; color: #E4B95B; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

/* ===================== ABOUT PAGE ===================== */
.doctors-section { margin-bottom: 56px; }
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
}

.facility-gallery { margin-bottom: 56px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    box-shadow: 0 8px 18px rgba(46, 32, 25, 0.12);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item span {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(20, 14, 10, 0.8), transparent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 26px 14px 10px;
}

/* ===================== HEADER: SMALL SCREENS ===================== */
.nav-cta { white-space: nowrap; }
@media (max-width: 700px) {
    .top-contact-inner { justify-content: center; gap: 12px; }
    .main-nav { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; }
    .main-nav a { margin-left: 0; }
}

/* ===================== PHOTO FOCUS & MAP ===================== */
.img-exterior { object-position: center 62% !important; }
.img-door { object-position: left center !important; }
.map-embed { margin-top: 20px; height: 240px; border-radius: 10px; overflow: hidden; border: 1px solid #D8C7A8; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: #1565C0; }
.hero-slide .img-exterior { object-position: center 100% !important; }
.facility-gallery .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
