@font-face {
  font-family: 'The Glorious';
  src: url('fonts/The Glorious-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Visually hidden — readable by Google and screen readers, invisible to users */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* html {
  overflow-y: scroll;
}  */


html,
body {
  overflow-x: hidden;
  height: 100%;
  margin: 0;
  font: 400 16px/1.6 "Lato", sans-serif;
  color: #F8FAFC;
  scroll-behavior: smooth;
}

.blue {
  color: #a91f23 !important;
}

.animated-text .blue {
  color: #a91f23 !important;
  opacity: 1 !important;
}

a:active,
a:focus {
  font-weight: 600;
  color: #fff !important;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
  transition: all 0.1s ease-in;
}

a:hover {
  color: #f0f0a0;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.15);
  transition: all 0.15s ease-in-out;
}


nav {
  display: flex;
  /* Makes nav a flex container */
  justify-content: space-between;
  /* Pushes left and right to edges */
  align-items: center;
  /* Keeps both nav sides vertically aligned */
  position: fixed;
  top: 0;
  /* left: 0;
  right: 0; */
  width: 100%;

  height: 80px;
  padding: 0 40px;
  box-sizing: border-box;
  z-index: 1000;
  /* pointer-events: none; */

  background: linear-gradient(135deg, #2B3269, #141A43, #0E112E);
  /* Blue gradient */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  /* Subtle bottom border */
}

/* nav * {
  pointer-events: auto;
} */


nav a {
  text-decoration: none;
}

.nav-left {
  font-family: 'Orbitron', sans-serif;
  /* font-size: x-large; */
  letter-spacing: 0px;
  align-items: center;
  height: 100%;
}

.nav-left li a{
  margin-bottom: -10px;
}

.nav-wordmark-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* gap: 6px; */
}

.wordmark-img {
  max-width: 300px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* .wordmark-phone {
    margin-top: 4px; 
} */

/* .phone-link {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: #F8FAFC;
  text-decoration: none;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
} */



.mobile-quote-link {
  display: none;
}

.nav-phone {
  margin-left: 12px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-family: 'Orbitron', sans-serif;
}

.nav-phone a {
  color: #F8FAFC;
  text-decoration: none;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.25);
  transition: color 0.3s ease;
}

/* 
.nav-phone a:hover {
  color: #f0f0a0;
} */


/* Container for stacked nav logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
  /* Tiny gap between top, text, and bottom */
}

.nav-logo-bottom {
  transform: scale(1.25);
}

.nav-logo-top {
  transform: scale(1.0);
}

/* Top and bottom images */
.nav-logo-top,
.nav-logo-bottom {
  max-height: 25px;
  /* width: auto; */
  filter: brightness(1.8);
  /* Makes them white */
  display: block;
  margin: 0;
  padding: 0;
}

/* Logo text */
.nav-logo-text {
  /* font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; */
  font-size: .5rem;
  letter-spacing: 1px;
  color: #F8FAFC;
  text-decoration: none;
  line-height: 1;
  margin: 0;
  padding: 0;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
  /* subtle glow */
}


/* .nav-left a{
  margin-left: 5%;
} */

.nav-left,
.nav-right {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-right {
  font-family: 'Orbitron', sans-serif;
  justify-content: flex-end;
  gap: 5px;
  font-size: small;
}

.hamburger {
  display: none;
  /* Hidden by default, shown via media query */
  width: 30px;
  height: 21px;
  position: relative;
  font-size: 28px;
  color: #F8FAFC;
  cursor: pointer;
  z-index: 1100;
  /* Make sure it’s above the nav */
}

.frame {
  padding: 2%;
  max-width: 90%;
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);

  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #ffffff, #c0c0c0, #ffffff);
  border-image-slice: 1;
}




/* Fullscreen container */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  /* full screen height */
  overflow: hidden;
}

/* .hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image: url('assets/grain.png'); 
  background-size: cover;
  background-repeat: repeat;
  opacity: 0.08; 
  mix-blend-mode: overlay; 
} */


/* Each slide (video/image) */
.hero-slide {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 
#slide2{
  top: -25%;
} */

/* Show only the active slide */
.hero-slide.active {
  display: block;
}

