/** Gravity Forms CSS */
#gform_1 .gfield_label_before_complex {
  text-align: left;
}

.contact-split{
  padding: 70px 80px;
}

.contact-split-row{
  display:flex;
  gap: 140px;
  align-items:flex-start;
}

.contact-left,
.contact-right{
  flex: 1 1 0;
  min-width: 0;
}

.contact-title{
  margin: 0 0 18px;
  color:#03254C;
  font-family: Metropolis, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.02em;
}

.contact-lede{
  margin: 0 0 34px;
  color: rgba(3, 37, 76, 0.80);
  font-family: Metropolis, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  max-width: 620px;
}

.contact-lede strong{
  color: rgba(3, 37, 76, 0.80);
  font-family: Metropolis, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
}

.contact-block{
  margin-top: 80px;
}

.contact-state{
  margin: 0 0 12px;
  color: #03254C;
  font-family: Metropolis;
  font-size: 42.667px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 42.667px */
  text-align: left;
}

.contact-line{
  margin: 0 0 10px;
  color: rgba(3, 37, 76, 0.80);
  font-family: Metropolis, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
}

.contact-line strong{
  font-weight: 700;
}

/* Form card */
.contact-form-card{
  border-radius: 16px;
  background: #F1F9FF;
  padding: 50px;
}

/* Gravity Forms (2.5 theme) */
.contact-form-card .gform_wrapper{
  margin: 0;
}

.contact-form-card .gform_heading{
  display:none !important;
}

/* spacing */
.contact-form-card .gform_fields{
  grid-row-gap: 16px !important;
}

.contact-form-card .gfield_label{
  margin: 0 0 18px !important;
  color:#03254C;
  font-family: Metropolis, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #03254C;
  text-align: center;
  font-family: Metropolis;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 20px */

}

.contact-form-card .gfield_required{
  color: #E14B4B;
}

/* inputs */
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card input[type="url"],
.contact-form-card input[type="number"],
.contact-form-card select,
.contact-form-card textarea{
  width:100%;
  border-radius: 10px;
  border: 2px solid #C6C6C6;
  background:transparent;
  padding: 20px!important;
  color:#03254C;
  font-family: Metropolis, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 20px!important;
  line-height: 1.2;
  box-shadow: none !important;
  outline: none;
  

}

.contact-form-card textarea{
  min-height: 150px;
  resize: vertical;
}

/* focus */
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus{
  border-color: rgba(3, 37, 76, .55);
  box-shadow: 0 0 0 3px rgba(186, 224, 255, .8) !important;
}

/* select arrow (keeps native, but aligns) */
.contact-form-card select{
  padding-right: 40px;
}

/* submit */
.contact-form-card .gform_footer{
  margin-top: 18px !important;
  padding: 0 !important;
}

