.allocation-section {
    background-image: url();
    background-color: #ffffff;
    padding: 4rem 1rem 2rem;
    text-align: center;
    color: #080731;
    background-image: url('/images/stocksbg.png');
    background-position: center;
    background-size: cover;
  }
  
  .allocation-heading {
    font-size: 5rem;
    color: #e50914;
    font-family: 'Anton', sans-serif;
    
    margin-bottom: 0.5rem;
  }
  
  .allocation-subtext {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 3rem;
  }
  
  .allocation-container {
    width: 70%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 3rem 2rem;
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(8, 7, 49, 0.1);
    overflow: hidden;
  }
  
  .allocation-img-full {
    width: 100%;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
  }
  
  .allocation-img-full img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 20px;
    border: 2px solid #080731;
    box-shadow: 0 0 20px rgba(8, 7, 49, 0.1);
  }
  
  .allocation-flex-wrapper {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  
  .allocation-text-box {
    flex: 1 1 55%;
    background-color: rgba(8, 7, 49, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #080731;
    text-align: left;
    color: #080731;
  }
  
  .allocation-list {
    list-style: none;
    padding-left: 0;
    font-size: 1.1rem;
    line-height: 1.8;
  }
  
  .allocation-img-half {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .allocation-img-half img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    border: 2px solid #080731;
    box-shadow: 0 0 20px rgba(8, 7, 49, 0.1);
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .allocation-flex-wrapper {
      flex-direction: column;
      align-items: center;
    }
    .allocation-container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      background-color: #f9f9f9;
      padding: 3rem 2rem;
      border-radius: 30px;
      box-shadow: 0 0 30px rgba(8, 7, 49, 0.1);
      overflow: hidden;
    }
  
    .allocation-text-box,
    .allocation-img-half {
      flex: 1 1 100%;
    }
  
    .allocation-img-half {
      margin-top: 2rem;
    }
  }
  


  .allocation-table-wrapper {
    width: 100%;
    overflow-x: auto;
    display: flex;
    justify-content: center;
   
    background-position: center;
    background-size: cover;
    padding: 2rem;
    border-radius: 20px;
  }
  
  .allocation-table {
    display: table;
    width: 100%;
    max-width: 1000px; /* Controls max table width */
    min-width: 650px;   /* Triggers horizontal scroll on smaller screens */
    border-collapse: collapse;
    font-family: 'Corbel', sans-serif;
    color: #fff;
    background-color: rgb(255, 255, 255); /* Semi-transparent over bg */
    border-radius: 3px;
    overflow: hidden;
    padding: 20px !important;
  }
  
  .table-row {
    display: table-row;
  }
  
  .table-cell {
    display: table-cell;
    padding: 12px;
    border: 1px solid #444;
    vertical-align: top;
    text-align: left;
    font-size: 0.95rem;
    color: black !important;
  }
  
  .table-head .table-cell {
    font-weight: bold;
    background-color: #222;
    border-color: #000000;
    text-align: center;
  }
  
  .table-cell ul {
    padding-left: 18px;
    margin: 0;
  }
  
  .table-cell ul li {
    list-style: disc;
    margin-bottom: 6px;
  }
  


  /* Hide mobile version by default */
.mobile-only {
  display: none !important; 
}

.mobile-note{
  display: none !important; 

}

/* Show/hide based on screen width */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .allocation-table-wrapper {
    width: 100%;
    overflow-x: auto;
    
    background-position: center;
    background-size: cover;
    padding: 2rem;
    border-radius: 20px;
  
    /* REMOVE THIS — it breaks scroll */
    display: block;
    justify-content: left;
  }
  

  .mobile-only {
    display: block !important;
  }

  
  .mobile-note {
    display: block !important;
  }

  .mobile-only img {
    width: 100%;
    height: auto !important;
  }
}
