/* =============================================
   COMPLETE HEADER CSS - DIAGONAL DESIGN STYLE
   ============================================= */

:root {
    --primary: #43d3d3;
    --primary-dark: #006262;
    --primary-booking: #0078ff;
    --primary-taxi: #f1b800;
    --primary-shop: #ff2d2d;
    --primary-property: #008a20;
    --primary-job: #aa00ff;
    --primary-adz: #999999;
    --dark: #2c2c2c;
    --dark-gray: #3a3a3a;
    --light: #ffffff;
    --gray: #666666;
    --border: #e0e0e0;
    --primary-transt: rgba(122, 198, 255, 0.39);
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    max-width: 100%;
}

/* =============================================
   MAIN HEADER - DIAGONAL BACKGROUND DESIGN
   ============================================= */

.header-area {
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow-x: hidden;
    max-width: 100vw;
}

.main-header {
    width: 100%;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.header-area .main-header {
    padding: 0.001rem;
}

/* Diagonal Background Wrapper */
.header-bg-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.header-bg-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #FFFFFF 100%);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    z-index: 1;
}

.header-bg-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--primary) 100%);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
    bottom: 70px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    gap: 20px;
    position: relative;
    z-index: 2;
    max-width: 100%;
    overflow-x: hidden;
}

/* =============================================
   LOGO SECTION - LEFT SIDE (ON DARK BACKGROUND)
   ============================================= */

.logo-section {
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.logo-link {
    display: block;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

/* =============================================
   DESKTOP NAVIGATION (HOME PAGE) - CENTER
   ============================================= */

.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.category-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.category-item {
    display: inline-block;
}

.category-link {
    display: block;
    padding: 8px 18px;
    color: var(--dark);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.category-link:hover {
    background: #f5f5f5;
    color: var(--primary-dark);
}

.category-link.active {
    background: var(--primary);
    color: var(--light);
}

/* =============================================
   SERVICE SWITCHER - HORIZONTAL ICON STYLE (INNER PAGES)
   ============================================= */

.service-switcher {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.service-nav-wrapper {
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: transparent;
    margin: 0 auto;
    max-width: 100%;
    margin-left: 7%;
}

.service-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 2px 10px;
    text-decoration: none;
    background: transparent;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    flex: 0 0 auto;
    min-width: 110px;
}

/* Octagon Icon Container with Gradient Background */
.service-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    position: relative;
}

.service-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Service Name - Small Text Below Icon */
.service-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Hover State */
.service-link:hover .service-icon {
    background: var(--primary);
    transform: translateY(-3px) rotate(22.5deg);
    box-shadow: 0 4px 12px rgba(67, 211, 211, 0.3);
}


.service-link:hover .service-name {
    color: var(--primary);
}

/* Active State - Premium Elevated Card Design */
.service-link.active {
    border-radius: 2px;
    padding: 8px 15px;
    transform: translateY(-4px);
    border-bottom: 3px solid var(--primary);
    position: relative;
    overflow: hidden;
}


@keyframes activeGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.service-link.active .service-icon {
    box-shadow: 0 8px 30px rgba(67, 211, 211, 0.6);
    transform: scale(1.2);
    animation: iconBounce 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1.2);
        box-shadow: 0 8px 30px rgba(67, 211, 211, 0.6);
    }
    50% {
        transform: scale(1.25);
        box-shadow: 0 10px 35px rgba(67, 211, 211, 0.8);
    }
}

.service-link.active .service-icon img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    transform: scale(1.15);
}

.service-link.active .service-name {
    color: var(--primary);
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(67, 211, 211, 0.3);
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* =============================================
   HEADER ACTIONS - RIGHT SIDE (ON CYAN BACKGROUND)
   ============================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

/* Simple Clean Button Style */
.action-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 19px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.action-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-btn i {
    transition: all 0.3s ease;
    color: var(--primary-shop);
}

.action-btn:hover i {
    transform: scale(1.1);
}

/* Notification Badge - Clean Pulse Animation */
.notification-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 9px;
    height: 9px;
    background: #ff3b3b;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(255, 59, 59, 0.6);
    animation: notificationPulse 2s ease-in-out infinite;
}

@keyframes notificationPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.9;
    }
}

/* Account & Login Buttons - Solid Primary Color */
.account-btn,
.login-btn {
    background: var(--light);
    color: #ffffff;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(67, 211, 211, 0.3);
}

.account-btn:hover,
.login-btn:hover {
    background: var(--light);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(67, 211, 211, 0.4);
}

.account-btn:active,
.login-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(67, 211, 211, 0.3);
}


/* =============================================
   MOBILE MENU TOGGLE BUTTON
   ============================================= */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2.5px;
    background: var(--light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.08);
}

.mobile-menu-toggle:hover span {
    background: var(--light);
}

/* =============================================
   MOBILE SIDEBAR
   ============================================= */

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--light);
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    z-index: 10000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

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

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    background: var(--primary);
}

