/* --- ABOUT PAGE HERO --- */
.about-hero {
  padding: 200px 8% 120px;
  text-align: center;
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(14, 22, 16, 0.95) 0%,
    var(--bg-body) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(39, 217, 83, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-30px);
  }
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 25px;
  font-weight: 800;
  color: white;
}

.about-hero h1 .highlight {
  background: linear-gradient(to right, var(--primary), #85e89d);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero p {
  max-width: 1200px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-story-container {
  max-width: 950px;
  margin: 40px auto 0;
  padding: 45px 50px;
  background: linear-gradient(
    145deg,
    rgba(20, 32, 23, 0.6),
    rgba(10, 18, 12, 0.8)
  );
  border-radius: 24px;
  border: 1px solid rgba(39, 217, 83, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.hero-story-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.7;
}

.about-hero .hero-lead-text {
  font-size: 1.35rem;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.8;
  max-width: 100%;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.about-hero .hero-sub-text {
  font-size: 1.1rem;
  color: #a0aab2;
  line-height: 1.8;
  max-width: 100%;
  margin: 0;
}

/* --- SECTION STYLES --- */
.section {
  padding: 100px 8%;
  position: relative;
}

/* --- ABOUT INTRO SECTION --- */
.about-intro {
  background: linear-gradient(
    180deg,
    rgba(39, 217, 83, 0.02) 0%,
    transparent 100%
  );
  padding: 100px 8%;
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.intro-card {
  background: rgba(24, 36, 27, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 25px 22px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.intro-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at top right,
    rgba(39, 217, 83, 0.08) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.intro-card:hover {
  transform: translateY(-10px);
  border-color: rgba(39, 217, 83, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.intro-card:hover::before {
  opacity: 1;
}

.intro-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(
    135deg,
    rgba(39, 217, 83, 0.15),
    rgba(39, 217, 83, 0.05)
  );
  border: 1px solid rgba(39, 217, 83, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 18px;
  transition: background 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.intro-card:hover .intro-icon {
  background: var(--primary);
  color: #000;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 10px 30px rgba(39, 217, 83, 0.4);
}

.intro-card-content h3 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 10px;
  font-weight: 700;
  transition: color 0.3s;
}

.intro-card:hover .intro-card-content h3 {
  color: var(--primary);
}

.intro-card-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 15px;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

/* --- FOUNDER SECTION (Reused from index.css) --- */
.founder-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 80px;
  background: rgba(24, 36, 27, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 70px 60px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.founder-wrapper::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.1;
  pointer-events: none;
}

.founder-quote-col {
  position: relative;
  z-index: 2;
  padding-left: 20px;
}

.founder-quote-icon {
  position: absolute;
  top: -40px;
  left: -10px;
  font-size: 8rem;
  color: var(--primary);
  opacity: 0.05;
  z-index: -1;
}

.founder-quote-text {
  font-size: 1.5rem;
  font-style: italic;
  color: white;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 35px;
  position: relative;
}

.founder-quote-text::before {
  content: "“";
  font-size: 3rem;
  color: var(--primary);
  line-height: 0;
  margin-right: 10px;
  vertical-align: -10px;
  opacity: 0.8;
}

.founder-quote-text::after {
  content: "”";
  font-size: 3rem;
  color: var(--primary);
  line-height: 0;
  margin-left: 10px;
  vertical-align: -10px;
  opacity: 0.8;
}

.founder-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.founder-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 600;
}

.founder-img-col {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.founder-img-box {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  position: relative;
  padding: 5px;
  background: radial-gradient(
    circle at center,
    rgba(39, 217, 83, 0.2) 0%,
    rgba(24, 36, 27, 0.9) 70%,
    rgba(14, 22, 16, 1) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.founder-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.founder-img-box::after {
  content: "";
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px solid rgba(39, 217, 83, 0.15);
  box-shadow: 0 0 30px rgba(39, 217, 83, 0.05);
}

/* --- TEAM SECTION --- */
.team-section {
  background: rgba(39, 217, 83, 0.02);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  background: rgba(24, 36, 27, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: border-color 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(39, 217, 83, 0.05) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: rgba(39, 217, 83, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.team-card:hover::before {
  opacity: 1;
}

.team-img-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  position: relative;
  padding: 4px;
  background: linear-gradient(
    135deg,
    rgba(39, 217, 83, 0.3),
    rgba(39, 217, 83, 0.05)
  );
  transition: background 0.4s, color 0.4s, transform 0.4s, box-shadow 0.4s;
}

.team-card:hover .team-img-wrapper {
  background: linear-gradient(135deg, var(--primary), rgba(39, 217, 83, 0.3));
  box-shadow: 0 10px 30px rgba(39, 217, 83, 0.3);
  transform: scale(1.05);
}

.team-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-card);
  border: 2px solid var(--bg-body);
}

.team-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(39, 217, 83, 0.1),
    rgba(24, 36, 27, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  border: 2px solid var(--bg-body);
}

.team-info h3 {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 6px;
  font-weight: 700;
  transition: color 0.3s;
}

.team-card:hover .team-info h3 {
  color: var(--primary);
}

.team-position {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  line-height: 1.4;
}

.view-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.view-profile-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.team-card:hover .view-profile-btn {
  opacity: 1;
}

.team-card:hover .view-profile-btn i {
  transform: translateX(5px);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .about-hero {
    padding: 160px 5% 100px;
  }

  .section {
    padding: 60px 5%;
  }

  .founder-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 30px;
    gap: 40px;
    display: flex;
    flex-direction: column-reverse;
  }

  .founder-quote-text {
    font-size: 1.25rem;
  }

  .founder-img-box {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }
}

/* --- CONTACT SECTION & MAP PANEL --- */
.contact-section {
  background: linear-gradient(180deg, var(--bg-body) 0%, #030705 100%);
  padding: 100px 8%;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(39, 217, 83, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.contact-container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: linear-gradient(
    145deg,
    rgba(20, 32, 23, 0.9),
    rgba(10, 18, 12, 0.95)
  );
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 60px 120px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 1;
  gap: 0;
}

.contact-container::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 32px;
  background: linear-gradient(
    135deg,
    var(--primary),
    transparent 40%,
    transparent 60%,
    rgba(39, 217, 83, 0.3)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.contact-info-panel {
  background: linear-gradient(
    160deg,
    rgba(39, 217, 83, 0.03) 0%,
    transparent 50%
  );
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.info-group {
  margin-bottom: 35px;
  position: relative;
  z-index: 1;
  padding-left: 70px;
}

.info-group:last-child {
  margin-bottom: 0;
}

.icon-box {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(39, 217, 83, 0.15),
    rgba(39, 217, 83, 0.05)
  );
  border: 1px solid rgba(39, 217, 83, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-group:hover .icon-box {
  background: var(--primary);
  color: #000;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 40px rgba(39, 217, 83, 0.4);
}

.info-group h4 {
  font-size: 1.05rem;
  color: white;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.info-group p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 3px;
}

.info-group a {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  text-decoration: none;
  display: inline-block;
  margin-right: 5px;
  transition: color 0.3s, transform 0.3s;
}

.info-group a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.map-panel {
  position: relative;
  min-height: 500px;
  border-radius: 0 32px 32px 0;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
}

.map-panel iframe {
  filter: grayscale(20%) contrast(1.1);
  transition: filter 0.4s;
}

.map-panel:hover iframe {
  filter: grayscale(0%) contrast(1);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .about-hero {
    padding: 160px 5% 100px;
  }
  .section {
    padding: 60px 5%;
  }

  .about-intro {
    padding: 60px 5%;
  }

  .intro-content p {
    font-size: 1rem;
  }

  .intro-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .intro-card {
    padding: 30px 25px;
  }

  .intro-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .intro-card-content h3 {
    font-size: 1.25rem;
  }

  .intro-card-content p {
    font-size: 0.9rem;
  }

  .founder-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 30px;
    gap: 40px;
    display: flex;
    flex-direction: column-reverse;
  }

  .founder-quote-text {
    font-size: 1.25rem;
  }

  .founder-img-box {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }

  .contact-section {
    padding: 60px 5%;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info-panel {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
  }

  .info-group {
    padding-left: 60px;
  }

  .icon-box {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .map-panel {
    min-height: 350px;
    border-radius: 0 0 32px 32px;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .team-img-wrapper {
    width: 100px;
    height: 100px;
  }

  .map-panel {
    min-height: 300px;
  }
}

/* --- Team Bio Modal Style - Vibrant High-End Refinement --- */
.team-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(0px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-modal-overlay.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  background: rgba(4, 12, 6, 0.9);
  backdrop-filter: blur(25px);
}
.team-modal-content {
  background: #050a06;
  border: 1px solid rgba(39, 217, 83, 0.15);
  border-radius: 40px;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  position: relative;
  padding: 0;
  box-shadow:
    0 0 80px rgba(39, 217, 83, 0.08),
    0 40px 100px -20px rgba(0, 0, 0, 1);
  transform: scale(0.9) translateY(40px);
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.team-modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    var(--primary),
    transparent 40%,
    transparent 60%,
    var(--primary)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.3;
}

.team-modal-overlay.active .team-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.team-modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(39, 217, 83, 0.05);
  border: 1px solid rgba(39, 217, 83, 0.2);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
  z-index: 100;
  backdrop-filter: blur(5px);
}
.team-modal-close:hover {
  background: var(--primary);
  color: #0e1610;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 25px rgba(39, 217, 83, 0.6);
}

.team-modal-left {
  width: 38%;
  background: linear-gradient(
    165deg,
    rgba(14, 22, 16, 0.95) 0%,
    rgba(5, 50, 15, 0.4) 100%
  );
  border-right: 1px solid rgba(39, 217, 83, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team-modal-left::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(39, 217, 83, 0.1) 0%,
    transparent 50%
  );
  top: -50%;
  left: -50%;
  animation: rotateGlow 15s linear infinite;
  pointer-events: none;
}

.team-modal-img-box {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(
    135deg,
    var(--primary),
    #1ed760,
    var(--primary)
  );
  margin-bottom: 35px;
  box-shadow:
    0 0 40px rgba(39, 217, 83, 0.3),
    0 30px 60px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 2;
  animation: floatImg 6s ease-in-out infinite;
}
.team-modal-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #050a06;
  background: #14241b;
}
.team-modal-member-name {
  color: white;
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 2;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.team-modal-member-role {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 3px;
  font-weight: 700;
  background: linear-gradient(
    90deg,
    rgba(39, 217, 83, 0.8),
    rgba(30, 215, 96, 0.6)
  );
  padding: 8px 20px;
  border-radius: 100px;
  display: inline-block;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(39, 217, 83, 0.2);
}

.team-modal-right {
  width: 62%;
  padding: 80px 60px;
  background: radial-gradient(
    circle at bottom right,
    rgba(39, 217, 83, 0.05) 0%,
    transparent 60%
  );
  position: relative;
  overflow-y: auto;
}

.bio-section {
  margin-bottom: 50px;
  position: relative;
  animation: fadeInUpColorful 0.8s cubic-bezier(0.23, 1, 0.32, 1)
    backwards;
}

.bio-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  position: relative;
}
.bio-header h4 {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}
.bio-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(39, 217, 83, 0.3),
    transparent
  );
}
.bio-content {
  color: #d1ddd6;
  font-size: 1.1rem;
  line-height: 1.9;
}

@keyframes fadeInUpColorful {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes floatImg {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* MOBILE REFINEMENT: HORIZONTAL HEADER */
@media (max-width: 900px) {
  .team-modal-content {
    flex-direction: column;
    max-width: 600px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 30px;
  }
  .team-modal-left {
    width: 100%;
    flex-direction: row; /* Horizontal layout */
    padding: 40px 25px;
    gap: 20px;
    text-align: left;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid rgba(39, 217, 83, 0.1);
  }
  .team-modal-left::before {
    display: none;
  }
  .team-modal-img-box {
    width: 100px; /* Much more compact */
    height: 100px;
    margin-bottom: 0;
    flex-shrink: 0;
    animation: none; /* No float on mobile */
  }
  .team-modal-member-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
  }
  .team-modal-member-role {
    font-size: 0.65rem;
    padding: 4px 12px;
  }
  .team-modal-right {
    width: 100%;
    padding: 25px 20px 40px;
  }
  .team-modal-close {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
  }
  .bio-content {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .team-modal-content {
    border-radius: 20px;
  }
  .team-modal-left {
    padding: 35px 15px 25px;
    gap: 15px;
  }
  .team-modal-img-box {
    width: 80px;
    height: 80px;
  }
  .team-modal-member-name {
    font-size: 1.15rem;
  }
  .team-modal-member-role {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }
  .team-modal-right {
    padding: 20px 15px 30px;
  }
}
