/* =========================================================
   SMART BUILT ASSOCIATES
   CONTACT PAGE
   File: assets/css/contact.css
========================================================= */


/* =========================================================
   ROOT / BASE
========================================================= */

:root {
  --sba-blue: #006fba;
  --sba-blue-light: #4ea5e0;
  --sba-dark: #384046;
  --sba-dark-deep: #242b30;
  --sba-light: #f7fbfe;
  --sba-white: #ffffff;
  --sba-border: #e2e9ee;
  --sba-text: #59636a;
  --sba-muted: #7d878e;
  --sba-shadow: 0 15px 45px rgba(32, 55, 70, 0.08);
  --sba-transition: all 0.35s ease;
}


.sba-contact-page {
  width: 100%;
  overflow: hidden;
  font-family: "Open Sans", sans-serif;
  color: var(--sba-text);
  background: var(--sba-white);
}


.sba-contact-page *,
.sba-contact-page *::before,
.sba-contact-page *::after {
  box-sizing: border-box;
}


.sba-contact-page a {
  text-decoration: none;
}


.sba-contact-page img {
  max-width: 100%;
}


.sba-contact-page p {
  margin-top: 0;
}


/* =========================================================
   CONTAINER
========================================================= */

.sba-contact-page .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}


/* =========================================================
   COMMON EYEBROW
========================================================= */

.sba-contact-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.2px;
  color: var(--sba-blue);

  text-transform: uppercase;
}


.sba-contact-eyebrow span {
  position: relative;

  display: inline-block;

  width: 38px;
  height: 2px;

  background: var(--sba-blue);
}


.sba-contact-eyebrow span::after {
  content: "";

  position: absolute;

  right: -7px;
  top: 50%;

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: var(--sba-blue);

  transform: translateY(-50%);
}


/* =========================================================
   CONTACT HERO
========================================================= */

.sba-contact-hero {
  position: relative;

  min-height: 590px;

  display: flex;
  align-items: center;

  background: var(--sba-dark-deep);

  overflow: hidden;
}


.sba-contact-hero-bg {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(26, 34, 39, 0.97) 0%,
      rgba(35, 45, 51, 0.92) 45%,
      rgba(35, 45, 51, 0.78) 100%
    ),
    url("../img/products-banner.png") center center / cover no-repeat;

  transform: scale(1.02);
}


.sba-contact-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 111, 186, 0.12),
      transparent 55%
    );
}


.sba-contact-hero-pattern {
  position: absolute;
  inset: 0;

  opacity: 0.08;

  background-image:
    linear-gradient(
      rgba(255,255,255,0.8) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.8) 1px,
      transparent 1px
    );

  background-size: 70px 70px;

  mask-image: linear-gradient(
    90deg,
    black,
    transparent 85%
  );

  -webkit-mask-image: linear-gradient(
    90deg,
    black,
    transparent 85%
  );
}


.sba-contact-hero .container {
  position: relative;
  z-index: 5;
}


.sba-contact-hero-content {
  max-width: 820px;

  padding: 100px 0 130px;
}


.sba-contact-hero-content .sba-contact-eyebrow {
  color: #9bcff0;
  margin-bottom: 24px;
}


.sba-contact-hero-content .sba-contact-eyebrow span {
  background: var(--sba-blue-light);
}


.sba-contact-hero-content .sba-contact-eyebrow span::after {
  background: var(--sba-blue-light);
}


.sba-contact-hero h1 {
  margin: 0 0 24px;

  font-family: "Raleway", sans-serif;
  font-size: 68px;
  line-height: 1.05;
  font-weight: 600;

  color: var(--sba-white);
}


.sba-contact-hero h1 span {
  color: var(--sba-blue-light);
}


.sba-contact-hero-content > p {
  max-width: 690px;

  margin: 0 0 30px;

  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.85;

  color: rgba(255,255,255,0.72);
}


.sba-contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;

  font-family: "Poppins", sans-serif;
  font-size: 12px;
}


.sba-contact-breadcrumb a {
  color: #a9c9da;

  transition: var(--sba-transition);
}


.sba-contact-breadcrumb a:hover {
  color: var(--sba-blue-light);
}


.sba-contact-breadcrumb i {
  font-size: 11px;
  color: var(--sba-blue-light);
}


