/**
 * mobiBahrain - Contact Page Stylesheet
 * Pixel-perfect implementation matching enterprise design with fluid animations
 */

:root {
  --contact-ink: #071f25;
  --contact-navy: #002244;
  --contact-muted: #5a7184;
  --contact-emerald: #2fd4a4;
  --contact-teal: #42d89a;
  --contact-blue: #0767b7;
  --contact-azure: #0058bc;
  --contact-cyan: #12d8fa;
  --contact-mint-bg: #eafaf3;
  --contact-card-bg: #ffffff;
  --contact-border: rgba(7, 103, 183, 0.12);
  --contact-border-mint: rgba(47, 212, 164, 0.35);
  --contact-radius-lg: 24px;
  --contact-radius-md: 16px;
  --contact-radius-pill: 999px;
  --contact-shadow: 0 16px 40px rgba(7, 103, 183, 0.08);
  --contact-shadow-hover: 0 24px 50px rgba(7, 103, 183, 0.14);
}

/* Base resets & safety */
.contact-page-body {
  background: #ffffff;
  color: var(--contact-ink);
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  overflow-x: clip;
  overflow-y: visible;
}

.contact-main {
  position: relative;
  width: 100%;
  padding-top: 110px;
}

/* =========================================================
   1. HERO SECTION ("Let's Start a Conversation")
   ========================================================= */
.contact-hero {
  position: relative;
  text-align: center;
  padding: 48px 24px 40px;
  max-width: 1180px;
  margin: 0 auto;
  overflow: visible;
}

.contact-map-watermark {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 96vw);
  height: auto;
  max-height: 480px;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.95;
  z-index: 0;
  user-select: none;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
}

.contact-hero-title {
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #111d23;
  margin: 0 0 20px;
}

.contact-hero-title .gradient-word {
  background: linear-gradient(90deg, #0288d1 0%, #00b4d8 50%, #42d89a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 800;
  display: inline-block;
  padding-right: 4px;
}

.contact-hero-desc {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
  color: #556977;
  max-width: 860px;
  margin: 0 auto 16px;
  font-weight: 400;
  text-wrap: balance;
}

.contact-hero-desc br.hero-desc-br {
  display: inline;
}

@media (max-width: 768px) {
  .contact-hero-desc br.hero-desc-br {
    display: none;
  }
}

/* 3 Quick Contact Floating Pills */
.contact-hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 56px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--contact-radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(8px);
}

.contact-pill-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-pill-icon svg {
  width: 14px;
  height: 14px;
}

.contact-pill--phone {
  background: #fdfde8;
  color: #6d6300;
  border: 1px solid #fae88a;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.12);
}
.contact-pill--phone .contact-pill-icon {
  background: #fef08a;
  color: #854d0e;
}

.contact-pill--chat {
  background: #e8faf7;
  color: #0d6b53;
  border: 1px solid #a3ebd9;
  box-shadow: 0 4px 14px rgba(47, 212, 164, 0.15);
}
.contact-pill--chat .contact-pill-icon {
  background: #c3f5e9;
  color: #047857;
}

.contact-pill--email {
  background: #eef5ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  box-shadow: 0 4px 14px rgba(7, 103, 183, 0.12);
}
.contact-pill--email .contact-pill-icon {
  background: #dbeafe;
  color: #1d4ed8;
}

.contact-pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 22px rgba(7, 103, 183, 0.16);
}

/* =========================================================
   2. ECOSYSTEM INTEGRATION SECTION ("Connect everything you already use")
   ========================================================= */
.contact-ecosystem-section {
  width: 100%;
  background: linear-gradient(90deg, #e7f6f0 0%, #e2eff3 50%, #e3edf4 100%);
  padding: 72px 0 68px;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

.contact-ecosystem-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
}

.contact-ecosystem-left {
  max-width: 540px;
}

.contact-ecosystem-title {
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: #0b131a;
  padding-left: 20px;
  margin: 0 0 22px 0;
}

.contact-ecosystem-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 3.5px;
  background: #38d39f;
  border-radius: 4px;
}

.contact-ecosystem-title .accent-word {
  background: linear-gradient(90deg, #1fa2b1 0%, #1692b8 40%, #0e7cb8 75%, #056cb7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
}

.contact-ecosystem-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #6c7f8a;
  margin: 0;
  max-width: 520px;
}

.contact-ecosystem-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.contact-ecosystem-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(7, 103, 183, 0.06));
}

