/* GLOBAL RESET & TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@600&display=swap');

:root {
    /* ELECTRO-HOMEO / AYURVEDA PALETTE */
    --primary: #4e7c39;      /* Herbal Green */
    --primary-dark: #2d4c1e; /* Deep Forest Green */
    --accent: #d4a017;       /* Gold/Turmeric (for highlights) */
    --bg-light: #f9fdf7;     /* Very pale mint background */
    --text-dark: #3e3e3e;    /* Softer dark gray */
    --text-brown: #5d4037;   /* Earthy Brown for headings */
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(78, 124, 57, 0.1); /* Greenish shadow */
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
}

/* HEADINGS - "Ancient Wisdom" feel */
h1, h2, h3, .brand {
    font-family: 'Playfair Display', serif;
    color: var(--text-brown);
}

/* NAVIGATION */
.navbar {
    background: rgba(255, 255, 255, 0.95); /* Slight transparency */
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }

.brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links .btn-nav {
    background: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
}
.nav-links .btn-nav:hover { background: var(--primary-dark); }

/* ============================
   HERO SECTION (Updated) 
   ============================ */
.hero-section {
    /* Background Image with Dark Overlay */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.pexels.com/photos/1051838/pexels-photo-1051838.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    height: 80vh; 
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: -76px; /* Pulls it up behind the navbar */
    padding-top: 76px;
}

.hero-content { 
    width: 100%; 
    z-index: 1;
}

/* Hero Typography */
.animate-text { 
    font-size: 3.5rem; 
    font-family: 'Playfair Display', serif; 
    margin-bottom: 20px; 
    line-height: 1.2;
    color: #f1f8e9;
    animation: fadeInDown 1s ease-out;
}

.hero-subtext { 
    font-size: 1.3rem; 
    margin-bottom: 40px; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
    opacity: 0.9; 
    font-weight: 300;
}

/* ============================
   BUTTONS (Updated) 
   ============================ */
.btn {
    display: inline-block;
    padding: 12px 30px; 
    border-radius: 30px; 
    text-decoration: none; 
    margin: 10px; 
    transition: 0.3s; 
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary { 
    background: var(--primary); 
    color: white; 
    border: 2px solid var(--primary);
}

.btn-primary:hover { 
    background: var(--accent); 
    border-color: var(--accent);
    color: black;
    transform: translateY(-3px);
}

.btn-outline { 
    border: 2px solid white; 
    color: white; 
    background: transparent;
}

.btn-outline:hover { 
    background: white; 
    color: var(--primary); 
}

/* ============================
   SECTIONS & SERVICES 
   ============================ */
.section { padding: 60px 0; }

.section-title { text-align: center; margin: 80px 0 50px 0; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-title span { display: block; width: 80px; height: 3px; background: var(--accent); margin: 0 auto; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 80px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid var(--primary); /* Default border color */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon-box { font-size: 3rem; margin-bottom: 20px; color: var(--primary); }

/* DOCTOR SECTION */
.doctor-section { background-color: #f1f8e9; padding: 80px 0; }
.doctor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.doctor-img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); border: 5px solid white; }

/* ============================
   FOOTER STYLING 
   ============================ */
.main-footer {
    background-color: var(--primary-dark);
    color: #e8f5e9;
    padding-top: 60px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

/* Brand Column */
.footer-brand {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-col p { font-size: 0.95rem; line-height: 1.8; opacity: 0.8; }

/* Links List */
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: #e8f5e9;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* Contact List */
.contact-list { list-style: none; padding: 0; }
.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.95rem;
    opacity: 0.9;
}
.contact-list li span { margin-right: 15px; font-size: 1.2rem; }
.contact-list a { color: #e8f5e9; text-decoration: none; }

/* Copyright Bar */
.footer-bottom {
    background-color: #1b3310;
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #aaa;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section { height: auto; padding: 100px 0; margin-top: 0; }
    .animate-text { font-size: 2.2rem; }
    .hero-subtext { font-size: 1rem; }
    
    .info-bar { grid-template-columns: 1fr; margin-top: 0; }
    .doctor-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Standard Mobile Menu Hide */
    
    .footer-grid { text-align: center; }
    .contact-list li { justify-content: center; }
}

/* ============================
   INFO BAR (The Missing Section)
   ============================ */
.info-bar {
    background: var(--white);
    padding: 40px 0;
    margin-top: -60px; /* Pulls it up to overlap hero image */
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Forces 3 columns */
    gap: 20px;
    text-align: center;
    border-bottom: 4px solid var(--accent); /* Gold line at bottom */
}

.info-item {
    padding: 20px;
}

.info-item h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.info-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Mobile Fix for Info Bar */
@media (max-width: 768px) {
    .info-bar { 
        grid-template-columns: 1fr; /* Stack vertically on phone */
        margin-top: 20px; 
    }
}

