/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* FULLSCREEN SECTION */
.about-fullscreen {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}

/* VIDEO BACKGROUND */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0; /* FIXED */
}

/* DARK OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 60, 0.7); /* your preferred color */
  z-index: 1; /* above video */
}

/* CONTENT ON TOP */
.content {
  position: relative;
  z-index: 2; /* above overlay */
  color: #fff;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

/* TITLE ANIMATION */
.title {
  font-size: 2rem;
  margin-bottom: 20px;
  animation: fadeDown 1.2s ease forwards;
}
.title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 12px;
  border-bottom: 3px solid #26c6da;
  border-radius: 50%;
}

/* ABOUT TEXT */
.about-text {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1.5s ease forwards;
  animation-delay: 0.5s;
}

/* BOXES */
.info-boxes {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.box {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  width: 250px;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

/* STAGGER ANIMATION */
.box:nth-child(1) { animation-delay: 1s; }
.box:nth-child(2) { animation-delay: 1.3s; }
.box:nth-child(3) { animation-delay: 1.6s; }

/* BOX TEXT */
.box h2 {
  margin-bottom: 10px;
  color: #26c6da;
}

.box p {
  font-size: 0.95rem;
}

/* ANIMATIONS */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .title {
    font-size: 2rem;
  }

  .info-boxes {
    flex-direction: column;
    align-items: center;
  }
}
.content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 900px;
  padding: 30px;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 15px;
}
.icon-img{
  height: 20px;
  vertical-align: bottom;
}

/* ===============================
   MOBILE FIX ONLY (DO NOT TOUCH DESKTOP)
================================= */

@media (max-width: 768px) {

  /* allow page to scroll properly */
  html, body {
    height: auto !important;
    overflow-x: hidden;
    overflow-y: auto !important;
  }

  /* remove forced fullscreen on mobile */
  .about-fullscreen {
    height: auto !important;
    min-height: 100vh;
    padding: 60px 15px 40px;
    align-items: flex-start;
  }

  /* make content fit naturally */
  .content {
    max-width: 100%;
    padding: 20px 15px;
    margin: 80px auto 40px;
  }

  /* video should behave better on mobile */
  .bg-video {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  /* reduce spacing for mobile readability */
  .title {
    font-size: 1.4rem;
    line-height: 1.4;
  }

  .about-text {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  /* boxes stack nicely */
  .info-boxes {
    gap: 15px;
  }

  .box {
    width: 100%;
    max-width: 320px;
  }
}