/* ===================================================
   Doctor's Chamber - White/Light Medical Theme
   =================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #0D9488;
    --primary-dark: #0F766E;
    --primary-light: #CCFBF1;
    --secondary: #2563EB;
    --accent: #F59E0B;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFB;
    --bg-section: #F1F5F9;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.3);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    border: none;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-white:hover {
    background: #f0fdf4;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.navbar-main {
    background: var(--bg-white);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: var(--transition);
}

.navbar-main.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-main .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-main .navbar-brand i {
    font-size: 1.8rem;
}

.navbar-main .navbar-brand span {
    color: var(--text-dark);
}

.navbar-main .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.95rem;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.navbar-main .btn-login {
    color: var(--primary);
    font-weight: 600;
    padding: 8px 20px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    margin-left: 8px;
    transition: var(--transition);
}

.navbar-main .btn-login:hover {
    background: var(--primary);
    color: #fff;
}

.navbar-main .btn-register {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: 8px 20px;
    border: none;
    border-radius: var(--radius-sm);
    margin-left: 8px;
    transition: var(--transition);
}

.navbar-main .btn-register:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* Navbar Toggler (Hamburger) */
.navbar-main .navbar-toggler {
    padding: 6px 10px;
    font-size: 1.3rem;
    color: var(--text-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: transparent;
    outline: none;
    box-shadow: none;
}

.navbar-main .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
    outline: none;
}

.navbar-main .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231F2937' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.3em;
    height: 1.3em;
}

/* Mobile menu dropdown styling */
@media (max-width: 991.98px) {
    .navbar-main .navbar-collapse {
        background: var(--bg-white);
        padding: 16px 0;
        margin-top: 12px;
        border-top: 1px solid var(--border);
    }

    .navbar-main .navbar-nav {
        gap: 4px;
    }

    .navbar-main .nav-link {
        padding: 10px 16px !important;
    }

    .navbar-main .d-flex.align-items-center {
        flex-direction: column;
        gap: 8px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
        margin-top: 8px;
    }

    .navbar-main .btn-login,
    .navbar-main .btn-register {
        margin-left: 0;
        width: 100%;
        text-align: center;
        display: block;
    }
}

/* ---------- Hero Section ---------- */
.hero-section {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafb 50%, #eff6ff 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-content h1 .text-highlight {
    color: var(--primary);
    position: relative;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 520px;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: left;
}

.hero-stat h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
}

.hero-stat p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
    text-align: center;
}

.hero-image-wrapper .hero-img-placeholder {
    width: 100%;
    max-width: 480px;
    height: 420px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0f2fe 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.hero-image-wrapper .hero-img-placeholder i {
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.3;
}

.hero-float-card {
    position: absolute;
    background: var(--bg-white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 3s ease-in-out infinite;
    z-index: 2;
}

.hero-float-card.card-1 {
    top: 15%;
    right: -10px;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    bottom: 20%;
    left: -10px;
    animation-delay: 1.5s;
}

.hero-float-card .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-float-card .icon-circle.bg-teal {
    background: var(--primary-light);
    color: var(--primary);
}

.hero-float-card .icon-circle.bg-blue {
    background: #DBEAFE;
    color: var(--secondary);
}

.hero-float-card h5 {
    font-size: 0.95rem;
    margin: 0;
    font-weight: 700;
}

.hero-float-card p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-muted);
}

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

/* ---------- Features Section ---------- */
.features-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
}

