/* =============================================================================
MODALS 
================================================================================ */

.cta-modal {
  display: none;
  position: fixed;
  z-index: 9000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.cta-modal-content {
  background: #fff;
  padding: 2rem;
  margin: var(--space-4);
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
}

.cta-modal-title {
  font-family: "Merriweather", serif;
  font-size: calc(1.5rem + 0.75vw);

  text-transform: none;
  color: var(--font-color-alt);
  margin: 0;
  padding: 0 0 var(--space-2);
}

.cta-modal-content p {
  color: rgba(49, 54, 63);
}

.cta-close-btn {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.cta-button {
  display: inline-block;
  margin-top: var(--space-4);
  padding: 0.75rem 1.5rem;
  background: rgb(252, 245, 150);
  color: black;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  border: 1px solid rgba(34, 40, 49, 0.8);
  transition: background 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
  background: rgb(34, 40, 49);
  color: white;
}

input#emailInput {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 1);
  backdrop-filter: blur(3px);
}

input#emailInput:focus {
  background-color: white;
  box-shadow: 0px 0px 20px -3px rgba(252, 245, 150, 0.75);
  -webkit-box-shadow: 0px 0px 20px -3px rgba(252, 245, 150, 0.75);
  -moz-box-shadow: 0px 0px 20px -3px rgba(252, 245, 150, 0.75);
}

/* =============================================================================
SECTIONS 
================================================================================ */

h2.hr-title {
  position: relative;
  width: fit-content;
  margin: -61px auto var(--space-10);
  border: 2px solid var(--website-color-3);
  text-align: center;
  color: var(--website-color-3);
  background-color: var(--website-color-2);
  padding: var(--space-8) var(--space-12);
  border-radius: var(--border-radius-50);
  z-index: 3 !important;
  box-shadow: 0px -31px 14px -31px rgba(0, 0, 0, 1);
  -webkit-box-shadow: 0px -31px 14px -31px rgba(0, 0, 0, 1);
  -moz-box-shadow: 0px -31px 14px -31px rgba(0, 0, 0, 1);
}

h2.hr-title-call-to-action {
  position: relative;
  width: fit-content;
  margin: -61px auto var(--space-10);
  border: 2px solid var(--website-color-3);
  text-align: center;
  color: var(--website-color-4);
  background-color: var(--website-color-2);
  padding: var(--space-8) var(--space-12);
  border-radius: var(--border-radius-50);
  z-index: 3 !important;
}

.hr-title-sub {
  position: relative;
  /* letter-spacing: 7px; */
  width: fit-content;
  margin: -5.4rem 0 4rem 1rem;
  text-align: left;
  line-height: 2.2rem;
  color: var(--website-color-1);
  background-color: var(--color-white);
  padding: var(--space-1) var(--space-4);
  z-index: 3;
}

.hr-title-sub-bg {
  background-color: var(--website-color-3);
  background: linear-gradient(135deg,
      #fff45f,
      #feb47b);
  /* Angled gradient from one color to another */
  border-radius: var(--border-radius-small);
  border: 1px solid var(--website-color-1);
  padding: var(--space-2) var(--space-4);
}

h3,
h4 {
  color: var(--font-color-alt);
  padding: 0 !important;
  margin: 0;
}

hr {
  border: 1px solid var(--website-color-2);
  margin: var(--space-12) 0 var(--space-6);
}

#section-1 section {
  max-width: var(--layout-w-1440);
}

#section-1 {
  position: relative;
  background-color: rgba(34, 40, 49);
  /* background-image: url(../images/site_imgs/splash/default.svg); */
  background-image: url(../images/site_imgs/hero/people-panaramic-1.png);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: repeat;
  overflow: hidden;
  z-index: 1;
  padding: var(--space-12) 0 var(--space-6);
}

#section-1 .image-1 {
  position: relative;
  margin: 0;
  right: -100px;
  display: inline-block;
  animation: floatingLightbulb 4s ease-in-out infinite;
  filter: drop-shadow(0 0 7px rgba(254, 255, 174, 0.2));
}

#section-1 .image-1 img {
  width: 100%;
  max-width: 767px;
  height: 100%;
  opacity: 1;
}


