.illustrated-feature {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  width: 100%;
  max-width: 1800px;
  margin: 48px auto 0;
  padding: 24px;
  justify-content: center;
  align-items: center;
  background-color: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
}

.illustrated-feature h1 {
  color: #f0f0f0;
  font-size: 2.7rem;
  line-height: 1.2;
  margin: 0;
}

.illustrated-feature p {
  font-size: 1.35rem;
  color: #e0e0e0;
  line-height: 1.65;
  margin-top: 10px;
}

.illustrated-feature ul {
  list-style: disc;
  padding-left: 24px;
  margin-top: 16px;
}

.illustrated-feature li {
  color: #d6d6d6;
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 8px 0;
}

.feature-description {
  flex: 1 1 0;
  min-width: 360px;
  max-width: none;
}

.feature-image {
  flex: 1 1 0;
  min-width: 320px;
}

.feature-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .illustrated-feature {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 18px;
  }

  .illustrated-feature .feature-image {
    order: 1;
    min-width: 0;
    width: 100%;
  }

  .illustrated-feature .feature-description {
    order: 2;
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .illustrated-feature {
    margin-top: 32px;
    padding: 14px;
    gap: 16px;
  }

  .feature-image {
    min-width: 0;
  }

  .feature-description {
    min-width: 0;
    max-width: none;
  }
}

/*Implementation Section*/
.implementation {
  min-height: 400px;
  background-color: #000000;
  margin-top: 3%;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.implementation-container {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 30px;
  max-width: 1800px;
  width: 100%;
}

.implementation-container h1 {
  flex: 0 0 100%;
  text-align: center;
  color: #f0f0f0;
  margin-bottom: 20px;
  font-size: 3rem;
}

.implementation-card {
  background-color: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  flex: 0 0 570px;
  max-width: 570px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.implementation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.implementation-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.implementation-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.implementation-card:hover .card-image img {
  transform: scale(1.1);
}

.implementation-card .card-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.implementation-card h2 {
  color: #f0f0f0;
  font-size: 1.8rem;
  margin: 0 0 15px 0;
}

.implementation-card p {
  color: #d0d0d0;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* Tablet: 2 cards per row */
@media (max-width: 1300px) {
  .implementation-container {
    gap: 24px;
  }

  .implementation-card {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
    min-width: 320px;
  }
}

/* Mobile: 1 card per row */
@media (max-width: 800px) {
  .implementation {
    padding: 30px 16px;
  }

  .implementation-container {
    gap: 20px;
  }

  .implementation-card {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/* Iconic Stations Section */
.iconic-stations {
  min-height: 400px;
  /* background-color: #000000; */
  margin-top: 3%;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px;
  min-height: 400px;
}

.iconic-stations--alt {
  background-color: #000000;
}

.iconic-stations h1 {
  text-align: center;
  color: #f0f0f0;
  /* margin-top: 40px; */
  margin-bottom: 40px;
  font-size: 3rem;
}

.iconic-stations img {
  width: 100%;
  /* height: 200px; */
  object-fit: cover;
  border-radius: 8px;
}

.iconic-stations-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.iconic-station-overview {
  background-color: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  flex: 1;
  padding: 30px;
  min-height: 400px;
  min-width: 150px;
  width: 100%;
}

.iconic-station-overview h2 {
  color: #f0f0f0;
  font-size: 1.8rem;
  margin: 30px 0;
}

.iconic-station-overview p {
  color: #d0d0d0;
  font-size: 1.35rem;
  line-height: 1.6;
  margin: 0;
}

.iconic-station-details-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
}

.iconic-station-detail-card {
  background-color: #1a1a1a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.iconic-station-detail-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0;
}

.iconic-station-detail-card h3 {
  color: #f0f0f0;
  font-size: 2rem;
  margin: 24px 24px 14px;
}

.iconic-station-detail-card p {
  color: #d0d0d0;
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0 24px 24px;
}

@media (max-width: 900px) {
  .iconic-station-details-row {
    grid-template-columns: 1fr;
  }

  .iconic-station-detail-card img {
    height: auto;
  }
}
