/* =========================
   Contact Page Style
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body.theme-contact {
  font-family: "Tahoma", "Arial", sans-serif;
  direction: rtl;
  background: #f6f8fb;
  color: #1f2937;
  margin: 0;
  line-height: 1.8;
}

body.theme-contact .container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

body.theme-contact a {
  text-decoration: none;
}

/* =========================
   Page Hero
========================= */

body.theme-contact .page-hero {
  position: relative;
  padding: 95px 0 85px;
  background:
    linear-gradient(90deg, rgba(7, 26, 47, 0.94), rgba(13, 43, 78, 0.90)),
    radial-gradient(circle at 18% 25%, rgba(255, 138, 0, 0.32), transparent 28%);
  color: #ffffff;
  overflow: hidden;
}

body.theme-contact .page-hero::before {
  content: "";
  position: absolute;
  top: -90px;
  left: -90px;
  width: 260px;
  height: 260px;
  background: rgba(255, 138, 0, 0.18);
  border-radius: 50%;
}

body.theme-contact .page-hero::after {
  content: "";
  position: absolute;
  bottom: -130px;
  right: -130px;
  width: 330px;
  height: 330px;
  background: rgba(255, 179, 87, 0.16);
  border-radius: 50%;
}

body.theme-contact .page-title {
  position: relative;
  z-index: 2;
  text-align: center;
}

body.theme-contact .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 800;
}

body.theme-contact .breadcrumb a {
  color: #ffb357;
}

body.theme-contact .breadcrumb span {
  color: rgba(255, 255, 255, 0.85);
}

body.theme-contact .page-title h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.25;
  margin: 0 0 18px;
  font-weight: 900;
}

body.theme-contact .page-title p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.88);
}

/* =========================
   Section
========================= */

body.theme-contact .section {
  padding: 75px 0;
}

body.theme-contact .section.light {
  background: #ffffff;
}

/* =========================
   Contact Grid
========================= */

body.theme-contact .contact-grid {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  align-items: center;
  justify-items: center;
}

/* =========================
   Form Box
========================= */

body.theme-contact .content-box {
  width: min(820px, 100%);
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e7edf5;
  border-radius: 30px;
  padding: 38px 42px;
  box-shadow: 0 18px 45px rgba(7, 26, 47, 0.12);
  direction: rtl;
  text-align: right;
  overflow: hidden;
}

body.theme-contact .content-box h2 {
  color: #071a2f;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.4;
  margin: 0 0 10px;
  font-weight: 900;
  text-align: center;
}

body.theme-contact .content-box p {
  color: #667085;
  font-size: 18px;
  line-height: 2;
  margin: 0 0 28px;
  text-align: center;
}

/* =========================
   Form
========================= */

body.theme-contact .form {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  direction: rtl;
}

body.theme-contact .form input,
body.theme-contact .form select,
body.theme-contact .form textarea {
  width: 100%;
  border: 1px solid #e7edf5;
  background: #f6f8fb;
  color: #1f2937;
  font-family: inherit;
  font-size: 17px;
  padding: 14px 20px;
  border-radius: 18px;
  outline: none;
  transition: 0.25s ease;
  direction: rtl;
  text-align: right;
}

body.theme-contact .form input,
body.theme-contact .form select {
  height: 62px;
}

body.theme-contact .form textarea {
  height: 170px;
  min-height: 170px;
  resize: none;
}

body.theme-contact .form input::placeholder,
body.theme-contact .form textarea::placeholder {
  color: #667085;
  text-align: right;
}

body.theme-contact .form select {
  cursor: pointer;
}

body.theme-contact .form input:focus,
body.theme-contact .form select:focus,
body.theme-contact .form textarea:focus {
  border-color: #ff8a00;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.12);
}

/* زر الإرسال */
body.theme-contact .form .btn.primary {
  justify-self: start;
  min-width: 155px;
  height: 66px;
  border: 0;
  background: #ff8a00;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(255, 138, 0, 0.28);
  transition: 0.25s ease;
}

body.theme-contact .form .btn.primary:hover {
  background: #d97706;
  transform: translateY(-3px);
}

/* =========================
   Contact Info
========================= */

