:root {
    --primary-blue: #1E3A8A;
    --primary-teal: #14B8A6;
    --primary-amber: #F59E0B;
    --color-white: #FFFFFF;
    --color-slate: #64748B;
    --bg-light: #F1F5F9;

    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-slate);
    line-height: 1.6;
    background-color: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    line-height: 1.2;
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 800;
}

.section-desc {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.125rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-teal);
    color: white;
}

.btn-primary:hover {
    background-color: #0f766e;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: #eff6ff;
}

.btn-warning {
    background-color: var(--primary-amber);
    color: white;
}

.btn-warning:hover {
    background-color: #d97706;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.logo-img {
    height: 85px;
    /* Increased from 48px */
    width: auto;
    transition: height 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}


.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    font-weight: 600;
    color: var(--color-slate);
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--primary-blue);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: none;
    background: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--color-slate);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder-visual {
    background-color: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-white {
    color: white;
}

/* Doctors */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.doctor-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border-top: 5px solid var(--primary-teal);
}

.doctor-card:hover {
    transform: translateY(-5px);
}

.doctor-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.doctor-name {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.doctor-specialty {
    color: var(--primary-teal);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.cedulas-container {
    background-color: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.cedula-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
}

.cedula-number {
    font-family: monospace;
    font-weight: 600;
    color: var(--color-slate);
}

/* Info Grid (Parents) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.info-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Partners */
.partners-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.partner-item {
    background: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary-teal);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Location */
.location-section {
    background-color: var(--primary-blue);
    color: white;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-info h3 {
    color: var(--primary-teal);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.location-info p {
    font-size: 1.25rem;
    color: #e2e8f0;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 2rem 0;
    text-align: center;
}

.footer a {
    color: #cbd5e1;
    text-decoration: underline;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .nav-list.active {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra styles for detailed doctor cards */
.doctor-details {
    text-align: left;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.doctor-details strong {
    color: var(--primary-blue);
}

.mt-2 {
    margin-top: 0.5rem;
}

.divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 1rem 0;
}

.detail-title {
    color: var(--primary-teal);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.specialty-list {
    list-style-position: inside;
    margin-bottom: 1rem;
    color: var(--color-slate);
}

.specialty-list li {
    margin-bottom: 0.25rem;
}

.contact-mini p {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

/* Vaccine Card Styles */
.vaccine-card {
    border-left: 5px solid var(--primary-amber);
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 1rem;
    font-size: 0.95rem;
    padding: 0;
}

.vaccine-content {
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.vaccine-content.hidden {
    display: none;
}

.vaccine-timeline {
    list-style: none;
    text-align: left;
}

.vaccine-timeline li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #e2e8f0;
}

.vaccine-timeline li:last-child {
    border-bottom: none;
}

.vaccine-timeline strong {
    display: block;
    color: var(--primary-teal);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.note-small {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 1rem;
}