/* Custom Variables */
:root {
  --deep-navy: #0F0AAB;
  --deep-navy-04: rgba(15,10,171,.04);
  --deep-navy-hover: #1A00B2;
  --vivid-cyan: #48F5C3;
  --vivid-cyan-hover: #87F8D7;
  --vivid-cyan-active: #3DD2A7;
  --vivid-cyan-95: rgba(72,245,195,.95);
  --vivid-red: #E80C0C;
  --black-9: rgba(0,0,0,.9);
  --white-75: rgba(255,255,255,.75);
  --white-4: rgba(255,255,255,.4);
  --black-5: rgba(0,0,0,.5);
}

/* Base Styles */
body {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: black;
}

h1, h3, h4 {
  font-family: 'Fira Mono', monospace;
  font-weight: 400;
}

h1 {
  font-size: 2.375em;
  line-height: 1.38em;
}

h2 {
  font-size: 1.5em;
  line-height: 1.75em;
}

h3 {
  font-size: 2em;
  line-height: 1.6875em;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

h4 {
  font-size: 1.375em;
}

h6 {
  font-size: 0.875em;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 15px;
}

p {
  line-height: 1.75em;
}

img {
  width: 100%;
}

/* Color Classes */
.deep-navy-bg {
  background-color: var(--deep-navy);
  color: white;
}

.deep-navy-bg-04 {
  background-color: var(--deep-navy-04);
}

.vivid-cyan-bg {
  background-color: var(--vivid-cyan);
}

.deep-navy-txt {
  color: var(--deep-navy);
}

.vivid-cyan-txt {
  color: var(--vivid-cyan);
}

/* Content Container */
.content-container {
  max-width: 93%;
}

/* Navigation */
.navbar.navbar-light {
  min-height: 90px;
  margin-bottom: 80px;
}

.navbar-brand img {
  height: auto;
  max-width: 220px;
}

.navbar-toggler {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-right: -8px;
  padding: 0;
  margin-top: 5px;
  width: 40px;
  height: 32px;
  background: transparent url('../images/toggle-button.svg') no-repeat center center / 27px auto;
}

.navbar-toggler.opened {
  background: transparent url('../images/x-button.svg') no-repeat center center / 24px auto;
}

.navbar-nav .nav-item a.nav-link {
  font-family: 'Fira Mono', monospace;
  padding: 0.5em 1.4rem;
  color: black;
}

.navbar-nav .nav-item a.nav-link:hover,
.navbar-nav .nav-item a.nav-link:focus,
.navbar-nav .nav-item a.nav-link:active {
  color: var(--black-5);
}

.navbar-nav .nav-item:last-child a.nav-link {
  padding-right: 0;
}

/* Header */
header {
  padding-top: 0;
  padding-bottom: 60px;
}

header h1 {
  margin-bottom: 25px;
}

header h2 {
  margin-bottom: 40px;
}

header h3 {
  margin-top: 75px;
  margin-bottom: 18px;
}

header img {
  max-width: 562px;
}

/* Three Columns Section */
.three-cols h4 {
  margin-top: 15px;
}

.three-cols p {
  max-width: 360px;
  margin-top: 13px;
}

.si-images {
  width: 88px;
  height: 111px;
  background: transparent url('../images/SI-icons.png') no-repeat 0 15px / 88px auto;
  margin-top: 15px;
}

.si-images.insights {
  background-position: 0 -120px;
}

.si-images.monitor {
  background-position: 0 -243px;
}

/* Platform Section */
#platform img.large-img {
  margin-top: 50px;
  max-width: 1196px;
}

#platform img.small-img-1 {
  margin-top: 60px;
  max-width: 176px;
  margin-bottom: 45px;
}

#platform img.small-img-2 {
  margin-top: 35px;
  max-width: 658px;
}

#platform h3 {
  margin-bottom: 25px;
}

.deep-navy-bg .content-container {
  padding-bottom: 105px;
  padding-top: 85px;
}

.deep-navy-bg p {
  font-weight: 300;
}

.vivid-cyan-bg .content-container {
  padding-top: 70px;
  padding-bottom: 80px;
}

.vivid-cyan-bg h3 {
  max-width: 950px;
  margin-bottom: 40px;
}

/* About Section */
#about .content-container {
  padding-top: 75px;
  padding-bottom: 85px;
}

#about .about-us {
  max-width: 620px;
  margin-bottom: 120px;
}

#about .about-us h3 {
  margin-bottom: 15px;
}

#about img {
  max-width: 719px;
}

#about .deep-navy-bg {
  margin: -60px -190px 0 10%;
  padding: 40px 55px;
  z-index: 1;
  max-height: 300px;
  max-width: 464px;
}

#about .publications {
  max-width: 620px;
  margin-top: 95px;
}

#about .publications .publication {
  width: 224px;
  margin-top: 40px;
}

#about .publications .publication h4 {
  font-size: 1.5em;
  line-height: 1.375em;
  margin-top: 20px;
}

#about .publications .publication a {
  color: black;
  text-decoration: none;
}

#about .publications .publication a:hover {
  color: var(--deep-navy-hover);
}

/* Carousel */
.deep-navy-bg-04 .content-container {
  padding-top: 90px;
  padding-bottom: 105px;
}

.carousel {
  max-width: 900px;
  margin: 0 auto;
}

.carousel-item {
  padding: 0 40px;
  min-height: 330px;
}

.carousel-item-inner {
  max-width: 735px;
}

.carousel-item .deep-navy-txt p {
  font-size: 1.75em;
  line-height: 1.5em;
  margin-bottom: 10px;
}

