.gl-team-slider {
    padding-bottom: 72px;
  }
 
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image,
  .gl-team-grid .team-card .team-image {
    position: relative;
    margin-bottom: 24px;
    height: 420px;
  }
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image img,
  .gl-team-grid .team-card .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  /* .gl-team-slider .swiper-wrapper .swiper-slide .team-card:hover .team-image img,
  .gl-team-grid .team-card:hover .team-image img {
    transform: scale(1.05);
  } */
  
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image .social-wrap,
  .gl-team-grid .team-card .team-image .social-wrap {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 14px;
    position: absolute;
    bottom: -18px;
  }
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image .social-wrap .social-opener,
  .gl-team-grid .team-card .team-image .social-wrap .social-opener {
    transform: rotate(45deg);
    overflow: hidden;
    background-color: #fff;
    height: 35px;
    width: 35px;
  }
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image .social-wrap .social-opener .social-links-opener,
  .gl-team-grid .team-card .team-image .social-wrap .social-opener .social-links-opener {
    transform: rotate(-45deg);
    background-color: transparent;
    color: #111926;
    font-size: 24px;
    font-weight: 700;
    padding: 0;
    height: 100%;
    width: 100%;
    border: none;
    cursor: pointer;
  }
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image .social-wrap .social-networks,
  .gl-team-grid .team-card .team-image .social-wrap .social-networks {
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    padding-left: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image .social-wrap .social-networks li a,
  .gl-team-grid .team-card .team-image .social-wrap .social-networks li a {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image .social-wrap .social-networks li a svg{
    width: 16px;
    height: 16px;
  } */
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image .social-wrap .social-networks.active,
  .gl-team-grid .team-card .team-image .social-wrap .social-networks.active {
    visibility: visible;
    opacity: 1;
    list-style: none;
  }
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image .social-wrap .social-networks.gl-social-icons-shape-circle li a,
  .gl-team-grid .team-card .team-image .social-wrap .social-networks.gl-social-icons-shape-circle li a {
    border-radius: 50%;
  }
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image .social-wrap .social-networks.gl-social-icons-shape-square li a,
  .gl-team-grid .team-card .team-image .social-wrap .social-networks.gl-social-icons-shape-square li a {
    border-radius: 0;
  }
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image .social-wrap .social-networks.gl-social-icons-shape-rounded li a,
  .gl-team-grid .team-card .team-image .social-wrap .social-networks.gl-social-icons-shape-rounded li a {
    border-radius: 10px;
  }
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image .social-wrap .social-networks.gl-social-icons-shape-diamond li a,
  .gl-team-grid .team-card .team-image .social-wrap .social-networks.gl-social-icons-shape-diamond li a {
    transform: rotate(45deg);
  }
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image .social-wrap .social-networks.gl-social-icons-shape-diamond li a svg,
  .gl-team-grid .team-card .team-image .social-wrap .social-networks.gl-social-icons-shape-diamond li a svg {
    transform: rotate(-45deg);
  }

  .team-card .team-image .social-wrap .social-networks li svg path{
    transition: all 0.3s ease;
  }
  .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-content,
  .gl-team-grid .team-card .team-content {
    text-align: center;
    /* padding: 0 15px 20px; */
  }
  
  .gl-team-slider .swiper-button-prev svg, 
  .gl-team-slider .swiper-button-next svg {
    width: 12px;
  }
  
  /* Grid Layout Specific Styles */
  .gl-team-grid {
    display: grid;
    width: 100%;
    margin-bottom: 40px;
  }
  
  .gl-team-grid .team-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
/*   
  .gl-team-grid .team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  } */
  
  /* Team Pagination */
  .team-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }
  
  .team-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    margin: 0 5px;
    padding: 0 10px;
    border-radius: 4px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .team-pagination .page-numbers.current {
    background-color: #333;
    color: #fff;
  }
  
  .team-pagination .page-numbers:hover:not(.current) {
    background-color: #ddd;
  }

  /* Responsive adjustments */
  @media (max-width: 767px) {
    .gl-team-grid {
      grid-template-columns: 1fr !important;
      column-gap: 0 !important;
    }
    
    .gl-team-grid .team-card {
      margin-bottom: 20px;
    }
    
    .gl-team-slider {
      padding-bottom: 60px; /* Increase bottom padding to accommodate navigation */
    }
    
    /* Show arrows on mobile - make them smaller and closer to content */
    .gl-team-slider .swiper-button-prev,
    .gl-team-slider .swiper-button-next {
      display: flex;
      width: 30px;
      height: 30px;
      transform: translateY(-50%);
      background-color: rgba(255, 255, 255, 0.8);
      border-radius: 50%;
    }
    
    .gl-team-slider .swiper-button-prev {
      left: 5px;
    }
    
    .gl-team-slider .swiper-button-next {
      right: 5px;
    }
    
    .gl-team-slider .swiper-button-prev svg, 
    .gl-team-slider .swiper-button-next svg {
      width: 8px;
    }
    
    /* Ensure pagination dots are visible and easy to tap */
    .gl-team-slider .swiper-pagination {
      bottom: 10px;
    }
    
    .gl-team-slider .swiper-pagination-bullet {
      width: 8px;
      height: 8px;
      margin: 0 4px;
    }
    
    .team-pagination .page-numbers {
      min-width: 32px;
      height: 32px;
      font-size: 14px;
    }
    .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image, .gl-team-grid .team-card .team-image{
      height: 300px;
    }
    /* Ensure images don't overflow on mobile */
    .gl-team-grid .team-card .team-image img,
    .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image img {
      height: 100%;
    }
    
    /* Better touch targets for mobile */
    .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image .social-wrap .social-opener .social-links-opener,
    .gl-team-grid .team-card .team-image .social-wrap .social-opener .social-links-opener {
      font-size: 20px;
    }
  }
  
  @media (min-width: 768px) and (max-width: 1024px) {
    .gl-team-grid {
      grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Prevent image overflow on tablet */
    .gl-team-grid .team-card .team-image img,
    .gl-team-slider .swiper-wrapper .swiper-slide .team-card .team-image img {
      height: 100%;
    }
  }

  /* Additional global styles for navigation to ensure visibility on all devices */
  .gl-team-slider .swiper-button-prev,
  .gl-team-slider .swiper-button-next {
    position: absolute;
    top: 50%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
  }
  
  .gl-team-slider .swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
  }
  
  .gl-team-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #000;
    opacity: 0.2;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .gl-team-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #000;
  }