/* -------------------------------------
   Font Imports 222
------------------------------------- */
@font-face {
  font-family: 'NexaBold';
  src: url('fonts/nexa_boldregular.woff2') format('woff2'),
       url('fonts/nexa_boldregular.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'NexaLight';
  src: url('fonts/nexa_lightregular.woff2') format('woff2'),
       url('fonts/nexa_lightregular.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

/* -------------------------------------
 Base Styling
------------------------------------- */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
  font-family: 'NexaLight', sans-serif;
}

/* -------------------------------------
 HEADER (Original)
------------------------------------- */
.site-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: linear-gradient(
      to bottom, 
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,1) 40%,
      rgba(255,255,255,0.55) 100%
  );
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
  background-color: transparent !important;
  padding-top: 20px;
  padding-bottom: 20px;
}

.navbar-brand {
  margin-left: 2rem;
}

.navbar-brand img {
  max-width: 85%;
  height: auto;
}

.navbar-nav .nav-link:link,
.navbar-nav .nav-link:visited {
  font-family: 'NexaLight', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  color: #666 !important;
  text-transform: uppercase;
  line-height: 1.5;
  padding: 0;
  margin: 0;
  transition: color 0.3s, font-family 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #000 !important;
  font-family: 'NexaBold', sans-serif;
  text-decoration: none;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:active {
  color: #000 !important;
  font-family: 'NexaBold', sans-serif;
  font-weight: 700;
}

.nav-col ul {
  text-align: left;
}

.nav-col.border-end {
  border-right: 1px solid #000 !important;
}

.nav-columns .row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.nav-col.pe-3 {
  padding-right: 0.5rem;
}

.nav-col.ps-3 {
  padding-left: 0.5rem;
}

/* -------------------------------------
 SOCIAL ICONS
------------------------------------- */
.social-icon-wrapper {
  width: 35px;
  overflow: hidden;
}

.social-icon {
  width: 70px;
  display: block;
  transition: none;
}

.social-icon-link:hover .social-icon {
  transform: translateX(-50%);
}

/* -------------------------------------
 HERO SECTION
------------------------------------- */
.hero-section {
  margin-top: -100px;
  padding-top: 10px;
  min-height: 100vh;
  background: url('images/yellow-background.png') center center/cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #000;
}

.hero-title {
  position: relative;
  font-family: 'NexaBold', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px black;
  /* The hero text color is set dynamically via JS */
}

/*.hero-title::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  Always render the shadow text in black
  color: black;
  filter: blur(4px);
}*/

/* -------------------------------------
 CTA BUTTON
------------------------------------- */
.btn-cta {
  background-color: #ffcd00;
  border-radius: 9999px;
  border: none;
  color: #000;
  padding: 0.1rem 1rem;
  font-family: 'NexaBold', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .75);
}

.btn-cta:hover {
  background-color: #b39006;
  color: #fff;
  transition: background-color 0.3s ease;
}

/* -------------------------------------
 BODY 
------------------------------------- */
/* Bold the contact information on the contact page */
.contact-info {
  font-family: 'NexaBold', sans-serif;
  font-weight: 700;
}

@media (min-width: 992px) {
  .custom-col-left {
    flex: 0 0 37%;
    max-width: 37%;
  }
  .custom-col-middle {
    flex: 0 0 26%;
    max-width: 26%;
  }
  .custom-col-right {
    flex: 0 0 37%;
    max-width: 37%;
  }
}

/* -----------------------
  Fixed Width for Form Elements 
---------------------------*/
.custom-form-width,
.rounded-input {
  border-radius: 1rem;
  max-width: 300px;
}

.form-wrapper {
  max-width: 300px;
  margin: 0;
}

.button-container {
  text-align: right;
  margin-top: 10px;
}

#contactForm .btn-send {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #ced4da !important;
  border-radius: 50px !important;
  font-family: 'NexaBold', sans-serif !important;
  font-weight: 700 !important;
  padding: 0.1rem 3rem !important;
  transition: background-color 0.3s, color 0.3s;
}

#contactForm .btn-send:hover {
  background-color: #ffe894 !important;
  color: #000 !important;
  border: 1px solid #ced4da !important;
}

.drop-shadow {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* -------------------------------------
 FOOTER (Default)
------------------------------------- */
#main-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: url('images/yellow-footer-900x140.png') center center/cover no-repeat;
  padding: 0 !important;
  z-index: 5;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#main-footer .container {
  width: 100%;
  padding-top: 10px;
}

/* -------------------------------------
 SUBSCRIBE MODULE
------------------------------------- */
#signupForm {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 245px;
  margin-left: 2rem;
}

#signupForm label {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 0.05rem;
}

#signupForm input[type="email"] {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box;
  margin-bottom: 0.25rem;
  text-align: left;
}

#signupForm input[type="email"].half-width {
  width: 245px !important;
  max-width: 245px !important;
}

.form-control {
  line-height: 1 !important;
}

#signupForm button {
  align-self: flex-end;
}