.sba-contact-breadcrumb span {
  color: rgba(255,255,255,0.65);
}


/* =========================================================
   HERO BOTTOM BAR
========================================================= */

.sba-contact-hero-bottom {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 82px;

  border-top: 1px solid rgba(255,255,255,0.12);

  background: rgba(18, 24, 28, 0.35);

  z-index: 6;
}


.sba-contact-hero-bottom-inner {
  height: 82px;

  display: flex;
  align-items: center;
  gap: 25px;
}


.sba-contact-hero-bottom-inner > span {
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;

  color: rgba(255,255,255,0.62);

  white-space: nowrap;
}


.sba-contact-hero-line {
  width: 100%;
  max-width: 180px;
  height: 1px;

  background: rgba(255,255,255,0.22);
}


.sba-contact-hero-bottom-inner > i {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border: 1px solid rgba(255,255,255,0.25);

  color: var(--sba-blue-light);

  font-size: 17px;
}


/* =========================================================
   NOTIFICATION
========================================================= */

.sba-contact-notification {
  padding: 30px 0 0;
}


.sba-contact-alert {
  display: flex;
  align-items: center;
  gap: 18px;

  padding: 20px 25px;

  border: 1px solid;
}


.sba-contact-alert-success {
  border-color: #b9dfca;
  background: #f3fbf6;
}


.sba-contact-alert-error {
  border-color: #ecc5c5;
  background: #fff6f6;
}


.sba-contact-alert-icon {
  flex: 0 0 42px;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
}


.sba-contact-alert-success .sba-contact-alert-icon {
  color: #21834d;
  background: #dff3e7;
}


.sba-contact-alert-error .sba-contact-alert-icon {
  color: #b33b3b;
  background: #f8dddd;
}


.sba-contact-alert strong {
  display: block;

  margin-bottom: 3px;

  font-family: "Raleway", sans-serif;
  font-size: 17px;
  font-weight: 700;

  color: var(--sba-dark);
}


.sba-contact-alert p {
  margin: 0;

  font-size: 13px;
  line-height: 1.6;

  color: var(--sba-text);
}


/* =========================================================
   CONTACT INFORMATION SECTION
========================================================= */

.sba-contact-information {
  padding: 105px 0 110px;

  background: var(--sba-white);
}


.sba-contact-section-heading {
  max-width: 760px;

  margin: 0 auto 55px;

  text-align: center;
}


.sba-contact-section-heading .sba-contact-eyebrow {
  justify-content: center;
  margin-bottom: 17px;
}


.sba-contact-section-heading h2 {
  margin: 0 0 15px;

  font-family: "Raleway", sans-serif;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;

  color: var(--sba-dark);
}


.sba-contact-section-heading h2 span {
  color: var(--sba-blue);
}


.sba-contact-section-heading p {
  max-width: 650px;

  margin: 0 auto;

  font-size: 15px;
  line-height: 1.8;

  color: var(--sba-text);
}


/* =========================================================
   INFORMATION GRID
========================================================= */

.sba-contact-info-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}


.sba-contact-info-card {
  position: relative;

  display: flex;
  gap: 22px;

  min-height: 220px;

  padding: 32px 28px;

  background: var(--sba-light);

  border: 1px solid var(--sba-border);

  overflow: hidden;

  transition: var(--sba-transition);
}


.sba-contact-info-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 3px;

  background: var(--sba-blue);

  transform: scaleX(0);
  transform-origin: left;

  transition: var(--sba-transition);
}


.sba-contact-info-card:hover {
  transform: translateY(-6px);

  background: var(--sba-white);

  box-shadow: var(--sba-shadow);
}


.sba-contact-info-card:hover::before {
  transform: scaleX(1);
}


.sba-contact-info-icon {
  flex: 0 0 52px;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--sba-blue);

  color: var(--sba-white);

  font-size: 21px;
}


.sba-contact-info-content {
  min-width: 0;
}


.sba-contact-info-content > span {
  display: block;

  margin-bottom: 7px;

  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;

  color: var(--sba-blue);
}


.sba-contact-info-content h3 {
  margin: 0 0 14px;

  font-family: "Raleway", sans-serif;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;

  color: var(--sba-dark);
}