/* =========================================================
   3. FEATURE TICKER PILLS BAR (Continuous Smooth Marquee)
   ========================================================= */
.contact-ticker-wrapper {
  width: 100%;
  overflow: hidden;
  margin: 40px 0 20px;
  padding: 8px 0;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  user-select: none;
}

.contact-ticker-track {
  display: flex;
  width: max-content;
  animation: contactTickerScroll 38s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

@media (hover: hover) {
  .contact-ticker-wrapper:hover .contact-ticker-track {
    animation-play-state: paused;
  }
}

.contact-ticker-group {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}

.contact-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 20px;
  background: #ffffff;
  border: 1px solid #d8edf3;
  border-radius: var(--contact-radius-pill);
  font-family: 'Poppins', -apple-system, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #405664;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(7, 103, 183, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.contact-ticker-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38d39f;
  flex-shrink: 0;
}

.contact-ticker-badge:hover {
  transform: translateY(-2px);
  border-color: #38d39f;
  color: #0767b7;
  box-shadow: 0 4px 14px rgba(56, 211, 159, 0.18);
}

@keyframes contactTickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   4. MAIN FORM + SIDE BANNER SECTION
   ========================================================= */
.contact-form-section {
  position: relative;
  max-width: 1200px;
  margin: 50px auto 0;
  padding: 0 24px;
}

.contact-form-unified-card {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: stretch;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 56px rgba(7, 103, 183, 0.08), 0 4px 16px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(7, 103, 183, 0.1);
}

/* Left Brand Callout with contact_left.webp background */
.contact-side-banner {
  position: relative;
  background: #ebf5fb url('assets/images/contact_left.webp') no-repeat center center / cover;
  padding: 64px 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 580px;
  min-width: 0;
  overflow: hidden;
}

.contact-side-content {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
}

.contact-side-badges {
  margin-bottom: 34px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.contact-badge-grow,
.contact-badge-trust {
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(7, 103, 183, 0.08));
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.25s ease;
}

.contact-badge-grow:hover,
.contact-badge-trust:hover {
  transform: translateY(-2px);
}

.contact-side-title {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: 0px;
  vertical-align: middle;
  color: #161e24;
  margin: 0;
}

@media (min-width: 1200px) {
  .contact-side-title {
    font-size: 64px;
    line-height: 1.05;
  }
}

.title-line {
  display: flex;
  align-items: center;
  gap: 16px;
}

.floating-word {
  display: inline-block;
  color: #161e24;
  animation: wordFloat 5.5s ease-in-out infinite;
  will-change: transform, color, filter;
  transition: transform 0.3s ease, color 0.3s ease;
}

