/* ═══════════════════════════════════════════════════════════════
   Team Section — MentorMinds
   Brand: #FF6B00 · #0A1F44 · #FFFFFF
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #FF6B00;
  --orange-dark: #E05E00;
  --orange-glow: rgba(255, 107, 0, 0.18);
  --navy: #0A1F44;
  --navy-light: #132D5E;
  --white: #FFFFFF;
  --light: #F8F9FA;
  --text-dark: #1A1A2E;
  --text-muted: #6B7280;
  --ff: 'Poppins', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--orange) var(--light); }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--orange); color: var(--white); }

/* ── Header ─────────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.header.scrolled { box-shadow: var(--shadow); border-bottom-color: rgba(0, 0, 0, 0.04); }

.top-bar { background: var(--navy); color: var(--white); font-size: 13px; padding: 6px 0; transition: var(--transition); }
.header.scrolled .top-bar { margin-top: -40px; }
.top-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--white); transition: color var(--transition); }
.top-bar a:hover { color: var(--orange); }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left i { color: var(--orange); margin-right: 5px; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.top-bar-right .social-links { display: flex; gap: 10px; }

.lang-switch { display: flex; background: rgba(255, 255, 255, 0.12); border-radius: 50px; overflow: hidden; }
.lang-switch button {
  border: none; outline: none; cursor: pointer; padding: 3px 12px;
  font-family: var(--ff); font-size: 12px; font-weight: 600;
  color: rgba(255, 255, 255, 0.7); background: transparent; transition: var(--transition);
}
.lang-switch button.active { background: var(--orange); color: var(--white); border-radius: 50px; }

.nav-bar {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; transition: height var(--transition);
}
.header.scrolled .nav-bar { height: 62px; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; flex-shrink: 0; }
.logo-icon {
  width: 40px; height: 40px; background: linear-gradient(135deg, var(--orange), #ff8a33);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 18px; transition: transform var(--transition);
}
.logo:hover .logo-icon { transform: rotate(-8deg) scale(1.05); }
.logo-text span:first-child { color: var(--navy); }
.logo-text span:last-child { color: var(--orange); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px; padding: 8px 16px;
  font-size: 15px; font-weight: 500; color: var(--navy); border-radius: 8px;
  transition: var(--transition); position: relative;
}
.nav-menu > li > a .dd-arrow { font-size: 10px; transition: transform var(--transition); }
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--orange); background: rgba(255, 107, 0, 0.06); }
.nav-menu > li > a.active::after {
  content: ''; position: absolute; bottom: 2px; left: 16px; right: 16px;
  height: 2.5px; background: var(--orange); border-radius: 10px;
}

.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px); min-width: 230px;
  background: var(--white); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12); padding: 10px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease; z-index: 100;
}
.dropdown-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px;
  background: var(--white); border-radius: 2px;
}
.nav-menu > li:hover > .dropdown-menu,
.nav-menu > li.open > .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-menu > li:hover > a .dd-arrow { transform: rotate(180deg); }
.dropdown-menu li a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  font-size: 14px; font-weight: 500; color: var(--navy); border-radius: 10px; transition: var(--transition);
}
.dropdown-menu li a:hover { background: rgba(255, 107, 0, 0.07); color: var(--orange); padding-left: 18px; }
.dropdown-menu li a i {
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 107, 0, 0.1); color: var(--orange); border-radius: 8px;
  font-size: 13px; flex-shrink: 0;
}
.dropdown-menu li a:hover i { background: var(--orange); color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn-whatsapp {
  width: 42px; height: 42px; border-radius: 50%; background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  border: none; cursor: pointer; transition: var(--transition); position: relative;
}
.btn-whatsapp::before {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px dashed #25D366; opacity: 0.4; animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-whatsapp:hover { transform: scale(1.1); box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35); }
.btn-cta {
  padding: 10px 26px; background: var(--orange); color: var(--white);
  font-family: var(--ff); font-size: 14px; font-weight: 600;
  border: 2px solid var(--orange); border-radius: 50px; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.btn-cta:hover {
  background: var(--orange-dark); border-color: var(--orange-dark);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.3); transform: translateY(-1px);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border: none; background: none; z-index: 1100;
}
.hamburger span {
  display: block; width: 24px; height: 2.5px; background: var(--navy);
  border-radius: 10px; transition: var(--transition); transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(10, 31, 68, 0.5); backdrop-filter: blur(4px);
  z-index: 1049; opacity: 0; transition: opacity var(--transition);
}
.mobile-overlay.show { opacity: 1; display: block; }
.mobile-menu {
  display: none; position: fixed; top: 0; right: -320px; width: 320px; max-width: 85vw;
  height: 100vh; background: var(--white); z-index: 1050;
  padding: 80px 24px 30px; overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
}
.mobile-menu.open { right: 0; }
.mobile-menu .mobile-nav li { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.mobile-menu .mobile-nav > li > a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; font-size: 16px; font-weight: 600; color: var(--navy); transition: color var(--transition);
}
.mobile-menu .mobile-nav > li > a:hover,
.mobile-menu .mobile-nav > li > a.active { color: var(--orange); }
.mobile-menu .mobile-dropdown { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.mobile-menu .mobile-dropdown.open { max-height: 500px; }
.mobile-menu .mobile-dropdown li a {
  display: flex; align-items: center; gap: 10px; padding: 10px 0 10px 16px;
  font-size: 14px; font-weight: 500; color: var(--text-muted); transition: var(--transition);
}
.mobile-menu .mobile-dropdown li a:hover { color: var(--orange); padding-left: 22px; }
.mobile-menu .mobile-dropdown li a i { color: var(--orange); font-size: 13px; width: 20px; text-align: center; }
.mobile-menu .mobile-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu .mobile-cta .btn-cta { text-align: center; display: block; }
.mobile-menu .mobile-cta .btn-whatsapp-full {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: 50px; background: #25D366; color: var(--white);
  font-weight: 600; font-size: 14px; border: none; cursor: pointer;
  transition: var(--transition); font-family: var(--ff);
}
.mobile-menu .mobile-cta .btn-whatsapp-full:hover { background: #1fba59; }
.mobile-lang { display: flex; justify-content: center; margin-top: 20px; }
.mobile-lang button {
  padding: 6px 20px; border: 2px solid var(--navy); background: transparent;
  color: var(--navy); font-family: var(--ff); font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.mobile-lang button:first-child { border-radius: 50px 0 0 50px; border-right: none; }
.mobile-lang button:last-child { border-radius: 0 50px 50px 0; }
.mobile-lang button.active { background: var(--navy); color: var(--white); }

.page-hero {
  padding: 140px 24px 24px;
  background: var(--white);
  text-align: center;
}
.page-hero .breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 14px;
}
.page-hero .breadcrumb a { color: var(--orange); font-weight: 500; }

/* ══════════════════════════════════════════════
   TEAM SECTION
   ══════════════════════════════════════════════ */
