/* === Basic Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === Navbar === */
.navbar {
  position: fixed; /* Changed from relative to fixed */
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  z-index: 110;
  background: transparent;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
}

/* === Underline === */
.navbar-underline {
  width: 100%;
  height: 2px;
  background-color: #08178a;

}

.logo-button {
  height: 100%;
  background-color: white;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 2px solid #004094;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
}

.logo-button:hover {
  background-color: #dee6ff;;
  box-shadow: inset 0 2px 4px #08178a;
}


/* === Navbar Container === */
.nav-container {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  transition: padding 0.3s ease;
  border-bottom: solid 2px #08178a;
}

.nav-right-container {
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  transition: padding 0.3s ease;
}

/* === Shrink + White Scroll Style === */
.navbar.scrolled {
  background-color: white;
  height: 70px;
}


.navbar.scrolled .all-links a {
  color: #08178a;
}

.navbar.scrolled .icon-stroke {
  stroke: #08178a;
}

.navbar.scrolled .search-form input {
  color: #08178a;
  border-color: #08178a;
}

.navbar.scrolled .search-toggle:hover .search-icon-bg {
  fill: #cbd4ed;
}

/* === Logo === */
.nav-logo {
  height: 35px;
  width: auto;
  overflow: visible;
  transition: filter 0.5s ease, transform 0.3s ease !important;
}

.nav-logo:hover {
  transition: filter 0.4s ease, transform 0.3s ease !important;
}

/* === Nav Links === */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  padding: 0px 40px;
}

.all-links {
  display: flex;
  list-style: none;
  gap: 3rem;
  padding-top: 3px;
}

.all-links a {
  text-decoration: none;
  color: #000233; 
  font-weight: 400;
  font-size: 18px;
  font-family: 'Saira', arial, sans-serif;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  position: relative;
}

/* === Hover Effect === */
.all-links a:hover {
  color: #004094; /* keep your hover color */
}

.all-links a::after {
  content: '';
  position: absolute;
  left: 50%;                /* center under the text */
  bottom: -26px;             /* start below the link, at bottom of nav bar */
  width: 2px;                /* thickness of vertical line */
  height: 0;                 /* start hidden */
  background-color: #08178a; /* line color */
  transform: translateX(-50%); /* center horizontally */
  transition: height 0.3s ease-in-out; /* animate line growing */
}

.all-links a:hover::after {
  height: 20px; /* grow from bottom to top of link */
}

.nav-divider {
  border: solid 1px;
  height: 100%;
  color: #163e9b;
}

/* === hamburger === */

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* hidden by default, shows at mobile breakpoint */
}

.hamburger-icon rect {
  fill: white;
}

.mobile-menu {
  display: none;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.translate-wrapper {
  padding: 0px 40px 0px 40px;
}

.translate-button {
  background-color: transparent;
  padding: 5px;
  border: solid 2px #004094;
  cursor: pointer;
  height: 42px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.translate-button:hover {
  background-color: #dee6ff;
}

.translate-button-text {
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  color: #004094;
  font-size: 20px;
  line-height: 26px;
}


/* Hide nav links & show hamburger on mobile */

/* === Shared Nav Icon Toggle Button === */
.nav-icon-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #08178a;
}

.nav-icon-svg {
  width: 100%;
  height: auto;
}

.icon-stroke {
  fill: none;
  stroke: #08178a;
  stroke-width: 30px;
  stroke-miterlimit: 2;
  stroke-linecap: round;
  transition: all 0.3s ease;
}

.icon-bg {
  fill: transparent;
  transition: fill 0.3s ease;
}

/* Hover state (same as your search hover) */
.nav-icon-toggle:hover .icon-bg {
  fill: #dee6ff;
}

/* Show only magnifying glass on desktop */
.icon-magnify,
.icon-hamburger {
  display: none;
}

@media (min-width: 1081px) {
  .icon-magnify {
    display: block;
  }
}

@media (max-width: 1080px) {
  .icon-hamburger {
    display: block;
  }
}



@media (max-width: 1080px) {
  .nav-links,
  .search-form {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    position: fixed;
    top: 90px; /* cover the screen from very top */
    left: 0;
    right: 0;
    bottom: 0; /* stretch all the way down */
    width: 100%;
    height: calc(100vh - 90px);
    z-index: 100;
    overflow-y: auto;
  }

  .mobile-menu.active {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu-spacer {
    height: 15%;
    background-color: #f0f0f0;
  }

  .mobile-menu-top {
    display: flex;
    flex-direction: row;
    flex: 1;
    overflow: hidden;
    border-bottom: solid 2px #004094;
    border-top: solid 2px #004094;
  }

  .mobile-menu a {
    color: white;
    text-decoration: none;
    font-family: 'Saira', Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 200;
  }

  .mobile-menu .menu-number {
    font-family: 'Gotham', Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #004094;
    font-weight: 400;
    letter-spacing: 1px;
    vertical-align: 9px;
    padding-right: 10px;
  }

  .mobile-nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
  }

  .mobile-nav-links a {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 55px;
    border-bottom: solid 2px #08178a;
    color: #000233;
    font-size: clamp(20px, 60px, 60px);
    text-decoration: none;
    font-family: 'Saira', Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 200;
  }

  .mobile-nav-links a:last-child {
    border-bottom: none;
  }

  .vertical-marquee-container {
    width: 30%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: solid 2px #08178a;
  }

  .vertical-marquee-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    animation: scroll-vertical 500s linear infinite;
    font-family: 'Gotham', Arial, Helvetica, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 200px;
    color: transparent;
    -webkit-text-stroke: 2px #004094;
    white-space: nowrap;
    transform: translateY(100%);
    top: 100%;
  }

  @keyframes scroll-vertical {
    0% {
      transform: translateY(0%);
    }
    100% {
      transform: translateY(-50%);
    }
  }

}


.mobile-menu-image {
  width: 100%;
  height: auto;
  max-height: 20vh;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-top: solid 2px #08178a;
}

/* The mask holds the stacked slideshow images */
.mobile-menu-image-mask {
  width: 100%;
  height: 300px;
  position: relative;
}

.mobile-menu-image-mask img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 100% 0 0); /* start hidden (masked from left) */
}

/* Stack order */
.mobile-menu-image-mask img:nth-child(1) {
  z-index: 1;
}
.mobile-menu-image-mask img:nth-child(2) {
  z-index: 2;
}
.mobile-menu-image-mask img:nth-child(3) {
  z-index: 3;
}


.mobile-menu-footer {
  background-color: white;
  height: 9%;
  width: 100%;
  border-top: solid 2px #08178a;
  display: flex;
  align-items: center;
  flex-direction: row;
  
}

.mobile-menu-footer a {
  color: #8eaaff;
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 25px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding: 20px 0px 20px 50px;
}


/* === Search === */
.search-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding: 0px 40px 0px 20px;
}

.search-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon {
  width: 100%;
  height: auto;
}

.icon-stroke {
  fill: none;
  stroke: #08178a;
  stroke-width: 30px;
  stroke-miterlimit: 10;
  stroke-linecap: round;
  transition: all 0.3s ease;
}

.search-icon-bg {
  fill: transparent;
  transition: fill 0.3s ease;
}

.search-toggle:hover .search-icon-bg {
  fill: #7E98CB;
}

.icon-close {
  display: none;
}

.search-wrapper.active .icon-magnify {
  display: none;
}

.search-wrapper.active .icon-close {
  display: block;
}

.search-form {
  opacity: 0;
  width: 0;
  height: 42px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid #08178a;
  background: transparent;
}

.search-form.dark-border {
  border-color: #08178a;
}

.search-form input {
  background: transparent;
  border: none;
  color: white;
  padding: 8px 12px;
  width: 180px;
  font-size: 16px;
  outline: none;
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-weight: 300;
}

.search-wrapper.active .search-form {
  opacity: 1;
  width: auto;
  margin-left: 20px;
}

@media (max-width: 1080px) {
  .search-wrapper {
    padding: 0px 40px 0px 40px;
  }
}

