@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;500;600&family=Raleway:wght@400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #faf3e0;
  font-family: "Montserrat", sans-serif;
}

/* Main Content */
.main-content {
  padding: 60px 0;
}

/* ========== CONTACT SECTION WRAPPER ========== */
.content-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  padding: 80px 120px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* LEFT COLUMN: FORM */
.contact-form {
  flex: 1.3;
  background: rgba(138, 154, 91, 0.2);
  border-radius: 5px;
  padding: 40px;
}

.contact-form h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  color: #4f6d3a;
  margin-bottom: 10px;
}

.form-intro {
  color: #2f3e1f;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Form Groups & Inputs */
.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  flex: 1;
}

.form-group label {
  display: block;
  font-weight: 700;
  color: #8a9a5b;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background-color: #faf3e0;
  font-family: "Open Sans", sans-serif;
  color: rgba(47, 62, 31, 0.5);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

textarea.form-control {
  height: 150px;
  resize: none;
}

.btn {
  background-color: #4f6d3a;
  color: #faf3e0;
  text-align: center;
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 12px 35px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  float: right;
  transition: background 0.3s ease;
}

/* RIGHT COLUMN: INFO */
.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.tp2-image {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 4px solid #4f6d3a;
  flex-grow: 1;
  display: flex;
}

.tp2-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partner-glass {
  position: absolute;
  top: 25px;
  left: 25px;
  padding: 20px 30px;
  border-radius: 7px;
  background: rgba(138, 154, 91, 0.5);
  backdrop-filter: blur(3.5px);
  -webkit-backdrop-filter: blur(3.5px);
}

.partner-glass h3 {
  color: #faf3e0;
  margin: 0;
  font-size: 26px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: rgba(138, 154, 91, 0.2);
  border-radius: 5px;
  padding: 30px;
  width: 100%;
  box-sizing: border-box;
  flex-grow: 0;
}

.detail-item {
  background-color: #2f3e1f;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #faf3e0;
}

.detail-icon {
  width: 45px;
  height: 45px;
  background: #faf3e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f3e1f;
  flex-shrink: 0;
}

.detail-content h4 {
  color: #faf3e0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px; /* Scaled down slightly to match design hierarchy */
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.detail-content p,
.detail-content p a {
  color: #d4e8c2;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.detail-content p a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ========== MAP SECTION ========== */
.find-us-section {
  width: 100%;
  padding: 100px 0;
  position: relative;
  background: url("../img/contact-map.png") no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
}

.find-us-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1440px;
  width: 100%;
  padding: 0 120px;
}

/* MAP */
.map-container {
  flex: 1;
  height: 450px;
  border: 6px solid #faf3e0;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Text Styling */
.location-info {
  flex: 1;
  color: #faf3e0;
}

.location-info h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.location-intro {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Icon List Alignment */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  font-weight: 600;
}

.info-item i {
  font-size: 24px;
  color: #faf3e0;
  width: 30px;
  text-align: center;
}

/* ========== TABLET VIEW (max-width: 1024px) ========== */
@media screen and (max-width: 1024px) {
  .content-wrapper {
    flex-direction: column; /* Stack Form and Info */
    padding: 60px 40px;
    gap: 40px;
  }

  .contact-form,
  .contact-info {
    flex: none;
    width: 100%;
  }

  /* Adjust Form Rows to stay side-by-side on tablet */
  .form-row {
    display: flex;
    gap: 20px;
  }

  .tp2-image {
    height: 350px; /* Slightly shorter on tablet */
  }

  /* Map Section */
  .find-us-content {
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
  }

  .map-container {
    width: 100%;
    height: 350px;
  }

  .location-info {
    order: 1;
    margin-bottom: 40px;
  }

  .info-list {
    align-items: center;
  }
}

/* ========== MOBILE VIEW (max-width: 768px) ========== */
@media screen and (max-width: 768px) {
  .content-wrapper {
    padding: 40px 20px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .contact-form h3 {
    font-size: 26px;
    text-align: center;
  }

  .form-intro {
    text-align: center;
    font-size: 14px;
  }

  /* Stack Name/Email fields on Mobile */
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .btn {
    width: 100%; /* Full width button for easy clicking */
    float: none;
  }

  /* Detail Items */
  .detail-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .partner-glass {
    left: 10px;
    top: 10px;
    padding: 15px;
    width: calc(100% - 20px);
    text-align: center;
  }

  .partner-glass h3 {
    font-size: 20px;
  }

  /* Map and Location */
  .find-us-section {
    padding: 60px 0;
  }

  .map-container {
    width: 100%;
    height: 350px;
  }

  .location-info h2 {
    font-size: 28px;
  }

  .info-item {
    font-size: 15px;
    flex-direction: column;
    gap: 5px;
  }
}
