/* =========================================================
   SHAAGIRD — OUR TEAM PAGE STYLESHEET
   Matching Miles2Smile Design with Shaagird Brand Identity
   Brand Color Palette:
     --teal: #299D8E (Shaagird Teal)
     --teal-dark: #1E7B6F
     --teal-deep: #173B38
     --teal-soft: #E7F5F2
     --teal-light: #F0F7F5
     --ink: #161616
     --muted: #5F6B69
     --line: #E2ECE9
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Pacifico&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
  --team-teal: #299D8E;
  --team-teal-dark: #1E7B6F;
  --team-teal-deep: #173B38;
  --team-teal-soft: #E7F5F2;
  --team-teal-light: #F4FAF8;
  --team-teal-glow: rgba(41, 157, 142, 0.35);
  --team-ink: #161616;
  --team-heading: #173B38;
  --team-muted: #5F6B69;
  --team-line: #E5EEEC;
  --team-card-bg: #FFFFFF;
  --team-shadow: 0 18px 45px rgba(23, 59, 56, 0.08);
  --team-shadow-hover: 0 22px 50px rgba(23, 59, 56, 0.14);
}

/* Page Reset & Container */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

.team-page-wrapper {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0 0 80px;
  background: #fbfdfc;
  color: var(--team-ink);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  box-sizing: border-box;
}

