
  .navbar {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
    margin-right: 1rem;
  }
  
  .nav-link {
    padding: 0.3rem 0.8rem !important;
    margin: 0;
    color: white !important;
    border-radius: 5px;
    transition: all 0.2s ease;
  }
  
  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    background-color: var(--bg-tertiary) !important;
    border: 1px solid var(--silver-light);
  }
  
  .dropdown-item {
    transition: all 0.2s ease;
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem;
  }
  
  .dropdown-item:hover {
    background-color: var(--accent-cyan);
    color: var(--bg-primary) !important;
  }
  
  .flag-icon {
    width: 1.2em;
    height: 1.2em;
  }

  /* Mobile adjustments */
  @media (max-width: 992px) {
    .navbar-brand span {
      font-size: 0.95rem;
    }
    
    .navbar-collapse {
      padding-top: 0.5rem;
    }
    
    .nav-item {
      margin-bottom: 0.3rem;
    }
    
    .d-flex.flex-nowrap.text-white {
      margin-top: 0.5rem;
      flex-direction: column;
      gap: 0.3rem;
    }
  }
    /* تنسيقات القائمة المنسدلة للغة */
  .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    background-color: var(--bg-tertiary) !important;
    border: 1px solid var(--silver-light);
  }
  
  .dropdown-item {
    transition: all 0.2s ease;
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem;
  }
  
  .dropdown-item:hover {
    background-color: var(--accent-cyan) !important;
    color: var(--bg-primary) !important;
  }
  
  /* تنسيقات أزرار اللغة والإشعارات */
  .btn-outline-light {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background-color: transparent !important;
  }
  
  .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
  }
  
  /* تنسيقات عامة */
  .flag-icon {
    width: 1.2em;
    height: 1.2em;
  }
  











  :root {
    /* White, Purple, Silver Color Palette with Gradients */
    --purple: #7C3AED;              /* Purple */
    --purple-light: #8B5CF6;        /* Light Purple */
    --purple-lighter: #A78BFA;      /* Lighter Purple */
    --white: #FFFFFF;               /* White */
    --silver: #E5E7EB;              /* Silver */
    --silver-medium: #9CA3AF;        /* Medium Silver */
    --silver-dark: #6B7280;          /* Dark Silver */
    --light-bg: #F9FAFB;            /* Light Background */
    --text-dark: #1F2937;           /* Dark Text */
    --text-medium: #6B7280;         /* Medium Text */
    --text-light: #9CA3AF;          /* Light Text */
    --border-color: #E5E7EB;        /* Border Color */
    
    /* Backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --bg-card: #FFFFFF;
    --bg-hover: #F3F4F6;
    
    /* Text Colors */
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    
    /* Accent Colors */
    --accent-primary: #7C3AED;      /* Purple */
    --accent-secondary: #8B5CF6;    /* Light Purple */
    --accent-tertiary: #A78BFA;      /* Lighter Purple */
    --accent-error: #EF4444;
    --accent-success: #10B981;
    --accent-warning: #F59E0B;
  }
  
  body {
    background-color: var(--bg-primary);
    font-family: 'Tajawal', 'Segoe UI', sans-serif;
    color: var(--text-primary);
    padding-top: 80px; /* For fixed navbar */
  }

  /* Modern Design Overrides for Bootstrap Classes */
  .bg-white, .bg-light {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
  }

  .text-dark, .text-black {
    color: var(--text-primary) !important;
  }

  .text-muted {
    color: var(--text-muted) !important;
  }

  .border, .border-primary, .border-secondary {
    border-color: var(--border-color) !important;
  }

  .table {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
  }

  .table-bordered {
    border-color: var(--border-color) !important;
  }

  .table thead th {
    background-color: var(--bg-tertiary) !important;
    color: var(--accent-primary) !important;
    border-color: var(--border-color) !important;
    font-weight: 600;
  }

  .table tbody tr {
    background-color: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    transition: background-color 0.2s ease;
  }

  .table tbody tr:hover {
    background-color: var(--bg-hover) !important;
  }

  .table td, .table th {
    border-color: var(--silver-light) !important;
    color: var(--text-primary) !important;
    vertical-align: middle;
    background-color: var(--bg-card) !important;
  }

  .table tbody td,
  .table tbody th {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
  }

  /* Table Primary Override for Dark Mode */
  .table-primary,
  .table-primary > *,
  .table-primary thead,
  .table-primary tbody,
  .table-primary tfoot {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
  }

  .table-primary thead th,
  .table-primary thead td,
  .table-primary thead tr th,
  .table-primary thead tr td {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%) !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
  }

  .table-primary tbody,
  .table-primary tbody tr {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
  }

  .table-primary tbody tr:hover,
  .table-primary tbody tr:hover td {
    background-color: var(--bg-hover) !important;
    color: var(--text-primary) !important;
  }

  .table-primary tbody td,
  .table-primary tbody th,
  .table-primary td,
  .table-primary th {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border-color: var(--silver-light) !important;
  }

  .table-primary tbody tr td,
  .table-primary tbody tr th {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
  }

  /* Table Striped Override */
  .table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
  }

  .table-striped tbody tr:nth-of-type(even) {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
  }

  .table-striped tbody tr:nth-of-type(odd) td,
  .table-striped tbody tr:nth-of-type(even) td {
    background-color: inherit !important;
    color: var(--text-primary) !important;
  }

  .form-control, .form-select {
    background-color: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
  }

  .form-control:focus, .form-select:focus {
    background-color: var(--bg-card) !important;
    border-color: var(--accent-primary) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(124, 58, 237, 0.25) !important;
  }

  .form-label {
    color: var(--text-primary) !important;
  }

  .form-control-plaintext {
    color: var(--text-primary) !important;
  }

  .list-group-item {
    background-color: var(--bg-card) !important;
    border-color: var(--silver-light) !important;
    color: var(--text-primary) !important;
  }

  .list-group-item:hover {
    background-color: var(--bg-hover) !important;
  }

  .card {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%) !important;
    border: none !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5) !important;
  }

  .card-header {
    background: rgba(255, 255, 255, 0.1) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
  }

  .card-body {
    background: transparent !important;
    color: #FFFFFF !important;
  }
  
  .card-title {
    color: #FFFFFF !important;
  }
  
  .card-text {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .modal-content {
    background-color: var(--bg-card) !important;
    border-color: var(--border-color) !important;
  }

  .modal-header {
    background-color: var(--bg-tertiary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
  }

  .modal-body {
    background-color: var(--bg-card) !important;
    color: var(--text-primary) !important;
  }

  .modal-footer {
    background-color: var(--bg-tertiary) !important;
    border-color: var(--border-color) !important;
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%) !important;
    border: none !important;
    color: var(--white) !important;
  }

  .btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-tertiary) 100%) !important;
    border: none !important;
    color: var(--white) !important;
  }

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

  .btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%) !important;
    border-color: transparent !important;
    color: var(--white) !important;
  }

  .alert {
    border-color: var(--silver-light) !important;
  }

  .alert-info {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%) !important;
    border-color: var(--accent-primary) !important;
    color: var(--accent-primary) !important;
  }

  .alert-success {
    background-color: rgba(0, 255, 0, 0.1) !important;
    border-color: #00ff00 !important;
    color: #00ff00 !important;
  }

  .alert-warning {
    background-color: rgba(255, 215, 0, 0.1) !important;
    border-color: var(--accent-gold) !important;
    color: var(--accent-gold) !important;
  }

  .alert-danger {
    background-color: rgba(255, 107, 107, 0.1) !important;
    border-color: var(--accent-coral) !important;
    color: var(--accent-coral) !important;
  }

  .badge {
    color: var(--bg-primary) !important;
  }

  .badge.bg-warning {
    background-color: var(--accent-gold) !important;
    color: var(--bg-primary) !important;
  }

  .page-link {
    background-color: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--accent-primary) !important;
  }

  .page-link:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%) !important;
    border-color: transparent !important;
    color: var(--white) !important;
  }

  .page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%) !important;
    border-color: transparent !important;
    color: var(--white) !important;
  }

  .shadow, .shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5) !important;
  }

  .shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.6) !important;
  }

  /* Links */
  a {
    color: var(--accent-primary);
    text-decoration: none;
  }

  a:hover {
    color: var(--accent-secondary);
  }

  /* Input Groups */
  .input-group-text {
    background-color: var(--bg-tertiary) !important;
    border-color: var(--silver-light) !important;
    color: var(--text-primary) !important;
  }

  /* Nav Tabs */
  .nav-tabs {
    border-color: var(--silver-light) !important;
  }

  .nav-tabs .nav-link {
    color: var(--text-secondary) !important;
    background-color: var(--bg-card) !important;
    border-color: var(--silver-light) !important;
  }

  .nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%) !important;
    border-color: rgba(124, 58, 237, 0.3) rgba(124, 58, 237, 0.3) transparent !important;
    color: #FFFFFF !important;
  }

  /* Dropdown Divider */
  .dropdown-divider {
    border-color: var(--silver-light) !important;
    opacity: 0.5;
  }

  /* Custom Form Classes */
  .my-form, .my-content {
    background-color: var(--bg-card) !important;
    border-color: var(--accent-cyan) !important;
    color: var(--text-primary) !important;
  }

  /* Text Colors */
  h1, h2, h3, h4, h5, h6 {
    color: #1F2937 !important;
  }

  p, span, div {
    color: #1F2937;
  }

  /* Strong/Bold Text */
  strong, b {
    color: #7C3AED;
  }

  /* Code Blocks */
  code, pre {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border-color: var(--silver-light) !important;
  }

  /* Blockquote */
  blockquote {
    border-left-color: #7C3AED !important;
    color: #6B7280 !important;
  }

  /* Hero Section */
  .hero-section {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    color: #FFFFFF;
    padding: 7rem 1rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: -70px; /* Compensate for navbar */
  }
  
  .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('{% static "img/hexagon-pattern.png" %}') center/cover;
    opacity: 0.1;
  }

  .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
  }

  /* Carousel */
  .main-carousel {
    margin-top: -50px;
    z-index: 10;
    position: relative;
  }
  
  .carousel-item {
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.8);
  }
  
  .carousel-caption {
    background: rgba(124, 58, 237, 0.85);
    border-radius: 10px;
    padding: 20px;
    bottom: 30%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
  }
  
  .carousel-control-prev, 
  .carousel-control-next {
    width: 5%;
    filter: brightness(0.8);
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
  }

  .carousel-control-prev:hover .carousel-control-prev-icon,
  .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.6);
  }


      .title-divider {
        display: block;
        width: 70px;
        height: 3px;
        background: linear-gradient(to right, #7C3AED, #8B5CF6, #A78BFA);
        margin: 10px auto 0;
    }
    
    .product-card {
        transition: all 0.3s ease;
        border-radius: 10px;
    }
    
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.5);
    }
    
    .product-img-container {
        background-color: var(--bg-secondary);
    }





  /* About Section */
  .about-section {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(167, 139, 250, 0.1) 100%);
    border-radius: 15px;
    padding: 3rem;
    margin: 3rem auto;
    box-shadow: 0 5px 25px rgba(124, 58, 237, 0.2);
    border: 2px solid rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
  }
  
  .about-section::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: url('{% static "img/img4.jpg" %}') center/contain;
    opacity: 0.05;
    z-index: 0;
  }
  
  .about-content {
    position: relative;
    z-index: 1;
  }
  
  .section-title {
    color: #7C3AED;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
  }
  
  .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, #7C3AED, #8B5CF6, #A78BFA);
    border-radius: 3px;
  }

  /* Products Section */
  .products-section {
    padding: 3rem 0;
    background: url('{% static "img/img4.jpg" %}') bottom/cover no-repeat;
    background-size: 100% auto;
    background-position-y: bottom;
  }
  
  .product-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
    margin-bottom: 20px;
    margin-top: 20px;
    height: 100%;
    position: relative;
  }
  
  .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
  }
  
  .product-card img {
    height: 180px;
    object-fit: contain;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .product-card .card-body {
    padding: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
  }
  
  .product-card .card-title {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .product-card .card-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
  }

  /* Features Section */
  .features-section {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
  }
  
  .feature-box {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
  }
  
  .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.5);
  }
  
  .feature-icon {
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
  }
  
  .feature-title {
    color: #FFFFFF;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .feature-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
  }

  /* CTA Section */
  .cta-section {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    color: #FFFFFF;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
  }
  
  .cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('{% static "img/dots-pattern-white.png" %}') center/contain;
    opacity: 0.1;
  }
  
  .cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    color: #FFFFFF;
  }
  
  .cta-btn {
    background: #FFFFFF;
    color: #7C3AED;
    border: none;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
  }
  
  .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.9);
    color: #7C3AED;
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .hero-title {
      font-size: 2.5rem;
    }
    
    .hero-subtitle {
      font-size: 1.2rem;
    }
    
    .carousel-item {
      height: 300px;
    }
    
    .about-section {
      padding: 2rem;
    }
  }














  /* Modern Footer Styles */
