/* About Cards - Team member cards, badges, and social icons */

/* Team list layout */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  align-items: stretch;
}

/* Team member base styles */
.team-member {
  background: rgba(0, 255, 247, 0.08);
  border: 2px solid #00fff7;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  color: #00fff7;
  font-weight: bold;
  text-shadow: 0 0 8px #00fff7;
  box-shadow: 0 0 12px #00fff744;
}

.about-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 650px;
  height: 100%;
  max-height: none;
  padding: 1.4rem 1.2rem 1.4rem 1.2rem;
  margin: 0;
  font-size: 0.95rem;
  overflow: visible;
  min-width: 260px;
  max-width: 370px;
  flex: 1 1 0;
  background: rgba(24, 25, 42, 0.45);
  border: 2.5px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37), 0 0 40px #00fff744, 0 0 80px #ff00cc44;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-radius: 18px;
  transition: box-shadow 0.3s, background 0.3s, border 0.3s;
  overflow: hidden;
  font-weight: 500;
  position: relative;
}

.about-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: 0;
  background: radial-gradient(circle at 50% 30%, #00fff7cc 0%, #ff00cc99 60%, transparent 100%);
  filter: blur(4px);
  opacity: 0.22;
  pointer-events: none;
  transition: opacity 0.2s;
}

.about-card:focus::before, .about-card:hover::before {
  opacity: 0.22;
}

.about-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  gap: 0.7rem;
  padding: 0.2rem 0.5rem 1.2rem 0.5rem;
  box-sizing: border-box;
  z-index: 142;
}

.about-card-content > * {
  min-height: 0;
  flex-shrink: 1;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.about-card .badges, .about-card .fun-fact, .about-card .lets-connect {
  box-sizing: border-box;
  word-break: break-word;
}

.about-card .lets-connect {
  margin-top: 1rem;
  align-self: stretch;
  margin-bottom: 0.2rem;
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
  overflow-wrap: break-word;
}

.about-card img {
  border-radius: 50%;
  object-fit: cover;
  display: block;
  width: 64px;
  height: 64px;
  margin-bottom: 0.6rem;
  box-shadow: 0 0 8px #00fff7, 0 0 8px #ff00cc;
  border: 2px solid #ff00cc;
  background: #18192a;
  animation: none;
}

.about-card .name {
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 16px #00fff7, 0 0 32px #ff00cc, 0 0 2px #000;
}

.about-card .role {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  color: #00fff7;
  text-shadow: 0 0 8px #00fff7, 0 0 2px #000;
}

.about-card .bio {
  margin-bottom: 0.8rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #fff;
  text-shadow: 0 0 4px rgba(255,255,255,0.3);
}

.about-card .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.about-card .badges > * {
  min-width: 0;
  word-break: break-word;
}

.about-card .fun-fact {
  text-align: center;
  font-size: 0.9rem;
  color: #fff;
  text-shadow: 0 0 4px rgba(255,255,255,0.3);
  min-width: 0;
  word-break: break-word;
  width: 100%;
}

/* Badge styles */
.badge {
  background: linear-gradient(90deg, #00fff7 0%, #ff00cc 100%);
  color: #18192a;
  text-shadow: 0 0 2px #fff, 0 0 8px #00fff7;
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 0 8px rgba(0,255,247,0.3);
  margin-top: 10px;
  margin-bottom: 10px;
}

.badge:hover, .badge:focus {
  filter: brightness(1.1) drop-shadow(0 0 4px #00fff7);
  box-shadow: 0 0 8px #00fff7, 0 0 12px #ff00cc;
}

.badge[style*="background:#ffb347"] {
  color: #18192a;
  text-shadow: 0 0 2px #fff;
}

.badge[style*="background:#00fff7"] {
  color: #18192a;
  text-shadow: 0 0 2px #fff;
}

/* Enhanced Experience & Location Card */
@keyframes infobarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.about-infobar {
  background: rgba(24, 25, 42, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(25px) saturate(1.3);
  -webkit-backdrop-filter: blur(25px) saturate(1.3);
  box-shadow: 
    0 8px 32px 0 rgba(31, 38, 135, 0.37),
    0 0 40px #00fff744, 
    0 0 80px #ff00cc44,
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: infobarFloat 4s ease-in-out infinite;
}

.about-infobar::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff00cc, #00fff7, #ff00cc);
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-infobar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 20%, 
    rgba(255, 255, 255, 0.6) 50%, 
    rgba(255, 255, 255, 0.3) 80%, 
    transparent 100%);
  border-radius: 20px 20px 0 0;
  pointer-events: none;
}

.about-infobar:hover {
  background: rgba(24, 25, 42, 0.4);
  box-shadow: 
    0 0 40px #ff00cc, 
    0 0 80px #00fff7, 
    0 0 120px #ff00cc44,
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 0, 204, 0.6);
  transform: translateY(-2px) scale(1.02);
}

.about-infobar:hover::before {
  opacity: 1;
}

.about-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.about-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.about-info-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 255, 247, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 255, 247, 0.2);
}

