/* ==========================================================================
   About Us Specific Glassmorphic Styles & Layout
   ========================================================================== */

.about-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 120px 20px 60px 20px;
}

.about-hero {
  text-align: center;
  margin-bottom: 50px;
}

.about-hero h1 {
  font-family: 'Arima', 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.about-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

body.dark-mode .about-subtitle {
  color: #94a3b8;
}

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  justify-content: center;
  align-items: stretch;
}

.team_member {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  padding: 40px 28px 32px 28px;
  text-align: center;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team_member:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
  border-color: rgba(56, 189, 248, 0.5);
}

/* Custom Avatar Badges */
.avatar-badge {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px;
  color: white;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.team_member:hover .avatar-badge {
  transform: scale(1.1) rotate(5deg);
}

.avatar-mauli {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}

.avatar-dhruv-g {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

.avatar-dhruv-b {
  background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
}

.team_member h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

body.dark-mode .team_member h3 {
  color: #f8fafc;
}

.team_member p.role {
  color: #0284c7;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 14px;
  border-radius: 20px;
}

body.dark-mode .team_member p.role {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.2);
}

.team_member p.desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  font-style: italic;
}

body.dark-mode .team_member p.desc {
  color: #cbd5e1;
}

#aboutus {
  color: #38bdf8 !important;
  font-weight: 600;
}

@media (max-width: 768px) {
  .about-wrapper {
    padding: 100px 16px 40px 16px;
  }

  .about-hero h1 {
    font-size: 2.2rem;
  }

  .team {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-wrapper {
    padding: 80px 12px 32px 12px;
  }

  .about-hero h1 {
    font-size: 1.7rem;
  }

  .about-subtitle {
    font-size: 0.95rem;
  }

  .team_member {
    padding: 28px 18px 24px 18px;
  }

  .team {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}