/* ------------------ General Styles ------------------ */

* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

body {
  color: white;
  /* background-color: #0f100c; */
}

/* ------------------ Hero Section ------------------ */

.hero-section {
  text-align: left;
  max-width: 600px;
  margin-left: 120px;
  margin-top: 30px;
  padding: 30px 20px;
}

.hero-section h2 {
  font-size: 20px;
  width: 300px;
  margin-bottom: 10px;
  font-weight: 600;
  color: white;
}

.hero-section h1 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  max-width: 500px;
}

.hero-section p {
  font-size: 16px;
  max-width: 600px;
  color: white;
}

/* ------------------ Stats Section ------------------ */

.stats-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px; /* Ensures equal spacing between all stat items */
  padding: 10px 10px;
  margin-bottom: 20px;
}

/* Styling for Individual Stat Items */
.stat-item-1, 
.stat-item-2 {
  border-radius: 8px;
  background-color: #0f100c;
  max-width: 400px;
  padding: 20px;
  text-align: left;
  flex: 1;
  min-width: 300px;
}

/* Ensure spacing consistency */
.stat-item-1 {
  height: auto;
  margin-top: 50px;
}

.stat-item-2 {
  height: auto;
}

/* Fix gap between second and third stat box */
.stat-item-1:nth-child(3) {
  margin-left: 0; /* Adds spacing between second and third items */
}

/* ------------------ Typography for Stats ------------------ */

.stat-item-1 h2,
.stat-item-2 h2 {
  font-size: 32px;
  margin-top: 10px;
  font-weight: bold;
  color: white;
  padding-bottom: 10px;
}

.stat-item-1 h4,
.stat-item-2 h4 {
  font-size: 22px;
  font-weight: bold;
  color: white;
}

.stat-item-1 p,
.stat-item-2 p {
  font-size: 16px;
  font-weight: lighter;
  color: white;
}

/* ------------------ Logo Section ------------------ */

.logo-section {
  margin-top: 40px;
  background-color: #0f100c;
  border-radius: 20px;
  padding: 10px 10px;
  text-align: center;
  max-width: 84%;
  margin: auto;
}

.logo-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.logo-container img {
  width: 120px;
  height: auto;
}

/* ------------------ Responsive Fixes ------------------ */

/* Tablets */
@media (max-width: 1024px) {
  .hero-section {
      max-width: 80%;
      margin: auto;
      text-align: center;
  }

  .stats-section {
      flex-direction: column;
      align-items: center;
      gap: 30px;
  }

  .stat-item-1, 
  .stat-item-2 {
      max-width: 90%;
      text-align: center;
  }

  /* Remove extra margin on smaller screens */
  .stat-item-1:nth-child(3) {
      margin-left: 0;
  }

  .logo-container {
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
  }

  .logo-container img {
      width: 100px;
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .hero-section {
      max-width: 95%;
      text-align: left;
      padding: 20px;
      margin-bottom: 0px;
  }

  .hero-section h1 {
      /* font-size: 10px; */
      width: auto;
  }

  .hero-section h2 {
      font-size: 18px;
      max-width: 280px;
  }

  .hero-section p {
      font-size: 14px;
  }

  .stats-section {
      padding: 20px;
  }

  .stat-item-1, 
  .stat-item-2 {
      max-width: 95%;
  }

  .logo-container {
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
  }

  .logo-container img {
      width: 80px;
  }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
  .hero-section h1 {
      font-size: 24px;
  }

  .hero-section h2 {
      font-size: 16px;
  }

  .hero-section p {
      font-size: 12px;
  }

  .logo-container {
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
  }

  .logo-container img {
      width: 70px;
  }
}