/* Page Header Css */

.container {
    width: 1260px !important;
}


/* Contact Form 7 — CSS */


.quote-form-wrap {
  max-width: 100%;
  margin: 0 auto;
}

.quote-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.quote-form-field {
  flex: 1 1 0;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.quote-form-row .quote-form-field {
  margin-bottom: 0;
}

.quote-form-full {
  width: 100%;
}

/* Labels */
.quote-form-wrap label {
  font-size: 15px;
  font-weight: 600;
  color: #1a2540;
  margin-bottom: 8px;
  display: inline-block;
}

.quote-form-wrap .req {
  color: #e0473e;
  margin-left: 2px;
}

.quote-form-wrap input[type="text"],
.quote-form-wrap input[type="tel"],
.quote-form-wrap input[type="email"],
.quote-form-wrap select,
.quote-form-wrap textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e5ec;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: #1a2540;
  background-color: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.quote-form-wrap input::placeholder,
.quote-form-wrap textarea::placeholder {
  color: #9aa2b1;
}

.quote-form-wrap input:focus,
.quote-form-wrap select:focus,
.quote-form-wrap textarea:focus {
  border-color: #e0913e;
  box-shadow: 0 0 0 3px rgba(224, 145, 62, 0.15);
}

.quote-form-wrap textarea {
  min-height: 100px;
  resize: vertical;
}

.quote-form-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa2b1' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 44px;
}

.quote-form-wrap select:invalid {
  color: #9aa2b1;
}

.quote-form-wrap input[type="submit"] {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  color: #1a2540;
  cursor: pointer;
  background: linear-gradient(90deg, #e0a53e 0%, #d9713a 100%);
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.quote-form-wrap input[type="submit"]:hover {
  opacity: 0.92;
}

.quote-form-wrap input[type="submit"]:active {
  transform: translateY(1px);
}

.quote-form-note {
  text-align: center;
  font-size: 13px;
  color: #8a93a6;
  margin-top: 14px;
}

.quote-form-wrap .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #e0473e;
  margin-top: 4px;
}

.quote-form-wrap .wpcf7-not-valid {
  border-color: #e0473e !important;
}

.quote-form-wrap .wpcf7-response-output {
  border-radius: 10px;
  font-size: 14px;
  margin-top: 16px;
}

@media (max-width: 600px) {
  .quote-form-row {
    flex-direction: column;
    gap: 22px;
    margin-bottom: 0;
  }

  .quote-form-row .quote-form-field {
    margin-bottom: 22px;
  }

  .quote-form-wrap {
    padding: 0 4px;
  }
}

.page-header {
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #321A2E 0%,
    #6c3666 50%,
    #9E8792 100%
  );
  opacity: 0.8;
  z-index: 1;
}

.page-header > * {
  position: relative;
  z-index: 2;
}


/* services before after img section */
.before-after-section h3{
    padding-left: 20px !important;
}

.before-after-section img{
    height: 300px !important;
    object-fit:cover !important;
}

/* testimonial */
/* =========================================================
   TESTIMONIAL ALIGNMENT - DESKTOP / TABLET / MOBILE
   ========================================================= */

.testimonial-card .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

.testimonial-card .owl-item {
    display: flex !important;
    height: auto !important;
}

.testimonial-card .testi-item {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;

    box-shadow: 0 8px 25px rgba(0,0,0,0.06) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

/* =========================
   DESKTOP
   ========================= */

.testimonial-card .ttext {
    height: 200px !important;
    min-height: 200px !important;
    margin-bottom: 25px !important;
    overflow: hidden !important;
}

.testimonial-card .t-head {
    margin-top: 0 !important;
}


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

@media (min-width: 768px) and (max-width: 1023px) {

    .testimonial-card .ttext {
        height: 200px !important;
        min-height: 200px !important;
        margin-bottom: 25px !important;
    }

}


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

@media (max-width: 767px) {

    .testimonial-card .ttext {
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 25px !important;
    }

    .testimonial-card .t-head {
        margin-top: 0 !important;
    }

}


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

.testimonial-card .testi-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 35px rgba(0,0,0,0.10) !important;
}