/* Shared styling for both video and image */
.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) grayscale(10%) brightness(.9) contrast(1.1);
  /* ensures it fills the space without distortion */
}

.new-hero-logo img {
  display: block;
  margin: 0 auto;
  max-width: 250px;
  width: 100%;
  height: auto;
  padding: 0;
  border: none;
}



/* Overlay content (title + subtitle) */
.hero-content {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* centers the content */
  color: #F8FAFC;
  text-align: center;
  z-index: 2;
}

.hero-content h1,
.hero-content p {
  margin: 0;

}

/* Optional: Large title */
.hero-title {
  font-size: 5rem;
  font-weight: bold;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  letter-spacing: 6px;


}

.hero-paragraph {
  border: 2px solid #F8FAFC;
  padding: 2%;
}

.logo-mid h1.hero-title {
  text-shadow:
    4px 4px 4px rgba(0, 0, 0, 0.9),
    /* deep shadow */
    -2px -2px 2px rgba(255, 255, 255, 0.1),
    /* subtle top light */
    1px 1px 1px rgba(0, 0, 0, 0.4);


  transform-style: preserve-3d;
  opacity: 0;
  /* initial state for animation */
  animation: blurFadeInOnce 2s ease-out forwards;
  /* animation: tiltLoop 5s ease-in-out alternate; */
}

@keyframes blurFadeInOnce {
  0% {
    opacity: 0;
    text-shadow: 0 0 40px #fff;
    transform: scale(1.3);
  }

  50% {
    opacity: 0.6;
    text-shadow: 0 0 20px #fff;
    transform: scale(1.1);
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 2px #fff;
    transform: scale(1);
  }
}




/* @keyframes tiltLoop {
  0% {
    transform: perspective(800px) rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: perspective(800px) rotateX(18deg) rotateY(-18deg);
  }
  50% {
    transform: perspective(800px) rotateX(0deg) rotateY(0deg);
  }
  75% {
    transform: perspective(800px) rotateX(-18deg) rotateY(18deg);
  }
  100% {
    transform: perspective(800px) rotateX(0deg) rotateY(0deg);
  }
} */


.hero-subtitle {
  margin: 0;
  line-height: 1.2;
  font-size: 1.25rem;
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

/* .hero-locations {
  margin-top: 16px !important;
   Try 12–24px depending on how much space you want
} */

.hero-family-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(248, 250, 252, 0.6);
  text-transform: uppercase;
  margin: 4px 0 0 0;
}

.hero-subtitle {
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.boldBeautiful {
  font-weight: 700;
  font-size: 1.1em;
  /* Slightly larger */
  letter-spacing: 0.5px;
  display: inline-block;
  transform: translateY(-1px);
  /* Optional: gives it a slight lift */
}

.hero-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0px;
  z-index: 2;
  position: relative;
  margin-top: 90px;
  /* Push down below nav */
}

.logo-top img {
  margin: 0;
  /* Tighten spacing */
  max-height: 75px;
}

.logo-bottom {
  margin-bottom: 10px;
  /* Adjust this value as needed */
}


.logo-bottom img {
  max-height: 95px;
  margin: -2px 0;
  /* Tighten spacing */
}

.logo-top img,
.logo-bottom img {

  width: auto;
  filter: invert(1) brightness(1.8);
  filter: brightness(0) saturate(100%) invert(14%) sepia(93%) saturate(7500%) hue-rotate(-5deg);
  opacity: 0.95;
  display: block;

}

.logo-mid h1.hero-title {
  font-size: 2rem;
  letter-spacing: 1px;
  margin: -11px 0;
  line-height: 1;
  position: relative;
  top: 0px;
  /* nudges the text down */
}



.hero-services-box {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  border-radius: 0;
  /* margin-top: 30px; */
}

.hero-services-box span {
  white-space: nowrap;
  color: #F8FAFC;
}

.hero-services-box a {
  color: #F8FAFC;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-services-box a:hover {
  /* background-color: rgba(255, 255, 255, 0.15); */
  color: #fff;
}

.hero-services-box .service-link {
  position: relative;
  display: inline-block;
}