@keyframes floatingLightbulb {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0);
  }
}



#section-1 .flexbox-row {
  height: 88vh;
  position: relative;
  align-items: center;
  z-index: 1;
  padding: 0 var(--space-4);
}

#section-1 .flexbox-col {
  gap: var(--space-2);
}



#section-1 h1 {
  display: block;
  width: auto;
  color: var(--website-color-3) !important;
}

#section-1 h2 {
  width: 100%;
  font-size: calc(1.225rem + 0.5vw);
  position: relative;
  color: var(--color-white) !important;
  word-wrap: break-word;
}

#section-1 .typed-out {
  overflow: hidden;
  border-right: 0.15em solid var(--website-color-4);
  white-space: nowrap;
  display: inline-block;
  animation: typing 3s steps(20, end) forwards, blinking 0.8s infinite;
  width: auto;
  max-width: fit-content !important;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes erase {
  from {
    width: 100%;
  }

  to {
    width: 0;
  }
}

@keyframes blinking {
  50% {
    border-color: transparent;
  }
}

#section-1 .flexbox-row li.form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: var(--space-2);
}

#section-1 .flexbox-row li.form input {
  width: 100%;
  padding: var(--space-6);
}

#section-1 .flexbox-row .btn {
  width: 100%;
  background-color: var(--website-color-1);
  border: 1px solid var(--website-color-3);
  border-radius: var(--border-radius-medium);
  padding: var(--space-4);
}

#section-1 .flexbox-row .btn:hover,
#section-1 .flexbox-row .btn:focus {
  width: 100%;
  color: var(--website-color-1);
  background-color: var(--website-color-3);
  border: 1px solid var(--website-color-1);
}

#section-1 sub {
  color: var(--website-color-4);
}





#section-about section,
#section-2 section {
  max-width: var(--layout-w-1440);
}

#section-about {
  position: relative;
  background-color: rgba(34, 40, 49);
  /* background-image: url(../images/site_imgs/splash/default.svg); */
  background-image: url(../images/site_imgs/hero/people-panaramic-1.png);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: repeat;
  z-index: 1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

/* About Us Button */
#openAbout {
  width: fit-content;
  font-size: calc(1.225rem + 0.5vw);
  color: var(--font-color);
  border: 2px solid var(--website-color-3);
  border-radius: var(--border-radius-large);
  padding: var(--space-4) var(--space-6);
  margin: 0 auto var(--space-6);
  box-shadow: -1px 21px 11px -16px rgba(0, 0, 0, 0.0);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
}

/* visible on scroll */
#openAbout.visible {
  opacity: 1;
  transform: translateY(0);
}


/* About content */
.about-content {
  display: flex;
  justify-content: flex-start;
  padding: 0 var(--space-4);
  margin: 0 auto var(--space-12);
}

.about-articles {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-articles article p {
  color: var(--font-color);
  max-width: 720px;
  font-size: calc(0.67rem + 0.15vw);
  padding: var(--space-6);
  margin-top: 10px;
}

.article-1 p {
  margin-left: var(--space-12);
}

.article-2 p,
.article-3 p {
  margin-left: var(--space-6);
}

.article-4 p {
  margin-left: var(--space-12);
  font-weight: 600;
  color: var(--website-color-3);
}

.about-articles strong {
  color: var(--website-color-3);
  font-size: calc(1rem + 0.25vw);
  border: 3px solid #2A3340;
  border-radius: 50%;
  padding: 5px;
}



#section-2 {
  position: relative;
  background-color: rgb(255, 255, 255);
  /* background-color: rgb(238, 238, 238); */
  /* background-image: url(../images/site_imgs/section-2/bg.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover; */
  width: 100%;
  max-width: 100%;
  border-top: 1px solid var(--website-color-3);
  padding: var(--space-12) var(--space-4);
  box-shadow: 1px -15px 13px -15px rgba(0, 0, 0, 0.75) inset;
  z-index: 100;
}

#section-2 a.mascot-sm {
  text-align: right;
  width: auto;
  height: 250px;
  position: absolute;
  right: 20px;
  bottom: 0;
  z-index: 400;
  margin-bottom: var(--space-2);
}

#section-2 .mascot-sm img {
  width: auto;
  height: 100%;
}

