:root {
    --primary: #0a3d62;
    --primary-light: #3c6382;
    --accent: #D4AF37; /* Premium Gold */
    --accent-hover: #b8962d;
    --text-dark: #1e272e;
    --text-muted: #485460;
    --white: #ffffff;
    --bg-light: #f8fbff;
    --glass: rgba(255, 255, 255, 0.9);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 40px rgba(10, 61, 98, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Header & Navigation */
header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(10, 61, 98, 0.05);
}

.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 65px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

.cta-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
    border: none;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(rgba(10, 61, 98, 0.8), rgba(10, 61, 98, 0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 0 5%;
    margin-bottom: 80px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-light), transparent);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 40px;
    max-width: 900px;
    opacity: 0.9;
    font-weight: 400;
}

/* Feature Grid */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 5%;
    margin-top: -120px;
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
}

.feature-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--accent), #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

/* Sections */
section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title .underline {
    width: 80px;
    height: 5px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 10px;
}

/* Doctor & Service Grid */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.doctor-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid transparent;
}

.doctor-card:hover {
    box-shadow: var(--shadow-premium);
    border-color: rgba(212, 175, 55, 0.2);
    transform: scale(1.02);
}

.doctor-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition);
}

.doctor-card:hover img {
    filter: grayscale(0%);
}

.doctor-info {
    padding: 30px;
    text-align: center;
}

.doctor-info h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -80px;
    }
    
    .nav-links li {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide top bar on mobile for cleaner look */
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none; /* Logic for JS mobile menu */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-premium);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .hero {
        height: 70vh;
    }
    
    .features {
        grid-template-columns: 1fr;
        margin-top: -50px;
        padding: 0 10%;
    }
    
    .doctor-card img {
        height: 280px;
    }
}

/* Footer */
footer {
    background: #051c2d;
    color: var(--white);
    padding: 100px 5% 30px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-col h4 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.footer-col ul li {
    margin-bottom: 15px;
    list-style: none;
}

.footer-col a {
    color: #a4b0be;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #747d8c;
}
