html, body{
  margin:0;
  padding:0;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;    /* stack header (fixed), main, footer */
  min-height: 100vh;  
}

/*Background video */
  .video-background video {
    object-fit: cover;
    z-index: -3 !important;               /* video lowest layer */
  }

  .video-background::before {
    content: "";
    background-color: rgba(2, 2, 36, 0.8);
  }

.video-background,
.video-background::before,
.video-background video {
  position: fixed;
  inset: 0;      /* shorthand for top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  overflow: hidden;         /* only needed on .video-background itself */
  z-index: -2;
}

/* Hero Section */
#hero {
    position: relative;
    height: 840px; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: white;
    overflow: hidden; /* Prevent any overflow beyond the Hero section */
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    z-index: 0; /* Keeps the overlay behind the content but above the video */
}


#hero h1, #hero h2, #hero .glow-button {
    opacity: 0;
    transform: translateY(20px); /* Start with a slight downward position */
    animation: fadeUp 1s ease-out forwards;
}

#hero h1 {
    animation-delay: 0.2s; /* Slight delay for staggered effect */
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    width: 100%;
    padding: 20px 230px;
    
}

#hero h2 {
    animation-delay: 0.4s; /* Staggered animation for subheading */
    font-size: 1.5rem;
    margin-bottom: 30px;
}

#hero .glow-button {
    animation-delay: 0.6s; /* Staggered animation for the button */
}

/* Keyframes for Fade-Up Animation */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Start slightly below */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End in place */
    }
}

/* Icon Box (Tabs) */
.icon-box {
    opacity: 0;
    transform: translateY(20px); /* Initial position for fade-up */
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 0.8s; /* Delayed fade-up animation for icon boxes */
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin: 10px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 0;
    color: rgb(123, 192, 253);
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Ensure content is centered */
    width: 260px; /* Set width to 250px */
    height: 180px; /* Set height to 170px */
}

.icon-box:hover {
    border: 1px solid rgb(123, 192, 253);
}

.icon-box i {
    font-size: 32px; /* Adjust icon size */
    font-weight: lighter;
    margin-bottom: 10px;
    display: block;
}

#hero .product-features {
    display: flex;
    justify-content: center; /* Center icon boxes horizontally */
    align-items: center; /* Align icon boxes vertically */
    flex-wrap: wrap; /* Ensure responsiveness */
}

#hero .product-features a {
  color: inherit;           /* keep the text colour that element inherits */
  text-decoration: none;    /* no underline at rest */
}

#hero .product-features a:hover,
#hero .product-features a:focus,
#hero .product-features a:active{
  color: inherit;           /* no colour change */
  text-decoration: none;    /* no underline (or any decoration) */
  outline: none;            /* optional: drop default focus outline */
}

/* If you still want a visible focus indicator for accessibility:  */
#hero .product-features a:focus-visible{
  outline: 2px solid currentColor; /* or any custom focus ring */
}

#hero .container {
    max-width: 1440px;
}

.icon-box svg {
    margin: 10px 10px 30px 10px;
    width: 33px;
    height: 33px;
    fill: white; /* Set icon color to white */
}

.icon-box img {
    margin: 10px 10px 30px 10px;
    width: 45px;
    height: 43px;
}

/* Keyframes for Fade-up Animation */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Start from below */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End in place */
    }
}

/* ————————————————————————————————————————————
   About Section: transparent box over video,
   centered, slide+fade-in on scroll
   ———————————————————————————————————————————— */
   #about {
    position: relative;     
    background-color: rgba(4, 31, 73, 0.8);
    max-width: 80vw;                  /* narrow box so edges peek */
    margin: 0 auto;                   /* center horizontally */
    padding: 60px 0;                  /* vertical breathing room */
    transition: opacity 1s ease-out, transform 1s ease-out;
    text-align: center; 
    border-radius: 4px;                    
  }

  #about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/about-image.jpg") center/cover no-repeat;
    opacity: 0.4;       /* image transparency */
    z-index: 0;
  }

  /* Glow effect*/
  .about::after {
    content: "";
    position: absolute;
    
    top: 50%; left: 50%;
    width: 200%; height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center,
                 rgba(109, 191, 239, 0.3) 0%,
                 rgba(255, 255, 255, 0) 60%);
    filter: blur(40px);
    z-index: -2;               /* behind the .about content */
  }

  
  
  /* override any old color rules */
  #about p {
    
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
  
  
  /* on scroll into view */
  #about.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  #about.visible p  {
    opacity: 1;
    transform: translateY(0);
  }


  #about .container {
    display: flex;
    justify-content:center;
    text-align: justify;
    color: white;
    
  }

  #about .col-lg-6 {
  max-width: 800px;
}

   #about p{
    font-size: 1.3rem;
    padding-left: 20px;
    padding-right: 20px;
    text-align: justify;
    font-weight: 300;
  }
  