.feature-icon.teal { background: var(--primary-light); color: var(--primary); }
.feature-icon.blue { background: #DBEAFE; color: var(--secondary); }
.feature-icon.amber { background: #FEF3C7; color: var(--accent); }
.feature-icon.rose { background: #FFE4E6; color: #E11D48; }
.feature-icon.purple { background: #EDE9FE; color: #7C3AED; }
.feature-icon.green { background: #DCFCE7; color: #16A34A; }

.feature-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ---------- How It Works Section ---------- */
.how-it-works-section {
    padding: 80px 0;
    background: var(--bg-section);
}

.step-card {
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.step-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ---------- Doctors Section ---------- */
.doctors-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.doctor-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

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

.doctor-card-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-card-img i {
    font-size: 4rem;
    color: var(--text-light);
}

.doctor-card-body {
    padding: 24px;
}

.doctor-card-body h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.doctor-card-body .specialization {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.doctor-card-body .info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 6px;
}

.doctor-card-body .info-row i {
    color: var(--primary);
    font-size: 0.85rem;
    width: 16px;
}

.doctor-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doctor-card-footer .rating {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
}

.doctor-card-footer .btn-view {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.doctor-card-footer .btn-view:hover {
    gap: 8px;
}

/* ---------- Companies Section ---------- */
.companies-section {
    padding: 80px 0;
    background: var(--bg-section);
}

.company-logo-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

.company-logo-card .company-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 800;
}

.company-logo-card h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.company-logo-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ---------- Stats Section ---------- */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* ---------- CTA Section ---------- */
.cta-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.cta-box {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13,148,136,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* ---------- Footer ---------- */
.footer-main {
    background: var(--text-dark);
    color: #fff;
    padding: 60px 0 0;
}

.footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand i {
    color: var(--primary);
    font-size: 1.6rem;
}

.footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 300px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

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

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ---------- Live Chat Widget ---------- */
.chat-widget-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
    cursor: pointer;
    z-index: 1100;
    transition: var(--transition);
}

.chat-widget-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.chat-widget-btn .badge-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: #EF4444;
    border-radius: 50%;
    border: 2px solid #fff;
}

.chat-widget-panel {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    max-height: 500px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    overflow: hidden;
    display: none;
    flex-direction: column;
    border: 1px solid var(--border);
}

.chat-widget-panel.active {
    display: flex;
}

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

.chat-header h6 {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.chat-header .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    margin-right: 6px;
}

.chat-header .btn-close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
}

.chat-header .btn-close-chat:hover {
    opacity: 1;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 320px;
    background: var(--bg-light);
}

.chat-message {
    margin-bottom: 14px;
    display: flex;
    gap: 10px;
}

.chat-message.incoming .chat-bubble {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 4px 12px 12px 12px;
}

.chat-message.outgoing {
    flex-direction: row-reverse;
}

.chat-message.outgoing .chat-bubble {
    background: var(--primary);
    color: #fff;
    border-radius: 12px 4px 12px 12px;
}

.chat-bubble {
    padding: 10px 14px;
    font-size: 0.9rem;
    max-width: 260px;
    line-height: 1.4;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--primary);
    flex-shrink: 0;
}

.chat-footer {
    padding: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
    background: var(--bg-white);
}

.chat-footer input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.chat-footer input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.chat-footer .btn-send {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.chat-footer .btn-send:hover {
    background: var(--primary-dark);
}

/* ---------- Page Header / Breadcrumb ---------- */
.page-header {
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafb 100%);
    padding: 50px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

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

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin-top: 16px;
    font-size: 0.9rem;
}

.breadcrumb-custom li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.breadcrumb-custom li a {
    color: var(--primary);
}

.breadcrumb-custom li.active {
    color: var(--text-dark);
    font-weight: 600;
}

/* ---------- About Page ---------- */
.about-section {
    padding: 80px 0;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.about-img-placeholder {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0f2fe 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-placeholder i {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.3;
}

.value-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

.value-card .icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
}

.value-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Find Doctors Page ---------- */
.search-bar-section {
    padding: 40px 0;
    background: var(--bg-white);
}

.search-bar-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.search-bar-wrapper .form-control,
.search-bar-wrapper .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.95rem;
}

.search-bar-wrapper .form-control:focus,
.search-bar-wrapper .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.doctors-grid {
    padding: 0 0 80px;
}

/* ---------- Contact Page ---------- */
.contact-section {
    padding: 80px 0;
}

.contact-info-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-info-card .icon-box {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
}

.contact-info-card h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.contact-form {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* ---------- Auth Pages ---------- */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 0;
    background: var(--bg-section);
}

.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 40px;
}

.auth-card-wide {
    max-width: 560px;
}

.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-card .auth-logo h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.auth-card .auth-logo p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 4px;
}

.auth-card .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.auth-card .form-control,
.auth-card .form-select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
}

.auth-card .form-control:focus,
.auth-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.auth-card .btn-auth {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    margin-top: 8px;
}

.auth-card .btn-auth:hover {
    background: var(--primary-dark);
}

.auth-card .divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.auth-card .divider::before,
.auth-card .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-card .auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.auth-card .auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* Role-specific form fields */
.role-fields {
    display: none;
}

.role-fields.active {
    display: block;
}

/* ---------- Utility Classes ---------- */
.bg-light-section { background: var(--bg-section); }
.bg-white-section { background: var(--bg-white); }
.text-primary-custom { color: var(--primary) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.rounded-custom { border-radius: var(--radius-md); }
.shadow-custom { box-shadow: var(--shadow-md); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-section {
        padding: 60px 0 40px;
        min-height: auto;
    }

    .hero-image {
        margin-top: 40px;
    }

    .hero-float-card {
        display: none;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .chat-widget-panel {
        width: calc(100% - 30px);
        right: 15px;
        bottom: 90px;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat h3 {
        font-size: 1.4rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-primary-custom,
    .hero-buttons .btn-outline-custom {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .stat-item h2 {
        font-size: 1.8rem;
    }

    .auth-card {
        padding: 28px 20px;
        margin: 0 8px;
    }

    .auth-card-wide {
        max-width: 100%;
    }

    .page-header {
        padding: 36px 0 28px;
    }

    .page-header h1 {
        font-size: 1.7rem;
    }

    .search-bar-wrapper {
        flex-direction: column;
    }

    .search-bar-wrapper > * {
        width: 100% !important;
        min-width: 100% !important;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .footer-main {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-desc {
        margin: 0 auto 20px;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .contact-form {
        padding: 24px 20px;
    }

    .chat-widget-btn {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 20px;
    }

    .chat-widget-panel {
        right: 10px;
        width: calc(100% - 20px);
        bottom: 80px;
        max-height: 420px;
    }
}

/* ---------- Animations ---------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}
