/* style.css - Version 14.0 (Custom Logo Edition) */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Roboto+Flex:opsz,wght@8..144,300;400;500&display=swap');

:root {
    /* Premium Medical Palette */
    --primary: #005691;      /* Deep Royal Blue */
    --secondary: #008FBD;    /* Bright Medical Blue */
    --accent: #E85D04;       /* Alert Orange */
    --dark: #0f172a;         /* Almost Black */
    --light: #f8fafc;        /* Off-White */
    --white: #ffffff;
    
    /* Variables */
    --shadow-card: 0 10px 40px -10px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 50px -10px rgba(0,86,145,0.2);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; transition: all 0.3s ease; }

body {
    font-family: 'Roboto Flex', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--primary); }

/* --- 1. TOP BAR --- */
.top-bar {
    background-color: var(--primary); color: white;
    padding: 10px 5%; display: flex; justify-content: space-between;
    font-size: 0.85rem; font-weight: 500;
}
.top-info span { margin-right: 20px; }
.top-info i { margin-right: 8px; color: var(--secondary); }

/* --- 2. GLASS NAVIGATION (Logo Updated) --- */
.navbar {
    background: rgba(255, 255, 255, 0.85); /* Slightly more opaque for the logo */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 10px 5%; /* Reduced padding slightly since logo is tall */
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

/* CUSTOM LOGO STYLING */
.logo-link {
    display: flex; align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 65px; /* Perfect height to make tagline readable */
    width: auto;  /* Maintains aspect ratio */
    object-fit: contain;
}

.nav-menu { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-link { 
    text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.95rem;
    position: relative;
}
.nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0;
    background: var(--secondary); transition: 0.3s;
}
.nav-link:hover::after { width: 100%; }

.btn-appoint {
    background: var(--accent); color: white; padding: 12px 25px;
    border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(232, 93, 4, 0.3);
}
.btn-appoint:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232, 93, 4, 0.4); }

/* --- 3. HERO --- */
.hero {
    height: 85vh; position: relative; display: flex; align-items: center;
    color: white; overflow: hidden;
}
.hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0, 32, 63, 0.9) 0%, rgba(0, 86, 145, 0.6) 100%);
    z-index: -1;
}
.hero-content {
    width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 5%;
}
.hero-badge {
    background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;
    display: inline-block; margin-bottom: 20px;
}
.hero h1 { font-size: 3.8rem; line-height: 1.1; margin-bottom: 20px; color: white; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 600px; opacity: 0.9; }

/* --- 4. SERVICES --- */
.section { padding: 100px 5%; max-width: 1300px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-head p { font-size: 1.1rem; color: #64748b; max-width: 600px; margin: 0 auto; }

.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px;
}
.service-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-card); position: relative; group: hover;
}
.service-img {
    height: 220px; width: 100%; object-fit: cover;
}
.service-body { padding: 30px; }
.service-body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-body p { font-size: 0.95rem; color: #64748b; margin-bottom: 20px; }
.service-link {
    color: var(--secondary); text-decoration: none; font-weight: 700;
    display: flex; align-items: center; gap: 5px;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

/* --- 5. STATS --- */
.why-us { background: white; padding: 80px 5%; margin-top: 50px; border-top: 1px solid #e2e8f0; }
.stats-grid {
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-icon {
    font-size: 2.5rem; color: var(--secondary); margin-bottom: 15px;
    background: #e0f2fe; width: 80px; height: 80px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin-inline: auto;
}
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--primary); display: block; }
.stat-label { font-size: 1rem; color: #64748b; font-weight: 500; }

/* --- 6. CTA BANNER --- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white; padding: 80px 5%; text-align: center; margin-top: 100px;
}
.cta-banner h2 { color: white; margin-bottom: 20px; }
.cta-banner .btn-appoint { background: white; color: var(--primary); }

/* --- 7. FOOTER --- */
footer { background: var(--dark); color: #94a3b8; padding: 80px 5% 30px; }
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px;
    max-width: 1200px; margin: 0 auto; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 50px;
}
.footer-col h4 { color: white; margin-bottom: 25px; font-size: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #94a3b8; text-decoration: none; }
.footer-col a:hover { color: white; }

/* --- MOBILE --- */
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 768px) {
    .top-bar { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hamburger { display: block; }
    .nav-menu {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: white; flex-direction: column; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-menu.active { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    
    /* Logo adjustment for mobile if needed */
    .logo-img { height: 50px; } /* Slightly smaller on phone */
}