
/* Header Styles */
header {
    padding: 20px 40px;
    border-bottom: 1px solid #eee;
    background-color: #fff; /* Ensure background is not transparent */
    position: fixed; /* Make header fixed */
    top: 0; /* Position at top */
    left: 0; /* Position at left */
    width: 100%; /* Full width */
    z-index: 1000; /* Ensure it stays on top of other content */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Add subtle shadow for depth */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

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

.contact-info {
    text-align: right;
}

.top-contact {
    margin-bottom: 15px;
    font-size: 14px;
}

.separator {
    margin: 0 10px;
    color: #ccc;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    font-weight: 600;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease; /* Add transition for color change */
}

/* Remove the line animation and just add color transition */
.main-nav a:hover {
    color: #888; /* Gray color on hover */
}

/* Mobile Navigation Styles */
.mobile-nav-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px;
    text-align: center;
}

/* Hamburger Menu Button Styles */
.hamburger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #3b82f6; /* Blue color */
    color: white;
    border: 2px solid #2563eb;
    border-radius: 6px;
    padding: 12px 24px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s;
}

.hamburger-btn:hover {
    background-color: #2563eb;
}

/* Hamburger Icon */
.hamburger-icon {
    width: 24px;
    height: 24px;
    position: relative;
    display: inline-block;
}

.hamburger-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 3;
    fill: none;
}

/* Mobile Menu Dropdown */
.mobile-menu-dropdown {
    display: none;
    position: absolute;
    top: 80px; /* Position below the button */
    left: 50%;
    transform: translateX(-50%);
    width: 250px; /* Width of dropdown */
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 2px solid #e5e7eb;
    z-index: 1001;
}

.mobile-menu-dropdown.open {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.mobile-menu-dropdown a {
    display: block;
    padding: 12px 16px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
}

.mobile-menu-dropdown a:last-child {
    border-bottom: none;
}

.mobile-menu-dropdown a:hover {
    background-color: #f9fafb;
}

.mobile-menu-dropdown a.active {
    color: #2563eb;
    font-weight: 600;
}

/* Responsive Header Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    /* Modify top-contact to display items in a column */
    .top-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    /* Hide separator in mobile view since items are now stacked */
    .top-contact .separator {
        display: none;
    }
    
    /* Hide regular navigation on mobile */
    .main-nav {
        display: none;
    }
    
    /* Remove the hamburger menu container since we're not using it */
    .mobile-nav-container {
        display: none !important;
    }

    body {
        padding-top: 140px; /* Increased padding to account for taller header in mobile */
    }
}