.sba-contact-info-content a {
  display: block;

  margin-bottom: 5px;

  font-size: 14px;
  line-height: 1.55;

  color: var(--sba-text);

  transition: var(--sba-transition);
}


.sba-contact-info-content a:hover {
  color: var(--sba-blue);
}


.sba-contact-info-content p {
  margin: 0;

  font-size: 14px;
  line-height: 1.75;

  color: var(--sba-text);
}


.sba-contact-info-content small {
  display: block;

  margin-top: 12px;

  font-size: 11px;
  line-height: 1.5;

  color: var(--sba-muted);
}


/* =========================================================
   MAP + FORM SECTION
========================================================= */

.sba-contact-main {
  padding: 110px 0;

  background: var(--sba-light);
}


.sba-contact-main-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 35px;

  align-items: stretch;
}


/* =========================================================
   MAP
========================================================= */

.sba-contact-map {
  background: var(--sba-white);

  border: 1px solid var(--sba-border);

  box-shadow: 0 10px 35px rgba(32, 55, 70, 0.04);
}


.sba-contact-map-header {
  min-height: 100px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 24px 28px;

  border-bottom: 1px solid var(--sba-border);
}


.sba-contact-map-header > div > span {
  display: block;

  margin-bottom: 5px;

  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;

  color: var(--sba-blue);
}


.sba-contact-map-header h2 {
  margin: 0;

  font-family: "Raleway", sans-serif;
  font-size: 27px;
  font-weight: 700;

  color: var(--sba-dark);
}


.sba-contact-map-header h2 strong {
  color: var(--sba-blue);
  font-weight: 700;
}


.sba-contact-map-header > i {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #eaf5fb;

  color: var(--sba-blue);

  font-size: 20px;
}


.sba-contact-map-frame {
  width: 100%;

  line-height: 0;
}


.sba-contact-map-frame iframe {
  display: block;

  width: 100%;
  height: 480px;

  border: 0;
}


/* =========================================================
   FORM WRAPPER
========================================================= */

.sba-contact-form-wrapper {
  padding: 45px 42px;

  background: var(--sba-white);

  border: 1px solid var(--sba-border);

  box-shadow: 0 10px 35px rgba(32, 55, 70, 0.04);
}


.sba-contact-form-header {
  margin-bottom: 30px;
}


.sba-contact-form-header .sba-contact-eyebrow {
  margin-bottom: 14px;
}


.sba-contact-form-header h2 {
  margin: 0 0 12px;

  font-family: "Raleway", sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;

  color: var(--sba-dark);
}


.sba-contact-form-header h2 span {
  color: var(--sba-blue);
}


.sba-contact-form-header p {
  max-width: 500px;

  margin: 0;

  font-size: 13px;
  line-height: 1.75;

  color: var(--sba-text);
}


/* =========================================================
   FORM GROUP
========================================================= */

.sba-contact-form {
  width: 100%;
}


.sba-form-group {
  margin-bottom: 20px;
}


.sba-form-group label {
  display: block;

  margin-bottom: 8px;

  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;

  color: var(--sba-dark);
}


.sba-form-group label span {
  color: #d84747;
}


.sba-input-wrapper {
  position: relative;
}


.sba-input-wrapper > i {
  position: absolute;

  left: 17px;
  top: 50%;

  z-index: 2;

  font-size: 16px;

  color: #8a969e;

  transform: translateY(-50%);

  transition: var(--sba-transition);
}


.sba-input-wrapper input,
.sba-input-wrapper textarea {
  width: 100%;

  display: block;

  border: 1px solid #dce4e9;

  border-radius: 0;

  outline: none;

  background: #fbfdfe;

  font-family: "Open Sans", sans-serif;
  font-size: 13px;

  color: var(--sba-dark);

  transition: var(--sba-transition);

  box-shadow: none;
}


.sba-input-wrapper input {
  height: 53px;

  padding: 0 18px 0 47px;
}


.sba-input-wrapper textarea {
  min-height: 145px;

  padding: 16px 18px 16px 47px;

  resize: vertical;
}


.sba-input-wrapper input::placeholder,
.sba-input-wrapper textarea::placeholder {
  color: #a4adb3;
  opacity: 1;
}


