/* =============================================
   APPN Contact Page Styles
   ============================================= */

/* Contact info row */
.contact-info-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.ci-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--green);
  transition: all var(--transition);
}
.ci-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ci-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.ci-card h4 { font-size: 0.95rem; margin-bottom: 0.6rem; }
.ci-card p  { font-size: 0.875rem; color: var(--gray-600); line-height: 1.7; }
.ci-card a  { color: var(--green); font-weight: 500; transition: color var(--transition); }
.ci-card a:hover { color: var(--green-dark); }
.ci-hours { font-size: 0.75rem !important; color: var(--gray-400) !important; margin-top: 0.4rem; }
.ci-link  { font-size: 0.82rem; font-weight: 600; color: var(--green); display: inline-block; margin-top: 0.5rem; }
.ci-social { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.4rem; }
.ci-social-link {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
  width: fit-content;
  transition: all var(--transition);
}
.ci-fb { background: #e8f0fe; color: #1a5276; }
.ci-tw { background: #e8f0fe; color: #1a5276; }
.ci-li { background: rgba(26,82,118,0.1); color: var(--blue); }
.ci-yt { background: rgba(192,57,43,0.1); color: var(--red); }
.ci-social-link:hover { opacity: 0.8; transform: translateX(3px); }

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

/* Enquiry type buttons */
.enquiry-types {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.enq-type {
  padding: 0.45rem 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition);
}
.enq-type:hover { border-color: var(--green); color: var(--green); }
.enq-type.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form { margin-top: 1.5rem; }
.form-check { display: flex; align-items: flex-start; gap: 0.75rem; }
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}
.check-label input { margin-top: 0.15rem; accent-color: var(--green); flex-shrink: 0; }

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.fs-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(26,107,47,0.1);
  color: var(--green);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-weight: 700;
}
.form-success h3 { margin-bottom: 0.75rem; }
.form-success p  { color: var(--gray-600); }

/* Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}
.cside-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.cside-card h5 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.cside-membership {
  background: linear-gradient(135deg, rgba(26,107,47,0.05), rgba(26,82,118,0.05));
  border: 1.5px solid rgba(26,107,47,0.15);
}
.cside-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.cside-card h4 { font-size: 1rem; margin-bottom: 0.6rem; }
.cside-card p  { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 0.75rem; }
.membership-checklist { list-style: none; }
.membership-checklist li {
  padding: 0.3rem 0;
  font-size: 0.82rem;
  color: var(--gray-600);
  border-bottom: 1px solid rgba(26,107,47,0.1);
}
.membership-checklist li:last-child { border: none; }

/* Zonal list */
.zonal-list { display: flex; flex-direction: column; gap: 0; }
.zonal-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.zonal-item:last-child { border: none; }
.zonal-item strong { font-size: 0.82rem; color: var(--dark); }
.zonal-item span   { font-size: 0.78rem; color: var(--gray-600); }
.zonal-item a      { font-size: 0.75rem; color: var(--green); font-weight: 600; }

/* Office hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.hours-table td {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
}
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--dark); }
.hours-table tr:last-child td { border: none; }

/* Map */
.map-section { padding: 0 0 3rem; }
.gmap-embed {
  display: block;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg, 12px);
}
.map-caption {
  max-width: var(--container-width, 1140px);
  margin: 1.25rem auto 0;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.map-caption h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.map-caption p { margin: 0; color: var(--gray-600); font-size: 0.9rem; }
.map-caption .map-pin { font-size: 1.75rem; }
.map-caption .btn { margin-left: auto; }
@media (max-width: 640px) {
  .gmap-embed { height: 300px; }
  .map-caption { flex-direction: column; align-items: flex-start; text-align: left; }
  .map-caption .btn { margin-left: 0; width: 100%; justify-content: center; }
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-info-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .contact-layout  { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
}
@media (max-width: 600px) {
  .contact-info-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
  .enquiry-types .enq-type { flex: 1 1 auto; text-align: center; }
}
@media (max-width: 480px) {
  .contact-form-wrap { padding: 1.25rem; }
  .contact-form .btn { width: 100%; justify-content: center; }
}
