/* Contact page styles. Load after com-home.css and inner-common.css.
 * Extracted from the design source inner-pages.css (Integration-bugtreat/inner-pages/css).
 */

.contact-sec {
  width: 100%;
  padding: 100px 0;
}
.contact-sec .contact-container {
  width: 100%;
  max-width: 1320px;
  padding: 0;
  margin: 0 auto;
}
.contact-sec .contact-form-wrap {
  width: 640px;
  max-width: 100%;
  margin: 0 auto;
}
.contact-sec .contact-heading {
  margin-bottom: 8px;
  text-align: center;
}
.contact-sec .contact-heading h2 {
  font: 60px/68px "HelveticaMedium";
  color: #000;
}
.contact-sec .contact-heading p {
  font: 20px/28px "Helvetica";
  color: #000;
  margin-bottom: 20px;
  padding: 20px 20px 0;
}
.contact-sec .contact-form {
  width: 100%;
}
.contact-sec .contact-form .form-group {
  position: relative;
  width: 100%;
  min-width: 0;
}
.contact-sec .contact-form .form-group input,
.contact-sec .contact-form .form-group textarea,
.contact-sec .contact-form .form-group .dropdown-toggle {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 15px;
  margin-bottom: 15px;
  background: #f4f4f4;
  color: #111;
  font: 18px/26px "Helvetica";
  padding: 30px 30px;
}
.contact-sec .contact-form .form-group input::-moz-placeholder,
.contact-sec .contact-form .form-group textarea::-moz-placeholder,
.contact-sec .contact-form .form-group .dropdown-toggle::-moz-placeholder {
  color: #777;
  opacity: 1;
}
.contact-sec .contact-form .form-group input::placeholder,
.contact-sec .contact-form .form-group textarea::placeholder,
.contact-sec .contact-form .form-group .dropdown-toggle::placeholder {
  color: #777;
  opacity: 1;
}
.contact-sec .contact-form .form-group input:last-child(),
.contact-sec .contact-form .form-group textarea:last-child(),
.contact-sec .contact-form .form-group .dropdown-toggle:last-child() {
  margin-bottom: 0;
}
.contact-sec .contact-form .form-group input::after,
.contact-sec .contact-form .form-group textarea::after,
.contact-sec .contact-form .form-group .dropdown-toggle::after {
  content: unset;
}
.contact-sec .contact-form .form-group input:focus,
.contact-sec .contact-form .form-group textarea:focus,
.contact-sec .contact-form .form-group .dropdown-toggle:focus {
  box-shadow: 0 0 0 1px #ff3366;
}
.contact-sec .contact-form .form-group textarea {
  display: block;
  resize: vertical;
}
.contact-sec .contact-form .form-row {
  display: flex;
  gap: 15px;
}
.contact-sec .contact-form .form-row > .form-group {
  width: 50%;
}
.contact-sec .contact-form .custom-dropdown {
  z-index: 2;
}
.contact-sec .contact-form .custom-dropdown.is-open {
  z-index: 10;
}
.contact-sec .contact-form .custom-dropdown.is-open .dropdown-menu {
  display: block;
}
.contact-sec .contact-form .custom-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  text-align: left;
  cursor: pointer;
}
.contact-sec .contact-form .custom-dropdown .dropdown-toggle img {
  display: block;
  width: 12px;
  height: 12px;
  -o-object-fit: contain;
  object-fit: contain;
}
.contact-sec .contact-form .custom-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  z-index: 10;
  width: 100%;
  margin: 0;
  padding: 3px;
  list-style: none;
  border: 1px solid #eee;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.0705882353);
}
.contact-sec .contact-form .custom-dropdown .dropdown-menu li {
  padding-left: unset;
  background: unset;
  padding-bottom: unset;
  padding: 10px 20px;
}
.contact-sec .contact-form .custom-dropdown .dropdown-menu li:hover {
  background: #ffe8ef;
}
.contact-sec .contact-form .custom-dropdown .dropdown-menu li button {
  width: 100%;
  padding: 6px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font: 18px/26px "Helvetica";
  text-align: left;
  cursor: pointer;
}
.contact-sec .contact-form .contact-submit {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 20px 10px;
  border: 0;
  border-radius: 50px;
  background: #ff3366;
  color: #fff;
  font: 20px/28px "Helvetica-Bold";
  cursor: pointer;
}
.contact-sec .contact-form .form-message {
  font-size: 8px;
  text-align: center;
}
.contact-sec .contact-locations {
  width: 100%;
  max-width: 1450px;
  margin: 90px auto 0;
  color: #111;
  font-family: inherit;
}
.contact-sec .contact-locations > h2 {
  font: 60px/68px "HelveticaMedium";
  text-align: center;
  margin-bottom: 30px;
}
.contact-sec .contact-locations .location-layout {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.contact-sec .contact-locations .location-row {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: 100%;
}
.contact-sec .contact-locations .location-map {
  width: calc(44% - 8px);
  min-width: 0;
  overflow: hidden;
  border-radius: 11px;
}
.contact-sec .contact-locations .location-map img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 150px;
  -o-object-fit: cover;
  object-fit: cover;
}
.contact-sec .contact-locations .location-card {
  width: calc(28% - 8px);
  min-width: 0;
  padding: 35px 30px;
  border-radius: 22px;
}
.contact-sec .contact-locations .location-card h3 {
  margin: 0 0 10px;
  font: 28px/36px "HelveticaMedium";
}
.contact-sec .contact-locations .location-card p {
  margin: 0;
  font: 20px/28px "Helvetica";
}
.contact-sec .contact-locations .location-card a {
  color: inherit;
  text-decoration: none;
}
.contact-sec .contact-locations .location-card a:hover {
  color: #ff3366;
}
.contact-sec .contact-locations .india-card {
  background: #dfeaff;
}
.contact-sec .contact-locations .uk-card {
  background: #d6f5ed;
}
.contact-sec .contact-locations .call-card {
  background: #fbe0f2;
}
.contact-sec .contact-locations .call-card .contact-number {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font: 20px/28px "Helvetica";
}
.contact-sec .contact-locations .call-card .contact-number > span {
  flex-shrink: 0;
}
.contact-sec .contact-locations .call-card .contact-number > div {
  min-width: 0;
}
.contact-sec .contact-locations .call-card .contact-number > div p + p {
  margin-top: 2px;
}
.contact-sec .contact-locations .call-card .contact-number:last-child {
  margin-bottom: 0;
}
.contact-sec .contact-locations .email-card {
  background: #ffead9;
}
.contact-sec .contact-locations .email-card p + p {
  margin-top: 2px;
}
.contact-sec .contact-locations .contact-bottom {
  margin-top: 28px;
  padding: 14px 10px;
  border-top: 5px solid transparent;
  -o-border-image: linear-gradient(90deg, #ffca58, #ff3366, #438bff) 1;
  border-image: linear-gradient(90deg, #ffca58, #ff3366, #438bff) 1;
  text-align: center;
}
.contact-sec .contact-locations .contact-bottom p {
  margin: 0;
  font: 23px/31px "Helvetica";
}
.contact-sec .contact-locations .contact-bottom a {
  color: #ff3366;
  text-decoration: none;
}
.contact-sec .contact-bottom {
  margin-top: 20px;
  padding: 10px 0;
  border-top: 1px solid transparent;
  -o-border-image: linear-gradient(90deg, #ffca58, #ff3366, #438bff) 1;
  border-image: linear-gradient(90deg, #ffca58, #ff3366, #438bff) 1;
  text-align: center;
}
.contact-sec .contact-bottom p {
  margin: 0;
  font-size: 7px;
  line-height: 1.6;
}
.contact-sec .contact-bottom a {
  color: #ff3366;
  text-decoration: none;
}

@media screen and (max-width: 1900px) {
  .contact-sec .contact-heading h2,
  .contact-sec .contact-locations > h2 {
    font-size: 55px;
    line-height: 63px;
  }
}

@media screen and (max-width: 1800px) {
  .contact-sec {
    width: 100%;
    padding: 90px 0;
  }
}

@media screen and (max-width: 1700px) {
  .contact-sec .contact-heading h2,
  .contact-sec .contact-locations > h2 {
    font-size: 50px;
    line-height: 58px;
  }
}

@media screen and (max-width: 1600px) {
  .contact-sec .contact-heading h2,
  .contact-sec .contact-locations > h2 {
    font-size: 45px;
    line-height: 53px;
  }
}

@media screen and (max-width: 1500px) {
  /* .contact-sec .contact-locations {
    padding: 0 20px;
  } */
}

@media screen and (max-width: 1400px) {
  .contact-sec .contact-heading h2,
  .contact-sec .contact-locations > h2,
  .contact-sec .contact-locations > h2 {
    font-size: 40px;
    line-height: 48px;
  }
  .contact-sec .contact-container {
    padding: 0 20px;
  }
}

@media screen and (max-width: 1300px) {
  .contact-sec .contact-locations .location-card p {
    font-size: 18px;
    line-height: 26px;
  }
  .contact-sec .contact-locations .location-card h3 {
    font-size: 25px;
    line-height: 33px;
  }
  .contact-sec .contact-locations .location-card {
    padding: 35px 28px;
  }
}

@media screen and (max-width: 1200px) {
  .contact-sec .contact-locations .location-map {
    width: 100%;
  }
  .contact-sec .contact-locations .location-row {
    flex-wrap: wrap;
  }
  .contact-sec .contact-locations .location-card {
    width: 49%;
    padding: 76px 30px;
  }
  .contact-sec .contact-locations {
    margin: 58px auto 0;
  }
  .contact-sec .contact-locations .location-map {
    width: 100%;
    height: 283px;
  }
  .contact-sec .contact-locations .location-card {
    width: 49%;
    padding: 45px 30px;
  }
  .contact-sec .contact-locations .contact-bottom p {
    font-size: 20px;
    line-height: 28px;
  }
}

@media screen and (max-width: 1024px) {
  .contact-sec .contact-heading p {
    font-size: 18px;
    line-height: 26px;
  }
  .contact-sec .contact-locations .location-card {
    width: 49%;
    padding: 32px 30px;
  }
  .contact-sec .contact-form .form-group input,
  .contact-sec .contact-form .form-group textarea,
  .contact-sec .contact-form .form-group .dropdown-toggle {
    padding: 24px 30px;
  }
  .contact-sec .contact-form .contact-submit {
    font-size: 18px;
    line-height: 26px;
  }
}
@media screen and (max-width: 992px) {
  .contact-sec .contact-heading h2,
  .contact-sec .contact-locations > h2 {
    font-size: 35px;
    line-height: 43px;
  }
  .contact-sec .contact-locations .location-row {
    gap: 13px;
  }
}

@media screen and (max-width: 881px) {
  /* .contact-sec .contact-locations .location-card {
    width: 49%;
    padding: 54px 30px;
  } */
  .contact-sec .contact-locations .contact-bottom p {
    font-size: 21px;
    line-height: 30px;
  }
  .contact-sec {
    width: 100%;
    padding: 60px 0;
  }
  .contact-sec .contact-locations .location-map {
    width: 100%;
    height: 245px;
  }
  .contact-sec .contact-locations .contact-bottom p {
    font-size: 18px;
    line-height: 26px;
  }
  .contact-sec .contact-locations .location-card {
    width: 100%;
    text-align: center;
  }
  .contact-sec .contact-locations .call-card .contact-number {
    justify-content: center;
  }
  .contact-sec .contact-form .field-error {
    font-size: 14px;
    line-height: 22px;
  }
  .contact-sec .contact-form .contact-submit {
    font-size: 16px;
    line-height: 24px;
  }
}

@media screen and (max-width: 768px) {
  .contact-sec .contact-locations .location-card {
    width: 100%;
  }
  .contact-sec .contact-heading h2 br {
    display: none;
  }
  .contact-sec .contact-form .form-row {
    display: flex;
    gap: 10px;
  }
}

@media screen and (max-width: 550px) {
  .contact-sec .contact-locations .contact-bottom p {
    font-size: 18px;
    line-height: 26px;
  }
  .contact-sec .contact-locations {
    padding: 0 0px;
  }
}

@media screen and (max-width: 451px) {
  .contact-sec .contact-form .form-row {
    display: flex;
    gap: 15px;
    flex-direction: column;

  }
  .contact-sec .contact-form .form-row > .form-group {
    width: 100%;
  }
  .contact-sec .contact-locations .call-card .contact-number {
    flex-direction: column;
  }
  .contact-sec .contact-form .form-row {
    display: flex;
    gap: 0;
    flex-direction: column;

  }
  .contact-sec .contact-locations .call-card .contact-number {
    justify-self: center;
}
}

/* ---- Contact form additions: validation messages, letter CAPTCHA, toast, loading state ---- */
/* Contact page additions: validation messages and the letter CAPTCHA.
   Visual language follows the design (#f4f4f4 fields, #ff3366 accent). */

.contact-sec .contact-form .field-error {
  display: block;
  margin: -8px 0 14px 6px;
  color: #d92d4b;
  font: 16px/24px "Helvetica";
}
.contact-sec .contact-form .field-error:empty {
  display: none;
}

.contact-sec .contact-form .form-group input.is-invalid,
.contact-sec .contact-form .form-group textarea.is-invalid,
.contact-sec .contact-form .form-group .dropdown-toggle.is-invalid {
  box-shadow: 0 0 0 1px #d92d4b;
}

/* Submit button while a request is in flight */
.contact-sec .contact-form .contact-submit:disabled {
  cursor: progress;
  opacity: 0.75;
}
.contact-sec .contact-form .contact-submit.is-loading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: contact-spin 0.7s linear infinite;
}
@keyframes contact-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-sec .contact-form .contact-submit.is-loading::before {
    animation-duration: 2s;
  }
}

/* The inline status line is no longer used; feedback comes from the toast below */
.contact-sec .contact-form .form-message:empty {
  display: none;
}

/* Toast: fixed overlay, so showing it never moves the page layout */
.contact-toast {
  position: fixed;
  top: 110px;
  left: 50%;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 14px 22px 14px 14px;
  border-radius: 50px;
  color: #fff;
  font: 17px/24px "Helvetica";
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -16px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0s linear 0.3s;
}
.contact-toast.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0s;
}
.contact-toast.is-success {
  background: #1a9e5c;
}
.contact-toast.is-error {
  background: #d92d4b;
}
.contact-toast-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font: 16px/1 "Helvetica-Bold";
}

