/* ==========================================================================
   NHA KHOA QUỐC TẾ PREMIER - LUXURY MEDICAL DESIGN SYSTEM
   Đồng bộ 100% theo tông màu Xanh Dương Sapphire Y Tế (#0284c7, #0369a1, #0c4a6e)
   Bố cục hiện đại, chuẩn y khoa, loại bỏ hoàn toàn màu xanh lá
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,600;1,700&family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Core Colors - Premier Dental Sapphire Palette */
    --primary: #0284c7;             /* Bright Sapphire Blue */
    --primary-hover: #0369a1;       /* Deep Sapphire Blue */
    --primary-dark: #075985;        /* Dark Ocean Blue */
    --primary-deep: #0c4a6e;        /* Midnight Navy Blue */
    --primary-light: #e0f2fe;       /* Sky Soft Blue Tint */
    --primary-ultralight: #f0f9ff;  /* Ice Blue White Background */
    --primary-glow: rgba(2, 132, 199, 0.35);
    
    /* Secondary & Cyan Accents */
    --secondary: #0ea5e9;           /* Cyan Sky Glow */
    --secondary-dark: #0284c7;
    --accent-cyan-light: #e0f2fe;
    
    /* Warm Amber / Gold - Rating & Emergency Badges */
    --accent: #f59e0b;              /* Warm Golden Amber */
    --accent-dark: #d97706;
    --accent-light: #fef3c7;
    --accent-glow: rgba(245, 158, 11, 0.4);
    
    /* Neutrals & Typography */
    --dark: #0f172a;                /* Slate 900 */
    --dark-navy: #071527;           /* Deep Midnight Navy */
    --slate: #334155;               /* Slate 700 - Body Text */
    --muted: #64748b;               /* Slate 500 */
    --light-bg: #f8fafc;            /* Clean Slate White */
    --blue-bg: #f0f9ff;             /* Soft Ice Blue Background */
    --white: #ffffff;
    --border: #e2e8f0;
    --border-blue: #bae6fd;
    
    /* Status & Alerts */
    --success: #0284c7;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #0284c7;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #0c4a6e 100%);
    --gradient-primary-soft: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    --gradient-hero-light: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #e0f2fe 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    --gradient-banner-dark: linear-gradient(135deg, #071527 0%, #0c2744 50%, #0a3a60 100%);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 6px 16px -2px rgba(2, 132, 199, 0.14), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 16px 32px -4px rgba(2, 132, 199, 0.2), 0 6px 12px -2px rgba(15, 23, 42, 0.05);
    --shadow-glow: 0 0 24px var(--primary-glow);
    --shadow-card: 0 10px 30px -5px rgba(12, 74, 110, 0.08);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-family: 'Be Vietnam Pro', 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--slate);
    background-color: #ffffff;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

button, input, select, textarea, .btn, .form-control, .form-select, .nav-link, .card, .badge, table {
    font-family: 'Be Vietnam Pro', 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* LAYOUT CONTAINER */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 85px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-blue {
    background-color: var(--blue-bg);
}

.text-center { text-align: center; }
.margin-top-sm { margin-top: 10px; }
.margin-top-md { margin-top: 20px; }
.margin-top-lg { margin-top: 40px; }
.margin-bottom-sm { margin-bottom: 10px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

.sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid var(--border-blue);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.35rem;
    margin-bottom: 14px;
    color: var(--dark);
    font-weight: 800;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.highlight-text {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 70%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* ==========================================================================
   BUTTONS (PREMIER SAPPHIRE BLUE)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
    color: var(--white);
}

.btn-outline {
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary-hover);
}

.btn-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary-hover);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--slate);
    border: 1px solid var(--border);
}

.btn-light:hover {
    background: var(--light-bg);
    border-color: #cbd5e1;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 1.02rem;
    border-radius: var(--radius-md);
    font-weight: 700;
}

.btn-block {
    width: 100%;
}

.btn-nav-login {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.btn-nav-register {
    background: var(--gradient-primary);
    border: 1.5px solid transparent;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 3px 10px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-nav-register:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.45);
}

