/* ============================================================
   Windhoek Central Adventist Dental Clinic – Main Stylesheet
   Palette: Navy #0B2545 | Teal #1B7FA8 | Mint #4DBFA8 | Gold #C8922A | Cream #F5F2ED
   ============================================================ */

/* ── Root Variables ── */
:root {
    --navy:  #0B2545;
    --teal:  #1B7FA8;
    --mint:  #4DBFA8;
    --gold:  #C8922A;
    --cream: #F5F2ED;
    --light: #E8F4F8;
    --text:  #1a2535;
    --muted: #6b7a8d;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, .display-font {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ── Top Bar ── */
.topbar a { text-decoration: none; }

/* ── Navigation ── */
.nav-main {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27,127,168,0.12);
    transition: box-shadow 0.3s ease;
    padding: 10px 0;
}
.nav-main.scrolled {
    box-shadow: 0 4px 30px rgba(11,37,69,0.12);
}
.nav-pill {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--navy) !important;
    padding: 6px 14px !important;
    border-radius: 50px;
    transition: all 0.25s;
    letter-spacing: 0.01em;
}
.nav-pill:hover, .nav-pill.active {
    background: var(--light) !important;
    color: var(--teal) !important;
}
.btn-book {
    background: linear-gradient(135deg, var(--teal), var(--mint));
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 9px 22px !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(27,127,168,0.35);
}
.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27,127,168,0.5);
    background: linear-gradient(135deg, #196e93, #3aad97);
}

/* ── Hero Section ── */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, var(--navy) 0%, #0d3060 45%, #1B7FA8 100%);
    z-index: 0;
}
.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(77,191,168,0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(77,191,168,0.18);
    border: 1px solid rgba(77,191,168,0.4);
    color: var(--mint);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    color: #fff;
    line-height: 1.15;
    font-weight: 700;
}
.hero h1 .accent { color: var(--mint); }
.hero-sub {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 520px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn-primary-hero {
    background: linear-gradient(135deg, var(--mint), #3aad97);
    color: var(--navy);
    font-weight: 700;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 6px 24px rgba(77,191,168,0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(77,191,168,0.55);
    color: var(--navy);
}
.btn-outline-hero {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline-hero:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.stat-item .number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--mint);
    line-height: 1;
}
.stat-item .label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

/* Hero Visual Card */
.hero-visual {
    position: relative;
}
.hero-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 36px;
    color: #fff;
}
.hero-card .quick-book-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 4px;
}
.hero-card .quick-book-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}
.hero-form-group { margin-bottom: 14px; }
.hero-form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mint);
    margin-bottom: 5px;
    display: block;
}
.hero-form-group select,
.hero-form-group input {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: border-color 0.25s;
}
.hero-form-group select:focus,
.hero-form-group input:focus {
    outline: none;
    border-color: var(--mint);
    background: rgba(255,255,255,0.15);
}
.hero-form-group select option { color: var(--navy); background: #fff; }
.btn-quick-book {
    width: 100%;
    background: linear-gradient(135deg, var(--mint), #3aad97);
    color: var(--navy);
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 4px;
}
.btn-quick-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77,191,168,0.5);
}

/* Floating badge on hero card */
.floating-badge {
    position: absolute;
    background: var(--gold);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: floatBadge 3s ease-in-out infinite;
}
.badge-top { top: -16px; right: 20px; }
.badge-bottom { bottom: -16px; left: 20px; animation-delay: 1.5s; }
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── Section Shared ── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    margin-bottom: 10px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 16px;
}
.section-body {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}
.divider-mint {
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--mint));
    border-radius: 3px;
    margin: 14px 0 24px;
}

