.contact-us-top {
  max-width: 1152px;
  width: 100%;
  min-height: 480px;
  margin: 60px 0 100px;
  display: flex;
  justify-content: space-between;
  gap: clamp(48px, 10vw, 208px);
  align-items: center;
  padding: 0 24px;
}
.contact-us-left {
  max-width: 424px;
  width: 100%;
  min-height: 360px;
  gap: 44px;
  display: flex;
  flex-direction: column;
  flex: 1 1 360px;
}
.contact-us-left > div:first-child {
  margin-top: 14px;
  gap: 12px;
}
.contact-us-left > div:first-child h1 {
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 140%;
  letter-spacing: 0.01em;
  text-transform: capitalize;
  color: #1e1e1e;
}
.contact-us-left > div:first-child h1 {
  margin-bottom: 0;
}
.contact-us-subtitle,
.contact-us-left > div:first-child p {
  font-family: "Urbanist", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0.01em;
  color: #333;
}
.contact-us-form-title {
  font-family: "Urbanist", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 160%;
  letter-spacing: 0.01em;
  color: #646464;
}
.contact-us-left > div:nth-child(2) {
  gap: 24px;
  width: 425px;
}
.contact-us-title {
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2087ec;
  font-size: 12px;
}
.contact-us-form {
  min-height: 440px;
  width: min(100%, 520px);
  border-radius: 36px;
  padding: 41px 24px;
  box-shadow: 4px 4px 20px #00000040;
  gap: 24px;
  display: flex;
  flex-direction: column;
  background: #fbfbfb;
  flex: 1 1;
}
.contact-us-inputbox {
  height: 40px;
  font-weight: 500;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 0 12px;
  font-family: "Urbanist", sans-serif;
  font-size: 16px;
  line-height: 160%;
}
#work-email-outer,
.contact-us-name-outer > div,
#contact-form-fields > div:last-of-type {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#work-email-outer {
  position: relative;
}
.contact-us-name-outer {
  display: flex;
  gap: 32px;
}
.contact-us-name-outer > div,
#contact-form-fields > div:last-of-type {
  flex: 1 1 0;
}
.contact-us-field-group {
  position: relative;
}
#msg_from_user {
  width: 100%;
  height: 83px;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #ccc;
  outline: none;
  resize: vertical;
  font: 500 16px/160% "Urbanist", sans-serif;
}
#msg_from_user:focus {
  border-color: #ccc;
  outline: none;
  box-shadow: none;
}
#contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-us-submit-btn {
  font: 600 18px "Urbanist", sans-serif;
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  padding: 12px 24px;
  color: #fff;
  border: 1px solid #2087ec;
  background-color: #2087ec;
  cursor: pointer;
}
.light-company-sec {
  width: 100%;
  padding: 0 24px;
  margin-bottom: 80px;
}
.light-company-sec .container {
  max-width: 1200px;
}
.light-company-sec .d-flex {
  width: 100%;
  margin-top: 24px;
}
.light-company-sec .brands-carousel {
  width: 100%;
}
.light-company-sec .brands-carousel .owl-item {
  display: flex;
  align-items: center;
}
.light-company-sec .brands-carousel img {
  display: block;
  width: 100%;
  max-width: 160px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto;
}
.testimonials-section {
  width: min(100%, 1152px);
  min-height: 176px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}
.testimonials-section .left-section p:nth-of-type(1),
.testimonials-section .left-section p:nth-of-type(2) {
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 140%;
  letter-spacing: 0.01em;
  color: #1e1e1e;
}
.testimonials-section .left-section p:nth-of-type(2) {
  color: #2087ec;
  margin-bottom: 24px;
}
.testimonials-section .left-section a {
  height: 40px;
  width: 152px;
  background: #2087ec;
  color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  font: 600 14px "Urbanist", sans-serif;
  gap: 8px;
}
.testimonials-section .left-section a:hover {
  background: #00359f;
}
.testimonials-section .left-section a svg {
  display: inline-block;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}
