/* Content Section Base Styles */
.content-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.roadmap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

#roadmapCarousel {
  background-color: transparent;
  padding: 20px 0;
}

.roadmap-cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px;
}

.roadmap-card {
  flex: 0 0 calc(33.333% - 20px);
  max-width: 400px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.roadmap-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.roadmap-card h3 {
  font-size: 1.5rem;
  margin: 15px;
  color: #333;
}

.roadmap-card .card-text {
  padding: 0 15px;
  margin-bottom: 20px;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  max-height: 96px;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.roadmap-card .card-text.expanded {
  max-height: 1000px !important;
  transition: max-height 0.8s ease-in-out;
}

.read-more {
  display: block;
  width: calc(100% - 30px);
  margin: 15px;
  padding: 10px;
  background-color: #e5a186;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #d88f74;
}

/* Carousel Controls */
#roadmapCarousel .carousel-control-prev,
#roadmapCarousel .carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

#roadmapCarousel .carousel-control-prev {
  left: 20px;
}

#roadmapCarousel .carousel-control-next {
  right: 20px;
}

#roadmapCarousel .carousel-indicators {
  bottom: -40px;
}

#roadmapCarousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: #e5a186;
  opacity: 0.5;
}

#roadmapCarousel .carousel-indicators button.active {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .roadmap-cards-container {
    gap: 20px;
  }
  
  .roadmap-card {
    flex: 0 0 calc(33.333% - 15px);
  }
}

@media (max-width: 992px) {
  .roadmap-cards-container {
    flex-wrap: wrap;
  }
  
  .roadmap-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .roadmap-card {
    flex: 0 0 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .roadmap-cards-container {
    flex-direction: column;
    align-items: center;
  }
  
  #roadmapCarousel .carousel-control-prev,
  #roadmapCarousel .carousel-control-next {
    display: none;
  }
}