/* ── Why Choose Us ── */
.why-section { background: var(--cream); padding: 100px 0; }
.why-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px 28px;
    transition: all 0.35s ease;
    border: 1px solid transparent;
    height: 100%;
}
.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(27,127,168,0.2);
    box-shadow: 0 20px 50px rgba(11,37,69,0.1);
}
.why-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--teal);
    margin-bottom: 18px;
    transition: all 0.3s;
}
.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--teal), var(--mint));
    color: #fff;
}
.why-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 10px;
}
.why-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* ── Services Section ── */
.services-section { padding: 100px 0; }
.service-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(27,127,168,0.12);
    transition: all 0.35s ease;
    height: 100%;
    background: #fff;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(11,37,69,0.13);
    border-color: var(--teal);
}
.service-card-header {
    background: linear-gradient(135deg, var(--navy), #0d3060);
    padding: 28px 24px 20px;
    position: relative;
    overflow: hidden;
}
.service-card-header::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 80px; height: 80px;
    background: rgba(77,191,168,0.1);
    border-radius: 50% 0 0 0;
}
.service-icon {
    font-size: 2rem;
    color: var(--mint);
    display: block;
    margin-bottom: 10px;
}
.service-card-header h4 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
}
.service-card-body { padding: 22px 24px; }
.service-card-body p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; margin: 0; }

/* ── Testimonials ── */
.testimonials-section { background: linear-gradient(135deg, var(--navy) 0%, #0d3060 100%); padding: 100px 0; }
.testimonial-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 32px 28px;
    height: 100%;
}
.testimonial-stars { color: var(--gold); margin-bottom: 14px; }
.testimonial-text {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--mint));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}
.author-name { font-weight: 600; color: #fff; font-size: 0.9rem; }
.author-since { font-size: 0.75rem; color: var(--mint); }

/* ── CTA Band ── */
.cta-band {
    background: linear-gradient(135deg, var(--teal), var(--mint));
    padding: 70px 0;
}
.cta-band h2 {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.cta-band p { color: rgba(255,255,255,0.8); }
.btn-cta-white {
    background: #fff;
    color: var(--teal);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
    color: var(--navy);
}

/* ── About Page ── */
.about-hero { background: linear-gradient(135deg, var(--navy) 0%, #0d3060 100%); padding: 120px 0 80px; }
.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    line-height: 1.2;
}
.breadcrumb-hero .breadcrumb-item { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.breadcrumb-hero .breadcrumb-item a { color: var(--mint); text-decoration: none; }
.breadcrumb-hero .breadcrumb-item.active { color: #fff; }
.breadcrumb-hero .breadcrumb-divider { color: rgba(255,255,255,0.3); }

.team-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(27,127,168,0.15);
    transition: all 0.35s;
    background: #fff;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(11,37,69,0.12);
}
.team-avatar {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--light), #d0eaf3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: var(--teal);
}
.team-body { padding: 22px 20px; }
.team-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* Value cards */
.value-card {
    padding: 28px 24px;
    border-radius: 16px;
    background: var(--cream);
    border-left: 4px solid var(--teal);
    transition: all 0.3s;
}
.value-card:hover { transform: translateX(4px); background: var(--light); }
.value-card h5 { font-family: 'Playfair Display', serif; color: var(--navy); margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.9rem; margin: 0; line-height: 1.7; }

/* ── Booking Page ── */
.booking-section { padding: 60px 0 100px; background: var(--cream); min-height: 80vh; }
.booking-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(11,37,69,0.1);
}
.booking-sidebar {
    background: linear-gradient(160deg, var(--navy), #0d3060);
    padding: 44px 32px;
    color: #fff;
    min-height: 100%;
}
.booking-sidebar h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 6px; }
.booking-sidebar p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.booking-info-item { display: flex; gap: 14px; margin-top: 24px; }
.booking-info-item .icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: rgba(77,191,168,0.15);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--mint);
    font-size: 1.1rem;
}
.booking-info-item .text h6 { color: #fff; font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.booking-info-item .text p { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin: 0; }

.booking-form { padding: 44px 40px; }
.form-label-custom {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy);
    margin-bottom: 6px;
}
.form-control-custom, .form-select-custom {
    border: 1.5px solid #e0e8ef;
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 0.92rem;
    color: var(--text);
    transition: all 0.25s;
    width: 100%;
    background: #f8fbfd;
}
.form-control-custom:focus, .form-select-custom:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(27,127,168,0.1);
    background: #fff;
}
.step-indicator {
    display: flex;
    gap: 0;
    margin-bottom: 36px;
}
.step {
    flex: 1;
    text-align: center;
    position: relative;
}
.step::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: #e0e8ef;
    z-index: 0;
}
.step:last-child::after { display: none; }
.step-dot {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #e0e8ef;
    color: #aaa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}
.step.active .step-dot { background: var(--teal); color: #fff; }
.step.done .step-dot { background: var(--mint); color: #fff; }
.step-label { font-size: 0.72rem; color: var(--muted); margin-top: 6px; display: block; }
.step.active .step-label { color: var(--teal); font-weight: 600; }

.btn-submit-booking {
    background: linear-gradient(135deg, var(--teal), var(--mint));
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 6px 20px rgba(27,127,168,0.35);
}
.btn-submit-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(27,127,168,0.5);
}

.success-msg {
    background: linear-gradient(135deg, #e8f7f3, #d0f0e8);
    border: 1px solid #4DBFA8;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    display: none;
}
.success-msg .check-icon {
    font-size: 3rem;
    color: var(--mint);
    margin-bottom: 16px;
}

/* Time slot buttons */
.time-slots { display: flex; flex-wrap: wrap; gap: 10px; }
.time-slot {
    padding: 8px 18px;
    border: 1.5px solid #e0e8ef;
    border-radius: 50px;
    font-size: 0.84rem;
    cursor: pointer;
    transition: all 0.25s;
    background: #f8fbfd;
    color: var(--text);
    font-weight: 500;
}
.time-slot:hover, .time-slot.selected {
    border-color: var(--teal);
    background: var(--teal);
    color: #fff;
}

/* ── Contact Page ── */
.contact-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(27,127,168,0.12);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all 0.3s;
    height: 100%;
}
.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(11,37,69,0.1);
}
.contact-info-icon {
    width: 52px; height: 52px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--light), #d0eaf3);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--teal);
    font-size: 1.3rem;
}
.contact-info-card h5 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a { color: var(--muted); font-size: 0.9rem; text-decoration: none; line-height: 1.7; margin: 0; }
.contact-info-card a:hover { color: var(--teal); }