@media (max-width: 768px) {

  .nav-container {
    height: 100%;
    flex-wrap: nowrap;
  }

  .logo-button {
    padding: 0px 50px 0px 50px;
    flex-shrink: 0;
  }

  .vertical-marquee-text {
    font-size: 130px;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    position: fixed;
    top: 90px; /* cover the screen from very top */
    left: 0;
    right: 0;
    bottom: 0; /* stretch all the way down */
    width: 100%;
    height: calc(100vh - 90px);
    z-index: 100;
    overflow: hidden;
  }

  .mobile-menu.active {
    display: flex;
  }
  .mobile-menu-footer a {
    font-size: 20px;
  }
}


@media (max-width: 760px) {
  .navbar {
    height: 70px;
  }
  .mobile-nav-links a {
    font-size: 25px;
    padding-left: 30px;
  }
  .vertical-marquee-text {
    font-size: 100px;
  }
  .logo-button {
    padding: 0px 30px;
  }
  .nav-logo {
    height: 28px;
  }
  .mobile-menu-footer .mobile-footer-link {
    font-size: 17px;
    padding: 12px 0px 12px 30px;
    color: #000233;
  }
  .mobile-menu {
    top: 70px;
    height: calc(100dvh - 70px);
  }
  .search-wrapper {
    padding: 0px 30px 0px 30px;
  }
  .translate-wrapper {
    display: none !important;
  }

  .nav-divider {
    display: none ;
  }
  .mobile-menu-footer .mobile-footer-link {
    padding: 15px 0px 15px 40px;
  }

}

body {
    background-color: rgb(255, 255, 255);
}



::selection {
  background-color: #004094;
  color: white;            
}

/* For Firefox (requires vendor prefix) */
::-moz-selection {
  background-color: #004094;
  color: white;
}



/* CURSOR DOT STYLING */

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background: #a3baff;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  z-index: 9999;
}






/* =========================
   Barba Transition Overlay
   ========================= */
#barba-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff; /* fallback background color */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  z-index: 9999; /* above everything */
  pointer-events: none; /* allow clicks to pass when hidden */
  opacity: 0;
  transition: opacity 0.5s ease;
  border-bottom: solid 2px #004094;
}

/* Visible state */
#barba-transition-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.transition-logo-container {
  background-color: #181C41;
  border: solid 2px #004094;
  border-left: none;
  margin-bottom: 90px;
}

/* Logo in the center */
#barba-transition-overlay .barba-logo {
  padding: 40px;
  height: auto;
  width: 380px;
  margin-left: 70px;
}

.loading-row-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-top: solid 2px #004094;
  border-bottom: solid 2px #004094;
  width: 100%;
}

.loading-copy-container {
  margin-top: 40px 0px;
   overflow: hidden;
}

.loading-copy {
  font-family: "Saira", Arial, Helvetica, sans-serif;
  font-size: 50px;
  font-weight: 200;
  color: #181C41;
  padding: 40px 100px 40px 90px;
}

.loading-copy .line {
  display: block;
  overflow: hidden;
}

.loading-copy .line span {
  display: inline-block; /* allow GSAP y animations */
}

/* Thin loading bar */
#barba-transition-overlay .loading-bar {
  width: 0%; /* animate width with JS/GSAP */
  height: 2px;
  background: #004094;/* or your brand color */
  border-radius: 2px;
  margin-bottom: 1rem;
  transition: width 0.3s ease;
  margin-top: 100px;  
}

.loading-counter-wrapper {
  width: 200px;
  height: 100%;
  border-left: solid 2px #004094;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Loading counter */
#barba-transition-overlay .loading-counter {
  color: #829cea;
  font-size: 45px;
  font-weight: 200;
  letter-spacing: 1px;
  font-family: "Saira", Arial, Helvetica, sans-serif;
  padding: 40px 90px 40px 90px;
}

/* Optional canvas for gradient behind overlay */
#gradient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -100; /* below overlay */
  pointer-events: none;
}

/* Optional: fade-out animation using class */
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}


#barba-shutter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 9999;
}

.shutter-row {
  flex: 1;
  background-color: #004094; /* your blue shade */
  transform: scaleY(0);       /* start collapsed */
  transform-origin: bottom center; /* grow from bottom */
}

.site-info, .powered-by-wordpress, .footer-credit {
    display: none !important;
}







@media (max-width: 420px) {
  #barba-transition-overlay .barba-logo {
    width: 250px;
    margin-left: 0px;
    padding: 20px !important;
  }
  .transition-logo-container {
    margin-bottom: 40px;
  }

  .loading-copy {
    font-size: 24px;
    font-weight: 300;
    padding: 15px 20px 15px 30px;
  }
  .loading-counter-wrapper {
    width: 100px;
  }
  #barba-transition-overlay .loading-counter {
    font-size: 25px;
    padding: 15px 90px 15px 90px;
  }
  #barba-transition-overlay .loading-bar {
    margin-top: 50px;  
  }

}



/* VIDEO MODULE STYLINGS */

.video-header {
  display: flex;
  border-bottom: solid 2px #004094;
  justify-content: space-between;
  background-color: #eaeaea;
  height: 100px;
}

.video-title {
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-weight: 200;
  color: #000233;
  font-size: 30px;
  padding: 20px 40px;
  background-color: white;
  border-right: solid 2px #004094;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.video-modal {
  display: none;            
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  justify-content: center;
  align-items: center;
  z-index: 100;            
}

.video-modal-left-wrapper {
  width: 14%;
  height: 100%;
  border-right: solid 2px #004094;
}

.video-modal-right-wrapper {
  width: 14%;
  height: 100%;
  border-left: solid 2px #004094;
}

.video-modal-divider {
  width: 100%;
  height: 2px;
  background-color: #004094;
  margin-top: 20vh;
}

.video-modal-divider-right {
  width: 100%;
  height: 2px;
  background-color: #004094;
  margin-top: 70vh;
}

.video-modal-inside-divider {
  width: 8%;
  height: 2px;
  background-color: #004094;
}

.video-box-wrapper {
  border: solid 2px #004094;    
}

.video-container {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto; /* height follows width */
  width: 100%;
  max-width: 1100px;
  overflow: hidden; /* clips the video */   
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops to fill container */
  object-position: center; /* centers video when cropped */
  display: block;
}


/* Close button */
.video-close {
  background-color: white;
  color: #000233;
  cursor: pointer;
  z-index: 10000;
  border: none;
  border-left: solid 2px #004094;
  padding: 20px;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-close svg line {
  stroke: #000233;
}

.video-close:hover {
  background-color: #dee6ff;
}


.page-content {
  position: relative;
  z-index: 1; /* sits above hero */
  background: transparent;
  margin-top: 100vh;
}



.hero {
    opacity: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: fixed;
    z-index: 1;
    height: 100vh;
    width: 100%;
    flex-direction: row;
    gap: 25px;
    pointer-events: auto;
    inset: 0;
     animation-name: fadeHeroOut;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-timeline: scroll();
    animation-range: 60vh 100vh;
}

@keyframes fadeHeroOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.right-empty {
  width: 100%;
  border-bottom: solid 2px #163e9b;
}

.hero-inside {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 5;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.hero-headline {
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-size: clamp(40px, 3.75vw, 70px);
  font-weight: 100;
  color: white;
  line-height: 65px;
  overflow: hidden;
  display: block;
  line-height: 1.1;
  
}

.hero-headline .line {
  overflow: hidden;
  display: block;
}

.hero-headline .line span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}


.hero-subtext {
  color: #8eaaff;
  padding-top: 15px;
}

.headline {
    padding-bottom: 10px;
    width: 100%;
}

.headline-text span {
  margin-right: 0.3em;
}

.headline-text {
  display: inline-block;
  font-size: clamp(2rem, 6vw, 5rem); 
  line-height: 1.2;
  text-align: left;
  max-width: 900px; 
  width: 100%;      
  white-space: normal; 
}

.preload-hidden {
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
}

.hero-left-content p {
    font-family: 'Gotham', arial, sans-serif;
    font-weight: 300;
    color: white;
    padding-bottom: 35px;
    line-height: 25px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;      
  box-sizing: border-box;
  overflow: hidden;
  flex: 2;
}

.hero-left-wrapper {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: solid 2px #163e9b;
  height: 70%;
  width: 100%;
}

.hero-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 70%;
  max-width: 650px;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;     
  align-items: center;
  flex: 1.6;
  box-sizing: border-box;
  border-left: solid 2px #163e9b;
  padding-top: 100px;
}