.floating-word.word-1 { animation-delay: 0s; --active-color: #00b4d8; --active-glow: rgba(0, 180, 216, 0.45); }
.floating-word.word-2 { animation-delay: 1.1s; --active-color: #35cca0; --active-glow: rgba(53, 204, 160, 0.45); }
.floating-word.word-3 { animation-delay: 2.2s; --active-color: #2ec4b6; --active-glow: rgba(46, 196, 182, 0.45); }
.floating-word.word-4 { animation-delay: 3.3s; --active-color: #0284c7; --active-glow: rgba(2, 132, 199, 0.45); }

.floating-word.word-5 {
  background: linear-gradient(90deg, #35cca0 0%, #2db6a3 30%, #1f89af 65%, #35cca0 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: reachFloat 5.5s ease-in-out infinite;
  animation-delay: 4.4s;
  will-change: transform, filter;
}

@keyframes wordFloat {
  0% {
    transform: translateY(0);
    color: #161e24;
    filter: drop-shadow(0 0 0 transparent);
  }
  6%, 14% {
    transform: translateY(-8px);
    color: var(--active-color);
    filter: drop-shadow(0 4px 14px var(--active-glow));
  }
  20% {
    transform: translateY(0);
    color: #161e24;
    filter: drop-shadow(0 0 0 transparent);
  }
  20.001%, 100% {
    transform: translateY(0);
    color: #161e24;
    filter: drop-shadow(0 0 0 transparent);
  }
}

@keyframes reachFloat {
  0% {
    transform: translateY(0);
    background-position: 0% center;
    filter: drop-shadow(0 0 0 transparent);
  }
  6%, 14% {
    transform: translateY(-8px);
    background-position: 100% center;
    filter: drop-shadow(0 4px 18px rgba(53, 204, 160, 0.65));
  }
  20% {
    transform: translateY(0);
    background-position: 0% center;
    filter: drop-shadow(0 0 0 transparent);
  }
  20.001%, 100% {
    transform: translateY(0);
    background-position: 0% center;
    filter: drop-shadow(0 0 0 transparent);
  }
}

/* Right: Form Card */
.contact-form-card {
  position: relative;
  background: #ffffff;
  padding: 44px 44px;
  overflow: hidden;
}

.contact-form-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(56, 211, 159, 0.06) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.contact-form-card:hover {
  box-shadow: 0 28px 70px rgba(7, 103, 183, 0.12), 0 4px 16px rgba(0, 0, 0, 0.02);
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-card-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8faf7;
  border: 1.5px solid #a3ebd9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d6b53;
  flex-shrink: 0;
}

.contact-card-title {
  font-size: 24px;
  font-weight: 800;
  color: #111d23;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-card-title .hello-green {
  background: linear-gradient(90deg, #10b981 0%, #00a896 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wave-hand {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: waveHand 2.5s infinite;
}

@keyframes waveHand {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* Form Layout */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field-label {
  font-size: 13px;
  font-weight: 600;
  color: #3b505f;
}

.contact-field-label span.req {
  color: #e11d48;
}

.contact-input,
.contact-select {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1.2px solid #d2e2ec;
  padding: 0 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: #111d23;
  background: #fbfdfe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

.contact-input::placeholder {
  color: #8da4b4;
  font-weight: 400;
}

.contact-input:focus,
.contact-select:focus {
  outline: none;
  border-color: #0767b7;
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(7, 103, 183, 0.12);
}

/* Phone Group with Dial Code select */
.contact-phone-group {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
}

.contact-select.phone-code {
  font-size: 13.5px;
  font-weight: 600;
  padding: 0 10px;
  cursor: pointer;
}

/* Security / Privacy Note */
.contact-security-note {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 11.5px;
  color: #718797;
  margin: 6px 0 2px;
}

.security-check-icon {
  color: #38d39f;
  flex-shrink: 0;
}

/* Checkboxes Row */
.contact-checkbox-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 8px 0 10px;
}

.contact-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #3b505f;
  cursor: pointer;
  user-select: none;
}

.contact-checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  accent-color: #0284c7;
  cursor: pointer;
}

.contact-checkbox-label a {
  color: #0284c7;
  text-decoration: underline;
  font-weight: 600;
}

/* Submit Button */
.contact-submit-btn {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #2ec4b6 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  margin-top: 4px;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(7, 103, 183, 0.36);
  filter: brightness(1.05);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.contact-submit-btn .arrow-icon {
  transition: transform 0.25s ease;
}

.contact-submit-btn:hover .arrow-icon {
  transform: translateX(4px);
}

.contact-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Status / Confirmation Box */
.contact-status-box {
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 14px;
  display: none;
}

.contact-status-box.success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.contact-status-box.error {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

/* =========================================================
   5. THREE CONTACT INFO STRIP (Call Us, Our Office, Email US)
   With Bahrain Skyline Watermark & White Gradient Overlay
   ========================================================= */
.contact-cards-section {
  position: relative;
  width: 100%;
  margin: 72px 0 0;
  padding: 80px 24px;
  background-color: #ffffff;
  overflow: hidden;
}

/* Bahrain Skyline Background (Daylight Panorama) */
.contact-cards-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/bahrain_daylight.webp') no-repeat center 46% / cover;
  opacity: 0.40;
  pointer-events: none;
  z-index: 0;
}

/* White Gradient Upper Overlay */
.contact-cards-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.48) 25%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0.58) 75%,
    rgba(255, 255, 255, 1.0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.contact-cards-container {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 36px;
  position: relative;
}

/* Subtle vertical divider between columns matching reference */
.contact-info-col:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  bottom: 15%;
  right: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(17, 29, 35, 0) 0%,
    rgba(17, 29, 35, 0.12) 20%,
    rgba(17, 29, 35, 0.12) 80%,
    rgba(17, 29, 35, 0) 100%
  );
}

.contact-info-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #24ceaa 0%, #17b3a4 40%, #0767b7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(7, 103, 183, 0.2);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.contact-info-icon-badge svg {
  width: 25px;
  height: 25px;
  stroke: #ffffff;
}

.contact-info-col:hover .contact-info-icon-badge {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 32px rgba(7, 103, 183, 0.32);
}

.contact-info-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #0b1926;
  margin: 0 0 14px;
  letter-spacing: -0.2px;
}

.contact-info-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  color: #1e293b;
  margin: 0;
  max-width: 320px;
}

