@media (max-width: 768px) {
  .about-section {
    padding: 40px 20px;
    text-align: left;
  }

  .about-section h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .about-card {
    padding: 20px;
  }

  .about-card h2 {
    font-size: 1.2rem;
  }

  .about-card p, .about-card ul li {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .leaders-section {
    padding: 40px 20px;
  }

  .leaders-section h1 {
    font-size: 1.8rem;
  }

  .leaders-intro {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .leader-card {
    padding: 20px;
  }

  .leader-card img {
    width: 100px;
    height: 100px;
  }

  .leader-card h2 {
    font-size: 1.1rem;
  }

  .role {
    font-size: 0.85rem;
  }

  .bio {
    font-size: 0.85rem;
  }
}
@media (max-width: 768px) {
  .leaders-section {
    padding: 50px 20px;
  }

  .leaders-section h1 {
    font-size: 1.9rem;
  }

  .leaders-intro {
    font-size: 0.9rem;
    margin-bottom: 40px;
  }

  .leaders-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .leader-card {
    width: 90%;
    max-width: 360px;
  }

  .leader-img {
    width: 120px;
    height: 120px;
  }

  .bio {
    font-size: 0.85rem;
  }
}
@media (max-width: 768px) {
  .contact-section {
    padding: 80px 20px 50px 20px;
  }

  .contact-content h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 0.9rem;
    margin-bottom: 40px;
  }

  .contact-card {
    padding: 25px;
  }

  .contact-card h3 {
    font-size: 1rem;
  }

  .contact-card p {
    font-size: 0.85rem;
  }

  .social-links a {
    font-size: 1.2rem;
  }

  .contact-tagline p {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .separate-heading {
    font-size: 1.6rem;
    margin: 60px 0 30px 0;
  }

  .separate-heading::after {
    width: 60px;
    height: 3px;
  }
}
/* ===========================================================
   ✅ MOBILE SLIDER FOR "OUR 8 PREMIUM BUNDLES"
   Keeps all boxes, only changes behavior on mobile (≤768px)
   =========================================================== */
@media (max-width: 768px) {

  /* Prevent page-wide scrolling */
  html, body {
    overflow-x: hidden;
  }

  /* Make both course sections act as one horizontal scroll zone */
  .courses-section,
  .courses-section2 {
   
    margin: 0;
    /* background: #0b0b0b; */
  }

  /* Smooth horizontal scrolling + visible scrollbar */
  .courses-section::-webkit-scrollbar,
  .courses-section2::-webkit-scrollbar {
    height: 8px;
  }
  .courses-section::-webkit-scrollbar-thumb,
  .courses-section2::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
  }

  /* Make all course cards behave as scrollable slides */
  .course-card {
    flex: 0 0 auto;
    width: 230px;
    scroll-snap-align: start;
    border-radius: 12px;
    /* background: #1a1a1a; */
    margin: 0;
  }

  .course-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
  }

  .course-content {
    padding: 14px;
    text-align: left;
  }

  /* Keep heading above slider */
  .courses-section h1 {
    flex: 0 0 100%;
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 20px;
  }

  /* Make .courses-section2 blend with first one visually */
  .courses-section2 {
    margin-top: -10px;
    padding-top: 0;
    border: none;
  }
}
/* ===========================================================
   ✅ Mobile Responsive for course-detail.html (Only)
   =========================================================== */
