/* Theme 1: Classic Clinical (theme-classic-clinical)
   Vibe: Clean, professional, clinical medical portal. Teal and navy colors. */

body {
    background-color: #f8fafc;
    color: #1e293b;
}

/* Header styling */
.main-header {
    background-color: #ffffff;
    border-bottom: 2px solid #0284c7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
}

.logo-text .accent {
    color: #0284c7;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-list a {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    padding: 8px 16px;
    border-radius: 4px;
}

.nav-list a:hover, .nav-list a.active {
    color: #0284c7;
    background-color: rgba(2, 132, 199, 0.08);
}

/* Language selector */
.lang-selector-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.lang-selector-btn:hover {
    background: #e2e8f0;
}

.lang-dropdown-menu {
    position: absolute;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    list-style: none;
    padding: 8px 0;
    width: 150px;
    display: none;
    z-index: 1001;
}

.lang-dropdown-menu.active {
    display: block;
}

.lang-dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 14px;
    color: #334155;
}

.lang-dropdown-menu a:hover {
    background: rgba(2, 132, 199, 0.05);
    color: #0284c7;
}

/* Footer styling */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    border-top: 4px solid #0284c7;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 70px 0 50px 0;
}

.footer-block h3, .footer-block h4 {
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-block h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #0284c7;
}

.footer-bottom {
    background-color: #020617;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    font-size: 13px;
}

/* Mobile responsive toggle styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    cursor: pointer;
}
.mobile-menu-btn .bar {
    width: 25px;
    height: 3px;
    background: #1e293b;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .nav-bar {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #ffffff;
        transition: all 0.4s ease;
        z-index: 999;
    }
    .nav-bar.active { left: 0; }
    .nav-list {
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        gap: 30px;
    }
    .footer-grid { grid-template-columns: 1fr; }
}