.testimonials-section .left-section a:hover svg {
  transform: none;
}
.reviews-slider {
  width: 100%;
  max-width: 1152px;
  min-height: 365px;
  margin-bottom: 100px;
  display: flex;
  gap: 30px;
  overflow: hidden;
  position: relative;
}
.reviews-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    to right,
    #fff 0%,
    rgba(255, 255, 255, 0.92) 6%,
    transparent 14%,
    transparent 86%,
    rgba(255, 255, 255, 0.92) 94%,
    #fff 100%
  );
}
.reviews-slider-track {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  width: max-content;
  animation: contact-review-marquee 40s linear infinite;
  will-change: transform;
}
@keyframes contact-review-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 30px));
  }
}
.light-review-card {
  width: min(400px, calc(100vw - 48px));
  min-height: 360px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background-color: #f9f9f9;
}
.light-review-card > p:first-of-type {
  font-family: "Urbanist", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 160%;
  letter-spacing: 0.01em;
  color: #333;
}
.light-review-card .author-section {
  display: flex;
  align-items: center;
  gap: 11.76px;
}
.light-review-card .author-section > img {
  height: 60px;
  width: 60px;
}
.light-review-card .author-section > div {
  flex: 1 1 auto;
  min-width: 0;
}
.light-review-card .author-section > div p:nth-child(1) {
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0.01em;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0;
}
.light-review-card .author-section > div p:nth-child(2),
.light-review-card .author-section > div p:nth-child(3) {
  font-family: "Urbanist", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 160%;
  letter-spacing: 0.01em;
  color: #646464;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0;
}
#email-feedback,
.field-feedback {
  font-family: "Urbanist", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 160%;
}
#email-feedback {
  display: block;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-height: 0;
  margin-top: 0;
  pointer-events: none;
}
.field-feedback {
  display: none;
}
#email-feedback.error,
.field-feedback.error {
  display: block;
  color: #e03e3e;
}
#email-feedback.success,
.field-feedback.success {
  display: block;
  color: #1a9e5a;
}
#work-email.input-error,
#contact-us-first_name.input-error,
#contact-us-last_name.input-error,
#msg_from_user.input-error {
  border-color: #e03e3e;
  outline: none;
}
#work-email.input-success,
#contact-us-first_name.input-success,
#contact-us-last_name.input-success,
#msg_from_user.input-success {
  border-color: #1a9e5a;
  outline: none;
}
#contact-form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  height: 100%;
  flex: 1;
}
.success-check {
  font-size: 44px;
}
.success-title {
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 160%;
  letter-spacing: 0.01em;
  text-align: center;
  color: #1e1e1e;
  margin-top: 24px;
}
.success-subtitle {
  font-family: "Urbanist", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0.01em;
  text-align: center;
  color: #808080;
  margin-bottom: 24px;
}
.success-chat-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 24px;
  border-radius: 12px;
  background-color: #2087ec;
  color: #fff;
  font: 600 18px "Urbanist", sans-serif;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.success-chat-btn:hover {
  background-color: #00359f;
}

@media (max-width: 1200px) {
  .contact-us-left > div:nth-child(2) {
    width: auto;
  }
  .contact-us-top {
    width: 100%;
    max-width: 864px;
    min-height: 460px;
    gap: clamp(40px, 6vw, 94px);
    margin-bottom: 110px;
  }
  .contact-us-left {
    gap: 42px;
    min-height: 360px;
    max-width: 330px;
  }
  .contact-us-form {
    min-height: 420px;
    max-width: 440px;
  }
  .testimonials-section {
    max-width: 820px;
  }
}

@media (max-width: 786px) {
  .success-title {
    font-size: 28px;
  }
  .contact-us-left {
    max-width: 269px;
    gap: 28px;
  }
  .contact-us-left > div:first-child {
    margin-top: 0;
  }
  .contact-us-left > div:first-child p {
    font-size: 14px;
  }
  .light-company-sec {
    padding: 0 16px;
  }
  .light-company-sec .d-flex {
    margin-top: 20px;
  }
  .light-company-sec .brands-carousel img {
    max-width: 132px;
    height: 40px;
  }
  .reviews-slider,
  .testimonials-section {
    max-width: 786px;
  }
  .contact-us-top {
    width: 100%;
    max-width: 757px;
    gap: 37px;
    margin-bottom: 80px;
    margin-top: 24px;
  }
  .contact-us-form {
    max-width: 440px;
    min-height: 421px;
  }
  .testimonials-section {
    max-width: 706px;
  }
}

@media (max-width: 650px) {
  .contact-us-left > div:first-child h1 {
    font-size: 24px;
  }
  .success-title {
    font-size: 24px;
  }
  .success-subtitle {
    font-size: 14px;
  }
  #contact-form-success {
    padding: 20px;
  }
  .light-company-sec {
    margin-bottom: 36px;
    padding: 0 12px;
  }
  .light-company-sec .brands-carousel img {
    max-width: 116px;
    height: 36px;
  }
  .contact-us-top {
    width: 100%;
    max-width: 343px;
    gap: 32px;
    min-height: 798px;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }
  .contact-us-left {
    display: contents;
  }
  .contact-us-intro {
    order: 1;
  }
  .contact-us-form {
    order: 2;
    width: 100%;
    max-width: 343px;
  }
  .contact-us-details {
    order: 3;
  }
  .contact-us-name-outer {
    gap: 12px;
  }
  .testimonials-section {
    flex-direction: column-reverse;
    height: 246px;
    align-items: start;
    width: 100%;
    max-width: 375px;
    gap: 12px;
    padding: 0 0 0 16px;
    margin-top: 50px;
  }
  .testimonials-section .left-section p:nth-of-type(1),
  .testimonials-section .left-section p:nth-of-type(2) {
    font-size: 28px;
  }
  .testimonials-section > img {
    width: 85px;
    height: 100px;
  }
  .light-review-card {
    width: 280px;
    min-height: 320px;
    height: auto;
  }
  .light-review-card > p:first-of-type {
    font-size: 14px;
  }
  .light-review-card .author-section > div p:nth-child(1) {
    font-size: 14px;
  }
  .light-review-card .author-section > div p:nth-child(2),
  .light-review-card .author-section > div p:nth-child(3) {
    font-size: 11px;
    line-height: 150%;
  }
  .reviews-slider {
    margin-bottom: 40px;
    height: 360px;
  }
}
