/* --- CSS VARIABLES & BASE RESET --- */
:root {
    --primary-color: #0d9488; /* Teal-600 */
    --primary-dark: #0f766e; /* Teal-700 */
    --secondary-color: #2563eb; /* Blue-600 */
    --text-color: #334155; /* Slate-700 */
    --text-dark: #0f172a; /* Slate-900 */
    --light-bg: #f8fafc; /* Slate-50 */
    --white: #ffffff;
    --whatsapp-color: #25d366;
    --whatsapp-dark: #128c7e;
    --danger-color: #ef4444;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); }

.btn-secondary { background-color: var(--secondary-color); color: var(--white); }
.btn-secondary:hover { background-color: #1d4ed8; }

.btn-whatsapp { background-color: var(--whatsapp-color); color: var(--white); }
.btn-whatsapp:hover { background-color: var(--whatsapp-dark); }

.btn-whatsapp-white { background-color: var(--white); color: var(--whatsapp-dark); }
.btn-whatsapp-white:hover { background-color: #f0fdf4; }

.btn-outline { border: 2px solid var(--primary-color); color: var(--primary-color); background: transparent; }
.btn-outline:hover { background: var(--primary-color); color: var(--white); }

/* --- HEADER & NAVBAR --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 15px;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.btn-nav {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, #e0f2f1 0%, #edf2f7 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.badge {
    background-color: var(--white);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.hero h1 {
    font-size: 3rem;
    color: var(--text-dark);
    margin: 20px 0 15px;
    line-height: 1.2;
}

.hero-sub {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
}

.tags span {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* --- HIGHLIGHTS SECTION --- */
.highlights {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 30px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: center;
}

.highlight-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.05rem;
}

.highlight-item i {
    font-size: 1.3rem;
    color: #2dd4bf;
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.about h2 { font-size: 2.2rem; color: var(--text-dark); margin-bottom: 20px; }
.about p { margin-bottom: 15px; font-size: 1.1rem; }
.about h3 { margin-top: 25px; margin-bottom: 15px; color: var(--text-dark); }

.focus-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.focus-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.focus-list li i { color: var(--primary-color); }

.about-card {
    background: var(--light-bg);
    border-left: 5px solid var(--primary-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
}

.doctor-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.service-card i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
}

/* --- HOW IT WORKS --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
}

.step-card {
    text-align: center;
    padding: 20px;
}

.step-num {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* --- WHY CHOOSE US --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
}

.why-card i {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border-top: 4px solid var(--primary-color);
    font-style: italic;
}

.stars {
    color: #f59e0b;
    margin-bottom: 10px;
    font-style: normal;
}

/* --- HEALTH EDUCATION --- */
.education-container {
    text-align: center;
    max-width: 800px;
}

.education-container h2 { color: var(--text-dark); margin-bottom: 10px; }

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 30px 0;
    text-align: left;
}

.topics-grid span {
    font-size: 1.1rem;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.topics-grid i { color: var(--primary-color); margin-right: 8px; }
.margin-top { margin-top: 20px; }

/* --- CTA SECTION --- */
.appointment-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #042f2e 100%);
    color: var(--white);
    text-align: center;
}

.cta-box h2 { font-size: 2.5rem; margin-bottom: 15px; }
.cta-box p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 30px; opacity: 0.9; }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- FAQ SECTION --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 10px 0;
    color: var(--text-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- CONTACT & DISCLAIMER --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.clinic-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 15px 0;
}

.info-link {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.info-link i { color: var(--primary-color); font-size: 1.2rem; }
.contact-actions { margin-top: 30px; display: flex; gap: 15px; flex-wrap: wrap; }

.disclaimer-box {
    background-color: #fef2f2;
    border-left: 5px solid var(--danger-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.disclaimer-box h3 { color: #991b1b; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.disclaimer-box p { color: #7f1d1d; margin-bottom: 10px; }

/* --- FOOTER --- */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--white); }
.copyright { font-size: 0.9rem; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    
    .menu-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding-top: 30px;
        gap: 20px;
        transition: var(--transition);
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    
    .nav-links.active { left: 0; }
    .btn-nav { width: 80%; }
}


