/* ================================================================
   CONTACT US PAGE STYLES (Proper Standard Government Portal Design)
   ================================================================ */

.contact-page-wrapper {
  position: relative;
  min-height: calc(100vh - 200px);
  background-color: #f7f9fc;
  /* Soft low-poly geometric background matching official portal aesthetics */
  background-image: 
    linear-gradient(135deg, rgba(255,255,255,0.75) 0%, rgba(240,244,248,0.45) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23fef2f2' stop-opacity='0.6'/%3E%3Cstop offset='100%25' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='g2' x1='100%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23e0f2fe' stop-opacity='0.6'/%3E%3Cstop offset='100%25' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='g3' x1='0%25' y1='100%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23fef9c3' stop-opacity='0.5'/%3E%3Cstop offset='100%25' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='g4' x1='50%25' y1='0%25' x2='50%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23f3e8ff' stop-opacity='0.5'/%3E%3Cstop offset='100%25' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='0,0 700,0 350,450' fill='url(%23g1)'/%3E%3Cpolygon points='700,0 1400,0 1050,450' fill='url(%23g2)'/%3E%3Cpolygon points='0,0 350,450 0,900' fill='url(%23g4)'/%3E%3Cpolygon points='350,450 1050,450 700,900' fill='url(%23g3)'/%3E%3Cpolygon points='1050,450 1400,0 1400,900' fill='url(%23g1)'/%3E%3Cpolygon points='0,900 700,900 350,450' fill='url(%23g2)'/%3E%3Cpolygon points='700,900 1400,900 1050,450' fill='url(%23g4)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 40px 24px 60px 24px;
}

.contact-container {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
}

/* ===== HEADINGS & TRICOLOR BAR ===== */
.contact-header-block {
  text-align: center;
  margin-bottom: 28px;
}

.contact-main-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #33334e;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.tricolor-bar {
  display: flex;
  height: 4px;
  width: 340px;
  max-width: 90%;
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tricolor-bar .bar-red {
  flex: 1;
  background-color: #d9381e;
}

.tricolor-bar .bar-yellow {
  flex: 1;
  background-color: #f5a623;
}

.tricolor-bar .bar-blue {
  flex: 1;
  background-color: #2b6cb0;
}

.contact-section-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2b2b3e;
  margin-top: 24px;
  margin-bottom: 14px;
  text-align: left;
}

/* ===== HELPDESK TABLE CARD ===== */
.helpdesk-table-card {
  background: #ffffff;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 48px;
}

.table-row {
  display: flex;
  border-bottom: 1px solid #e6e9f0;
  transition: background-color 0.2s ease;
}

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

.table-row:hover {
  background-color: #f8fafc;
}

.cell-label {
  flex: 0 0 38%;
  padding: 15px 20px;
  font-weight: 600;
  color: #33334e;
  font-size: 0.93rem;
  background: #fcfdfe;
  border-right: 1px solid #e6e9f0;
  display: flex;
  align-items: center;
  line-height: 1.45;
}

.cell-value {
  flex: 1;
  padding: 15px 20px;
  color: #1a1a2e;
  font-size: 0.93rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.45;
}

.cell-value.cell-address {
  align-items: flex-start;
}

.cell-icon {
  color: #1a1a4e;
  flex-shrink: 0;
}

.cell-icon.address-icon {
  margin-top: 3px;
}

.email-link {
  color: #1a1a4e;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.email-link:hover {
  color: #d9381e;
  text-decoration: underline;
}

/* ===== OFFICIALS DEALING CARDS ===== */
.officials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.official-card {
  background: #ffffff;
  border: 1.5px solid #a7bada;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(27, 54, 93, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.official-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27, 54, 93, 0.12);
  border-color: #2b6cb0;
}

.official-name {
  color: #2b4c7e;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.official-designation {
  color: #4a6584;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.official-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #1e3a60;
  font-weight: 500;
  margin-top: 6px;
}

.official-icon {
  color: #2b4c7e;
  flex-shrink: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 840px) {
  .officials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .contact-page-wrapper {
    padding: 24px 16px 40px 16px;
  }

  .contact-main-title {
    font-size: 1.6rem;
  }

  .tricolor-bar {
    width: 240px;
  }

  .table-row {
    flex-direction: column;
  }

  .cell-label {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e6e9f0;
    background: #f4f7fb;
    padding: 10px 14px;
  }

  .cell-value {
    flex: none;
    width: 100%;
    padding: 10px 14px;
  }
}