/* ==========================================================================
   HEADER & NAVBAR (PREMIER CLINIC)
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
}

/* Top Bar */
.top-bar {
    background: var(--primary-deep);
    color: #cbd5e1;
    font-size: 0.84rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 22px;
    align-items: center;
}

.top-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-info i {
    color: #38bdf8;
}

.top-contact {
    display: flex;
    gap: 18px;
    align-items: center;
}

.top-contact a {
    color: #f1f5f9;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-contact a:hover {
    color: #38bdf8;
}

.emergency-badge {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff !important;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
    animation: pulseRed 2s infinite ease-in-out;
}

@keyframes pulseRed {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}

/* Navbar */
.navbar {
    padding: 12px 0;
    background: transparent;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Nha Khoa Premier */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    width: 46px;
    height: 46px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 14px var(--primary-glow);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(6deg) scale(1.04);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    margin-right: 32px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.1;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-top: 2px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nav-link {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--slate);
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-ultralight);
}

.nav-link.active {
    color: var(--primary-hover);
    background: var(--primary-light);
    font-weight: 700;
}

.admin-nav-link {
    color: var(--accent-dark) !important;
}

.admin-nav-link:hover {
    background: var(--accent-light) !important;
}

.admin-nav-link.active {
    background: var(--accent-light) !important;
    color: var(--accent-dark) !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--dark);
    cursor: pointer;
    padding: 6px;
}

/* ==========================================================================
   FLOATING ACTION TOOLBAR (UNIFIED BLUE)
   ========================================================================== */
.floating-contact-bar {
    position: fixed;
    right: 20px;
    bottom: 105px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 998;
}

.float-action-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.float-action-item:hover {
    transform: scale(1.1) translateY(-2px);
    color: #ffffff;
}

.float-action-item .float-tooltip {
    position: absolute;
    right: 60px;
    background: var(--dark);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

.float-action-item:hover .float-tooltip {
    opacity: 1;
    right: 64px;
}

.float-hotline {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    animation: pulseHotline 2s infinite;
}

@keyframes pulseHotline {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    50% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

.float-zalo {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.float-booking {
    background: var(--gradient-primary);
}

/* ==========================================================================
   PAGE SECTIONS & VISIBILITY
   ========================================================================== */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.page-header {
    background: linear-gradient(180deg, #e0f2fe 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border-blue);
    color: var(--dark);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(2, 132, 199, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header h1 {
    color: var(--primary-deep);
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================================================
   1. HERO SECTION (PREMIER SAPPHIRE LIGHT)
   ========================================================================== */
.hero {
    background: var(--gradient-hero-light);
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-blue);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid var(--border-blue);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

.badge-tag i {
    color: var(--primary);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 20px;
    color: var(--dark);
    letter-spacing: -0.025em;
}

.hero-desc {
    font-size: 1.12rem;
    color: var(--slate);
    margin-bottom: 35px;
    line-height: 1.7;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(2, 132, 199, 0.15);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--slate);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.15rem;
    background: var(--primary-light);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.hero-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-blue);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: floatSlow 4s ease-in-out infinite;
}

.float-card-1 {
    top: 25px;
    left: -25px;
}

.float-card-2 {
    bottom: 30px;
    right: -20px;
    animation-delay: 2s;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.icon-circle.blue, .icon-circle.primary {
    background: var(--primary-light);
    color: var(--primary);
}

.hero-card strong {
    display: block;
    font-size: 0.98rem;
    color: var(--dark);
    font-weight: 700;
}

.hero-card span {
    font-size: 0.82rem;
    color: var(--muted);
}

/* ==========================================================================
   STATS STRIP (PREMIER METRICS)
   ========================================================================== */
.stats-strip {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 38px 0;
    box-shadow: var(--shadow-md);
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-box {
    position: relative;
}

.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 0.92rem;
    color: #e0f2fe;
    font-weight: 500;
}

/* ==========================================================================
   4 CAM KẾT VÀNG (PREMIER COMMITMENTS)
   ========================================================================== */
.commitments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.commitment-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.commitment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.commitment-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-blue);
}

.commitment-card:hover::before {
    transform: scaleX(1);
}

.commitment-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.commitment-card:hover .commitment-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.08);
}

.commitment-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.commitment-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}

/* ==========================================================================
   SERVICES CARDS & GRID
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-blue);
}

.service-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-thumb img {
    transform: scale(1.06);
}

.service-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(2, 132, 199, 0.92);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    letter-spacing: 0.4px;
}

.service-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-desc {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

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

.service-price {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--primary);
}

/* Category Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 22px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--slate);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-ultralight);
}

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 14px var(--primary-glow);
}

/* ==========================================================================
   TECHNOLOGY & WHY CHOOSE US
   ========================================================================== */
.tech-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.tech-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.tech-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tech-item:hover {
    border-color: var(--border-blue);
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.tech-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.tech-item:hover .tech-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.tech-item h4 {
    font-size: 1.08rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.tech-item p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}

.rounded-img {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
}

/* ==========================================================================
   DOCTORS SECTION
   ========================================================================== */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.doctor-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-align: center;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.doctor-img-box {
    height: 280px;
    background: #e2e8f0;
    overflow: hidden;
    position: relative;
}

.doctor-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-img-box img {
    transform: scale(1.05);
}

.doctor-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 21, 39, 0.1) 0%, rgba(7, 21, 39, 0.75) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doctor-card:hover .doctor-card-overlay {
    opacity: 1;
}

.btn-view-profile {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-deep);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.doctor-card:hover .btn-view-profile {
    transform: translateY(0);
}

.doctor-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.doctor-name {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--dark);
    font-weight: 700;
}

