* {
    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;
    transition: color 0.3s ease;
}
nav a:not(.no-children) {
    font-weight: 500;
}

nav a:hover {
    color: #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 {
    text-align: center;
}

/* Accordion Styles */
.services-section {
    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: 600px;
}

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;
    }
}

/* Navigation Styles - Desktop */
.nav-desktop {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-desktop .nav-link {
    color: #1F1F1F;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-desktop .nav-link:hover,
.nav-desktop .nav-link.active {
    color: #5CA68D;
    border-bottom-color: #5CA68D;
}

.nav-item-dropdown {
    position: relative;
}

.nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 0.5rem;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    z-index: 1000;
}

.nav-item-dropdown:hover .nav-submenu {
    display: flex;
    flex-direction: column;
}

.nav-submenu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #1F1F1F;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-submenu-link:hover,
.nav-submenu-link.active {
    background: #F0F0F0;
    color: #5CA68D;
    padding-left: 1.5rem;
}

.nav-mobile {
    display: none;
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    /* Mobile Menu */
    #nav-mobile {
        position: absolute;
        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:not(.no-children) {
        display: block;
        padding: 0.75rem 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;
    }

    .nav-link-mobile {
        display: block;
        padding: 1rem 1.5rem;
        color: #1F1F1F;
        text-decoration: none;
        border-bottom: 1px solid #F0F0F0;
        background: none;
        border: none;
        cursor: pointer;
        text-align: left;
        width: 100%;
        font-size: 1rem;
        transition: all 0.2s ease;
    }

    .nav-link-mobile:hover,
    .nav-link-mobile.active {
        background: #F0F0F0;
        color: #5CA68D;
        padding-left: 2rem;
    }

    .nav-item-mobile-dropdown {
        border-bottom: 1px solid #F0F0F0;
    }

    .nav-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-toggle-icon {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .nav-item-mobile-dropdown.expanded .nav-toggle-icon {
        transform: rotate(45deg);
    }

    .nav-submenu-mobile {
        display: flex;
        flex-direction: column;
        background: #FAFAF0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-submenu-link-mobile {
        display: block;
        padding: 0.75rem 2rem;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #F0F0F0;
        transition: all 0.2s ease;
        font-size: 0.95rem;
    }

    .nav-submenu-link-mobile:hover,
    .nav-submenu-link-mobile.active {
        background: #F0F0F0;
        color: #5CA68D;
        padding-left: 2.5rem;
    }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: #F5F5F5;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    margin-right: 0rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: #5CA68D;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #4A9A77;
}

.breadcrumb-current {
    color: #1F1F1F;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #999;
}

/* Category Page Styles */
.category-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.category-header {
    text-align: center;
    padding: 1rem 0;
}

.category-header h1 {
    font-size: 2.5rem;
    color: #5CA68D;
    margin-bottom: 0.5rem;
}

.category-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Service Page Styles */
.service-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.service-content-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.service-intro h2 {
    font-size: 2rem;
    color: #5CA68D;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-details,
.service-benefits {
    margin-bottom: 2rem;
}

.service-details h3,
.service-benefits h3 {
    color: #5CA68D;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-details ul,
.service-benefits ul {
    list-style-position: inside;
    line-height: 1.8;
    color: #333;
}

.service-details li,
.service-benefits li {
    margin-bottom: 0.5rem;
}

.service-cta {
    text-align: center;
    padding: 2rem;
    background: #F5F5F5;
    border-radius: 0.5rem;
    margin-top: 3rem;
}

.service-cta p {
    font-size: 1.1rem;
    color: #1F1F1F;
    margin-bottom: 1.5rem;
}

/* Service Index / Grid */
.service-index {
    max-width: 1200px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.service-card h3 a {
    color: #5CA68D;
    text-decoration: none;
    transition: color 0.2s ease;
}

.service-card h3 a:hover {
    color: #4A9A77;
    text-decoration: underline;
}

.service-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-link {
    display: inline-block;
    color: #5CA68D;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.5rem 0rem;
}

.service-link:hover {
    color: #4A9A77;
    margin-left: 0.25rem;
}

@media (max-width: 768px) {
    .category-header h1 {
        font-size: 1.75rem;
    }

    .category-page {
        padding: 0rem;
        .service-page {
            padding: 0rem;

        }
    }

    .service-content-wrapper {
        padding: 1.5rem;
    }

    .service-intro h2 {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .breadcrumb-nav {
        padding: 0.75rem 1rem;
    }

    .service-card {
        margin: 0rem 1rem;
    }
}
