:root {
    /* Primary Theme Colors */
    --primary-color: #1976d2;
    --primary-dark: #1565c0;
    --primary-light: #e3f2fd;
    --secondary-color: #25d366;
    --secondary-dark: #1da851;
    
    /* Neutral Colors */
    --text-primary: #2c3e50;
    --text-secondary: #546e7a;
    --text-muted: #455a64;
    --background-white: #ffffff;
    --background-light: #f8fbfd;
    --background-blue: #f1f8ff;
    
    /* Accent Colors */
    --accent-green: #25d366;
    --accent-yellow: #ffc107;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Sticky Header */
nav {
    background: var(--background-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    z-index: 1000;
    padding: 0 var(--spacing-sm);
    height: 64px;
}

nav .nav-wrapper {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .brand-logo {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.3rem;
    position: relative;
    left: 0;
}

nav .cta-buttons {
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
    height: 100%;
}

.header-btn {
    padding: var(--spacing-xs) 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: none;
    box-shadow: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-btn i {
    font-size: 1.1rem;
}

.call-btn {
    background: var(--primary-color);
}

.whatsapp-btn {
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.7), rgba(13, 71, 161, 0.7)), 
                url('../../assets/images/hero-clinic.jpg') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 80px 20px 60px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.hero-cta i {
    font-size: 1.2rem;
}

.hero-primary {
    background: var(--secondary-color);
}

.hero-secondary {
    background: var(--background-white);
    color: var(--primary-color);
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Doctor Section */
.doctor-section {
    background: var(--background-light);
}

.doctor-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--background-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.doctor-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.doctor-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    height: 100%;
    min-height: 450px;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doctor-info {
    flex: 1;
    min-width: 300px;
    padding: var(--spacing-lg);
}

.doctor-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.doctor-info .credentials {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.doctor-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--background-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-content {
    padding: var(--spacing-md);
    text-align: center;
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--background-blue) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: var(--background-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.feature-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
}

.feature-content {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.feature-content i {
    font-size: 2.5rem;
    color: var(--accent-green);
    flex-shrink: 0;
}

.feature-text h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Timings Section */
.timings-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--background-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.timing-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid #e0e0e0;
}

.timing-row:last-child {
    border-bottom: none;
}

.timing-day {
    font-weight: 600;
    color: var(--text-primary);
}

.timing-hours {
    color: var(--primary-color);
    font-weight: 500;
}

.emergency-note {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: #e8f5e9;
    border-radius: var(--radius-md);
    text-align: center;
    color: #2e7d32;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    background: var(--background-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--background-white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.stars {
    color: var(--accent-yellow);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Location Section */
.location-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-info {
    background: var(--background-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item-text h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-item-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.contact-btn {
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-btn i {
    font-size: 1.2rem;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 406px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: var(--spacing-lg) 20px;
    text-align: center;
}

footer h5 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

footer p {
    margin-bottom: var(--spacing-xs);
    font-size: 1.05rem;
}

.footer-credit {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-white);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
    z-index: 999;
    padding: 12px;
}

.mobile-bottom-buttons {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-btn {
    flex: 1;
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-transform: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mobile-btn i {
    font-size: 1.2rem;
}

/* Responsive */
@media only screen and (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .doctor-content {
        flex-direction: column;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }

    footer h5{
        font-size: 1.0rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 600px) {
    nav .brand-logo {
        font-size: 1rem;
        margin: 0 auto;
        -webkit-transform: none;
        transform: none;
    }
    
    .header-btn {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 100px 16px 80px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-cta {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    section {
        padding: 60px 16px;
    }
    
    .mobile-bottom-bar {
        display: block;
    }
    
    body {
        padding-bottom: 70px;
    }
    
    footer h5{
        font-size: 1.0rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}