body {
  margin: 0;
  padding: 0;
}

.header {
  margin-bottom: 0;
  height: auto;
  min-height: 25vh;
}

.main-card {
  margin-top: 0;
  margin-bottom: 2rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  max-width: 1200px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.main-card h1 {
  color: #2f323a;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: bold;
  font-size: 2rem;
  position: relative;
}

.main-card h1:after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background-color: #f6bd60;
  margin: 1rem auto 2rem;
}

.technology-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: none;
  transition: all 0.3s ease;
}

.technology-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.technology-section h2 {
  color: #2f323a;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.technology-section h3 {
  color: #2f323a;
  margin: 1.5rem 0 1rem;
  font-weight: bold;
}

.technology-features {
  list-style-type: none;
  padding: 0;
}

.technology-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-right: 1.5rem;
  color: #2f323a;
}

.technology-features li:before {
  content: "•";
  color: #f6bd60;
  font-weight: bold;
  position: absolute;
  right: 0;
}

.ai-section {
  background-color: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 2rem;
  margin-top: 3rem;
}

.ai-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ai-feature {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.ai-feature h3 {
  color: #2f323a;
}

.ai-feature p {
  color: #2f323a;
  line-height: 1.6;
}

.ai-feature:last-child {
  border-bottom: none;
}

.ai-feature {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.ai-feature:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.factory-carousel-container {
  margin: 2rem 0;
}

.factory-carousel-container h3 {
  color: #2f323a;
  text-align: center;
  margin-bottom: 1.5rem;
}

.factory-carousel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
  margin: 1rem 0 2rem;
  border: none;
  transition: all 0.3s ease;
}

.factory-carousel:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item.active {
  opacity: 1;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(47, 50, 58, 0.7);
  color: #fefae0;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.carousel-control:hover {
  background: #2f323a;
}

.carousel-control-prev {
  right: 15px;
  left: auto;
}

.carousel-control-next {
  left: 15px;
  right: auto;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(246, 189, 96, 0.5);
  cursor: pointer;
}

.carousel-indicators button.active {
  background: #f6d265;
}

.navbar {
  border-bottom: 2px solid #f6bd60;
}

@media (max-width: 1200px) {
  .main-card {
    width: 90%;
    padding: 1.5rem;
  }
}

@media (max-width: 992px) {
  .factory-carousel {
    height: 350px;
  }

  .main-card h1 {
    font-size: 1.8rem;
  }

  .technology-section h2,
  .ai-section h2 {
    font-size: 1.4rem;
  }

  .technology-section h3,
  .ai-feature h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .factory-carousel {
    height: 300px;
  }

  .carousel-control {
    width: 35px;
    height: 35px;
  }

  .technology-section {
    padding: 1.5rem;
  }

  .main-card h1 {
    font-size: 1.6rem;
  }

  .main-card h1:after {
    width: 80px;
    margin: 0.8rem auto 1.5rem;
  }

  .ai-feature {
    padding: 1.25rem;
  }
}

@media (max-width: 576px) {
  .technology-section {
    padding: 1rem;
  }

  .factory-carousel {
    height: 250px;
  }

  .carousel-control {
    width: 30px;
    height: 30px;
  }

  .main-card {
    padding: 1rem;
    width: 95%;
  }

  .main-card h1 {
    font-size: 1.4rem;
  }

  .main-card h1:after {
    width: 60px;
    height: 2px;
    margin: 0.5rem auto 1rem;
  }

  .technology-section h2,
  .ai-section h2 {
    font-size: 1.3rem;
  }

  .technology-section h3,
  .ai-feature h3 {
    font-size: 1.1rem;
  }

  .ai-feature {
    padding: 1rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    right: 10px;
    left: auto;
  }

  .carousel-control-next {
    left: 10px;
    right: auto;
  }
}

@media (max-width: 480px) {
  .factory-carousel {
    height: 200px;
  }

  .main-card h1 {
    font-size: 1.3rem;
  }

  .technology-section {
    padding: 0.75rem;
    margin-bottom: 2rem;
  }

  .technology-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    padding-right: 1.25rem;
  }

  .ai-feature p {
    font-size: 0.9rem;
  }
}
