/* ============================================
   MBTech Digital — Contact Us Page Styles
   File: css/contact.css
   ============================================ */

/* ─── CONTACT HERO ─── */
.contact-hero {
  position: relative;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-navy) 55%, #1e3a8a 100%);
  padding: 8rem 0 5rem;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Orange blob decoration */
.contact-hero__orange-blob {
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,148,29,0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.contact-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

.contact-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact-hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .fa-chevron-right { font-size: 0.6rem; }

/* Hero Visual */
.contact-hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.contact-hero__agent-wrap {
  position: relative;
  width: 360px;
}

.contact-hero__agent-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
}

/* Floating icons */
.hero-float {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--white);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  animation: floatBadge 3.5s ease-in-out infinite alternate;
}

.hero-float--chat  { background: var(--orange);    top: 1.5rem; right: -1.5rem; animation-delay: 0s;    }
.hero-float--mail  { background: var(--orange);    top: 1.5rem; left: -1.5rem;  animation-delay: 0.6s;  }
.hero-float--phone { background: var(--blue-navy); bottom: 5rem; left: -1.5rem; animation-delay: 1.2s;  }
.hero-float--send  { background: var(--blue-navy); bottom: 5rem; right: -1.5rem; animation-delay: 1.8s; }

@keyframes floatBadge {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-12px) scale(1.08); }
}

/* Wave */
.contact-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 1;
}

.contact-hero__wave svg { width: 100%; height: 60px; }

/* ─── INFO CARDS ─── */
.contact-info {
  padding: 3.5rem 0;
  background: var(--white);
}

.contact-info__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-navy), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.info-card:hover::before { transform: scaleX(1); }

.info-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(247,148,29,0.12), rgba(247,148,29,0.22));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: var(--transition);
  border: 2px solid rgba(247,148,29,0.25);
}

.info-card:hover .info-card__icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  border-color: transparent;
}

.info-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.info-card__value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-navy);
  margin-bottom: 0.15rem;
}

.info-card__value a {
  color: var(--blue-navy);
  transition: var(--transition);
}

.info-card__value a:hover { color: var(--orange); }

.info-card__sub {
  font-size: 0.78rem;
  color: var(--text-gray);
}

/* ─── CONTACT MAIN (Form + Sidebar) ─── */
.contact-main {
  padding: 5rem 0 6rem;
  background: var(--bg-light);
}

.contact-main__inner {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 2.5rem;
  align-items: start;
}

/* Form Wrap */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-form-wrap__sub {
  font-size: 0.88rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

/* Form Elements */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-group--full { grid-column: 1 / -1; }

.form-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
  resize: none;
}

.form-input::placeholder { color: var(--text-light); }

.form-input:focus {
  border-color: var(--blue-navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,46,108,0.08);
}

.form-input.is-invalid {
  border-color: #ef4444;
  background: #fff5f5;
}

.form-input.is-valid {
  border-color: #16a34a;
}

.form-textarea { min-height: 130px; }

.form-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.3rem;
  display: none;
}

.form-error.show { display: block; }

/* Submit button */
.btn--send {
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  gap: 0.6rem;
}

/* Success message */
.form-success {
  display: none;
  align-items: center;
  gap: 0.7rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-sm);
  padding: 1rem 1.3rem;
  font-size: 0.88rem;
  color: #166534;
  font-weight: 500;
  margin-top: 0.5rem;
}

.form-success.show { display: flex; }
.form-success i { font-size: 1.1rem; color: #16a34a; }

/* ─── Sidebar ─── */
.sidebar-card {
  background: var(--blue-navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-md);
}

.sidebar-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,148,29,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.sidebar-card__heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.sidebar-card__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.sidebar-stats {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.sidebar-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.sidebar-stat:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--orange);
}

.sidebar-stat__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(247,148,29,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: var(--transition);
}

.sidebar-stat:hover .sidebar-stat__icon {
  background: var(--orange);
  color: var(--white);
}

.sidebar-stat__info {
  display: flex;
  flex-direction: column;
}

.sidebar-stat__info strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.sidebar-stat__info span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.2rem;
}

.sidebar-megaphone {
  position: absolute;
  bottom: 1.2rem;
  right: 1.2rem;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.22;
}

.sidebar-megaphone__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── MAP SECTION ─── */
.map-section {
  padding: 6rem 0;
  background: var(--white);
}

.map-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.map-header {
  background: var(--white);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.map-header strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.map-header span {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.map-link {
  font-size: 0.78rem;
  color: #1a73e8;
  font-weight: 600;
  margin-left: auto;
  transition: var(--transition);
}

.map-link:hover { text-decoration: underline; }

.map-embed {
  position: relative;
  height: 320px;
  background: #e8ecf4;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 15px rgba(247,148,29,0.5);
  white-space: nowrap;
  pointer-events: none;
}

.map-pin::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--orange);
}

/* Location Info */
.location-info { padding: 1rem 0; }

.location-info__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0.6rem 0 1rem;
}

.location-info__desc {
  font-size: 0.92rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.location-info__address {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
}

.location-info__address i { margin-top: 0.1rem; flex-shrink: 0; }

/* ─── FAQ PROMO ─── */
.faq-promo {
  padding: 4rem 0;
  background: #fff8f0;
  border-top: 1px solid rgba(247,148,29,0.15);
  border-bottom: 1px solid rgba(247,148,29,0.15);
}

.faq-promo__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.faq-promo__icon {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--orange);
  box-shadow: 0 8px 25px rgba(247,148,29,0.25);
}

.faq-promo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-promo__text { flex: 1; }

.faq-promo__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0.4rem 0 0.7rem;
  line-height: 1.2;
}

.faq-promo__desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.75;
}

/* ─── CTA BANNER ─── */
.contact-cta {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-navy) 100%);
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -5%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,148,29,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.contact-cta__left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-cta__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--orange);
  flex-shrink: 0;
  animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(247,148,29,0.3); }
  50%       { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(247,148,29,0); }
}

.contact-cta__text h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.contact-cta__text p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
}

.btn--cta-orange {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
  white-space: nowrap;
}

.btn--cta-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(247,148,29,0.4);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .contact-info__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .contact-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .contact-hero__visual { display: none; }

  .contact-main__inner { grid-template-columns: 1fr; }
  .sidebar-card { padding: 2rem; }
  .sidebar-megaphone { display: none; }

  .map-section__inner { grid-template-columns: 1fr; }

  .faq-promo__inner { flex-direction: column; text-align: center; }
  .faq-promo__icon { margin: 0 auto; }

  .contact-cta__inner { flex-direction: column; text-align: center; }
  .contact-cta__left  { flex-direction: column; }
}

@media (max-width: 640px) {
  .contact-info__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.8rem 1.2rem; }
}