.contact-info-desc a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-desc a:hover {
  color: #0767b7;
}

/* =========================================================
   6. FAQ SECTION WITH EXECUTIVES PHOTO
   ========================================================= */
.contact-faq-section {
  position: relative;
  max-width: 1140px;
  margin: 72px auto 0;
  padding: 0 24px;
}

/* Decorative Background Elements (contact_element.png) */
.faq-bg-element {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  max-width: none;
}

.faq-bg-element--left {
  top: -45px;
  left: -115px;
  width: 440px;
  height: auto;
}

.faq-bg-element--right {
  bottom: -65px;
  right: -115px;
  width: 420px;
  height: auto;
  transform: scaleX(-1) rotate(25deg);
}

.contact-faq-heading {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 48px;
}

.contact-faq-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: #111d23;
  margin: 0;
  letter-spacing: -0.02em;
}

.contact-faq-title .faq-accent {
  background: linear-gradient(90deg, #0288d1 0%, #00b4d8 50%, #42d89a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-faq-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: 36px;
}

/* Accordion Column */
.contact-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-accordion-item {
  border-radius: var(--contact-radius-md);
  border: 1px solid #ddecfa;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-accordion-item.active {
  background: #ebfaf4;
  border-color: rgba(66, 216, 154, 0.5);
  box-shadow: 0 8px 24px rgba(47, 212, 164, 0.12);
}

.contact-accordion-trigger {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  font-size: 15.5px;
  font-weight: 700;
  font-family: inherit;
  color: #111d23;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.contact-accordion-trigger:hover {
  color: #0767b7;
}

.contact-accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #556977;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.contact-accordion-item.active .contact-accordion-icon {
  transform: rotate(180deg);
  background: #42d89a;
  color: #ffffff;
}

.contact-accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-accordion-item.active .contact-accordion-content {
  grid-template-rows: 1fr;
}

.contact-accordion-inner {
  overflow: hidden;
}

.contact-accordion-body {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: #435b6a;
}

/* Photo Column */
.contact-photo-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(7, 103, 183, 0.1);
  border: 1px solid rgba(7, 103, 183, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 394px;
}

.contact-photo-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 54px rgba(7, 103, 183, 0.16);
}

.contact-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.contact-photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 24px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 31, 37, 0.88) 100%);
  color: #ffffff;
}

.contact-photo-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #42d89a;
  margin-bottom: 4px;
}

.contact-photo-caption {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

/* =========================================================
   7. GOOGLE MAPS & OFFICE LOCATION SECTION
   ========================================================= */
.contact-map-section {
  position: relative;
  max-width: 1140px;
  margin: 72px auto 0;
  padding: 0 24px 70px;
}

.contact-map-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(7, 103, 183, 0.14);
  box-shadow: 0 16px 44px rgba(7, 103, 183, 0.08);
  background-color: #e5e3df;
  background-image: 
    linear-gradient(rgba(255,255,255,0.7) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,0.7) 2px, transparent 2px),
    linear-gradient(rgba(215,224,233,0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215,224,233,0.8) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
}

.contact-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Floating Google Place Card Overlay */
.contact-map-card {
  position: absolute;
  top: 20px;
  left: 20px;
  width: min(340px, calc(100% - 40px));
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  z-index: 5;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.map-card-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #ffffff;
  border-bottom: 1px solid #eef2f5;
  font-size: 13px;
  font-weight: 600;
  color: #111d23;
}

.map-card-search-bar svg {
  color: #556977;
}

.map-card-thumbnail-wrap {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #071f25;
}

.map-card-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  opacity: 0.9;
}

.map-card-content {
  padding: 16px;
}

.map-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #111d23;
  margin: 0 0 4px;
}

.map-card-arabic {
  font-size: 12.5px;
  color: #556977;
  margin: 0 0 6px;
  direction: rtl;
  text-align: left;
}

.map-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #556977;
  margin-bottom: 12px;
}

.map-card-rating .stars {
  color: #f59e0b;
}

.map-card-tabs {
  display: flex;
  gap: 14px;
  border-bottom: 1px solid #edf2f6;
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
}

.map-card-tabs span.active {
  color: #0767b7;
  border-bottom: 2px solid #0767b7;
  padding-bottom: 6px;
  margin-bottom: -9px;
}

.map-card-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.map-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 600;
  color: #0767b7;
  cursor: pointer;
  padding: 4px;
  text-decoration: none;
}

