/* ========== BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    max-width: 100vw;
}

/* ========== NAVIGATION ========== */
nav {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    max-width: 100vw;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5f6f;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
}

.nav-links button {
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    font-weight: 500;
    background: #555;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-links button:hover,
.nav-links button.active {
    background: #2c5f6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.nav-links button:active {
    transform: translateY(0);
}

nav > a {
    text-decoration: none;
}

.btn-appointment {
    background: #4169e1;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-appointment:hover {
    background: #3151c1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.3);
}

/* ========== DROPDOWN MENU ========== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.98);
    min-width: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    border-radius: 8px;
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.dropdown-content a:hover {
    background-color: #f0f5f7;
    border-left: 3px solid #2c5f6f;
    color: #2c5f6f;
}

.dropdown button {
    cursor: pointer;
}

#blogLinks {
    display: block;
}

#blogLinks a {
    border-top: 1px solid #eee;
}

#blogLinks a:first-child {
    border-top: none;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, #5a8a96 0%, #7ba8b5 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: white;
    margin-top: 60px;
    max-width: 100vw;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, #2c5f6f 0%, #5a8a96 100%);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    max-width: 100vw;
}

.cta-section h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.cta-section a {
    text-decoration: none;
}

.cta-button {
    background: white;
    color: #2c5f6f;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* ========== FOOTER ========== */
footer {
    background: #1a3d47;
    color: white;
    padding: 2rem;
    text-align: center;
    max-width: 100vw;
}

/* ========== UTILITY CLASSES ========== */
.highlight {
    color: #2c5f6f;
    font-weight: 700;
}

.content {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ========== RESPONSIVE BASE ========== */
@media (max-width: 1000px) {
    nav {
        flex-wrap: wrap;
        padding: 1rem;
        justify-content: center;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .nav-links {
        order: 2;
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    .nav-links button {
        padding: 8px 16px;
        font-size: 14px;
    }

    nav > a {
        order: 3;
        width: auto;
    }

    .btn-appointment {
        padding: 0.6rem 1.2rem;
        font-size: 14px;
    }

    .dropdown-content {
        min-width: 260px;
        left: auto;
        right: 0;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        padding-top: 1rem;
    }
    
    .cta-section {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.7rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 0.9rem;
    }
    
    .nav-links {
        gap: 0.3rem;
    }
    
    .nav-links button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .btn-appointment {
        padding: 0.5rem 1rem;
        font-size: 12px;
    }

    .dropdown-content {
        min-width: 220px;
    }
    
    .hero {
        padding: 6rem 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.4rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}