/* =========================================
   Start Hero Section
========================================= */

.hero-left-bg{
    background: var(--primary-color);
}

.hero-left h1{
    color:var(--color-white);
}
.contact-text-color{
    color: var(--color-white);
}

@media (max-width: 768px){
        .fade-top {
        content: url('/wp-content/uploads/2025/11/Linear-Banner-Fade-Top-Service-pages-Mobile-Kelgray-1.png');
        width: 100%;
        height: auto;
    }
}

/* =========================================
   End Hero Section
========================================= */

/* SECTION */
.contact-section {
  padding: 80px 0;
}

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

.contact-left {
  background: #fff;
  padding: 30px 35px;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #edf1f6;
}

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

.icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 12px;
  background: var(--color-grey);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon img {
  width: 22px;
  line-height: 1;
}

.info-row h4 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
}

.info-row p {
  margin: 0;
  line-height: 1.5;
}

.contact-right {
  height: 100%;
}

.contact-right iframe {
  width: 100%;
  height: 100%;
  border-radius: 30px;
}

@media (max-width: 767px) {

  .contact-section {
    padding: 50px 0;
  }

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

  .contact-left {
    padding: 24px 20px;
    border-radius: 0px;
  }

  .info-row {
    gap: 14px;
    padding: 16px 0;
  }

  .info-row h4 {
    font-size: 17px;
  }

  .info-row p {
    font-size: 14px;
    line-height: 1.5;
  }

  .icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 10px;
  }

  .icon img {
    width: 18px;
  }

  .contact-right iframe {
    height: 340px;
    border-radius: 0px;
  }
}

/* FORM SECTION */
.contact-form-section {
  padding: 40px 20px 80px;
}

.form-container {
  max-width: 800px;
  margin: auto;
}

.contact-form-section .wpcf7 {
  background: #228aca;
  padding: 40px 80px 20px;
  border-radius: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.contact-form-section h5 {
  margin-top: 0;
  color: #ffffff;
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
}

.contact-form-section h6 {
  margin: 20px 0 8px;
  color: #ffffff;
  font-size: 16px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #d7e1ec;
  margin-bottom: 10px;
  outline: none;
  transition: all 0.2s ease;
  background: #fff;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #1786c8;
  box-shadow: 0 0 0 3px rgba(23,134,200,0.1);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder,
.wpcf7 select::placeholder {
  color: #228aca;
}

.wpcf7-not-valid-tip {
  color: var(--color-white) !important;
}

.wpcf7-response-output {
    margin-top: 0 !important;
    color: var(--color-white);
    line-height: 1.3em;
    padding: 8px 15px 10px !important;
    border-color: #c3e8ff !important;
}

.wpcf7 input[type="submit"] {
  width: 100%;
  background: #ffffff;
  color: #228aca;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s;
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(23,134,200,0.3);
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 10px;
}

.wpcf7-response-output {
  border-radius: 10px;
  margin-top: 20px;
}

@media (max-width: 767px) {

  .contact-form-section {
    padding: 30px 15px 50px;
  }

  .form-container {
    max-width: 100%;
  }

  .contact-form-section .wpcf7 {
    padding: 28px 20px 10px;
    border-radius: 22px;
  }

  .contact-form-section h5 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .contact-form-section h6 {
    font-size: 14px;
    margin: 16px 0 6px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 textarea,
  .wpcf7 select {
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 0;
  }

  .wpcf7 textarea {
    min-height: 120px;
  }

  .wpcf7 input[type="submit"] {
    padding: 14px;
    font-size: 14px;
    border-radius: 10px;
  }

  .wpcf7-response-output {
    font-size: 14px;
    margin-top: 16px;
  }

}