.carousel-item .deep-navy-txt p:last-child {
  font-size: 1.125em;
  line-height: 1.75em;
  font-weight: 800;
}

.carousel-indicators {
  bottom: -40px;
}

.carousel-indicators li {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--deep-navy);
  border: none;
  opacity: 0.3;
}

.carousel-indicators .active {
  opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
}

/* Buttons */
.si-btn {
  border-radius: 0;
  border-width: 3px;
  height: 60px;
  min-width: 206px;
  padding-top: 0;
  font-weight: 800;
  font-size: 1.2em;
  line-height: 54px;
}

.vivid-cyan-btn {
  color: black;
  border-color: black;
  background: var(--vivid-cyan);
}

.vivid-cyan-btn:focus,
.vivid-cyan-btn:not(:disabled):not(.disabled):active,
.vivid-cyan-btn:not(:disabled):not(.disabled):active:focus {
  color: black;
  border-color: black;
  background: var(--vivid-cyan-active);
  box-shadow: none;
}

.vivid-cyan-btn:hover {
  background: var(--vivid-cyan-hover);
  color: var(--black-9);
  border-color: var(--black-9);
}

.white-btn {
  color: var(--deep-navy-hover);
  background: white;
  border-color: var(--deep-navy-hover);
}

.white-btn:focus,
.white-btn:not(:disabled):not(.disabled):active,
.white-btn:not(:disabled):not(.disabled):active:focus {
  color: var(--deep-navy-hover);
  background-color: var(--white-4);
  border-color: var(--deep-navy-hover);
  box-shadow: none;
}

.white-btn:hover {
  background-color: var(--white-75);
  color: var(--deep-navy-hover);
  border-color: var(--deep-navy-hover);
}

/* Forms */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: black;
  transition: background-color 5000s ease-in-out 0s;
  -webkit-box-shadow: 0 0 0px 1000px white inset;
  background-color: transparent;
}

button:focus {
  outline: none;
}

form {
  max-width: 570px;
  margin-top: 20px;
}

form .form-control {
  border: none;
  border-radius: 0;
  color: black;
  min-height: 70px;
  font-family: 'Fira Mono', monospace;
  font-size: 1em;
  margin-bottom: 30px;
  padding: 20px 17px;
  background-color: white !important;
}

form .form-control:focus {
  color: black;
  box-shadow: none;
}

form textarea.form-control {
  height: 280px;
  resize: none;
  padding-bottom: 30px;
}

form .white-btn {
  margin-top: 25px;
}

/* Footer */
footer {
  padding: 60px 0 50px;
  font-size: 0.875em;
}

/* Responsive Styles */
@media (max-width: 1199px) {
  .content-container {
    max-width: 1210px;
  }
}

@media (max-width: 991px) {
  h1 {
    font-size: 2em;
    line-height: 1.35em;
  }
  h2 {
    font-size: 1.25em;
    line-height: 1.67em;
  }
  h3 {
    font-size: 1.5em;
  }
  h4 {
    font-size: 1.25em;
  }
  #about .deep-navy-bg {
    margin: -60px -24% 0 5%;
    padding: 25px 35px;
    max-height: 270px;
  }
}

@media (max-width: 767px) {
  .navbar.navbar-light {
    min-height: 0;
    margin-bottom: 40px;
  }
  .navbar-brand img {
    max-width: 150px;
  }
  .navbar-collapse.collapsing,
  .navbar-collapse.collapse.show {
    position: absolute;
    background: var(--vivid-cyan-95);
    top: 55px;
    width: 100%;
    z-index: 1;
    height: 100vh;
    padding-top: 30px;
  }
  .navbar-collapse .navbar-nav .nav-item a.nav-link {
    color: var(--deep-navy-hover);
    font-size: 1.5em;
    padding: 0.75em 2em 0.75em calc(50% - 60px);
  }
  .navbar-collapse .navbar-nav .nav-item a.nav-link:hover,
  .navbar-collapse .navbar-nav .nav-item a.nav-link:focus,
  .navbar-collapse .navbar-nav .nav-item a.nav-link:active {
    background: var(--white-4);
  }
  header {
    padding-bottom: 55px;
  }
  header h2 {
    margin-bottom: 30px;
  }
  header h3 {
    margin-top: 55px;
    margin-bottom: 13px;
  }
  header img {
    max-width: 400px;
    margin: 35px auto 0;
  }
  h1 {
    font-size: 1.5em;
  }
  h2 {
    font-size: 1.125em;
  }
  h3 {
    font-size: 1.25em;
    line-height: 1.5em;
  }
  h4 {
    font-size: 1em;
  }
  .content-container {
    max-width: unset;
  }
  .deep-navy-bg .content-container {
    padding-top: 70px;
    padding-bottom: 65px;
  }
  .vivid-cyan-bg .content-container {
    padding-top: 45px;
    padding-bottom: 55px;
  }
  #about .content-container {
    padding-top: 40px;
    padding-bottom: 45px;
  }
  #about .about-us {
    margin-bottom: 25px;
  }
  #about .deep-navy-bg {
    margin: 0 auto;
    padding: 35px 55px 25px;
    max-width: 719px;
    max-height: unset;
  }
  #about .publications {
    margin-top: 50px;
    max-width: 570px;
  }
  .si-btn {
    font-size: 1.125em;
    min-width: 172px;
    height: 50px;
    line-height: 44px;
  }
}

@media (max-width: 575px) {
  header img {
    max-width: 288px;
  }
  #about .deep-navy-bg {
    padding: 30px 15px 20px;
  }
  #about .publications .publication {
    width: 146px;
  }
  #about .publications .publication h4 {
    font-size: 1.25em;
  }
}
