@charset "utf-8";
.river-header {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.river-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.main-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}
.main-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}
.transport-flow {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}
.river-card {
  display: flex;
  margin-bottom: 8rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.river-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.river-card-left {
  flex-direction: row;
}
.river-card-right {
  flex-direction: row-reverse;
}
.river-content {
  flex: 1;
  position: relative;
  z-index: 3;
  padding: 3rem 2.5rem;
  background-color: white;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  max-width: 550px;
}
.river-content a {
  background-color: #023783;
  color: #fff;
  display: inline;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
}
.river-card-left .river-content {
  margin-right: -60px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.river-card-right .river-content {
  margin-left: -60px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.content-title {
  font-size: 1.4rem;
  color: var(--primary-blue);
  /* margin-bottom: 1.5rem; */
  padding-bottom: 2rem;
  /* border-bottom: 4px solid var(--accent-green); */
  position: relative;
}
.content-title::after {
  /* content: ''; */
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-teal);
}
.river-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3.8rem;
  /* background-color: #ccc; */
}
.river-features {
  list-style: none;
  margin-top: 2rem;
}
.river-feature-item {
  padding: 0.8rem 0;
  padding-left: 2.5rem;
  position: relative;
  font-size: 1.1rem;
}
.river-feature-item::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.9rem;
  color: var(--accent-green);
  font-size: 1rem;
}
.river-image-container {
  flex: 1.2;
  position: relative;
  z-index: 2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  min-height: 450px;
}
.river-image-container img {
  width: 100%;
  height: 100%;
}
.river-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.river-card:hover .river-image {
  transform: scale(1.05);
}
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(26, 95, 122, 0.2), rgba(44, 120, 115, 0.4));
  z-index: 1;
}
.water-wave {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 100px;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
@media (max-width: 1100px) {
  .main-title {
    font-size: 2.8rem;
  }
  .river-content {
    padding: 2.5rem 2rem;
  }
  .content-title {
    font-size: 2rem;
  }
}
@media (max-width: 900px) {
  .river-card {
    flex-direction: column;
    margin-bottom: 5rem;
  }
  .river-card-left .river-content, .river-card-right .river-content {
    margin: -40px 20px 0 20px;
    max-width: calc(100% - 40px);
  }
  .river-image-container {
    min-height: 350px;
  }
  .river-content {
    order: 2;
  }
  .river-image-container {
    order: 1;
  }
}
@media (max-width: 600px) {
  .river-image-container {
    min-height: 240px;
  }
  .main-title {
    font-size: 2.3rem;
  }
  .main-subtitle {
    font-size: 1.2rem;
  }
  .river-content {
    padding: 2rem 1.5rem;
  }
  .content-title {
    font-size: 1.2rem;
  }
  .river-text {
    font-size: 0.9rem;
  }
  .transport-flow {
    padding: 1rem 1rem 3rem;
  }
}
@keyframes waveFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
.water-wave {
  animation: waveFloat 8s ease-in-out infinite;
}