@charset "utf-8";

/* ==========================================================================
   1. FONTS & KEYFRAMES
   ========================================================================== */

@font-face {
  font-family: 'inter';
  src: url('../fonts/Inter-VariableFont.woff2') format('woff2'),
       url('../fonts/Inter-VariableFont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'outfit';
  src: url('../fonts/Outfit-VariableFont_wght.woff2') format('woff2'),
       url('../fonts/Outfit-VariableFont_wght.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-SemiBold.woff2') format('woff2'),
       url('../fonts/Outfit-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('../fonts/Outfit-Bold.woff2') format('woff2'),
       url('../fonts/Outfit-Bold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@keyframes logoEntrance {
  0% { opacity: 0; letter-spacing: 20px; }
  30% { opacity: 1; }
  100% { opacity: 1; letter-spacing: -15.434px; }
}

@keyframes hColorShift {
  0% { color: #0080C4; }
  30% { color: #0080C4; }
  100% { color: #ffffff; }
}

/* ==========================================================================
   2. GLOBAL / BASE STYLES
   ========================================================================== */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #353230;
}

a {
  color: #0080C4;
}

a:hover {
  color: #3399D0;
}

img {
  width: 100%;
  margin: 0 0 10px 0;
}

ul {
  padding-left: 20px;
  margin-top: 0px;
  list-style: disc;
}

li {
  margin-bottom: 5px;
}

/* ==========================================================================
   3. UTILITY CLASSES
   ========================================================================== */

.text-blue { color: #0080C4; }
.text-white { color: #ffffff; }
.center { text-align: center; }

.bold-text {
  margin: 0 0 5px 0;
  font-weight: 600;
}

.image-shadow {
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   4. LAYOUT & CONTAINERS
   ========================================================================== */

.row {
  margin-bottom: 40px;
}

.row.header-overlap {
  margin-top: -74px;
}

.inner-page-topmargin {
  margin-top: 160px;
}

.casestudy-page-topmargin {
  margin-top: 130px;
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  width: 100%;
  height: 100px;
  padding: 0;
  background-color: rgba(0, 0, 0, 0);
  text-align: center;
  line-height: 40px;
  transition: all 0.3s ease-in-out;
}

.header.active {
  height: 80px;
  background: #242424;
  border-bottom: 3px solid #0080C4;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.header-bg {
  position: relative;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  background-image: url(../images/hero-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 5px solid #0080C4;
}

.header-small {
  background-color: #242424;
  border-bottom: 3px solid #0080C4;
}

.ipage-header {
  height: 140px;
}

/* Logo Logic */
.logo {
  display: inline-block;
  padding: 20px 0 0 0;
  font-family: outfit, sans-serif;
  font-size: 70px;
  font-weight: 1000;
  line-height: 59px;
  letter-spacing: -21.433px;
  text-decoration: none;
  text-transform: none;
  opacity: 0;
  animation: logoEntrance 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: letter-spacing, opacity;
  transition: all 0.3s ease-in-out;
}

.header.active .logo {
  padding: 10px 0 0 0;
  font-size: 60px;
  font-weight: 1000;
  letter-spacing: -13px !important;
}

.header .logo .text-blue {
  position: relative;
  z-index: 2;
  color: #0080C4;
  font-weight: 1000;
}

.header .logo .text-white {
  position: relative;
  z-index: 1;
  color: #0080C4;
  font-weight: 1000;
  animation: hColorShift 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Navigation */
.nav-collapse li {
  width: auto;
  padding: 30px 20px 20px 20px;
  transition: all 0.3s ease-in-out;
}

.header.active .nav-collapse li {
  padding: 20px 20px 20px 20px;
}

.nav-collapse a {
  position: relative;
  float: left;
  margin: 0;
  padding: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 150%;
  font-style: normal;
  text-align: center;
  text-decoration: none;
  border-top: 0;
}

.nav-collapse a:hover {
  color: #fff;
}

.nav-collapse a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #0080C4;
  transform: translateX(-50%);
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.nav-collapse a:hover::after,
.nav-collapse .active a::after {
  width: 100%;
}

/* ==========================================================================
   6. HERO & TYPOGRAPHY
   ========================================================================== */

.header-inner {
  position: relative;
  max-width: 900px;
  padding: 180px 0px 80px 0px;
}

.header-inner h1 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 81px;
  letter-spacing: -0.02em;
  color: #0080C4;
}

.header-inner h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.header-inner p {
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  color: #FFFFFF;
}
.header-inner button {
  margin: 20px 0 0 0;
}
.title, .title-small {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 45px;
  font-style: normal;
}

.title { font-size: 36px; }
.title-small { font-size: 30px; }
.titleleft { text-align: left; }

.black-heading {
  margin: 0 0 10px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 150%;
}

.blue-heading {
  margin: 0 0 10px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 150%;
  color: #0080C4;
}

.intro h2 {
  margin-bottom: 0px;
  font-size: 18px;
  text-align: center;
}

/* ==========================================================================
   7. BUTTONS
   ========================================================================== */

button {
  border-radius: 40px;
  transition: all ease 0.5s;
}

button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

button.blue {
  height: auto;
  padding: 10px 24px;
  background-color: #0080C4;
  border: 0;
}

button.blue:hover a {
  color: #fff;
  text-decoration: none;
}

button.grey { background-color: #242424; }

button.arrow {
  float: none;
  margin: auto;
  background: #676767;
  color: #fff;
}

button.arrow:hover { background: #333; }

button a {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  text-transform: none;
}

/* ==========================================================================
   8. COMPONENTS (CARDS, OVERLAYS)
   ========================================================================== */

.featured a {
  color: #242424;
  text-decoration: none;
}

/* Text-Image Overlay */
.text-image-overlay {
  position: relative;
  display: inline-block;
  max-height: 189px;
  overflow: hidden;
  border-radius: 4px;
  color: white;
  text-align: center;
  cursor: pointer;
}

.text-image-overlay img {
  display: block;
  width: 100%;
  transition: transform .5s ease;
}

.text-image-overlay:hover img {
  transform: scale(1.03);
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 80%;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 150%;
  color: #FFFFFF;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
  transition: all .5s;
}

.overlay-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

.text-image-overlay:hover .overlay-text::after {
  visibility: visible;
  transform: scaleX(1);
}

/* Image Container */
.image-container {
  width: 100%;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 4px;
}

.image-container img {
  display: block;
  width: 100%;
  margin: 0;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.03);
}

/* Blue Card */
.blue-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  margin: 0 0 20px 0;
  padding: 15px 25px;
  background-color: #0080C4;
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blue-card:not(.contact):hover {
  background-color: #008dd8;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 128, 196, 0.3);
  transform: translateX(5px);
}

.blue-card:not(.contact)::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.5s;
}

.blue-card:not(.contact):hover::after {
  left: 100%;
}

.blue-card-icon {
  max-width: 50px;
  height: 32px;
  margin: 0 15px 0 0;
  transition: transform 0.3s ease;
}

.blue-card:not(.contact):hover .blue-card-icon {
  transform: scale(1.1);
}

.blue-card p {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #FFFFFF;
}

.blue-card a {
  color: #fff;
  text-decoration: none;
}

.blue-card a:hover {
  text-decoration: underline;
}

button.blue-card a:hover {
  text-decoration: none;
}

/* Contact Specific */
.blue-card.contact p, 
.blue-card.contact a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

.blue-card.contact strong, 
.blue-card.contact .label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
}

.contact {
  display: block;
  height: auto;
}

.contact .title-small { margin: 0 0 10px; }
.contact p { margin: 0 0 20px 0; }
.contact .blue-heading { margin: 0 0 5px 0; }
.contact .blue-heading.text-white {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
}

/* Case Study / Misc */
.casestudynav a {
  font-size: 14px;
  text-decoration: none;
}

.casestudynav a:hover { text-decoration: underline; }
.lightbox { margin: 100px 0 0 0; }

/* ==========================================================================
   9. FOOTER
   ========================================================================== */

.footer {
  margin-top: auto;
  padding: 20px 0 0 0;
  background: #242424;
  color: #fff;
  border-top: 3px solid #0080C4;
}

.footer p {
  margin-bottom: 10px;
  clear: both;
}

.footer .logo {
  display: inline-block;
  margin: 0 0 10px 0;
  padding: 0;
  font-size: 48px;
  letter-spacing: -10px !important;
}

.footer .logo .text-blue { position: relative; z-index: 2; }
.footer .logo .text-white { position: relative; z-index: 1; color: #ffffff; }

.footer .button { color: #fff; }
.footertitle { margin-top: 20px; text-decoration: underline; }
.footer-nav { text-align: right; }
.footer-nav p { margin: 7px 0 0 0; text-align: right; }

.footer-nav a {
  padding: 0 0 0 20px;
  color: #fff;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #0080C4;
  text-decoration: none;
}

.footer-contact a {
  padding: 0px 10px 0 10px;
  color: #fff;
  text-decoration: none;
}

.footer a.first {
  margin-left: 0px;
  padding-left: 0px;
}

/* ==========================================================================
   10. MEDIA QUERIES
   ========================================================================== */

@media (max-width: 768px) {
  .header { height: 80px; }
  
  .header-inner {
    width: 100%;
    padding: 120px 0px 40px 0px;
  }
  
  .header-inner h1 { font-size: 40px; line-height: 60px; }
  .header-inner h2 { font-size: 24px; }
  .header-inner p { font-size: 16px; }

  .logo {
    padding: 10px 0px 0px 0px;
    font-size: 60px;
    letter-spacing: 107.566px; /* Retained original value */
  }

  .header .logo {
    animation: logoEntrance 0s forwards;
  }

  @keyframes logoEntrance {
    0% { opacity: 0; letter-spacing: 15px; }
    30% { opacity: 1; }
    100% { opacity: 1; letter-spacing: -14px; }
  }

  .nav-collapse li {
    width: 100%;
    padding: 0;
  }

  .header.active .nav-collapse li { padding: 0; }
  .nav-collapse a { padding: 14px; }
  
  .nav-collapse a:hover {
    background: #676767;
    color: #fff;
    border-bottom: 0px solid #fff;
  }

  .nav-toggle { margin: 12px 0 0 0; }
  .footer-nav a { padding: 0 20px 0 0px; }
  .footer-nav p { text-align: left; }
  .column, .columns { margin: 0 0 20px 0; }
  .row { margin-bottom: 10px; }
  .inner-page-topmargin { margin-top: 94px; }
  .casestudy-page-topmargin { margin-top: 100px; }
  .row.header-overlap { margin-top: 0px; }
  .blue-card { margin: 0; }
  .text-image-overlay { display: block; }
}