.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    color: #FFFFFF;
    padding: 4rem 0 2rem;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-brand-name {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    color: #FFFFFF;
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.social-link-modern {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link-modern:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transform: translateX(-5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item-modern:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-5px);
}

.contact-icon-modern {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.3rem;
    color: #FFFFFF;
}

.contact-icon-modern.whatsapp {
    background: rgba(37, 211, 102, 0.3);
}

.contact-icon-modern.email {
    background: rgba(239, 68, 68, 0.3);
}

.contact-icon-modern.clock {
    background: rgba(124, 58, 237, 0.3);
}

.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-value {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
}

.footer-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-cta-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-footer-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background: #FFFFFF;
    color: #7C3AED;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-footer-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #7C3AED;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-logo-bottom {
    margin-bottom: 1.5rem;
}

.bottom-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.bottom-logo:hover {
    opacity: 1;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

.footer-copyright strong {
    color: #FFFFFF;
    font-weight: 700;
}

.btn-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

/* Payment Methods */
.payment-method {
    height: 25px;
    width: auto;
    filter: grayscale(100%) brightness(150%);
    transition: all 0.3s ease;
}

.payment-method:hover {
    filter: grayscale(0%) brightness(100%);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-logo-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo-container img {
        margin-bottom: 1rem;
        margin-right: 0 !important;
    }
    
    .footer-links, .footer-contact {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-social {
        justify-content: center !important;
    }
    
    .payment-methods {
        justify-content: center !important;
    }
}



/* index latest cards*/
    .unavailable-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.7);
        color: var(--text-primary);
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
    }
    
    .card {
        background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%) !important;
        border: none !important;
        color: #FFFFFF !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5) !important;
    }
    
    .card-title a {
        color: #FFFFFF !important;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .card-title a:hover {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* Disable hover effects for unavailable products */
    .card:has(.unavailable-overlay) {
        cursor: default;
    }
    
    .card:has(.unavailable-overlay):hover {
        transform: none;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3) !important;
        border-color: var(--silver-light) !important;
    }
    
    /* Product card specific styles */
    .product-card .card img {
        background-color: var(--bg-secondary);
    }