.hero-right-top-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 40%;
}

.hero-right .container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 6%;
  padding-top: 6%;
  justify-content: space-between;
  width: 100%;
}

.hero-right-upper {
  width: 70%;
  height: auto;
}

.right-upper-wrapper {
  gap: 5%;
}

.hero-right-bottom-wrapper {
  width: 100%;
  height: 60%;
  overflow: hidden;
}

.-categorywrapper {
  height: 200px;
}

.category-title-container,
.category-copy-container {
  overflow: hidden;
}

.category-title,
.category-copy {
  display: inline-block; /* allows slide animations */
}


.category-title {
  font-family: 'Saira',Arial, Helvetica, sans-serif;
  color: white;
  font-weight: 200;
  font-size: 30px;
  padding-bottom: 15px;
}

.category-copy {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  color: white;
  font-size: 15px;
  font-weight: 200;
  line-height: 25px;
}

.category-options-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-top: solid 2px #004094;
}

.category-box {
  flex: 1 1 20%; 
  min-width: 120px; 
  text-align: center;
  padding: 20px 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 2px solid #004094; 
}

.category-box:first-child {
  border-left: none; 
}

.category-box:last-child {
  border-right: none; 
}

.category-option-title {
  font-family: 'Saira',Arial, Helvetica, sans-serif;
  color: white;
  font-size: 17px;
  font-weight: 200;
}

.category-box.active .category-option-title {
  color: #8eaaff;
}

.hero-right .phone p,
.hero-right .email p {
  color: white;
  font-family: 'Gotham', arial, sans-serif;
  font-weight: 300;
  margin: 0;     
  text-decoration: none;
}

/* HERO image slider */

.image-slider-wrapper {
  display: contents;
  overflow: hidden;
}

.hero-image-mask {
  position: relative;
  width: 100%; 
  height: 100%;
  overflow: hidden;
  border-top: solid 2px #004094;
}

.hero-image-mask img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      
  object-position: center;
  transform-origin: center center;
  clip-path: inset(0 100% 0 0);
}

.hero-slide:nth-child(1) { z-index: 1; }
.hero-slide:nth-child(2) { z-index: 2; }
.hero-slide:nth-child(3) { z-index: 3; }
.hero-slide:nth-child(4) { z-index: 4; }






.slider-indicators {
  display: flex;
  justify-content: flex-start; 
  align-items: center;       
  gap: 8px;
  flex-shrink: 2;   
  width: 30%;         
}

.slider-indicators .tick {
  display: inline-block;
  flex: 1 1 0; 
  max-width: 40px;        
  height: 2px;            
  background-color: #677BB8;       
  transition: background-color 0.3s ease;
}

/* Active tick style */
.slider-indicators .tick.active {
  background-color: #ffffff; 
}

.arrow-contact-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}



/* =======================
   Arrow styling start
   ======================= */

.contact-texts {
  display: flex;
  gap: 25px;
  align-items: center;
}

/* Arrow shaft */
.arrow {
  display: inline-block;
  width: 15px; 
  height: 2px;     
  background-color: white;
  position: relative;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

/* Arrowhead (always attached to shaft) */
.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-top: 2px solid white;     /* stroke top */
  border-right: 2px solid white;   /* stroke right */
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Text styles */
.hero-right .phone p,
.hero-right .email p {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-family: 'Saira', arial, sans-serif;
  font-weight: 300;
}

/* Hover color for texts */
.hero-right .phone p:hover,
.hero-right .email p:hover {
  color: #a8d0ff;
}

/* =======================
   Arrow styling end
   ======================= */




/* HERO BUTTON SYLINGS */

.hero-buttons-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

/* Connecting horizontal line between buttons */
.hero-button-line {
  flex-grow: 1;
  height: 2px;
  background-color: #004094;
  align-self: center;
  width: 100%;
}

/* Button styles (applies to both buttons) */
.hero-button {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;         
  border: solid 2px #004094;
  background-color: transparent;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
  cursor: pointer;
  color: #000233;
  flex: 0 0 auto;
  max-width: 220px;
}

.hero-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.hero-button:hover::before {
  opacity: 1;
}

.hero-button-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.hero-button-text {
  margin: 10px 15px;
  font-size: 15px;
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-weight: 300;
  color: white;
}

.hero-button-divider {
  width: 2px;
  color: #163e9b;
  background-color: #163e9b;
  height: 42px;
}

.hero-button-arrow-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.hero-button-arrow-svg {
  width: 18px;
  height: 18px;
}

/* Only target the play triangle SVG */
.hero-button-play-svg {
  width: 20px;           /* slightly larger for emphasis */
  height: 20px; 
}

.hero-button-play-svg polygon {
  fill: none;            /* removes fill inside triangle */
  stroke: #ffffff;       /* white stroke */
  stroke-width: 2;       /* outline thickness */
  stroke-linejoin: round; /* smooth corners */
}

.hero-button-arrow-line {
  fill: none;
  stroke: white;
  stroke-miterlimit: 10;
  stroke-width: 40px;
}













/* Gradient CSS styling */

#gradient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -20; 
  width:100%;
  height:100%;
  --gradient-color-1: #004094; 
  --gradient-color-2: #000233; 
  --gradient-color-3: #000319;  
  --gradient-color-4: #000000;
}



@media (max-width: 1080px) {
  .hero {
    height: auto;
  }
  .hero-inside {
    display: flex;
  }
  .hero-left {
    min-width: 550px;
  }

  .hero-left-wrapper {
    align-items: flex-start;
  }

  .hero-left-content {
    width: 100%;
  }

  .hero-headline {
    font-size: 50px;
  }

  .hero-right-upper {
    justify-content: flex-start;
    padding: 60px;
    width: 100%;
  }
  .category-box {
    padding: 12px;
  }
  .category-option-title {
    font-size: 15px;
  }
  .category-copy {
    font-size: clamp(12px 2.0vh 15px);
  }
  .hero-right {

    justify-content: space-between;
    align-items: flex-start;
  }
  .arrow {
    display: none;
  }
  .image-slider {
    width: 100%;
  }
  .image-slider-wrapper {
    width: 50%;
  }
  .hero-right-upper {
    padding-top: 40px;
  }
}

@media (max-width: 768px) {
  .hero-left-content {
    width: 100%;
  }
  .image-slider {
    height: 200px;
  }
}

