@font-face {
  font-family: 'Font Awesome 6 Free';
  font-display: swap;
}

    :root {
      --blue1: #0076ff;
      --blue2: #004c99;
      --blue3: #39a8ff;
      --gray-card: #e2e6eb;
      --text-dark: #0a0a0a;

      --primary: #076d23;
      --primary-dark: #054d18;
      --accent: #ff6b35;

      --bg1: #002b66;
      --bg2: #0055cc;

      --white: #ffffff;
      --shadow: 0 6px 20px rgba(0, 0, 0, 0.2);

      font-family: "Zain", sans-serif;
    }

    body {
      font-family: "Zain", sans-serif;
      margin: 0;
      padding: 0;
      background: linear-gradient(135deg, var(--bg2));
      color: white;
      -webkit-tap-highlight-color: transparent;
      
    }


    * { box-sizing: border-box; }
button {
  font-family: "Zain", sans-serif;
}
    /* -------------------- HEADER -------------------- */
    header {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 20px;
      backdrop-filter: blur(6px);
      background: rgba(0, 0, 0, 0.25);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      position: sticky;
      top: 0;
      z-index: 10;
    }
    header img {
      width: 48px;
      height: 48px;
      border-radius: 10px;
      object-fit: cover;
    }
    .brand .title {
      font-size: 16px;
      font-weight: bold;
    }
    .brand .subtitle {
      font-size: 11px;
      color: #cccccc;
    }
    .spacer { flex: 1; }

    /* -------------------- CARDS -------------------- */
    .cards {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      padding: 20px;
      max-width: 1000px;
      margin: auto;
      margin-top: 20px;
    }

    .card {
      padding: 20px;
      border-radius: 16px;
      box-shadow: var(--shadow);
      text-align: center;
      cursor: pointer;
      transition: 0.25s;
      font-weight: 600;
    }

    .card i { font-size: 30px; margin-bottom: 12px; }

    .card:hover { transform: translateY(-6px); }

    .card1 { background: var(--blue1); }
    .card2 { background: var(--blue2); }
    .card3 { background: var(--blue3); color: black; }
    .card4 { background: var(--gray-card); color: var(--text-dark); }

    @media(max-width: 720px) {
      .cards { grid-template-columns: repeat(2, 1fr); }
    }

    /* -------------------- MODAL -------------------- */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.6);
      display: none;
      justify-content: center;
      align-items: center;
      padding: 20px;
      z-index: 50;
    }

    .modal {
      width: 100%;
      max-width: 480px;
      background: white;
      color: #333;
      padding: 20px;
      border-radius: 16px;
      position: relative;
      box-shadow: 0 20px 50px rgba(0,0,0,0.4);
      animation: fadeIn 0.25s ease;
    }

    .close-btn {
      position: absolute;
      top: 12px;
      left: 12px;
      font-size: 20px;
      cursor: pointer;
      color: #555;
      background: none;
      border: none;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* -------------------- ORDER FORM -------------------- */

    .form-container label {
      font-weight: 600;
      margin-bottom: 6px;
      display: block;
    }

    .input-with-icon {
      position: relative;
    }

    .input-with-icon i {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--primary);
    }

    input {
      width: 100%;
      padding: 14px 40px 14px 12px;
      border-radius: 10px;
      border: 1.5px solid #ddd;
      background: #f8fafc;
      font-size: 15px;
      font-family: inherit;
    }

    input:focus {
      outline: none;
      border-color: var(--primary);
    }

    .submit-btn {
      width: 100%;
      padding: 14px;
      margin-top: 15px;
      border: none;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: white;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .success, .error {
      padding: 12px;
      border-radius: 10px;
      margin-top: 12px;
      text-align: center;
    }
    .success {
      background: #e7f9ee;
      border: 1px solid #76c893;
      color: #1b5e20;
    }
    .error {
      background: #fff4e5;
      border: 1px solid #ffc107;
      color: #8a6d3b;
    }

    .feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.feature-item {
  background: #f6f8fb;
  padding: 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0076ff;
  font-size: 18px;
}

@media(max-width:480px){
  .feature-list { grid-template-columns: 1fr; }
}
.card {
  padding: 22px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  cursor: pointer;
  transition: 0.25s;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.card-icon {
  font-size: 42px;
  margin-bottom: 8px;
}

.card-text {
  font-size: 17px;
  font-weight: 700;
  display: block;
}
header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,0.10);
  padding: 6px 14px;
  border-radius: 40px;
}

.whatsapp-btn,
.call-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-btn {
  background: #25D366;
}

.whatsapp-btn i {
  color: white;
  font-size: 20px;
}

.call-btn {
  background: #007bff;
}

.call-btn i {
  color: white;
  font-size: 18px;
}


.footer{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 34px 0;
  text-align: center;

  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffffdd;
  font-size: 14px;
  z-index: 999;
}

.modal {
  max-height: 85vh; /* ارتفاع مناسب */
  overflow: hidden; /* حتى نتحكم في المحتوى فقط */
}
.modal .content {
  max-height: 65vh; /* الارتفاع المتاح للمحتوى */
  overflow-y: auto;
  padding-right: 5px;
}
@media(max-width: 480px){
  .modal {
    max-width: 90%;
    padding: 18px;
    border-radius: 14px;
  }

  .modal .content {
    max-height: 60vh; /* أصغر من أجل الهاتف */
  }
}



.why-codedz-section {
  background: #fff;
  padding: 25px;
  margin: 25px 15px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.why-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: #222;
  text-align: center;
}

.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-header {
  background: none;
  border: none;
  width: 100%;
  padding: 12px;
  text-align: right;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  color: #333;
}

.accordion-header i {
  transition: transform .3s;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.accordion-content p {
  padding: 10px 5px;
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.accordion-item .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: all .35s ease;
}

.accordion-item.active .accordion-content {
  max-height: 2000px; /* مساحة كبيرة تكفي أي نص */
}


.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}


/* ===== Reviews Gallery ===== */
.reviews-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.reviews-gallery img {
  width: 100%;
  border-radius: 10px;
  cursor: zoom-in;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  transition: transform .25s ease;
}

.reviews-gallery img:hover {
  transform: scale(1.05);
}

/* ===== Overlay Zoom ===== */
.img-zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.img-zoom-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  cursor: zoom-out;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* ===== Simple Contact Modal ===== */
.contact-options {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  transition: transform .2s ease, opacity .2s ease;
}

.contact-btn i {
  font-size: 18px;
}

.contact-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.contact-btn.whatsapp {
  background: #25D366;
}

.contact-btn.phone {
  background: #1a0c6b;
}

.contact-btn.telegram {
  background: #0088cc;
}


.icon-home {
  width: 40px;
  height: 40px;
}
.icon-home1 {
  width: 20px;
  color: white;
}
a svg {
  color: #25D366;
}

.icon-home2 {
background-color: #1ebe5d;
border-radius: 50%;
padding: 3px;
color: white;
margin-top: 7px;
}