@media (max-width: 768px) {

  /* Stack left & right sections */
  .container {
    flex-direction: column-reverse;
    align-items: center;
    padding: 20px;
    gap: 30px;
  }

  .right-section {
    width: 100%;
    text-align: center;
  }

  .video-placeholder img {
    width: 100%;
    height: auto;
    max-width: 420px;
  }

  .info {
    margin: 10px auto 0 auto;
    text-align: left;
    max-width: 400px;
  }

  .left-section {
    width: 100%;
    text-align: center;
  }

  .left-section h1 {
    font-size: 1.3rem;
    line-height: 1.6;
  }

  .tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .price-section {
    margin-top: 20px;
  }

  .price {
    font-size: 1.2rem;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .buy-btn,
  .syllabus-btn {
    width: 90%;
  }

  /* Hero1 Section */

  .stats {
    flex-direction: column;
    gap: 15px;
  }

  .stat-card {
    width: 80%;
    height: auto;
    padding: 20px;
  }

  /* What's New section */
  .section {
    margin: 30px 10px;
  }

  .compare {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .panel {
    width: 90%;
  }

  /* Gain Section */
  .gain-section {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    padding: 20px;
  }

  .gain-left {
    margin-left: 0;
    text-align: center;
  }

  .gain-left .heading {
    font-size: 1.6rem;
  }

  .syllabus {
    text-align: left;
  }

  .gain-right {
    display: none;
  }

  /* Certification Section */
  .certification-section {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }

  .certification-content h1 {
    font-size: 2rem;
  }

  .certificate-image img {
    max-width: 80%;
    margin-top: 20px;
  }
}
/* ===========================================================
   ✅ course-detail.html — Mobile Optimization (Final Update)
   =========================================================== */
@media (max-width: 768px) {

  /* --- Navbar --- */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    /* background: #0b0b0b; */
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    color: #000000;
    cursor: pointer;
    margin-left: 260px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background:#8dd3e0;
    width: 200px;
    border-radius: 10px;
    padding: 20px;
    gap: 10px;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li a {
    color: #ffffff;
    font-size: 1rem;
  }

  /* --- Course Section Layout --- */
  .container {
    flex-direction: column-reverse;
    align-items: center;
    padding: 20px;
    gap: 25px;
  }

  .right-section {
    width: 100%;
    text-align: center;
  }

  /* ✅ Course Image Slightly Smaller */
  .video-placeholder img {
    width: 75%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
  }

  .info {
    text-align: left;
    margin: 10px auto;
    max-width: 380px;
  }

  .left-section {
    width: 100%;
    text-align: center;
  }

  .left-section h1 {
    font-size: 1.3rem;
    line-height: 1.6;
  }

  .tags {
    justify-content: center;
    flex-wrap: wrap;
  }

  .buttons {
    flex-direction: column;
    align-items: center;
  }

  .buy-btn,
  .syllabus-btn {
    width: 90%;
  }

  /* --- ✅ Get Placed Section Center Fix --- */
  .hero1 {
    text-align: center;
    margin: 40px 10px 20px 10px;
    padding: 20px 10px;
  }

  .hero1 h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .hero1 .subtitle {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 20px;
  }

  .stats {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .stat-card {
    width: 80%;
    padding: 20px;
    background:#8dd3e0;
    border-radius: 14px;
  }
/* ===========================================================
   ✅ Keep Reach / Instructors / Batches in one row (index.html)
   =========================================================== */
@media (max-width: 768px) {
  .hero + .stats {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  .hero + .stats div {
    flex: 1;
    text-align: center !important;
  }

  .hero + .stats h2 {
    font-size: 1.4rem !important;
    margin: 0;
  }

  .hero + .stats p {
    font-size: 0.9rem !important;
    margin: 0;
  }
}

  /* --- Gain Section --- */
  .gain-section {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .gain-left {
    text-align: center;
    margin-left: 0;
  }

  .gain-left .heading {
    font-size: 1.6rem;
  }

  .syllabus {
    text-align: left;
  }

  .gain-right {
    display: none;
  }

  /* --- Certification Section --- */
  .certification-section {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }

  .certification-content h1 {
    font-size: 2rem;
  }

  .certificate-image img {
    max-width: 75%;
    margin-top: 20px;
  }
}
/* ===========================================================
   ✅ Mobile Fix: Reduce margin, padding, and right-side spacing
   for all course sections & sliders
   =========================================================== */
@media (max-width: 768px) {
  /* --- General course sections --- */
  .courses-section,
  .courses-section2 {
    padding: 10px 5px !important;   /* reduced left/right padding */
    margin: 5px auto !important;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    overflow-x: hidden !important; /* prevent right overflow */
  }

  /* --- Each course card --- */
  .course-card {
    width: 200px !important;
    margin: 0 4px !important;
    border-radius: 10px !important;
    overflow: hidden;
  }

  .course-card img {
    width: 100% !important;
    height: 130px !important;
    object-fit: cover;
    border-radius: 10px 10px 0 0 !important;
  }

  .course-content {
    padding: 8px !important;
    text-align: center !important;
  }

  .course-content h3 {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
  }

  .price {
    font-size: 0.85rem !important;
  }

  .details-btn {
    font-size: 0.8rem !important;
    padding: 6px 8px !important;
  }
}
  /* ===========================================================
   ✅ Separate Courses Section - Reduce Top Padding & Remove Scroll Point
   =========================================================== */
@media (max-width: 768px) {
  /* --- Remove top margin & padding --- */
  .separate-courses-section {
    margin-top: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 20px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    overflow: hidden !important; /* prevent horizontal bounce */
  }

  /* --- Tighten heading spacing --- */
  .separate-heading {
    margin-top: 20px !important;
    margin-bottom: 15px !important;
    font-size: 1.3rem !important;
  }

  /* --- Reduce card gaps --- */
  .cert-box {
    margin: 5px !important;
    padding: 8px !important;
  }

  /* --- Remove scroll bounce / snapping / pointer triggers --- */
  .swiper,
  .swiper-wrapper,
  .swiper-slide {
    scroll-snap-type: none !important;
    overscroll-behavior: none !important;
  }

  /* Disable animation on scroll for this section (prevents "jumping") */
  .separate-courses-section.animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
/* ===========================================================
   ✅ Remove pagination dots (points) from all sliders on mobile
   =========================================================== */
@media (max-width: 768px) {
  /* Hide Swiper pagination bullets */
  .swiper-pagination,
  .premium-swiper-pagination,
  .separate-swiper-pagination {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* Optional: also remove scrollbar if visible */
  .swiper-scrollbar {
    display: none !important;
  }
}
html, body {
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

