/* ==========================================================================
   1. LOCAL INTER FONT DECLARATIONS (OPTIMIZED WITH FONT-DISPLAY: SWAP)
   ========================================================================== */
@font-face {
    font-family: 'Inter';
    src: url('./Inter-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./Inter-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./Inter-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./Inter-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./Inter-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   2. DESIGN SYSTEM & COLOR VARIABLES
   ========================================================================== */
:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    /* Brand Accents */
    --accent-yellow: #ffd60a;
    --accent-yellow-hover: #e6c200;
    --accent-dark: #18181b;
    --accent-dark-hover: #27272a;
    --medical-blue-subtle: #eff6ff;
    --medical-blue-border: #dbeafe;
    
    --radius: 0.75rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   3. BASE RESET & PERFORMANCE DEFAULTS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Scroll Clearance Offsets for Sticky Header */
.services-section,
.contact-section,
.faq-section {
    scroll-margin-top: 110px;
}

/* ==========================================================================
   4. NAVIGATION HEADER
   ========================================================================== */
.header-cust {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.85rem 2rem;
}

.header-cust nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
}

.brand-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.logo-text h2 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-nav-login {
    background-color: var(--accent-dark);
    color: #ffffff !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600 !important;
    transition: transform 0.15s ease, background-color 0.15s ease !important;
}

.btn-nav-login:hover {
    background-color: var(--accent-dark-hover);
    transform: translateY(-1px);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
    text-align: center;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--medical-blue-subtle);
    border: 1px solid var(--medical-blue-border);
    color: var(--text-main);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.pill-badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
    max-width: 850px;
    margin: 0 auto 1rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 2rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

button, input, select, textarea {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: inherit;
    color: inherit;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-yellow);
    color: var(--accent-dark);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--accent-yellow);
    outline: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary:hover {
    background-color: var(--accent-yellow-hover);
    border-color: var(--accent-yellow-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    color: var(--text-main);
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

/* ==========================================================================
   6. TRUST / FEATURE BADGES (EXACT CENTER FLEXBOX)
   ========================================================================== */
.trust-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    margin: 0 auto 4rem;
}

.trust-card {
    flex: 0 1 360px;
    width: 100%;
    max-width: 360px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.trust-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.trust-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.trust-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   7. SERVICES GRID
   ========================================================================== */
.services-section {
    max-width: 1200px;
    margin: 0 auto 10rem;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
}

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

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==========================================================================
   8. CONTACT & LOCATION SECTION
   ========================================================================== */
.contact-section {
    max-width: 900px;
    margin: 0 auto 14rem;
    padding: 0 1.5rem;
}

.contact-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-yellow);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.contact-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-card .subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: left;
    background-color: var(--bg-main);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.contact-info-block h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-info-block p,
.contact-info-block a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
}

.contact-info-block a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer {
    background-color: var(--accent-dark);
    color: #ffffff;
    margin-top: auto;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 0.375rem;
    flex-shrink: 0;
}

.footer-brand span {
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 1rem;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

.footer-copy {
    color: #64748b;
    font-size: 0.8rem;
    border-top: 1px solid #27272a;
    width: 100%;
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1rem;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .trust-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .trust-card {
        max-width: 100%;
        width: 100%;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .contact-details-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        flex-direction: column;
    }
    .landing-contact-grid {
        grid-template-columns: 1fr;
    }
    .map-guide-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   11. LANDING PAGE CONTACT & MAPS LOCATION SECTION
   ========================================================================== */
.contact-section {
    max-width: 1140px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
}

.contact-section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.contact-section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.contact-section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.landing-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.landing-contact-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.landing-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.landing-contact-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.landing-contact-card strong {
    font-size: 0.85rem;
    display: block;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.landing-contact-card span {
    font-size: 0.775rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.25rem;
}

.map-card-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.map-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.map-card-title h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.map-card-title p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.map-iframe-container {
    width: 100%;
    height: 380px;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.map-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

.map-guide-pill {
    background-color: var(--bg-main);
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    font-size: 0.825rem;
}

.map-guide-pill strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.15rem;
}

.map-guide-pill span {
    color: var(--text-muted);
}

/* FAQ Section & Language Toggle Switcher */
.faq-section {
    max-width: 1140px;
    margin: 3.5rem auto 5rem;
    padding: 0 1.5rem;
}

.faq-card-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.faq-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.faq-title-group h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.025em;
}

.faq-title-group p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.faq-lang-toggle {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 0.25rem;
    gap: 0.25rem;
}

.faq-lang-toggle .lang-btn {
    background: none;
    border: none;
    padding: 0.4rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.faq-lang-toggle .lang-btn:hover {
    color: var(--text-main);
}

.faq-lang-toggle .lang-btn.active {
    background-color: var(--accent-yellow);
    color: var(--accent-dark);
    box-shadow: var(--shadow-sm);
}

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

.faq-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 0.65rem;
    padding: 1.5rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background-color: #ffffff;
}

.faq-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.faq-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SCHEDULE SECTION
   ========================================================================== */
.schedule-section {
    padding: 3.5rem 1.5rem;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

.schedule-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.schedule-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.schedule-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.operating-hours {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row .day {
    font-weight: 600;
    color: var(--text-main);
}

.hours-row .time {
    color: var(--text-muted);
    font-weight: 500;
}

.hours-row.closed .time {
    color: #ef4444;
    font-weight: 600;
    background-color: #fef2f2;
    padding: 0.15rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.85rem;
}

.schedule-booking-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid var(--medical-blue-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.booking-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.booking-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.booking-instructions {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

.btn-full-width {
    width: 100%;
}

@media (max-width: 850px) {
    .schedule-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}