/* VARIABLES & RESET */
:root {
    --primary: #0f766e; /* Deep Teal - Trust & Health */
    --primary-light: #ccfbf1;
    --secondary: #1e3a8a; /* Deep Blue - Professionalism */
    --accent: #f59e0b; /* Amber - Actions */
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow: 0 10px 25px rgba(15, 118, 110, 0.08);
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

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

/* TYPOGRAPHY */
h1, h2, h3, h4 { color: var(--secondary); font-weight: 700; }
.section-title { font-size: 36px; margin-bottom: 15px; }
.section-subtitle { color: var(--primary); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; display: block; margin-bottom: 8px; }
.text-white { color: #ffffff !important; }
.center { text-align: center; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}
.btn-primary { background-color: var(--primary); color: #fff; }
.btn-primary:hover { background-color: var(--secondary); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2); }
.btn-white { background-color: #fff; color: var(--primary); }
.btn-white:hover { background-color: var(--primary-light); }
.btn-outline-primary { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline-primary:hover { background-color: var(--primary); color: #fff; }
.btn-block { width: 100%; display: block; }

/* TOP BAR */
.top-bar { background-color: var(--secondary); color: #fff; padding: 10px 0; font-size: 13px; font-weight: 500; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-alert i { color: #ef4444; margin-right: 5px; }
.top-contact span { margin-left: 20px; }
.top-contact i { color: var(--accent); margin-right: 5px; }

/* NAVBAR */
.navbar { background: #fff; padding: 15px 0; position: sticky; top: 0; z-index: 1000; transition: 0.3s; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.navbar.scrolled { padding: 10px 0; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 26px; font-weight: 800; color: var(--secondary); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo i { color: var(--primary); }
.logo span { color: var(--primary); }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { color: var(--text-main); text-decoration: none; font-size: 15px; font-weight: 600; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--secondary); cursor: pointer; }

/* HERO SECTION */
.hero {
    position: relative;
    padding: 120px 0 140px;
    background: url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 650px; }
.hero-badge { display: inline-block; background: var(--primary-light); color: var(--primary); font-weight: 700; font-size: 13px; padding: 6px 16px; border-radius: 20px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.hero h1 { font-size: 52px; line-height: 1.15; margin-bottom: 20px; color: var(--secondary); }
.hero p { font-size: 18px; color: var(--text-light); margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 15px; }

/* STATS SECTION */
.stats-section { margin-top: -60px; position: relative; z-index: 10; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { background: #fff; border-radius: 12px; padding: 25px; display: flex; align-items: center; gap: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.stat-icon { width: 60px; height: 60px; background: var(--primary-light); color: var(--primary); border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 24px; flex-shrink: 0; }
.stat-card h3 { font-size: 28px; margin-bottom: 2px; }
.stat-card p { font-size: 14px; color: var(--text-light); font-weight: 500; margin: 0; }

/* SECTIONS */
.section { padding: 90px 0; }
.bg-light { background-color: var(--bg-light); }

/* ABOUT SECTION */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content p { color: var(--text-light); margin-bottom: 30px; font-size: 16px; }
.feature-list { display: flex; flex-direction: column; gap: 25px; }
.feature-item { display: flex; gap: 15px; }
.feature-item i { background: var(--primary); color: #fff; width: 30px; height: 30px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 14px; flex-shrink: 0; margin-top: 3px; }
.feature-item h4 { margin-bottom: 5px; font-size: 18px; }
.feature-item p { margin: 0; font-size: 14px; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); }
.experience-badge { position: absolute; bottom: -20px; left: -20px; background: var(--secondary); color: #fff; padding: 25px; border-radius: 16px; text-align: center; border: 4px solid #fff; box-shadow: var(--shadow); }
.experience-badge h2 { color: var(--accent); font-size: 36px; margin: 0; }
.experience-badge p { font-weight: 600; margin: 0; line-height: 1.2; }

/* SERVICES SECTION */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.service-card { background: #fff; padding: 40px 30px; border-radius: 12px; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.02); border: 1px solid var(--border); transition: 0.3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary-light); }
.service-icon { width: 70px; height: 70px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 30px; margin: 0 auto 20px; transition: 0.3s; }
.service-card:hover .service-icon { background: var(--primary); color: #fff; }
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: 14px; margin: 0; }

/* DOCTORS SECTION */
.doctors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.doctor-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid var(--border); }
.doc-img { height: 280px; overflow: hidden; }
.doc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc-info { padding: 25px; text-align: center; }
.doc-info h3 { font-size: 22px; margin-bottom: 5px; }
.doc-specialty { color: var(--primary); font-weight: 700; font-size: 14px; margin-bottom: 5px; }
.doc-degree { color: var(--text-light); font-size: 13px; margin-bottom: 20px; }

/* APPOINTMENT SECTION */
.appointment-section { background: var(--secondary); padding: 80px 0; }
.appointment-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.contact-card-info { display: flex; align-items: center; gap: 20px; background: rgba(255,255,255,0.1); padding: 25px; border-radius: 12px; color: #fff; margin-top: 30px; border-left: 4px solid var(--accent); }
.contact-card-info i { font-size: 36px; color: var(--accent); }
.contact-card-info h4 { color: #fff; margin-bottom: 5px; }
.appointment-form-wrapper { background: #fff; padding: 40px; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.appointment-form-wrapper h3 { font-size: 24px; margin-bottom: 25px; color: var(--secondary); text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-main); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px; border: 1px solid var(--border); border-radius: 8px; outline: none; font-family: var(--font-main); font-size: 14px; background: var(--bg-light); transition: 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); background: #fff; }

/* FOOTER */
.footer { background: #0f172a; color: #cbd5e1; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-about p { margin: 20px 0; font-size: 14px; line-height: 1.8; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; text-decoration: none; transition: 0.3s; }
.social-links a:hover { background: var(--primary); }
.footer h4 { color: #fff; font-size: 18px; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links a { color: #cbd5e1; text-decoration: none; display: block; margin-bottom: 10px; font-size: 14px; transition: 0.3s; }
.footer-links a:hover { color: var(--primary-light); padding-left: 5px; }
.footer-contact p { margin-bottom: 12px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--primary); font-size: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 20px 0; font-size: 13px; }

/* FLOATING WHATSAPP */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 32px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); z-index: 999; text-decoration: none; transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* MOBILE RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .appointment-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid, .doctors-grid { grid-template-columns: repeat(2, 1fr); }
    .experience-badge { left: 20px; }
}

@media (max-width: 768px) {
    .top-bar-content { flex-direction: column; gap: 10px; text-align: center; }
    .top-contact span { display: block; margin: 5px 0 0; }
    
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 1px solid var(--border); }
    .nav-links.active { display: flex; }
    .nav-cta .btn { display: none; }
    .mobile-toggle { display: block; }

    .hero { padding: 80px 0 100px; text-align: center; }
    .hero-overlay { background: rgba(255,255,255,0.9); }
    .hero h1 { font-size: 40px; }
    .hero-buttons { flex-direction: column; justify-content: center; }
    
    .stats-grid, .services-grid, .doctors-grid, .form-row { grid-template-columns: 1fr; }
    .appointment-form-wrapper { padding: 25px; }
                 }