/* ============================================
   SIDEBAR STYLES - Fixed and Independent
   ============================================ */

/* Sidebar Container - Fixed on right side, independent from content */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    box-shadow: -4px 0 30px rgba(124, 58, 237, 0.3);
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Sidebar Header */
.sidebar-header {
    padding: 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.sidebar-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity 0.2s ease;
}

.sidebar-brand:hover {
    opacity: 0.8;
    color: var(--text-primary);
}

.sidebar-logo {
    height: 35px;
    width: auto;
    margin-left: 0.75rem;
    object-fit: contain;
}

.sidebar-brand-text {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: nowrap;
}

.sidebar-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.sidebar-toggle-btn:hover {
    color: var(--accent-cyan);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    margin: 0.25rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    border-right: 3px solid transparent;
}

.sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-right-color: var(--white);
}

.sidebar-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-right-color: var(--white);
    font-weight: 600;
}

.sidebar-icon {
    width: 20px;
    text-align: center;
    margin-left: 0.75rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sidebar-text {
    flex: 1;
}

.sidebar-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-right: auto;
    flex-shrink: 0;
}

.sidebar-dropdown .sidebar-link[aria-expanded="true"] .sidebar-arrow {
    transform: rotate(180deg);
}

/* Sidebar Submenu */
.sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.05);
    border-right: 2px solid rgba(255, 255, 255, 0.3);
}