@media (max-width: 760px) {

  /* Fix common horizontal scroll culprits */
  .marquee-text-hero {
    white-space: nowrap !important;
  }
  
  .hero,
  .page-content,
  .video-modal {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .video-modal-left-wrapper {
    border-right: 0px !important;
    border-bottom: solid 2px !important;
    width: 100% !important;
    height: 20% !important;
  }
  .video-modal-divider {
    height: 0px !important;
  }
  .video-modal {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .video-modal-inside-divider {
    height: 80px !important;
    width: 2px !important;
  }
  .video-box-wrapper {
    margin: 0px 30px !important;
  }
  .video-header {
    height: 60px !important;
  }
  .video-title {
    padding: 20px !important;
    font-size: 15px !important;
    font-weight: 400 !important;
  }
  .video-close {
    width: 60px !important;
  }
  .video-modal-right-wrapper {
    width: 100% !important;
    height: 20% !important;
    border-left: 0px !important;
    border-top: solid 2px #004094;
  }

  /* Force hero visibility on mobile with fade before footer */
  .hero {
    height: 1300px !important;
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1 !important;
  }

  
  .page-content {
    margin-top: 1300px !important;
  }
  
  .marquee2-container .marquee-text-hero {
    font-size: 55px !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }
  .marquee2-container {
    margin-top: 18% !important;
    padding: 10px 0px !important;
    height: 100%;
    flex: 25% !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
  }
  .marquee-text-hero {
    -webkit-text-stroke: 1.5px #ffffff !important;
  }
  .marquee-text-hero span {
    padding: 25px 0px !important;
  }
  .hero-inside {
    flex-direction: column;
  }
  .hero-left {
    flex: 1 !important;
    justify-content: flex-start !important;
    overflow: visible;
    min-width: 0px !important;
  }
  .hero-left-wrapper {
    padding: 25px 30px !important;
    height: 100% !important;
  }

  .hero-subtext {
    font-size: 13px;
    line-height: 17px;
    padding-top: 0px;
    padding-bottom: 17px;
  }
  .hero-left-content p {
    line-height: 20px !important;
    padding-bottom: 20px !important;
  }
  .hero-headline {
    font-size: 40px;
  }
  .hero-button {
    height: 90% !important;
  }
  .hero-button-text {
    font-size: 14px !important;
    margin: 10px !important;
  }
  .hero-right {
    flex-direction: column;
    justify-content: flex-start !important;
    padding-top: 0px !important;
    flex: 2.5 !important;
    border-left: 0px !important;
    border-top: solid 2px #004094;
  }
  .hero-right-top-wrapper {
    height: auto !important;
  }
  .hero-right .container {
    padding-bottom: 0px;
    padding-top: 0px;
  }
  .hero-right-upper {
    padding: 18px 30px !important;
    border-right: solid 2px #004094;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
  }
  .category-wrapper {
    display: none;
  }
  .category-options-wrapper {
    display: none;
  }
  .slider-indicators {
    padding-bottom: 0px;
    display: none;
  }
  .image-slider-wrapper {
    width: 100%;
    border-top: solid 2px #004094;
  }
  .hero-image-mask {
    border-top: solid 2px #004094;
    border-left: none;
  }

}



/* project portfolio section */

@media (min-width: 2000px) {
  .project-section {
    max-height: 700px;
  }
  .project-header h2 {
    font-size: clamp(40px, 3.75vw, 60px)!important;
    padding-bottom: 50px !important;
    font-weight: 100 !important;  
  }
  .project-description p {
    font-size: 19px !important;
    line-height: 1.6 !important;
  }

  .button-bar-container {
    padding-top: 50px !important;
  }

  .news-wrapper {
    flex: 3 !important;
  }
  
}



@media (max-width: 1080px) {
  .project-section {
    flex-direction: column !important;
  }
  .project-description-right-wrapper {
    flex-direction: column !important;
    margin-right: 0px !important;
    border-right: 0px!important;
  }

  .grid-wrapper {
    width: 100vw !important;
    margin: 0;
    padding: 0;
    max-width: none !important;
    border-left: none !important;
    border-right: none !important;
  }
  .grid-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100% !important;
  }
  
}

@media (max-width: 768px) {
  .actual-arrow svg {
    width: 25% !important;
  }
}


@media (max-width: 760px) {
  .project-section {
    flex-direction: column-reverse !important;
    max-height: none !important;
  }
  .project-inner-wrapper {
    padding: 40px 30px 50px 30px !important;
  }
  .project-header h2 {
    font-size: 40px !important;
    padding-bottom: 20px !important;
  }
  .project-header h2 span {
    margin-top: -10px !important;
  }
  .project-header-break {
    display: block !important; /* forces it onto a new line */
  }
  .project-subhead h3 {
    font-size: 20px !important;
  }
  .project-description-inner {
    height: 450px !important;
  }
  .project-inner-wrapper p {
    font-size: 15px !important;
  }
  .project-button {
    width: 166px !important;
    max-width: 200px !important;
  }
  .project-button-text {
    font-size: 15px !important;
    margin: 8px 10px !important;
  }
  .button-bar-line {
    width: 50% !important;
  }
  .project-button-left-wrapper,
  .project-button-right-wrapper {
    width: 100px !important;
    height: 44px !important;
  }
  .grid-item .overlay span {
    font-size: 16px !important;
    padding: 20px !important;
  }
  .news1, .news2 {
    padding: 30px !important;
  }
  .news-wrapper {
    flex-direction: column !important;
    width: 100% !important;
  }
  .news1 {
    border-right: none !important;
    border-bottom: solid 2px #004094;
  }
  .grid-item img {
    border: none !important;
    width: 100% !important;
    height: 100% !important;
  }
}

.project-section-wrapper {
  position: relative;
  z-index: 2;
}

.project-section {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  background-color: #ffffff;
  max-height: 700px;
}

.project-section-spacer {
  height: 80px;
  background-color: white;
  border-top: solid 2px #004094;
  border-bottom: solid 2px #004094;
}

.project-section-spacer:last-of-type {
  height: 80px;
  background-color: white;
  border-top: solid 2px #004094;
  border-bottom: none !important;
}

.left-grid-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 1;
  border-right: solid 2px #004094;
  
}


.project-preview {
  position: absolute;
  top: 0;
  left: -100%; /* Start off-screen to the left */
  width: 100%;
  height: 100%;
  transition: left 0.5s ease;
  z-index: 20;
}

.project-preview.show {
  left: 0; /* Slide into view */
  pointer-events: none;  
}

.project-preview.exit {
  left: -100%; /* Slide back out to left */
}

.project-preview-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-grid-divider {
  width: 2px;
  height: 5%;
  background-color: #004094;
}

.grid-item .overlay {
  position: absolute;
  inset: 0;
  z-index: 40; /* above project-preview */

}

.grid-item.first-row {
  border-top: none;
}

.grid-wrapper {
  flex: 1 1 45%;
  margin: 0 90px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  position: relative;
  overflow: hidden;
  height: 90%;
  border: solid 2px #004094;
}


/* GRID CONTAINER (left side) */
.grid-container {
  background-color: white; 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  height: 100%; 
  width: 100%;
  overflow: hidden;
}

/* Each box */
.grid-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  cursor: pointer;
  z-index: 10;
  border-top: 2px solid #004094;
  border-left: 2px solid #004094;
  transition: border 0.3s ease;

}

.grid-item img {
  width: 80%;
  height: 80%;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  transition: transform 0.3s ease;
  border: solid 2px #004094;
}

.grid-item.hovered {
  z-index: 30;
  border: none;
}
.grid-item .overlay {
  z-index: 40;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  opacity: 0;
  transition: opacity 0.2s ease;
  border: solid 2px #004094;
}

.grid-item:hover .overlay {
  opacity: 1;
}

.overlay.even {
  background-color: #191D49;
  color: #ffffff;
}

.overlay.odd {
  background-color: #829cea;
  color: #ffffff;
}

.overlay.no-top-border {
  border-top: none;
}

.overlay.no-bottom-border {
  border-bottom: none;
}

.overlay.no-left-border {
  border-left: none;
}

.overlay.no-right-border {
  border-right: none;
}

.grid-item .overlay span {
  font-size: 18px;
  font-weight: 200;
  line-height: 27px;
  text-align: start;
  padding: 30px;
  color: white;
  font-family: 'Saira', Arial, Helvetica, sans-serif;
}

.grid-item.first-row {
  border-top: none;
}

.grid-item.no-left-border {
  border-left: none !important;
}





/* TEXT DESCRIPTION (right side) */


.project-description-right-wrapper {
  display: flex;
  flex-direction: row;
  flex: 1;
  margin-right: 90px;
  border-right: solid 2px #004094;
}