.sidebar-logo {
    height: 40px;
    width: auto;
}

.sidebar-close {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 18px;
    color: var(--light);
    transition: all 0.2s ease;
}

.sidebar-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}

/* =============================================
   MOBILE SERVICES SECTION - GRID LAYOUT
   ============================================= */

.mobile-services-section {
    padding: 20px;
    background: linear-gradient(135deg, rgba(67, 211, 211, 0.05) 0%, rgba(67, 211, 211, 0.02) 100%);
    border-bottom: 1px solid rgba(67, 211, 211, 0.15);
}

.mobile-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-section-title i {
    color: var(--primary);
    font-size: 16px;
}

.mobile-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mobile-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 251, 0.9) 100%);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(67, 211, 211, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mobile-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(67, 211, 211, 0.3);
}

.mobile-service-card:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.mobile-service-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-service-card:hover .mobile-service-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.mobile-service-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.mobile-service-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-item {
    margin-bottom: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 8px;
    background: transparent;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-link:hover {
    background: #f5f5f5;
    color: var(--primary);
    padding-left: 20px;
}

.sidebar-link i {
    font-size: 12px;
    opacity: 0.6;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--light);
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.sidebar-btn.primary {
    background: var(--primary);
    color: var(--light);
}

.sidebar-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.sidebar-btn.outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.sidebar-btn.outline:hover {
    background: var(--primary);
    color: var(--light);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =============================================
   SCROLLBAR STYLING
   ============================================= */

.mobile-sidebar::-webkit-scrollbar {
    width: 5px;
}

.mobile-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-sidebar::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.mobile-sidebar::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* Large Desktop */
@media (max-width: 1440px) {
    .service-nav-wrapper {
        gap: 18px;
        margin-left: 15%;
    }

    .service-link {
        padding: 2px 12px;
        min-width: 75px;
    }

    .header-bg-wrapper::before {
        width: 25%;
    }

    .header-bg-wrapper::after {
        width: 25%;
    }
}

/* Desktop */
@media (max-width: 1024px) {
    .service-nav-wrapper {
        gap: 8px;
        margin-left: 6%;
    }

    .service-link {
        padding: 2px 8px;
        min-width: 80px;
        max-width: 90px;
    }

    .service-icon {
        width: 32px;
        height: 32px;
    }

    .service-icon img {
        width: 18px;
        height: 18px;
    }

    .service-name {
        font-size: 10px;
    }

    .header-bg-wrapper::before {
        width: 25%;
    }

    .header-bg-wrapper::after {
        width: 25%;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .desktop-nav,
    .service-switcher {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions .action-btn:not(.account-btn):not(.login-btn):not(.mobile-menu-toggle) {
        display: none;
    }

    .header-bg-wrapper::before {
        width: 25%;
    }

    .header-bg-wrapper::after {
        width: 25%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-wrapper {
        height: 65px;
    }

    .logo-img {
        height: 38px;
    }

    .action-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .container {
        padding: 0 15px;
    }

    .header-bg-wrapper::before {
        width: 25%;
    }

    .header-bg-wrapper::after {
        width: 25%;
    }

    /* Mobile Services Grid - 3 columns on tablet */
    .mobile-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .mobile-service-card {
        padding: 10px 6px;
    }

    .mobile-service-icon {
        width: 45px;
        height: 45px;
    }

    .mobile-service-icon img {
        width: 22px;
        height: 22px;
    }

    .mobile-service-name {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 35px;
    }

    .header-actions {
        gap: 8px;
    }

    .action-btn,
    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
    }

    /* Mobile Services Grid - 3 columns on small mobile */
    .mobile-services-section {
        padding: 15px;
    }

    .mobile-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .mobile-service-card {
        padding: 8px 4px;
    }

    .mobile-service-icon {
        width: 40px;
        height: 40px;
    }

    .mobile-service-icon img {
        width: 20px;
        height: 20px;
    }

    .mobile-service-name {
        font-size: 9px;
    }

    .mobile-section-title {
        font-size: 13px;
        margin-bottom: 12px;
    }
}

@media (max-width: 425px) {
    .logo-img {
        height: 32px;
    }

    .action-btn,
    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }

    .mobile-sidebar {
        width: 280px;
    }

    .header-bg-wrapper::before {
        width: 55%;
    }

    .header-bg-wrapper::after {
        width: 50%;
    }

    /* Mobile Services Grid - 2 columns on very small screens */
    .mobile-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mobile-service-card {
        padding: 10px 8px;
    }

    .mobile-service-icon {
        width: 45px;
        height: 45px;
    }

    .mobile-service-icon img {
        width: 22px;
        height: 22px;
    }

    .mobile-service-name {
        font-size: 10px;
    }
}

@media (max-width: 320px) {
    .mobile-sidebar {
        width: 100%;
    }

    /* Mobile Services Grid - 2 columns on 320px */
    .mobile-services-section {
        padding: 12px;
    }

    .mobile-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .mobile-service-card {
        padding: 8px 6px;
    }

    .mobile-service-icon {
        width: 38px;
        height: 38px;
    }

    .mobile-service-icon img {
        width: 18px;
        height: 18px;
    }

    .mobile-service-name {
        font-size: 9px;
    }

    .mobile-section-title {
        font-size: 12px;
        margin-bottom: 10px;
    }
}

/* =============================================
   SECONDARY NAVIGATION BAR - MODERN CLEAN DESIGN
   ============================================= */

.secondary-nav-bar {
    position: relative;
    z-index: 999;
    padding: 8px 0;
}

.secondary-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: visible;
    min-width: 590px; /* Added min-width */
}

/* Browse Section - Hidden for clean look */
.secondary-nav-browse {
    display: none;
}

/* Navigation Menu - Center */
.secondary-nav-menu {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    display: flex;
    justify-content: center;
    padding: 5px 15px;
}

.secondary-nav-menu::-webkit-scrollbar {
    display: none;
}

.secondary-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    list-style: none;
    margin-right: 25px;
    padding: 0;
    flex-wrap: wrap;
}

.secondary-nav-item {
    display: inline-block;
}

.secondary-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 180px;
    height: 36px;
    box-sizing: border-box;
    background: #ffffff;
    background: linear-gradient(135deg, var(--primary) 0%, #ffffff 100%);
    color: #000000;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    border-radius: 0;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}


/* Icon styling */
.secondary-nav-link .nav-icon {
    font-size: 14px;
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.secondary-nav-link .link-text {
    position: relative;
    z-index: 2;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Gradient background effect on hover */
.secondary-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Hover State - Smooth lift with gradient */
.secondary-nav-link:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 211, 211, 0.2);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.secondary-nav-link:hover::before {
    opacity: 1;
}

.secondary-nav-link:hover .nav-icon {
    transform: scale(1.1);
    color: #ffffff;
}

.secondary-nav-link:hover .link-text {
    color: #ffffff;
}

/* Active State - Bold gradient background */
.secondary-nav-link.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(67, 211, 211, 0.3);
    transform: translateY(-1px);
}

.secondary-nav-link.active .nav-icon {
    color: #ffffff;
    animation: iconPulse 2s ease-in-out infinite;
}

.secondary-nav-link.active .link-text {
    color: #ffffff;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

/* All Categories Button - Right */
.secondary-nav-action {
    flex-shrink: 0;
    display: none; /* Hide for cleaner look - categories are in the nav */
}

.all-categories-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 2px solid var(--primary);
    border-radius: 30px;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 16px rgba(67, 211, 211, 0.3);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.all-categories-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.all-categories-btn .categories-text,
.all-categories-btn .categories-icon {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.categories-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 14px;
}

.all-categories-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(67, 211, 211, 0.45);
}

.all-categories-btn:hover::before {
    width: 300px;
    height: 300px;
}

.all-categories-btn:hover .categories-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.all-categories-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(67, 211, 211, 0.3);
}

/* =============================================
   SECONDARY NAV - RESPONSIVE DESIGN
   ============================================= */

@media (max-width: 1200px) {
    .secondary-nav-link {
        width: 110px; /* You may update this if you want a different width for responsive */
        height: 36px;
        box-sizing: border-box;
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }
}

@media (max-width: 1024px) {
    .secondary-nav-bar {
        padding: 7px 0;
    }

    .secondary-nav-list {
        gap: 7px;
    }

    .secondary-nav-link {
        width: 110px;
        height: 36px;
        box-sizing: border-box;
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }

    .all-categories-btn {
        padding: 8px 18px;
        font-size: 12px;
        height: 32px;
    }
}

@media (max-width: 991px) {
    .secondary-nav-bar {
        padding: 6px 0;
    }

    .secondary-nav-menu {
        padding: 0 12px;
    }

    .secondary-nav-list {
        gap: 6px;
        flex-wrap: nowrap;
    }

    .secondary-nav-link {
        width: 110px;
        height: 36px;
        box-sizing: border-box;
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }

    .secondary-nav-link .nav-icon {
        font-size: 11px;
    }

    .categories-text {
        display: none;
    }

    .all-categories-btn {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .categories-icon {
        background: transparent;
        width: 16px;
        height: 16px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .secondary-nav-bar {
        padding: 5px 0;
    }

    .secondary-nav-list {
        gap: 5px;
    }

    .secondary-nav-link {
        width: 110px;
        height: 36px;
        box-sizing: border-box;
        padding: 8px 16px;
        font-size: 10px;
        gap: 6px;
    }

    .secondary-nav-link .nav-icon {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .secondary-nav-bar {
        display: none; /* Hide on mobile for cleaner UI */
    }
}

