/* Dropdown Menu Styles */
.dropdown-menu {
    transition: opacity 0.3s, visibility 0.3s;
    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.dropdown-menu.show-dropdown {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Add significant delay for hover state to prevent quick closing */
.group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.dropdown-content {
    padding: 0.5rem 0;
}

.dropdown-content a {
    transition: background-color 0.2s;
    display: block;
    padding: 0.75rem 1rem;
}

/* Add a buffer area to prevent accidental mouseout */
.group::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px; /* Buffer height */
    z-index: 49;
}

/* Ensure the dropdown stays open when hovering the buffer area */
.group:hover::after {
    pointer-events: auto;
}

/* Keep dropdown open when hovering the dropdown itself */
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Mobile dropdown styles */
@media (max-width: 1023px) {
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .dropdown-menu.show-dropdown {
        max-height: 500px;
        opacity: 1;
    }
}

/* Base styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Utility classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navbar spacer - compensates for fixed navbar */
.navbar-spacer {
    height: 80px; /* Match this to the navbar height */
}

@media (max-width: 768px) {
    .navbar-spacer {
        height: 70px; /* Adjust for smaller screens if needed */
    }
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
} 