.hero-services-box .service-link a {
  display: flex;
  /* Stack vertically now */
  flex-direction: column;
  /* Column layout: icon on top, label below */
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 120px;
  min-height: 100px;
  /* Taller to fit both icon + label */
  padding: 10px 20px;
  /* More balanced spacing */
  color: #F8FAFC;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, background-color 0.3s ease; /* update this line */
  /* transition: background-color 0.3s ease; */
}

.hero-services-box .service-link a:hover {
  transform: scale(1.1);
}

.hero-services-box .icon {
  height: 4rem;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  filter: invert(1) brightness(2);
  transition: transform 0.4s ease;
  pointer-events: none;
}


.hero-services-box .label {
  position: static;
  transform: none;
  opacity: 1;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  pointer-events: none;
  transition: none;
}

.hero-services-box .sub-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #F8FAFC;
  opacity: 0.85;
  margin-top: 2px;
  text-transform: none;
  letter-spacing: 0.5px;
  line-height: 1.2;
  font-family: 'Orbitron', sans-serif;
}



/* 👇 Flip on hover */
/* .hero-services-box .service-link a:hover .icon {
  transform: scale(1.1);
} */

/* Toggle buttons at the bottom center */
.hero-toggle-buttons {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

/* FEATURES SECTION ANIMATIONS */

/* Scroll in from left for header */
.features-header {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.features-header.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Scroll fade-up for h3 and p inside feature cards */
.feature-card h3,
.feature-card p {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease-out;
}

.feature-card.in-view h3,
.feature-card.in-view p {
  opacity: 1;
  transform: translateY(0);
}

/* Icon animation - subtle bounce */
.feature-icon {
  animation: iconPulse 2.5s ease-in-out;
  transform-origin: center;
}

@keyframes iconPulse {
  0% {
    transform: scale(2.5);
  }

  /* 25% {
    transform: scale(2.1);
  } */
  50% {
    transform: scale(1.7);
  }

  /* 75% {
    transform: scale(1.3);
  } */
  100% {
    transform: scale(1);
  }
}

/* Fade-up utility class */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.scroll-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}


.learn-more-wrapper {
  text-align: center;
  margin-top: 20px;
}

.learn-more-btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: transparent;
  border: 2px solid #F8FAFC;
  color: #F8FAFC;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  /* background-color: #F8FAFC;
  color: #000; */
  background-color: #a91f23;
  color: #F8FAFC;
}


.toggle-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: white;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s;
}

.toggle-button:hover,
.toggle-button.active {
  opacity: 1;
}