/* Solutions Section */
.solutions {
    padding: 60px 0;
    background-color: rgba(2, 21, 39, 0.374);
    max-width: 80vw;
    margin: 0 auto;
}

.solutions .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.solutions .section-title h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #c5c9cb;
}

.solutions .section-title p {
    font-size: 1.1rem;
    color: #1694ba;
    font-size: 1.3rem;
    
}

.solutions .solution-box {
    background-color: #0435587e;
    width: 370px;
    height: 270px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Ensure content starts from the top */
    align-items: center; /* Center the icon horizontally */
    transition: transform 0.3s ease;
}
/* make sure each box can show an animated overlay */
.solutions .solution-box {
    position: relative;
    overflow: hidden;
  }
  
  /* the shine overlay */
  .solutions .solution-box::after {
    content: "";
    position: absolute;
    top: 0; left: -60%;
    width: 100%;
    height: 100%;
    /* a quick white-to-transparent gradient, skewed */
    background: linear-gradient(
      120deg,
      rgba(255,255,255,0) 0%,
      rgba(54, 162, 245, 0.4) 50%,
      rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
  }
  
  /* trigger the shine on hover */
  .solutions .solution-box:hover::after {
    animation: shine 0.8s forwards;
  }

  /* position the SVG full-box and faint */
.solutions .solution-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.3;      /* dial this for more/less visibility */
    z-index: 0;        /* behind all text */
    padding: 15px;
  }
  
  /* keep your title & copy above the icon */
  .solutions .solution-box h4,
  .solutions .solution-box p {
    position: relative;
    z-index: 1;
  }
  
  /* move that gradient all the way across */
  @keyframes shine {
    0%   { left: -100%; }
    100% { left: 200%; }
  }

.solutions .solution-box:hover {
    transform: translateY(-10px); /* Adds a subtle lift on hover */
    border-radius: 3px;
}

.solutions .solution-box h4 {
    font-size: 1.5rem;
    color: #c5c9cb;
    margin-bottom: 15px;
}

.solutions .solution-box p {
    font-size: 1rem;
    color: #c5c9cb;
    text-align: justify;
    padding: 10px;
}

/* Solution Box Links */
.solutions .solution-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color */
    transition: transform 0.3s ease;
}

.solutions .solution-link:hover .solution-box {
    transform: translateY(-10px); /* Lift the box on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Add shadow on hover */
}

/* SVG Icon Styling */
.solution-box img {
    width: 40px; /* Adjust the width of the SVG icon */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 25px; /* Space between icon and heading */
    
}

.client-logo {
  height: 2rem;          /* was 4–6 rem */
  object-fit: contain;
  max-width:100%;
}

/* Clients Section */
.clients {
    padding: 3rem 0;
    background: rgba(2, 7, 32, 0.85);;
    color: #c5c9cb;
}

.clients .swiper-slide .client-card,
.clients .swiper-slide {
    display: flex;
  align-items: center;
  justify-content: center;
}

.clients .swiper-slide .client-card{
  padding: 0.75rem;      /* tighten as needed */
  background: #fff;
  backdrop-filter: blur(2px);
  border-radius: 0.75rem;
  max-width: 260px;              /* hard cap; tweak wider/narrower */
  width: 100%;                   /* let it shrink on mobile */
  box-sizing: border-box;        /* padding inside max-width */
}

.clients .swiper-slide .client-card.dark{
  background: #10294e;
}

.clients .swiper-container {
    overflow: hidden;
}
.swiper-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
}

.clients .swiper-slide img {
    transition: filter 0.3s ease-in-out;
}

/* Animation */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Section */
.cta {
    position: relative;
    padding: 60px 0;
    height: 330px;
    background-image: url('../images/cta-background.jpg'); /* Replace with your image path */
    background-size: cover;
    opacity: 0.8;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center; 
}

.cta {
    position: relative;
    padding-top: 80px;
    height: 330px;
    color: #c5c9cb;
}

.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 7, 24, 0.721); /* Adjust color and opacity as needed */
    z-index: 1; /* Position the overlay behind the text */
}

