/* Desktop: behave like grid */
@media (min-width: 992px) {
    .method-slider .swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 3rem;
    }

    .method-slider .swiper-slide {
        width: calc(33.333% - 2rem) !important;
    }

    .method-slider .swiper-pagination {
        display: none;
    }

    
}

@media (max-width: 991px) {

    html{
        overflow-x: hidden;
    }
    .navbar{
        padding-inline: 20px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-lead{
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .hero-section {
        padding: 40px 0 0;
        min-height: 80vh;
        margin-bottom: 0;
    }
    section, .site-main > * {
        margin: 30px 0;
    }
    .section-title{
        font-size: 1.3rem;
    }
    .lead{
        font-size: 1rem;
    }
    .mb-5 {
        margin-bottom: 1rem!important;
    }
    .challenge-slider {
        padding: 0;
    }
    /* Toggle */
    .app-toggle {
        width: 30px;
        height: 22px;
        position: relative;
        border: none;
        background: none;
        z-index: 1101;
        background-color: transparent !important;
        flex-shrink: 1;
        display: flex;
        padding: 0;
    }

    .app-toggle span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: #111;
        border-radius: 2px;
        transition: transform .45s cubic-bezier(.4,0,.2,1),
                    opacity .3s ease;
    }

    .app-toggle span:nth-child(1) { top: 0; }
    .app-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .app-toggle span:nth-child(3) { bottom: 0; }

    /* Active Toggle */
    .app-toggle.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .app-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .app-toggle.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    /* Menu Panel */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: #fff;
        padding: 90px 24px 24px;
        transition: right .55s cubic-bezier(.4,0,.2,1);
        z-index: 1100;
        display: block !important;
    }

    .navbar-collapse.show {
        right: 0;
    }

    /* Menu Items */
    .navbar-nav {
        flex-direction: column;
        gap: 18px;
    }

    .navbar-nav .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
    }

    /* Overlay */
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity .4s ease;
        z-index: 1099;
    }

    .mobile-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    /* Lock scroll */
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 576px) {
    #navbarNav ul li{
        padding: 6px 0;
        border-bottom: 1px solid #ccc;
    }
    #navbarNav .btn-brand{
        margin-top: 20px;
    }
    .swiper-pagination{
        position: relative;
    }
    .swiper-pagination-bullet-active{
        background: var(--brand-primary);
    }
    section.pad{
        padding: 50px 0;
    }

.choose {
    overflow: hidden;
  }

  .choose .row.g-5 {
    padding-right: 20%;
  }

  .choose .col-md-6.col-lg-4 {
    min-width: 80%;
  }

  .choose .row.g-5 {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .choose .row.g-5::-webkit-scrollbar {
    display: none;
  }

  .choose .col-md-6.col-lg-4 {
    min-width: 85%;
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    scroll-snap-align: start;
  }

  .choose .material-symbols-outlined {
    font-size: 28px;
    margin-bottom: 10px;
    display: inline-block;
  }

  .choose h5 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .choose p {
    font-size: 14px;
    line-height: 1.6;
  }

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

  footer .py-4{
    padding: 0 !important;
  }
  .site-footer{
    padding-bottom: 0;
  }
	

	.footer-accordion {
    margin-bottom: 16px;
  }

  .footer-accordion-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
  }

  .footer-accordion-toggle span {
    transition: transform 0.3s ease;
  }

  .footer-accordion.active .footer-accordion-toggle span {
    transform: rotate(180deg);
  }

  .footer-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .footer-accordion.active .footer-accordion-content {
    max-height: 500px; /* enough for menus */
  }

  /* Hide desktop titles on mobile */
  .footer-accordion > h6 {
    display: none;
  }
	.footer-links a{
		margin: 0;
	}
}