.project-description {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.project-description-inner {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  height: 100%;
}

.project-inner-wrapper {
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

.project-description-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-description-inner h2 {
  font-size: 50px;
  font-family: 'Gotham', arial, sans-serif;
  font-weight: 800;
  color: #163e9b;
}

.project-header h2 {
  font-family: 'Saira',Arial, Helvetica, sans-serif;
  font-size: 40px;
  font-weight: 200;
  color: #191D49;
  padding-bottom: 25px;
  line-height: 53px;
}

.project-header-break {
  display: inline; /* normal inline text on desktop */
}


.project-description .project-header .black {
    color: #0D111C !important;
}


.project-subhead h3 {
  font-family: 'Gotham',Arial, Helvetica, sans-serif;
  font-weight: 200;
  font-size: 22px;
  padding-bottom: 50px;
  color: #004094;
}

.project-description p {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 200;
  font-size: 16px;
  line-height: 1.5;
  color: #004094;
}

.button-bar-container {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  padding-top: 30px;
}
 
.button-bar-line {
  width: 100%;
  height: 2px;
  background-color: #004094;
}

.project-button-left-wrapper, 
.project-button-right-wrapper {
  background-color: white;
  border-top: solid 2px #004094;
  border-bottom: solid 2px #004094;
  border-left: solid 2px #004094;
  border-right: none;
  height: 40px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-button-left-wrapper:hover,
.project-button-right-wrapper:hover {
  background-color: #dee6ff;
}

.project-button-right-wrapper {
  border-right: solid 2px #004094;
}

.project-button-left-wrapper svg {
  transform: rotate(180deg);

}

.project-button {
  display: inline-flex;   /* mimic button layout */
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;         
  border: solid 2px #004094;
  background-color: transparent;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;  /* remove underline */
  cursor: pointer;        /* pointer on hover */
  color: #000233;
  flex: 0 0 auto;
  max-width: 220px;
  width: 180px;
}

.project-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #dee6ff;
  z-index: -1;
  transition: left 0.4s ease;
}

.project-button:hover::before {
  left: 0;              
}

.project-button-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 445px;
}

.project-button-text {
  margin: 8px 15px 9px 15px;
  font-size: 16px;
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #000233;
}

.project-button-divider {
  width: 2px;
  color: #163e9b;
  background-color: #163e9b;
  height: 42px;
}

.project-button-arrow-container {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-button-arrow-svg {
  width: 18px;
  height: 18px;
}

.project-button-arrow-line {
  fill: none;
  stroke: #004094;
  stroke-miterlimit: 10;
  stroke-width: 40px;
}

.news-wrapper {
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  border-top: 2px solid #004094;
  flex: 2;
}

.news1:hover,
.news2:hover {
  background-color: #f3f4f7;
  color: #163e9b;
}

.news1 {
  padding: 60px;
  border-right: solid 2px #004094;
}

.news2 {
  padding: 60px;
}

.news1,
.news2 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.headline-link {
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: inherit;
  text-decoration: none;
}

.publish-date {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #6C727F;
  font-weight: 100;
}
















/* looping text Marquee */

.marquee-section {
  width: 100%;
  overflow: hidden;
  background-color: #f3f4f7; 
  padding: 20px 0;
  border-bottom: solid 2px #004094;
  border-top: solid 2px #004094;
  z-index: 2;
  position: relative;
}

.home-marquee-container {
  display: flex;
  white-space: nowrap;
}

.marquee2-container {
  width: 100%;
  overflow: hidden; /* Clip overflow */
  position: relative;  /* Adjust as needed */
  white-space: nowrap;
  padding: 130px 0px 30px 0px;
  height: auto;
  flex: 20%;
  display: flex;
  align-items: center;
}

.marquee-text-hero {
  display: inline-block;
  font-size: clamp(100px, 7.8vw, 130px);
  font-weight: 900;
  font-family: 'Gotham', Arial, sans-serif;
  text-transform: uppercase;
  -webkit-text-stroke: 2px #ffffff;
  color: transparent;
  will-change: transform;
  white-space: nowrap;
  padding-right: 0;
}


.marquee-text {
  display: inline-block;
  font-size: 100px; 
  font-weight: 900;
  font-family: 'Gotham', Arial, sans-serif;
  text-transform: uppercase;
  -webkit-text-stroke: 2px #004094;
  animation: scroll-left 200s linear infinite;
  color: transparent;
  will-change: transform;
}

.marquee-text .highlight { 
  color: transparent;
  -webkit-text-stroke: 2px #004094; 
}

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

/* Services Section */

@media (max-width: 760px) {
  .marquee-section {
    padding: 15px 0px !important;
  }
  .marquee-text {
    font-size: 80px;
  }
  .services-section {
    padding: 0px !important;
  }
  .services-heading-wrapper {
    padding-left: 30px !important;
  }
  .section-heading {
    font-size: 30px !important;
  }
  .service-header {
    padding-bottom: 15px !important;
  }
  .image-wrapper {
    display: block !important;
    height: 200px !important;
    margin-bottom: 10px;
  }
  .toggle-button {
    display: none !important;
  }
  .service-content-wrapper {
    padding-bottom: 10px !important;
  }
  .service-content-wrapper img {
    max-width: none !important;
  }
  .service-items-wrapper {
    padding: 0px 30px !important;
  }
  .service-title {
    font-size: 20px !important;
  }
}

.services-section {
  background-color: #FFFFFF; 
  font-family: 'Gotham', Arial, sans-serif;
  color: black;
  z-index: 2;
  position: relative;
}

.services-heading-wrapper {
  padding-left: 90px;
  border-bottom: solid 2px #004094;
}

.section-heading {
  color: #000233; 
  font-size: 40px;
  font-weight: 200;
  padding: 30px 0px;
  font-family: 'Saira', Arial, Helvetica, sans-serif;
}

.service-items-wrapper {
  padding: 0px 90px;
  border-bottom: solid 2px #004094;
}

.service-item {
  border-right: solid 2px #004094;
  border-left: solid 2px #004094;
}

.divider {
  border: none;
  height: 2px;
  background-color: #163e9b;
}

/* === FLEX WRAPPER for image + content === */
.service-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 30px;
}

/* === Dynamic image inserted via JS === */
.service-content-wrapper img {
  max-width: 180px;
  flex-shrink: 0;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  height: 150px;
  border: solid 2px #004094;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transform: scale(1.5);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
  will-change: transform, opacity;
}

/* Animate image scale + fade in */
.image-wrapper.reveal img {
  transform: scale(1);
  opacity: 1;
}

/* Overlays */
.blue-overlay,
.light-blue-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transform: translateX(0%);
}

/* Base blue swipe */
.blue-overlay {
  background-color: #163e9b;
  z-index: 4;
}

/* Light blue swipe */
.light-blue-overlay {
  background-color: #a8b8e0;
  z-index: 3;
}

/* Trigger animation on wrapper */
.image-wrapper.reveal .blue-overlay {
  animation: swipe-out 0.4s forwards;
}

.image-wrapper.reveal .light-blue-overlay {
  animation: swipe-out 0.4s 0.1s forwards;
}

/* Slide overlay right and fade */
@keyframes swipe-out {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
  }
}



/* === NEW: Right side of the flex layout === */
.content-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header: Title + Button in a row */
.service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: .3px;
}

/* Title styling */
.service-title {
  margin: 0;
  font-size: 22px;
  font-weight: 300;
  color: #000233;
  font-family: 'Saira', Arial, sans-serif;
  flex: 1;
}

/* Toggle button container (arrow + btn) */
.toggle-button {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Description shown below the title/button */
.service-description {
  display: none;
  margin-top: 20px;
  color: #163e9b !important;
  line-height: 1.5;
  font-weight: 300;
  padding-bottom: 20px;
  font-size: 16px;
}

/* Divider style */
.divider {
  color: #163e9b;
}

/* Arrow icon */
.arrow {
  width: 15px;
  height: 2px;
  background-color: #677BB8;
  position: relative;
  top: 1px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  transform: rotate(0deg);
}

.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-top: 2px solid #677BB8;
  border-right: 2px solid #677BB8;
  background: transparent;
  transition: border-color 0.3s ease;
}

.arrow.rotated {
  transform: rotate(90deg);
}

/* Button styling */
.learn-more-btn {
  position: relative;
  background: transparent;
  border: 2px solid #163e9b;
  color: #010511;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
  z-index: 1;
  font-family: 'Saira', Arial, Helvetica, sans-serif;
}

.learn-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #dee6ff;;
  z-index: -1;
  transition: left 0.4s ease;
}

.learn-more-btn:hover::before {
  left: 0;
}

.learn-more-btn.active {
  color: white;
  border-color: #677BB8;
}

.learn-more-btn.active::before {
  left: 0;
}

.services-bottom-spacer {
  height: 90px;
  width: 100%;
}




/* NAFCO Stats Section + Photo Carousel styling */

@media (max-width: 1080px) {
  .stats-carousel-wrapper {
    flex-direction: column;
    display: flex;
  }
  .stats-column,
  .carousel-column {
    width: 100%;
    flex: none;
    min-height: 700px; /* or whatever height is appropriate */
  }
  .stats-column {
    border-bottom: solid 2px #004094;
    flex: 2 !important;
  }
  .stats-heading h2 span {
    margin-top: -20px;
  }
  .stats-heading {
    padding-bottom: 0px !important;
  }
  .carousel-column {
    border-left: none !important;
  }
  .carousel-container {
    height: auto;
  }
  .carousel-slide {
    position: relative;
    height: auto;
    opacity: 1;
    transform: scale(1);
    z-index: 1;
  }
  .carousel-slide:not(.active) {
    display: none;
  }
  .carousel-overlay {
    padding: 20px;
  }
}

