/* Base Reset & Font */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0a0a0a;
  color: #e6d89c;
  padding: 40px 20px;
  min-height: 100vh;
}
#team-section-wrapper {
  background: #0a0a0a;
  padding: 40px 20px;
  color: #e6d89c;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


/* Container */
.team-section {
  max-width: 1100px;
  margin: 0 auto;
}

/* Main Heading */
.team-section h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 40px;
  color: #c4a424;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(196, 164, 36, 0.7);
  font-weight: 600;
}

/* Subheading */
.team-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  border-bottom: 3px solid #c4a424;
  padding-bottom: 6px;
  color: #c4a424;
  letter-spacing: 1.2px;
}

/* Grid for team members */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

/* Individual Team Member Card */
.team-member {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #3d2f04 100%);
  border-left: 5px solid #c4a424;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(196, 164, 36, 0.5);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.team-member:hover {
  transform: translateY(-6px);
}

/* Team Photo */
.team-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #c4a424;
}

/* Name and Position Container */
.team-info {
  padding: 15px 12px;
  background-color: #121212cc;
  color: #e6d89c;
  text-align: center;
  font-weight: 600;
}
.team-info .name {
  font-size: 1.3rem;
  margin: 0;
}
.team-info .position {
  margin: 4px 0 0 0;
  font-size: 1rem;
  font-weight: 400;
  color: #d4c46d;
}

/* Hover Info - hidden by default */
.team-hover-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(196, 164, 36, 0.9);
  color: #0a0a0a;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 0 8px 8px 0;
  box-sizing: border-box;
}

/* Show hover info on hover */
.team-member:hover .team-hover-info {
  opacity: 1;
  pointer-events: auto;
}

/* Hover description and batch */
.team-hover-info .description {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.team-hover-info .batch {
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-style: italic;
}

/* Social Icons Container */
.social-icons {
  display: flex;
  gap: 25px;
}

/* Social links style */
.social-link {
  color: #0a0a0a;
  font-size: 1.6rem;
  background: #c4a424;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  background-color: #a88c1d;
  color: #fff;
}

/* Responsive Breakpoints */

/* Tablets */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
