.header-action .dropdown {
    position: relative;
}

.header-action .dropdown .btn {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: #46ac0b;
    color: white;
    border-radius: 20px;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.header-action .dropdown .btn:hover {
    background: #46ac0b;
    transform: scale(1.05);
}

.header-action .dropdown .btn img {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.header-action .dropdown .btn:hover img {
    transform: rotate(15deg);
}

.header-action .dropdown-menu {
    display: none;
    position: absolute;
    top: 120%;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    min-width: 160px;
    z-index: 1000;
    padding: 5px 0;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
}

.header-action .dropdown-menu.show {
    display: block;
}

.header-action .dropdown-menu li {
    list-style: none;
}

.header-action .dropdown-menu a,
.header-action .dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background 0.3s ease, color 0.3s ease;
}

.header-action .dropdown-menu a:hover,
.header-action .dropdown-menu button:hover {
    background: #f1f1f1;
    color: #46ac0b;
}

.header-action .dropdown-menu a i,
.header-action .dropdown-menu button i {
    font-size: 14px;
    color: #46ac0b;
}

.header-action .dropdown-menu button {
    display: flex;
    align-items: center;
}

.navigation .active > a {
    color: #46ac0b;
    font-weight: 600;
}

.navigation .active {
    background: rgba(130, 255, 57, 0.1);
    border-radius: 5px;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.menu-backdrop.active {
    display: block;
}

.mobile-nav-toggler {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
}

.menu-box {
    padding: 20px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.nav-logo {
    margin-bottom: 20px;
}

.menu-outer {
    margin-bottom: 20px;
}

.social-links ul {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links ul li a {
    font-size: 18px;
    color: #333;
}

.social-links ul li a:hover {
    color: #46ac0b;
}

/* Mobile Header Action */
.menu-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    flex-shrink: 0;
}

.mobile-header-action {
    margin-left: auto;
    margin-right: 50px;
}

.small-btn {
    display: inline-flex;
    align-items: center;
    /* Increased padding for larger button */
    padding: 10px 20px; /* Adjusted from 6px 12px to 10px 20px */
    background: #46ac0b;
    color: white;
    border-radius: 20px;
    font-family: 'Arial', sans-serif;
    /* Increased font-size for larger text */
    font-size: 14px; /* Adjusted from 13px to 14px */
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    white-space: normal;
    word-wrap: break-word;
    /* Increased max-width for larger button */
    max-width: 150px; /* Adjusted from 120px to 150px */
}

.small-btn:hover {
    background: #46ac0b;
}

.mobile-user.dropdown {
    position: relative;
}

.mobile-user .user-btn.small-btn {
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.2;
}

.mobile-user .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    min-width: 140px;
    z-index: 1000;
    padding: 5px 0;
}

.mobile-user .dropdown-menu.show {
    display: block;
}

/* Search Popup */
.search-popup-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
}

.search-popup-wrap.active {
    display: block;
}

.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.search-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
}

.search-wrap .title {
    color: white;
    margin-bottom: 20px;
}

.search-form input {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    border: none;
    font-size: 16px;
}

.search-form button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: #46ac0b;
}

/* Responsive Design */
@media (max-width: 991px) {
    .mobile-nav-toggler {
        display: block;
    }

    .main-menu {
        display: none !important;
    }

    .header-action {
        display: none !important;
    }

    .mobile-header-action {
        display: block !important;
    }
}

@media (max-width: 767px) {
    .mobile-header-action {
        margin-right: 40px;
    }

    .small-btn {
        padding: 8px 15px; /* Adjusted for responsiveness */
        font-size: 12px; /* Adjusted for responsiveness */
        max-width: 130px; /* Adjusted for responsiveness */
    }

    .mobile-user .dropdown-menu {
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .mobile-header-action {
        margin-right: 35px;
    }

    .small-btn {
        padding: 6px 12px; /* Adjusted for responsiveness */
        font-size: 11px; /* Adjusted for responsiveness */
        max-width: 110px; /* Adjusted for responsiveness */
    }

    .mobile-user .dropdown-menu {
        min-width: 110px;
    }

    .mobile-nav-toggler {
        right: 10px;
    }
}