@media (max-width: 760px) {
  .heading-container {
    padding-left: 30px !important;
    padding-top: 20px !important;
  }
  .stats-heading {
    padding-bottom: 10px;
  }
  .stats-heading h2 {
    font-size: 30px !important;
    line-height: 57px !important;
  }
  .stats-subhead {
    font-size: 19px !important;
  }
  .stats-header-break {
    display: block !important; /* forces it onto a new line */
  }
  .stats-button-wrapper {
    padding-left: 30px !important;
  }
  .stats-button {
    padding: 10px 14px !important;
    width: 130px !important;
  }
  .stats-headline1,
  .stats-headline2,
  .stats-headline3,
  .stats-headline4 {
    font-size: 42px !important;
  }
  .slider-card1 {
    margin-left: 30px !important;
  }
  .slider-controls {
    margin: 30px !important;
  }
  .carousel-column {
    min-height: 450px !important;
  }
  .carousel-column-divider {
    height: 20% !important;
  }
  .carousel-header-bar {
    height: 50px !important;
    width: 85% !important;
  }
  .carousel-header-title {
    font-size: 16px !important;
    padding: 5px 15px !important;
    font-weight: 400 !important;
  }
  .carousel-arrows-wrapper {
    width: 30% !important;
  }
  .carousel-arrow-svg {
    padding: 10px !important;
    stroke-width: 30px !important;
  }
  .carousel-container {
    width: 85% !important;
  }
  .carousel-overlay {
    padding: 30px !important;
  }
  .stats-column {
    min-height: 600px !important;
  }
}

.stats-carousel-section {
  display: flex;
  color: white;
  justify-content: center;
  border-top: solid 2px #004094;
  border-bottom: solid 2px #004094;
  background-color: white;
  z-index: 2;
  position: relative;
}

.stats-carousel-wrapper {
  display: flex;
  width: 100%;
  height: auto;
  min-width: 0;
}


.stats-column {
  flex: 1;
  background: #f3f4f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.heading-container {
  padding-top: 40px;
  padding-left: 90px;
}

.stats-heading h2{
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-weight: 200;
  font-size: 40px;
  color: #000233;
}

.stats-header-break {
  display: inline;
}

.stats-headline1 {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 60px;
  color: #163e9b;
}

.stats-headline2, .stats-headline3 {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 60px;
  color: transparent;
  -webkit-text-stroke: 2px #677BB8;
}

.stats-headline4 {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 60px;
  color: #ffffff;
}

.stats-subhead-container {
  padding-bottom: 30px;
}

.stats-subhead {
  font-size: 25px;
  margin: 0;
  color: #677BB8;
  font-family: 'Saira',Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.stat-item {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
}

.stat-item:nth-child(odd) {
  background-color: rgba(255, 255, 255, 1); /* subtle white background */
  padding: 10px; /* optional: gives the background space to breathe */
}


.stat-line {
  flex: 1;
  height: 1px;
  background-color: #677BB8;
  margin-right: 1rem;
}

.stats-column.visible .home-stat-number {
  opacity: 1;
  transform: translateY(0);
}

.carousel-column {
  flex: 1;
  position: relative;
  border-left: solid 2px #004094;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100% !important;
}

.carousel-column-divider {
  width: 2px;
  height: 10%;
  background-color: #004094;
}

.carousel-header-bar {
  width: 80%;
  height: 80px;
  background-color: white;
  border-top: solid 2px #004094;
  border-left: solid 2px #004094;
  border-right: solid 2px #004094;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.carousel-header-title {
  font-weight: 200;
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-size: 25px;
  color: #000233;
  padding: 20px;
}

.carousel-arrows-wrapper {
  height: 100%;
  width: 30%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.carousel-arrow-button {
  width: 50%;
  height: 100%;
  border: none;
  background-color: white;
  border-left: solid 2px #004094;
}

.carousel-arrow-button:hover {
  background-color: #dee6ff;
}

.carousel-arrow-svg {
  width: 100%;
  height: 100%;
  stroke: #004094; /* white arrows for contrast */
  stroke-width: 20px;
  fill: none;
  transition: stroke 0.3s ease;
  vector-effect: non-scaling-stroke;
  padding: 20px;
}

.carousel-arrow-button.left .carousel-arrow-svg {
  transform: rotate(-180deg);
}







.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: clip-path;
}

.carousel-container {
  height: 100% !important;
  width: 80%;
  overflow: hidden;
  position: relative;
  border: solid 2px #004094;
}

.carousel-track {
  position: relative; 
  height: 100%;
}

/* Each slide now overlaps using absolute positioning */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.4s ease;
  z-index: 0;
  inset: 0;
}

.carousel-container { 
  height: 420px; 
  overflow: hidden; 
}

@media (max-width: 1024px) { .carousel-container { height: 360px; } }
@media (max-width: 640px)  { .carousel-container { height: 260px; } }







/* Overlay with gradient and title/ticks */
.carousel-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 59px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 5;
}

.carousel-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.carousel-title {
  font-size: 1.25rem;
  color: #fff;
  font-weight: bold;
  transition: opacity 0.05s ease-in-out;
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-weight: 300;
}

/* Updated tick styling for full-width bars */
.carousel-ticks {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
  width: 100%;
}

.tick {
  flex: 1;
  height: 2px;
  background-color: #aaa;
  border-radius: 1px;
  transition: background-color 0.05s ease-in-out;
}

.tick.active {
  background-color: #163e9b; /* Custom active color */
}

.toggle-section {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.toggle-section div {
  position: relative;
  cursor: pointer;
  color: white;
  font-weight: bold;
  padding-bottom: 5px;
  transition: color 0.3s ease;
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 200;
}

/* Underline effect */
.toggle-section div::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: white;
  transform: scaleX(1); 
  transform-origin: left;
  transition: background-color 0.3s ease;
}

.toggle-section div:hover {
  color: #163e9b; 
}

.toggle-section div:hover::after {
  background-color: #163e9b;
}

.slider-track-wrapper {
  display: flex;
  gap: 30px; 
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 20px 0;
  white-space: nowrap;
}

/* CARD GROUP TWO STYLINGS */

.slider-card-residential {
  display: none; /* hide residential cards by default */
}

.slider-card1[data-group="residential"] {
  background-color: white; 
}

.slider-card1[data-group="residential"] .card1-heading1 {
  color: #004094; /* any color you want */
}

.slider-card1[data-group="residential"] .no-bullets {
  color: #004094;
}






/* Individual card styles */
.slider-card1, 
.slider-card2, 
.slider-card3, 
.slider-card4 {
  height: 280px;
  background-color: #f3f4f7;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 8px rgba(127, 127, 127, 0.4);
  transition: transform 0.3s ease;
  border: solid 2px #004094;
}

.slider-card1 {
  background-color: #829cea;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 90px;
}

.slider-card2 {
  background-color: #191D49;
  display: flex;
  align-items: flex-start;
  padding: 20px 30px;

}

.slider-card3 {
  background-color: #a8b8e0;
}

.slider-card4 {
  background-color: #163e9b;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.slider1-container {
  padding: 30px;
  height: 100%;
}

.slider2-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.slider3-container {
  height: 100%;
}

.slider-card3-img-container {
  overflow: hidden;
  height: 200px;
  width: 250px;

}

.card1-heading-container {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding-bottom: 20px;
  padding-top: 5px;
}

.card1-heading1 {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: white;
  text-transform: uppercase;
  font-size: 20px;
}

.card1-divider {
  width: 100%;
  height: 2px;
  background-color: #004094;
  margin-bottom: 20px;
}

.no-bullets {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: 'Saira',Arial, Helvetica, sans-serif;
  color: white;
  font-weight: 300;
  justify-content: space-between;
  height: 120px;
}


