* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background-color: #f4f4f4;
}

/* --- NAV --- */
.nav_bar {
  background-color: #ccc;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  border-radius: 30px;
  margin: 20px;
}

/* --- HERO1 --- */
.hero1 {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 20px;
}
.hero1 .box {
  flex: 1;
  background-color: #ddd;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* --- HERO2 --- */
.hero2-wrapper {
  background-color: #e0e0e0;
  padding: 20px;
  margin: 20px;
}
.hero2 {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
.hero2 .img2,
.hero2 .cont2 {
  flex: 1;
  height: 200px;
  background-color: #b9a6a6;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* --- IMG CORSOL1 --- */
.imgcorsol1-wrapper {
  margin: 20px;
  padding: 0;
}
.imgcorsol1-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.imgcorsol1 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.carousel-item {
  background-color: #ddd;
  width: 280px;
  height: 200px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* --- SECTION LABELS --- */
.section-label {
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 5px;
  color: #333;
}

/* --- FOOTER --- */
.footer {
  background-color: #ccc;
  text-align: center;
  padding: 30px;
  margin-top: 30px;
  font-weight: bold;
}
/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  /* Stack hero1 and hero2 boxes vertically */
  .hero1,
  .hero2 {
    flex-direction: column;
  }

  /* Reduce box height for mobile */
  .hero1 .box,
  .hero2 .img2,
  .hero2 .cont2 {
    height: 180px;
  }

  /* Carousel adjusts spacing */
  .auto-carousel {
    gap: 10px;
    animation: slideCarousel 30s linear infinite;
  }

  .auto-carousel .carousel-item {
    width: 160px;
    height: 90px;
  }

  /* Navigation */
  .nav_bar {
    font-size: 18px;
    padding: 15px;
    border-radius: 20px;
  }

  /* Labels smaller */
  .section-label {
    font-size: 16px;
  }

  /* Footer mobile */
  .footer {
    font-size: 16px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .auto-carousel .carousel-item {
    width: 140px;
    height: 80px;
    font-size: 14px;
  }

  .nav_bar {
    font-size: 16px;
  }

  .footer {
    font-size: 14px;
  }
}
