/* --- Variables & Reset --- */
:root {
    --primary: #2C5F2D; /* Deep Forest Green */
    --primary-dark: #1A3C1B;
    --accent: #D4AF37; /* Antique Gold */
    --light: #F9F7F2; /* Cream/Off-White */
    --white: #FFFFFF;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --shadow: 0 10px 30px rgba(44, 95, 45, 0.08);
    --shadow-hover: 0 15px 40px rgba(44, 95, 45, 0.15);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.2;
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light); }

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

.text-center { text-align: center; }

/* Section Headers */
.section-header { margin-bottom: 50px; }
.sub-heading {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.separator {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-links a:hover { color: var(--primary); }

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
}
.btn-nav:hover { background: var(--primary-dark); }

.mobile-menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* --- Hero Section --- */
.hero {
    height: 100vh; /* Full viewport height */
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1600607686527-6fb886090705?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 60, 27, 0.9), rgba(44, 95, 45, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 60px;
}

.hero-subtitle {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons { display: flex; gap: 15px; }

.btn {
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}
.btn-primary:hover { background: #e6c52d; transform: translateY(-3px); }

.btn-outline {
    border: 2px solid white;
    color: white;
}
.btn-outline:hover { background: white; color: var(--primary); }

/* --- Trust Banner --- */
.trust-banner {
    background: var(--primary-dark);
    color: white;
    padding: 40px 0;
    margin-top: -5px;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.trust-item i { font-size: 2rem; color: var(--accent); }
.trust-item h3 { color: white; font-size: 1.2rem; margin-bottom: 2px; }
.trust-item p { font-size: 0.9rem; opacity: 0.8; }

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.5rem;
    transition: 0.3s;
}

.service-card:hover .icon-box {
    background: var(--primary);
    color: white;
}

.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; color: var(--text-light); }

/* --- Doctors --- */
.doctors-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.doctor-card {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

.doctor-image {
    width: 40%;
    position: relative;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.doctor-card:hover .doctor-image img { transform: scale(1.05); }

.doctor-details {
    width: 60%;
    padding: 25px;
}

.doctor-details h3 { font-size: 1.4rem; color: var(--primary); }
.designation { font-size: 0.8rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: 10px; }
.doc-bio { font-size: 0.85rem; color: var(--text-light); margin-bottom: 15px; line-height: 1.5; }

.specialties-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 15px; }
.specialties-tags span {
    background: var(--light);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--primary-dark);
}

.btn-text {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.btn-text:hover { gap: 10px; color: var(--accent); }

/* --- Appointment Section --- */
.appointment-section {
    background: linear-gradient(rgba(26, 60, 27, 0.95), rgba(26, 60, 27, 0.9)), 
                url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
    color: white;
}

.appointment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.appointment-content h2 { color: white; font-size: 3rem; margin-bottom: 20px; }
.sub-heading-light { color: var(--accent); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

.contact-highlight { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.ch-item { display: flex; align-items: center; gap: 15px; }
.ch-item i { width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--accent); }
.ch-item div { display: flex; flex-direction: column; }
.ch-item a { color: white; }

.appointment-form-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--primary-dark); }
.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
}
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--primary); background: #fbfbfb; }

.btn-full { width: 100%; background: var(--primary); color: white; border: none; padding: 15px; font-size: 1rem; border-radius: 6px; cursor: pointer; }
.btn-full:hover { background: var(--primary-dark); }

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}
.stars { color: #F1C40F; margin-bottom: 15px; }
.testimonial-card p { font-style: italic; color: var(--text-light); margin-bottom: 20px; }
.client-name { font-weight: 700; color: var(--primary); }

/* --- Footer --- */
.footer-map-section { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.map-box { height: 350px; width: 100%; }
.map-box iframe { width: 100%; height: 100%; filter: grayscale(20%) contrast(1.2); }

.footer-info { padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }

.footer-col h3 { color: white; font-size: 1.2rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.95rem; }
.social-icons { margin-top: 20px; }
.social-icons a { width: 35px; height: 35px; background: rgba(255,255,255,0.1); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; margin-right: 10px; color: white; }
.social-icons a:hover { background: var(--accent); }

.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.85rem; }

/* --- Floating Buttons --- */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
}
.float-wa:hover { transform: scale(1.1); }

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero h1 { font-size: 2.8rem; }
    .appointment-wrapper, .doctor-card { grid-template-columns: 1fr; }
    .doctor-card { flex-direction: column; }
    .doctor-image { width: 100%; height: 250px; }
    .doctor-details { width: 100%; }
    .trust-grid { grid-template-columns: 1fr; text-align: left; }
    .trust-item { justify-content: flex-start; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 80%;
        height: calc(100vh - 70px);
        padding: 40px;
        box-shadow: -10px 0 20px rgba(0,0,0,0.1);
        transition: 0.4s;
    }
    .nav-links.active { right: 0; }
    .mobile-menu-toggle { display: block; }
    
    .hero { min-height: 500px; }
    .hero h1 { font-size: 2.2rem; }
    .form-grid { grid-template-columns: 1fr; }
}