.team-page-wrapper::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(41, 157, 142, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(38, 70, 83, 0.04) 0%, transparent 45%),
    linear-gradient(rgba(41, 157, 142, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 157, 142, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

.team-page-wrapper *,
.team-page-wrapper *::before,
.team-page-wrapper *::after {
  box-sizing: border-box;
}

.team-page-wrapper a {
  text-decoration: none;
  color: inherit;
}

.team-page-wrapper img {
  display: block;
  max-width: 100%;
}

/* =========================================================
   1. HERO SECTION (Our Approach Light Mint Palette)
========================================================= */
.team-hero {
  position: relative;
  min-height: 540px;
  color: var(--team-heading);
  background: linear-gradient(135deg, #f0fbf8 0%, #e5f6f2 50%, #fbfdfc 100%);
  border-bottom: 1px solid #dbebe7;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.team-hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(41, 157, 142, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(41, 157, 142, 0.09) 0%, transparent 45%);
  pointer-events: none;
}

.team-hero__content {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto;
  padding: 80px 0 120px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.team-hero__copy {
  max-width: 560px;
}

.team-eyebrow {
  margin: 0 0 16px;
  color: var(--team-teal-dark);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.team-eyebrow span {
  display: inline-block;
  width: 22px;
  height: 5px;
  border-top: 3px solid var(--team-teal);
  border-bottom: 3px solid var(--team-teal);
}

.team-hero h1 {
  margin: 0;
  color: #102f36;
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.team-hero h1 strong {
  display: block;
  color: var(--team-teal);
  font-family: 'Pacifico', cursive;
  font-size: 0.98em;
  font-weight: 400;
  line-height: 1.15;
  text-shadow: none;
}

.team-hero__text {
  max-width: 500px;
  margin: 22px 0 28px;
  color: #2d454a;
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 500;
}

.team-journey-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
  border: none;
  background: var(--team-teal);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(41, 157, 142, 0.32);
  transition: all 0.25s ease;
}

.team-journey-btn i {
  color: #FFFFFF;
  font-size: 18px;
  transition: transform 0.25s ease;
}

.team-journey-btn:hover {
  background: var(--team-teal-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(41, 157, 142, 0.45);
}

.team-journey-btn:hover i {
  color: #FFFFFF;
  transform: scale(1.15);
}

/* Values Sidebar */
.team-values {
  width: min(340px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 10px;
}

.team-value-item {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 24px 14px 16px;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(41, 157, 142, 0.2);
  box-shadow: 0 10px 28px rgba(16, 51, 71, 0.05);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.team-value-item:hover {
  transform: translateX(4px);
  background: #FFFFFF;
  border-color: rgba(41, 157, 142, 0.35);
  box-shadow: 0 14px 34px rgba(41, 157, 142, 0.12);
}

.team-value-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--team-teal);
  color: #FFFFFF;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12), 0 8px 18px rgba(41, 157, 142, 0.28);
  font-size: 24px;
}

.team-value-text h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #102f36;
  letter-spacing: 0.3px;
}

.team-value-text p {
  margin: 0;
  color: #5e767b;
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 500;
}

/* Decorative Hero Line */
.team-hero-line {
  position: absolute;
  z-index: 1;
  left: 28%;
  bottom: 120px;
  width: 320px;
  height: 60px;
  color: var(--team-teal);
  opacity: 0.45;
  pointer-events: none;
}

.team-hero-line span {
  position: absolute;
  left: 0;
  top: 30px;
  width: 100%;
  height: 36px;
  border-top: 2px dashed currentColor;
  border-radius: 50%;
  transform: rotate(-5deg);
}

.team-hero-line i {
  position: absolute;
  left: 48%;
  top: 2px;
  font-size: 32px;
  color: #5EEAD4;
}

/* =========================================================
   2. FOUNDER CARD SPOTLIGHT
========================================================= */
.team-founder-wrap {
  position: relative;
  z-index: 2;
  width: min(1140px, calc(100% - 56px));
  margin: -84px auto 0;
}

/* =========================================================
   2. FOUNDER EXECUTIVE SPOTLIGHT (IMPRESSIVE UI)
========================================================= */
.team-founder-spotlight {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 44px;
  align-items: stretch;
  padding: 36px 42px;
  background: #FFFFFF;
  border: 1px solid var(--team-line);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(23, 59, 56, 0.08);
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-founder-spotlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(23, 59, 56, 0.12);
}

.team-founder-spotlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--team-teal), #5EEAD4);
}

.team-founder-spotlight::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(41, 157, 142, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Left Executive Sidebar */
.founder-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  height: 100%;
  padding: 16px;
  background: linear-gradient(180deg, #F0FAF7 0%, #E6F5F2 100%);
  border: 1px solid rgba(41, 157, 142, 0.22);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 20px rgba(23, 59, 56, 0.04);
}

.founder-photo-frame {
  position: relative;
  width: 100%;
  height: 330px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(41, 157, 142, 0.18) 0%, rgba(41, 157, 142, 0.04) 65%, transparent 100%),
    linear-gradient(180deg, #FFFFFF 0%, #E6F5F2 100%);
  box-shadow: 0 8px 20px rgba(23, 59, 56, 0.08);
  border: 3px solid #FFFFFF;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.founder-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.team-founder-spotlight:hover .founder-photo-frame img {
  transform: scale(1.03);
}

.founder-award-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #102f36 0%, #173B38 100%);
  color: #F8D179;
  border: 1px solid rgba(248, 209, 121, 0.45);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
  z-index: 2;
}

.founder-award-badge i {
  color: #F8D179;
  font-size: 11px;
}

/* Micro Stats in Sidebar (2x2 Grid) */
.founder-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.founder-stat-box {
  padding: 9px 10px;
  background: #FFFFFF;
  border: 1px solid rgba(41, 157, 142, 0.18);
  border-radius: 9px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(23, 59, 56, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.founder-stat-box:hover {
  transform: translateY(-2px);
  border-color: var(--team-teal);
}

.founder-stat-box strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--team-teal-dark);
  line-height: 1.15;
}

.founder-stat-box span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--team-muted);
  line-height: 1.2;
}

/* 2-2 Highlights Grid under Image */
.founder-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.founder-highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  background: #FFFFFF;
  border: 1px solid rgba(41, 157, 142, 0.18);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--team-teal-deep);
  line-height: 1.25;
  box-shadow: 0 2px 6px rgba(23, 59, 56, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.founder-highlight-item:hover {
  transform: translateY(-2px);
  border-color: var(--team-teal);
}

.founder-highlight-item i {
  color: var(--team-teal);
  font-size: 13px;
  flex-shrink: 0;
}

/* Info side */
.founder-info-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.founder-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--team-teal);
  margin-bottom: 6px;
}

