/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}
@font-face {
  font-family: "Rabar";
  src: url("fonts/Rabar_043.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Rabar", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8fafc;
}

 .container {
          max-width: 1200px;
          margin: 0 auto;
          padding: 0 20px;
        }

/* ==========================================================================
   LANGUAGE SWITCHER
   ========================================================================== */

.language-switcher {
  position: relative;
  display: inline-block;
}

.language-current {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.language-current:hover {
  background: rgba(255, 255, 255, 0.2);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  min-width: 140px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: #374151;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 14px;
}

.language-option:hover {
  background: #f3f4f6;
}

.language-option:first-child {
  border-radius: 8px 8px 0 0;
}

.language-option:last-child {
  border-radius: 0 0 8px 8px;
}

.language-option.active {
  background: #dbeafe;
  color: #1e40af;
  font-weight: 600;
}

.flag-icon {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.flag-en {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30"><rect width="60" height="30" fill="%23012169"/><g stroke="%23fff" stroke-width="6"><path d="m0,0 60,30m0-30L0,30"/></g><g stroke="%23C8102E" stroke-width="4"><path d="m0,0 60,30m0-30L0,30"/></g><g stroke="%23fff" stroke-width="10"><path d="M30,0v30M0,15H60"/></g><g stroke="%23C8102E" stroke-width="6"><path d="M30,0v30M0,15H60"/></g></svg>');
}

.flag-ar {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30"><rect width="60" height="10" fill="%23CE1126"/><rect y="10" width="60" height="10" fill="white"/><rect y="20" width="60" height="10" fill="black"/></svg>');
}

.flag-ku {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30"><rect width="60" height="10" fill="%23FF0000"/><rect y="10" width="60" height="10" fill="white"/><rect y="20" width="60" height="10" fill="%23008000"/><circle cx="30" cy="15" r="6" fill="%23FFD700"/><circle cx="30" cy="15" r="4" fill="white"/></svg>');
}

/* ==========================================================================
   HEADER
   ========================================================================== */

header {
  background: #0f172a;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.company-name {
  font-size: 24px;
  font-weight: bold;
}

.company-name a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.company-name a:hover {
  color: #60a5fa;
}

.nav-and-lang {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #60a5fa;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 100;
}

.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: #0f172a;
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

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

.mobile-menu a {
  display: block;
  padding: 8px 0;
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #60a5fa;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

/* Hero Slider Style */
      .hero-slide {
        min-width: 100%;
        height: 100%;
      }

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-highlight {
  color: #bfdbfe;
}

.hero p {
  font-size: 20px;
  color: #bfdbfe;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-primary {
  background: white;
  color: #1e40af;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-secondary:hover {
  background: white;
  color: #1e40af;
}

.btn-submit {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 16px;
}

.section-title p {
  font-size: 18px;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features {
  padding: 80px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px;
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 12px;
}

.feature-card p {
  color: #6b7280;
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */

.products {
  padding: 80px 0;
  background: #f8fafc;
}

.products-grid,
#fullCatalog .grid {
  display: grid;
  gap: 32px;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (min-width: 768px) {
  .products-grid,
  #fullCatalog .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid,
  #fullCatalog .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .products-grid,
  #fullCatalog .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 400px;
  position: relative;
  width: 100%;
  min-width: 0; /* Prevents overflow issues */
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 260px;
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
  flex-shrink: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
  padding: 15px;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  background: white;
}

.product-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-info p {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 20px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
}

.badge-premium {
  background: #1e40af;
}

.badge-enterprise {
  background: #059669;
}

.badge-innovation {
  background: #7c3aed;
}

/* Full Catalog Specific Styles */
#fullCatalog {
  margin-top: 2rem;
}

#fullCatalog .grid {
  margin-bottom: 40px;
}

#fullCatalog .text-center {
  padding-bottom: 40px;
}

/* ==========================================================================
   CATALOG TOGGLE
   ========================================================================== */

.catalog-section {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease-in-out 0.1s,
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(-20px);
  margin: 0;
  padding: 0;
}

.catalog-section.expanded {
  max-height: none;
  opacity: 1;
  transform: translateY(0);
  margin-top: 2rem;
  padding-top: 1rem;
}

.catalog-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 4px 14px 0 rgba(30, 64, 175, 0.3);
  position: relative;
  overflow: hidden;
}

.catalog-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.catalog-toggle:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px 0 rgba(30, 64, 175, 0.4);
}

.catalog-toggle:hover::before {
  left: 100%;
}

.catalog-toggle:active {
  transform: translateY(-1px);
}

.toggle-icon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.1rem;
}

.catalog-section.expanded + * .toggle-icon,
.expanded-state .toggle-icon {
  transform: rotate(180deg);
}