/* -------------------------------------
 FORM & BUTTON STYLES
------------------------------------- */
.email-rounded {
  border-radius: 9999px !important;
}

.half-width {
  width: 50% !important;
  display: inline-block;
}

.btn-signup {
  --bs-btn-line-height: 0.8;
  border-radius: 9999px;
  background-color: transparent !important;
  color: #000;
  font-family: 'NexaBold', sans-serif;
  font-weight: 900;
  font-size: 0.75rem;
  border: 1px solid #000;
  transition: background-color 0.3s, color 0.3s;
  padding: 0.375rem 1rem;
}

.btn-signup:hover {
  background-color: rgba(0, 0, 0, 0.4) !important;
  color: #fff !important;
}

/* -------------------------------------
 FOOTER MARKETING
------------------------------------- */
.footer-marketing {
  font-family: 'NexaBold', sans-serif;
  font-weight: 700;
}

.footer-marketing-sub {
  font-family: 'NexaBold', sans-serif;
  font-weight: 700;
  font-size: 0.5em;
  margin-top: 1rem;
}

.form-label {
  font-family: 'NexaBold', sans-serif;
  font-weight: 700;
}

/* -------------------------------------
 FOOTER ADDITIONAL INFO (Default)
------------------------------------- */
#main-footer .footer-info p {
  font-family: 'NexaBold', sans-serif;
  font-weight: 700;
  font-size: 0.7em;
  padding-right: 2rem;
}

/* -------------------------------------
 Subscribe Heading Class
------------------------------------- */
.subscribe-heading {
  font-family: 'NexaBold', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

/* -------------------------------------
 mobile footer
------------------------------------- */
#mobile-footer {
  background: url('images/yellow-footer-150x140.png') center center/cover no-repeat;
}

.input-group-custom {
  position: relative;
  width: 75%;
  margin: 0 auto;
}

.input-group-custom .form-control {
  padding-right: 80px;
}

.input-group-custom .btn-signup {
  position: absolute;
  top: 0;
  right: 0;
  margin-right: -10px;
  height: 100%;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  z-index: 2;
  background-color: #ffda49 !important;
  border-color: #acabab;
}

.mobile-marketing-copy {
  font-family: 'NexaBold', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ------------------------------
   Fixed Footer & Body Padding for Desktop/Tablet
   (Applies when viewport is 768px or wider)
------------------------------- */
@media (min-width: 768px) {
  #main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: url('images/yellow-footer-900x140.png') center center/cover no-repeat;
    padding: 0 !important;
    z-index: 5;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  body {
    padding-bottom: 500px !important;
  }
  .sub-page main {
    padding-bottom: 200px !important;
  }
}

/* -------------------------------------
 MOBILE VIEW ADJUSTMENTS (max-width:767.98px)
------------------------------------- */
@media (max-width: 767.98px) {
  .navbar-toggler {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 20;
  }
  .nav-columns {
    display: none !important;
  }
  .navbar-brand {
    margin-left: 1rem;
  }
  .navbar-brand img {
    width: 265px !important;
    max-width: none !important;
  }
  .site-header .social-icons {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    display: flex;
    justify-content: center;
  }
  .site-header .container > .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  #mobileNav {
    position: absolute;
    top: 3.5rem;
    right: 1rem;
    left: auto;
    width: auto;
    text-align: right;
    background: linear-gradient(
      to bottom, 
      rgba(255,255,255,.5) 0%,
      rgba(255,255,255,.8) 20%,
      rgba(255,255,255,.9) 100%
    )!important;
    padding: .8rem;
    border-radius: 4px;
    z-index: 19;
  }
  #mobileNav .navbar-nav .nav-item {
    margin-bottom: 15px;
  }
  #mobileNav .navbar-nav .nav-item:last-child {
    margin-bottom: 0;
  }
  .form-wrapper {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
  }
  body {
    padding-bottom: 0 !important;
  }
  .sub-page main {
    padding-bottom: 0 !important;
  }

  .sub-page .center-logo {
    max-height: 250px !important;
    width: auto;
    object-fit: contain;
  }

   /* Adjust right column on sub-pages so the title and copy align with the form */
   .sub-page .custom-col-right {
    max-width: 400px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }

  .sub-page .button-container {
    text-align: right;
  }
  
  /* --- Mobile Footer Overrides for Sub-Pages --- */
  .sub-page #mobile-footer {
    background: url('images/urban-footer-220x140.png') center center/cover no-repeat !important;
  }
  .sub-page #mobile-footer,
  .sub-page #mobile-footer p,
  .sub-page #mobile-footer a,
  .sub-page #mobile-footer label {
    color: #fff !important;
  }
  .sub-page #mobile-footer .btn-signup {
    color: #fff !important;
    border-color: #fff !important;
    background-color: #0496ff !important;
  }
  .sub-page #mobile-footer .btn-signup:hover {
    background-color: rgba(64, 168, 237, 1) !important;
    color: #fff !important;
    border-color: #fff !important;
  }
}