.about-info-item .icon-green,
.about-info-item .icon-orange {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px currentColor);
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.info-content .neon-keyword {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00fff7;
  text-shadow: 0 0 8px #00fff7;
}

.info-content .info-detail {
  font-size: 0.9rem;
  color: #e0e0e0;
  opacity: 0.8;
}

.location-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.location-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(255, 0, 204, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 0, 204, 0.2);
  transition: all 0.3s ease;
}

.location-item:hover {
  background: rgba(255, 0, 204, 0.1);
  border-color: rgba(255, 0, 204, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 0, 204, 0.2);
}

.location-item .icon-green,
.location-item .icon-orange {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 8px currentColor);
}

.location-item .neon-keyword {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff00cc;
  text-shadow: 0 0 8px #ff00cc;
}

.location-item .location-desc {
  font-size: 0.9rem;
  color: #e0e0e0;
  opacity: 0.8;
  margin-top: 0.2rem;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00fff7, #ff00cc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #18192a;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(0,255,247,0.3);
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px #00fff7, 0 0 16px #ff00cc;
}

.social-icon:focus {
  outline: 2px solid #00fff7;
  outline-offset: 2px;
}

.badge:focus {
  outline: 2px solid #00fff7;
  outline-offset: 2px;
}

/* Card hover and focus effects */
.about-card:focus, .about-card:hover {
  background: rgba(24, 25, 42, 0.65);
  box-shadow: 0 0 40px #ff00cc, 0 0 80px #00fff7, 0 0 120px #ff00cc44;
  border-color: #ff00cc;
  transform: translateY(-2px) scale(1.03);
  outline: 2px solid #ff00cc;
  z-index: 2;
}

.skills-cloud {
  background: rgba(24, 25, 42, 0.7);
  border: 2px solid #00fff7;
  border-radius: 16px;
  box-shadow: 0 0 24px #00fff7, 0 0 32px #ff00cc44;
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  margin-bottom: 2rem;
  margin-top: 0.5rem;
  text-align: center;
  position: relative;
  overflow: visible;
}

.skills-cloud-title {
  color: #00fff7;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 8px #00fff7, 0 0 16px #ff00cc;
}

.skills-cloud-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 100%;
}

.skill-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ff00cc 0%, #00fff7 100%);
  color: #18192a;
  font-weight: 700;
  font-size: 1.01rem;
  border-radius: 10px;
  padding: 0.38em 1.1em;
  box-shadow: 0 0 8px #ff00cc, 0 0 16px #00fff7;
  letter-spacing: 1px;
  border: none;
  text-transform: uppercase;
  margin: 0.1rem 0;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-shadow: 0 0 2px #fff, 0 0 8px #00fff7;
  cursor: default;
}

.skill-badge.skill-large {
  font-size: 1.18rem;
  padding: 0.48em 1.5em;
  box-shadow: 0 0 16px #ff00cc, 0 0 32px #00fff7;
  z-index: 1;
}