.doctor-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.doctor-exp {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.doctor-exp i {
    color: var(--accent);
}

.doctor-card-btns {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

/* ==========================================================================
   DOCTOR DETAIL MODAL STYLES
   ========================================================================== */
.doctor-modal-card {
    max-width: 900px;
    padding: 35px 38px;
}

.doctor-detail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.doctor-detail-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doctor-detail-avatar-wrap {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid #bae6fd;
}

.doctor-detail-img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    display: block;
}

.doctor-status-pill {
    position: absolute;
    bottom: 12px;
    left: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.doctor-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 2s infinite;
}

.doctor-meta-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doctor-meta-stat {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.doctor-meta-stat i {
    font-size: 1.1rem;
    margin-top: 3px;
    min-width: 20px;
    text-align: center;
}

.doctor-meta-stat .meta-label {
    display: block;
    font-size: 0.74rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 2px;
}

.doctor-meta-stat strong {
    font-size: 0.86rem;
    color: var(--dark);
    line-height: 1.35;
}

.doctor-detail-main {
    display: flex;
    flex-direction: column;
}

.doctor-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.doctor-spec-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid #bae6fd;
}

.doctor-verified-badge {
    background: #d1fae5;
    color: #065f46;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #a7f3d0;
}

.doctor-modal-name {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.doctor-modal-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.doctor-modal-degree {
    font-size: 0.88rem;
    color: var(--slate);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctor-section-divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 18px;
}

.doctor-detail-block {
    margin-bottom: 18px;
}

.doctor-block-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctor-bio-text {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.65;
    margin: 0;
}

.doctor-strengths-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
}

.doctor-strength-item {
    font-size: 0.86rem;
    color: var(--dark);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.doctor-strength-item i {
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.doctor-cert-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doctor-cert-list li {
    font-size: 0.86rem;
    color: var(--slate);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.doctor-cert-list li i {
    margin-top: 3px;
    flex-shrink: 0;
}

.doctor-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

@media (max-width: 820px) {
    .doctor-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .doctor-detail-img {
        height: 250px;
    }
    .doctor-strengths-grid {
        grid-template-columns: 1fr;
    }
    .doctor-modal-actions {
        flex-direction: column;
    }
}

/* ==========================================================================
   PRICES SECTION (TRANSPARENT PRICING)
   ========================================================================== */
.price-search-bar {
    max-width: 600px;
    margin: 0 auto 25px;
    position: relative;
}

.price-search-bar input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    background: var(--white);
}

.price-search-bar input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.price-search-bar i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 1.1rem;
}

.disclaimer-alert {
    max-width: 850px;
    margin: 0 auto 35px;
    background: var(--blue-bg);
    border: 1px solid var(--border-blue);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.disclaimer-alert i {
    font-size: 1.25rem;
    color: var(--primary);
}

.price-group-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.price-group-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 22px;
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th {
    background: #f8fafc;
    color: var(--slate);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.price-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.92rem;
    vertical-align: middle;
}

.price-table tr:hover td {
    background: var(--primary-ultralight);
}

.price-val {
    font-weight: 800;
    color: var(--primary);
    font-size: 1rem;
}

/* ==========================================================================
   ABOUT & VALUES SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.1rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--slate);
}

.values-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.val-card {
    background: var(--blue-bg);
    border: 1px solid var(--border-blue);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
}

.val-card i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.val-card h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--primary-dark);
}

.val-card p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0;
}

/* ==========================================================================
   ENHANCED ABOUT SECTION & MEDICAL CLINIC MAPS
   ========================================================================== */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.about-stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 1px solid #bae6fd;
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.about-stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 12px;
}

.about-stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
    line-height: 1.2;
}

.about-stat-card p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.about-stat-card small {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Three Pillars (Vision - Mission - Philosophy) */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 35px 0 50px;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.pillar-card.highlight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #7dd3fc;
}

.pillar-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.pillar-card.highlight .pillar-icon-box {
    background: var(--primary);
    color: #ffffff;
}

.pillar-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.pillar-card p {
    font-size: 0.92rem;
    color: var(--slate);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Technology & Facilities Grid */
.about-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.about-tech-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.about-tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #bae6fd;
}

.about-tech-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.about-tech-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.about-tech-header h4 {
    font-size: 1.05rem;
    color: var(--dark);
    margin: 0;
    line-height: 1.35;
}

.about-tech-card p {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 14px;
    flex-grow: 1;
}

.tech-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.tech-badge-item {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--blue-bg);
    color: var(--primary-dark);
    border: 1px solid #bae6fd;
    font-weight: 600;
}

