* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  background: #020617;
  color: #fff;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #020617;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
}

.header a,
.header button {
  color: #fff;
  margin-left: 15px;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.logo {
  font-weight: bold;
  font-size: 20px;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  text-align: center;
  background: linear-gradient(135deg, #020617, #020617);
}

.hero h1 {
  font-size: 48px;
}

.hero h2 {
  color: #fbbf24;
  max-width: 800px;
  margin: auto;
}

.numbers {
  margin: 20px 0;
}

/* BUTTONS */
.btn {
  padding: 12px 25px;
  background: #fbbf24;
  color: #020617;
  text-decoration: none;
  border-radius: 6px;
  margin: 10px;
  display: inline-block;
}

.btn.outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

/* SECTIONS */
.section {
  padding: 80px 30px;
}

.section.dark {
  background: #020617;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.category {
  margin: 40px 0 20px;
}

/* GRID – FIXED */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card p {
  padding: 12px;
  font-weight: bold;
}

/* CONTACT */
.contact-form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: none;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
}
/* ADVANCED HERO */
.hero-advanced {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #020617, #0f172a);
  z-index: 0;
}

.hero-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
}

.hero-blur.amber {
  width: 300px;
  height: 300px;
  background: #f0ae07;
  top: 10%;
  left: 10%;
}

.hero-blur.blue {
  width: 400px;
  height: 400px;
  background: #0559e1;
  bottom: 10%;
  right: 10%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 20px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: bold;
  border: 4px solid #334155;
}

.hero-advanced h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero-advanced h2 {
  color: #fbbf24;
  font-size: 22px;
  margin-bottom: 25px;
}

.hero-numbers {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
}

.hero-numbers div {
  background: rgba(255,255,255,0.08);
  padding: 10px 20px;
  border-radius: 8px;
}

.hero-tagline {
  color: #cbd5f5;
  max-width: 700px;
  margin: 0 auto 35px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
  margin-top: 50px;
}

.feature {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 12px;
}

.feature span {
  font-size: 32px;
}

.scroll-indicator {
  margin-top: 40px;
  font-size: 32px;
  opacity: 0.6;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
/* =========================
   PRODUCTS – MOBILE ONLY FIX
   ========================= */

@media (max-width: 768px) {

  #products {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-card {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
  }

  .product-card-content {
    padding: 18px;
  }

  .product-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .product-card p {
    font-size: 14px;
    line-height: 1.6;
  }

  .product-list li {
    font-size: 14px;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 420px) {

  .product-card img {
    height: 160px;
  }

  .product-card h3 {
    font-size: 16px;
  }
}
/* PREMIUM CONTACT SECTION */
.contact-premium {
  background: linear-gradient(180deg, #020617, #020617);
  padding: 90px 20px;
  color: #fff;
}

.contact-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.contact-info p {
  color: #94a3b8;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.contact-item span {
  font-size: 22px;
}

.contact-item strong {
  display: block;
  color: #fbbf24;
  margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
  color: #e5e7eb;
  text-decoration: none;
}

.contact-form-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 30px;
}

.contact-form-card h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.contact-form-card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form-card input,
.contact-form-card textarea {
  background: #020617;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: #64748b;
}

.contact-form-card button {
  margin-top: 10px;
  background: #fbbf24;
  color: #020617;
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form-card button:hover {
  background: #f59e0b;
}

/* MOBILE SAFE */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  z-index: 9999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* Mobile fine tuning */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 18px;
    right: 18px;
  }
}
.hero-logo {
  width: 130px;
  height: 130px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(145deg, #020617, #0f172a);
  border-radius: 18px;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 25px 60px rgba(0,0,0,0.85),
    0 0 55px rgba(255,193,7,0.45);

  animation: logoFloat 6s ease-in-out infinite;
}

.logo-text {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 4px;

  background: linear-gradient(180deg, #fff, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 18px rgba(255,193,7,0.7),
    0 0 35px rgba(255,193,7,0.45);
}

/* Floating animation */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.logo-text-header {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;

  background: linear-gradient(180deg, #fff, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 10px rgba(255,193,7,0.5);
}
@media (max-width: 640px) {
  .hero-logo {
    width: 110px;
    height: 110px;
  }

  .logo-text {
    font-size: 2.6rem;
  }
}
/* Language Toggle Button */
#langToggle {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #020617;
  border: none;
  padding: 8px 14px;
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
  margin-left: 16px;
  letter-spacing: 1px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(245, 158, 11, 0.6);
}

/* Hover */
#langToggle:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.7);
}

/* Pulse Animation */
#langToggle::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.4);
  opacity: 0;
  animation: pulseLang 2s infinite;
}