#section-2 h2 {
  text-align: center;
  color: var(--font-color-alt);
}

#section-2 p {
  text-align: center;
  color: var(--website-color-1);
}

#section-2 article p {
  color: var(--font-color);
}

#section-2 h4 {
  text-transform: none;
  text-align: center;
  color: var(--website-color-1);
}

#section-2 article {
  background-color: rgba(255, 255, 255, 0);
  /* border-radius: var(--border-radius-medium); */
  /* padding: var(--space-8) var(--space-8) var(--space-6); */
  margin-bottom: var(--space-8);
}

#section-2 .flexbox-row {
  gap: var(--space-8);
  text-align: center;
}

#section-2 .flexbox-row .btn {
  width: 100%;
  background-color: var(--website-color-1);
  border: 1px solid var(--website-color-1);
  border-radius: var(--border-radius-medium);
  padding: var(--space-4);
}

#section-2 .flexbox-row .btn:hover,
#section-2 .flexbox-row .btn:focus {
  width: 100%;
  color: var(--website-color-1);
  background-color: var(--website-color-3);
  border: 1px solid var(--website-color-1);
}

.carousel-container {
  position: relative;
  width: 100%;
}

.carousel {
  margin: auto;
  max-width: 1440px;
  overflow-x: scroll;
  white-space: nowrap;
  background-color: rgba(255, 255, 255, 0);
  display: flex;
  -ms-overflow-style: none;
  scrollbar-width: none;
}


.image-track {
  display: flex;
  gap: var(--space-4);
  padding: 2rem 0;
}

.image-track::-webkit-scrollbar {
  display: none;
}

.image-track a {
  height: 280px;
  flex-shrink: 0;
  border-radius: var(--border-radius-medium);
}

.image-track a.grow-btn img {
  height: 100%;
  flex-shrink: 0;
  border-radius: var(--border-radius-medium);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-track a.grow-btn:hover img {
  transform: scale(1.05);
  box-shadow: 0 22px 18px -15px rgba(0, 0, 0, 0.75);
}

/* Nav buttons */
.nav-btn {
  height: auto;
  padding: 20px var(--space-6);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background-color: rgba(255, 255, 255, 1);
  margin: auto -20px;
  border-radius: var(--border-radius-medium);
  border: none;
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  transition: opacity 0.3s ease 0.6s;
  /* delay applies when fading OUT */
}

.carousel-container:hover .nav-btn {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
  /* no delay on fade IN */
}

/* .image-track a.grow-btn img:hover .nav-btn {
  opacity: 1;
  pointer-events:visible;
} */

.nav-btn.left {
  left: 10px;
}

.nav-btn.right {
  right: 10px;
}



#section-call-to-action section {
  max-width: var(--layout-w-960);
}

#section-call-to-action {
  background-color: rgba(34, 40, 49);
  background-image: url(../images/site_imgs/splash/default.svg);
  background-attachment: fixed;
  background-size: cover;
  width: 100%;
  max-width: 100%;
  border-top: 1px solid var(--website-color-3);
  padding: 0 var(--space-4) var(--space-12);
  /* box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.8);
  -webkit-box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.8); */
}

#section-call-to-action h2 {
  text-align: center;
  color: var(--website-color-3);
  padding-bottom: var(--space-6);
}

#section-call-to-action p {
  text-align: center;
  color: var(--website-color-3);
}

#section-call-to-action article p {
  color: var(--font-color);
}

#section-call-to-action h4 {
  text-transform: none;
  text-align: center;
  color: var(--website-color-1);
}

#section-call-to-action article {
  background-color: rgb(238, 238, 238);
  padding: var(--space-8);
  border-radius: var(--border-radius-medium);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

#section-call-to-action .flexbox-row {
  gap: var(--space-8);
  text-align: center;
}

#section-call-to-action .flexbox-row li {
  width: 100%;
  max-width: 50%;
}

#section-call-to-action .flexbox-row li img {
  width: 100%;
  max-width: 100%;

  background-color: transparent;
  background-repeat: no-repeat;
  background-position: cover;
  border: 1px solid var(--website-color-2);
  border-radius: var(--border-radius-large);
}

