.partners-section {
    background-color: #000080; /* Navy blue */
    color: white;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
  }
  
  .partners-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
  }
  
  .partners-section h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background: #FBBC05; /* Yellow */
    margin: 1rem auto 0;
  }
  
  .partners-tree {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
  }
  
  .tree-trunk {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 10px;
    background: linear-gradient(to bottom, #FBBC05, #e8a806);
    z-index: 1;
    border-radius: 5px;
  }
  
  .partner-branch {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
    padding-left: 60px;
  }
  
  .branch-line {
    position: absolute;
    left: 0;
    top: 50px;
    height: 2px;
    width: 40px;
    background: #FBBC05;
  }
  
  .partner-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px; /* Reduced padding */
    border: 2px solid white;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    overflow: hidden; /* Ensures the image stays within the circle */
}

.partner-logo:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.2);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Will fill the circle completely, may crop edges */
   
}
  
  .partner-info {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    position: relative;
    margin-left: 30px;
    max-width: 600px;
  }
  
  .partner-info h3 {
    color: #FBBC05;
    margin-top: 0;
    font-size: 1.3rem;
  }
  
  .partner-info::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 15px solid rgba(255,255,255,0.1);
  }
  
  .tree-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(251, 188, 5, 0.2);
    z-index: 0;
  }
  
  .circle-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
  }
  
  .circle-2 {
    width: 150px;
    height: 150px;
    bottom: 100px;
    left: -50px;
  }
  
  .circle-3 {
    width: 100px;
    height: 100px;
    bottom: -30px;
    right: 100px;
  }
  
  @media (max-width: 768px) {
    .partners-tree {
      padding-left: 30px;
    }
    
    .partner-branch {
      padding-left: 40px;
    }
    
    .branch-line {
      width: 20px;
    }
    
    .partner-logo {
      width: 80px;
      height: 80px;
    }
    
    .partner-info {
      margin-left: 15px;
      padding: 1rem;
    }
    
    .partner-info::before {
      left: -10px;
      top: 20px;
      border-top: 8px solid transparent;
      border-bottom: 8px solid transparent;
      border-right: 10px solid rgba(255,255,255,0.1);
    }
  }
  
  @media (max-width: 480px) {
    .partners-section h2 {
      font-size: 2rem;
    }
    
    .partner-branch {
      margin-bottom: 2rem;
    }
    
    .partner-info h3 {
      font-size: 1.1rem;
    }
  }