/* Mobile-specific styles for community page */
@media screen and (max-width: 768px) {
  
  #why_aylab {
    position: relative;
    overflow: visible;
    isolation: isolate;
  }

  
  .feature-card:nth-child(1),
  .feature-card:nth-child(4),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3) {
    position: relative;
    background-color: rgba(32, 32, 32, 0.7);
  }

  .features-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
  }
  
  .feature-card {
    width: 100%;
    min-height: auto !important;
    /* padding: 30px 20px; */
    margin-bottom: 15px;
  }
  
  .feature-card h3 {
    margin-bottom: 15px;
  }
  
  .feature-card p {
    font-size: 14px;
  }
  
  #why_aylab img {
    position: absolute;
    max-height: 120%;
    max-width: 100%;
    top: 55%;
    left: 50%;
    z-index: 0;
}
  .benefits-section {
    padding-top: 60px !important;
  }
  
  .benefits-section .container {
    margin-top: 30px !important;
  }
  
  .benefits-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  /* Airdrop highlight number */
  .benefits-section h2[style*="font-size: 80px"] {
    font-size: 42px !important;
    margin: 20px 0;
    word-break: break-word;
  }
  
  #vector_1 {
    position: absolute;
    z-index: 0;
    width: 100%; 
    height: 54%;
    object-fit: cover;
    top: 43%;
    left: 0%;
    opacity: 0.9;
}
  
  
  /* Adjust the benefits cards layout */
  #get-in-touch .container div[style*="width: 70%"],
  #get-in-touch .container div[style*="width: 30%"] {
    width: 100% !important;
    margin: 0 !important;
    padding: 15px;
  }
  
  /* Fix social button styles */
  .social-button {
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }
  
  /* Stats styling in feature card */
  .stats-container {
    width: 100%;
    padding: 15px 0;
  }
  
  .stat-number {
    font-size: 36px !important;
  }
  
  .secondary-stats {
    flex-direction: row !important;
    justify-content: space-around;
  }
  
  .secondary-stats .stat-number {
    font-size: 30px !important;
  }
  
  .stat-column {
    width: 45%;
  }
  
  .stat-label {
    font-size: 12px;
    line-height: 1.3;
    margin-left: 0!important;
    text-align: left!important;
  }
}
@media screen and (max-width: 375px) {
  
  .feature-card {
    padding: 20px 15px;
  }
  
  .feature-card h3 {
    font-size: 20px;
  }
  
  .stat-number {
    font-size: 30px !important;
  }
  
  .secondary-stats .stat-number {
    font-size: 24px !important;
  }
}

