      body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background: #f4f6f9;
    }
  
   /*Hero Slider Section Starts Here */

   .hero-slider {
            position: relative;
           
            height: 60vh;
            min-height: 500px;
            overflow: hidden;
            background: #f5f5f5;
               border: solid 1px;
        }

       .hero-slider .slide {
           position: absolute;
           top: 0;
           left: 0;
           width: 100%;
           height: 100%;
           opacity: 0;
           transition: opacity 1s ease-in-out;
           background-size: 100% 100%;
           background-position: center;
           background-repeat: no-repeat;
        }

        @media (max-width: 768px) {
            .hero-slider .slide {
                background-size: contain;
            }
        }

        .hero-slider .slide.active {
            opacity: 1;
        }



        .hero-slider .arrow-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.8);
            border: none;
            color: #333;
            font-size: 1.8rem;
            padding: 12px 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 10;
        }

        .hero-slider .arrow-nav:hover {
            background: rgba(255,255,255,0.95);
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .hero-slider .prev {
            left: 20px;
        }

        .hero-slider .next {
            right: 20px;
        }

        @media (max-width: 768px) {
            .hero-slider {
                height: 40vh;
                min-height: 300px;
              
            }
            
            .hero-slider .arrow-nav {
                font-size: 1.4rem;
                padding: 8px 12px;
            }
            
            .hero-slider .prev {
                left: 10px;
            }
            
            .hero-slider .next {
                right: 10px;
            }
        .hero-slider .slide {
       background-size: contain;
      
              }
            }
        

        @media (max-width: 480px) {
            .hero-slider {
                height: 30vh;
                min-height: 250px;
            }
            
            .hero-slider .arrow-nav {
                font-size: 1.2rem;
                padding: 6px 10px;
            }
        }
        
   /*Hero Slider Section Ebds Here */
   
   
   
    /* Courses & My Courses Section Starts Here */
.courses-section {
  padding: 5px 0px 50px 0px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 50px;
  font-size: 2.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-bottom: 40px;
  gap: 15px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 15px 30px;
  background: #fff;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #6c757d;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  border: 2px solid transparent;
}

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

.tab-btn.active {
  background: linear-gradient(45deg, #007bff, #0056b3);
  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: 20px;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  padding: 20px;
  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: cover;
  border-radius: 15px;
}

.course-info {
  flex: 1;
}

.course-info h3 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #2c3e50;
  margin-bottom: 12px; /* 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: 10px 15px;
    font-size: 0.9rem;
    flex: 1 1 auto;
    min-width: 130px;
    text-align: center;
  }

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

  .course-card img {
    width: 140px;
    height: auto;
    border-radius: 12px;
  }

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

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

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

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