/* ===== COURSE GRID FIX (TAILWIND BYPASS) ===== */

.course-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile default */
  gap: 24px;
}

/* Tablet */
@media (min-width: 768px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop / Large screen */
@media (min-width: 1024px) {
  .course-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Only for large screens (lg: ≥1024px) */
@media (min-width: 1024px) {
  .footer-left-30 {
    margin-left: 30%;
  }
}

.note-wrapper {
  margin-top: 50px;
}

.red-note {
  display: inline-block;
  color: rgb(215, 91, 75);
  background-color: rgb(252, 242, 240);
  font-size: 1rem;
  border: 1px solid rgb(215, 91, 75);
  border-radius: 7px;
  padding: 10px 24px;
  line-height: 1.6;
  max-width: 100%;
}

/* 📱 Mobile view */
@media (max-width: 576px) {
  .note-wrapper {
    margin-top: 30px;
  }

  .red-note {
    font-size: 0.9rem;
    padding: 10px 14px;
    display: block;
  }
}

/* Mobile fix */
@media (max-width: 1024px) {
  .stats-section-fix {
    height: auto !important;
    padding-bottom: 40px;
  }
}

/* Desktop only fixed height */
@media (min-width: 1025px) {
  .stats-section-fix {
    height: 270px;
  }
}
/* Top bar mobile responsive fix */
@media (max-width: 767px) {
  .bg-primary .container > div {
    justify-content: flex-start;
  }

  .bg-primary .container > div > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px; /* email & phone ke beech gap */
  }
}
