* {
  box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
  background: #eeeeee;
  color: #222;
}

html, body {
  overflow-x: hidden;
}

/* Header */
.header {
  display: flex;
  justify-content: center;
  padding: 40px 0 20px;
}

.logo {
  max-width: 160px;
  height: auto;
}

/* Language */
.lang-switch {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.lang-switch button {
  border: 1px solid #ccc;
  background: #fff;
  padding: 6px 14px;
  cursor: pointer;
}

.lang-switch button.active {
  background: #111;
  color: #fff;
}

/* Title */
.title-section {
  text-align: center;
  margin: 40px 0 20px;
}

.title-section h1 {
  font-size: 36px;
  color: #2f55a4;
}

.underline {
  width: 60px;
  height: 4px;
  background: #6f6f6f;
  display: block;
  margin: 10px auto 0;
}

/* Intro */
.intro-box {
  max-width: 900px;
  margin: 30px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
}

.intro-line {
  width: 6px;
  background: #6f6f6f;
}


.intro-content {
  padding: 24px 28px;
}

.intro-label {
  font-size: 12px;
  letter-spacing: 1px;
  color: #2f55a4;
  font-weight: bold;
}

.intro-title {
  margin: 10px 0;
  font-size: 18px;
}

.intro-note {
  font-size: 14px;
  color: #666;
}

/* Form */
.form-section {
  max-width: 900px;
  margin: 30px auto 60px;
  padding: 45px;
  background: #ffffff;
  border-radius: 18px;

  box-shadow: 0 15px 40px rgba(0,0,0,0.05);

  /* نفس الخط الرصاصي */
  border-left: 6px solid #6f6f6f;
}


input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: 0.3s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #6f6f6f;
  box-shadow: 0 0 0 3px rgba(111,111,111,0.1);
}


.row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.field {
  flex: 1;
}

label {
  display: block;
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
}

textarea {
  min-height: 100px;
}

.submit-btn {
  background: #6f6f6f;
  color: #fff;
  border: none;
  padding: 14px;
  width: 200px;
  cursor: pointer;
}

.submit-btn:hover {
  background: #555555;
}

/* Mobile */
@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }

  .logo {
    max-width: 130px;
  }
}




/* Intro Box Premium Style */
.intro-box {
  max-width: 900px;
  margin: 50px auto 30px;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.05);
  border-left: 5px solid #6f6f6f;
}

.intro-content {
  text-align: left;
}

.intro-label {
  font-size: 13px;
  letter-spacing: 2px;
  color: #6f6f6f;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.intro-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  color: #222;
  margin-bottom: 12px;
}

.intro-note {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

/* Title Box */
.title-box {
  max-width: 900px;
  margin: 40px auto 30px;
  background: #ffffff;
  padding: 40px 40px 40px 50px; /* زودنا padding شمال */
  border-radius: 18px;

  box-shadow: 0 12px 35px rgba(0,0,0,0.05);

  border-left: 6px solid #6f6f6f;

  text-align: center; /* مهم جداً */
}


.title-box h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #6f6f6f;
  margin: 15px auto 0;
  border-radius: 2px;
}



/* Language top right */
.header-lang {
  display: flex;
  align-items: center;
  gap: 8px;
}


.header-lang button {
  background: transparent;
  border: 1px solid #777;
  color: #ddd;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.header-lang button:hover {
  background: #6f6f6f;
  color: #fff;
  border-color: #6f6f6f;
}

.header-lang button.active {
  background: #6f6f6f;
  color: #fff;
  border-color: #6f6f6f;
}

/* Fix RTL form layout */
body[dir="rtl"] .row {
  flex-direction: row-reverse;
}
/* Fix Select2 width inside flex */
.select2-container {
  width: 100% !important;
}

/* Prevent overflow in RTL */
.field {
  min-width: 0;
}

/* Fix dropdown alignment in RTL */
body[dir="rtl"] .select2-container--default .select2-selection--single {
  text-align: right;
}

body[dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-right: 12px;
  padding-left: 30px;
}

/* content.html */

/* =============================
   HERO SECTION
============================= */

.hero-section {
  width: 100%;
}


.hero-video {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}



/* الفيديو خلفية كاملة */
.hero-video video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* زووم خفيف */
  transform: scale(1.05);

  /* وضوح أعلى */
  filter: brightness(1.1) contrast(1.2) saturate(1.1);
}

/* =============================
   TITLE BOX فوق الفيديو
============================= */

.hero-title-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;

  background: rgba(0, 0, 0, 0.55);
  padding: 22px 55px;
  border-radius: 14px;

  color: #ffffff;
  font-size: 34px;
  letter-spacing: 4px;
  font-weight: 600;

  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  text-align: center;
}


/* =============================
   CONTENT GRID
============================= */

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 100px 10%;
  background: #f5f5f5;
}