.catalog-section.expanded .card {
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

.catalog-section.expanded .card:nth-child(1) { animation-delay: 0.1s; }
.catalog-section.expanded .card:nth-child(2) { animation-delay: 0.2s; }
.catalog-section.expanded .card:nth-child(3) { animation-delay: 0.3s; }
.catalog-section.expanded .card:nth-child(4) { animation-delay: 0.4s; }
.catalog-section.expanded .card:nth-child(5) { animation-delay: 0.5s; }
.catalog-section.expanded .card:nth-child(6) { animation-delay: 0.6s; }
.catalog-section.expanded .card:nth-child(n+7) { animation-delay: 0.7s; }

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about {
          padding: 80px 0;
          background: white;
          margin-top: 40px; /* Added margin to ensure proper spacing from products */
        }

.about-content {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 64px;
          align-items: center;
        }

.about-text h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 18px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 24px;
}

.stats-grid {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 24px;
        }

.stat {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: bold;
  color: #1e40af;
  margin-bottom: 8px;
}

.stat-label {
  color: #6b7280;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 96px;
  height: 96px;
  background: #1e40af;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact {
  padding: 60px 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.location-section,
.contact-form {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  height: 600px;
  display: flex;
  flex-direction: column;
}

.location-section h2,
.contact-form h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 25px;
  text-align: center;
}

.map-container {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  flex: 1;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: #1e40af;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 20px;
}

.contact-details h4 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.contact-details p {
  color: #6b7280;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-1 {
  width: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.footer-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, #8b5cf6, transparent);
  animation: shimmer-1 3s infinite;
}

.container-2 {
          max-width: 1200px;
          margin: 0 auto;
          padding: 3rem 2rem 2rem;
          position: relative;
          z-index: 2;
        }

.footer-content-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-section-4 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp-5 0.8s ease forwards;
}

.footer-section-4:nth-child(1) { animation-delay: 0.1s; }
.footer-section-4:nth-child(2) { animation-delay: 0.3s; }
.footer-section-4:nth-child(3) { animation-delay: 0.5s; }

.logo-section-6 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.logo-container-7 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.logo-8 {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.logo-8:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

.brand-name-9 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.025em;
}

.description-10 {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 280px;
}

.social-links-11 {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link-12 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: px solid rgba(255, 255, 255, 0.1);
}

.social-link-12:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.3);
}

.section-title-13 {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title-13::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transition: width 0.3s ease;
}

.footer-section-4:hover .section-title-13::after {
  width: 100%;
}

.nav-links-14 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-link-15 {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  border-radius: 6px;
  position: relative;
  padding-left: 1rem;
}

.nav-link-15::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transition: width 0.3s ease;
}

.nav-link-15:hover {
  color: white;
  padding-left: 1.5rem;
}

.nav-link-15:hover::before {
  width: 1rem;
}

.contact-info-16 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item-17 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid transparent;
}

.contact-item-17:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-icon-18 {
  width: 20px;
  height: 20px;
  color: #3b82f6;
}

