/* css/style.css */

:root {
    --primary: #005A9C;     /* Medical Blue */
    --primary-light: #1e88e5;
    --primary-dark: #003f72;
    --accent: #0f766e;      /* Medical Teal */
    --accent-light: #14b8a6;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ================= HEADER & NAV ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand .logo {
    height: 100px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text h1 {
    margin: 0;
    font-size: 22px;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.tagline {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ================= TOP BAR ================= */
.top-bar {
    background: var(--primary-dark);
    color: white;
    padding: 8px 40px;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    font-size: 13px;
    font-weight: 500;
}

.top-bar a {
    color: #e0f2fe;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar a:hover {
    color: white;
}

/* ================= UTILITIES ================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

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

.cta-btn, .apply-btn, button[type="submit"] {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 90, 156, 0.2);
}

.cta-btn:hover, .apply-btn:hover, button[type="submit"]:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 90, 156, 0.3);
    color: white;
}

/* ================= FOOTER ================= */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-top: 60px;
    font-size: 14px;
}

footer p {
    opacity: 0.8;
}

/* ================= SOCIAL LINKS ================= */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 5px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
}

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

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .top-bar {
        justify-content: center;
        padding: 10px 20px;
    }
}
