:root {
  --ai-blue: #202125;
  --ai-gold: #d3ad2c;
  --card-grad1: #23253e;
  --card-grad2: #1a1c27;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Tajawal', Arial, sans-serif;
  background: var(--ai-blue);
  color: #fff;
  overflow-x: hidden;
}

.main-bg {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.bg-img {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  opacity: 0.2;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.21;
}

.split-container {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.left-side, .right-side {
  width: 50vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-side {
  justify-content: flex-end;
  padding-inline-end: 4vw;
  background: none;
  position: relative;
}

.contact-card {
  background: linear-gradient(135deg, #222325 65%, #191a1d 100%);
  border-radius: 28px;
  box-shadow: 0 8px 40px 0 #0006;
  border: 1.5px solid #33353a;
  padding: 38px 32px 28px 32px;
  max-width: 445px;
  width: 100%;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  z-index: 2;
  position: relative;
  backdrop-filter: blur(2.5px);
}


.logo {
  width: 175px;
  margin-bottom: 14px;
  display: block;
  align-items:left!important;
  
}

.coming-soon {
  background: linear-gradient(90deg, #0a396b 0%, #3986d7 100%);
  color: #ececec;
  font-weight: bold;
  padding: 7px 22px;
  border-radius: 22px;
  margin-bottom: 16px;
  font-size: 0.7rem;
  max-width:80px;
  letter-spacing: 1px;
  display: inline-block;
  box-shadow: none; /* أزل الظل */
  border: 1.1px solid #275bcc; /* بوردر رمادي فاتح */
  align-items:left!important;
}


.titles-wrap {
  margin-bottom: 12px;
  text-align: left;
}

.main-title {
  font-size: 1.7rem;
  font-weight: bold;
  margin: 0 0 8px 0;
  display: block;
  line-height: 1.4;
  color: #fff;
}


.main-title-en {
  font-size: 1rem;
  color: #e7e7e7;
  font-weight: 500;
  direction: ltr;
  margin-bottom: 0;
}

.typewriter-ar, .typewriter-en {

 
  color: #1d69b7;
  font-family: inherit;
  font-weight: bold;
  font-size: 1em;
  
  letter-spacing: 1.2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 3px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row input {
  flex: 1;
    font-family: 'Tajawal', Arial, sans-serif;
}
.contact-form input, .contact-form textarea {
  background: #18191b;
  border: 1.5px solid #45474b;    /* بوردر رمادي فاتح */
  border-radius: 13px;
  padding: 12px 13px;
  color: #ececec;
  font-size: 1rem;
  outline: none;
  font-family: 'Tajawal', Arial, sans-serif;
  transition: border 0.2s, background 0.18s;
}

.contact-form input:focus, .contact-form textarea:focus {
  border-color: #d1d5dd;    /* عند التركيز رمادي أفتح */
  background: #1d1e21;
  color: #fff;
}


.contact-form textarea {
  min-height: 54px;
  max-height: 120px;
  resize: vertical;
}
.contact-form button {
  background: linear-gradient(90deg, #0a396b 0%, #3986d7 100%);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 13px;
  font-size: 1.05rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 3px;
  letter-spacing: 0.5px;
  box-shadow: 0 1.5px 6px #2166af22;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}

.contact-form button:hover {
  background: linear-gradient(90deg, #3986d7 0%, #0a396b 100%);
  color: #f8f9fb;
  box-shadow: 0 2px 16px #2166af42;
}


.form-msg {
  display: none;
  background: #2dbfa7e8;
  color: #fff;
  border-radius: 7px;
  margin-top: 10px;
  padding: 8px 12px;
  text-align: center;
  font-size: 1.01rem;
}

.right-side {
  background: none;
  justify-content: flex-start;
  align-items: stretch;
  overflow: hidden;
  position: relative;
}

.hero-img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 1024px) {
  .split-container { flex-direction: column; }
  .left-side, .right-side { width: 100vw; min-height: 0; }
  .left-side { justify-content: flex-start; padding-inline-end: 0; padding-top: 8vw; }
  .contact-card { margin: 0 auto; }
  .right-side { min-height: 32vh; height: 44vw; }
  .hero-img { height: 44vw; min-height: 190px; }
}

@media (max-width: 650px) {
  .contact-card {
    padding: 22px 7px 18px 7px;
    max-width: 99vw;
  }
  .form-row { flex-direction: column; gap: 6px; }
  .main-title { font-size: 1.6rem; }
  .main-title-en { font-size: 0.92rem; }
  .left-side { padding-top: 25px; }
  .hero-img { height: 39vw; }
}

::-webkit-scrollbar { width: 0; background: transparent; }



/* ===== موبايل: إظهار الفورم فقط فوق bg01.jpg مع شفافية ===== */
@media (max-width: 768px) {
  /* أخفي خلفية bg002.jpg */
  .bg-img {
    display: none !important;
  }

  /* استخدم bg01.jpg كخلفية رئيسية */
  .main-bg {
    background: url('bg01.jpg') center center / cover no-repeat fixed !important;
    min-height: 100vh;
  }

  /* حول التخطيط إلى عمودي */
  .split-container {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 10px 12px;
    box-sizing: border-box;
  }

  .right-side {
    display: none !important;
  }

  .left-side {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .contact-card {
    width: 100%;
    max-width: 95%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    padding: 24px 18px;
  }

  .form-row {
    flex-direction: column;
    gap: 8px;
  }

  .main-title {
    font-size: 1.4rem;
  }

  .main-title-en {
    font-size: 1rem;
  }

  /* تأكيد تطبيق الخط من Google */
  body, input, textarea, button, .main-title, .main-title-en, .typewriter-ar, .typewriter-en {
    font-family: 'Tajawal', Arial, sans-serif !important;
  }
}


