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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #FFFAF2;
    color: #1F1F1F;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Navigation */
header {
    background: #FFFAF2;
    color: #1F1F1F;
    padding: 0.25rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #1F1F1F;
    border-radius: 2px;
    transition: transform 0.2s ease;
}

nav {
    display: flex;
    gap: 2rem;
    margin-right: 5rem;
}

nav a {
    color: #1F1F1F;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #E94B3C;
}

/* Mobile Menu */
#nav-mobile {
    position: absolute;
    top: 8rem;
    left: 0;
    right: 0;
    background: #80CDFF;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    display: flex;
}

#nav-mobile.active {
    max-height: fit-content;
}

#nav-mobile a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    background: linear-gradient(135deg, #80CDFF 0%, #80CDFF 10%, #6DB89C 40%, #5CA68D 100%);
}

#nav-mobile a:hover {
    background: #E94B3C;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #80CDFF 0%, #80CDFF 10%, #6DB89C 40%, #5CA68D 100%);
    color: white;
    padding: 1rem 1rem;
    text-align: center;
}

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

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: #FF9F96;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #D93A2C;
    transform: scale(1.05);
}

/* Main Content */
main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    text-align: center;
}

/* Accordion Styles */
.services-section {
    background: linear-gradient(135deg, rgba(128, 205, 255, 0.1) 0%, rgba(109, 184, 156, 0.1) 100%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="medical" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="20" cy="20" r="2" fill="%235CA68D" opacity="0.1"/><circle cx="50" cy="50" r="2" fill="%2380CDFF" opacity="0.1"/><circle cx="80" cy="20" r="2" fill="%235CA68D" opacity="0.1"/><line x1="0" y1="50" x2="100" y2="50" stroke="%5CA68D" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="1200" height="800" fill="url(%23medical)"/></svg>');
    background-attachment: fixed;
    padding: 1rem 1rem;
}

.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(59, 124, 166, 0.2);
}

.accordion-header {
    width: 100%;
    background: linear-gradient(135deg, #80CDFF 0%, #5CA68D 100%);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    text-align: left;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #6DB89C 0%, #5CA68D 100%);
}

.accordion-title {
    flex: 1;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    color: #666666;
    padding: 0.75rem;
    line-height: 1.6;
    margin: 0;
}

.accordion-item.active .accordion-header {
    background: linear-gradient(135deg, #5CA68D 0%, #4A8B77 100%);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

section h2 {
    color: #5CA68D;
    margin-bottom: 2rem;
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
}

section p {
    color: #1F1F1F;
}

#doctors,
#appointments,
#contact {
    margin: 3rem 0;
    text-align: center;
}

/* Contact Section */
#contact {
    margin: 3rem 0;
    text-align: center;
}
#contact h1 {
    color: #5CA68D;
    font-size: 1.5rem;
    font-weight: bold;
}
#contact h2 {
    color: #5CA68D;
    margin-bottom: 2rem;
    font-size: 1.875rem;
    font-weight: bold;
}
#contact p {
    color: #1F1F1F;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #80CDFF 0%, #80CDFF 10%, #6DB89C 40%, #5CA68D 100%);
    color: white;
    text-align: center;
    padding: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        margin-right: 0rem;
    }

    #nav-mobile { 
        top: 3.5rem
    }

    .logo img {
        width: 45px;
        height: auto;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
