/* ===== CONTACT PAGE ===== */

/* ---------- BANNER ---------- */
.contact-banner {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 140px 0 80px;
  background: 
    linear-gradient(180deg, rgba(10,22,40,0.5) 0%, rgba(10,22,40,0.85) 100%),
    url('../images/home01.jpg') center/cover no-repeat;
  /* REMOVED: background-attachment: fixed;  <-- this was causing the SPA shift */
}
.contact-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(245,166,35,0.1) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(59,130,246,0.1) 0%, transparent 40%);
}
.contact-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to top, #0a1628, transparent);
}
.contact-banner .container {
  position: relative;
  z-index: 2;
}
.contact-banner h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.contact-banner p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- CONTACT SECTION ---------- */
.contact-page {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(180deg, #0f172a 0%, #0a1628 100%);
}
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
  }
}

/* ---------- CONTACT INFO BOX ---------- */
.contact-info-box {
  background: linear-gradient(135deg, #071829, #0b1f35);
  color: #fff;
  padding: 50px 40px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  height: fit-content;
  border: 1px solid rgba(255,255,255,0.06);
}
.contact-info-box::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,193,7,0.08);
}
.contact-info-box h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.contact-info-box > p {
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 35px;
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
}

/* Contact items */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.contact-item:last-of-type {
  margin-bottom: 0;
}
.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5a623, #d97706);
  color: #0a1628;
  font-size: 18px;
  transition: all 0.3s ease;
}
.contact-item:hover .contact-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(245,166,35,0.3);
}
.whatsapp-icon {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
}
.contact-item:hover .whatsapp-icon {
  box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}
.contact-item h5 {
  margin-bottom: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Syne', sans-serif;
}
.contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
  line-height: 1.6;
  display: inline-block;
  margin-bottom: 2px;
}
.contact-item a:hover {
  color: #f5a623;
}
.contact-item p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- CONTACT FORM BOX ---------- */
.contact-form-box {
  background: #fff;
  padding: 50px;
  border-radius: 24px;
  border-top: 5px solid #f5a623;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.contact-form-box::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  top: -120px;
  right: -120px;
  border-radius: 50%;
  background: rgba(245,166,35,0.06);
}
.contact-form-box h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0b1f35;
  margin-bottom: 12px;
  position: relative;
}
.contact-form-box h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin-top: 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f5a623, #ffc107);
}

/* Form elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.form-group {
  margin-bottom: 0;
  position: relative;
}
.form-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: 20px;
}
.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  display: block;
  font-size: 0.85rem;
}
.form-control {
  height: 54px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  padding: 12px 16px;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: none;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  color: #333;
  outline: none;
}
.form-control:focus {
  background: #fff;
  border-color: #f5a623;
  box-shadow: 0 0 0 4px rgba(245,166,35,0.12);
}
.form-control::placeholder {
  color: #9ca3af;
}

/* Validation */
.form-control.valid {
  border-color: #22c55e;
  background: #f0fdf4;
}
.form-control.invalid {
  border-color: #ef4444;
  background: #fef2f2;
}
.form-control.invalid:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.12);
}
.error-msg {
  display: none;
  color: #ef4444;
  font-size: 12px;
  margin-top: 6px;
  padding-left: 4px;
}
.form-control.invalid ~ .error-msg {
  display: block;
  animation: slideDown 0.2s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

textarea.form-control {
  height: auto;
  min-height: 140px;
  resize: vertical;
  padding-top: 14px;
}

/* Submit button */
.contact-form-actions {
  margin-top: 20px;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f5a623, #d97706);
  color: #0a1628;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(245,166,35,0.25);
  width: 100%;
  font-family: 'DM Sans', sans-serif;
}
.contact-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(245,166,35,0.4);
}
.contact-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Form status */
.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  color: #22c55e;
}
.form-status.error {
  display: block;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #ef4444;
}

/* ---------- MAP SECTION ---------- */
.map-section {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) brightness(0.85);
  transition: filter 0.4s ease;
}
.map-section:hover iframe {
  filter: grayscale(0) brightness(1);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767px) {
  .contact-banner {
    min-height: 40vh;
    padding: 100px 0 50px;
    /* background-attachment already removed above */
  }
  .contact-page {
    padding: 50px 0;
  }
  .contact-info-box,
  .contact-form-box {
    padding: 30px 24px;
  }
  .contact-info-box h2,
  .contact-form-box h2 {
    font-size: 1.5rem;
  }
  .contact-item {
    gap: 12px;
    margin-bottom: 18px;
  }
  .contact-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .map-section {
    height: 300px;
  }
  .contact-btn {
    padding: 14px 30px;
  }
  .form-control {
    height: 50px;
    font-size: 16px;
  }
}