/* 15 Years Milestone Roadmap */
.milestones-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
    position: relative;
}

.milestone-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    position: relative;
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.milestone-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary-hover);
}

.milestone-year {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.milestone-box h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.milestone-box p {
    font-size: 0.85rem;
    color: var(--slate);
    line-height: 1.55;
    margin-bottom: 0;
}

/* 5 Steps Treatment Procedure */
.about-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.step-flow-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step-flow-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.step-flow-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.step-flow-card p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Legal & Quality Guarantee Banner */
.about-legal-banner {
    background: linear-gradient(135deg, #071527 0%, #0c2744 50%, #0a3a60 100%);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    color: #ffffff;
    margin-top: 45px;
    box-shadow: var(--shadow-lg);
}

.about-legal-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
}

.about-legal-text h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-legal-text p {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.legal-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.legal-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #e0f2fe;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legal-badge i {
    color: #38bdf8;
}

/* MAPS & LOCATIONS SECTION */
.about-map-section {
    background: var(--blue-bg);
    border-top: 1px solid #bae6fd;
    border-bottom: 1px solid #bae6fd;
    padding: 70px 0;
    margin-top: 60px;
}

.branch-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.branch-nav-btn {
    background: #ffffff;
    border: 1px solid var(--border-blue);
    padding: 12px 22px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--slate);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.branch-nav-btn i {
    color: var(--primary);
}

.branch-nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f9ff;
    transform: translateY(-2px);
}

.branch-nav-btn.active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.branch-nav-btn.active i {
    color: #ffffff;
}

.about-map-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    align-items: stretch;
}

.branch-info-card {
    background: #ffffff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.branch-header-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 12px;
}

.branch-title {
    font-size: 1.35rem;
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 18px;
}

.branch-detail-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.branch-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.5;
}

.branch-detail-item i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
    min-width: 20px;
    text-align: center;
}

.branch-detail-item strong {
    color: var(--dark);
    display: block;
    margin-bottom: 2px;
}

