/* ---- Navbar: dark text on light page background ---- */
.navbar:not(.scrolled) .logo-text,
.navbar:not(.scrolled) .nav-link,
.navbar:not(.scrolled) .btn-signin {
  color: #1a1a1a;
}

.navbar:not(.scrolled) .btn-signin {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
  color: #1a1a1a;
}

.navbar:not(.scrolled) .hamburger span {
  background: #1a1a1a;
}

/* ---- Page Header (no hero) ---- */
.contact-page-header {
  background: #F8F7F3;
  padding: 160px 0 80px;
  border-bottom: 1px solid #eaeaea;
}

.contact-page-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-page-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4a6c52;
  margin-bottom: 16px;
}

.contact-page-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.1;
  margin: 0;
}

.contact-page-subtitle {
  font-size: 1.05rem;
  color: #737373;
  line-height: 1.7;
  max-width: 380px;
  text-align: right;
}

/* ---- Quick-contact chips ---- */
.contact-chips-bar {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  padding: 0;
}

.contact-chips-row {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.contact-chips-row::-webkit-scrollbar {
  display: none;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 36px;
  border-right: 1px solid #eaeaea;
  min-width: 240px;
  flex: 1;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s;
}

.contact-chip:last-child {
  border-right: none;
}

.contact-chip:hover {
  background: #f8fdf9;
}

.contact-chip-icon {
  width: 48px;
  height: 48px;
  background: #D8F3DC;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2D6A4F;
  flex-shrink: 0;
}

.contact-chip-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  display: block;
  margin-bottom: 4px;
}

.contact-chip-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* ---- Main Contact Section ---- */
.contact-main-section {
  padding: 100px 0 120px;
  background: #fff;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 80px;
  align-items: start;
}

/* ---- Left: Info panel ---- */
.contact-info-panel {}

.contact-info-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6C7A6C;
  margin-bottom: 16px;
  display: block;
}

.contact-info-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-info-desc {
  font-size: 0.98rem;
  color: #737373;
  line-height: 1.8;
  margin-bottom: 48px;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid #eaeaea;
  transition: background 0.25s;
  text-decoration: none;
  color: inherit;
}

.contact-detail-row:last-child {
  border-bottom: none;
}

.contact-detail-row:hover {
  background: #f8fdf9;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #D8F3DC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2D6A4F;
  flex-shrink: 0;
}

.contact-detail-text {}

.contact-detail-type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  display: block;
  margin-bottom: 2px;
}

.contact-detail-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* Social links */
.contact-social-row {
  display: flex;
  gap: 12px;
}

.contact-social-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.contact-social-link:hover {
  border-color: #4a6c52;
  background: #4a6c52;
  color: #fff;
}

/* ---- Right: Form card ---- */
.contact-form-card {
  background: #F8F7F3;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 52px 48px;
  position: sticky;
  top: 100px;
}

.contact-form-card-title {
  font-size: 1.6rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.contact-form-card-subtitle {
  font-size: 0.9rem;
  color: #737373;
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Topic selector pills */
.topic-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.topic-pill {
  padding: 8px 18px;
  border-radius: 30px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  font-family: var(--font-main, 'Outfit', sans-serif);
}

.topic-pill:hover {
  border-color: #4a6c52;
  color: #4a6c52;
}

.topic-pill.selected {
  background: #4a6c52;
  border-color: #4a6c52;
  color: #fff;
}

/* Reuse form-group, form-row from style.css */
.contact-form-card .form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #737373;
}

.contact-form-card .form-group input,
.contact-form-card .form-group select,
.contact-form-card .form-group textarea {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.92rem;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
  font-family: inherit;
}

.contact-form-card .form-group input:focus,
.contact-form-card .form-group select:focus,
.contact-form-card .form-group textarea:focus {
  border-color: #4a6c52;
  box-shadow: 0 0 0 3px rgba(74, 108, 82, 0.1);
}

.contact-form-card .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-card .form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.btn-submit-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #2D6A4F;
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  margin-top: 4px;
}

.btn-submit-contact:hover {
  background: #40916C;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45, 106, 79, 0.3);
}

/* Success message */
.form-success-msg {
  display: none;
  align-items: center;
  gap: 10px;
  background: #D8F3DC;
  border: 1px solid #52B788;
  border-radius: 10px;
  padding: 14px 18px;
  color: #2D6A4F;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 12px;
}

.form-success-msg.visible {
  display: flex;
}

/* ---- Map Section ---- */
.contact-map-section {
  padding: 0 0 100px;
  background: #fff;
}

.contact-map-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-map-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: #1a1a1a;
  margin-top: 10px;
}

.contact-map-desc {
  font-size: 0.9rem;
  color: #737373;
  max-width: 300px;
  text-align: right;
  line-height: 1.6;
}

.contact-map-frame {
  width: 100%;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eaeaea;
  position: relative;
  background: #f0f4f1;
}

/* Stylised map placeholder (image-based fallback) */
.contact-map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.map-pin-icon {
  width: 64px;
  height: 64px;
  background: #4a6c52;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(74, 108, 82, 0.35);
  animation: pinBounce 2s ease-in-out infinite;
}

.map-pin-icon svg {
  transform: rotate(45deg);
  color: #fff;
}

@keyframes pinBounce {

  0%,
  100% {
    transform: rotate(-45deg) translateY(0);
  }

  50% {
    transform: rotate(-45deg) translateY(-8px);
  }
}

.map-pin-label {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 1rem;
  text-align: center;
}

.map-pin-sub {
  font-size: 0.85rem;
  color: #555;
  text-align: center;
}

/* ---- FAQ strip ---- */
.contact-faq-section {
  padding: 100px 0;
  background: #F8F7F3;
}

.contact-faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-faq-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: #1a1a1a;
  margin: 12px 0 18px;
}

.contact-faq-desc {
  font-size: 1rem;
  color: #737373;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item.open {
  border-color: #4a6c52;
  box-shadow: 0 4px 20px rgba(74, 108, 82, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a1a;
  gap: 16px;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: #4a6c52;
  border-color: #4a6c52;
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1000px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form-card {
    position: static;
    padding: 40px 32px;
  }
}

@media (max-width: 768px) {
  .contact-page-header {
    padding: 130px 0 60px;
  }

  .contact-page-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .contact-page-subtitle {
    text-align: left;
    max-width: 100%;
  }

  .contact-chips-row {
    flex-wrap: wrap;
  }

  .contact-chip {
    min-width: calc(50% - 1px);
    border-right: none;
    border-bottom: 1px solid #eaeaea;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-map-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .contact-map-desc {
    text-align: left;
    max-width: 100%;
  }

  .contact-map-frame {
    height: 320px;
  }

  .contact-info-list {
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .contact-form-card {
    padding: 28px 20px;
  }

  .contact-chip {
    min-width: 100%;
    padding: 16px 0;
  }

  .contact-page-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }
}