.founder-name {
  margin: 0 0 4px;
  color: var(--team-heading);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.founder-title-badge {
  margin: 0 0 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--team-teal-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.founder-title-badge span.sep {
  color: #cbd5e1;
}

.founder-bio p {
  margin: 0 0 10px;
  color: var(--team-muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

.founder-bio p:last-of-type {
  margin-bottom: 14px;
}

.founder-bio strong {
  color: var(--team-heading);
  font-weight: 700;
}

.founder-award-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(248, 209, 121, 0.12) 0%, rgba(41, 157, 142, 0.08) 100%);
  border-left: 4px solid #E5A823;
  border-radius: 0 10px 10px 0;
  margin: 12px 0 14px;
}

.founder-award-card i {
  font-size: 24px;
  color: #D97706;
  margin-top: 2px;
  flex-shrink: 0;
}

.founder-award-text h4 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 800;
  color: #92400E;
}

.founder-award-text p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #78350F;
  font-weight: 500;
}

.founder-milestones {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 6px 0 0;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.founder-milestones::-webkit-scrollbar {
  display: none;
}

.founder-milestone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  flex: 1 0 auto;
}

.founder-milestone i {
  color: var(--team-teal);
  font-size: 11px;
}

.founder-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--team-line);
}

.founder-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.founder-social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.founder-social-link.fb {
  background: #EBF3FF;
  color: #1877F2;
  border-color: rgba(24, 119, 242, 0.25);
}
.founder-social-link.fb:hover {
  background: #1877F2;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.35);
}

.founder-social-link.ig {
  background: #FDF0F5;
  color: #E1306C;
  border-color: rgba(225, 48, 108, 0.25);
}
.founder-social-link.ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(225, 48, 108, 0.35);
}

.founder-social-link.in {
  background: #EAF4FE;
  color: #0A66C2;
  border-color: rgba(10, 102, 194, 0.25);
}
.founder-social-link.in:hover {
  background: #0A66C2;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(10, 102, 194, 0.35);
}

.founder-social-link.tw {
  background: #F1F5F9;
  color: #0F1419;
  border-color: rgba(15, 20, 25, 0.2);
}
.founder-social-link.tw:hover {
  background: #000000;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.founder-social-link.yt {
  background: #FEF0F0;
  color: #FF0000;
  border-color: rgba(255, 0, 0, 0.25);
}
.founder-social-link.yt:hover {
  background: #FF0000;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(255, 0, 0, 0.35);
}

@media (max-width: 900px) {
  .team-founder-wrap {
    margin: 24px auto 0 !important;
    width: min(calc(100% - 24px), 540px) !important;
  }

  .team-founder-spotlight {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 20px;
    text-align: center;
  }
  .founder-sidebar {
    max-width: 380px;
    margin: 0 auto;
  }
  .founder-kicker,
  .founder-title-badge {
    justify-content: center;
  }
  .founder-bio {
    text-align: left;
  }
  .founder-award-card {
    text-align: left;
  }
  .founder-milestones {
    justify-content: center;
  }
  .founder-actions {
    justify-content: center;
  }
}

.team-founder-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1140px;
  margin: 0 auto;
  min-height: 420px;
  padding: 36px 48px;
  border: 1px solid var(--team-line);
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: var(--team-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.team-founder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--team-shadow-hover);
}

