

/* ========================================================================================================================= */
/* ----------------- footer section ----------------*/
.footer-section {
  background: #1e1e1e;
  padding: 80px 6%;
  color: #d1d1d1;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.footer-left p {
  font-size: 16px;
  max-width: 420px;
  color: #b5b5b5;
}

.footer-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 520px;
}

.footer-form input {
  background: transparent;
  border: 1px solid #3a3a3a;
  padding: 14px;
  color: #ffffff;
  font-size: 14px;
}

.footer-form input::placeholder {
  color: #888888;
}


.footer-form textarea {
  background: transparent;
  border: 1px solid #3a3a3a;
  padding: 14px;
  color: #ffffff;
  font-size: 14px;
  resize: none;
  height: 120px;
  /* message box height */
}

.footer-form textarea::placeholder {
  color: #888888;
}

.footer-form .full-width {
  grid-column: span 2;
  /* full width */
}

.footer-form button {
  grid-column: span 2;
  padding: 14px;
  border: none;
  background: linear-gradient(90deg, #c4efd3, #67a879, #4fa878);
  color: #074227;
  /* dark green text for contrast */
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-form button:hover {
  background: linear-gradient(90deg, #4fa878, #67a879, #c4efd3);
}

.footer-form input.is-invalid,
.footer-form textarea.is-invalid {
  border-color: #ff7f7f;
}

.form-field-error {
  margin: -4px 0 2px;
  min-height: 16px;
  font-size: 12px;
  color: #ff9b9b;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.2s ease;
}

.form-field-error.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-thankyou-card {
  margin-top: 14px;
  background: linear-gradient(135deg, #dbf9e6, #baf0d1);
  border: 1px solid #8fdab2;
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  color: #1f5d3f;
  box-shadow: 0 10px 22px rgba(57, 153, 104, 0.28);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: all 0.3s ease;
}

.footer-thankyou-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.thankyou-icon-wrap {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #93e4bb;
  display: grid;
  place-items: center;
}

.thankyou-icon-wrap i {
  font-size: 18px;
  color: #16603e;
}

.thankyou-content h4 {
  font-size: 15px;
  margin-bottom: 1px;
  color: #1d6544;
}

.thankyou-content p {
  font-size: 12px;
  color: #2f7654;
}

.thankyou-close {
  border: none;
  background: rgba(69, 146, 106, 0.15);
  color: #1f6745;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.thankyou-close i {
  font-size: 15px;
}

.thankyou-close:hover {
  background: rgba(69, 146, 106, 0.28);
}






/* footer devider */
.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #1e1e1e;
  padding: 30px 0;
}

.footer-divider span {
  width: 300px;
  height: 1px;
  background: #444;
}

.footer-divider p {
  color: #aaa;
  font-size: 14px;
}

/* contact */
.footer-contact-section {
  background: #1e1e1e;
  padding: 50px 6%;
  text-align: center;
}

.footer-contact-section h2 {
  color: #fff;
  margin-bottom: 40px;
}

.footer-contact-box {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-contact-item i {
  background: linear-gradient(135deg, #DFF5EA, #71c3a2, #367861);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  filter: drop-shadow(0 0 12px rgba(108, 207, 173, 0.45));
  font-size: 30px;
  margin-bottom: 10px;
}

.footer-contact-item a {
  display: block;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
}

.footer-contact-item p {
  font-size: 14px;
  color: #aaa;
}

/* footer bottom */
.footer-bottom-bar {
  background: #141414;
  padding: 20px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888;
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #ffffff;
  color: #141414;
  font-size: 18px;
  margin-left: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.35s ease;
}

.footer-social a:hover {
  /* background: linear-gradient(90deg, #44DB34, #0f7a4d, #0a4a2d); */
  background: linear-gradient(90deg, #d5fee9, #77e4b9, #287c5f);
  color: #034f2d;
  box-shadow: 0 0 15px rgba(54, 176, 133, 0.6);
  transform: translateY(-5px) scale(1.05);
}



/* ================= FOOTER RESPONSIVE ================= */

/* TABLET VIEW */

@media (max-width:1024px) {

  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: nowrap;
  }

  .footer-left {
    flex: 1;
  }

  .footer-right {
    flex: 1;
  }

  .footer-left h2 {
    font-size: 38px;
  }

  .footer-form {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .footer-divider span {
    width: 180px;
  }

}


/* MOBILE VIEW */

@media (max-width:768px) {

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-left h2 {
    font-size: 28px;
  }

  .footer-left p {
    margin: auto;
  }

  .footer-right {
    width: 100%;
    max-width: 560px;
  }

  /* FORM FULL WIDTH */

  .footer-form {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    gap: 14px;
  }

  .footer-form .full-width {
    grid-column: span 1;
  }

  .footer-form button {
    grid-column: span 1;
  }

  /* INPUT FULL WIDTH */

  .footer-form input,
  .footer-form textarea {
    width: 100%;
    font-size: 16px;
    padding: 16px;
    border-radius: 10px;
  }

  .footer-form textarea {
    min-height: 140px;
  }

  .footer-form button {
    min-height: 52px;
    font-size: 16px;
    border-radius: 10px;
  }

  .footer-thankyou-card {
    text-align: left;
  }

  .footer-divider span {
    width: 80px;
  }

  .footer-contact-box {
    flex-direction: column;
    gap: 30px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-social a {
    margin: 5px;
  }

}