.features-page {
  padding: 100px 80px;
  text-align: center;
}

.features-header h1 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
  padding-top: 40px;
}

.features-header p {
  font-size: 18px;
  color: #555;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.feature-container {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 280px;
  justify-content: space-between;
}

.feature-container img {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
}

.feature-container h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111;
}

.feature-container p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

.feature-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 1200px) {
  .features-page {
    padding: 80px 60px;
    margin-top: 20px; /* add spacing on top for large screens */
  }

  .features-header h1 {
    font-size: 42px;
  }
}

@media (max-width: 992px) {
  .features-page {
    padding: 60px 40px;
    margin-top: 20px; /* more top space for tablets */
  }

  .features-header h1 {
    font-size: 38px;
  }

  .features-header p {
    font-size: 17px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .feature-container {
    padding: 25px 15px;
  }

  .feature-container img {
    width: 70px;
  }

  .feature-container h3 {
    font-size: 20px;
  }

  .feature-container p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .features-page {
    padding: 50px 20px;
    margin-top: 20px; /* increase top margin for mobile */
  }

  .features-header h1 {
    font-size: 32px;
  }

  .features-header p {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .features-grid {
    gap: 25px 15px;
  }

  .feature-container {
    padding: 20px 12px;
  }

  .feature-container img {
    width: 60px;
  }

  .feature-container h3 {
    font-size: 18px;
  }

  .feature-container p {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .features-page {
    margin-top: 20px; /* even more top space for small screens */
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .features-page {
    padding: 40px 15px;
    margin-top: 25px; /* biggest top space for very small screens */
  }

  .features-header h1 {
    font-size: 28px;
  }

  .features-header p {
    font-size: 15px;
  }

  .features-grid {
    gap: 20px 10px;
  }

  .feature-container {
    padding: 18px 10px;
  }

  .feature-container img {
    width: 50px;
  }

  .feature-container h3 {
    font-size: 16px;
  }

  .feature-container {
    padding: 15px 8px;
    min-height: 180px;
  }
}
