@media (max-width: 768px){
   
    .logo img{
        height: 35px
    }
      .desktop-nav, .desktop-btns { display: none; }
  .menu-toggle { display: flex; }
  .desktop-btns {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1000;
  }

  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: #14151a;
    border-radius: 2px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    flex-direction: column;
    background: #fff;
    padding: 60px 20px;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    gap: 20px;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 16px;
    color: #14151a;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
  }
  .nav-btn .desktop-btns{
    display: none;
  }

  .mobile-extra {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  /* Overlay */
  .overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 999;
  }

  .overlay.active {
    display: block;
  }
   .hero {
    flex-direction: column;
    text-align: center;
    padding: 20px 10%;
  }
  .hero-content {
    max-width: 100%;
    margin-bottom: 40px;
  }
  .hero-image img {
    width: 300px;
  }
  .stats-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    padding: 20px 0;
    border-radius: 0%;
  }

  .stat {
    min-width: 0;   /* 👈 force resize */
    width: 100%;    /* 👈 no overflow */
    border-right: none !important;
    padding: auto;
  }
  .stat h2 {
  font-size: 30x;
  color: #000;
  margin-bottom: 8px;
  font-weight: bold;
}

.stat p {
  font-size: 13px;
  color: #444;
}
.products-grid {
    grid-template-columns: repeat(3, 1fr); /* 2 cards per row */
    gap: 15px;
  }

  .product-card {
    padding: 10px 14px;
    text-align: center;
  }

  .product-card .icon {
    margin: 0 auto 10px;
  }

  .product-card h3 {
    font-size: 14px;
    margin: 0;
    font-weight: 600;
  }

  .product-card p,
  .product-card .cta {
    display: none; /* hide description + CTA in mobile */
  }
 .how-it-works {
    padding: 30px 20px;
 }
  .steps{
    grid-template-columns: repeat(2, 1fr);
  }
  .steps .step-card {
    padding: 15px 10px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
  }
  .step-card h3 {
    font-size: 14px;
  }
  .step-card p {
    font-size: 10px;
  }
   .tools-section { padding: 28px 14px; }

  .tools-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 2px 6px 8px;
  }

  .tools-container::-webkit-scrollbar {
     display: none; 
    }

  .tool-card {
    flex: 0 0 88vw;              /* one card per view */
    scroll-snap-align: center;
    width: 88vw;                 /* avoid reflow issues */
    max-width: none;
    border-radius: 14px;
  }

  .tool-left { min-width: 82px; }
  .tool-left img { width: 56px; height: 56px; }

  .tool-right h3 { font-size: 16px; }
  .tool-right p { font-size: 13px; }

  .carousel-track {
  overflow: scroll;
  padding: 10px;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
partner-card img {
    max-width: 60px;
    max-height: 60px;
}
  .carousel-dots {  
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 0;
  }
  .carousel-dots .dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: #cfd6e4; border: 0; padding: 0; cursor: pointer;
  }
  .carousel-dots .dot.active { background: #16a34a; }

  .partners-section {
    padding: 20px 14px;
  }

  .filter-buttons{
    margin-bottom: 20px;
    white-space: nowrap;
    overflow: scroll;
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .partner-card{
    width: 100%;
    height: 44px;
    margin: 10px 10px 10px 0;
  }
  .help-community{
    padding: 20px 0;
  }
  .help-community .container{
    flex-wrap: wrap;
  }
  .footer-logo{
      max-height: 20px;
      padding: 2px;
      background: white;
      border-radius: 5px;
  }
  .footer .investors{
    flex-wrap: wrap;
    gap: 0;
  }
  .footer-main{
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    margin: 20px;
    gap: 10px;
    max-width: auto-fit;
  }
  .footer-links{
    margin: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  .modal-content {
    flex-direction: column;   /* row → column */
    max-width: 95%;
    padding: 15px;
  }

  .modal-left {
   display: none;
  }

  .modal-right {
    order: 2;   /* niche dikhayega */
    width: 100%;
    margin-top: 15px;
  }
  
}
  /* brand green */
