/* contact form styles start */
.gw-contact-page .gw-form-card {
  margin: 1.25rem auto;
}

.gw-contact-page .gw-form-submit {
  position: relative;
  overflow: hidden;
}

.gw-contact-page .gw-form-submit::after {
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: -30%;
  width: 20%;
  background: rgba(255, 255, 255, 0.55);
  content: "";
  transform: skewX(-20deg);
  animation: gw-form-submit-shine 4.5s ease-in-out infinite;
}

.gw-contact-page .gw-form-submit span,
.gw-contact-page .gw-form-submit strong {
  position: relative;
  z-index: 1;
}

@keyframes gw-form-submit-shine {
  0%, 45% { left: -30%; opacity: 0; }
  52% { opacity: 0.6; }
  64%, 100% { left: 125%; opacity: 0; }
}

.gw-form-card {
  width: min(100%, 660px);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  color: #ffffff;
  background: #ffffff;
  border: 1px solid rgba(0, 8, 139, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 8, 139, 0.16);
}

.gw-form-heading {
  margin-bottom: 1.75rem;
}

.gw-form-kicker {
  display: block;
  margin-bottom: 0.55rem;
  color: #c39f00;
  font-family: harabara, inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gw-form-heading h2 {
  margin: 0;
  color: #00088b;
  font-family: harabara, inherit;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
}

.gw-form-heading p {
  max-width: 480px;
  margin: 0.7rem 0 0;
  color: #5c6980;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.55;
}

.gw-enquiry-form {
  display: block;
}

.gw-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gw-form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.45rem;
}

.gw-form-field label {
  color: #18324f;
  font-size: 0.82rem;
  font-weight: 700;
}

.gw-form-field input,
.gw-form-field select,
.gw-form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  color: #18324f;
  background: #f6f9fc;
  border: 1px solid #dbe4ed;
  border-radius: 8px;
  box-sizing: border-box;
  font: inherit;
  outline: none;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gw-form-field textarea {
  min-height: 112px;
  resize: vertical;
}

.gw-form-field input::placeholder,
.gw-form-field textarea::placeholder {
  color: #8795a8;
}

.gw-form-field input:focus,
.gw-form-field select:focus,
.gw-form-field textarea:focus {
  background: #ffffff;
  border-color: #00088b;
  box-shadow: 0 0 0 3px rgba(0, 8, 139, 0.1);
}

.gw-form-field--message {
  margin-top: 1rem;
}

.gw-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.15rem;
  color: #5c6980;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.45;
}

.gw-form-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: #00088b;
}

.gw-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 175px;
  margin-top: 1.5rem;
  padding: 0.9rem 1.25rem;
  color: #00088b;
  background: #fed000;
  border: 2px solid #fed000;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(0, 8, 139, 0.14);
  cursor: pointer;
  font-family: harabara, inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.gw-form-submit strong {
  font-size: 1.2rem;
  line-height: 0.8;
  transition: transform 180ms ease;
}

.gw-form-submit:hover,
.gw-form-submit:focus-visible {
  color: #ffffff;
  background: #00088b;
  box-shadow: 0 14px 26px rgba(0, 8, 139, 0.24);
  outline: none;
  transform: translateY(-2px);
}

.gw-form-submit:hover strong,
.gw-form-submit:focus-visible strong {
  transform: translateX(4px);
}

@media (max-width: 767px) {
  .gw-contact-page .navbar {
    position: relative;
    z-index: 20;
  }

  .gw-contact-page .navbar-collapse.show {
    position: static !important;
    width: 100%;
    max-height: none;
  }

  .gw-contact-page > header.header {
    min-height: 0 !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.75rem !important;
  }

  .gw-contact-page .form-section-padding1 {
    padding: 1.25rem 0.75rem 2.5rem !important;
  }

  .gw-contact-page .form-section-padding1 > .container,
  .gw-contact-page .form-section-padding1 .row {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .gw-contact-page .form-section-padding1 .row > .col-sm {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .gw-contact-page .form-section-padding1 .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .gw-form-card {
    width: 100%;
    max-width: 660px;
    margin: 0 auto 1.25rem;
    padding: 1.35rem;
    border-radius: 14px;
  }

  .gw-form-grid {
    grid-template-columns: 1fr;
  }

  .gw-form-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gw-form-field input,
  .gw-form-field select,
  .gw-form-field textarea,
  .gw-form-submit,
  .gw-form-submit strong,
  .gw-form-submit::after {
    transition: none;
    animation: none;
  }
}
/* contact form styles end */
