/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .ourteam-container {
    padding: 60px 0;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Section title styling */
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
    font-weight: 700;
  }
  
  .section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #3498db;
    margin: 15px auto;
    border-radius: 2px;
  }
  
  /* Team grid layout */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
  }
  
  /* Team card styling */
  .team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  /* Team image styling */
  .team-img {
    height: 280px;
    overflow: hidden;
    background-color: #f0f5f9;
    position: relative;
  }
  
  .team-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    transition: transform 0.5s ease;
  }
  
  .team-card:hover .team-img img {
    transform: scale(1.05);
  }
  
  /* Team info section */
  .team-info {
    padding: 20px;
    text-align: center;
  }
  
  .member-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #2c3e50;
  }
  
  .member-role {
    color: #3498db;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
  }
  
  .member-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #7f8c8d;
  }
  
  /* Intern section styling */
  .intern-heading {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .intern-heading h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    font-weight: 700;
  }
  
  .intern-heading span {
    color: #3498db;
  }
  
  .intern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
  }
  
  /* Responsive adjustments */
  @media (max-width: 992px) {
    .team-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }
    
    .team-grid, .intern-grid {
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 20px;
    }
    
    .team-img {
      height: 240px;
    }
    
    .member-name {
      font-size: 1.3rem;
    }
  }
  
  @media (max-width: 576px) {
    .ourteam-container {
      padding: 40px 0;
    }
    
    .section-title {
      font-size: 1.8rem;
      margin-bottom: 30px;
    }
    
    .team-grid, .intern-grid {
      grid-template-columns: 1fr;
      max-width: 320px;
      margin-left: auto;
      margin-right: auto;
    }
    
    .team-img {
      height: 300px;
    }
    
    .intern-heading h1 {
      font-size: 1.8rem;
    }
  }