/* Courses Page Specific Styles */
body {
  background: linear-gradient(135deg, #000814 0%, #001d3d 50%, #000814 100%);
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 180, 216, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(144, 224, 239, 0.1) 0%, transparent 40%);
  z-index: -1;
}

.courses-section {
  padding-top: 130px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.courses-section h1 {
  color: #00b4d8;
  font-size: 3.5em;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
}

.courses-section h1::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00b4d8, #90e0ef, #00b4d8, transparent);
  border-radius: 2px;
}

.subtitle {
  color: #90e0ef;
  font-size: 1.4em;
  margin: 40px auto 60px;
  max-width: 800px;
  line-height: 1.6;
  padding: 0 20px;
}

.courses-progression {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 20px 80px;
  position: relative;
}

.progression-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #00b4d8, #90e0ef, #00b4d8);
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 2px;
}

.course-tier {
  display: flex;
  width: 100%;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.course-tier:nth-child(odd) {
  justify-content: flex-start;
}

.course-tier:nth-child(even) {
  justify-content: flex-end;
}

.course-node {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: #001d3d;
  border: 3px solid #00b4d8;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.5);
}

.course-card {
  background: rgba(0, 29, 61, 0.85);
  border-radius: 15px;
  padding: 30px;
  width: 45%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 180, 216, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #00b4d8, #90e0ef);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.course-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 180, 216, 0.3);
  border-color: rgba(0, 180, 216, 0.6);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.course-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  flex-shrink: 0;
  border: 2px solid #00b4d8;
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

.course-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-title {
  flex-grow: 1;
  text-align: left;
}

.course-title h2 {
  color: #90e0ef;
  font-size: 1.8em;
  margin-bottom: 5px;
}

.course-level {
  display: inline-block;
  background: rgba(0, 180, 216, 0.2);
  color: #00b4d8;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.9em;
  font-weight: bold;
  margin-bottom: 10px;
}

.course-content {
  text-align: left;
  margin-bottom: 25px;
}

.course-content p {
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 15px;
}

.course-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.course-feature {
  background: rgba(0, 180, 216, 0.1);
  color: #90e0ef;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9em;
  border: 1px solid rgba(0, 180, 216, 0.3);
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 180, 216, 0.2);
}

.course-duration {
  color: #90e0ef;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.course-duration i {
  margin-right: 8px;
  color: #00b4d8;
}

.course-price {
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.3em;
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

.courses-benefits {
  background: rgba(0, 53, 102, 0.6);
  border-radius: 20px;
  padding: 50px 40px;
  margin: 80px 20px;
  border: 1px solid rgba(0, 180, 216, 0.3);
  text-align: center;
}

.courses-benefits h2 {
  color: #00b4d8;
  font-size: 2.5em;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: rgba(0, 29, 61, 0.7);
  border-radius: 15px;
  padding: 30px 25px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 180, 216, 0.2);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 180, 216, 0.2);
  border-color: rgba(0, 180, 216, 0.5);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 180, 216, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

.benefit-icon i {
  color: #00b4d8;
  font-size: 2em;
}

.benefit-card h3 {
  color: #90e0ef;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.benefit-card p {
  color: #ccc;
  line-height: 1.6;
}

.cta-section {
  text-align: center;
  margin: 60px 20px 100px;
  padding: 50px;
  background: linear-gradient(135deg, rgba(0, 29, 61, 0.8) 0%, rgba(0, 53, 102, 0.8) 100%);
  border-radius: 20px;
  border: 1px solid rgba(0, 180, 216, 0.3);
}

.cta-section h2 {
  color: #00b4d8;
  font-size: 2.2em;
  margin-bottom: 20px;
}

.cta-section p {
  color: #90e0ef;
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.2em;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 180, 216, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.6);
}

@media (max-width: 768px) {
  .courses-section {
    padding-top: 100px;
  }
  
  .courses-section h1 {
    font-size: 2.5em;
  }
  
  .progression-line {
    display: none;
  }
  
  .course-tier {
    justify-content: center !important;
    margin-bottom: 40px;
  }
  
  .course-node {
    display: none;
  }
  
  .course-card {
    width: 90%;
  }
  
  .course-header {
    flex-direction: column;
    text-align: center;
  }
  
  .course-icon {
    margin: 0 auto 15px;
  }
  
  .courses-benefits {
    padding: 30px 20px;
    margin: 60px 15px;
  }
  
  .cta-section {
    padding: 30px 20px;
    margin: 40px 15px 80px;
  }
}