/* === MOBILE VIEW FIXES === */
@media only screen and (max-width: 480px) {

.top-bar,
.top-header,
.black-bar {
  display: none !important;
}


  /* ==== HEADER AREA ==== */
  .main-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
  }

  .logo img {
    width: 110px;
    height: auto;
  }

@media only screen and (max-width: 480px) {

  /* Make dropdown visible in mobile view */
  .dropdown {
    display: inline-block !important;
  }

  /* Adjust spacing or font for smaller screens */
  .dropbtn {
    font-size: 13px;
    padding: 8px 12px;
  }
}


  /* Hide Search Bar */
  .search-wrapper {
    display: none;
  }

  /* WhatsApp & Join visible */
  .nav-links {
    display: flex;
    gap: 10px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 6px 10px;
  }

  .nav-links .btn {
    background: red;
    color: #fff;
    border-radius: 6px;
  }

/* === CLEAN FIX: HERO SECTION FOR MOBILE === */

@media (max-width: 480px) {

  .hero-img,
  .bhero-img {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }


  /* Hero section mobile fix */
  .hero {
    justify-content: flex-start;
    align-items: flex-start;
    padding: 10px 10px;
  }

  .hero-text {
    max-width: 90%;
    text-align: left;
    margin: 0;
    padding: 0;
  }

  .hero-text h1 {
    font-size: 1.1rem;       /* make it smaller so it fits in one line */
    line-height: 1.2;
    
    overflow: hidden;
    text-overflow: ellipsis; /* in case of long text */
  }

  .hero-text p {
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 90%;
    text-align: left;
  }

  .hero-text a {
    margin-top: 10px;
  }
}

 
  /* === TRUSTED BY STUDENTS SECTION === */
  .image-track {
    display: flex;
    overflow-x: auto;          /* swipe left-right */
    overflow-y: hidden;
    scroll-behavior: smooth;   /* smooth drag feel */
    gap: 10px;
    padding: 10px;
    -webkit-overflow-scrolling: touch; /* makes swipe smooth like Instagram */
  }

  .image-track::-webkit-scrollbar {
    display: none; /* hide scrollbar */
  }

  .image-track img {
    flex-shrink: 0;
    width: 90%;
    height: auto;
    object-fit: contain;   /* no zoom or crop */
    border-radius: 10px;
    transition: transform 0.3s ease;
  }

  .image-track img:active {
    transform: scale(0.98);   /* small tap feedback */
  }

  /* === GENERAL LAYOUT FIXES === */
  section {
    padding: 20px 10px;
  }

  footer {
    font-size: 12px;
    text-align: center;
    padding: 15px;
  }
}
