/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
  width: 100%;
  padding: 70px 20px;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

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

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

/* =========================================
   LEFT SIDE
========================================= */

.contact-info {
  width: 100%;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: #EFF5E7;
  color: #40a034;

  padding: 8px 18px 8px 8px;
  border-radius: 40px;

  font-size: 18px;
  font-weight: 700;

  margin-bottom: 25px;
}

.badge-icon {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #40a034;
  color: #ffffff;

  border-radius: 50%;

  font-size: 20px;
}

.contact-info > h2 {
  color: #40a034;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;

  margin-bottom: 20px;
}

.contact-description {
  max-width: 570px;

  color: #697586;
  font-size: 16px;
  line-height: 1.8;

  margin-bottom: 35px;
}

/* =========================================
   CONTACT ITEMS
========================================= */

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;

  margin-bottom: 25px;
}

a.contact-item {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-icon {
  position: relative;
  overflow: hidden;

  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;

  z-index: 1;
  flex-shrink: 0;

  width: 66px;
  height: 66px;

  border: 1px solid #e5e7eb;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #40a034;
  font-size: 22px;

  background: #ffffff;
}



/* Animated background circle */

.contact-icon::before {
    content: "";

    position: absolute;

    width: 0;
    height: 0;

    border-radius: 50%;

    background: #40A034;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    transition:
        width 0.4s ease,
        height 0.4s ease;

    z-index: -1;
}


/* Icon */

.contact-icon i {
    color: #40A034;

    transition:
        color 0.3s ease,
        transform 0.4s ease;
}


/* =========================================
   HOVER
========================================= */

.contact-item:hover .contact-icon {
    border-color: #40A034;

    transform: translateY(-6px) scale(1.05);

    box-shadow:
        0 10px 25px rgba(64, 160, 52, 0.25);
}


.contact-item:hover .contact-icon::before {
    width: 100px;
    height: 100px;
}


.contact-item:hover .contact-icon i {
    color: #ffffff;

    transform: rotate(360deg) scale(1.15);
}


/* =========================================
   ITEM HOVER
========================================= */

.contact-item {
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}


/* =========================================
   HEADING HOVER
========================================= */

.contact-item-content h4 {
    transition: color 0.3s ease;
}

.contact-item:hover .contact-item-content h4 {
    color: #338329;
}


/* =========================================
   BADGE ICON
========================================= */

.badge-icon {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.contact-badge:hover .badge-icon {
    transform: rotate(-10deg) scale(1.1);

    box-shadow:
        0 6px 15px rgba(64, 160, 52, 0.3);
}


/* =========================================
   FORM ICON HOVER
========================================= */

.input-group i,
.textarea-group i {
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.input-group:focus-within i,
.textarea-group:focus-within i {
    color: #40A034;

    transform: translateY(-50%) scale(1.2);
}

.textarea-group:focus-within i {
    transform: scale(1.2);
}


/* =========================================
   SEND BUTTON ANIMATION
========================================= */

.send-btn {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.send-btn i {
    transition:
        transform 0.35s ease;
}

.send-btn:hover {
    background: #338329;

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(64, 160, 52, 0.30);
}

.send-btn:hover i {
    transform: translateX(5px) rotate(-10deg);
}


/* =========================================
   RIPPLE EFFECT
========================================= */

.send-btn::before {
    content: "";

    position: absolute;

    width: 0;
    height: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    transition:
        width 0.5s ease,
        height 0.5s ease;
}

.send-btn:hover::before {
    width: 300px;
    height: 300px;
}


/* Keep button content above ripple */

.send-btn {
    isolation: isolate;
}

.send-btn i,
.send-btn {
    z-index: 1;
}


.contact-item-content {
  padding-top: 2px;
}

.contact-item-content h4 {
  color: #40a034;

  font-size: 20px;
  font-weight: 700;

  margin-bottom: 10px;
}

.contact-item-content p {
  color: #697586;

  font-size: 16px;
  line-height: 1.7;

  max-width: 500px;
}

/* =========================================
   RIGHT FORM BOX
========================================= */

.contact-form-box {
  background: #f7f8fb;

  border-radius: 28px;

  padding: 48px 45px;

  width: 100%;
}

.contact-form-box h2 {
  color: #40a034;

  font-size: 30px;
  font-weight: 700;

  margin-bottom: 20px;
}

.form-description {
  color: #697586;

  font-size: 16px;
  line-height: 1.8;

  margin-bottom: 30px;
}

/* =========================================
   FORM ROW
========================================= */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;

  margin-bottom: 20px;
}

/* =========================================
   INPUT
========================================= */

.input-group {
  position: relative;
  width: 100%;
}

.input-group i,
.textarea-group i {
  position: absolute;

  left: 18px;
  top: 50%;

  transform: translateY(-50%);

  color: #40a034;

  font-size: 15px;

  z-index: 1;
}

.input-group input,
.input-group select {
  width: 100%;
  height: 58px;

  border: 1px solid #dcdfe4;
  border-radius: 10px;

  background: #ffffff;

  padding: 0 18px 0 48px;

  outline: none;

  color: #555f6d;
  font-size: 15px;

  transition: all 0.3s ease;
}

.input-group select {
  appearance: none;
  cursor: pointer;
}

.input-group input::placeholder,
.textarea-group textarea::placeholder {
  color: #718096;
}

.input-group input:focus,
.input-group select:focus,
.textarea-group textarea:focus {
  border-color: #40a034;

  box-shadow: 0 0 0 3px rgba(64, 160, 52, 0.1);
}

.enquiry-messages {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.enquiry-message {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.enquiry-message-success {
  background: #eff5e7;
  color: #2f6b2a;
}

.enquiry-message-error {
  background: #fdecec;
  color: #b42318;
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #b42318;
}

.contact-form-box .form-captcha,
.contact-form .form-captcha {
  justify-content: flex-start;
  margin: 0 0 22px;
}

/* =========================================
   FULL WIDTH INPUT
========================================= */

.full-width {
  margin-bottom: 20px;
}

/* =========================================
   TEXTAREA
========================================= */

.textarea-group {
  position: relative;

  width: 100%;

  margin-bottom: 26px;
}

.textarea-group i {
  top: 28px;
  transform: none;
}

.textarea-group textarea {
  width: 100%;
  height: 180px;

  resize: vertical;

  border: 1px solid #dcdfe4;
  border-radius: 10px;

  background: #ffffff;

  padding: 18px 18px 18px 48px;

  outline: none;

  font-family: inherit;
  font-size: 15px;

  color: #555f6d;

  transition: all 0.3s ease;
}

/* =========================================
   SEND BUTTON
========================================= */

.send-btn {
  border: none;
  outline: none;

  background: #40a034;
  color: #ffffff;

  height: 50px;

  padding: 0 30px;

  border-radius: 30px;

  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  transition: all 0.3s ease;
}

.send-btn i {
  font-size: 14px;
}

.send-btn:hover {
  background: #2d46ad;
  transform: translateY(-2px);

  box-shadow: 0 8px 20px rgba(64, 160, 52, 0.2);
}

/* =========================================
   RESPONSIVE - TABLET
========================================= */

@media (max-width: 992px) {
  .contact-section {
    padding: 60px 20px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-description {
    max-width: 100%;
  }

  .contact-form-box {
    padding: 40px 35px;
  }
}

/* =========================================
   RESPONSIVE - MOBILE
========================================= */

@media (max-width: 768px) {
  .contact-section {
    padding: 45px 15px;
  }

  .contact-container {
    gap: 40px;
  }

  .contact-info > h2,
  .contact-form-box h2 {
    font-size: 26px;
  }

  .contact-description,
  .form-description {
    font-size: 15px;
    line-height: 1.7;
  }

  .contact-item {
    gap: 15px;
  }

  .contact-icon {
    width: 55px;
    height: 55px;
    font-size: 19px;
  }

  .contact-item-content h4 {
    font-size: 18px;
  }

  .contact-item-content p {
    font-size: 14px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .input-group input {
    height: 55px;
  }

  .textarea-group textarea {
    height: 160px;
  }
}

/* =========================================
   RESPONSIVE - SMALL MOBILE
========================================= */

@media (max-width: 480px) {
  .contact-badge {
    font-size: 16px;
    padding-right: 15px;
  }

  .badge-icon {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .contact-info > h2,
  .contact-form-box h2 {
    font-size: 23px;
  }

  .contact-item {
    align-items: flex-start;
  }

  .contact-icon {
    width: 48px;
    height: 48px;
    font-size: 17px;
  }

  .contact-form-box {
    padding: 25px 15px;
  }

  .send-btn {
    width: 100%;
  }
}

/* =========================================
   MAP SECTION
========================================= */

.map-section {
  width: 100%;
  padding: 0 20px 70px;
  background: #ffffff;
}

.map-container {
  width: 100%;
  max-width: 1320px;
  height: 410px;
  margin: 0 auto;

  overflow: hidden;

  border-radius: 0 0 25px 25px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

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

  display: block;

  border: 0;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 992px) {
  .map-section {
    padding: 0 20px 60px;
  }

  .map-container {
    height: 380px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {
  .map-section {
    padding: 0 15px 45px;
  }

  .map-container {
    height: 320px;
    border-radius: 18px;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {
  .map-container {
    height: 280px;
    border-radius: 15px;
  }
}
