      body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: #f4f6f9;
    }
  

   
    /* HERO SLIDER */
 
   
   
    /* Courses & My Courses Section Starts Here */
.courses-section {
  padding: 5px 0px 20px 0px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 10px;
}

h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.5rem;
  position: relative;
  font-weight: 700;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #007bff, #28a745);
  border-radius: 2px;
}

.tabs {
  display: flex;
  justify-content: center;
    margin-top: 5px;
  margin-bottom: 10px;
  gap: 15px;
  background: #80808026;
  padding:3px;
/*padding-left: 1px;*/
/*padding-right: 1px;*/
  flex-wrap: wrap;
  border: solid black 0.5px;
  border-radius: 5px;
  margin-left:10px ;
  margin-right: 10px;
}

.tab-btn {
        padding: 5px 69px;
  background: none;
  
  font-weight: 600;
  font-size: 1.1rem;
  color: black;
  transition: all 0.3s ease;
  
  cursor: pointer;
  border: 2px solid transparent;
}

.tab-btn:hover {
  
  /*box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);*/
}

.tab-btn.active {
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);*/
    border-radius: 5px;
  background: #007bff;
  color: #fff;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.course-card {
  background: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
  padding: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #007bff;
  flex-direction: row;
  text-align: left;
 
}

.course-card img {
  width: 280px;
  height: 180px;
  object-fit: contain;
  border-radius: 15px;
  display: block;
}

.course-info {
  flex: 1;
}

.course-info h3 {
    margin-top: 10px;
  font-size: 1.6rem;
  color: #2c3e50;
  margin-bottom: 0px; /* Default spacing for desktop */
}

.course-info p {
  color: #6c757d;
  font-size: 1rem;
  margin-bottom: 10px; /* Default spacing before price */
  line-height: 1.6;
}

.price {
  font-weight: 700;
  color: #28a745;
  font-size: 1.2rem;
  margin-bottom: 12px; /* Default spacing before button */
}

.btn {
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 0px; /* You can adjust this if needed */
  transition: 0.3s;
}

.btn:hover {
  background: #0056b3;
}

.no-courses {
  text-align: center;
  color: #888;
  font-size: 1.1rem;
  padding: 60px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .tab-btn {
    padding: 5px 10px;
    font-size: 0.9rem;
    flex: 1 1 auto;
    /*min-width: 110px;*/
    text-align: center;
  }

  .course-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
  }

  .course-card img {
    width: 155px;
    height: auto;
    border-radius: 5px;
  }

  .course-info h3 {
    font-size: 12px;
    margin-bottom: 6px; /* Reduced gap on mobile */
  }

  .course-info p {
    font-size: 0.85rem;
    margin-bottom: 1px; /* Tighter spacing on mobile */
    line-height: .6;
  }

  .price {
    font-size: 0.85rem;
    margin-bottom: 2px; /* Tighter spacing on mobile */
  }

  .btn {
    padding: 6px 14px;
    font-size: 10px;
    margin-top: 8px; /* Button closer to price */
  }
}
