html {
  scroll-behavior: smooth;
}
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0F2B33;
    color: #EAEAEA;
}

.navbar {
    background-color: #0F2B33;
}

.navbar-brand img {
    height: 50px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* #hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

#hero .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 43, 51, 0.7);
    z-index: 1;
}

#hero .content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
} */
#hero {
  position: relative;
  min-height: 100vh;       /* Always fill screen */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* Keeps aspect ratio */
  z-index: 0;
}

#hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 43, 51, 0.7); /* dark tint */
  z-index: 1;
}

#hero .content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 800px;
}

#hero .content img {
  max-width: 100%;   /* logo scales */
  height: auto;
}

#hero .btn {
  background-color: #05E5D4;
  border: none;
  color: #0F2B33;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  transition: all 0.3s ease;
}
#hero .btn:hover {
  background-color: #EAEAEA;
  color: #0F2B33;
  box-shadow: 0 0 15px rgba(5, 229, 212, 0.7);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #hero {
    min-height: 80vh;
    padding: 40px 15px;
  }
  #hero .content img {
    max-width: 100%;
  }
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0F2B33, #022024);
}

.hero h1 {
    color: #05E5D4;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    color: #EAEAEA;
}

/*
    .typing {
      display: inline-block;
      border-right: 3px solid #05E5D4;
      white-space: nowrap;
      overflow: hidden;
      animation: typing 4s steps(40, end), blink 0.8s infinite;
    }
    @keyframes typing {
      from { width: 0; }
      to { width: 100%; }
    }
    @keyframes blink {
      50% { border-color: transparent; }
    }
*/
.btn-primary {
    background-color: #05E5D4;
    border: none;
    color: #0F2B33;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #04c0b1;
    color: #fff;
}

/* .section-title {
      text-align: center;
      margin-bottom: 40px;
      color: #05E5D4;
    } */
/* ---------- Section title + animated gradient underline ---------- */
.section-title {
  position: relative;
  display: table;               /* shrink-wrap around text */
  margin: 0 auto 40px auto;     /* center horizontally */
  padding-bottom: 12px;
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;                     /* start hidden */
  height: 4px;
  border-radius: 2px;

  /* Gradient background */
  background: linear-gradient(270deg, #05E5D4, #0FF, #05E5D4);
  background-size: 200% 200%;

  transition: width 0.6s ease;
}

/* Animate when AOS triggers */
.section-title.aos-animate::after {
  width: 120%;                  /* slightly wider than text */
  animation: gradientSlide 3s linear infinite;
}

/* Gradient animation */
@keyframes gradientSlide {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}


.service-card {
    background: #11343d;
    border: none;
    padding: 20px;
    border-radius: 12px;
    color: #EAEAEA;
    transition: transform 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);
}
.service-card h5 {
    color: #05E5D4;
}
.values-card {
    background: #11343d;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    height: 100%;
}

.counter-box {
    text-align: center;
    padding: 30px;
    background: #11343d;
    border-radius: 12px;
    margin: 10px;
}

.counter-box h2 {
    font-size: 2.5rem;
    color: #05E5D4;
}

footer {
    background: #022024;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* Loader */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #0F2B33;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #11343d;
    border-top: 6px solid #05E5D4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}