/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #1e1e1e;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
  Cirrus custom styles
========================================================================== */

/* ------------------------------------------------------ */
/* Variables */
:root {
	--base-text-color: #1e1e1e;
	--primary-color: #194478;
	--secondary-color: #31C4F3;
	--base-bg-color: #fff;
	--alt-bg-color: #f1f1f1;
}
/*
.sample {
	color: var(--base-text-color);
}
*/

/* ------------------------------------------------------ */
/* General */
body { font: 18px/1.4 'DM Sans', sans-serif; color: var(--base-text-color); }

* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; text-transform: none; margin-top: 0; line-height: 1.1; }
h1 { font-size: 62px; color: var(--primary-color); font-weight: bold; }
h2 { font-size: 50px; color: var(--primary-color); }
h3 { font-size: 24px; color: var(--primary-color); }
h4 { font-size: 24px; }
h6 { font-weight: normal; }

p { margin: 0 0 22px; }

a { color: var(--primary-color); transition: color .3s; }
.btn { display: inline-block; padding: 20px 40px; background-color: var(--secondary-color); color: var(--base-text-color); font: bold 18px/1.0 'Inter', sans-serif; text-decoration: none; border-radius: 8px; transition: .3s all; border: 0; cursor: pointer; }
.btn:hover { background-color: var(--primary-color); color: #fff; }

.bin { max-width: 1340px; width: 100%; padding: 0 30px; margin: 0 auto; }
.bg-alt { background-color: var(--alt-bg-color); }

@media (max-width: 1200px) {
	h1 { font-size: 42px; line-height: 1.0; }
	h2 { font-size: 40px; line-height: 1.0; }
}
@media (max-width: 1023px) {
	body { font-size: 16px; }
	h1 { font-size: 48px; }
	h2 { font-size: 36px; }
}
@media (max-width: 767px) {
	body { font-size: 16px; }
	h1 { font-size: 34px; }
	h2 { font-size: 28px; }

	.bin { padding-left: 20px; padding-right: 20px; }
	.btn { padding: 15px 30px; font-size: 16px; }
}


/* ------------------------------------------------------ */
/* Smooth Scrolling */
html { scroll-behavior: smooth; }
#services, #about, #contact, #jobs { scroll-margin-top: 120px; }


/* ------------------------------------------------------ */
/* Header */
body { padding-top: 130px; }
header.main { height: 130px; background-color: #fff; position: fixed; top: 0; left: 0; width: 100%; z-index: 10; padding-top: 40px; }
header.main .bin { display: flex; }

header.main .logo { width: 237px; height: auto;}

header.main nav { margin-left: auto; justify-content: flex-end; display: flex; align-items: center; }
header.main nav ul { margin: 0; padding: 0; list-style: none; }
header.main nav ul li { margin: 0 20px; padding: 0; display: inline-block; }
header.main nav ul li:last-child { margin-right: 0; }
header.main nav ul li a { font: 600 18px/1.0 'Inter', sans-serif; text-decoration: none; transition: .3s all; }

header.main nav ul li a span { color: var(--base-text-color); display: inline; padding-bottom: 6px; transition: all .3s ease-in-out; background-image: linear-gradient(to right,#9EDCF8,#9EDCF8); background-repeat: no-repeat; background-size: 0 3px; background-position: 0 100%; }
header.main nav ul li a:focus span,
header.main nav ul li a:hover span { background-size: 100% 3px; background-position: 0 100%; } 

@media (max-width: 1023px) {
	body { padding-top: 100px; }
	header.main { height: 100px; padding-top: 24px; }
	header.main .logo { width: 220px; }
}
@media (max-width: 767px) {
	body { padding-top: 60px; }
	header.main { height: 60px; padding-top: 18px; }
	header.main .logo { width: 140px; }
	header.main nav ul li { margin: 0 8px; }
	header.main nav ul li a { font-size: 16px; }
}
@media (max-width: 420px) {
	header.main .logo { width: 100px; }
	header.main nav ul li { margin: 0 3px; }
	header.main nav ul li a { font-size: 12px; }
	header.main nav ul li a span { background-size: 0 2px; }
	header.main nav ul li a:focus span,
	header.main nav ul li a:hover span { background-size: 100% 2px; } 
}


/* ------------------------------------------------------ */
/* Hero */
.hero { padding: 10px 0 120px; }
.hero .bin { display: flex; }

.hero .hero--content { max-width: 620px; min-width: 360px; padding-top: 120px; padding-right: 20px; }
.hero .hero--content h1 { margin: 0 0 30px; }
.hero .hero--content p:last-child { margin-top: 40px; }

.hero .hero--photos > div { width: 660px; max-width: 100%; margin-left: auto; justify-content: flex-end; position: relative; }

.hero .hero--photos .decorative-1 { width: auto; height: 180px; position: absolute; left: 45%; top: 76%; z-index: 3; }
.hero .hero--photos .decorative-2 { width: auto; height: 228px; position: absolute; right: -10px; top: 15%; z-index: 3; }

@media (max-width: 1200px) {
	.hero .hero--content { padding-top: 80px; }

	.hero .hero--photos > div { transform: scale(0.8); position: relative; width: 100%; }
	.hero .hero--photos > div .decorative-1,
	.hero .hero--photos > div .decorative-2 { transform: scale(0.8); }
}

@media (max-width: 767px) {
	.hero { padding-bottom: 60px; }
	.hero .bin { display: block; }
	.hero .hero--content { padding-top: 40px; padding-right: 0; min-width: auto; }
	.hero .hero--photos > div .decorative-1,
	.hero .hero--photos > div .decorative-2 { transform: scale(0.5); }
}


/* ------------------------------------------------------ */
/* Section */

section { padding: 120px 0; }
h4.section-heading { font: 600 18px/1.0 'Inter', sans-serif; text-align: center; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary-color); margin: 0 0 60px; }

.service--content-wrap { display: flex; }
.service--content-wrap .service--we-do { width: 530px; padding-right: 20px; }
.service--content-wrap .service--we-do .service--photo { margin-bottom: 60px; position: relative; }
.service--content-wrap .service--we-do .service--photo .decorative-1 { position: absolute; top: -6%; left: 0; }
.service--content-wrap .service--we-do .service--photo .decorative-2 { position: absolute; bottom: -6%; right: 3%; }
.service--content-wrap .service--we-do .service--photo h3 { margin-bottom: 20px; }
.service--content-wrap .service--we-do ul { margin: 0; padding: 0; list-style: none; }
.service--content-wrap .service--we-do ul li { margin: 0; padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.service--content-wrap .service--we-do ul li:last-child { border-bottom: 0; }
.service--content-wrap .service--overview { order: 1; width: 530px; margin-left: auto; padding-left: 20px; }
.service--content-wrap .service--overview > div { position: sticky; top: 160px; }

@media (max-width: 1023px) {
	section { padding: 80px 0; }
	h4.section-heading { font-size: 16px; }
	.service--content-wrap .service--overview > div { top: 120px; }
}

@media (max-width: 767px) {
	section { padding: 60px 0; }
	h4.section-heading { font-size: 14px; margin-bottom: 40px; }
	.service--content-wrap .service--we-do .service--photo .decorative-1,
	.service--content-wrap .service--we-do .service--photo .decorative-2 { transform: scale(.7); }
	.service--content-wrap .service--we-do .service--photo .decorative-1 { top: -12%; left: 2%; }
	.service--content-wrap .service--we-do .service--photo .decorative-2 { bottom: -12%; }

	.service--content-wrap { display: block; }
	.service--content-wrap .service--we-do { width: 100%; order: 0; padding-left: 0; padding-right: 0; }
	.service--content-wrap .service--we-do .service--photo { margin-top: 60px; }
	.service--content-wrap .service--we-do ul li { padding: 14px 0; }

	.service--content-wrap .service--overview { width: 100%; order: 0; padding-left: 0; padding-right: 0; }
	.service--content-wrap .service--overview > div { position: static; top: auto; }
}


/* ------------------------------------------------------ */
/* About */

.section--about { background: #143A66 url('../images/bg-about-us.jpg'); background-size: cover; padding: 180px 0; color: #fff; text-align: center; position: relative; }
.section--about::after { background: url('../images/section-cover-wave-white-top.svg') no-repeat top center; background-size: 110% auto; content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 120px; }
.section--about::before { background: url('../images/section-cover-wave-white-bottom.svg') no-repeat bottom center; background-size: 110% auto; content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 120px; }
.section--about h4.section-heading { margin-bottom: 40px; }

.section--about .bin { max-width: 990px; }
.section--about .bin p { font-size: 26px; }

@media (max-width: 1023px) {
	.section--about { padding: 120px 0; }
	.section--about .bin p { font-size: 22px; }
}
@media (max-width: 767px) {
	.section--about { padding: 100px 0; }
	.section--about .bin p { font-size: 18px; }
}

/* ------------------------------------------------------ */
/* Job Accordion */
.section--jobs { padding: 120px 0; border-bottom: 1px solid rgba(0,0,0,.12); }
.section--jobs .bin-alt-wrap { padding: 30px 0 0; }
.accordion .accordion__section { border: 1px solid var(--secondary-color); border-radius: 20px; margin-bottom: 30px; transition: all .3s; background-color: #fff; }
.accordion .accordion__section:last-child { margin-bottom: 0; }
.accordion .accordion__section:hover,
.accordion .accordion__section.is-active { border-color: var(--primary-color); box-shadow: 0 8px 20px rgba(0,0,0,.09); }
.accordion .accordion__head .icon { display: inline-block; width: 30px; height: 30px; line-height: 30px; font-size: 16px; border: 1px solid var(--secondary-color); color: var(--secondary-color); border-radius: 99px; text-align: center; margin-right: 12px; transition: .3s all; position: absolute; top: 28px; left: 20px; }
.accordion .accordion__section:hover .icon,
.accordion .accordion__section.is-active .icon { border-color: var(--primary-color); color: var(--primary-color); }
.accordion .accordion__section.is-active .icon { border-color: var(--primary-color); color: #fff; background-color: var(--primary-color); transform: rotate(45deg); -webkit-transform: rotate(90deg); }
.accordion .accordion__head h3 { margin: 0; padding: 30px 30px 30px 64px; cursor: pointer; position: relative; }
.accordion .accordion__body { display: none; padding: 0 30px 30px 64px; }
.accordion .accordion__body .location { color: rgba(0,0,0,.7); }

@media (max-width: 767px) {
  .section--jobs { padding: 80px 0; }
  .accordion .accordion__section { border-radius: 16px; margin-bottom: 20px; }
  .accordion .accordion__head .icon { width: 24px; height: 24px; line-height: 24px; font-size: 14px; margin-right: 8px; top: 18px; left: 16px; }
  .accordion .accordion__head h3 { margin: 0; padding: 20px 20px 20px 50px; font-size: 18px; }
  .accordion .accordion__body { padding: 0 20px 20px 50px; }
}
/* ------------------------------------------------------ */
/* Contact */
.section--contact { padding: 120px 0; }
.section--contact .intro { max-width: 600px; }
.section--contact h4.section-heading { text-align: left; margin-bottom: 6px; }

.section--contact .forms-wrap { display: flex; }
.section--contact .forms-wrap .forms { width: 620px; }
.section--contact .forms-wrap .profile { width: 510px; margin-left: auto; }

.section--contact .profile > div { background-color: #F1F1F1; border-radius: 8px; display: flex; padding: 30px; position: sticky; top: 130px; }
.section--contact .profile > div img { width: 136px; height: 136px; margin-right: 30px; }
.section--contact .profile > div > div p { margin: 0; }
.section--contact .profile > div > div p.name { font-size: 20px; }
.section--contact .profile > div > div p.title { color: rgba(30,30,30,.6); font-weight: bold; font-size: 16px; }
.section--contact .profile > div > div ul { margin: 20px 0 0; padding: 0; list-style: none; font-size: 16px; }
.section--contact .profile > div > div ul li { margin: 0 0 8px; padding: 0; }
.section--contact .profile > div > div ul li .icon { display: inline-block; width: 26px; height: 26px; border: 2px solid var(--primary-color); border-radius: 99px; text-align: center; color: var(--primary-color); font-size: 12px; line-height: 24px; margin-right: 6px; }
.section--contact .profile > div > div ul li a { text-decoration: none; }

.section--contact .forms-wrap .forms { padding-right: 30px; }
.section--contact .forms-wrap .forms nav { margin: 30px 0 40px; }
.section--contact .forms-wrap .forms nav ul { margin: 0; padding: 0; list-style: none; }
.section--contact .forms-wrap .forms nav ul li { margin: 0 20px 0 0; padding: 0; display: inline-block; }
.section--contact .forms-wrap .forms nav ul li a { font: 700 20px/1.0 'Inter', sans-serif; color: var(--primary-color); text-decoration: none; }

.section--contact .forms-wrap .forms nav ul li a span { color: #5E7CA1; display: inline; padding-bottom: 6px; transition: all .3s ease-in-out; background-image: linear-gradient(to right,#9EDCF8,#9EDCF8); background-repeat: no-repeat; background-size: 0 3px; background-position: 0 100%; }
.section--contact .forms-wrap .forms nav ul li a:focus span,
.section--contact .forms-wrap .forms nav ul li a.active span,
.section--contact .forms-wrap .forms nav ul li a:hover span { background-size: 100% 3px; background-position: 0 100%; color: var(--primary-color); } 

/* Gravity Forms */
.gform_heading { display: none; }
.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
  border: 1px solid #aaa; border-radius: 4px; width: 100%;
}
.gform_wrapper.gravity-theme #field_submit input, .gform_wrapper.gravity-theme .gform_footer input { display: inline-block; padding: 20px 40px; background-color: var(--secondary-color); color: var(--base-text-color); font: bold 18px/1.0 'Inter', sans-serif; text-decoration: none; border-radius: 8px; transition: .3s all; cursor: pointer; border: 0; }
.gform_wrapper.gravity-theme #field_submit input:hover, .gform_wrapper.gravity-theme .gform_footer input:hover { background-color: var(--primary-color); color: #fff; }

@media (max-width: 1200px) {
	.section--contact .profile > div { padding: 20px; }
	.section--contact .profile > div img { width: 100px; height: 100px; margin-right: 30px; }
	.section--contact .profile > div > div p.name { font-size: 18px; }
	.section--contact .profile > div > div p.title { color: rgba(30,30,30,.6); font-weight: bold; font-size: 16px; }
	.section--contact .profile > div > div ul li { margin: 0 0 8px; padding: 0; }
	.section--contact .profile > div > div ul li a { text-decoration: none; }
}
@media (max-width: 1023px) {
	.section--contact .forms-wrap { display: block; }
	.section--contact .forms-wrap .forms { width: 100%; padding-right: 0; }
	.section--contact .forms-wrap .forms nav ul li a { font-size: 18px; }
	.section--contact .forms-wrap .profile { width: 100%; margin-left: auto; margin-top: 60px; position: static; }
	.section--contact .profile > div { padding: 16px; }
	.section--contact .profile > div img { margin-right: 16px; }
	.section--contact .profile > div > div ul li .icon { width: 24px; height: 24px; border: 1px solid var(--primary-color);line-height: 22px; margin-right: 2px; }
}
@media (max-width: 767px) {
  .section--contact { padding: 80px 0; }
	.gform_wrapper.gravity-theme #field_submit input, .gform_wrapper.gravity-theme .gform_footer input { padding: 15px 30px; font-size: 16px; }
	.section--contact .forms-wrap .profile ul li { font-size: 12px; }
	.section--contact .profile > div img { width: 70px; height: 70px; margin-right: 20px; }
}

/* ------------------------------------------------------ */
/* Footer */

.connect-bar { display: block; background-color: var(--alt-bg-color); padding: 36px 0; text-align: center; color: var(--secondary-color); text-decoration: none; transition: all .3s; }
.connect-bar:hover { background-color: var(--secondary-color); color: var(--base-text-color); }
.connect-bar span { display: inline-block; width: 40px; height: 40px; line-height: 40px; margin-left: 10px; text-align: center; color: #fff; border-radius: 99px; background-color: #0077B5; font-size: 20px; text-indent: 1px; }
.connect-bar p { margin: 0; padding: 0; font: 600 14px/1.0 'Inter', sans-serif; letter-spacing: 2px; text-transform: uppercase; }


footer.main { padding: 80px 0; font-size: 14px; text-align: center; }
footer.main p { margin-top: 30px; }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

