/* ─────────── Reset & Base ─────────── */
* {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f0f4ff;
  margin: 0;
}

/* ─────────── Title Section ─────────── */

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}



/* ─────────── Features Section ─────────── */
.features-section {
  margin: 0 auto;
  text-align: center;
  padding: 0 4vw 100px;
  box-sizing: border-box;
  max-width: 1450px;
}

.label {
  display: inline-block;
  padding: 8px 34px;
  font-size: 26px;
  font-weight: bold;
  background-color: #faab1c;
  border-radius: 30px;
  margin: 40px auto 20px;
}

.main-title {
  font-size: 32px;
  font-weight: 700;
  color: #14142b;
  margin-bottom: 40px;
}

.main-titleF {
  font-size: 32px;
  font-weight: 700;
  color: white;
  padding: 8px 24px;
  background-color: #182249;
  border-radius: 30px;
  margin: 50px 10px 30px;
}

/* ─────────── Features Grid ─────────── */
.features-grid {
  display: grid;
  gap: 40px;
  justify-content: center;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0;
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
}

.features-grid .feature-box {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease forwards;
}

.features-grid .feature-box:nth-child(1) { animation-delay: 0.1s; }
.features-grid .feature-box:nth-child(2) { animation-delay: 0.3s; }
.features-grid .feature-box:nth-child(3) { animation-delay: 0.5s; }
.features-grid .feature-box:nth-child(4) { animation-delay: 0.7s; }
.features-grid .feature-box:nth-child(5) { animation-delay: 0.9s; }
.features-grid .feature-box:nth-child(6) { animation-delay: 1.1s; }

.features-grid.one-box {
  display: grid;
  justify-content: center;
}

.features-grid.one-box {
 max-width: 1450px;
 width: 100%;
  margin: 0 auto;
}

 .feature-box {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

/* ─────────── Responsive Layouts ─────────── */
@media (min-width: 441px) and (max-width: 767px)  {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .features-grid.one-box {
    display: flex;
    justify-content: center;
    width: 50%;
    max-width: 100%;

  }

  .features-grid.one-box .feature-box {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

}

@media (min-width: 768px) and (max-width: 1150px) {
  .features-grid {

  }

  .features-grid.one-box {
margin: 0 auto;
        justify-content: center;
        max-width: 50%;
        min-width: auto;
        width: 100%;

  }

  .features-grid.one-box .feature-box {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }


}

@media (min-width: 1151px) {

  .features-grid {
    grid-template-columns: repeat(3, minmax(330px, 1fr));
  }

  .features-grid.one-box {
   width: 30%;
    margin: 0 auto;
    display: flex;
        justify-content: center;

  }

   .feature-box {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }


}


/* ─────────── Feature Box ─────────── */
.feature-box {
  background-color: white;
  border-radius: 16px;
  padding: 37px 20px;
  box-shadow: 0 12px 24px rgba(20, 20, 43, 0.05);
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease forwards;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
}

.feature-box img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #14142b;
}

.feature-box p {
  font-size: 1rem;
  color: black;
  line-height: 1.5;
  text-align: justify;
  padding: 0 20px;
}

/* ─────────── Image + Content Section ─────────── */
.container {
  max-width: 1450px;
  padding: 40px 4vw;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 4vw 2vh;
  box-sizing: border-box;
  justify-content: center;
}

.section::after {
  content: "";
  width: 80%;
  max-width: 850px;
  height: 1px;
  background-color: #999;
  margin: 30px auto 0;
  opacity: 0.6;
}

.image-container {
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

.image-container img {
  width: 100%;
  height: auto;
  max-width: 500px;
  object-fit: cover;
  border-radius: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  font-size: 30px;
  margin: 0 0 10px;
  color: #333;
  text-align: center;
}

p {
  font-size: 16px;
  color: black;
  line-height: 1.5;
  text-align: center;
  max-width: 100%;
}

.section p {
  max-width: 500px;
  padding: 0 1px;
  text-align: justify;
  line-height: 1.6;
  font-size: 22px;
}

/* ─────────── Arrows (if used) ─────────── */
.arrow-up,
.arrow-down {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: red;
  font-size: 24px;
}

.arrow-up {
  top: -20px;
}

.arrow-down {
  bottom: -20px;
}