.team-founder-photo {
  position: relative;
  min-height: 460px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.team-photo-blob {
  position: absolute;
  width: 330px;
  height: 310px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  border-radius: 36px 36px 12px 12px;
  background: var(--team-teal);
  box-shadow: 0 16px 36px rgba(41, 157, 142, 0.25);
  z-index: 0;
}

.team-founder-photo::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  border-radius: 50%;
  background: var(--team-teal-soft);
  z-index: 0;
  pointer-events: none;
}

.team-founder-photo::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 60px;
  width: 80px;
  height: 100px;
  background-image: radial-gradient(rgba(41, 157, 142, 0.25) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
  z-index: 0;
  pointer-events: none;
}

.team-founder-img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 330px;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0 0 12px 12px;
  filter: saturate(0.98);
  display: block;
  margin: 0 auto;
}

.team-signature {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 16px;
  margin: 0;
  color: #FFFFFF;
  font-family: 'Pacifico', cursive;
  font-size: 26px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  transform: rotate(-6deg);
  pointer-events: none;
}

.team-founder-info {
  display: flex;
  flex-direction: column;
}

.team-founder-info h2 {
  margin: 0;
  color: var(--team-heading);
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.team-founder-info h4 {
  margin: 12px 0 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--team-teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-founder-info p {
  max-width: 520px;
  margin: 0 0 14px;
  color: var(--team-muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

.team-founder-info p:last-of-type {
  margin-bottom: 22px;
}

/* Social Icons */
.team-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.team-socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--team-teal-deep);
  color: #FFFFFF;
  font-size: 14px;
  transition: all 0.22s ease;
}

.team-socials a:hover {
  background: var(--team-teal);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(41, 157, 142, 0.35);
}

.team-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 44px;
  padding: 0 26px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13.5px;
  background: var(--team-teal);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(41, 157, 142, 0.28);
  transition: all 0.25s ease;
}

.team-profile-btn:hover {
  background: var(--team-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(41, 157, 142, 0.38);
}

/* =========================================================
   3. SECTION HEADER COMMON
========================================================= */
.team-section {
  width: min(1200px, calc(100% - 56px));
  margin: 64px auto 0;
  text-align: center;
}

.team-section-kicker--center {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--team-teal);
}

.team-section-kicker--center::before,
.team-section-kicker--center::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--team-teal);
  opacity: 0.6;
}

.team-section-title {
  margin: 0 0 10px;
  color: var(--team-heading);
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.team-section-subtitle {
  max-width: 720px;
  margin: 0 auto 36px;
  color: var(--team-muted);
  font-size: 15px;
  line-height: 1.65;
}



/* =========================================================
   4. MEMBER CARD & GRIDS
========================================================= */
.team-grid-leaders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

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

.team-member-card {
  min-width: 0;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 28px 20px 24px;
  border: 1px solid var(--team-line);
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(23, 59, 56, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}

.team-member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--team-teal), #5EEAD4);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.team-member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(23, 59, 56, 0.12);
  border-color: rgba(41, 157, 142, 0.35);
}

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

.team-member-photo-wrap {
  width: 175px;
  height: 175px;
  margin: 0 auto 20px;
  flex: 0 0 auto;
  position: relative;
}

.team-member-photo {
  width: 175px;
  height: 175px;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--team-teal-soft);
  border: 4px solid #FFFFFF;
  outline: 2.5px solid var(--team-teal);
  box-shadow: 0 8px 22px rgba(23, 59, 56, 0.12);
  transition: transform 0.35s ease, outline-color 0.35s ease;
}

.team-member-card:hover .team-member-photo {
  transform: scale(1.04);
  outline-color: var(--team-teal-dark);
}

.team-member-card h3 {
  margin: 0 0 6px;
  color: var(--team-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.team-member-card p {
  margin: 0;
  color: var(--team-teal-dark);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-member-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--team-teal-light);
  border: 1px solid rgba(41, 157, 142, 0.2);
  color: var(--team-teal-deep);
  font-size: 11.5px;
  font-weight: 600;
}

/* Educators specific card (Photo + Name + Learning Center) */
.team-grid-educators .team-member-card {
  min-height: 280px;
  padding: 26px 16px 22px;
  justify-content: flex-start;
}

.team-grid-educators .team-member-card .team-member-photo-wrap {
  margin: 0 auto 16px;
}

.team-grid-educators .team-member-card h3 {
  margin: 0 0 5px;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--team-heading);
}

