/* ============================= CONTACT PAGE – MOBILE-PERFECT FINAL CSS ============================= */
:root {
  --primary: #1E3F5C;
  --primary-light: #37A2B5;
  --secondary: #1E3F5C;
  --secondary-dark: #0b233e;
  --text-dark: #111827;
  --text-light: #f1f2f5;
  --text-muted: #64748b;
  --bg-light: #f5f8fb;
  --border: #e5e8ed;
  --shadow: 0 4px 20px rgba(0, 0, 0, .08);
  --radius: 12px;
  --transition: all .3s ease;
  --nav-h: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ==================== TYPOGRAPHY (Lato Headings + Inter Body) ==================== */
h1, h2, h3, h4, .section-title {
  font-family: 'Lato', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.4px;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); }
h2.section-title { font-size: clamp(1.5rem, 4.5vw, 1.9rem); }

p, input, textarea, select, label, li, .tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.8vw, 1.1rem);
}

a { color: var(--primary); text-decoration: none; }

/* ==================== HERO – FIXED FOR MOBILE ==================== */
.contact-hero {
  position: relative;
  min-height: 70vh;
  min-height: 70dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  margin-top: var(--nav-h);
  padding: 20px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
  background-attachment: fixed;
  filter: brightness(0.65);
  z-index: -1;
}

.hero-wrap {
  max-width: 900px;
  width: 100%;
  padding: 0 16px;
  animation: fadeInUp 1s ease-out;
}

.hero-wrap h1 {
  margin-bottom: 14px;
  text-shadow: 0 3px 10px rgba(0,0,0,.6);
}

.hero-wrap .tagline {
  font-size: clamp(1.1rem, 3.5vw, 1.25rem);
  opacity: 0.95;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==================== CONTACT MAIN – MOBILE OPTIMAL ==================== */
.contact-main {
  padding: 60px 5vw;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Desktop: 2-column layout */
@media (min-width: 981px) {
  .grid {
    grid-template-columns: 2fr 1fr;
  }
}

.form-card, .info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 36px);
  box-shadow: var(--shadow);
}

.section-title {
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
}

/* ==================== FORM – FULLY RESPONSIVE ==================== */
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.field label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #1f2937;
}

.field span { color: #e11d48; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1.5px solid #cfd8e3;
  font-size: 1rem;
  transition: all .3s ease;
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 63, 92, 0.15);
  outline: none;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.actions {
  margin-top: 28px;
  text-align: center;
}

.btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
  min-width: 180px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 63, 92, 0.3);
}

/* ==================== INFO CARD & ICONS ==================== */
.info-list {
  list-style: none;
  margin: 0 0 20px;
}

.info-list a {
  color: var(--primary);
  font-weight: 500;
}

.info-list a:hover {
  text-decoration: underline;
}

.with-icons .icon-line {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: start;
  gap: 14px;
  margin: 16px 0;
  font-size: 0.98rem;
}

.with-icons .icon {
  font-size: 18px;
  color: var(--primary-light);
  width: 26px;
  text-align: center;
  margin-top: 2px;
}

.with-icons .icon-line strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text-dark);
}

/* ==================== MAP – FIXED HEIGHT ON MOBILE ==================== */
.map-wrap {
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  border: 1px solid #e2e8f0;
}

#map {
  height: 100% !important;
  width: 100%;
}

/* Mobile-specific map tweak */
@media (max-width: 480px) {
  .map-wrap { height: 300px; }
}

/* ==================== RESPONSIVE TWEAKS ==================== */
@media (max-width: 768px) {
  /* 🔧 Fix navbar–hero gap + mobile spacing */
  body {
    padding-top: 60px !important;     /* match mobile navbar height */
  }

  .contact-hero {
    min-height: 65vh;
    margin-top: 0 !important;         /* remove extra gap under navbar */
  }

  .contact-main { padding: 50px 4vw; }
  .form-card, .info-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .contact-hero { min-height: 60vh; padding: 16px; }
  .hero-wrap { padding: 0 12px; }
  .section-title { font-size: 1.6rem; }
  .btn { width: 100%; padding: 16px; font-size: 1.1rem; }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
