/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}


.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 10px;
    /* padding: 1rem 0; */
}

.logo {
    display: flex;
    /* align-items: center; */
    /* margin-right: auto; */
    left: 10px !important;
    /* This pushes everything else to the right */
}

.logo img {
    height: 60px;
    /* Increased from 40px */
    /* margin-right: 0.5rem; Remove this if you want logo to touch left edge */
}

nav ul {
    display: flex;
    list-style: none;
}

/* nav ul li {
    margin-left: 1.5rem;
} */

nav ul li a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark);
}


@media (max-width: 768px) {
    .header-content {
        padding: 0.8rem 0;
    }

    .logo img {
        height: 35px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        margin: 1rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: auto;
        padding: 5rem 0;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-image {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .service-item,
    .feature-item {
        min-width: 100%;
    }

    .event-card {
        width: 300px;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1rem;
    }
}

.dot.active {
    width: 25px;
    border-radius: 10px;
    background-color: #20B2AA;
    /* Matching teal color from your site */
}

/* Add smooth scrolling behavior to the entire page */
html {
    scroll-behavior: smooth;
}

/* Style for active link */
.active {
    color: var(--primary);
    /* Use your theme's primary color */
    font-weight: bold;
}

/* Parent menu */
#nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

#nav-menu>li {
    position: relative;
    margin-right: 20px;
}

#nav-menu a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: #000;
}

#nav-menu a.active,
#nav-menu a:hover {
    color: #4ecdc4;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 220px;
    /* Increased width for better content fit */
    z-index: 9999;
    border-radius: 4px;
    /* Keep rounded corners for full dropdown */
    box-sizing: border-box;
    /* Ensure padding/margin don't distort size */
}

.dropdown-content li {
    border-bottom: 1px solid #eee;
}

.dropdown-content li:last-child {
    border-bottom: none;
}

.dropdown-content a {
    display: block;
    /* Make sure link fills the li */
    padding: 12px 20px;
    /* More vertical/horizontal padding for easier clicking */
    color: #333;
    text-decoration: none;
    line-height: 1.4;
}

.dropdown-content a:hover,
.submenu-item.active {
    background-color: #4ecdc4;
    color: white !important;
}

/* Adjust dropdown arrow or parent container if needed */
/* Make sure parent container has position: relative */

.dropdown {
    position: relative;
    /* Parent container needs this so .dropdown-content aligns */
}

/* Optional: add smooth fade-in */
.dropdown.show .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Cursor for dropdown parent link */
.dropbtn {
    cursor: pointer;
}