.sba-input-wrapper input:focus,
.sba-input-wrapper textarea:focus {
  border-color: var(--sba-blue);

  background: var(--sba-white);

  box-shadow: 0 0 0 3px rgba(0, 111, 186, 0.07);
}


.sba-input-wrapper:focus-within > i {
  color: var(--sba-blue);
}


/* =========================================================
   TEXTAREA ICON
========================================================= */

.sba-textarea-wrapper > i {
  top: 22px;

  transform: none;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.sba-contact-submit {
  width: 100%;
  min-height: 54px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 20px 0 24px;

  border: 0;
  border-radius: 0;

  background: var(--sba-blue);

  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;

  color: var(--sba-white);

  cursor: pointer;

  transition: var(--sba-transition);
}


.sba-contact-submit i {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  background: rgba(255,255,255,0.14);

  font-size: 16px;

  transition: var(--sba-transition);
}


.sba-contact-submit:hover {
  background: #005f9f;
}


.sba-contact-submit:hover i {
  background: rgba(255,255,255,0.22);

  transform: translate(3px, -3px);
}


/* =========================================================
   FORM NOTE
========================================================= */

.sba-contact-form-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;

  margin-top: 16px;

  font-size: 10px;
  line-height: 1.55;

  color: #8a959c;
}


.sba-contact-form-note i {
  flex: 0 0 auto;

  margin-top: 1px;

  color: var(--sba-blue);

  font-size: 14px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.sba-contact-cta {
  position: relative;

  min-height: 430px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(34, 42, 47, 0.97),
      rgba(0, 74, 116, 0.94)
    ),
    url("../img/products-banner.png") center center / cover no-repeat;
}


.sba-contact-cta-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(0, 111, 186, 0.14),
      transparent 55%
    );
}


.sba-contact-cta::before,
.sba-contact-cta::after {
  content: "";

  position: absolute;

  width: 190px;
  height: 190px;

  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 50%;
}


.sba-contact-cta::before {
  left: -90px;
  top: -90px;
}


.sba-contact-cta::after {
  right: -90px;
  bottom: -90px;
}


.sba-contact-cta .container {
  position: relative;

  z-index: 2;
}


.sba-contact-cta-content {
  max-width: 780px;

  padding: 85px 0;
}


.sba-contact-cta-content .sba-contact-eyebrow {
  margin-bottom: 20px;

  color: #a8d5ed;
}


.sba-contact-cta-content .sba-contact-eyebrow span {
  background: var(--sba-blue-light);
}


.sba-contact-cta-content .sba-contact-eyebrow span::after {
  background: var(--sba-blue-light);
}


.sba-contact-cta h2 {
  margin: 0 0 17px;

  font-family: "Raleway", sans-serif;
  font-size: 46px;
  line-height: 1.15;
  font-weight: 600;

  color: var(--sba-white);
}


.sba-contact-cta h2 span {
  color: var(--sba-blue-light);
}


.sba-contact-cta-content > p {
  max-width: 650px;

  margin: 0 0 30px;

  font-size: 15px;
  line-height: 1.8;

  color: rgba(255,255,255,0.72);
}


.sba-contact-cta-button {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  gap: 18px;

  padding: 0 21px 0 25px;

  background: var(--sba-blue);

  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;

  color: var(--sba-white);

  transition: var(--sba-transition);
}


.sba-contact-cta-button i {
  font-size: 16px;

  transition: var(--sba-transition);
}


.sba-contact-cta-button:hover {
  background: var(--sba-white);

  color: var(--sba-blue);
}


