/* Root Variables */
:root {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --secondary: #f0f9fa;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: #ffffff;
}

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

/* Header */
.header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.logo {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.logo-text h1 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-text p {
    font-size: 12px;
    color: var(--text-light);
}

.nav {
    display: flex;
    gap: 30px;
    flex: 1;
    margin-left: 40px;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .header .container {
        justify-content: space-between;
    }
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    font-size: 16px;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    font-size: 16px;
}

.btn-outline:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
}

/* Quick Info */
.quick-info {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-card .icon {
    font-size: 32px;
    flex-shrink: 0;
}

.info-card .label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-card .value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8fafc;
}

.services h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 50px;
    max-width: 500px;
}

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

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.service-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* Doctors Section */
.doctors {
    padding: 80px 0;
    background: white;
}

.doctors h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.doctor-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.doctor-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.doctor-avatar {
    font-size: 60px;
    margin-bottom: 16px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 100%);
    border-radius: 12px;
}

.doctor-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.doctor-card p {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

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

/* Responsive */
@media (max-width: 768px) {
    .services-grid,
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-secondary,
    .btn-outline {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.doctor-card {
    animation: fadeInUp 0.6s ease-out;
}
