/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    padding: 12px 0;
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Scrolled state - adds background */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    padding: 0 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: -14px;
}

/* Logo */
.logo img {
    height: 100px;
    width: 100px;
    object-fit: contain;
}

.header.scrolled .logo img {
    content: url('../img/logo_black.png');
}

/* When header has .scrolled class - black links */
.header.scrolled .nav-menu a {
    color: #000000;
}

/* H Add this */

.search-icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation */
.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

/* When header has .scrolled class - black links */
.header.scrolled .dropdown.active .nav-menu a {
    color: #000000;
}

.nav-menu.active a {
    color: #000000;
}


.nav-menu a:hover {
    color: #5eb3d4;
}

/* Dropdown */
/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown .arrow {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.dropdown.active .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    flex-direction: column;
    gap: 0;
    margin-top: 15px;
    border-radius: 8px;
}

/* Desktop: Hover to open */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 50px;
    color: #333;
}

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

.quick-search-mobile{
        display: none;
    }

/* Mobile: Click to open */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #f5f5f5;
        margin-top: 0;
        border-radius: 0;
        transform: translateY(0);
        max-height: 0;
        overflow: hidden;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        padding: 10px 0;
    }

    .dropdown>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* Search Button */
.search-btn {
    background: linear-gradient(135deg, #70B0E9, #70B0E9);
    color: white;
    border: none;
    padding: 5px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 179, 212, 0.3);
}

.search-icon {
    font-size: 14px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s;
}

.header.scrolled .hamburger span {
    background-color: #000000;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Body spacing to account for fixed header 
body {
    padding-top: 80px;
}*/

/* Responsive */
/* Responsive 
@media (max-width: 1024px) {
    .nav-menu ul {
        gap: 20px;
    }

    .header-container {
        padding: 0 32px;
    }
}*/


@media (max-width: 1300px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu a {
        display: block;
        padding: 15px 40px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #f5f5f5;
        margin-top: 0;
        border-radius: 0;
        transform: translateY(0);
        max-height: 0;
        overflow: hidden;
        padding: 0;
    }

    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        padding: 10px 0;
    }

    .dropdown>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .search-btn {
        display: none;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    .header-container {
        justify-content: space-between;
    }

    .quick-search-mobile{
        display: flex;
    }
}



/* Webkit browsers (Chrome, Edge, Safari) */
select::-webkit-scrollbar {
    width: 6px;
}

select::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

select::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

select::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}
select {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) #f1f1f1;
}
.sr-native-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2370b0e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat !important;
    background-position: right 10px center  !important;
    background-size: 14px  !important;
    padding-right: 30px !important;
}