/* css/style.css - Main Stylesheet */
/* Self-hosted fonts only - no CDN */
@font-face {
    font-family: 'Inter';
    src: url('../webfonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('../webfonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
}
@font-face {
    font-family: 'Inter';
    src: url('../webfonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
}
@font-face {
    font-family: 'Inter';
    src: url('../webfonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
}


/* ============================================
   NAVBAR STYLES - Add these to your style.css
   ============================================ */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e8eaf0;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo {
    height: 42px;
    width: auto;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #b22b33, #115cb1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-toggler {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggler span {
    width: 24px;
    height: 2px;
    background: #1a1d2e;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #1a1d2e;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #b22b33;
}

.btn-emergency {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-emergency:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggler {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 74px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 74px);
        background: #ffffff;
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 16px;
    }
    
    .nav-toggler.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggler.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggler.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}


:root {
    --primary: #b22b33;
    --primary-dark: #8e2228;
    --primary-light: #c94a52;
    --secondary: #115cb1;
    --secondary-dark: #0d4790;
    --secondary-light: #2a7ad4;
    --gradient: linear-gradient(135deg, #b22b33, #115cb1);
    --gradient-hover: linear-gradient(135deg, #8e2228, #0d4790);
    --white: #ffffff;
    --bg: #ffffff;
    --bg-soft: #f8f9fc;
    --text-primary: #1a1d2e;
    --text-secondary: #5a607a;
    --text-muted: #9398b0;
    --border: #e8eaf0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(178, 43, 51, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(178, 43, 51, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 1.5px solid var(--secondary);
}

.btn-outline:hover {
    background: var(--gradient);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-emergency {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: var(--white);
    padding: 10px 20px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Splash Screen */
#splash {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.splash-container {
    text-align: center;
}

.splash-ring {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
}

.ring-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
}

.ring-logo img {
    width: 100%;
    height: auto;
}

.ring-bg {
    stroke: var(--border);
}

.ring-progress {
    stroke: url(#ringGradient);
    transition: stroke-dashoffset 0.05s linear;
}

.splash-brand {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.splash-tagline {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.dot-loader {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.dot-loader span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: bounce 1.2s ease infinite;
}

.dot-loader span:nth-child(1) { background: var(--primary); animation-delay: 0s; }
.dot-loader span:nth-child(2) { background: var(--secondary); animation-delay: 0.15s; }
.dot-loader span:nth-child(3) { background: var(--primary-light); animation-delay: 0.3s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1.2); opacity: 1; }
}

/* Main Page */
#main-page {
    display: none;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 100px 0 60px;
    position: relative;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
}

.hero-bg-shape {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 92, 177, 0.08), transparent);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(178, 43, 51, 0.1);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 450px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: left;
}

.stat-num {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-visual {
    width: 100%;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
}

.live-badge {
    font-size: 11px;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 10px;
    border-radius: 100px;
}

.hero-card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.stat-box {
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--white);
    font-size: 16px;
}

.stat-box .stat-num {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-box .stat-label {
    font-size: 11px;
}

.hero-card-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.emergency-contact {
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Desktop Responsive Fixes */
@media (max-width: 1200px) {
    .hero-grid {
        gap: 40px;
    }
}

@media (max-width: 968px) {
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat {
        text-align: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0 30px;
    }
    
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-card-stats {
        gap: 10px;
    }
    
    .stat-box {
        padding: 12px;
    }
    
    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}
/* Section Styles */
.section {
    padding: 80px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(178, 43, 51, 0.08);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.exp-badge {
    position: absolute;
    bottom: 20px;
    right: -10px;
    background: var(--gradient);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.exp-badge span {
    font-size: 28px;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.exp-badge p {
    font-size: 11px;
    margin-top: 4px;
}

.about-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(178, 43, 51, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.feature h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.feature p {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section {
        padding: 60px 0;
    }
}

/* Services Section */
.services-section {
    background: var(--bg-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 10px;
}

/* Doctors Section */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.doctor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.doctor-image {
    position: relative;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 16px;
    background: var(--gradient);
    transition: bottom 0.3s ease;
}

.doctor-card:hover .doctor-social {
    bottom: 0;
}

.doctor-social a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.doctor-social a:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.doctor-info {
    padding: 20px;
    text-align: center;
}

.doctor-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.doctor-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.rating {
    color: #fbbf24;
    font-size: 11px;
}

/* Contact Section */
.contact-section {
    background: var(--bg-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: var(--white);
}

.contact-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13px;
    transition: all 0.3s ease;
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(178, 43, 51, 0.1);
}

.contact-form textarea {
    margin-bottom: 20px;
    resize: vertical;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand img {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand h3 {
    font-size: 18px;
    margin-bottom: 12px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-col p {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-contact p {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 12px;
    color: #666;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Scroll to Top */
#scrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

#scrollTop.show {
    opacity: 1;
    visibility: visible;
}

#scrollTop:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* AOS Override */
[data-aos] {
    pointer-events: auto !important;
}


/* Modal - Make sure this exists */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--gradient);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.modal-header h3 i {
    margin-right: 10px;
}

.modal-close {
    font-size: 28px;
    font-weight: 400;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.modal-body {
    padding: 24px;
}

.modal-body .form-group {
    margin-bottom: 18px;
}

.modal-body .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.modal-body input,
.modal-body select,
.modal-body textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--white);
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(178, 43, 51, 0.1);
}

.modal-body textarea {
    resize: vertical;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

@media (max-width: 576px) {
    .modal-body .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
}

/* Emergency Modal Styles */
.modal-emergency {
    max-width: 450px;
}

.emergency-header {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.emergency-numbers {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.emergency-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.emergency-card:hover {
    transform: translateX(5px);
    border-color: #dc2626;
    background: #fff5f5;
}

.emergency-card i {
    font-size: 32px;
    color: #dc2626;
}

.emergency-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.emergency-card a {
    font-size: 20px;
    font-weight: 700;
    color: #dc2626;
    text-decoration: none;
    letter-spacing: 1px;
}

.emergency-card a:hover {
    text-decoration: underline;
}

.emergency-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #fef3c7;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.emergency-note i {
    font-size: 18px;
    color: #d97706;
}

.emergency-note p {
    font-size: 12px;
    color: #92400e;
    margin: 0;
}

.close-emergency-btn {
    width: 100%;
}

/* Nav Right - Desktop */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Emergency Button */
.btn-emergency {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-emergency:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    color: #ffffff;
}

/* Staff Login Button */
.btn-staff {
    background: transparent;
    color: var(--secondary);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1.5px solid var(--secondary);
    white-space: nowrap;
}

.btn-staff:hover {
    background: var(--gradient);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-right {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 20px;
    }
    
    .btn-emergency,
    .btn-staff {
        width: 100%;
        justify-content: center;
        white-space: nowrap;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 30px 20px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 16px;
        display: block;
        padding: 8px 0;
    }
}

/* Brand Wrapper */
.brand-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tagline {
    font-size: 9px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Adjust nav-brand for vertical alignment */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo {
    height: 42px;
    width: auto;
}