.group {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: #7C7C8C;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    cursor: pointer;
}

.dropdown-trigger:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 220px;
    background: #1a1b23;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #7C7C8C;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    background: transparent;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
    transform: translateX(4px);
}

/* Remove white lines */
.dropdown-item:not(:last-child) {
    border-bottom: none;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Create a hover bridge to prevent menu from closing */
.group::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0.75rem;
    background: transparent;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.75rem;
    left: 0;
    width: 100%;
    height: 0.75rem;
    background: transparent;
}

/* Add dropdown arrow */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(25, 25, 35, 0.95);
    border-left: 1px solid rgba(59, 130, 246, 0.15);
    border-top: 1px solid rgba(59, 130, 246, 0.15);
}

/* Create an invisible bridge between button and dropdown */
.group::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0.75rem;
    background: transparent;
}

.dropdown-item a {
    color: #e2e8f0;
    text-decoration: none;
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item a:hover {
    color: #93c5fd;
}

/* Add consistent nav-link styling */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
    color: #e2e8f0;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

/* Add these styles for the product cards in the Popular Products section */
.swiper-products .card {
    max-width: 280px;
    margin: 0 auto;
}

.swiper-products .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Adjust the container width */
.swiper-products {
    padding: 20px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Center the navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
} 

/* Swiper product styles */
.swiper-products {
    position: relative;
    padding: 0 50px;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

.swiper-products .card {
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.swiper-products .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.swiper-products .swiper-slide {
    height: auto;
    display: flex;
    padding: 0.75rem;
}

/* Product image styling */
.swiper-products .card img {
    border-radius: 12px;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.swiper-products .card:hover img {
    transform: scale(1.05);
}

/* Rating badge styling */
.swiper-products .btn.bg-white\/5 {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* Product info section */
.swiper-products .card .font-bold {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.swiper-products .card .text-sm {
    color: rgba(255, 255, 255, 0.7);
}

/* Price section */
.swiper-products .format-currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3B82F6;
}

/* Stock indicator */
.swiper-products .icon-package {
    color: #3B82F6;
}

/* Navigation buttons */
.swiper-products .swiper-button-next,
.swiper-products .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    color: #3B82F6;
    transition: all 0.3s ease;
}

.swiper-products .swiper-button-next:hover,
.swiper-products .swiper-button-prev:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.swiper-products .swiper-button-next:after,
.swiper-products .swiper-button-prev:after {
    font-size: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .swiper-products {
        padding: 0 20px;
    }
    
    .swiper-products .swiper-slide {
        padding: 0.5rem;
    }
    
    .swiper-products .card img {
        height: 160px;
    }
}

.section.relative {
    padding: 0 60px;  /* Make room for navigation buttons */
}

.custom-next,
.custom-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    z-index: 10;
}

.custom-next {
    right: 0;
}

.custom-prev {
    left: 0;
}

.custom-next:after,
.custom-prev:after {
    font-size: 20px;
    color: #fff;
}

.swiper-products {
    overflow: hidden;
    margin: 0;  /* Remove the negative margin */
}

.swiper-slide {
    padding: 0;  /* Remove the padding */
}

/* Add these new styles */
.swiper-products .card {
    border-radius: 0;  /* Remove border radius to make cards flush */
    margin: 0;  /* Remove any margin */
}

/* Only add border radius to first and last cards */
.swiper-slide:first-child .card {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.swiper-slide:last-child .card {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/* Adjust navigation buttons position */
.custom-next {
    right: -50px;
}

.custom-prev {
    left: -50px;
} 

/* Enhanced FAQ styling */
.faq-container {
    background: rgba(20, 20, 35, 0.4);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    color: #7289da;
    font-weight: 600;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(114, 137, 218, 0.1);
}

.faq-answer {
    color: #b9bbbe;
    padding: 0 20px 15px;
    line-height: 1.6;
} 

.navbar-collapse-trigger {
    display: none;
}

@media (max-width: 1024px) {
    .navbar-collapse-trigger {
        display: block;
    }
    
    .navigation-items {
        position: absolute;
        top: 100%;
        right: 0;
        background: #1a1b23;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .navbar-collapsed .navigation-items {
        display: block;
    }
} 

@media (max-width: 1280px) {
    .nav-link {
        padding: 0.5rem 0.75rem;
    }
    
    .nav-link i {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .card {
        padding: 0.75rem;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link i {
        font-size: 1.25rem;
    }
} 

/* Main Navigation Container */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 12, 21, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 2rem;
}

/* Logo Styling */
.nav-logo img {
    height: 32px;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

/* Navigation Links */
.nav-links {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-items {
    display: flex;
    gap: 1rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: #7C7C8C;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
    transform: translateY(-1px);
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.15);
    color: #fff;
    font-weight: 600;
}

/* Right Side Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.balance-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.balance-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.nav-user-actions {
    display: flex;
    gap: 0.5rem;
}

.user-btn, .logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #7C7C8C;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-wrapper {
        padding: 0 1rem;
    }

    .nav-item span {
        display: none;
    }

    .nav-item {
        padding: 0.75rem;
    }

    .balance-btn span {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-content {
        height: 70px;
    }

    .nav-logo img {
        height: 28px;
    }
} 

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: #7C7C8C;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    cursor: pointer;
}

.dropdown-trigger:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 220px;
    background: #1a1b23;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #7C7C8C;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    background: transparent;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
    transform: translateX(4px);
}

/* Remove white lines */
.dropdown-item:not(:last-child) {
    border-bottom: none;
}

/* Support Chat Button */
.support-chat-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.support-chat-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .dropdown-trigger span,
    .support-chat-btn span {
        display: none;
    }
    
    .dropdown-trigger,
    .support-chat-btn {
        padding: 0.75rem;
    }
    
    .dropdown-menu {
        right: 0;
        left: auto;
    }
} 

/* Add spacing for fixed header */
body {
    padding-top: 80px; /* This matches the header height */
}

@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Matches smaller header height on mobile */
    }
} 

/* User Dropdown Specific Styles */
.user-dropdown-menu {
    min-width: 280px;
    padding: 0;
    background: #1a1b23;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.user-dropdown-header {
    padding: 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px 8px 0 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-info .username {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.user-info .email {
    color: #7C7C8C;
    font-size: 0.875rem;
}

.user-dropdown-balance {
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.balance-label {
    color: #7C7C8C;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.balance-amount {
    color: #fff;
    font-weight: 600;
    font-size: 1.25rem;
}

.deposit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    color: #fff;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.deposit-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.text-danger {
    color: #ef4444 !important;
}

.text-danger:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
} 

.btn-outline-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: #3B82F6;
    border: 1px solid #3B82F6;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #3B82F6;
    color: white;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #2563EB;
    transform: translateY(-1px);
} 

.avatar-circle {
    width: 32px;
    height: 32px;
    background-color: #4F46E5;  /* You can change this to match your theme */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-initials {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.user-btn {
    padding: 2px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: border-color 0.2s ease;
}

.user-btn:hover {
    border-color: #4F46E5;  /* Match with your theme color */
} 