.team-section {
  background: var(--white);
  padding: 48px 0 100px;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.team-header {
  text-align: center;
  margin-bottom: 56px;
}

.team-header h2 {
  font-family: var(--ff);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.team-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--orange);
  border-radius: 50px;
}

.team-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ── Team Card ──────────────────────────────────────────────── */
.team-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.team-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.team-card-image-wrap {
  position: relative;
  overflow: hidden;
  margin: 16px 16px 0;
  border-radius: 12px;
  max-width: 280px;
  width: calc(100% - 0px);
  margin-left: auto;
  margin-right: auto;
}

.team-card-image {
  width: 100%;
  max-width: 280px;
  height: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  transition: transform 0.45s ease;
}

.team-card-image span {
  font-family: var(--ff);
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  opacity: 0.92;
  user-select: none;
}

.team-card:hover .team-card-image {
  transform: scale(1.05);
}

.team-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--orange);
  color: var(--white);
  font-family: var(--ff);
  font-size: 10px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  line-height: 1.3;
  max-width: calc(100% - 24px);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35);
}

.team-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(10, 31, 68, 0.88);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-card-overlay {
  transform: translateY(0);
}

.team-overlay-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 17px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.team-overlay-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: scale(1.08);
}

.team-card-body {
  padding: 20px 20px 24px;
}

.team-card-body h5 {
  font-family: var(--ff);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.team-role {
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 10px;
  line-height: 1.4;
}

.team-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

.team-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.team-pill {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--ff);
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-glow);
  border-radius: 50px;
  line-height: 1.4;
}

.team-social {
  display: flex;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 15px;
  transition: background 0.3s ease, color 0.3s ease;
}

.team-social a:hover {
  background: var(--orange);
  color: var(--white);
}

/* ── Footer ─────────────────────────────────────────────────── */
.newsletter { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); padding: 36px 0; }
.newsletter-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.newsletter-text { color: var(--white); font-family: var(--ff); font-size: clamp(16px, 2.5vw, 22px); font-weight: 700; }
.newsletter-form { display: flex; gap: 0; flex: 1; max-width: 460px; }
.newsletter-form input {
  flex: 1; padding: 13px 20px; border: none; border-radius: 50px 0 0 50px;
  font-family: var(--ff-body); font-size: 14px; outline: none; min-width: 0;
}
.newsletter-form button {
  padding: 13px 28px; background: var(--navy); color: var(--white);
  font-family: var(--ff); font-size: 14px; font-weight: 600;
  border: none; border-radius: 0 50px 50px 0; cursor: pointer; transition: 0.3s ease;
}

.footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: 64px 0 0; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 48px; }
.footer-heading {
  font-family: var(--ff); font-size: 12px; font-weight: 700; color: var(--orange);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px;
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .footer-logo-icon {
  width: 36px; height: 36px; background: linear-gradient(135deg, var(--orange), #ff8a33);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 16px;
}
.footer-brand .footer-logo-text { font-family: var(--ff); font-size: 20px; font-weight: 700; }
.footer-brand .footer-logo-text span:first-child { color: var(--white); }
.footer-brand .footer-logo-text span:last-child { color: var(--orange); }
.footer-brand .footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 18px; color: rgba(255, 255, 255, 0.6); }
.footer-socials { display: flex; gap: 10px; margin-bottom: 18px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.7); font-size: 15px; transition: 0.3s ease;
}
.footer-socials a:hover { border-color: var(--orange); color: var(--orange); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255, 255, 255, 0.6); transition: 0.3s ease; }
.footer-links a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.footer-contact-item i { color: var(--orange); width: 18px; flex-shrink: 0; margin-top: 3px; }
.footer-wa {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px;
  background: #25D366; color: var(--white); font-family: var(--ff);
  font-size: 13px; font-weight: 600; border-radius: 50px; width: fit-content;
}
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 0; }
.footer-bottom-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy, .footer-made { font-size: 13px; color: rgba(255, 255, 255, 0.4); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-menu > li > a { padding: 8px 10px; font-size: 14px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .top-bar-left span:not(:first-child) { display: none; }
  .nav-menu { display: none; }
  .nav-actions .btn-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 576px) {
  .top-bar-right .social-links { display: none; }
  .nav-bar { padding: 0 16px; }
  .page-hero { padding: 120px 16px 16px; }
  .team-section { padding: 32px 0 64px; }
  .team-container { padding: 0 16px; }
  .team-grid { grid-template-columns: 1fr; gap: 24px; max-width: 320px; margin: 0 auto; }
  .team-card-image { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