@media (prefers-reduced-motion: reduce) {
  .contact-toast,
  .contact-toast.is-visible {
    transition: none;
  }
}

@media screen and (max-width: 575px) {
  .contact-toast {
    top: 84px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 22px;
  }
}

/* Letter CAPTCHA */
.contact-sec .contact-form .contact-captcha .captcha-title {
  display: block;
  margin: 0 0 8px 6px;
  color: #111;
  font: 17px/25px "Helvetica-Bold";
}
.contact-sec .contact-form .contact-captcha .captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.contact-sec .contact-form .contact-captcha .captcha-image {
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 15px;
  background: #f4f4f4;
  line-height: 0;
}
.contact-sec .contact-form .contact-captcha .captcha-image img {
  display: block;
  width: 180px;
  height: 60px;
}
.contact-sec .contact-form .contact-captcha .captcha-refresh {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: #f4f4f4;
  cursor: pointer;
}
.contact-sec .contact-form .contact-captcha .captcha-refresh:hover,
.contact-sec .contact-form .contact-captcha .captcha-refresh:focus-visible {
  box-shadow: 0 0 0 1px #ff3366;
}
.contact-sec .contact-form .contact-captcha .captcha-refresh img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.contact-sec .contact-form .contact-captcha .captcha-row input {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.contact-sec .contact-form .contact-captcha .captcha-row input::placeholder {
  text-transform: none;
  letter-spacing: normal;
}

@media screen and (max-width: 575px) {
  .contact-sec .contact-form .contact-captcha .captcha-row {
    flex-wrap: wrap;
  }
  /* 29-10-24 */
  /* .contact-sec .contact-form .contact-captcha .captcha-row input {
    flex-basis: 100%;
  } */
    /* 29-10-24 */
  .contact-sec .contact-form .contact-captcha .captcha-image img {
    width: 150px;
    height: 50px;
  }
}
