/* Flight Booking Ripple Effect Styles */
.ripple-hero {
  position: relative;
  background: linear-gradient(135deg, #1a2a6c 0%, #2a4b8d 50%, #3a6bc0 100%);
  color: #fff;
  overflow: hidden;
}

.ripple-hero .hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(26,42,108,0.8) 0%, rgba(58,107,192,0.4) 100%);
}

.key-statistics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #4FC3F7;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Systems Table Styles */
.systems-table-container {
  overflow-x: auto;
  margin: 2rem 0;
}

.systems-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.systems-table th {
  background: #2a4b8d;
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.systems-table td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.systems-table tr:last-child td {
  border-bottom: none;
}

.level-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.level-badge.primary {
  background: #4CAF50;
  color: white;
}

.level-badge.secondary {
  background: #FF9800;
  color: white;
}

.level-badge.tertiary {
  background: #9C27B0;
  color: white;
}

.primary-level {
  border-left: 4px solid #4CAF50;
}

.secondary-level {
  border-left: 4px solid #FF9800;
}

.tertiary-level {
  border-left: 4px solid #9C27B0;
}

/* Flow Diagram */
.systems-flow {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.flow-diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 100px;
}

.flow-icon {
  width: 60px;
  height: 60px;
  background: #2a4b8d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.flow-label {
  font-size: 0.9rem;
  font-weight: 500;
}

.flow-arrow {
  color: #2a4b8d;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Money Distribution */
.money-distribution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.distribution-chart {
  display: flex;
  justify-content: center;
  align-items: center;
}

.money-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.money-table th {
  background: #2a4b8d;
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.money-table td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.money-table tr:last-child td {
  border-bottom: none;
}

/* Economic Impact */
.economic-impact {
  margin: 2rem 0;
}

.impact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.impact-card {
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  border-top: 4px solid #2a4b8d;
}

.impact-card i {
  font-size: 2rem;
  color: #2a4b8d;
  margin-bottom: 1rem;
}

.impact-card h4 {
  color: #2a4b8d;
  margin: 0.5rem 0;
}

/* Data Flow Visualization */
.data-flow-container {
  margin: 2rem 0;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.data-flow-chart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.data-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
}

.data-node i {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.primary-node i {
  background: #4CAF50;
}

.secondary-node i {
  background: #FF9800;
}

.tertiary-node i {
  background: #9C27B0;
}

.data-connection {
  flex: 1;
  height: 2px;
  background: #2a4b8d;
  position: relative;
}

.data-connection:after {
  content: "→";
  position: absolute;
  right: -10px;
  top: -8px;
  color: #2a4b8d;
  font-weight: bold;
}

.data-systems-table {
  margin: 2rem 0;
}

.systems-detail-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.systems-detail-table th {
  background: #2a4b8d;
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.systems-detail-table td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.systems-detail-table tr:last-child td {
  border-bottom: none;
}

/* Ecosystem Grid */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.ecosystem-category {
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-left: 4px solid #2a4b8d;
}

.ecosystem-category h3 {
  color: #2a4b8d;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ecosystem-category i {
  color: #2a4b8d;
}

.ecosystem-category ul {
  margin: 1rem 0 0 0;
  padding-left: 1.2rem;
}

.ecosystem-category li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Ripple Visualization */
.ripple-visualization {
  position: relative;
  height: 500px;
  margin: 3rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ripple-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.center-circle {
  width: 120px;
  height: 120px;
  background: #2a4b8d;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.center-circle i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.center-circle span {
  font-size: 0.8rem;
  font-weight: 600;
}

.ripple-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.primary-ripple {
  width: 200px;
  height: 200px;
}

.secondary-ripple {
  width: 350px;
  height: 350px;
}

.tertiary-ripple {
  width: 500px;
  height: 500px;
}

.ripple-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 100px;
}

.ripple-item i {
  width: 50px;
  height: 50px;
  background: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.secondary-ripple .ripple-item i {
  background: #FF9800;
}

.tertiary-ripple .ripple-item i {
  background: #9C27B0;
}

.ripple-item span {
  font-size: 0.8rem;
  font-weight: 500;
}

.visualization-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.legend-color.primary {
  background: #4CAF50;
}

.legend-color.secondary {
  background: #FF9800;
}

.legend-color.tertiary {
  background: #9C27B0;
}

/* Impact Analysis */
.impact-analysis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.impact-level {
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.impact-level h3 {
  color: #2a4b8d;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.impact-level i {
  color: #2a4b8d;
}

.impact-level ul {
  margin: 1rem 0 0 0;
  padding-left: 1.2rem;
}

.impact-level li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.conclusion-box {
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #2a4b8d 0%, #1a2a6c 100%);
  color: white;
  border-radius: 8px;
}

.conclusion-box h3 {
  margin-top: 0;
  color: #4FC3F7;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.conclusion-box .highlight {
  font-weight: 600;
  font-style: italic;
  color: #4FC3F7;
  margin-top: 1rem;
}

/* Final Thought */
.final-thought {
  margin: 3rem 0;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.thought-quote {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  border-left: 4px solid #2a4b8d;
}

.thought-quote blockquote {
  margin: 0;
  font-style: italic;
  font-size: 1.1rem;
  color: #2a4b8d;
}

/* Stats Widget */
.stats-widget {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2a4b8d;
  margin-bottom: 0.3rem;
}

.stat-desc {
  font-size: 0.8rem;
  color: #666;
}

/* Ripple Animation Canvas */
.ripple-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .money-distribution {
    grid-template-columns: 1fr;
  }
  
  .data-flow-chart {
    flex-direction: column;
  }
  
  .data-connection {
    width: 2px;
    height: 40px;
  }
  
  .data-connection:after {
    content: "↓";
    right: -5px;
    top: auto;
    bottom: -15px;
  }
  
  .ripple-visualization {
    height: 400px;
  }
  
  .primary-ripple {
    width: 150px;
    height: 150px;
  }
  
  .secondary-ripple {
    width: 250px;
    height: 250px;
  }
  
  .tertiary-ripple {
    width: 350px;
    height: 350px;
  }
  
  .ripple-item {
    min-width: 80px;
  }
  
  .ripple-item i {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .visualization-legend {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .flow-diagram {
    flex-direction: column;
  }
  
  .flow-arrow {
    transform: rotate(90deg);
  }
}