/* ==================================
   CSS Variables & Resets
   ================================== */
:root {
    /* Colors - Green & White Medical Theme */
    --primary-color: #0d945a;       /* Deep Medical Green */
    --primary-dark: #096b41;
    --primary-light: #e6f7ef;
    --secondary-color: #1a2b3c;     /* Dark Blue/Gray for Text */
    --accent-color: #26c680;        /* Bright Green for contrast */
    --light-bg: #f8fbf9;
    --white: #ffffff;
    
    /* WhatsApp Color */
    --whatsapp-color: #25D366;
    
    /* Text Colors */
    --text-main: #333333;
    --text-muted: #6c757d;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 25px rgba(13, 148, 90, 0.1);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-primary {
    color: var(--primary-color) !important;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ==================================
   Typography & Utilities
   ================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.3;
}

.highlight {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    gap: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13, 148, 90, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 90, 0.4);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary-color);
    border: 1px solid #e0e0e0;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.heading-line {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    border-radius: 2px;
    margin-bottom: 30px;
}

/* ==================================
   Header & Navigation
   ================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 15px 0;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 2rem;
}

.logo h1 {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.1;
}

.logo span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 1rem;
    position: relative;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

/* ==================================
   Hero Section
   ================================== */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f0fbf5 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 15px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.border-left {
    padding-left: 20px;
    border-left: 1px solid #eaeaea;
}

.stars {
    color: #FFB800;
    font-size: 1.1rem;
}

.trust-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-text strong {
    color: var(--secondary-color);
}

/* Doctor Image Placeholder Setup */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 30px;
    background: linear-gradient(45deg, var(--primary-light), #d1f0e1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.doctor-placeholder {
    text-align: center;
    color: var(--primary-dark);
}

.doctor-placeholder i {
    font-size: 5rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.doctor-placeholder p {
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.7;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
    color: var(--accent-color);
}

.floating-card h4 {
    margin: 0;
    font-size: 1rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ==================================
   About Section
   ================================== */
.about-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.clinic-placeholder {
    width: 100%;
    height: 450px;
    background-color: var(--light-bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--primary-light);
    border: 2px dashed #d1f0e1;
}

.lead {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.about-content p {
    margin-bottom: 25px;
    color: var(--text-muted);
}

.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.qual-card {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.qual-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.qual-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.qual-card h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.qual-card p {
    margin: 0;
    font-size: 0.85rem;
}

/* ==================================
   Services Section
   ================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: scaleX(0);
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

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

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
}

/* ==================================
   Timings Section
   ================================== */
.schedule-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.schedule-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    min-width: 300px;
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.schedule-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.schedule-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.schedule-icon.morning {
    background-color: #fff8e1;
    color: #ffb300;
}

.schedule-icon.evening {
    background-color: #e8eaf6;
    color: #3f51b5;
}

.schedule-card h3 {
    margin-bottom: 20px;
}

.time-slots p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.time-slots strong {
    font-size: 1.4rem;
    color: var(--primary-color);
    display: block;
}

.sunday-note {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: #ffebee;
    color: #d32f2f;
    border-radius: 50px;
    font-weight: 500;
}

/* ==================================
   Contact Section
   ================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-circle.wa-color {
    background-color: #e8fbec;
    color: var(--whatsapp-color);
}

.info-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-text p {
    color: var(--text-muted);
    margin: 0;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

/* ==================================
   Footer & Floating Elements
   ================================== */
.footer {
    background-color: var(--secondary-color);
    padding: 30px 0;
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==================================
   Responsive Media Queries
   ================================== */
@media screen and (max-width: 992px) {
    .hero-container,
    .about-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-container {
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    
    .hero-actions,
    .trust-indicators {
        justify-content: center;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
    
    .schedule-wrapper {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 30px;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 15px;
    }

    .border-left {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #eaeaea;
        padding-top: 15px;
    }

    /* Mobile Nav */
    .mobile-toggle {
        display: block;
    }

    .d-md-none-mobile {
        display: none !important;
    }

    .navbar {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: inset 0 5px 10px rgba(0,0,0,0.05);
    }

    .navbar.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
