@font-face {
  font-family: "Cal Sans";
  src: url('/assets/cal-sans/CalSans-SemiBold.woff2');
}

:root {
	--bs-body-font-size: 1.3rem;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: #22263f;
}

b {
	font-weight: 700;
}

/* usage samples with adjusted letter spacings */
h1 {
  font-family: "Cal Sans";
  font-size: 4rem;
  font-weight: normal;
}

h2 {
  font-family: "Cal Sans";
  font-size: 3rem;
  letter-spacing: 0.01em;
  font-weight: normal;
}

h3 {
  font-family: "Cal Sans";
  font-size: 2.5rem;
  letter-spacing: 0.015em;
  font-weight: normal;
}

h4 {
  font-family: "Cal Sans";
  font-size: 2rem;
  letter-spacing: 0.02em;
}

h5 {
  font-family: "Cal Sans";
  font-size: 1.8rem;
  letter-spacing: 0.03em;
}

h6 {
  font-family: "Cal Sans";
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

h1, h2, h3, h4 {
	color: #001141;
}

.text-highlight {
  font-size: 1.5rem;
}

.display-huge {
	font-size: clamp(24px, 8.2vw, 140px);
    line-height: 1;
}

.text-darkblue {
  color: #001141;
  transition: all 0.4s;
}

.text-darkblue:hover {
  color: #000;
  font-weight: bold;
}

.text-serif {
	font-family: 'DM Serif Display', serif;
}

.bg-off-white {
	background-color: #f9f9fa;
}

.bg-darkblue {
	background-color: #001141;
}

.bg-light-grey {
	background-color: #edf1f2;
}

.fixed-top {
  top: 40px;
  transition: top 0.4s ease;
}

header {
  background: rgb(230, 236, 243, 0.9);
  transition: all 0.75s;
  width: 100%;
  max-width: 1600px;
}


header.navbar-scrolled {
  background: rgb(230, 236, 243, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  width: 80%;
  transition: all 0.75s;
}

header.navbar-scrolled.home {
  background: rgba(26, 20, 44, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  width: 80%;
  transition: all 0.75s;
}

header .logo {
  transition: all 0.25s;
  height: 100px;
  width: 100px;
}

header.navbar-scrolled .logo {
  height: 60px;
  width: 60px;
  transition: all 0.75s;
}

.active {
	font-weight: 700;
}


/* Availability banner */
.availability-bar {
  background: linear-gradient(-89deg,#fb00ff,#fd3198 32%,#fe4d5d 70%,#ff7900);
  background-size: 300%;
  animation: gradientRotation 4s linear infinite alternate-reverse;
  color: #fff;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 300;
  text-align: center;
  position: relative;
  z-index: 1060;
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.availability-bar-btn {
  font-size: 0.84rem;
  font-weight: 500;
  border-width: 2px;
  transition: all 0.3s ease;
}

.availability-bar-btn::after {
  content: '';
  display: inline-block;
  width: 0;
  overflow: hidden;
  vertical-align: middle;
  transition: width 0.3s ease, margin-left 0.3s ease;
}

.availability-bar-btn:hover::after {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  width: 1.2em;
  margin-left: 0.4em;
}

.availability-bar-btn:hover {
  background: #fff;
  color: #001141;
  border-color: #fff;
}

.availability-bar-hidden {
  max-height: 0;
  padding: 0;
  overflow: hidden;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.header-banner {
	padding-top: 230px;
}



@keyframes gradientRotation {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.gradient-text {
    background: linear-gradient(-45deg, #FF0061, #F75851, #FAA549, #3896D3, #B8D1F2);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientRotation 3s linear infinite alternate;
    line-height: 125%;
}

.btn-gradient {
	background: linear-gradient(-89deg,#fb00ff,#fd3198 32%,#fe4d5d 70%,#ff7900);
    background-size: 100% 100%;
    background-position: 100% 50%;
    color: #fff;
    font-weight: 500;
    transition: background-size 0.4s ease, background-position 0.4s ease;
}

.btn-gradient:hover {
    background-size: 300% 100%;
    color: #fff;
    animation: gradientRotation 3s linear 0.4s infinite alternate-reverse;
}

.rounded-pill.btn-lg::after,
.rounded-pill.btn-outline-dark::after,
.rounded-pill.btn-outline-primary::after,
.btn-start-project::after {
    content: '';
    display: inline-block;
    width: 0;
    overflow: hidden;
    vertical-align: middle;
    line-height: 1;
    transition: width 0.3s ease, margin-left 0.3s ease;
}

.rounded-pill.btn-lg:hover::after,
.rounded-pill.btn-outline-dark:hover::after,
.rounded-pill.btn-outline-primary:hover::after,
.btn-start-project:hover::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    width: 1.2em;
    margin-left: 0.5em;
}

.header .btn-start-project {
    font-weight: 400;
}

.btn-call-us {
  transition: all 0.3s ease;
  font-weight: 500;
  overflow: hidden;
}

.btn-call-us:hover {
  background: #fff;
  color: #001141;
  border-color: #fff;
  transform: scale(1.03);
}

.btn-call-us .btn-call-us-prefix {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
  transition: max-width 0.7s ease, margin-right 0.7s ease;
  margin-right: 0;
}

.btn-call-us:hover .btn-call-us-prefix {
  max-width: 8em;
  margin-right: 0.25em;
}

/* Extra small devices (phones) */
@media only screen and (max-width: 767.98px) {

  h1, .h1 {
	  font-size: 3rem;
  }

  h2, .h2 {
	  font-size: 2.4rem;
  }
  
  h3, .h3 {
  font-size: 2rem;
  }

  p, ul, ol {
	  font-size: 1.2rem;
  }
  
  	.text-highlight {
	  font-size: 1.3rem;
	}
  
  .fixed-top {
    top: 0;
  }

  header.navbar-scrolled,
  header.navbar-scrolled.home {
    width: 100%;
  }

  .header-banner {
	padding-top: 100px;
   }

  footer {
    padding-bottom: 80px !important;
  }
    
	.display-huge {
      font-size: clamp(24px, 16vw, 140px);;
      line-height: 1;
	}
    
    .gradient-text {
	    line-height: 1;
    }

}

/* Footer social icons */
.footer-social-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-social-link .fa-stack {
  position: relative;
  width: 2em;
  height: 2em;
  line-height: 2em;
  vertical-align: middle;
}

.footer-social-link .fa-stack-2x,
.footer-social-link .fa-stack-1x {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  line-height: 1;
}

.footer-social-link .fa-stack-2x {
  font-size: 2em;
}

.footer-social-link .fa-stack-1x {
  font-size: 1em;
}

.footer-social-link:hover {
  transform: translateY(-3px);
}

.footer-social-link:hover .fa-stack-1x {
  color: #002d9c;
}

/* Brand carousel */
.brand-carousel {
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.brand-carousel-track {
  display: inline-flex;
  animation: brand-scroll 45s linear infinite;
}

.brand-carousel-item {
  display: inline-block;
  padding: 0 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #555;
  white-space: nowrap;
}

@keyframes brand-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Mobile sticky CTA */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

.mobile-cta-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(-89deg,#fb00ff,#fd3198 32%,#fe4d5d 70%,#ff7900);
  background-size: 300%;
  animation: gradientRotation 4s linear infinite alternate-reverse;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 400;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.15);
}

.mobile-cta-pill:hover,
.mobile-cta-pill:active {
  color: #fff;
  text-decoration: none;
}

.mobile-cta-btn {
  font-weight: 600;
}

/* Project form need pills */
.need-pill {
  font-size: 1rem;
  font-weight: 400;
  padding: 0.5rem 1.2rem;
  border-width: 2px;
  transition: all 0.25s ease;
}

.need-pill .need-check {
  display: none;
}

.btn-check:checked + .need-pill {
  background: #001141;
  border-color: #001141;
  color: #fff;
}

.btn-check:checked + .need-pill .need-check {
  display: inline;
}

.need-pill:hover {
  border-color: #001141;
  background: #f0f1f5;
}

.btn-check:checked + .need-pill:hover {
  background: #002d9c;
  border-color: #002d9c;
}

/* Disable arrow on need pills */
.need-pill::after {
  display: none !important;
}

/* Contact form validation */
#contact-form .is-invalid {
	border-color: #b91c1c;
	border-width: 2px;
	box-shadow: 0 0 0 0.2rem rgba(185, 28, 28, 0.25);
}

#contact-form .invalid-feedback {
	color: #b91c1c;
	font-size: 0.95rem;
	font-weight: 500;
	margin-top: 0.35rem;
}

#contact-form .is-invalid + .invalid-feedback::before {
	content: "\f06a  ";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
}

#form-error-summary {
	border-left: 4px solid #b91c1c;
}

#form-error-summary a {
	color: #b91c1c;
	text-decoration: underline;
}

#form-error-summary a:hover,
#form-error-summary a:focus {
	color: #7f1d1d;
}