/* --- VARIABLES & RESET --- */
:root {
    --primary: #0056b3;       /* Medical Blue */
    --primary-dark: #004494;
    --secondary: #28a745;     /* Health Green */
    --accent: #e3f2fd;        /* Light Blue BG */
    --emergency: #dc3545;     /* Red */
    --text-dark: #2d3436;
    --text-gray: #636e72;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --radius: 8px;
    --font-main: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-main); }
body { color: var(--text-dark); background-color: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- UTILITY CLASSES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.d-flex { display: flex; align-items: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.btn { display: inline-block; padding: 12px 28px; border-radius: 50px; font-weight: 600; cursor: pointer; border: none; font-size: 0.95rem; transition: 0.3s; text-align: center; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,86,179,0.3); }
.btn-secondary { background: var(--white); color: var(--primary); border: 2px solid var(--primary); }
.btn-emergency { background: var(--emergency); color: var(--white); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); } }

/* --- HEADER --- */
header { background: var(--white); height: 80px; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.nav-wrapper { height: 100%; justify-content: space-between; }
.logo { font-size: 1.6rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--secondary); }
.nav-links { display: flex; gap: 25px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-dark); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO --- */
.hero { background: linear-gradient(135deg, var(--accent) 0%, #ffffff 100%); padding: 80px 0; }
.hero h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; color: var(--text-dark); }
.search-box { background: var(--white); padding: 15px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.search-input { flex: 1; padding: 12px; border: 1px solid #ddd; border-radius: 6px; outline: none; }

/* --- PAGE HEADERS --- */
.page-header { background: var(--primary); padding: 60px 0; text-align: center; color: var(--white); }
.page-header h1 { font-size: 2.5rem; }

/* --- LEGAL CONTENT --- */
.legal-content { max-width: 900px; margin: 0 auto; background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.legal-content h2 { color: var(--primary); margin-top: 30px; margin-bottom: 15px; border-bottom: 2px solid var(--accent); padding-bottom: 10px; }
.legal-content p, .legal-content li { margin-bottom: 15px; color: #444; }
.legal-content ul { list-style: disc; padding-left: 20px; margin-bottom: 20px; }

/* --- FORMS --- */
.form-group { margin-bottom: 20px; }
.form-control { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; outline: none; transition: 0.3s; }
.form-control:focus { border-color: var(--primary); }

/* --- FOOTER --- */
footer { background: #1a1a1a; color: #fff; padding-top: 60px; margin-top: auto; }
.footer-col h4 { margin-bottom: 20px; color: var(--secondary); font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #aaa; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--white); }
.social-icons a { color: #fff; margin-right: 15px; font-size: 1.2rem; transition: 0.3s; }
.social-icons a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; text-align: center; color: #777; margin-top: 40px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: block; }
    .grid-2, .search-box { grid-template-columns: 1fr; flex-direction: column; }
    .hero h1 { font-size: 2.2rem; }
}

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 25px; right: 25px; background: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 999; }