.branch-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding: 12px;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.amenity-chip {
    font-size: 0.78rem;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.amenity-chip i {
    color: var(--primary);
}

.branch-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.branch-action-buttons .btn {
    padding: 10px 14px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.branch-map-embed {
    background: #ffffff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: relative;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.branch-map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
    flex-grow: 1;
}

.map-toolbar {
    background: #ffffff;
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--muted);
}

.map-toolbar a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.map-toolbar a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .about-stats-grid,
    .milestones-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .about-map-grid {
        grid-template-columns: 1fr;
    }
    .about-legal-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-stats-grid,
    .pillars-grid,
    .about-tech-grid,
    .milestones-strip,
    .about-steps-grid {
        grid-template-columns: 1fr;
    }
    .branch-action-buttons {
        grid-template-columns: 1fr;
    }
    .branch-map-embed {
        min-height: 350px;
    }
    .branch-map-embed iframe {
        min-height: 320px;
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 18px 22px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
    background: var(--primary-ultralight);
}

.faq-answer {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: #ffffff;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    padding: 16px 22px 20px;
    max-height: 300px;
    border-top-color: #f1f5f9;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card, .contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-md);
}

.contact-info-card h3, .contact-form-card h3 {
    font-size: 1.45rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-subtitle {
    color: var(--muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 3px;
    font-size: 0.95rem;
}

.info-item p {
    color: var(--slate);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Forms */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ==========================================================================
   ADMIN DASHBOARD SECTION
   ========================================================================== */
.admin-header-bg {
    background: linear-gradient(135deg, #0c4a6e 0%, #0f172a 100%);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.blue { background: #e0f2fe; color: #0284c7; }
.stat-icon.green, .stat-icon.primary { background: var(--primary-light); color: var(--primary); }
.stat-icon.orange { background: var(--accent-light); color: var(--accent-dark); }
.stat-icon.purple { background: #f3e8ff; color: #9333ea; }
.stat-icon.emerald { background: #d1fae5; color: #059669; }

.stat-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card p {
    font-size: 0.88rem;
    color: var(--muted);
    font-weight: 500;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 25px;
}

.admin-tab {
    padding: 12px 22px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: var(--transition);
}

.admin-tab:hover {
    color: var(--primary);
}

.admin-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 700;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-table-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.admin-table-controls input {
    max-width: 320px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
}

.table-responsive {
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #f8fafc;
    padding: 14px 18px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--slate);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 14px 18px;
    font-size: 0.9rem;
    border-bottom: 1px solid #f1f5f9;
}

.data-table tr:hover td {
    background: var(--primary-ultralight);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-badge.cho-xac-nhan { background: #fef3c7; color: #b45309; }
.status-badge.da-xac-nhan { background: var(--primary-light); color: var(--primary-dark); }
.status-badge.da-hoan-thanh { background: #e0f2fe; color: #0369a1; }
.status-badge.tu-choi { background: #fee2e2; color: #b91c1c; }

/* ==========================================================================
   ADMIN REVENUE & FINANCIAL ANALYTICS
   ========================================================================== */
.revenue-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}
@media (max-width: 1024px) {
    .revenue-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .revenue-kpi-grid { grid-template-columns: 1fr; }
}

.rev-kpi-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.rev-kpi-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
}
.rev-kpi-item.green::before { background: #10b981; }
.rev-kpi-item.amber::before { background: #f59e0b; }
.rev-kpi-item.blue::before { background: #0284c7; }
.rev-kpi-item.purple::before { background: #8b5cf6; }

.rev-kpi-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.rev-kpi-info {
    display: flex;
    flex-direction: column;
}
.rev-kpi-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.rev-kpi-value {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 6px;
}
.rev-kpi-sub {
    font-size: 0.8rem;
    color: var(--slate);
    display: flex;
    align-items: center;
    gap: 6px;
}
.rev-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.rev-kpi-item.green .rev-kpi-icon { background: #d1fae5; color: #059669; }
.rev-kpi-item.amber .rev-kpi-icon { background: #fef3c7; color: #d97706; }
.rev-kpi-item.blue .rev-kpi-icon { background: #e0f2fe; color: #0284c7; }
.rev-kpi-item.purple .rev-kpi-icon { background: #ede9fe; color: #7c3aed; }

.rev-analytics-row {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 22px;
    margin-bottom: 25px;
}
@media (max-width: 992px) {
    .rev-analytics-row { grid-template-columns: 1fr; }
}

.rev-chart-card, .rev-card-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.margin-bottom-md {
    margin-bottom: 25px;
}
.rev-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
}
.rev-card-header h4 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.rev-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    background: #e2e8f0;
    color: #475569;
}

.rev-chart-body {
    padding: 24px 20px 16px;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 14px;
}
.rev-trend-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 220px;
    justify-content: flex-end;
    position: relative;
}
.rev-bar-val {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    white-space: nowrap;
}
.rev-bar-track {
    width: 100%;
    max-width: 44px;
    height: 160px;
    background: #f1f5f9;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
}
.rev-bar-fill {
    width: 100%;
    background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
    border-radius: 6px 6px 0 0;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.rev-bar-fill.active-month {
    background: linear-gradient(180deg, #34d399 0%, #059669 100%);
    box-shadow: 0 0 10px rgba(5, 150, 105, 0.35);
}
.rev-bar-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate);
    margin-top: 8px;
    text-align: center;
}

.rev-services-list {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 320px;
    overflow-y: auto;
}
.rev-service-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.rev-service-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
}
.rev-service-name {
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 6px;
}
.rev-service-amount {
    font-weight: 700;
    color: #059669;
}
.rev-service-track {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.rev-service-bar {
    height: 100%;
    background: linear-gradient(90deg, #0284c7, #38bdf8);
    border-radius: 4px;
    transition: width 0.6s ease;
}
.rev-service-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--muted);
}

.text-success { color: #059669 !important; }
.text-warning { color: #d97706 !important; }
.text-primary { color: #0284c7 !important; }
.text-purple { color: #7c3aed !important; }
.text-danger { color: #dc2626 !important; }

/* ==========================================================================
   ADMIN EXECUTIVE AI ASSISTANT PANEL
   ========================================================================== */
.admin-ai-panel {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, #071527 0%, #0c2340 50%, #0284c7 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-ai-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-ai-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.ai-live-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid #071527;
    border-radius: 50%;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.admin-ai-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.admin-ai-desc {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 4px 0 0;
    max-width: 600px;
    line-height: 1.4;
}

.admin-ai-badge {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.4);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.admin-ai-badge i {
    font-size: 0.5rem;
}

.btn-clear-chat {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-clear-chat:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Quick Suggestion Chips */
.admin-ai-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.admin-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-chip i {
    color: var(--primary);
}

.admin-chip:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.admin-chip.alert-chip {
    border-color: #fcd34d;
    background: #fffbeb;
    color: #92400e;
}

.admin-chip.alert-chip i {
    color: #d97706;
}

.admin-chip.alert-chip:hover {
    background: #fef3c7;
    border-color: #f59e0b;
}

/* Chat Messages Box */
.admin-ai-chat-box {
    height: 480px;
    overflow-y: auto;
    padding: 24px;
    background: #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 18px;
    scroll-behavior: smooth;
}

.admin-msg {
    display: flex;
    gap: 12px;
    max-width: 85%;
    animation: fadeInMsg 0.3s ease;
}

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

.admin-msg-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.admin-msg-ai {
    align-self: flex-start;
}

.admin-msg-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.admin-msg-ai .admin-msg-avatar {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.admin-msg-user .admin-msg-avatar {
    background: #475569;
    color: #ffffff;
}

.admin-msg-body {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    max-width: 100%;
}

.admin-msg-user .admin-msg-body {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border-color: #0284c7;
    border-top-right-radius: 4px;
}

.admin-msg-ai .admin-msg-body {
    border-top-left-radius: 4px;
}

.admin-msg-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 0.78rem;
}

.admin-msg-ai .admin-msg-header strong {
    color: #0284c7;
}

.admin-msg-user .admin-msg-header strong {
    color: #bae6fd;
}

.admin-msg-time {
    color: #94a3b8;
    font-size: 0.72rem;
}

.admin-msg-user .admin-msg-time {
    color: rgba(255, 255, 255, 0.75);
}

.admin-msg-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #1e293b;
    word-break: break-word;
}

.admin-msg-user .admin-msg-content {
    color: #ffffff;
}

.admin-msg-content p {
    margin: 0 0 8px;
}

.admin-msg-content p:last-child {
    margin-bottom: 0;
}

.admin-msg-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 4px 0 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e2e8f0;
}

.admin-msg-content pre {
    background: #0f172a;
    color: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: Consolas, monospace;
    font-size: 0.82rem;
    margin: 8px 0;
}

.admin-msg-content code {
    background: #e2e8f0;
    color: #0f172a;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: Consolas, monospace;
    font-size: 0.85em;
}

.admin-msg-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.admin-msg-content ul, .admin-msg-content ol {
    margin: 6px 0 10px;
    padding-left: 20px;
}

.admin-msg-content li {
    margin-bottom: 4px;
}

/* Typing Indicator */
.admin-typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
}

.admin-typing-dot {
    width: 6px;
    height: 6px;
    background: #0284c7;
    border-radius: 50%;
    animation: adminDotBlink 1.4s infinite ease-in-out both;
}

.admin-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.admin-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes adminDotBlink {
    0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

/* Input Bar */
.admin-ai-input-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.admin-ai-input-bar input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 24px;
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition);
}

.admin-ai-input-bar input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.admin-ai-send-btn {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: none;
    padding: 12px 22px;
    border-radius: 24px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.admin-ai-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
}

.admin-ai-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   MODALS (BOOKING & SERVICE DETAIL)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    width: 90%;
    max-width: 620px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-lg {
    max-width: 850px;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 1.8rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--muted);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--danger);
}

.modal-header {
    margin-bottom: 25px;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.modal-header p {
    color: var(--muted);
    font-size: 0.92rem;
}

.alert-box {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

.alert-box.success {
    display: block;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid var(--border-blue);
}

.alert-box.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

/* ==========================================================================
   CHATBOT AI ASSISTANT (UNIFIED SAPPHIRE BLUE THEME)
   ========================================================================== */
.chatbot-widget {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1050;
}

.chatbot-trigger {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 6px 20px var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.chatbot-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.55);
}

.trigger-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulseRing 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes pulseRing {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.trigger-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 540px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-blue);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
}

.chat-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-robot {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.chat-header h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.online-indicator {
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #bae6fd;
}

.dot {
    width: 7px;
    height: 7px;
    background: #38bdf8;
    border-radius: 50%;
}

.chat-close-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.preset-chips {
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
}

.chip {
    padding: 5px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    font-size: 0.78rem;
    color: var(--slate);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-ultralight);
}

.chat-messages {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fafafa;
}

.message-bubble {
    max-width: 82%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.message-bubble.assistant {
    background: var(--white);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.message-bubble.user {
    background: var(--gradient-primary);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.msg-time {
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 4px;
    text-align: right;
}

.message-bubble.user .msg-time {
    color: rgba(255,255,255,0.85);
}

.chat-loading {
    display: none;
    padding: 10px 16px;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    font-size: 0.82rem;
    color: var(--muted);
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.chat-input-area {
    padding: 12px;
    background: var(--white);
    border-top: 1px solid var(--border);
    display: flex;
    gap: 8px;
}

.chat-input-area input {
    flex-grow: 1;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.chat-input-area input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.send-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.send-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
}

/* Voice Search Button */
.voice-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f0f9ff;
    border: 1.5px solid #bae6fd;
    color: #0284c7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.voice-btn:hover {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #7dd3fc;
    transform: scale(1.06);
}

.voice-btn.listening {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border-color: #ef4444;
    animation: voicePulse 1.4s infinite;
}

@keyframes voicePulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.chat-voice-status {
    padding: 8px 16px;
    background: linear-gradient(90deg, #fef2f2 0%, #fff1f2 100%);
    border-top: 1px solid #fecdd3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.voice-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
}

.voice-wave span {
    width: 3.5px;
    height: 6px;
    background: #ef4444;
    border-radius: 3px;
    animation: soundWave 1.2s infinite ease-in-out;
}

.voice-wave span:nth-child(1) { animation-delay: 0.1s; }
.voice-wave span:nth-child(2) { animation-delay: 0.3s; }
.voice-wave span:nth-child(3) { animation-delay: 0.5s; }
.voice-wave span:nth-child(4) { animation-delay: 0.2s; }
.voice-wave span:nth-child(5) { animation-delay: 0.4s; }

@keyframes soundWave {
    0%, 100% { height: 5px; }
    50% { height: 18px; }
}

.voice-status-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: #b91c1c;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.voice-cancel-btn {
    background: transparent;
    border: none;
    color: #991b1b;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}

.voice-cancel-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.chat-tts-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    border-radius: 12px;
    padding: 3px 8px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    margin-top: 6px;
    transition: var(--transition);
}

.chat-tts-btn:hover {
    background: var(--primary-ultralight);
    color: var(--primary);
    border-color: var(--primary-light);
}

.chat-tts-btn.speaking {
    background: #ecfdf5;
    color: #059669;
    border-color: #a7f3d0;
}

/* Tool Buttons & Image Upload in Chat */
.tool-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid #bae6fd;
    background: #f0f9ff;
    color: #0284c7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.upload-btn {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

.upload-btn:hover {
    background: #f0f9ff;
    color: #0284c7;
    border-color: #7dd3fc;
    transform: scale(1.06);
}

.upload-btn.has-image {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}

/* Image Preview Box */
.chat-img-preview-box {
    padding: 8px 14px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-user-img-thumb {
    max-width: 180px;
    max-height: 140px;
    border-radius: 10px;
    margin-bottom: 6px;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.dental-vision-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    margin-top: 4px;
    color: #1e293b;
}

.vision-card-header {
    padding: 10px 14px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-bottom: 1px solid #bae6fd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.vision-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.vision-risk-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.badge-risk-low {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.badge-risk-medium {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fde047;
}

.badge-risk-high {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.vision-section {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.vision-section:last-child {
    border-bottom: none;
}

.vision-section-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vision-findings-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.84rem;
}

.vision-findings-list li {
    margin-bottom: 4px;
}

.vision-recommendation-box {
    background: #f8fafc;
    border-left: 3px solid #0284c7;
    padding: 8px 12px;
    border-radius: 0 6px 6px 0;
    font-size: 0.83rem;
    color: #0f172a;
}

.vision-disclaimer-box {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    line-height: 1.4;
    margin: 10px 14px;
}

.vision-booking-action {
    padding: 8px 14px 12px 14px;
    display: flex;
    justify-content: flex-end;
}



/* ==========================================================================
   FOOTER (PREMIER CLINIC BRANDING)
   ========================================================================== */
.footer {
    background: var(--dark-navy);
    color: #94a3b8;
    padding-top: 75px;
    border-top: 4px solid var(--primary);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 55px;
}

.footer-title {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 22px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
}

.footer-desc {
    font-size: 0.92rem;
    margin-bottom: 22px;
    line-height: 1.65;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
    font-size: 0.86rem;
    color: #64748b;
}

/* ==========================================================================
   SMILE SHOWCASE SECTION (KẾT QUẢ KHÁCH HÀNG & NỤ CƯỜI HOÀN MỸ)
   ========================================================================== */
.smile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 30px;
}

.smile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.smile-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-blue);
}

.smile-thumb {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.smile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.smile-card:hover .smile-thumb img {
    transform: scale(1.05);
}

.smile-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(7, 21, 39, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.smile-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.smile-stars {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.smile-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.smile-quote {
    font-size: 0.93rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    font-style: italic;
}

.smile-patient-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.patient-name {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--primary-deep);
}

.patient-tag {
    font-size: 0.8rem;
    color: var(--primary-dark);
    font-weight: 700;
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .hero-inner, .tech-grid, .contact-grid, .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-img { height: 360px; }
    .float-card-1 { left: 0; }
    .float-card-2 { right: 0; }
    .admin-stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .commitments-grid { grid-template-columns: 1fr 1fr; }
    .smile-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.active { left: 0; }
    .mobile-toggle { display: block; }
    .stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-box:not(:last-child)::after { display: none; }
    .commitments-grid { grid-template-columns: 1fr; }
    .values-box { grid-template-columns: 1fr; }
    .smile-grid { grid-template-columns: 1fr; }
    .chat-window {
        width: 92vw;
        right: -10px;
        bottom: 80px;
        height: 75vh;
    }
    .floating-contact-bar {
        right: 12px;
        bottom: 95px;
    }
    .admin-stats-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.15rem; }
}