.award1-container, 
.award2-container, 
.award3-container,
.award4-container,
.award5-container {
  display: flex;
}

.award-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.award-number {
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 500;
  color: white;
  padding-right: 25px;
}

.award-title {
  font-family: 'Saira',Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-size: 17px;
  color: white;
}

.award-project {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 200;
  font-size: 12px;
  color: #8eaaff;
}

.slide3-image {
  width: 100%;
  height: 100%;
  border-bottom: solid 2px #004094;
  object-fit: cover;
}

.slide3-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px 30px;
}

.slide3-title {
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 300;
}

.card3-subhead {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #001f3f;
}

.home-stats-container {
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.home-stat-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: solid 1px white;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
}

.home-stat-number {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  margin-right: 1rem;
  white-space: nowrap;
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.home-stat-description {
  font-size: 20px;
  color: #ffffff;
  white-space: nowrap;
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-weight: 200;
}





/* Optional hover effect */


/* Hide scrollbar for a cleaner look */
.slider-track-wrapper::-webkit-scrollbar {
  display: none;
}
.slider-track-wrapper {
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
  display: flex;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scrollbar-width: none;
}



.slider-button {
  background-color: white;
  color: #000233;
  border: solid 2px #163e9b;
  position: absolute;
  left: 0;
  cursor: grab;
  transform: translateY(-50%);
  z-index: 2;
  top: 50%;
  width: 120px;
  height: 40px;
}

.button-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.button-text {
  margin: 8px 15px;
  font-size: 16px;
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-weight: 400;
}

.button-divider {
  width: 2px;
  color: #163e9b;
  background-color: #163e9b;
  height: 40px;
}

.button-arrow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.slider-button:active {
  cursor: grabbing;
  background-color: #eee;
}

.slider-controls {
  position: relative;
  height: 40px;
  margin: 30px 90px 50px 90px;
}

#customSliderTrack {
  scroll-behavior: smooth;
}






/* STATS SECTION SWAP CARDS BUTTON */

.stats-button-bar {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

/* Full-width line behind buttons */
.stats-button-bar::before {
  content: "";
  position: absolute;
  top: 50%; /* adjust to align with buttons */
  left: 0;
  width: 100%;
  height: 2px;
  background-color: darkblue;
  z-index: 0; /* behind buttons */
}

/* Buttons container */
.stats-button-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 2; 
  padding-left: 90px;
}

/* Buttons */
.stats-button {
  width: 134px;
  padding: 12px 18px;
  background: white;
  border: 2px solid darkblue;
  font-family: 'Saira', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000233;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Remove right border on first button so they touch */
.stats-button:first-child {
  border-right: none;
}

.stats-button.active {
  background-color: #dee6ff;
}


.slider-block {
  width: 100%;
  overflow-x: hidden;
  position: relative; /* For positioning the slider button */
}

.slider-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #004094;
  transform: translateY(-50%);
  z-index: 1;
}

.slider-icon {
  display: flex;
  align-items: center;
}

.arrow-svg {
  width: 18px;
  height: 18px;
}

.slider-button-arrow-line {
  fill: none;
  stroke: #000233;
  stroke-miterlimit: 10;
  stroke-width: 40px;
}











/* SPECIALTIES SECTION */




@media (max-width: 760px) {
  .specialties-wrapper {
    display: block;
    position: relative;
    flex-direction: column;
  }

  .specialties-left {
    position: static !important;   /* instead of sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    background: white;  /* make sure content scrolls under cleanly */
    border-bottom: solid 2px #004094;
    border-right: none !important;
    flex-direction: column !important;
    padding-bottom: 50px;
    min-width: 0px !important;
  }
  .specialties-counter-wrapper {
    border-bottom: none !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding-top: 30px;
    padding-left: 38px;
  }
  .specialties-counter {
    font-size: 100px !important;
    padding-left: 0px !important;
  }
  .specialties-heading {
    font-size: 30px !important;
  }
  .specialties-header {
    font-size: 30px !important;
    line-height: 37px !important;
  }
  .specialties-heading-inner {
    padding: 0px 38px 0px 38px !important;
  }
  .specialties-right {
    margin-top: 10px; /* adjust this to the actual height of .specialties-left */
    position: relative;
    z-index: 1;
    background: white;
    min-width: 0px !important;
  }
  .specialties-wrapper1 {
    width: 85% !important;
  }
  .specialties-box-upper {
    flex-direction: column !important;
  }
  .skills-header {
    padding: 13px 20px !important;
  }
  .skills-row-wrapper {
    flex-direction: column !important;
  }
  .skills-wrapper {
    justify-content: flex-start !important;
    border-right: none !important;
    border-bottom: solid 2px #004094;
  }
  .skill-item-wrapper {
    justify-content: flex-start !important;
    border-right: none !important;
    padding: 13px 20px !important;
  }
  .skill-item-wrapper:not(:last-child) {
    border-bottom: solid 2px #004094;
  }
}





@media (max-width: 1130px) {
  .specialties-left {
    flex: 0 0 35% !important;
    min-width: 400px ;
  }
  .specialties-right {
    min-width: 700px ;
  }
  .specialties-heading {
    font-size: clamp(35px, 4.0vh, 40px) !important;
  }
  .specialties-counter {
    font-size: 150px !important;
  }
}





.specialties-section {
  background-color: white;
  border-bottom: solid 2px #004094;
  z-index: 2;
  position: relative;
}

.specialties-top-spacer {
  height: 100px;
  border-bottom: solid 2px #004094;
}

.specialties-wrapper {
  display: flex;
}

.specialties-left {
  border-right: solid 2px #004094;
  flex: 1;
  display: flex;
  flex-direction: column;

  position: sticky;
  top: 0;               /* sticks at the top of the viewport */
  flex: 0 0 40%;        /* fixed width for left column */
  max-height: 100vh;    /* never taller than screen */
  overflow: hidden;     /* prevents overflow while pinned */

}

.specialties-counter-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: solid 2px #004094;
  flex: 1;
}

.specialties-counter {
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-size: 200px;
  font-weight: 800;
  text-transform: uppercase;
  -webkit-text-stroke: 2px #004094;
  color: transparent; 
  padding-left: 90px;
}

.specialties-heading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  flex: 2;
}

.specialties-heading-inner {
  padding: 90px 30px 30px 90px;
  max-width: 90%;
}

.specialties-heading {
  font-family: 'Saira',Arial, Helvetica, sans-serif;
  font-size: 50px;
  font-weight: 200;
  color: #191D49;
  padding-bottom: 10px;
}

.specialties-subhead {
  font-family: 'Gotham',Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 200;
  color: #004094;
  line-height: 25px;
}

.specialties-right {
  flex: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.specialties-outer {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: solid 2px #004094;
}

.specialties-outer:last-child {
  border-bottom: none !important;
}

.specialties-wrapper1 {
  padding-top: 50px;
  width: 80%;
}

.specialties-header {
  font-family: 'Saira',Arial, Helvetica, sans-serif;
  font-size: 40px;
  font-weight: 200;
  color: #191D49;
  padding-bottom: 20px;
}

.specialties-copy1,
.specialties-copy2 {
  font-family: 'Gotham',Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #004094;
  font-weight: 300;
  line-height: 25px;
  padding-bottom: 30px;
}

.specialties-box-wrapper {
  border: solid 2px #004094;
  margin-bottom: 70px;
}

.specialties-box-upper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-items: stretch;
}

.skills-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #677BB8;
  border-right: solid 2px #004094;
}

.skills-row-wrapper {
  display: flex;
  height: 100%;
  width: 100%;
  flex: 1;
  flex-wrap: wrap;
}
.skill-item-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  text-align: center;
  flex: 1;
}

.skill-item-wrapper:not(:last-child) {
  border-right: solid 2px #004094;
}

.skills-header {
  font-family: 'Gotham',Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 500;
  color: white;
  padding: 20px;
  text-align: center;
}

.skills-item {
  font-family: 'Gotham',Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #677BB8;
}

.specialties-box-bottom {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-top: solid 2px #004094;
}

.specialties-box-bottom img {
  width: 100%;         
  height: 100%;    
  object-fit: cover; 
  object-position: center;
  display: block;
  transform: scale(1.6) translateY(0);
}