.footer-bottom-19 {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.floating-particles-20 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle-21 {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  animation: float-22 6s infinite ease-in-out;
}

.particle-21:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle-21:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle-21:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle-21:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle-21:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle-21:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle-21:nth-child(7) { left: 70%; animation-delay: 1.5s; }
.particle-21:nth-child(8) { left: 80%; animation-delay: 2.5s; }

/* ==========================================================================
   MODAL STYLES
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.hidden {
  display: none;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f3f4f6;
  border: none;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: #e5e7eb;
  color: #374151;
  transform: rotate(90deg);
}

.modal-body {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 24px;
}

.modal-image {
  width: 350px;
  height: 350px;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
}

.modal-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.modal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.modal-info h3 {
  font-size: 28px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 20px;
  line-height: 1.3;
}

.modal-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.modal-label {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  min-width: 90px;
  flex-shrink: 0;
}

.modal-value {
  color: #1e40af;
  font-weight: 500;
  flex: 1;
}

.modal-description {
  color: #6b7280;
  line-height: 1.6;
  margin: 24px 0 32px;
  font-size: 16px;
  flex-grow: 1;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn-modal {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 16px;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 140px;
  text-align: center;
}

.btn-modal-primary {
  background: #1e40af;
  color: white;
}

.btn-modal-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.btn-modal-secondary {
  border: 2px solid #e5e7eb;
  color: #374151;
  background: transparent;
}

.btn-modal-secondary:hover {
  border-color: #1e40af;
  color: #1e40af;
  background: rgba(30, 64, 175, 0.05);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes shimmer-1 {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes fadeInUp-5 {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-22 {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.8;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

.catalog-section.loading {
  max-height: 200px;
  opacity: 0.6;
}

.catalog-section.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ==========================================================================
   RTL SUPPORT
   ========================================================================== */

[dir="rtl"] {
  direction: rtl;
}

[dir="rtl"] .header-content {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-and-lang {
  flex-direction: row-reverse;
}

[dir="rtl"] .language-dropdown {
  right: auto;
  left: 0;
}

[dir="rtl"] .modal-body {
  flex-direction: row-reverse;
}

[dir="rtl"] .modal-detail {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .contact-content {
  direction: rtl;
}

[dir="rtl"] .hero-buttons {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-content-3 {
  direction: rtl;
  text-align: right;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (min-width: 768px) {
  .footer-content-3 {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Large Desktop and TV screens - 5 columns */
@media (min-width: 1600px) {
  .products-grid,
  #fullCatalog .grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 36px;
  }

  .product-card {
    height: 420px;
  }

  .product-image {
    height: 280px;
  }
}

/* Standard Desktop - 4 columns (default) */
@media (min-width: 1200px) and (max-width: 1599px) {
  .products-grid,
  #fullCatalog .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

/* Medium Desktop - 3 columns */
@media (min-width: 992px) and (max-width: 1199px) {
  .products-grid,
  #fullCatalog .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .product-card {
    height: 390px;
  }

  .product-image {
    height: 250px;
  }
}

/* Tablet Landscape - 3 columns */
@media (min-width: 768px) and (max-width: 991px) {
  .nav-and-lang {
    gap: 16px;
  }

  nav {
    gap: 20px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .products-grid,
  #fullCatalog .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .product-card {
    height: 380px;
  }

  .product-image {
    height: 240px;
  }

  .product-info {
    padding: 18px;
  }

  .product-info h3 {
    font-size: 17px;
  }

  .about-content,
  .contact-content {
    gap: 40px;
  }
}

/* Tablet Portrait and Small Laptop - 2 columns */
@media (max-width: 767px) {
  .nav-and-lang {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .products-grid,
  #fullCatalog .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-card {
    height: 370px;
  }

  .product-image {
    height: 230px;
  }

  .product-info {
    padding: 16px;
  }

  .product-info h3 {
    font-size: 16px;
    -webkit-line-clamp: 2;
  }

  .product-info p {
    font-size: 13px;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-body {
    flex-direction: column;
    padding: 20px;
  }

  .modal-image {
    width: 100%;
    height: 280px;
  }

  .modal-info {
    padding: 0;
  }

  .modal-buttons {
    flex-direction: column;
  }

  .btn-modal {
    width: 100%;
  }

  .location-section,
  .contact-form {
    height: auto;
    min-height: 500px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .contact {
    padding: 40px 0;
  }

  .container-2 {
    padding: 2rem 1rem 1.5rem;
  }

  .footer-content-3 {
    gap: 2rem;
  }

  .logo-container-7 {
    justify-content: center;
    text-align: center;
  }

  .social-links-11 {
    justify-content: center;
  }

  .catalog-toggle {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .catalog-section {
    margin-top: 1rem;
  }
}

/* Large Mobile - Still 2 columns but smaller cards */
@media (max-width: 600px) {
  .products-grid,
  #fullCatalog .grid {
    gap: 16px;
  }

  .product-card {
    height: 350px;
  }

  .product-image {
    height: 210px;
  }

  .product-info {
    padding: 14px;
    min-height: 120px;
  }

  .product-info h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .product-info p {
    font-size: 12px;
  }

  .product-badge {
    padding: 4px 8px;
    font-size: 11px;
    top: 12px;
    right: 12px;
  }
}

/* Small Mobile - Single column */
@media (max-width: 480px) {
 

  .hero {
    padding: 60px 0;
    
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .features,
  .products,
  .about,
  .contact {
    padding: 60px 0;
  }

  .products-grid,
  #fullCatalog .grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
  }

  .product-card {
    height: 380px;
    max-width: 100%;
  }

  .product-image {
    height: 240px;
  }

  .product-info {
    padding: 18px;
    min-height: 120px;
  }

  .product-info h3 {
    font-size: 16px;
    -webkit-line-clamp: 2;
  }

  .product-info p {
    font-size: 13px;
  }

  .modal-content {
    max-width: calc(100vw - 32px);
    margin: 16px;
  }

  .modal-image {
    height: 250px;
  }

  .modal-info h3 {
    font-size: 24px;
  }

  .catalog-toggle {
    padding: 0.625rem 1.25rem;
    font-size: 0.85rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .products-grid,
  #fullCatalog .grid {
    gap: 16px;
    max-width: 320px;
  }

  .product-card {
    height: 360px;
  }

  .product-image {
    height: 220px;
  }

  .product-info {
    padding: 16px;
  }

  .product-info h3 {
    font-size: 15px;
  }

  .product-info p {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }
}
.search-input {
  padding: 10px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 15px;
}