/*feature section!!!*/
.features-section {
  /* background: linear-gradient(135deg, #0e0e0e, #021526, #2c2c2c); */
  background: linear-gradient(135deg, #2B3269, #141A43, #0E112E);
  padding: 60px 20px;
  color: #F8FAFC;
  font-family: 'Orbitron', sans-serif;
  text-align: center;
}

.features-header {
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 40px;
  letter-spacing: 1.5px;
  color: #F8FAFC;
  text-transform: uppercase;
}

.features-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px 20px;
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: invert(1) brightness(2);
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-text {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.scroll-fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.scroll-fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.effect-2 {
  position: relative;
  display: inline-block;
  padding: 10px 4px;
  color: #F8FAFC;
  text-decoration: none;
  transition: color 0.3s ease;
}

.effect-2::before,
.effect-2::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-style: solid;
  border-color: #F8FAFC;
  pointer-events: none;
  transition: transform 0.6s ease;
}

.effect-2::before {
  border-width: 2px 0;
  transform: scaleX(0);
  transform-origin: left center;
}

.effect-2::after {
  border-width: 0 2px;
  transform: scaleY(0);
  transform-origin: center top;
}

.effect-2:hover::before {
  transform: scaleX(1);
}

.effect-2:hover::after {
  transform: scaleY(1);
}


/* Animate only when in view */
.scroll-fade-up.in-view .effect-2::before {
  transform: scaleX(1);
}

.scroll-fade-up.in-view .effect-2::after {
  transform: scaleY(1);
}



/* Base parallax image settings */
.parallax {
  /* display: none; */
  position: relative;
  opacity: 0.75;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  /* Full screen height */
}

/* Parallax image backgrounds (replace with your own images) */
.parallax-1 {
  background-image: url("assets/video.jpg");
}

.parallax-2 {
  background-image: url("assets/alarmhand.jpg");
}

.parallax-3 {
  background-image: url("assets/smoke2.jpg");
}

.parallax-4 {
  background-image: url("assets/acPara.JPEG");
}

.parallax-5 {
  background-image: url("assets/intercom.jpg");
}

.parallax-6 {
  background-image: url("assets/audio3.jpg");
}

/* Final full-screen parallax image section */
.final-parallax {
  background-image: url("assets/truckImg2.jpeg");
  /* adjust path if needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

.overlay-title {
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  color: #F8FAFC;
  font-size: 2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 30px 0 10px;
}

.overlay-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #F8FAFC;
}

.overlay-title p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.overlay-title a {
  position: relative;
  color: #F8FAFC;
  font-size: 2rem;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
}

.overlay-title a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease, left 0.3s ease;
}

.overlay-title a:hover::before {
  width: 100%;
  left: 0;
}

.overlay-title.last-overlay {
  position: relative;
  z-index: 2;
}

.features-header {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.features-header.in-view {
  opacity: 1;
  transform: translateX(0);
}



/* .overlay-title a {
   styles go here 
  color: #F8FAFC;
  text-decoration: none;
  font-size: 2rem;
  transition: color 0.3s ease;
}

.overlay-title a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #F8FAFC;
  transition: width 0.3s ease, left 0.3s ease;
}

.overlay-title a:hover::after {
  width: 100%;
  left: 0;
} */



/* Optional dark overlay for better contrast */
.final-parallax::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  filter: blur(6px) grayscale(50%) brightness(0.5) contrast(1.1);
  /* Adjust darkness */
  z-index: 1;
}

/* Final Parallax Two Column Section */
.final-parallax-columns {
  position: relative;
  /* Allows z-index to take effect */
  z-index: 2;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 5%;
  color: #F8FAFC;
  font-family: 'Orbitron', sans-serif;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

/* Prevent any visibility or animation before JS is ready */
.preload .keyword-list li,
.preload .check-list li,
.preload .col-left,
.preload .col-right,
.preload .check-icon,
.preload .from-left,
.preload .from-right {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: none !important;
  transition: none !important;
}

.col-left,
.col-right {
  flex: 1 1 300px;
  z-index: 2;
  position: relative;
  /* Just to be safe */
  opacity: 0;
  transform: translateX(80px);
  transition: all 1s ease-out;
  visibility: hidden;
}

.col-right {
  display: flex;
  justify-content: center;
  flex-direction: column;
  /* <== stack children vertically */
  /* Center the whole column */
  align-items: center;
  text-align: left;
  /* Keep text left-aligned inside */
}

.col-left {
  /* transform: translateX(-80px); */
  text-align: center;
}

/* Show with delay via class */
.col-left.in-view,
.col-right.in-view {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  transition-delay: 2.3s;
}

.col-left.in-view .keyword-list li,
.col-right.in-view .check-list li {
  opacity: 1;
  visibility: visible;
  /* <-- reveal smoothly */
  transform: translateY(0);
}

.final-paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #F8FAFC;
  text-align: left;
  max-width: 480px;
  margin: 0 auto;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s ease-out;
}

.scroll-animate.in-view .final-paragraph {
  opacity: 1;
  transform: translateX(0);
}


/* .final-img {
  display: none;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 40px 8px rgba(0, 0, 0, 0.5); 
  max-height: 300px;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}


.final-image.from-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s ease;
} 

.scroll-animate.in-view .final-image.from-left {
  opacity: 1;
  transform: translateX(0);
} */

/* Left keywords list */
/* .keyword-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.keyword-list li {
  margin-bottom: 16px;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.7s ease-out;
} */

.keyword-list li,
.check-list li {
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

/* .scroll-animate.in-view .keyword-list li {
  opacity: 1;
  transform: translateX(0);
} */

/* Delay via nth-child (cascading effect) */
.keyword-list li:nth-child(1),
.check-list li:nth-child(1) {
  transition-delay: 0.2s;
}

.keyword-list li:nth-child(2),
.check-list li:nth-child(2) {
  transition-delay: 0.4s;
}

.keyword-list li:nth-child(3),
.check-list li:nth-child(3) {
  transition-delay: 0.6s;
}

.keyword-list li:nth-child(4),
.check-list li:nth-child(4) {
  transition-delay: 0.8s;
}

/* Trigger cascade on in-view */
/* .keyword-list li.in-view,
.check-list li.in-view {
  opacity: 1;
  transform: translateY(0);
} */

/* Right checklist */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 10px;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.check-list li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.7s ease-out;
}

.scroll-animate.in-view .check-list li {
  opacity: 1;
  transform: translateX(0);
}

/* Check icon animation */
.check-icon {
  color: #00ff88;
  margin-right: 12px;
  font-size: 1.2rem;
  transform-origin: center;
  transform: scale(0.01);
  /* Optional here too */
  animation: none;
  /* Default state */
  opacity: 0;
  /* Hidden by default for animation */
  transition: opacity 0.3s ease;
}

.check-icon.in-view {
  animation: jiggleOnce 0.6s ease forwards;
  /* animation-delay: 2.5s; */
  opacity: 1;
}

.keyword-wrapper,
.check-wrapper {
  opacity: 0;
  transform: translateX(80px);
  transition: all 1s ease-out;
}

.keyword-wrapper.in-view,
.check-wrapper.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Trigger li animations only when wrapper is in-view */
.keyword-wrapper.in-view .keyword-list li,
.check-wrapper.in-view .check-list li {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Run the checkmark animation */
.check-wrapper.in-view .check-icon {
  animation: jiggleOnce 0.8s ease forwards;
  opacity: 1;
}

/* Stagger the checkmark bounce */
.check-wrapper.in-view li:nth-child(1) .check-icon {
  animation-delay: 2.7s;
}

.check-wrapper.in-view li:nth-child(2) .check-icon {
  animation-delay: 3s;
}

.check-wrapper.in-view li:nth-child(3) .check-icon {
  animation-delay: 3.3s;
}

.check-wrapper.in-view li:nth-child(4) .check-icon {
  animation-delay: 3.6s;
}


@keyframes jiggleOnce {
  0% {
    transform: scale(0.01) rotate(0);
    opacity: 0;
  }

  30% {
    transform: scale(1.2) rotate(10deg);
    opacity: 1;
  }

  60% {
    transform: scale(0.95) rotate(-360deg);
  }

  100% {
    transform: scale(1.4) rotate(0);
  }
}

/* 
.scroll-animate.in-view .check-icon {
  animation: jigglePop 0.6s ease forwards;
  animation-delay: 0.7s; /* Wait until slide-in finishes 
} 


@keyframes jigglePop {
  0% {
    transform: scale(0.9) rotate(0deg);
  }
  30% {
    transform: scale(1.2) rotate(10deg);
  }
  60% {
    transform: scale(0.95) rotate(-10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
} */



/* Overlay title text
.overlay-title {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #F8FAFC;
  font-size: 2.5rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  transform: translateY(-50%);
  font-weight: bold;
} */

/* Content block between parallax images */
.content-section {
  background: linear-gradient(135deg, #2B3269, #141A43, #0E112E);
  color: #F8FAFC;
  padding: 20px 40px;
  text-align: center;
}

.content-section h2 {
  color: #F8FAFC;
  font-size: 2rem;
  margin-bottom: 20px;
}

.content-section p {
  font-family: 'Orbitron', sans-serif;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.animated-text span {
  display: inline-block;
  opacity: 0;
  transform: translateX(0);
  animation-fill-mode: forwards;
  white-space: nowrap;
}

/* Animation directions */
.scroll-animate.in-view .from-left {
  animation: slideInLeft 1s ease-out forwards;
}

.scroll-animate.in-view .from-right {
  animation: slideInRight 1s ease-out forwards;
}

/* Add animation delays */
.scroll-animate.in-view .from-left:nth-child(1) {
  animation-delay: 0.3s;
}

/* .scroll-animate.in-view .from-right:nth-child(2) { animation-delay: 0.9s; } */
.scroll-animate.in-view .from-left:nth-child(2) {
  animation-delay: .7s;
}

/* .scroll-animate.in-view .from-right:nth-child(4) { animation-delay: 2.1s; } */
.scroll-animate.in-view .from-left:nth-child(3) {
  animation-delay: 1.1s;
}

/* .scroll-animate.in-view .from-right:nth-child(6) { animation-delay: 3.3s; } */
.scroll-animate.in-view .from-left:nth-child(4) {
  animation-delay: 1.5s;
}

.scroll-animate.in-view .from-left:nth-child(5) {
  animation-delay: 1.9s;
}

.scroll-animate.in-view .from-left:nth-child(6) {
  animation-delay: 2.3s;
}

/* Keyframes */
@keyframes slideInLeft {
  from {
    transform: translateX(-100vw);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100vw);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}


/*BRAND BAR*/
.brand-bar {
  background: linear-gradient(135deg, #2B3269, #141A43, #0E112E);
  /* your signature blue gradient */
  padding: 20px 30px 20px;
}

.brand-bar-wrapper {
  text-align: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}


.brand-bar-title {
  font-family: 'Orbitron', sans-serif;
  color: #F8FAFC;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 10px;
}

.brand-bar-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 5px 0;
}

.brand-bar-container img {
  height: 50px;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* make logos white-like if they’re dark */
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.brand-bar-container img:hover {
  transform: scale(1.1);
  opacity: 1;
}

.collage-title {
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #F8FAFC;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 images per row */
  grid-template-rows: repeat(3, 120px);
  /* 3 rows, each 120px tall */
  gap: 0;
  max-width: 100%;
}



.collage-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}



.collage-grid img:hover {
  transform: scale(1.03);
}

.collage-wrapper {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.responsive-collage {
  max-width: 100%;
  height: auto;
  display: block;
}






/*Home page quote*/
.quote-section {
  background: linear-gradient(135deg, #2B3269, #141A43, #0E112E);
  color: #F8FAFC;
  padding: 60px 20px 40px;
  text-align: left;
}

.quote-title {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.quote-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 6px;
  background-color: #f8fafc0d;
  color: #F8FAFC;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  outline: none;
  transition: background-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(248, 250, 252, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  background-color: #1e2c3a;
}

.quote-note {
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.7);
  margin-top: 10px;
  padding-left: 5px;
}

.quote-submit {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #F8FAFC;
  color: #0e0e0e;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.quote-submit:hover {
  background-color: #a91f23;
  color: #F8FAFC;
}


/* Footer Container */
.footer {
  background: linear-gradient(135deg, #2B3269, #141A43, #0E112E);
  color: #F8FAFC;
  padding: 40px 20px 0;
  font-family: 'Lato', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding-bottom: 40px;
  border-bottom: 1px solid #444;
  text-align: left;
  /*base case*/
}

.footer-column {
  flex: 1;
  min-width: 220px;
  margin: 20px 10px;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-service-area {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(248, 250, 252, 0.5);
  margin: 8px 0 0 0;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

/* ── Subscribe Section ── */
.subscribe-section {
    background: #0E112E;
    padding: 40px 20px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    color: #F8FAFC;
}

.subscribe-container {
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-title {
    font-size: 1.8rem;
    color: #a91f23;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subscribe-text {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.subscribe-input {
    padding: 10px 15px;
    font-size: 1rem;
    border: 2px solid #2B3269;
    border-radius: 6px;
    min-width: 250px;
    max-width: 100%;
    box-sizing: border-box;
}

.subscribe-button {
    background: #a91f23;
    color: #F8FAFC;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-button:hover {
    background: #c02a2f;
}

@media (max-width: 768px) {
    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-input {
        width: 100%;
    }
}

.footer-logo img {
  max-width: 30%;
  height: auto;
  /* filter: brightness(0) invert(1);  */
}

/* .center-column {
  text-align: center;
  font-size: x-large;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  letter-spacing: 5px;
} */

/* Right column */
.footer-column:last-child {
  text-align: right;
}

.footer-column h3,
.footer-column h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #F8FAFC;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #F8FAFC;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #F8FAFC;
}

.center-column h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.center-column p {
  margin-top: 10px;
  color: #F8FAFC;
}

/* Social icons */
.footer-column i {
  font-size: 18px;
  color: #F8FAFC;
  margin-right: 10px;
  transition: color 0.3s;
}

.footer-column i:hover {
  color: #F8FAFC;
}

/* Bottom bar */
.footer-bottom {
  background-color: transparent;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  color: #F8FAFC;
}


/*QUOTE.HTML*/
.quote-contact-info {
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: #F8FAFC;
  margin-bottom: 20px;
}

.quote-contact-info a {
  color: #F8FAFC;
  text-decoration: none;
}

.quote-phone {
  display: flex;
  align-items: center;
  padding-top: 5%;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: #F8FAFC;
  text-decoration: none !important;
}

.quote-phone .material-icons {
  font-size: 20px;
  color: #F8FAFC;
}

.quote-phone a {
  color: #F8FAFC;
  text-decoration: none;
}

.quoteImg {
  margin: auto;
  display: block;
  object-fit: cover;
  width: 50%;
  filter: invert(1) brightness(1);
}

.bubble-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.bubble-option {
  background-color: rgba(255, 255, 255, 0.07);
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bubble-option input[type="checkbox"] {
  display: none;
}

.bubble-option input[type="checkbox"]:checked+span,
.bubble-option:has(input[type="checkbox"]:checked) {
  background-color: #F8FAFC;
  color: #0e0e0e;
  font-weight: bold;
  border-color: #F8FAFC;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.form-success {
  margin-top: 10px;
  color: #00ff88;
  font-weight: bold;
  text-align: center;
}







/* Disable parallax effect on smaller devices */
@media only screen and (max-device-width: 768px) {
  .parallax {
    background-attachment: scroll;
  }
}



.nav-left li a,
.nav-right li a {
  text-decoration: none;
  padding: 0 15px;
  color: #F8FAFC;
}

.hamburger span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: #F8FAFC;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 9px;
}

.hamburger span:nth-child(3) {
  top: 18px;
}

/* When active: animate to X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}


/* Responsive styles */
@media (max-width: 930px) {

  /* Show hamburger */
  .hamburger {
    display: block;
  }

  nav{
    padding-left: 1px;
  }

  .nav-left {
    /* margin-left: -40px; */
    margin-top: 30px;
    flex-direction: column; /* stack phone & quote */
    align-items: center;
    text-align: left;

  }

  .nav-left > li:first-child {
    flex-shrink: 0; /* 👈 prevents logo from shrinking */
  }

  /* .nav-left li a{
    margin-bottom: -10px;
  } */

  .mobile-quote-link {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1px;
    order: 1;
  }

  .nav-contact-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 👈 left align content */
    justify-content: center;
    gap: 4px;
    padding: 0;
  }

  .wordmark-img {
    max-width: 250px;
    
  }
  
  .wordmark-phone a {
    margin-top: 0;
    font-size: 0.85rem;
  }
  

  .mobile-quote-link a {
    /* display: inline-block; */
    font-family: 'Orbitron', sans-serif;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
  }

  .nav-phone {
    /* margin-left: -20px; */
    /* font-size: smaller; */
    margin: 0;
  }



  /* Hide the nav-right links by default */
  .nav-right {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 80px;
    /* aligns under your 80px nav */
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, #2B3269, #141A43, #0E112E);
    z-index: 999;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-right a {
    padding: 16px 0;
    font-size: 1rem;
    color: #F8FAFC;
    text-decoration: none;
    transition: background 0.3s ease;
  }


  /* Show menu when active (we'll add this class with JS) */
  .nav-right.active {
    display: flex;
  }

  .hero-content {
    top: 48%;
    /* was 50%, pushes everything lower */
    transform: translate(-50%, -50%);
  }

  .hero-logo-wrapper {
    margin-top: 20px;
    /* reduce from 60px if you had that */
  }

  .logo-top img {
    max-height: 60px;
    /* or whatever size looks clean */
    margin-top: 0;
    /* remove extra space if any */
  }

  .logo-bottom img {
    max-height: 80px;
    margin-bottom: 0;
    /* tighten spacing if needed */
  }

  .logo-mid h1.hero-title {
    font-size: 1.6rem;
    margin: -4px 0;
    top: 1px;
  }

  .hero-title {
    font-size: 2.5rem;
    /* scale down if needed */
  }

  .hero-paragraph {
    margin: 0 20px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-top: 10px;
  }

  /* .hero-services-box {
    display: flex;
    flex-wrap: nowrap;
    prevent wrapping to second row 
    justify-content: center;
    center the whole row 
    gap: 0px !important;
     spacing between icons 
    padding: 0;
    margin: 1px auto 0;
    width: 100%;
    max-width: 320px;
  } */

  .hero-services-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 0px;
    column-gap: 23px;
    justify-items: center;
    padding: 0;
    margin: 10px auto 0;
    width: 100%;
    max-width: 320px;
  }


  /* .hero-services-box .service-link {
    display: flex;
    margin: -15px !important;
    padding: 0 !important;
    flex: 0 0 auto;
  } */

  .hero-services-box .service-link {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }



  .hero-services-box .service-link a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    width: 64px;
    /* compact width */
    height: 80px;
    /* compact height */
    padding: 4px;
    text-align: center;
    border-radius: 6px;
  }


  .hero-services-box .icon {
    height: 2rem;
    /* Slightly smaller */
    width: auto;
    object-fit: contain;
    filter: invert(1) brightness(2);
    transition: transform 0.3s ease;
    pointer-events: none;
    margin-bottom: 4px;
    /* Adds a bit of breathing room above label */
  }

  .hero-services-box .label {
    font-size: 0.65rem;
    /* Slightly smaller label */
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
  }


  .learn-more-wrapper {
    margin-top: 10px;
  }

  .learn-more-btn {
    background-color: #a91f23;
    color: #F8FAFC;
    border: 2px solid #F8FAFC;
    font-size: 0.75rem;
    padding: 8px 16px;
  }


  .toggle-button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
  }

  .hero-toggle-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    bottom: 15px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .overlay-title {

    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  }

  .overlay-title p {
    font-size: .75rem;
    letter-spacing: 1px;
    line-height: 1.4;
    padding: 0 10px;
  }

  .last-overlay h2 {
    font-size: large;
  }

  .content-section {
    padding: 40px 20px;
  }

  .overlay-title {
    font-size: 1.2rem;
    padding: 20px 0 5px;
  }

  .collage-section {
    padding: 0;
    margin: 0 auto;
    max-width: 100vw;
  }

  .collage-grid {
    grid-template-rows: repeat(3, 60px);
    /* 👈 Tighter row height */
  }


  .parallax {
    min-height: 60vh;
  }

  .parallax-2 {
    background-position: 20% center;
  }

  .parallax-4 {
    background-position: 20% center;
  }

  .final-parallax {
    background-position: 25% center;
    /* Shift image to the right */
  }

  /*quote stuff main page*/
  .quote-title {
    text-align: left;
    padding-left: 0;
    /* Optional: remove if you want it flush */
  }


  .final-parallax-columns {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 16px;
  }

  .col-left,
  .col-right {
    max-width: 100%;
    flex: 1 1 100%;
    text-align: center;
  }

  .final-paragraph {
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 10px;
  }

  .check-list {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .check-list li {
    font-size: 0.85rem;
  }




  /*brands*/
  .brand-bar-container {
    gap: 30px;
  }

  .brand-bar-container img {
    height: 40px;
    max-width: 80px;
  }


  .quote-form {
    padding: 0;
    margin: 0;
  }

  .form-group input,
  .form-group textarea {
    font-size: 1rem;
  }

  .quote-note {
    padding-left: 0;
  }



  /*FOOTER STUFF*/
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    /* center horizontally */
    text-align: left;
  }

  .footer-column {
    width: 100%;
    margin: 10px 0;
    text-align: left !important;
  }

  .center-column {
    order: 1;
  }

  .footer-column:first-child {
    order: 2;
    /* Services */
  }

  .footer-column:last-child {
    order: 3;
    /* Contact */
  }
}