/* -------------------------------------
 TABLET VIEW HEADER ADJUSTMENTS (min-width:768px and max-width:991.98px)
------------------------------------- */
@media (min-width:768px) and (max-width:991.98px) {
  .site-header .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 40px !important;
    padding-right: 10px !important;
  }
  .navbar-brand {
    margin-left: 0 !important;
  }
  .site-header .social-icons {
    float: right;
    margin-right: 10px !important;
    transform: none;
  }
  .form-wrapper {
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
  }
}

/* -------------------------------------
 TABLET VIEW FOOTER ADJUSTMENTS (min-width:768px and max-width:991.98px)
------------------------------------- */
@media (min-width:768px) and (max-width:991.98px) {
  .center-logo {
    max-width: 200px;
  }
  #main-footer > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 40px !important;
    padding-right: 10px !important;
  }
  #main-footer .container .row {
    flex-wrap: nowrap !important;
  }
  #main-footer .footer-center,
  #main-footer .footer-signup,
  #main-footer .footer-info {
    width: auto !important;
    flex-basis: auto !important;
  }
  #main-footer .footer-center {
    flex: 0 0 350px !important;
    max-width: 350px !important;
    text-align: center;
  }
  #main-footer .footer-signup,
  #main-footer .footer-info {
    flex: 1 1 calc((100% - 350px) / 2) !important;
    max-width: calc((100% - 350px) / 2) !important;
    min-width: 100px !important;
  }
  #signupForm {
    width: 100%;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  #signupForm > label {
    display: block;
    text-align: left;
    margin-bottom: 0.25rem;
  }
  #signupForm input[type="email"].half-width {
    display: block;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 0.25rem 0;
  }
  #signupForm button {
    align-self: flex-end;
    margin-top: 0;
  }
  #signupForm #emailError {
    display: block;
    text-align: right;
    margin-top: 0.25rem;
  }
}

/* -------------------------------------
 SUB-PAGES OVERRIDES (for About, Services, etc.)
------------------------------------- */
.sub-page #main-footer {
  background: url('images/urban-footer-900x140.png') center center/cover no-repeat !important;
}

.sub-page #main-footer,
.sub-page #main-footer p,
.sub-page #main-footer a,
.sub-page #main-footer label {
  color: #fff !important;
}

.sub-page #main-footer .btn-signup {
  color: #fff !important;
  border-color: #fff !important;
  background-color: rgba(0, 0, 0, .1) !important;
}

.sub-page #main-footer .btn-signup:hover {
  background-color: rgba(64, 168, 237, 0.5) !important;
  color: #fff !important;
  border-color: #fff !important;
}

.sub-page .footer-marketing-sub img {
  content: url("images/mini-logowhite.png");
}

/* -------------------------------------
 Re-adding heading color overrides for each sub-page
------------------------------------- */
.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4,
.about-page h5,
.about-page h6 {
  color: #029afd;
}

.services-page h1,
.services-page h2,
.services-page h3,
.services-page h4,
.services-page h5,
.services-page h6 {
  color: #f8cd29;
}

.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page h4,
.contact-page h5,
.contact-page h6 {
  color: #309330;
}

.jobs-page h1,
.jobs-page h2,
.jobs-page h3,
.jobs-page h4,
.jobs-page h5,
.jobs-page h6 {
  color: #309330;
}

.portfolio-page h1,
.portfolio-page h2,
.portfolio-page h3,
.portfolio-page h4,
.portfolio-page h5,
.portfolio-page h6 {
  color: #0d3bc8;
}

/* -------------------------------------
 Header Gradient Overrides for Sub-Pages
------------------------------------- */
.about-page .site-header {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 10%,
    rgba(2, 154, 253, 0.5) 100%
  ) !important;
}

.services-page .site-header {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 10%,
    rgba(248, 205, 41, 0.5) 100%
  ) !important;
}

.contact-page .site-header {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 10%,
    rgba(48, 147, 48, 0.5) 100%
  ) !important;
}

.jobs-page .site-header {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 10%,
    rgba(48, 147, 48, 0.5) 100%
  ) !important;
}

.portfolio-page .site-header {
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 10%,
    rgba(13, 59, 200, 0.5) 100%
  ) !important;
}

.services-page #contactForm .btn-send:hover {
  background-color: #ffe895 !important;
  color: #000 !important;
  border: 1px solid #ced4da !important;
}

.about-page #contactForm .btn-send:hover {
  background-color: #f8d7da !important;
  color: #000 !important;
  border: 1px solid #ced4da !important;
}

.contact-page #contactForm .btn-send:hover {
  background-color: #add4c1 !important;
  color: #000 !important;
  border: 1px solid #ced4da !important;
}

.jobs-page #contactForm .btn-send:hover {
  background-color: #add4c1 !important;
  color: #000 !important;
  border: 1px solid #ced4da !important;
}

/* --- for debugging --- */
.container,
.row,
[class*="col-"] {
  outline: 0px dashed rgba(255, 0, 0, 0.5);
}
