* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}



/* containr */
.containr {
  max-width: 100%;
  margin: 0 auto;

}

.topp {
  max-width: 100%;
}

/* Hero Section */
.hero {
  margin: 0 2rem;
  height: 60vh;
  position: relative;
  background-image: linear-gradient(rgba(12, 3, 51, 0.3), rgba(12, 3, 51, 0.3));
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero .containr {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-top: 4rem;
}

.hero .desc {
  opacity: 0.9;
}

/* Overview */
.overview {
  display: flex;
  justify-content: center;
  width: 100%;
  height: auto;
  margin-bottom: 3rem;
}

.creating {
  background-color: #fde68a;
  color: #070706;
  width: 47.5%;
  height: auto;
  text-align: center;
}

.creating h1 {
  font-size: 30px;
  margin: 5rem;

}

.creating p {
  margin: 2rem;
}

.phot {
  width: 47.5%;
  height: auto;
}

.phot img {
  width: 100%;
  object-fit: cover;
}


/* Mission */
.mission {
  display: flex;
  justify-content: center;
  width: 100%;
}

.real {
  background-color: #000000;
  text-align: center;
  color: #ffffff;
  width: 47%;
}

.real h3 {
  font-size: 20px;
  margin-top: 3rem;
}

.icon {
  font-size: 2rem;
  margin-left: 0 !important;
  color: gold;
  margin-top: 1rem;
}

.setting {
  background-color: #252c35;
  text-align: center;
  color: #ffffff;
  width: 47%;
}

.setting h3 {
  font-size: 20px;
  margin-top: 2rem;
}

/* Values */
.values {
  background: #fff;
  padding: 80px 20px;
}

.values .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.values .icon {
  width: 60px;
  height: 60px;
  background: #fef3c7;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: #0b0b0b;
  margin: 0 auto 15px;
}

/* Location */
.location {
  background: #f9fafb;
  padding: 80px 20px;
}

.location .grid {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.location ul {
  list-style: none;
  margin-top: 20px;
}

.location li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.city-box {
  background: linear-gradient(to bottom right, #fef3c7, #fde68a);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  width: 50%;
}

.city-box .emoji {
  font-size: 3rem;
  margin-bottom: 15px;
}

/*located*/
.located {
  background-color: #fff;
}

.why {
  display: flex;
  justify-content: space-between;
  margin: 5rem 2rem;
  color: #000000;
  background-color: #fff;
}

.prev,
.next {

  display: none !important;
}

.why h1 {
  font-size: 3rem;
}

.why p {
  color: #777a7a;
}

.center {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 0rem 1.8rem;
}

.timely {
  height: 12rem;
  width: 15rem;
  background-color: #fde68a;
  text-align: center;
  margin-bottom: 5rem;
}

.rural-box {
  background-color: #252c35;
  padding: 3rem;
  width: 50%;
  color: wheat;

}

.timely:hover {
  background-color: wheat;
}

.timely p {
  margin-top: 3rem;
}

.timely .icon {
  color: black;
}

/*centa*/

.centa h1 {
  text-align: center;
  font-size: 25px;

}

.innovation {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5px;
  margin: 1.5rem;
}

.innovation img {
  height: 14rem;
  width: 17rem;
  object-fit: cover;
}

.image-container {
  position: relative;
}

.staff {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.staff h1 {
  text-transform: uppercase;
}

@keyframes bounceUpDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.staff h2 span {
  display: inline-block;
  animation: bounceUpDown 1s 1;
}

.staff h2 span:nth-child(1) {
  animation-delay: 0s;
}

.staff h2 span:nth-child(2) {
  animation-delay: 0.1s;
}

.staff h2 span:nth-child(3) {
  animation-delay: 0.2s;
}

.staff h2 span:nth-child(4) {
  animation-delay: 0.3s;
}

.staff h2 span:nth-child(5) {
  animation-delay: 0.4s;
}

.staff h2 span:nth-child(6) {
  animation-delay: 0.5s;
}

.staff h2 span:nth-child(7) {
  animation-delay: 0.6s;
}

.staff h2 span:nth-child(8) {
  animation-delay: 0.7s;
}

.staff h2 span:nth-child(9) {
  animation-delay: 0.8s;
}

.staff h2 span:nth-child(10) {
  animation-delay: 0.9s;
}

.staff h2 span:nth-child(11) {
  animation-delay: 1.0s;
}

.staff h2 span:nth-child(12) {
  animation-delay: 1.1s;
}

.staff h2 span:nth-child(13) {
  animation-delay: 1.2s;
}

.staff h2 span:nth-child(14) {
  animation-delay: 1.3s;
}

.staff h2 span:nth-child(15) {
  animation-delay: 1.4s;
}

.staff h2 span:nth-child(16) {
  animation-delay: 1.5s;
}

.staff h2 span:nth-child(17) {
  animation-delay: 1.6s;
}

.staff h2 span:nth-child(18) {
  animation-delay: 1.7s;
}

.staff h2 span:nth-child(19) {
  animation-delay: 1.8s;
}

.staff h2 span:nth-child(20) {
  animation-delay: 1.9s;
}


.tooltip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 14rem;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tooltip p {
  text-align: center;
}

.image-container:hover .tooltip {
  opacity: 1;
}

/* CTA */


/* Scroll-triggered animation for about page sections */
.location,
.centa,
.center,
.mission,
.overview {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 2s ease, transform 2s ease;
}

.location.animate,
.centa.animate,
.center.animate,
.mission.animate,
.overview.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    margin: 0;
  }

  .overview-grid {
    padding: 1rem;
  }

  .last  {
    margin-top: 0;
    padding: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .containr {
    display: none !important;
  }

  .overview {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    padding: 0;
    margin-bottom: 2rem;
  }

  .innovation img {
    height: 24rem !important;
    width: 100%;
    object-fit: cover;
  }

  .image-container {
    position: relative;
    width: 22rem;
  }
  .tooltip {
    height: 24rem;
}

  .location {
    background: #f9fafb;
    padding: 40px 0px 0px 0px;
  }

  .innovation {
    margin: 0;
  }

  .mission {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;

  }

  .location .grid {
    display: grid;
    grid-template-columns: 1fr;

  }

  .why {
    display: none;
    grid-template-columns: 1fr;

  }

  .center {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;

  }

  .timely {
    height: 12rem;
    width: 100%;
    background-color: #fde68a;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
  }

  .innovation {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;

  }

  .staff {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;

  }

  .values .grid,
  .stats .grid {
    grid-template-columns: 1fr;

  }

  .creating {
    width: 100% !important;
  }

  .phot {
    width: 100% !important;
  }

  .real {
    width: 100% !important;
  }

  .setting {
    width: 100% !important;
  }

  .rural-box {
    width: 100% !important;
  }

  .city-box {
    width: 100% !important;
  }
}