/* ==================== 
   RESPONSIVE STYLES
   ==================== */

/* Tablet and Below (768px) */
@media (max-width: 768px) {
  /* Hero Section */
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-section {
    padding: 60px 0;
  }

  /* Feature Content */
  .feature-section {
    border-radius: 0 !important;
    margin-top: 0px;
  }
  .feature-content {
    gap: 0px;
  }

  .feature-content.flex-reverse {
  }
  .feature-text {
    margin-right: 20px;
  }
  .feature-image {
    min-height: 250px;
  }

  .feature-title {
    font-size: 24px;
  }
  .feature-description {
    max-width: 100%;
  }

  /* Stats Grid */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stats-title {
    font-size: 22px;
  }

  /* Products Grid */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Navbar Collapse */
  .navbar-collapse {
    background-color: white;
    padding: 20px;
    margin-top: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav .nav-link {
    margin: 10px 0;
  }

  /* Buttons */
  .btn-login,
  .btn-register {
    width: 100%;
    margin: 5px 0 !important;
  }

  /* Featured Banner */
  .featured-banner {
    padding: 20px;
  }

  .banner-title {
    font-size: 20px;
  }

  .banner-stats {
    flex-direction: column;
    gap: 15px;
  }

  /* Filter Tabs */
  .filter-tabs {
    gap: 10px;
  }

  .filter-btn {
    padding: 6px 16px;
    font-size: 14px;
  }

  /* Section Title */
  .section-title {
    font-size: 26px;
  }

  /* Footer Content */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Topbar */
  .topbar .row {
    text-align: center;
  }

  .topbar .col-md-6 {
    margin: 5px 0;
  }
}

/* Mobile (480px and Below) */
@media (max-width: 480px) {
  /* Hero Section */
  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-section {
    padding: 40px 0;
  }

  /* Buttons */
  .btn-start {
    padding: 10px 30px;
    font-size: 14px;
  }

  /* Stats */
  .stat-card-number {
    font-size: 36px;
  }

  .stats-title {
    font-size: 18px;
    line-height: 1.4;
  }

  /* Feature Section */
  .feature-section {
    padding: 40px 0;
  }

  .feature-title {
    font-size: 20px;
  }

  .feature-description {
    font-size: 14px;
  }

  /* Products Section */
  .products-section {
    padding: 40px 0;
  }

  /* Section Title */
  .section-title {
    font-size: 22px;
  }

  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }

  .footer-section h5 {
           margin-bottom: 0px;
  }

  /* Testimonials */
  .testimonials-section {
    padding: 40px 0;
  }

  .testimonial-card {
    padding: 20px;
  }

  /* FAQ */
  .faq-section {
    padding: 40px 0;
  }

  .accordion-button {
    padding: 15px;
    font-size: 14px;
  }

  .accordion-body {
    padding: 15px;
    font-size: 14px;
  }
}

/* Large Tablets (992px and Below) */
@media (max-width: 992px) {
  /* Container Adjustments */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Feature Content */
  .feature-content {
    gap: 30px;
  }

  /* Products Grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer Content */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Desktops (1200px and Below) */
@media (max-width: 1200px) {
  /* Hero Title */
  .hero-title {
    font-size: 36px;
  }

  /* Feature Title */
  .feature-title {
    font-size: 26px;
  }
}

/* Animation for Scroll */
@media (prefers-reduced-motion: no-preference) {
  .product-card,
  .testimonial-card,
  .stat-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
  }

  .product-card.visible,
  .testimonial-card.visible,
  .stat-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* my custom mobile */
@media (max-width: 500px) {
  .footer-content {
           gap: 20px;
        display: flex;
        flex-wrap: wrap;
  }
  .footer-content .footer-section:first-child {
    flex: 1 1 100%;
}
  .footer-links li {
    margin-bottom: 15px;
  }
  .social-icons {
    margin-bottom: 20px;
  }

  .lesson .lesson-head {
  font-size:12px;
  padding: 14px 10px;
}
.exam-lesson-button {
    
    padding: 6px 10px;
    font-size: 12px;
}
.video .videodata {
    padding: 10px 15px;
}
.playicon {
    width: 20px;
    height: 20px;
}
.footer-content .footer-section {
    flex: 1 1 46%;
}
.course-card {
   
    padding:10px;
    flex-direction: column-reverse;
}
.course-content{
    margin-top: 20px;
    width: 100%;
}
.course-title {
    font-size: 23px;
    padding-right: 10px;
}
.course-subtitle {
    font-size: 16px;
     padding-right: 10px;
}
.icons {
    gap: 10px;
    width: 100%;
}
.instructor {
    margin-bottom:0px;
}
.info-box {
    padding: 10px 15px;
}
.icons .icon {
    font-size: 12px;
}
.info-icon {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
}
.ratings i {
   
    font-size: 12px;
}
.card-custom {
   
    flex-direction: column-reverse;
}
.card-content p {
    font-size: 18px;
}
.card-content p span {
   
    display: block;
    margin-top: 10px;
}
.btn-orange {
   
    padding: 0px 10px;
}
.circle-heading {
    padding-right: 0px;
    font-size: 12px;
}
.circle-heading::after {
   display: none;
}
.circle-progress {
    width: 100%;
    height: auto;
    position: relative;
    margin: auto;
}
.viewmore {
    font-size: 14px;
    padding: 5px 10px;
    top: 5px;
}
.ktitle{
        text-align: right;
    }
    .language-dropdown .dropdown-toggle {
    padding: 10px 0px 6px 10px;
}
.navbar-collapse{
border-radius: 12px;
    border: 1px solid rgb(224, 224, 224);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 20px;
    padding: 10px 0px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    position: absolute;
    left: 0px;
    top: 45px;
    width: 100%;
    z-index: 9;
}
.navbar {
    position: relative;
}
}
