.contact-page {
  font-family: "Poppins", sans-serif;
  color: #000;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}


/* ======= CONTACT WRAPPER ======= */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 1100px;
  margin: 24px auto 0 auto; /* changed from -40px to 24px */
  padding: 0 20px 60px 20px;
  position: relative;
  z-index: 1;
}

/* ======= CONTACT BOXES ======= */
.contact-info,
.contact-details {
  flex: 1;
  min-width: 320px;
  background: #ffffff;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover,
.contact-details:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* ======= HEADINGS ======= */
.contact-info h3,
.contact-details h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #154734;
  margin-bottom: 15px;
}

/* ======= CONTACT INFO TEXT ======= */
.contact-info p {
  margin: 10px 0;
  font-size: 16px;
  color: #333;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 10px;
  color: #154734;
  font-size: 18px;
}

.contact-info a {
  color: #154734;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #e6b800;
}

/* ======= OFFICE HOURS + SOCIALS ======= */
.contact-details p {
  font-size: 15px;
  color: #333;
  margin: 8px 0;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  color: #154734;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #e6b800;
  transform: translateX(4px);
}

/* BUTTONS*/
.btn-yellow {
  background: linear-gradient(135deg, #ffcc00, #ffd84d);
  color: #154734;
  padding: 12px 30px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  display: block;            /* important */
  margin: 20px auto 0;       /* centers the button */
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 204, 0, 0.3);
  border: none;
  cursor: pointer;
}


.btn-yellow:hover {
  background: linear-gradient(135deg, #e6b800, #ffcc00);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 204, 0, 0.5);
}

/* ONTACT FORM SECTION (POPUP)*/
.contact-form-section {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999; /* very high so it overlays everything */
  transition: opacity 0.3s ease;
  opacity: 0;
}

/* ensure .show sets display:flex as well so toggling only class works */
.contact-form-section.show {
  display: flex;
  opacity: 1;
}

/* POPUP CARD  */
.contact-form-card {
  background: #fff;
  padding: 40px 50px;
  border-radius: 25px;
  max-width: 720px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: fadeIn 0.3s ease;
  z-index: 10000; /* above overlay */
}

.contact-form-card h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #154734;
  text-align: center;
  margin-bottom: 8px;
}

.contact-form-card h2 {
  font-size: 1.2rem;
  color: #444;
  text-align: center;
  margin-bottom: 35px;
}

/*  CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 18px;
  right: 25px;
  background: none;
  border: none;
  font-size: 30px;
  color: #333;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #154734;
}

/* FORM LAYOUT */
.contact-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  text-align: left;
}

.form-left,
.form-right {
  flex: 1;
  min-width: 280px;
}

/* FORM INPUTS  */
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 15px;
  background: #fdfdfd;
  outline: none;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #154734;
  box-shadow: 0 0 5px rgba(21, 71, 52, 0.2);
}

/*  TEXTAREA  */
.form-right textarea {
  background: #fffbea;
  border-radius: 12px;
  resize: none;
  line-height: 1.5;
  min-height: 180px;
}

/*  SUBMIT BUTTON  */
.btn-green {
  background: linear-gradient(135deg, #154734, #1f6a49);
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 30px;
  font-weight: 600;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  float: right;
}

.btn-green:hover {
  background: linear-gradient(135deg, #0f3727, #154734);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(21, 71, 52, 0.3);
}

/*  ANIMATION  */
@keyframes fadeIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/*  RESPONSIVE  */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .contact-info,
  .contact-details {
    width: 95%;
  }

  .contact-form {
    flex-direction: column;
  }

  .btn-green {
    float: none;
    display: block;
    margin: 20px auto 0;
  }

  .contact-form-card {
    padding: 30px 25px;
  }
}