#section-call-to-action .flexbox-row li.form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: var(--space-2);
}

#section-call-to-action .flexbox-row li.form input {
  width: 100%;
  padding: var(--space-4);
}

#section-call-to-action #lightbulb-icon {
  background-image: url(../images/site_imgs/icons/lightbulb-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 5rem;
  height: 7rem;
  background-color: transparent;
}

#section-call-to-action .flexbox-row .btn {
  width: 100%;
  background-color: var(--website-color-1);
  border: 1px solid var(--website-color-1);
  border-radius: var(--border-radius-medium);
  padding: var(--space-4);
}

#section-call-to-action .flexbox-row .btn:hover,
#section-call-to-action .flexbox-row .btn:focus {
  width: 100%;
  color: var(--website-color-1);
  background-color: var(--website-color-3);
  border: 1px solid var(--website-color-1);
}

/* =============================================================================
MEDIA RESPONSIVE 
================================================================================ */

@media (max-width: 48rem) {
  /* 768px */

  hr {
    border: none;
  }



  #section-call-to-action a,
  #section-call-to-action button {
    text-align: center;
  }


  h1 {
    font-size: calc(1.5rem + 0.75vw) !important;
  }

  h2 {
    font-size: calc(1rem + 0.25vw) !important;
  }

  h2.hr-title,
  h2.hr-title-call-to-action {
    padding: var(--space-4) var(--space-6);
    border-radius: var(--border-radius-large);
  }

  h2.hr-title {
    position: relative;
    margin: -7.5rem auto 1rem;
  }

  h2.hr-title-call-to-action {
    position: relative;
    margin: -3rem auto 3rem;
  }

  h2.hr-title-sub {
    margin: -2rem auto 0;
  }

  h3 {
    font-size: calc(0.825rem + 0.2vw);
  }

  .hr-title-sub {
    position: relative;
    /* letter-spacing: 7px; */
    width: fit-content;
    margin: -4.3rem 0 0 0;
  }

  #section-1 {
    background-image: url(../images/site_imgs/hero/people-panaramic-1.png);
    padding: 200px var(--space-4) var(--space-12);
    z-index: 1;
  }

  #section-1 .image-1 {
    right: -50px;
  }

  #section-1 h1 {
    width: 100%;
    font-size: calc(1.5rem + 0.75vw);
    word-wrap: break-word;
  }

  #section-1 .typed-out {
    font-size: calc(1.5rem + 0.75vw);
    overflow: hidden;
    white-space: nowrap;
    width: auto;
    max-width: fit-content !important;
  }

  #section-1 .flexbox-row {
    flex-direction: column-reverse;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 0;
  }

  #section-1 .flexbox-col {
    width: 100%;
    padding: 0;
  }

  #section-1 .flexbox-row .btn {
    border-radius: var(--border-radius-small);
    padding: var(--space-4) var(--space-6);
  }

  .about-articles article p {
    margin-left: 0;
    text-align: center;
  }

  #section-2 {
    padding: var(--space-12) var(--space-4) var(--space-8);
  }

  #section-2 article {
    border-radius: var(--border-radius-small);
    padding: 0;
  }

  #section-2 a.mascot-sm {
    height: 120px;
    right: 0px;
    margin-bottom: var(--space-4);
  }

  .nav-btn {
    display: none;
  }

  .image-track a {
    height: 220px;
  }



  #section-call-to-action {
    padding: 0 var(--space-8) var(--space-12);
  }

  #section-call-to-action img {
    width: 100%;
    max-width: 100%;
    height: 100%;
  }

  #section-call-to-action #lightbulb::before {
    background-image: url("/images/site_imgs/section-1/think-hero-animate/1.svg");
    background-size: 45%;
    background-position: center 0;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
  }

  #section-call-to-action .flexbox-row {
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
  }


  #section-call-to-action .flexbox-row .btn {
    width: 100%;
    padding: var(--space-4);
  }

  #section-call-to-action h1 {
    font-size: calc(1.125rem + 0.5vw);
  }



  #section-call-to-action .flexbox-row {
    flex-direction: column;
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  #section-call-to-action article {
    padding: var(--space-8);
  }

  #section-call-to-action .flexbox-row li {
    max-width: 100%;
  }


}