/* ================= CONTACT PAGE BASE CSS ================= */

:root{
  --brand-blue: #0b3b63;
  --accent: #fbb040;
  --muted: #f5f7fb;
  --card-bg: #ffffff;
  --text: #222;
}

/* Page wrapper */
.contact-page {
  background-image: url("/img/contact.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding: 60px 4%;
  position: relative;
}

/* Overlay */
.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.55);
}

.contact-page * {
  position: relative;
  z-index: 1;
}

/* Hero */
.contact-hero {
  text-align: center;
  margin-bottom: 24px;
}

.contact-hero h1 {
  font-size: 32px;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.contact-hero p {
  color: #555;
}

/* Grid layout */
.contact-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Cards */
.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid #e6e9f2;
  box-shadow: 0 8px 30px rgba(11,59,99,0.06);
}

/* Info section */
.info-card h3 {
  color: var(--brand-blue);
  margin-bottom: 14px;
}

.cf-item {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.cf-item a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
}

/* ===== GET IN TOUCH SOCIAL ICONS (FIXED SIZE) ===== */

.cf-social {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.cf-social a {
  width: 36px;
  height: 36px;
  background: var(--brand-blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.cf-social a:hover {
  background: #072845;
  transform: translateY(-2px);
  transition: 0.25s ease;
}

/* Map */
.map-card iframe {
  width: 100%;
  height: 240px;
  border-radius: 10px;
  border: 0;
}

/* Form */
.contact-form h3 {
  margin-bottom: 12px;
  color: var(--brand-blue);
}

.contact-form label {
  font-size: 0.9rem;
  margin: 10px 0 6px;
  display: block;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d7dbe6;
  font-size: 0.95rem;
}

.contact-form textarea {
  min-height: 120px;
}

/* Buttons */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.btn {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn.primary {
  background: var(--brand-blue);
  color: #fff;
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
}
/* ==================================================
   GLOBAL MOBILE FIX (CONTACT PAGE)
   ================================================== */
@media (max-width: 768px) {

  html, body {
    width: 100%;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
  }

  * {
    box-sizing: border-box;
    max-width: 100%;
  }

  /* ---------- HEADER FIX ---------- */
  .top-header {
    font-size: 0.8rem;
    padding: 6px 10px;
    flex-wrap: wrap;
    text-align: center;
    gap: 6px;
  }

  .top-header p {
    width: 100%;
    margin: 0;
  }

  .social-icons {
    justify-content: center;
    width: 100%;
  }

  /* ---------- NAVBAR ---------- */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .nav-container {
    padding: 8px 12px;
  }

  .brand {
    font-size: 0.9rem;
  }

  /* ---------- CONTACT PAGE ---------- */
  .contact-page {
    padding: 20px 12px;   /* FIX for top extra gap */
    min-height: auto;
  }

  .contact-hero {
    margin: 0 0 14px;
    text-align: center;
  }

  .contact-hero h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  .contact-hero p {
    font-size: 0.9rem;
  }

  /* ---------- GRID ---------- */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ---------- CARDS ---------- */
  .card,
  .contact-info,
  .contact-form-wrap {
    width: 100%;
    padding: 16px;
  }

  /* ---------- INFO ROW ---------- */
  .info-row {
    gap: 10px;
  }

  .icon {
    width: 28px;
    height: 28px;
  }

  /* ---------- FORM ---------- */
  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
  }

  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  /* ---------- MAP ---------- */
  .map-card iframe {
    width: 100% !important;
    height: 220px;
    border-radius: 10px;
  }
}