@keyframes pulseLang {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* RTL visual tweak */
html[dir="rtl"] #langToggle {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
}
#langToggle.clicked {
  animation: clickPop 0.3s ease;
}

@keyframes clickPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
/* ================================
   MOBILE COMPRESSION (SAFE)
   ================================ */
@media (max-width: 768px) {

  /* HEADER */
  .header {
    padding: 10px 16px;
  }

  nav a {
    font-size: 14px;
    margin: 0 6px;
  }

  /* HERO */
  .hero-advanced {
    padding-top: 90px;
    padding-bottom: 60px;
    min-height: unset;
  }

  .hero-logo {
    margin-bottom: 14px;
    transform: scale(0.85);
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .hero-ar {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .hero-numbers {
    gap: 10px;
    margin-bottom: 14px;
  }

  .hero-tagline {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .hero-buttons {
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-buttons .btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  /* FEATURES */
  .hero-features {
    gap: 12px;
  }

  .hero-features .feature {
    padding: 14px;
  }

  .hero-features h3 {
    font-size: 14px;
  }

  .hero-features p {
    font-size: 12px;
  }

  /* SECTIONS */
  .section {
    padding: 50px 16px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .category {
    margin: 28px 0 12px;
    font-size: 18px;
  }

  /* PRODUCT GRID */
  .grid {
    gap: 14px;
  }

  .card {
    padding: 12px;
  }

  .card img {
    max-height: 80px;
    object-fit: contain;
  }

  .card p {
    font-size: 13px;
    margin-top: 6px;
  }

  /* CONTACT */
  .contact-premium {
    padding: 50px 16px;
  }

  .contact-grid {
    gap: 20px;
  }

  .contact-info h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .contact-info p {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .contact-form-card {
    padding: 18px;
  }

  /* WHATSAPP FLOAT */
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float img {
    width: 22px;
  }
}
/* ================================
   MOBILE HERO FULL SCREEN FIT
   ================================ */
@media (max-width: 768px) {

  .hero-advanced {
    min-height: 100svh; /* mobile-safe viewport */
    display: flex;
    align-items: center;
    padding-top: 70px;  /* header offset */
    padding-bottom: 30px;
  }

  .hero-content {
    width: 100%;
  }

  .scroll-indicator {
    display: none; /* remove extra height */
  }

  /* Reduce background blur overflow */
  .hero-blur {
    opacity: 0.45;
    filter: blur(80px);
  }

}
/* ===============================
   PRODUCT GRID – PROFESSIONAL FIX
   =============================== */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

/* Product card */
.card {
  background: #0f172a;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  margin: 0;
  opacity: 0.9;
}

/* Hover (desktop only) */
@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  }
}

/* ===============================
   MOBILE REFINEMENT
   =============================== */

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .card {
    padding: 10px;
  }

  .card img {
    max-height: 55px;
  }

  .card p {
    font-size: 12px;
  }
}
/* ============================= */
/* MOBILE HERO FEATURES TUNING */
/* ============================= */
@media (max-width: 768px) {

  .hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
  }

  .hero-features .feature {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 14px 10px;
    text-align: center;
    backdrop-filter: blur(6px);
  }

  /* Make last feature centered */
  .hero-features .feature:last-child {
    grid-column: span 2;
  }

  .hero-features .feature span {
    font-size: 22px;
    display: block;
    margin-bottom: 6px;
  }

  .hero-features h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .hero-features p {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.85;
  }
}
.header .logo img {
  height: 45px;          /* adjust if needed */
  width: auto;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 768px) {
  .header .logo img {
    height: 38px;
  }
}
.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-logo img {
  height: 90px;
  width: auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}

/* Mobile */
@media (max-width: 768px) {
  .hero-logo img {
    height: 70px;
  }
}
.hero-logo img {
  border-radius: 50%;
  border: 4px solid #334155;
}
.hero-logo img:hover {
  box-shadow: 0 0 15px rgba(255,193,7,0.6);
  transform: scale(1.05);
  transition: all 0.3s ease;
}