.team-grid-educators .team-member-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.35;
}

/* =========================================================
   5. STATS COUNTER BAR
========================================================= */
.team-stats-bar {
  width: min(1200px, calc(100% - 56px));
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 22px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(231, 245, 242, 0.78)),
    rgba(255, 255, 255, 0.82);
  color: var(--team-ink);
  box-shadow: 0 18px 45px rgba(23, 59, 56, 0.08);
  border: 1px solid rgba(41, 157, 142, 0.2);
}

.team-stat-card {
  min-height: 130px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-content: center;
  align-items: center;
  column-gap: 16px;
  position: relative;
  padding: 20px;
  border: 1px solid rgba(41, 157, 142, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 247, 245, 0.7)),
    rgba(255, 255, 255, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(23, 59, 56, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(23, 59, 56, 0.12);
}

.team-stat-card i {
  grid-row: span 2;
  align-self: center;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(41, 157, 142, 0.16);
  color: var(--team-teal);
  font-size: 26px;
  box-shadow: inset 0 0 0 1px rgba(41, 157, 142, 0.35);
}

.team-stat-card strong {
  align-self: end;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
  color: var(--team-heading);
}

.team-stat-card span {
  align-self: start;
  color: var(--team-muted);
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =========================================================
   6. COMMUNITY CTA BANNER (LUMINOUS & IMPRESSIVE LIGHT THEME)
========================================================= */
.team-cta-banner {
  width: min(1200px, calc(100% - 56px));
  margin: 72px auto 0;
  padding: 48px 56px;
  border-radius: 24px;
  background: linear-gradient(135deg, #F0FAF7 0%, #FFFFFF 46%, #E7F7F2 100%);
  border: 1.5px solid rgba(41, 157, 142, 0.22);
  color: #173B38;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 20px 48px -12px rgba(11, 59, 54, 0.10), 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.team-cta-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4.5px;
  background: linear-gradient(90deg, #299D8E 0%, #F9B500 50%, #299D8E 100%);
}

.team-cta-banner::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 157, 142, 0.16) 0%, rgba(41, 157, 142, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

.team-cta-banner::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 28%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 181, 0, 0.12) 0%, rgba(249, 181, 0, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

.team-cta-info {
  max-width: 660px;
  position: relative;
  z-index: 1;
}

.team-cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(41, 157, 142, 0.12);
  color: #075B5B;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(41, 157, 142, 0.22);
}

.team-cta-kicker i {
  color: #299D8E;
  font-size: 12px;
}

.team-cta-info h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 900;
  color: #0B3B36;
  letter-spacing: -0.4px;
  line-height: 1.25;
}

.team-cta-info p {
  margin: 0;
  font-size: 15.5px;
  color: #425F5B;
  line-height: 1.62;
  font-weight: 500;
}

.team-cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.team-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.team-cta-primary {
  background: linear-gradient(135deg, #299D8E 0%, #1F8376 100%);
  color: #FFFFFF !important;
  box-shadow: 0 8px 22px rgba(41, 157, 142, 0.35);
  border: 1px solid rgba(41, 157, 142, 0.3);
}

.team-cta-primary:hover {
  background: linear-gradient(135deg, #228D80 0%, #176F64 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(41, 157, 142, 0.45);
  color: #FFFFFF !important;
}

.team-cta-primary:hover .fa-arrow-right {
  transform: translateX(3px);
}

.team-cta-primary .fa-arrow-right {
  transition: transform 0.2s ease;
  font-size: 13px;
}

.team-cta-secondary {
  background: #FFFFFF;
  color: #075B5B !important;
  border: 1.5px solid rgba(41, 157, 142, 0.35);
  box-shadow: 0 4px 14px rgba(11, 59, 54, 0.05);
}

.team-cta-secondary i {
  color: #299D8E;
  font-size: 14px;
}

.team-cta-secondary:hover {
  background: #EAF7F4;
  border-color: #299D8E;
  color: #044242 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(41, 157, 142, 0.16);
}

/* =========================================================
   RESPONSIVE DESIGN BREAKPOINTS
========================================================= */
@media (max-width: 1100px) {
  .team-founder-card {
    padding: 32px 36px;
    gap: 36px;
  }

  .team-grid-educators {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .team-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .team-hero__content {
    flex-direction: column;
    padding: 70px 0 110px;
    gap: 32px;
  }

  .team-hero-line {
    display: none;
  }

  .team-values {
    width: 100%;
    max-width: 440px;
  }

  .team-founder-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
    gap: 32px;
  }

  .team-founder-photo {
    min-height: auto;
    height: 380px;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
  }

  .team-photo-blob {
    width: 290px;
    height: 270px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
  }

  .team-founder-photo::before {
    width: 290px;
    height: 290px;
    left: 50%;
    transform: translateX(-50%);
  }

  .team-founder-photo::after {
    display: none;
  }

  .team-founder-img {
    width: auto;
    max-width: 290px;
    height: auto;
    max-height: 360px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .team-signature {
    right: 20px;
    bottom: 12px;
    font-size: 22px;
  }

  .team-founder-info {
    align-items: center;
    text-align: center;
  }

  .team-founder-info h2,
  .team-founder-info h4 {
    text-align: center;
  }

  .board-bio-text {
    text-align: left;
  }

  .team-socials {
    justify-content: center;
  }

  .team-grid-leaders {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }

  .team-cta-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* Compact Mobile Team Hero */
  .team-hero {
    min-height: auto !important;
    padding: 24px 0 32px !important;
  }

  .team-hero__content {
    flex-direction: column !important;
    padding: 0 !important;
    gap: 18px !important;
    width: min(100% - 32px, 540px) !important;
    text-align: center;
  }

  .team-hero__copy {
    max-width: 100% !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .team-eyebrow {
    margin: 0 0 8px !important;
    font-size: 11.5px !important;
  }

  .team-hero h1 {
    font-size: 32px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  .team-hero h1 strong {
    display: inline-block !important;
    font-size: 1.05em !important;
    margin-left: 6px;
  }

  .team-hero__text {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin: 10px 0 16px !important;
    max-width: 440px !important;
  }

  .team-journey-btn {
    min-height: 38px !important;
    padding: 0 20px !important;
    font-size: 13px !important;
  }

  /* Compact Values Row on Mobile */
  .team-values {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    padding-top: 6px !important;
  }

  .team-value-item {
    min-height: auto !important;
    flex-direction: column !important;
    text-align: center !important;
    padding: 10px 6px !important;
    border-radius: 12px !important;
    gap: 6px !important;
    background: rgba(255, 255, 255, 0.92) !important;
  }

  .team-value-icon {
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 15px !important;
    margin: 0 auto !important;
  }

  .team-value-text h3 {
    font-size: 12px !important;
    margin: 0 !important;
    letter-spacing: 0 !important;
  }

  .team-value-text p {
    display: none !important;
  }
}

@media (max-width: 650px) {
  .team-hero {
    min-height: auto !important;
    padding: 22px 0 30px !important;
  }

  .team-hero h1 {
    font-size: clamp(28px, 7vw, 34px) !important;
  }

  /* =========================================================
     1. FOUNDER CARD SPOTLIGHT (Aasif Mujtaba) - MOBILE FIX
  ========================================================= */
  .team-founder-wrap {
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
    margin: 20px auto 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .team-founder-spotlight {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 18px 14px !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-align: center !important;
  }

  .founder-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 12px 10px !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
    gap: 10px !important;
  }

  .founder-photo-frame {
    width: 100% !important;
    max-width: 100% !important;
    height: 275px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .founder-award-badge {
    font-size: 10.5px !important;
    padding: 5px 12px !important;
    max-width: calc(100% - 16px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    bottom: 8px !important;
  }

  .founder-stats-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .founder-stat-box {
    min-width: 0 !important;
    padding: 7px 5px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  .founder-stat-box strong {
    font-size: 13px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .founder-stat-box span {
    font-size: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .founder-highlights {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .founder-highlight-item {
    min-width: 0 !important;
    padding: 6px 7px !important;
    font-size: 10px !important;
    gap: 6px !important;
    line-height: 1.25 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  .founder-highlight-item i {
    font-size: 11px !important;
    flex-shrink: 0 !important;
  }

  .founder-highlight-item span {
    min-width: 0 !important;
    word-break: break-word !important;
  }

  .founder-info-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .founder-kicker {
    font-size: 11px !important;
    margin-bottom: 4px !important;
    justify-content: center !important;
  }

  .founder-name {
    font-size: 26px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    margin: 0 0 6px !important;
  }

  .founder-title-badge {
    font-size: 12.5px !important;
    margin: 0 0 14px !important;
    gap: 6px !important;
    justify-content: center !important;
    text-align: center !important;
    flex-wrap: wrap !important;
  }

  .founder-bio p {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 10px !important;
    text-align: left !important;
  }

  .founder-award-card {
    padding: 10px 12px !important;
    gap: 10px !important;
    margin: 10px 0 12px !important;
    border-radius: 0 8px 8px 0 !important;
    text-align: left !important;
  }

  .founder-award-card i {
    font-size: 20px !important;
    flex-shrink: 0 !important;
  }

  .founder-award-text h4 {
    font-size: 12.5px !important;
  }

  .founder-award-text p {
    font-size: 11.5px !important;
  }

  .founder-milestones {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    justify-content: center !important;
    overflow-x: visible !important;
    margin-top: 8px !important;
  }

  .founder-milestone {
    padding: 4px 7px !important;
    font-size: 10px !important;
    flex: 0 1 auto !important;
    white-space: normal !important;
  }

  .founder-actions {
    padding-top: 12px !important;
    margin-top: 12px !important;
    justify-content: center !important;
  }

  .founder-socials {
    gap: 10px !important;
  }

  .founder-social-link {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }

  /* =========================================================
     2. SECTION CONTAINER & HEADERS - MOBILE FIX
  ========================================================= */
  .team-section {
    width: calc(100% - 24px) !important;
    margin: 44px auto 0 !important;
    box-sizing: border-box !important;
  }

  .team-section-title {
    font-size: clamp(26px, 7vw, 32px) !important;
  }

  .team-section-subtitle {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin: 10px auto 20px !important;
    max-width: 100% !important;
  }

  /* =========================================================
     3. BOARD MEMBER CARD (Aziz Akhtar) - MOBILE FIX
  ========================================================= */
  .team-founder-card {
    grid-template-columns: 1fr !important;
    padding: 20px 14px !important;
    gap: 18px !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-align: center !important;
  }

  .team-founder-photo {
    min-height: auto !important;
    height: 275px !important;
    max-width: 250px !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    position: relative !important;
  }

  .team-photo-blob {
    width: 220px !important;
    max-width: 90% !important;
    height: 205px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 0 !important;
    border-radius: 26px 26px 10px 10px !important;
  }

  .team-founder-photo::before {
    display: none !important;
  }

  .team-founder-photo::after {
    display: none !important;
  }

  .team-founder-img {
    position: relative !important;
    z-index: 1 !important;
    width: auto !important;
    max-width: 220px !important;
    height: 265px !important;
    max-height: 265px !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    margin: 0 auto !important;
  }

  .team-signature {
    position: absolute !important;
    z-index: 2 !important;
    right: 12px !important;
    bottom: 8px !important;
    font-size: 18px !important;
    transform: rotate(-6deg) !important;
  }

  .team-founder-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    align-items: center !important;
  }

  .team-founder-info h2 {
    font-size: 26px !important;
    line-height: 1.15 !important;
    margin-bottom: 4px !important;
    text-align: center !important;
  }

  .team-founder-info h4 {
    font-size: 12.5px !important;
    margin: 0 0 14px !important;
    text-align: center !important;
  }

  .board-bio-text {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    text-align: left !important;
    width: 100% !important;
  }

  .board-bio-text p {
    margin: 0 0 10px !important;
  }

  .team-grid-leaders {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .team-grid-educators {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .team-stats-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 14px 10px !important;
    width: calc(100% - 24px) !important;
    margin: 36px auto 0 !important;
  }

  .team-stat-card {
    min-height: auto !important;
    grid-template-columns: 38px 1fr !important;
    column-gap: 10px !important;
    padding: 12px 10px !important;
    align-items: center !important;
  }

  .team-stat-card i {
    width: 38px !important;
    height: 38px !important;
    font-size: 17px !important;
  }

  .team-stat-card strong {
    font-size: clamp(18px, 5vw, 22px) !important;
    line-height: 1.1 !important;
  }

  .team-stat-card span {
    font-size: 10.5px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.01em !important;
  }

  @media (max-width: 380px) {
    .team-founder-spotlight,
    .team-founder-card {
      padding: 16px 10px !important;
    }

    .founder-photo-frame {
      height: 235px !important;
    }

    .founder-stat-box strong {
      font-size: 12px !important;
    }

    .founder-stat-box span {
      font-size: 9.5px !important;
    }

    .founder-highlight-item {
      padding: 5px 6px !important;
      font-size: 9.5px !important;
    }

    .team-founder-photo {
      height: 240px !important;
    }

    .team-photo-blob {
      width: 190px !important;
      height: 180px !important;
    }

    .team-founder-img {
      max-height: 230px !important;
      max-width: 190px !important;
    }

    .founder-name,
    .team-founder-info h2 {
      font-size: 23px !important;
    }

    .team-stats-bar {
      gap: 8px !important;
      padding: 10px 8px !important;
    }

    .team-stat-card {
      padding: 10px 8px !important;
      column-gap: 8px !important;
      grid-template-columns: 32px 1fr !important;
    }

    .team-stat-card i {
      width: 32px !important;
      height: 32px !important;
      font-size: 14px !important;
    }

    .team-stat-card strong {
      font-size: 17px !important;
    }

    .team-stat-card span {
      font-size: 9.5px !important;
    }
  }

  .team-cta-banner {
    width: calc(100% - 24px);
    margin: 48px auto 0;
    padding: 34px 20px 30px;
    border-radius: 18px;
  }

  .team-cta-actions {
    flex-direction: column;
    gap: 12px;
  }

  .team-cta-btn {
    width: 100%;
  }
}

/* =========================================================
   FOOTER EXACT STANDARDIZATION (MATCHES REFERENCE P1)
========================================================= */
.site-footer .footer-container {
  width: 100% !important;
  background-color: #ffffff !important;
  padding: 42px 24px 38px !important;
  box-sizing: border-box !important;
}

.site-footer .footer-logo {
  width: auto !important;
  height: 62px !important;
  max-height: 64px !important;
  max-width: 125px !important;
  object-fit: contain !important;
  display: block !important;
}

.site-footer .links-section li,
.site-footer .links-section2 li {
  margin-bottom: 5px !important;
}

.site-footer .links-section a,
.site-footer .links-section2 a {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.site-footer .social-grid {
  gap: 20px !important;
}

.site-footer .social-item a {
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.site-footer .copyright-strip {
  padding: 12px 20px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}