.contact-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 44px 40px;
    box-shadow: 0 16px 50px rgba(11,37,69,0.08);
}

.map-embed {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(27,127,168,0.15);
}

/* ── Alert styles ── */
.alert-custom-success {
    background: #e8f7f3;
    border: 1px solid var(--mint);
    color: #0a5c45;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-custom-error {
    background: #fce8e8;
    border: 1px solid #e57373;
    color: #7a1b1b;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Footer ── */
.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; transition: color 0.25s; }
.footer-links a:hover { color: var(--mint); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.6; }
.footer-contact li i { color: var(--mint); flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-contact a:hover { color: var(--mint); }
.footer-social {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}
.footer-social:hover { background: var(--mint); color: var(--navy); transform: translateY(-3px); }

/* ── AOS custom ── */
[data-aos] { will-change: transform, opacity; }

/* ── Scroll to top ── */
#scrollTop {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--mint));
    color: #fff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(27,127,168,0.4);
    transition: all 0.3s;
    z-index: 999;
}
#scrollTop:hover { transform: translateY(-3px); }

/* ── Responsive ── */
@media (max-width: 991px) {
    .hero { min-height: auto; padding: 80px 0 60px; }
    .hero-stats { gap: 20px; }
    .booking-form { padding: 30px 24px; }
    .contact-form-card { padding: 28px 22px; }
}
@media (max-width: 767px) {
    .hero h1 { font-size: 2rem; }
    .hero-stats .stat-item .number { font-size: 1.8rem; }
    .topbar .tw-flex.tw-gap-4 { gap: 12px !important; }
}

/* Pulse animation for booking badge */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.pulse-dot {
    width: 8px; height: 8px;
    background: var(--mint);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    display: inline-block;
}