.sidebar-submenu-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem 0.75rem 3rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.sidebar-submenu-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding-right: 1.5rem;
}

.sidebar-submenu-header {
    padding: 0.75rem 1.25rem 0.5rem 3rem;
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.sidebar-divider {
    margin: 0.5rem 1.25rem;
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 0.5;
}

/* Sidebar Badge */
.sidebar-badge {
    background-color: var(--accent-error);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: auto;
    flex-shrink: 0;
}

/* Sidebar Balance Info (in header) */
.sidebar-balance-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    margin-top: 0.75rem;
}

.balance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.balance-value {
    font-weight: 600;
    font-size: 1rem;
}

/* Sidebar Overlay (Mobile) */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 50%, #0f0f1e 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

/* Main Content - Adjusted for sidebar */
main {
    width: calc(100% - 280px); /* Subtract sidebar width */
    margin-right: 280px; /* Space for fixed sidebar on desktop */
    min-height: 100vh;
    transition: width 0.3s ease, margin-right 0.3s ease;
    overflow-x: hidden; /* Prevent horizontal scroll */
    overflow-y: visible; /* Allow sticky to work */
}

/* Mobile: full width when sidebar is hidden */
@media (max-width: 991.98px) {
    main {
        width: 100%;
        margin-right: 0;
    }
}