.cta .container {
    position: relative;
    z-index: 2; /* Ensure text sits above the overlay */
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-cta {
    border-color: #055369;
    width: 180px;
    color: white;
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 1px;
    transition: background-color 0.3s ease;
}

.btn-cta:hover {
    background-color: #fafafa;
    color:#055369;
}


@media screen and (max-width: 480px) {
    .cta {
        padding: 30px 15px; /* Further reduce padding for very small screens */
    }

    .cta h2 {
        font-size: 1.5rem; /* Further reduce heading size */
    }

    .cta p {
        font-size: 0.9rem; /* Further reduce paragraph size */
    }

    .btn-cta {
        padding: 8px 15px; /* Make the button smaller */
        font-size: 0.9rem; /* Reduce button text size */
    }
}


/* Contact Section */
.contact {
    padding: 60px 0;
}

/* Highlight the active tab in the navigation */
#header .nav-menu ul li a.active {
    color: #168FB5; /* Same as the hover color */
}

/* Hero icon‑box staggered fade‑in on page load */
#hero .icon-box {
    animation: fadeUp 0.8s ease-out forwards;
  }
  
  /* Staggered delays */
  #hero .icon-box:nth-child(1) { animation-delay: 1.0s; }
  #hero .icon-box:nth-child(2) { animation-delay: 1.4s; }
  #hero .icon-box:nth-child(3) { animation-delay: 1.8s; }
  #hero .icon-box:nth-child(4) { animation-delay: 2.2s; }
  #hero .icon-box:nth-child(5) { animation-delay: 2.5s; }
  
/*———————————————————————————————
  Button Shine Effect (Watch Demo & Get Started)
———————————————————————————————*/
#hero .glow-button,
#hero .glow-button:link,
#hero .glow-button:visited {
  position: relative;
  overflow: hidden;       /* clip the shine to the button bounds */
  z-index: 3;
}

#hero .glow-button::after,
.btn-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;            /* start fully off to the left */
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0)     0%,
    rgba(54,162,245,0.4)   50%,
    rgba(255,255,255,0)   100%
  );
  transform: skewX(-25deg);
}

#hero .glow-button:hover::after{
  animation: shine 0.8s forwards;
}

.glow-button,
.glow-button:link,
.glow-button:visited {
   --button-background: #09041e00;
  --button-shadow: rgba(4, 31, 65, 0.2);
  --button-shine-left: rgba(4, 2, 46, 0.683);
  --button-shine-right: rgba(148, 207, 255, 0.65);
  --button-glow-start: #047ec5eb;
  --button-glow-end: #00b1fd;

  display: inline-block;          /* anchor default, keeps width shrink-to-fit */
  padding: 0;                     /* we pad the inner <span> instead */
  margin: 0;
  background: none;
  border: none;
  color: white;
  font-family: inherit;
  font-size: 1.25rem;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;          /* remove anchor underline */
  outline: none;
  position: relative;
  overflow: visible;              /* we’ll clip the shine with ::after */
  box-shadow: 0 8px 20px var(--button-shadow);
  z-index: 3;

  .gradient {
    position: absolute;
    inset: 0;
    border-radius: 3px;
    overflow: hidden;
    mask-image: radial-gradient(circle at center, white 0%, black 100%);
    transform: scaleY(1.02) scaleX(1.005) rotate(-.35deg);

    &:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;      
      transform: scale(1.5) translateY(-47px) rotate(0deg) translateZ(0);
      padding-bottom: 100%;
      border-radius: 20%;
      background: linear-gradient(90deg, var(--button-shine-left), var(--button-shine-right));
      animation: rotate linear 2s infinite;
    }
  }

  span {
    position: relative;
    display: block;
    padding: 20px 35px;
    box-sizing: border-box;
    width: fit-content;
    min-width: 124px;
    border-radius: 3px;
    background-color: var(--button-background);
    overflow: hidden;
    mask-image: radial-gradient(circle at center, white 0%, black 100%);

    &:before {
      content: '';
      position: absolute;
      left: -16px;
      top: -16px;
      transform: translate(var(--pointer-x, 0px), var(--pointer-y, 0px)) translateZ(0);
      width: 32px;
      height: 32px;
      border-radius: 20%;
      background-color: var(--button-glow, transparent);
      opacity: var(--button-glow-opacity, 0);
      transition: opacity var(--button-glow-duration, .5s);
      filter: blur(20px);
    }
  }

  &:hover {
    --button-glow-opacity: 1;
    --button-glow-duration: .25s;
  }
}

@keyframes rotate {
  to {
    transform: scale(1.05) translateY(-44px) rotate(360deg) translateZ(0);
  }
}



