
  .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.2);
    background-color: var(--dark-blue);
  }
  
  .dropdown-item {
    transition: all 0.2s ease;
    color: white !important;
    padding: 0.5rem 1rem;
  }
  
  .dropdown-item:hover {
    background-color: var(--primary-blue);
  }
  
  .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.2);
    background-color: var(--dark-blue) !important;
  }
  
  .dropdown-item {
    transition: all 0.2s ease;
    color: white !important;
    padding: 0.5rem 1rem;
  }
  
  .dropdown-item:hover {
    background-color: var(--primary-blue) !important;
    color: white !important;
  }
  
  /* تنسيقات أزرار اللغة والإشعارات */
  .btn-outline-light {
    color: white !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
  }
  
  .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
  }
  
  /* تنسيقات عامة */
  .flag-icon {
    width: 1.2em;
    height: 1.2em;
  }
  











  :root {
    --primary-blue: #0066cc;
    --dark-blue: #004080;
    --light-blue: #e6f2ff;
    --silver: #c0c0c0;
    --silver-light: #e6e6e6;
    --silver-dark: #a0a0a0;
  }
  
  body {
    background-color: #ffffff;
    font-family: 'Tajawal', 'Segoe UI', sans-serif;
    color: #333;
    padding-top: 70px; /* For fixed navbar */
  }

  /* Hero Section */
  .hero-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
    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;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    position: relative;
  }

  /* 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(0, 68, 170, 0.7);
    border-radius: 10px;
    padding: 20px;
    bottom: 30%;
  }
  
  .carousel-control-prev, 
  .carousel-control-next {
    width: 5%;
  }


      .title-divider {
        display: block;
        width: 70px;
        height: 3px;
        background: linear-gradient(to right, #4e54c8, #8f94fb);
        margin: 10px auto 0;
    }
    
    .product-card {
        transition: all 0.3s ease;
        border-radius: 10px;
    }
    
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .product-img-container {
        background-color: #f8f9fa;
    }





  /* About Section */
  .about-section {
    background-color: var(--light-blue);
    border-radius: 15px;
    padding: 3rem;
    margin: 3rem auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--silver-light);
    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: var(--dark-blue);
    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: var(--primary-blue);
    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;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    height: 100%;
    background: white;
    position: relative;
  }
  
  .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.2);
  }
  
  .product-card img {
    height: 180px;
    object-fit: contain;
    padding: 15px;
    background: white;
  }
  
  .product-card .card-body {
    padding: 1.5rem;
    border-top: 1px solid var(--silver-light);
  }
  
  .product-card .card-title {
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .product-card .card-text {
    color: #666;
    font-size: 0.9rem;
  }

  /* Features Section */
  .features-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
  }
  
  .feature-box {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--silver-light);
  }
  
  .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.1);
  }
  
  .feature-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
  }
  
  .feature-title {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .feature-text {
    color: #666;
    font-size: 0.95rem;
  }

  /* CTA Section */
  .cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .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;
  }
  
  .cta-btn {
    background: white;
    color: var(--primary-blue);
    border: none;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
  }
  
  .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: var(--dark-blue);
  }

  /* 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;
    }
  }














  /* Footer Styles */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #004080);
}

.btn-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.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.6);
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
    }
    
    .card {
        transition: transform 0.2s, box-shadow 0.2s;
    }
    
    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 102, 255, 0.2) !important;
    }
    
    /* Disable hover effects for unavailable products */
    .card:has(.unavailable-overlay) {
        cursor: default;
    }
    
    .card:has(.unavailable-overlay):hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 102, 255, 0.1) !important;
    }