body.theme-contact .contact-list {
  width: min(1000px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  order: 2;
}

body.theme-contact .contact-item {
  background: #ffffff;
  border: 1px solid #e7edf5;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(7, 26, 47, 0.07);
  transition: 0.25s ease;
  text-align: right;
}

body.theme-contact .contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(7, 26, 47, 0.12);
}

body.theme-contact .contact-item h3 {
  color: #071a2f;
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 8px;
}

body.theme-contact .contact-item p {
  color: #667085;
  font-size: 18px;
  margin: 0;
}

body.theme-contact .contact-item a {
  color: #ff8a00;
  font-weight: 900;
}

/* =========================
   Map Box
========================= */

body.theme-contact .map-box {
  grid-column: 1 / -1;
  width: 100%;
  height: 360px !important;
  padding: 0 !important;
  margin: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: transparent !important;
  display: block !important;
  box-shadow: 0 18px 45px rgba(7, 26, 47, 0.16);
}

body.theme-contact .map-box iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 24px;
}

/* =========================
   Tablet
========================= */

@media (max-width: 950px) {
  body.theme-contact .container,
  body.theme-contact .contact-grid {
    width: min(100%, calc(100% - 28px));
  }

  body.theme-contact .contact-list {
    grid-template-columns: 1fr;
    width: 100%;
  }

  body.theme-contact .content-box {
    width: 100%;
  }
}

/* =========================
   Mobile
========================= */

@media (max-width: 650px) {
  body.theme-contact .container,
  body.theme-contact .contact-grid {
    width: min(100%, calc(100% - 24px));
  }

  body.theme-contact .page-hero {
    padding: 55px 0 45px;
  }

  body.theme-contact .page-hero::before {
    width: 180px;
    height: 180px;
    top: -70px;
    left: -70px;
  }

  body.theme-contact .page-hero::after {
    width: 220px;
    height: 220px;
    bottom: -90px;
    right: -90px;
  }

  body.theme-contact .page-title h1 {
    font-size: 32px;
    margin-bottom: 10px;
  }

  body.theme-contact .page-title p {
    font-size: 15px;
    line-height: 1.9;
    padding: 0 6px;
  }

  body.theme-contact .breadcrumb {
    font-size: 12px;
    padding: 7px 13px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  body.theme-contact .section {
    padding: 36px 0;
  }

  body.theme-contact .contact-grid {
    gap: 24px;
    justify-items: stretch;
  }

  body.theme-contact .content-box {
    width: 100%;
    padding: 22px 16px;
    border-radius: 22px;
  }

  body.theme-contact .content-box h2 {
    font-size: 28px;
    line-height: 1.35;
  }

  body.theme-contact .content-box p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  body.theme-contact .form {
    max-width: 100%;
    gap: 14px;
  }

  body.theme-contact .form input,
  body.theme-contact .form select,
  body.theme-contact .form textarea {
    width: 100%;
    font-size: 16px;
    padding: 13px 14px;
    border-radius: 14px;
  }

  body.theme-contact .form input,
  body.theme-contact .form select {
    height: 54px;
  }

  body.theme-contact .form textarea {
    height: 130px;
    min-height: 130px;
  }

  body.theme-contact .form .btn.primary {
    width: 100%;
    justify-self: stretch;
    height: 56px;
    border-radius: 14px;
    font-size: 16px;
  }

  body.theme-contact .contact-list {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }

  body.theme-contact .contact-item {
    padding: 20px 18px;
    border-radius: 18px;
  }

  body.theme-contact .contact-item h3 {
    font-size: 20px;
  }

  body.theme-contact .contact-item p {
    font-size: 16px;
  }

  body.theme-contact .map-box {
    height: 240px !important;
    border-radius: 18px;
  }

  body.theme-contact .map-box iframe {
    border-radius: 18px;
  }
}

/* =========================
   Very Small Mobile
========================= */

@media (max-width: 390px) {
  body.theme-contact .container,
  body.theme-contact .contact-grid {
    width: min(100%, calc(100% - 18px));
  }

  body.theme-contact .content-box {
    padding: 20px 12px;
  }

  body.theme-contact .content-box h2 {
    font-size: 25px;
  }

  body.theme-contact .form input,
  body.theme-contact .form select,
  body.theme-contact .form textarea {
    padding: 12px;
  }

  body.theme-contact .map-box {
    height: 220px !important;
  }
}