.sba-contact-cta-button:hover i {
  transform: translate(3px, -3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

  .sba-contact-page .container {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }


  .sba-contact-hero {
    min-height: 560px;
  }


  .sba-contact-hero h1 {
    font-size: 60px;
  }


  .sba-contact-information {
    padding: 90px 0;
  }


  .sba-contact-info-card {
    padding: 27px 22px;
  }


  .sba-contact-info-icon {
    flex-basis: 48px;

    width: 48px;
    height: 48px;
  }


  .sba-contact-form-wrapper {
    padding: 38px 30px;
  }


  .sba-contact-form-header h2 {
    font-size: 29px;
  }


  .sba-contact-cta h2 {
    font-size: 42px;
  }

}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 991px) {

  .sba-contact-hero {
    min-height: 520px;
  }


  .sba-contact-hero-content {
    padding: 90px 0 120px;
  }


  .sba-contact-hero h1 {
    font-size: 54px;
  }


  .sba-contact-info-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }


  .sba-contact-info-card {
    min-height: auto;
  }


  .sba-contact-main {
    padding: 80px 0;
  }


  .sba-contact-main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }


  .sba-contact-map-frame iframe {
    height: 420px;
  }


  .sba-contact-form-wrapper {
    padding: 40px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .sba-contact-page .container {
    padding-left: 20px;
    padding-right: 20px;
  }


  .sba-contact-hero {
    min-height: 510px;
  }


  .sba-contact-hero-content {
    padding: 75px 0 105px;
  }


  .sba-contact-hero h1 {
    font-size: 46px;
  }


  .sba-contact-hero-content > p {
    font-size: 14px;
    line-height: 1.75;
  }


  .sba-contact-hero-bottom {
    height: 65px;
  }


  .sba-contact-hero-bottom-inner {
    height: 65px;
  }


  .sba-contact-hero-bottom-inner > span {
    font-size: 8px;
    letter-spacing: 1.3px;
  }


  .sba-contact-hero-line {
    max-width: 90px;
  }


  .sba-contact-hero-bottom-inner > i {
    width: 32px;
    height: 32px;

    font-size: 14px;
  }


  .sba-contact-notification {
    padding-top: 20px;
  }


  .sba-contact-alert {
    align-items: flex-start;

    padding: 17px;
  }


  .sba-contact-information {
    padding: 75px 0;
  }


  .sba-contact-section-heading {
    margin-bottom: 40px;
  }


  .sba-contact-section-heading h2 {
    font-size: 35px;
  }


  .sba-contact-section-heading p {
    font-size: 14px;
  }


  .sba-contact-info-card {
    padding: 25px 20px;
  }


  .sba-contact-main {
    padding: 70px 0;
  }


  .sba-contact-map-header {
    min-height: 85px;

    padding: 20px;
  }


  .sba-contact-map-header h2 {
    font-size: 24px;
  }


  .sba-contact-map-frame iframe {
    height: 350px;
  }


  .sba-contact-form-wrapper {
    padding: 30px 22px;
  }


  .sba-contact-form-header h2 {
    font-size: 27px;
  }


  .sba-contact-form-header p {
    font-size: 12px;
  }


  .sba-contact-cta {
    min-height: 400px;
  }


  .sba-contact-cta-content {
    padding: 70px 0;
  }


  .sba-contact-cta h2 {
    font-size: 36px;
  }


  .sba-contact-cta-content > p {
    font-size: 13px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .sba-contact-page .container {
    padding-left: 16px;
    padding-right: 16px;
  }


  .sba-contact-hero {
    min-height: 475px;
  }


  .sba-contact-hero-content {
    padding: 65px 0 95px;
  }


  .sba-contact-eyebrow {
    font-size: 9px;
    letter-spacing: 1.6px;
  }


  .sba-contact-hero h1 {
    font-size: 39px;
  }


  .sba-contact-hero-content > p {
    font-size: 13px;
  }


  .sba-contact-breadcrumb {
    font-size: 11px;
  }


  .sba-contact-hero-bottom-inner > span {
    display: none;
  }


  .sba-contact-hero-line {
    max-width: 120px;
  }


  .sba-contact-section-heading h2 {
    font-size: 31px;
  }


  .sba-contact-info-card {
    display: block;

    padding: 25px;
  }


  .sba-contact-info-icon {
    margin-bottom: 18px;
  }


  .sba-contact-form-wrapper {
    padding: 27px 17px;
  }


  .sba-contact-form-header h2 {
    font-size: 25px;
  }


  .sba-input-wrapper input {
    height: 50px;
  }


  .sba-input-wrapper textarea {
    min-height: 125px;
  }


  .sba-contact-map-header {
    padding: 18px;
  }


  .sba-contact-map-frame iframe {
    height: 300px;
  }


  .sba-contact-cta h2 {
    font-size: 31px;
  }


  .sba-contact-cta-content > p {
    font-size: 12px;
  }

}