.map-action-btn-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eaf3fd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0767b7;
  transition: transform 0.2s ease, background 0.2s ease;
}

.map-action-btn:hover .map-action-btn-circle {
  transform: scale(1.1);
  background: #0767b7;
  color: #ffffff;
}

.map-card-address {
  font-size: 11.5px;
  line-height: 1.55;
  color: #556977;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #f0f4f8;
}

/* Dedicated feedback status pill for Share and Save actions */
.map-share-status {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0 10px;
  overflow: hidden;
  border-radius: 8px;
  background: #e8faf3;
  border: 1px solid transparent;
  color: #058257;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
}

.map-share-status.active {
  max-height: 38px;
  opacity: 1;
  margin: 8px 0 12px;
  padding: 8px 10px;
  border-color: #a7edd5;
}

.map-share-status svg {
  flex-shrink: 0;
  stroke: #058257;
}

/* =========================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================= */
@media (max-width: 1024px) {
  .contact-ecosystem-container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 32px;
  }
  .contact-ecosystem-left {
    max-width: 100%;
  }
  .contact-ecosystem-img {
    max-width: 480px;
    margin: 0 auto;
  }
  .contact-form-unified-card {
    grid-template-columns: 1fr;
  }
  .contact-side-banner {
    min-height: 380px;
    padding: 48px 32px;
    border-radius: 24px 24px 0 0;
  }
  .contact-form-card {
    padding: 36px 28px;
    border-radius: 0 0 24px 24px;
  }
  .contact-faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-photo-card {
    max-width: 480px;
    height: 380px;
    min-height: auto;
    margin: 0 auto;
  }
  .faq-bg-element--left {
    width: 340px;
    left: -80px;
    top: -20px;
  }
  .faq-bg-element--right {
    width: 320px;
    right: -80px;
    bottom: -40px;
  }
}

@media (max-width: 768px) {
  .contact-ecosystem-section {
    padding: 48px 0;
    margin-top: 36px;
  }
  .contact-ecosystem-container {
    padding: 0 20px;
    gap: 28px;
  }
  .contact-ecosystem-title {
    font-size: clamp(24px, 6.2vw, 32px);
    padding-left: 16px;
  }
  .contact-ecosystem-title::before {
    width: 3px;
  }
  .contact-ecosystem-desc {
    font-size: 14px;
    line-height: 1.65;
  }
  .contact-cards-section {
    padding: 56px 20px;
    margin-top: 48px;
  }
  .contact-cards-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-info-col {
    padding: 10px 16px;
  }
  .contact-info-col:not(:last-child)::after {
    top: auto;
    bottom: -18px;
    left: 20%;
    right: 20%;
    width: auto;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(17, 29, 35, 0) 0%,
      rgba(17, 29, 35, 0.08) 20%,
      rgba(17, 29, 35, 0.08) 80%,
      rgba(17, 29, 35, 0) 100%
    );
  }
  .contact-side-banner {
    padding: 36px 20px;
  }
  .contact-side-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 22px;
  }
  .contact-badge-grow,
  .contact-badge-trust {
    height: 30px;
  }
  .contact-side-title {
    font-size: clamp(30px, 8vw, 42px);
  }
  .contact-form-card {
    padding: 28px 20px;
  }
  .contact-phone-group {
    grid-template-columns: 1fr;
  }
  .contact-hero-pills {
    flex-direction: column;
    align-items: stretch;
    max-width: 380px;
    margin: 40px auto 0;
  }
  .contact-pill {
    justify-content: center;
  }
  .contact-map-wrapper {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
    border: none;
    box-shadow: none;
    background: transparent;
  }
  .contact-map-card {
    order: -1;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  }
  .map-card-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  .map-action-btn {
    padding: 4px 2px;
    width: 100%;
    box-sizing: border-box;
  }
  .contact-map-iframe {
    height: 320px;
    border-radius: 18px;
    border: 1px solid rgba(7, 103, 183, 0.14);
    box-shadow: 0 12px 32px rgba(7, 103, 183, 0.08);
  }
  .map-pin-marker {
    display: none !important;
  }
  .faq-bg-element--left {
    width: 240px;
    left: -60px;
    top: 0;
    opacity: 0.7;
  }
  .faq-bg-element--right {
    width: 220px;
    right: -50px;
    bottom: -20px;
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-ticker-track,
  .floating-word,
  .wave-hand {
    animation: none !important;
  }
}