.contact-form-card .gform_button{
  border: 0;
  border-radius: 100px;
  background: #03254C;
  color:#FFF;

  font-family: Metropolis, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;

  padding: 14px 22px;
  cursor:pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.contact-form-card .gform_button:hover{
  transform: translateY(-1px);
  opacity: .95;
}

/* validation */
.contact-form-card .validation_message,
.contact-form-card .gfield_validation_message{
  margin-top: 8px;
  font-size: 13px;
}

/* Gravity Forms (2.5 theme) placeholder typography */
.contact-form-card input::placeholder,
.contact-form-card select::placeholder,
.contact-form-card textarea::placeholder{
  color: rgba(3, 37, 76, 0.55);
  font-family: Metropolis, "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
}

/* cross-browser */
.contact-form-card input::-webkit-input-placeholder,
.contact-form-card textarea::-webkit-input-placeholder{
  color: #909090;
font-family: Metropolis;
font-size: 20.667px;
font-style: normal;
font-weight: 400;
line-height: 140%; /* 37.333px */
text-transform: capitalize;
}

.contact-form-card input::-moz-placeholder,
.contact-form-card textarea::-moz-placeholder{
  color: #909090;
  font-family: Metropolis;
  font-size: 20.667px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 37.333px */
  text-transform: capitalize;
}

.contact-form-card input:-ms-input-placeholder,
.contact-form-card textarea:-ms-input-placeholder{
 color: #909090;
font-family: Metropolis;
font-size: 20.667px;
font-style: normal;
font-weight: 400;
line-height: 140%; /* 37.333px */
text-transform: capitalize;
}


/* Responsive */
@media (max-width: 1100px){
  .contact-title{
    font-size: 44px;
  }
  .contact-lede{
    font-size: 20px;
  }
  .contact-lede strong{
    font-size: 20px;
  }
}

@media (max-width: 1200px){
  .contact-split-row{
    flex-direction:column;
    gap: 26px;
  }
.contact-split{
    padding: 56px 0 ;
  }
.contact-right{
  flex: 1 1 0;
  min-width: 0;
  align-self: center;
  width: 100%;
}
}

@media (max-width: 680px){
  

  .contact-title{
    font-size: 36px;
  }

  .contact-lede{
    font-size: 18px;
  }
  .contact-lede strong{
    font-size: 18px;
  }

  .contact-form-card{
    padding: 20px;
  }
}

.locations-section{
  padding: 70px 100px;
}

.locations-grid{
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: center;
  gap: 56px;
}

/* Swiper card */
.locations-slider .locations-swiper{
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.locations-slider .swiper-slide{
  border-radius: 20px;
  overflow: hidden;
}

.locations-slider .swiper-slide img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

/* Pagination */
.locations-pagination{
  bottom: 14px !important;
}

.locations-pagination .swiper-pagination-bullet{
  width: 8px;
  height: 8px;
  opacity: 1;
  background: rgba(255,255,255,.45);
}

.locations-pagination .swiper-pagination-bullet-active{
  background: #187BCD;
}

/* Map */
.locations-map{
  display: flex;
  /* justify-content: center; */
  /* width: 100%; */
}

.us-map{
  width: min(1090px, 100%);
  aspect-ratio: 904 / 585;
  position: relative;
  background: url('../img/us-map.svg') center / contain no-repeat;
}

/* Pins */
.map-pin{
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -100%);
  width: 46px;
  height: 71px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.map-pin::before{
  content:"";
  position: absolute;
  inset: 0;
  background: url('../img/map-marker.svg') center / contain no-repeat;
}

/* Tooltip */
.map-tooltip{
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, -10px);
  white-space: wrap;

  padding: 10px 14px;
  border-radius: 100px;
  background: rgba(3, 37, 76, 0.92);
  color: #fff;

  font-family: Metropolis, sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;

  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

/* Show on hover/focus */
.map-pin:hover .map-tooltip,
.map-pin:focus-visible .map-tooltip{
  opacity: 1;
  transform: translate(-50%, -18px);
}

/* Optional: hover anywhere on the map shows both */
.us-map:hover .map-tooltip{
  opacity: 1;
}

/* Responsive */
@media (max-width: 1280px){
  .locations-grid{
    grid-template-columns: 1fr;
    gap: 34px;
  }
  
.locations-section{
  padding: 30px 0px;
}

  .locations-map{
    justify-content: flex-start;
  }

  .us-map{
    width: 100%;
    
  }

  .locations-slider .swiper-slide img{
    aspect-ratio: 1;
    max-height: 500px;
   
  }
}

/* Add this to contact.css (or wherever this section lives) */
.locations-slider{ min-width: 0; }
.locations-swiper{ width: 100%; }
.locations-slide{
  border-radius: 20px;
  overflow: hidden;
  justify-content:center;
   
}
.locations-slide img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position:center;
}
@media (max-width: 980px){
  .locations-slide img{ aspect-ratio: 1;}
.locations-swiper { width: 50%; }

.map-pin{
  width:30px;
}
.map-tooltip{
  font-size:16px;
}

}
