#contacts-div {
  margin: 0 auto;
}

#form-group {
  margin: 2% 3%;
}

#contacts {
  margin: 5%;
}

input,
select {
  border-radius: 0.3rem;
  min-width: 20rem;
}

label {
  color: rgb(7, 7, 65);
  font-weight: 700;
  margin: 15px 0 5px 0;
}

#photo {
  height: auto;
  width: 12.5rem;
  margin: 5% 7%;
}

h4 {
  margin-bottom: 1.3rem;
  color: rgb(6, 6, 65);
}

h5 {
  font-size: 1rem;
}

#message {
  height: 7.5rem;
  border-radius: 0.32rem;
  min-width: 20rem;
}

#submit {
  background-color: rgb(43, 78, 130);
  color: white;
  min-width: 6.25rem;
  font-size: 1.13rem;
  margin: 1.5rem auto;
  height: 2.5rem;
  float: center;
}
/* ===== STEP 1 SAFE VISUAL OVERRIDES ===== */

#contacts {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 2rem !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

label {
  color: #16324a !important;
}

h4 {
  color: #16324a !important;
}

h5 {
  color: #245b78 !important;
}
/* ===== MIHANA GREEN THEME OVERRIDES ===== */

#contacts {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 2rem !important;
  box-shadow: 0 8px 24px rgba(31, 77, 58, 0.06) !important;
}

label {
  color: #22302a !important;
}

h4 {
  color: #22302a !important;
}

h5 {
  color: #2f6b52 !important;
}
/* ===== STEP 3 CONTACT PAGE REWRITE ===== */

.contact-page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem 1rem;
}

.contact-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-intro {
  max-width: 860px;
  margin: 0 auto;
  color: #44524a;
  line-height: 1.8;
  font-size: 1.05rem;
}

.contact-section-title {
  color: #22302a;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-services-panel,
.contact-direct-card,
.contact-enquiry-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(31, 77, 58, 0.06);
}

.contact-services-panel {
  padding: 1.75rem;
  margin-bottom: 1.75rem;
}

.contact-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-service-card {
  background: #f7fbf7;
  border: 1px solid #d7e3da;
  border-radius: 12px;
  padding: 1.2rem;
}

.contact-service-card h4 {
  color: #1f4d3a;
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.contact-service-card p {
  margin-bottom: 0;
  color: #44524a;
  line-height: 1.7;
}

.contact-direct-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-direct-card,
.contact-enquiry-card {
  padding: 1.75rem;
}

.contact-role {
  color: #66756d;
  margin-top: -0.35rem;
  margin-bottom: 1.25rem;
}

.contact-detail-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #e3ece5;
}

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

.contact-label {
  font-weight: 700;
  color: #22302a;
}

.contact-value,
.contact-value a {
  color: #2f6b52;
  text-decoration: none;
}

.contact-value a:hover {
  text-decoration: underline;
}

.contact-enquiry-list {
  margin: 0 0 1.25rem 1.1rem;
  padding: 0;
  color: #44524a;
  line-height: 1.8;
}

.contact-note {
  color: #44524a;
  line-height: 1.75;
  margin-bottom: 1.3rem;
}

.contact-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-cta-btn {
  display: inline-block;
  background: #1f4d3a;
  color: #ffffff !important;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid #1f4d3a;
  transition: all 0.2s ease;
}

.contact-cta-btn:hover {
  background: #2f6b52;
  border-color: #2f6b52;
  color: #ffffff !important;
  text-decoration: none;
}

.contact-cta-secondary {
  background: #ffffff;
  color: #1f4d3a !important;
  border: 1px solid #2f6b52;
}

.contact-cta-secondary:hover {
  background: #eef6f0;
  color: #1f4d3a !important;
}

@media only screen and (max-width: 900px) {
  .contact-services-grid,
  .contact-direct-panel {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 700px) {
  .contact-page-wrap {
    padding: 0.5rem 0.75rem 2rem 0.75rem;
  }

  .contact-detail-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .contact-cta-row {
    flex-direction: column;
  }

  .contact-cta-btn {
    text-align: center;
  }
}