@media (max-width: 992px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.content-box {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  text-align: center;
  transition: 0.4s ease;
  cursor: pointer;
}

.content-box:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

.content-box span {
  display: block;
  font-size: 18px;
  color: #6f6f6f;
  margin-bottom: 20px;
  letter-spacing: 6px;
  font-weight: 500;
}

.content-box h2 {
  font-size: 22px;
  color: #222;
  margin: 0;
}

/* =============================
   Responsive
============================= */

@media (max-width: 768px) {

  .hero-title-box {
    font-size: 20px;
    padding: 15px 25px;
    letter-spacing: 2px;
  }

  .numbers-grid {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 50px;
  }

  .hero-video {
    height: 60vh;
  }

  .content-grid {
    padding: 25px 5%;
    gap: 20px;
    grid-template-columns: 1fr;
  }

}







/* =============================
   OUR NUMBERS
============================= */

/* =============================
   OUR NUMBERS SECTION
============================= */

.numbers-section {
  padding: 100px 5%;
  background: #f5f5f5;
  text-align: center;
}

/* عنوان السيكشن */
.section-title {
  font-size: 36px;
  letter-spacing: 4px;
  margin-bottom: 80px;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #2f3e34;
  margin: 20px auto 0;
  border-radius: 2px;
}


/* الجريد */
.numbers-grid {
  display: flex;
  justify-content: center;   /* يوسّطهم */
  align-items: center;
  gap: 120px;
  width: 100%;
}

/* كل رقم */
.number-box {
  text-align: center;
  min-width: 200px;
}

/* الرقم */
.number-box h3 {
  font-size: 60px;
  margin: 0;
  color: #222;
  font-weight: 700;
  position: relative;
}

/* علامة + */
.number-box h3::after {
  content: "+";
  font-size: 28px;
  margin-left: 6px;
  color: #6f6f6f;
  position: relative;
  top: -15px;
}

/* النص تحت الرقم */
.number-box p {
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 3px;
  color: #666;
}

/* WORLDWIDE SHIPPING */
.worldwide {
  margin-top: 90px;
  font-size: 18px;
  letter-spacing: 4px;
  font-weight: 600;
  text-align: center;
}

.order-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 18px 45px;
  background: #2f3e34;
  color: #fff;
  text-decoration: none;
  letter-spacing: 3px;
  font-size: 14px;
  border-radius: 40px;
  transition: 0.3s ease;
}

.order-btn:hover {
  background: #3f5246;
  transform: translateY(-3px);
}


/* =============================
   IMAGE CONTENT BOX
============================= */

.image-box {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  aspect-ratio: 16 / 9;   /* بدل height: 280px */
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* بدل cover */
  transition: 0.5s ease;
  display: block;

  /* Blur خفيف */
  filter: blur(0.2px) brightness(0.7);
}

.image-box:hover img {
  transform: scale(1.07);
  filter: blur(0) brightness(1);
}

a.content-box {
  text-decoration: none;
  color: inherit;
  display: block;
}

.floating-logo {
  position: absolute;
  top: 10px;
  left: -70px;
  height: 200px;
  z-index: 50;
}



/* moq.html */

/* =============================
   MOQ PAGE
============================= */

.moq-hero {
  padding: 100px 20px 60px;
  text-align: center;
  background: #f2f0eb;  /* أوف وايت راقي */
}

.moq-hero h1 {
  font-size: 36px;
  letter-spacing: 4px;
}

.moq-section {
  padding: 130px 10%;
}

.moq-box {
  text-align: center;
  background: #f5f5f5;
  padding: 60px;
  border-radius: 20px;
}

.big-number {
  font-size: 28px;
  font-weight: 600;
  margin: 20px 0;
}

.moq-table {
  max-width: 1000px;
  margin: 50px auto 0;
}

/* الصفوف الخاصة بجدول MOQ فقط */

.moq-cta {
  text-align: center;
  padding: 80px 20px;
}

.back-btn {
  display: inline-block;
  margin-left: 20px;
  padding: 18px 45px;
  background: #ddd;
  color: #000;
  text-decoration: none;
  border-radius: 40px;
  transition: 0.3s;
}

.back-btn:hover {
  background: #ccc;
}


/* =============================
   PREMIUM MOQ DESIGN
============================= */

.moq-hero {
  padding: 120px 20px 60px;
  text-align: center;
  background: #f5f5f5;
}

.moq-hero h1 {
  font-size: 40px;
  letter-spacing: 4px;
}

.moq-hero p {
  margin-top: 15px;
  color: #777;
  letter-spacing: 2px;
}

.moq-highlight {
  padding: 80px 20px;
  text-align: center;
}

.highlight-box {
  position: relative;
  background: #ffffff;   /* أبيض نضيف */
  color: #222;
  padding: 80px;
  border-radius: 30px;
  max-width: 520px;
  margin: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
  border: 1px solid #eceae5;
}

