/* =========================================
   🔹 Hero Section for Talk-to-Us Page
========================================= */
.hero.talk-hero {
  position: relative;
  height: 100vh;
  overflow: visible;
  background: url('../assets/images/chat-hero.jpg') no-repeat center center / cover;
  animation: fadeInLeft 2s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1;
}

.hero.talk-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0), rgba(15, 23, 42, 1));
  pointer-events: none;
  z-index: 2;
}


/* =========================================
   🔹 Contact Options Section with Images
========================================= */
.contact-options-section.with-bg {
  background: url('../assets/images/contact-bg.jpg') center center / cover no-repeat;
  padding: 5rem 2rem 4rem;
  border-radius: 60px 60px 0 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.contact-options-section.with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  z-index: 0;
  border-radius: 60px 60px 0 0;
}

.contact-options-section.with-bg * {
  position: relative;
  z-index: 2;
}


/* =========================================
   🔹 Headline Box
========================================= */
.headline-box {
  background: rgba(255, 255, 255, 0.08);
  color: var(--codinav-light);
  backdrop-filter: blur(16px);
  padding: 1.5rem 2rem;
  border-radius: 24px;
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

.headline-box h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--codinav-light);
}


/* =========================================
   🔹 Chat Method Cards
========================================= */
.chat-methods {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
}

.image-card {
  width: 200px;
  height: 240px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  padding: 1rem;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}


/* =========================================
   🔹 Quick Social Links
========================================= */
.quick-links-bar {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  padding: 1rem 2rem;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.quick-img {
  width: 50px;
  height: 50px;
  background: var(--codinav-blue);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.quick-img:hover img {
  transform: scale(1.1);
}


/* =========================================
   🔹 Chat Popup Styling
========================================= */
.chat-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.chat-popup-overlay {
  background-color: rgba(15, 23, 42, 0.95);
  color: white;
  border-radius: 30px;
  padding: 2rem;
  width: 95%;
  max-width: 1100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/* 🔹 Close Button */
.close-btn {
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 1rem;
  background-color: #e2e8f0;
  color: #0f172a;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 10;
}


/* =========================================
   🔹 Chat Layout and Form
========================================= */
.chat-popup-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.chat-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-form label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--codinav-light, #f1f5f9);
  margin-bottom: 0.25rem;
  letter-spacing: 0.2px;
}

.chat-form input,
.chat-form select {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  appearance: none;
  -webkit-appearance: none;
}

.chat-form select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}


/* =========================================
   🔹 Chat Right Images
========================================= */
.chat-images {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.chat-logo {
  width: 180px;
  margin-bottom: 1rem;
}

.chat-robot {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  object-fit: cover;
}


/* =========================================
   🔹 Next Button
========================================= */
.chat-next {
  align-self: flex-end;
  background: linear-gradient(to right, #6366f1, #7c3aed);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 1rem;
}

.chat-next:hover {
  background: linear-gradient(to right, #4f46e5, #6d28d9);
}


/* =========================================
   🔹 intl-tel-input Custom Styling
========================================= */
.iti {
  width: 100% !important;
  position: relative !important;
  z-index: 1;
}

.iti--allow-dropdown input {
  width: 100% !important;
}

.iti__country-list {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  z-index: 10000 !important;
  max-height: 220px;
  overflow-y: auto;
  color: black !important; /* ✅ text color */
  background-color: rgba(255, 255, 255, 0.98); /* ✅ light background */
  backdrop-filter: blur(6px);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
}


.iti__country-list::-webkit-scrollbar {
  width: 6px;
}

.iti__country-list::-webkit-scrollbar-thumb {
  background-color: #64748b;
  border-radius: 4px;
}

.iti__country {
  display: flex;
  align-items: center;
  padding: 5px 8px;
}

.iti__flag-box {
  margin-right: 6px;
}

.iti__dial-code {
  margin-left: 4px;
  font-weight: 500;
  color: #f1f5f9;
  flex-shrink: 0;
  width: auto;
}

.iti__flag.iti__sy {
  background-image: url('assets/images/syrian-flag.png') !important;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 28px;       /* standard flag width */
  height: 20px;      /* standard flag height */
}

