@media only screen and (min-width: 200px) and (max-width: 575px) {
  
   
    .hamburger {
        display: flex;
    }

  body{
   background-color: #000000 !important;
   background-image: none !important;
  }
  .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100%; 
    }

.navbar {
       position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        color: var(--accent-cyan);
        background: #0c0c0c;
        flex-direction: column;
        align-items: center;
        padding: 0; 
        gap: 20px;
        border-top: 1px solid #eee;
        box-shadow: 0 5px 10px rgba(0,0,0,0.05);
        box-sizing: border-box;
        
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    }

    
    .menu-toggle:checked ~ .navbar {
        max-height: 300px;
        padding: 20px 0; 
    }

    
    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        background-color: #ff7675;
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        background-color: #ff7675;
    }
    
    .nav-link{
        color:white;
        font-weight: bold;
    }
    
    .hero-section{
        
        height: auto;
        min-height: auto;
        padding-bottom: 30px;
    }

    .hero-container{
        padding-top: 0px;
        height: auto;
    }

    .hero-content-center {
        margin-top: 1px;
        width: 100%;
    }

  .hero-content-center h1{
    font-size: 2.7rem;
  }

  .hero-subtext {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  .hero-btn-wrapper{
    align-items: center;
    justify-content: center;
    margin-left: 0px;
  }

  .btn-hero-large{
    font-size: 1rem;
    padding: 12px 10px;
    
  }
  
 .btn-heros-large{
    display: none;
 }

  .hero-side-text{
    display: none;
  }

  .stats-row{
    padding: 10px;
    margin-top: 40px;
    margin-bottom: 0;
    padding-bottom: 0;

  }
  .stat-item h2 {
    font-size: 2rem;
  }

  .stat-item p {
    color: #94a3b8; 
    font-size: 0.5rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
  }

  .featured-courses-section {
    padding:  0;
    margin-top: 0;
 }
  
 .section-title {
    padding: 10px;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 30px;
    margin-top: 0;
    line-height: 1.2;
 }
 .mobile-scroll {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 16px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    padding: 10px 0 20px;
  }

  /* hide scrollbar */
  .mobile-scroll::-webkit-scrollbar {
    display: none;
  }

  /* each card */
  .mobile-scroll .course-card {
    min-width: 85%;
    max-width: 90%;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 18px;
  }
  .price-main{ 
    font-family: 'Times New Roman', serif;
    font-size:1.7rem;
    font-weight: 900;
    color: #e9e9e9;
    
    filter: brightness(120);
  }

  .price-old{
  font-family: 'Times New Roman', serif;
  text-decoration: line-through;
  color: #ffffff;
  text-decoration-color: #ff0000;
  font-size: 1.2rem;
  text-decoration-thickness: 2px;
  font-weight: 900;
  
  }

  /* image fix */
  .card-image {
    aspect-ratio: 16 / 9;
    height: auto;
  }


  /* button fix (VERY IMPORTANT) */
  .enroll-btn {
  font-size:1.4rem;
  font-weight: 900;
  text-decoration: none;
  display: inline-block; 
  padding: 8px 70px;
  border-radius: 10px;
  background-color: #24cfa6;
  opacity: 95%;
  color: #000;
  margin-left: 20px;
  }
  
 
 .footer-row {
        gap: 0 !important; 
       
    }
  
  .footer-col {
        min-width: 0 !important; 
        margin-bottom: 10px;
    }

    .footer-col h4{
      padding-top: 20px;
    }

 .footer-col:nth-child(1) {
        flex: 0 0 100%; 
        text-align: left;
    }
    
    .footer-col:nth-child(2) {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .footer-col:nth-child(3) {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 50px; 
    }
    
    .footer-col:nth-child(4) {
        flex: 0 0 100%;
        text-align: left;
    }


}




@media only screen and (min-width: 576px) and (max-width: 991px) {
    
   
    .hamburger {
        display: flex;
    }

    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100%; 
    }
    .navbar {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--accent-cyan);
        flex-direction: column;
        align-items: center;
        
        
        padding: 0; 
        
        gap: 20px;
        border-top: 1px solid #eee;
        box-shadow: 0 5px 10px rgba(0,0,0,0.05);
        
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out; 
    }

    
    .menu-toggle:checked ~ .navbar {
        max-height: 300px;
        padding: 20px 0; 
    }

    
    .menu-toggle:checked ~ .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        background-color: #ff7675;
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        background-color: #ff7675;
    }
    
    .nav-link{
        color:white;
        font-weight: bold;
    }

   .mobile-scroll {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 16px;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    padding: 10px 0 20px;
  }

  /* hide scrollbar */
  .mobile-scroll::-webkit-scrollbar {
    display: none;
  }

  /* each card */
  .mobile-scroll .course-card {
    min-width: 85%;
    max-width: 90%;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 18px;
  }
  .price-main{ 
    font-family: 'Times New Roman', serif;
    font-size:1.7rem;
    font-weight: 900;
    color: #e9e9e9;
    
    filter: brightness(120);
  }

  .price-old{
  font-family: 'Times New Roman', serif;
  text-decoration: line-through;
  color: #ffffff;
  text-decoration-color: #ff0000;
  font-size: 1.2rem;
  text-decoration-thickness: 2px;
  font-weight: 900;
  
  }

  /* image fix */
  .card-image {
    aspect-ratio: 16 / 9;
    height: auto;
  }


  /* button fix (VERY IMPORTANT) */
  .enroll-btn {
  font-size:1.4rem;
  font-weight: 900;
  text-decoration: none;
  display: inline-block; 
  padding: 8px 70px;
  border-radius: 10px;
  background-color: #24cfa6;
  opacity: 95%;
  color: #000;
  margin-left: 20px;
  }

  .hero-side-text{
    display: none;
  }
  
  .enroll-btn {
  font-size:2rem;
  font-weight: 900;
  text-decoration: none;
  display: inline-block; 
  padding: 10px 200px;
  border-radius: 15px;
  background-color: #24cfa6;
  opacity: 95%;
  color: #000;
  margin-left: 50px;
  }
  
  .footer{
    width: 100%;
  }

  .footer-row {
        gap: 0 !important; 
       
    }
  
  .footer-col {
        min-width: 0 !important; 
        margin-bottom: 10px;
    }

    .footer-col h4{
      padding-top: 20px;
    }

 .footer-col:nth-child(1) {
        flex: 0 0 100%; 
        text-align: left;
    }
    
    .footer-col:nth-child(2) {
        flex: 0 0 33%;
        max-width: 100%;
    }
    .footer-col:nth-child(3) {
        flex: 0 0 35%;
        max-width: 100%;
        padding-left: 50px; 
    }
    
    .footer-col:nth-child(4) {
        flex: 0 0 30%;
        
    }

  

  

 

 



}