#gradient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -100; 
  width:100%;
  height:100%;
  --gradient-color-1: #004094; 
  --gradient-color-2: #000233; 
  --gradient-color-3: #000319;  
  --gradient-color-4: #000000;
}

* Footer element positioning */
.site-footer {
 position: relative;
 z-index: 1;
 pointer-events: none;
 transition: pointer-events 0s ease 0s;
}
/* Make footer interactive when active */
.site-footer.footer-active {
 pointer-events: auto;
 z-index: 10;
}

.footer-top {
    display: flex;
    border-bottom: solid 2px #163e9b;
}

.footer-logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-right: solid 2px #163e9b;
    width: 550px;
    padding-left: 90px;
    padding-right: 250px;
    flex: 1;
}

.footer-logo {
    width: 200px;
    height: auto;
}

.footer-middle {
    position: relative;
    left: 50%;
    margin-left: -50vw;
    display: flex;
    flex-direction: row;
    width: 100vw;
}

.contact-header,
.location-header,
.certifications-header,
.getintouch-header {
    font-family: 'Saira', Arial, Helvetica, sans-serif;
    color: white;
    font-size: clamp(25px, 1.5vw, 40px);
    font-weight: 300;
    border-bottom: solid 2px #163e9b;
}

.contact-column,
.location-column,
.certifications-column {
    border-right: solid 2px #163e9b;
    width: 25%;
}

.getintouch-column {
    width: 25%;
}

.contact-header {
    padding-left: 90px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.location-header-copy,
.certifications-header-copy,
.getintouch-header-copy {
    padding: 30px;
}

.contact-header-copy {
    padding: 30px 30px 30px 0px;
}

.contact-column {
   display: flex;
   flex-direction: column;
}

.contact-bullets {
    color: #8eaaff;
    font-family: 'Saira', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 200;
    padding: 30px 30px 30px 90px;
}

.contact-item {
    padding-bottom: 10px;
}

.contact-item a {
  text-decoration: none;
  color: #8eaaff;
}

.contact-item a:hover {
  color: white;
}

/* Ensure all footer links are clickable */
.footer a,
.footer-apply-link,
.linkedin-link,
.map-link {
 pointer-events: auto;
 position: relative;
 z-index: 10;
} 

.linkedin-link {
  color: #8eaaff;
  text-decoration: none;
}


.location-one {
    display: flex;
    padding: 30px 30px 30px 30px;
}

.location-two {
    display: flex;
    padding: 0px 30px 30px 30px;
}

.location-number {
    color: #8eaaff;
    font-family: 'Saira', Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 400;
    padding-right: 20px;
}

.location-one-address,
.location-two-address {
    color: #8eaaff;
    font-family: 'Saira',Arial, Helvetica, sans-serif;
    font-weight: 200;
}

.map-link {
  text-decoration: none; 
  color: inherit;        
  cursor: pointer;       
}

.map-link:hover {
  text-decoration: none; 
  color: white;
}

.footer-bottom {
    border-top: solid 2px #163e9b;
    pointer-events: auto;
    position: relative;
    z-index: 5;
}

.footer-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 90px;
}

.rights-reserved {
    font-family: 'Gotham', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 200;
    color: #8eaaff;
}

.footer-bottom-right {
    color: #8eaaff;
    font-family: 'Gotham', Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
}

.privacy-policy {
    padding-right: 40px;
}

.certifications-bullets {
    color: #8eaaff;
    font-family: 'Saira', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 200;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
}

.certifications-item {
    padding-bottom: 10px;
}

.getintouch-bottom {
    padding: 30px;
}

.line-one {
    font-family: 'Saira', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 200;
    color: #8eaaff;
}

.getintouch-message {
    font-family: 'Saira', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 200;
    color: #8eaaff;
    margin-top: 10px;
}

/* Ensure footer form elements are clickable */
.footer-form,
.footer-input,
.footer-submit,
.footer-form-container {
  pointer-events: auto;
  position: relative;
  z-index: 10; 
}

.footer-form-container {
  margin-top: 10px;
  max-width: 200px;
}

.footer-form {
  display: flex;
  align-items: center;
  border: 2px solid #163e9b;
  background-color: transparent;
  height: 42px;
  overflow: hidden;
  width: 100%;
  max-width: 350px;
}

.footer-input {
  background: transparent;
  border: none;
  color: #8eaaff;
  padding: 8px 12px;
  width: 100%;
  font-size: 16px;
  outline: none;
  font-family: 'Saira', Arial, Helvetica, sans-serif;
  font-weight: 300;
}

/* Button reset & styling */
.footer-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-left: 2px solid #163e9b;
  height: 100%;
  width: 60px; /* adjust as needed for spacing */
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 0;
}

/* Optional hover background or lighten border */
.footer-submit:hover {
  background-color: #8eaaff;
}

/* Arrow SVG */
.arrow-svg {
  width: 18px;
  height: 18px;
  stroke: white;
  fill: none;
  stroke-width: 25px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.footer-submit:hover .arrow-svg {
  stroke: #7E98CB;
}

.footer-link {
  color: #8eaaff;
  font-family: 'Gotham', Arial, Helvetica, sans-serif;
  font-weight: 200;
  font-size: 15px;
  text-decoration: none;
  margin-right: 40px;
  position: relative;
  transition: all 0.3s ease;
  pointer-events: auto;
  z-index: 10;
}

.footer-link:last-child {
  margin-right: 0;
}

.footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: #8eaaff;
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

/* looping text Marquee */



.footer-marquee-container {
  width: 100%;
  overflow: hidden; /* Clip overflow */
  position: relative;  /* Adjust as needed */
  white-space: nowrap;
  padding: 30px 0px;
}

.footer-marquee {
  display: inline-block;
  font-size: 100px; 
  font-weight: 900;
  font-family: 'Gotham', Arial, sans-serif;
  font-style: uppercase;
  -webkit-text-stroke: 2px white;
  animation: scroll-left 200s linear infinite !important;
  color: transparent;
}

.footer-marquee .highlight { 
  color: transparent;
  -webkit-text-stroke: 2px #677BB8; 
}

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


@media (max-width: 768px) {
    .footer-logo-container {
        padding-right: 90px;
    }
   .footer-middle {
        flex-direction: column;
   }
  .contact-column,
  .location-column,
  .certifications-column,
  .getintouch-column {
    width: 100%;
    border-right: none;
  }
  .location-header,
  .certifications-header,
  .getintouch-header {
    padding-left: 90px;
    border-top: solid 2px #163e9b;
  }
  .location-header-copy,
  .certifications-header-copy,
  .getintouch-header-copy,
  .contact-header-copy {
     padding: 20px 20px 20px 0px;
   }
   .location-one {
    padding: 30px 90px 30px 90px;
   }
   .location-two {
    padding: 0px 90px 30px 90px
   }
   .certifications-bullets {
    padding: 30px 90px;
   }
   .getintouch-bottom {
    padding: 30px 90px;
   }
   .footer-bottom-right {
    display: none;
   }
}

@media (max-width: 760px) {
    .footer-logo-container {
        padding-left: 30px;
        padding-right: 30px !important;
    }
    .footer-logo {
        width: 160px;
    }
    .footer-marquee-container {
        padding: 10px 0px;
    }
    .footer-marquee {
        font-size: 80px;
    }
    .location-header-copy,
    .certifications-header-copy,
    .getintouch-header-copy,
    .contact-header-copy {
        padding: 15px 15px 15px 0px;
    }
    .contact-header,
    .location-header,
    .certifications-header,
    .getintouch-header {
    padding-left: 30px;
    }
    .contact-bullets {
        padding: 30px 30px 30px 30px;
    }
    .contact-item {
        padding-bottom: 5px;
    }
    .certifications-column {
        display: none;
    }
    .location-number {
      display: block !important;
    }
    .location-one {
    padding: 30px 30px 15px 30px;
   }
   .location-two {
    padding: 0px 30px 30px 30px
   }
   .getintouch-bottom {
    padding: 30px;
   }
   .footer-bottom-wrapper {
    padding: 30px;
   }
}




@media (max-width: 1080px) {
  .footer-logo-container {
    padding-right: 100px;
  }
  .location-number {
    display: none ;
  }
}