/* Mobile Styles */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }
}

/* Scrollbar Styling for Sidebar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.5);
}

/* ============================================
   MODERN DESIGN - COMPLETE REDESIGN
   ============================================ */

/* Modern Hero Section - Split Design */
.modern-hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 50%, #F3F4F6 100%);
    margin-top: -70px;
    padding-top: 70px;
}

.modern-hero-content {
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-inner {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    color: #7C3AED;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.modern-hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-text {
    color: #6B7280;
    font-size: 2.5rem;
    font-weight: 300;
}

.modern-hero-description {
    font-size: 1.2rem;
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
    color: #FFFFFF;
}

.btn-modern-outline {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: transparent;
    color: #7C3AED;
    border: 2px solid #7C3AED;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-modern-outline:hover {
    background: #7C3AED;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

.modern-hero-visual {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.hero-visual-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.floating-card {
    position: absolute;
    padding: 2rem;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    border-radius: 20px;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 3rem;
}

.floating-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 50px rgba(124, 58, 237, 0.4);
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
    top: 20%;
    left: 10%;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    bottom: 20%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

/* Modern Categories Section */
.modern-categories-section {
    background: #FFFFFF;
    padding: 5rem 0;
}

.section-header-modern {
    margin-bottom: 4rem;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1F2937;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.title-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    border-radius: 15px;
    color: #FFFFFF;
    font-size: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6B7280;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card-modern {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-card-modern:hover {
    transform: translateY(-10px);
}

.category-link-modern {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card-modern:hover .category-image {
    transform: scale(1.1);
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 4rem;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(124, 58, 237, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #FFFFFF;
    font-size: 2rem;
}

.category-card-modern:hover .category-overlay {
    opacity: 1;
}

.category-info {
    padding: 1.5rem;
    background: #FFFFFF;
    border-top: 3px solid #7C3AED;
}

.category-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.category-cta {
    color: #7C3AED;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modern Products Section - Masonry */
.modern-products-section {
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    padding: 5rem 0;
}

.products-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    grid-auto-rows: auto;
}

.product-item-modern {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-item-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

.product-item-modern.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.product-link-modern {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
}

.product-image-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item-modern:hover .product-image-modern {
    transform: scale(1.1);
}

.product-unavailable {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.2rem;
}

.product-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(124, 58, 237, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.product-item-modern:hover .product-hover-effect {
    opacity: 1;
}

.product-content-modern {
    padding: 1.5rem;
}

.product-name-modern {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1rem;
}

.product-action-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #7C3AED;
    font-weight: 600;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
}

/* Modern Features Section */
.modern-features-section {
    background: #FFFFFF;
    padding: 5rem 0;
}

.feature-card-modern {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 2px solid rgba(124, 58, 237, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    border-color: #7C3AED;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.feature-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 2rem;
}

.feature-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1rem;
}

.feature-text-modern {
    color: #6B7280;
    line-height: 1.8;
    font-size: 1rem;
}

/* Modern CTA Section */
.modern-cta-section {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.modern-cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.cta-content-modern {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title-modern {
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.cta-description-modern {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.btn-modern-cta {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 3rem;
    background: #FFFFFF;
    color: #7C3AED;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-modern-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    color: #7C3AED;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #6B7280;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #9CA3AF;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #6B7280;
}

/* Modern Navbar */
.modern-navbar {
    background: #FFFFFF;
    box-shadow: 0 2px 20px rgba(124, 58, 237, 0.1);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.modern-navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: #7C3AED;
    transition: transform 0.3s ease;
}

.modern-navbar-brand:hover {
    transform: scale(1.05);
    color: #7C3AED;
}

.navbar-logo {
    height: 50px;
    width: auto;
}

.navbar-brand-text {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modern-navbar-toggler {
    border: none;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
}

.modern-navbar-toggler span {
    width: 25px;
    height: 3px;
    background: #7C3AED;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.modern-navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.modern-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    color: #6B7280;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.modern-nav-link:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #7C3AED;
    transform: translateY(-2px);
}

.modern-nav-link.active {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.modern-dropdown-menu {
    background: #FFFFFF;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 220px;
}

.modern-dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: #6B7280;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.modern-dropdown-item:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #7C3AED;
}

.modern-navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: auto;
}

.modern-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #7C3AED;
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.modern-action-btn:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.modern-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #EF4444;
    color: #FFFFFF;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.modern-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.balance-display {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.balance-label {
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 500;
}

.balance-value {
    font-size: 1rem;
    font-weight: 700;
    color: #7C3AED;
}

.level-badge {
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Modern Products Page */
.modern-page-header {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    padding: 4rem 0 3rem;
    margin-top: -70px;
    padding-top: 8rem;
    color: #FFFFFF;
    text-align: center;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title-modern {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.modern-filter-section {
    background: #FFFFFF !important;
    border-bottom: 2px solid #E5E7EB;
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 80px; /* Below navbar */
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    margin: 0;
    padding: 1.5rem 0;
    transition: box-shadow 0.3s ease;
}

.modern-filter-section.stuck {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Mobile: adjust sticky position */
@media (max-width: 991.98px) {
    .modern-filter-section {
        top: 70px;
    }
}

.modern-filter-section {
    background: #FFFFFF !important;
    border-bottom: 2px solid #E5E7EB;
    position: -webkit-sticky !important; /* For Safari */
    position: sticky !important;
    top: 80px !important; /* Below navbar */
    z-index: 999 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    width: 100%;
    margin: 0 !important;
    padding: 1.5rem 0 !important;
    transition: box-shadow 0.3s ease;
    overflow: visible !important;
    display: block !important;
    will-change: transform; /* Optimize for sticky */
}

/* Ensure container doesn't break sticky */
.modern-filter-section .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: visible !important;
}

.modern-filter-section .filter-wrapper {
    overflow: visible !important;
    position: relative;
}

/* Mobile: adjust sticky position */
@media (max-width: 991.98px) {
    .modern-filter-section {
        top: 70px !important;
    }
}

.filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modern-search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 1.1rem;
}

.modern-search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid #E5E7EB;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #F9FAFB;
}

.modern-search-input:focus {
    outline: none;
    border-color: #7C3AED;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.category-filter-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.filter-label {
    display: flex;
    align-items: center;
    color: #6B7280;
    font-weight: 600;
    font-size: 0.95rem;
}

.category-buttons-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.category-btn-modern {
    display: flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    background: #F9FAFB;
    color: #6B7280;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-btn-modern:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: #7C3AED;
    color: #7C3AED;
    transform: translateY(-2px);
}

.category-btn-modern.active {
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.modern-products-page {
    background: #F9FAFB;
    min-height: 60vh;
    overflow: visible; /* Allow sticky to work */
    position: relative;
}

.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card-modern-page {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-card-modern-page:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

.product-card-modern-page.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.product-link-page {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image-wrapper-page {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 50%, #A78BFA 100%);
}

.product-img-page {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-modern-page:hover .product-img-page {
    transform: scale(1.1);
}

.unavailable-badge-page {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.product-overlay-page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(124, 58, 237, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-modern-page:hover .product-overlay-page {
    opacity: 1;
}

.overlay-content {
    color: #FFFFFF;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.product-info-page {
    padding: 1.5rem;
}

.product-title-page {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 1rem;
}

.product-footer-page {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
    color: #7C3AED;
    font-weight: 600;
}

.view-packages {
    display: flex;
    align-items: center;
}

.empty-products-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 50%;
    color: #9CA3AF;
    font-size: 3rem;
}

.empty-products-state h3 {
    font-size: 1.8rem;
    color: #6B7280;
    margin-bottom: 0.5rem;
}

.empty-products-state p {
    color: #9CA3AF;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .modern-hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .modern-hero-content {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .modern-hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-text {
        font-size: 1.8rem;
    }
    
    .modern-hero-visual {
        min-height: 400px;
        padding: 2rem;
    }
    
    .floating-card {
        position: relative;
        margin: 1rem;
        animation: none;
    }
    
    .card-1, .card-2, .card-3 {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .products-masonry {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .cta-title-modern {
        font-size: 2rem;
    }
    
    .modern-navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .modern-navbar-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    
    .products-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .page-title-modern {
        font-size: 2rem;
        flex-direction: column;
    }
}
