/* ============================= */
/*   Responsive CSS Overrides   */
/* ============================= */

/* Tablets (<=1024px) */
@media (max-width: 1024px) {
  .row-cols-1 > * { width: 50%; }
  .col-lg-10 { width: 50%; }

  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.2rem; }

  .video-section img {
    width: auto;
    height: 600px;
  }

  .row-cols-md-4 > * { width: 25% !important; }
  .features-grid { width: 100% !important; }
}

/* Tablets & Small Laptops (<=991px) */
@media (max-width: 991px) {
  .row-cols-1 > *,
  .col-lg-10 { width: 100%; }
.row-cols-md-4 > * { width: 50% !important; }
  .header-section { position: relative; }
  .all-shapes { display: none; }

  .menu ul.lab-ul { display: none; }
  .menu ul.lab-ul.active {
    display: flex;
    flex-direction: column;
  }

  /* Banner */
  .banner-content {
    text-align: center;
    margin-bottom: 25px;
  }

  .banner-thumb {
    text-align: center;
  }

  .banner-thumb img {
    max-width: 80%;
    height: auto;
  }

  .container.invstban {
    height: auto !important;
    padding: 40px 15px;
    flex-direction: column;
    text-align: center;
  }

  .invstban img {
    margin-top: 20px;
    width: 100%;
    height: auto;
  }

  /* Steps */
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
  }

  .connector-svg { display: none; }

  /* About */
  .about-section .about-left,
  .about-section .about-right {
    text-align: center;
  }

  .about-thumb img {
    max-width: 80%;
    margin: auto;
  }

  .instructor-navigations { display: none !important; }

  /* Swiper Pagination */
  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #000;
    opacity: 0.5;
    transition: 0.3s;
  }

  .swiper-pagination-bullet-active {
    background: #000;
    opacity: 1;
  }

  .header-wrapper { flex-wrap: nowrap; }

  .header-wrapper .logo a img { max-width: 100%; }

  .header-wrapper .menu-area .ellepsis-bar i {
    font-size: 18px;
  }

  .header-wrapper .menu-area .ellepsis-bar a {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    align-items: center;
  }
}

/* Mobiles (<=575px) */
@media (max-width: 575px) {
	.row-cols-md-4 > * { width: 100% !important; }
  h2.title,
  .hero-title,
  .faq-title { font-size: 25px !important; }

  .category-thumb img {
    width: 60px;
    border-radius: 0;
  }

  .padding-tb,
  section.steps,
  .proofbg,
  .hero,
  .approach,
  .skill,
  .learn,
  .lifecycle,
  .why1 {
    padding: 15% 0 !important;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
  }

  .features-grid {
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-item { padding: 25px 15px; }
  .testimonial-text { font-size: 0.95rem; }

  .carousel-control-prev,
  .carousel-control-next { display: none; }

  .banner-content h2 {
    font-size: 22px;
    line-height: 30px;
  }

  .banner-content p {
    font-size: 14px;
    line-height: 22px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }

  .footer-nav button { width: 100%; }
}