.highlight-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 6px;
  background: #2f3e34;
  border-radius: 30px 0 0 30px;
}

.highlight-number {
  font-size: 80px;
  font-weight: 700;
  margin: 25px 0;
  color: #2f3e34;
}


.moq-section {
  padding: 100px 10%;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 60px;
}

.category-card {
  padding: 30px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.04);
  transition: 0.3s ease;
  letter-spacing: 1px;
}

.category-card:hover {
  transform: translateY(-6px);
  background: #2f3e34;
  color: #fff;
}


.color-note {
  margin-top: 50px;
  letter-spacing: 2px;
  font-size: 14px;
}

.dark {
  background: #f3f1ec;
  color: #222;
}


.printing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 60px;
}

.printing-grid div {
  padding: 20px;
  border: 1px solid #444;
  border-radius: 15px;
}

.min-note {
  margin-top: 50px;
  font-size: 14px;
  letter-spacing: 2px;
}

@media (max-width: 992px) {
  .category-grid,
  .printing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .category-grid,
  .printing-grid {
    grid-template-columns: 1fr;
  }
    .floating-logo {
    top: -10px;
    left: -35px;
    height: 85px;
  }
}

/* services.html */

/* =============================
   SERVICES PAGE
============================= */

.services-hero {
  padding: 130px 20px 80px;
  text-align: center;
  background: linear-gradient(to bottom, #f7f6f3, #f1efe9);
}

.services-hero h1 {
  font-size: 42px;
  letter-spacing: 5px;
}

.services-hero h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: #2f3e34;
  margin: 20px auto 0;
  border-radius: 3px;
}


.services-hero p {
  margin-top: 15px;
  color: #777;
  letter-spacing: 2px;
}

.services-grid {
  padding: 140px 10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: auto;
}

.service-card {
  background: #ffffff;
  padding: 50px 35px;
  border-radius: 25px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.06);
  text-align: center;
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: #2f3e34;
  color: #fff;
}

.service-card h3 {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.service-card .arabic {
  font-size: 15px;
  margin-top: 10px;
  font-weight: 500;
  opacity: 0.9;
}


.services-cta {
  text-align: center;
  padding: 120px 20px;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-number {
  font-size: 13px;
  letter-spacing: 3px;
  color: #999;
  display: block;
  margin-bottom: 18px;
  font-weight: 600;
}

/* =============================
   NAVBAR
============================= */

.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255,255,255,0.06);

  transition: transform 0.1s linear; /* مهم لحركة الاختفاء */
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 1.5%;
}


/* ==============================
   NAV LOGO SIZE CONTROL
============================== */

/* الحجم الافتراضي (MO Q وباقي الصفحات العادية) */
.nav-logo img {
  height: 70px;
  filter: none;
}

/* الصفحة الرئيسية */
.home-header .nav-logo img {
  height: 90px;
  filter: drop-shadow(0 0 18px rgba(0,0,0,0.6));
}

/* الصفحات الأصغر (order + services) */
.small-header .nav-logo img {
  height: 55px;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 35px;

  direction: ltr;   /* مهم جدًا */
}


.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 600;
  transition: 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* Center last single card */
.content-grid > .content-box:last-child {
  grid-column: 2 / 3;
}

@media (max-width: 768px) {
  .content-grid > .content-box:last-child {
    grid-column: auto;
  }
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(238, 238, 238, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
  transform: scale(0.9);
  transition: transform 0.4s ease;
}

.lightbox.active img {
  transform: scale(1);
}

.image-counter {
  position: absolute;
  bottom: 40px;
  font-size: 18px;
  letter-spacing: 2px;
}


.arrow {
  position: absolute;
  top: 50%;                 /* يروح لنص الشاشة */
  transform: translateY(-50%);
  font-size: 60px;
  cursor: pointer;
  user-select: none;
  color: #222;
  transition: 0.3s ease;
}

.arrow.left {
  left: 40px;
}

.arrow.right {
  right: 40px;
}

.arrow:hover {
  transform: translateY(-50%) scale(1.2);
}

/* ... الأكواد القديمة ... */

@media (max-width: 768px) {
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 10px;
        gap: 10px;
    }

    .nav-links {
        position: static; 
        transform: none;
        display: flex;
        overflow-x: auto; 
        white-space: nowrap; 
        gap: 15px;
        padding: 10px 5px;
        flex: 1; 
        scrollbar-width: none; 
        -ms-overflow-style: none; 
        -webkit-overflow-scrolling: touch; 
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        font-size: 13px; 
        letter-spacing: 0;
    }

    .small-header .nav-logo img {
        height: 40px;
    }

    .header-lang button {
        padding: 2px 6px;
        font-size: 10px;
    }
}