/* ===================================================================
   AUDITTECH360 — LEADERSHIP & TEAM CAROUSEL COMPONENT STYLES
   Reusable styling scoped for Leadership (06) & Our People (07)
   Compatible with index.html and about.html
   =================================================================== */

:root {
  --abt-orange: #1677FF;
  --abt-orange-bright: #0A2348;
  --abt-orange-soft: #EBF3FF;
  --abt-charcoal: #172033;
  --abt-warm-white: #FFF9F5;
  --abt-pure-white: #FFFFFF;
  --abt-border: #E2E8F0;
  --abt-text-muted: #5B6472;
  --abt-shadow-subtle: 0 4px 20px rgba(23, 23, 23, 0.04);
  --abt-shadow-hover: 0 20px 42px -8px rgba(23, 23, 23, 0.1);
  --abt-radius-md: 14px;
  --abt-radius-lg: 20px;
  --abt-radius-xl: 28px;
  --abt-radius-full: 9999px;
  --abt-transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------------
   1. LEADERSHIP TEAM SECTION (3 + 2 CENTERED EDITORIAL GRID)
   ------------------------------------------------------------------- */
.abt-leadership-section {
  padding: 110px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--abt-border);
  position: relative;
}

.abt-leader-card {
  background: #FFFFFF;
  border: 1px solid var(--abt-border);
  border-radius: var(--abt-radius-xl);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--abt-shadow-subtle);
  transition: transform var(--abt-transition), box-shadow var(--abt-transition), border-color 0.25s ease;
  position: relative;
}

.abt-leader-card:hover {
  transform: translateY(-6px);
  border-color: var(--abt-orange);
  box-shadow: 0 20px 42px -8px rgba(22, 119, 255, 0.16);
}

.abt-leader-photo-wrap {
  position: relative;
  height: 320px;
  background: #FBF8F5;
  overflow: hidden;
  border-bottom: 1px solid rgba(234, 230, 225, 0.7);
}

.abt-leader-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.7s var(--abt-transition);
}

.abt-leader-card:hover .abt-leader-photo-wrap img {
  transform: scale(1.04);
}

.abt-leader-verified-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: var(--abt-radius-full);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--abt-orange);
  border: 1px solid rgba(22, 119, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 2;
}

.abt-leader-body {
  padding: 28px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.abt-leader-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--abt-orange);
  background: var(--abt-orange-soft);
  border: 1px solid rgba(22, 119, 255, 0.2);
  padding: 4px 12px;
  border-radius: var(--abt-radius-full);
  margin-bottom: 12px;
  align-self: flex-start;
}

.abt-leader-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.34rem;
  font-weight: 800;
  color: var(--abt-charcoal);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.abt-leader-role {
  font-size: 0.92rem;
  font-weight: 600;
  color: #4A4A4A;
  margin-bottom: 10px;
}

.abt-leader-quals {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--abt-orange);
  letter-spacing: 0.03em;
  background: var(--abt-orange-soft);
  border: 1px solid rgba(22, 119, 255, 0.22);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}

.abt-leader-bio {
  font-size: 0.88rem;
  color: var(--abt-text-muted);
  line-height: 1.68;
  margin-bottom: 0;
}

.abt-leader-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #F0ECE8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.abt-leader-dept {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #888888;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------------
   2. OUR PEOPLE SECTION (INFINITE HORIZONTAL MARQUEE CAROUSEL)
   ------------------------------------------------------------------- */
.abt-people-section {
  padding: 105px 0 115px 0;
  background: var(--abt-warm-white);
  border-top: 1px solid var(--abt-border);
  position: relative;
  overflow: hidden;
}

.abt-people-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 24px 0 32px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.abt-people-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 22px;
  animation: abtPeopleMarquee 50s linear infinite;
  will-change: transform;
}

.abt-people-carousel-container:hover .abt-people-track,
.abt-people-carousel-container:focus-within .abt-people-track {
  animation-play-state: paused;
}

.abt-people-item {
  flex: 0 0 auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid var(--abt-orange);
  background: #FFFFFF;
  padding: 3px;
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.16);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  cursor: pointer;
  display: block;
}

.abt-people-item:hover,
.abt-people-item:focus {
  transform: scale(1.12);
  z-index: 10;
  border-color: #0A2348;
  box-shadow: 0 14px 30px rgba(22, 119, 255, 0.32);
  outline: none;
}

.abt-people-item img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.abt-people-item:hover img {
  transform: scale(1.05);
}

.abt-people-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--abt-charcoal);
  border: 1px solid var(--abt-border);
  padding: 8px 20px;
  border-radius: var(--abt-radius-full);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 600;
  box-shadow: var(--abt-shadow-subtle);
}

@keyframes abtPeopleMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .abt-people-track {
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }
  .abt-people-item {
    scroll-snap-align: center;
  }
}

/* -------------------------------------------------------------------
   3. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------------- */
@media (max-width: 991px) {
  .abt-leader-photo-wrap {
    height: 290px;
  }
  .abt-people-item {
    width: 110px;
    height: 110px;
  }
  .abt-people-track {
    gap: 18px;
    animation-duration: 40s;
  }
}

@media (max-width: 576px) {
  .abt-leadership-section,
  .abt-people-section {
    padding: 70px 0;
  }
  .abt-leader-photo-wrap {
    height: 250px;
  }
  .abt-leader-body {
    padding: 22px 18px 20px 18px;
  }
  .abt-people-item {
    width: 86px;
    height: 86px;
    border-width: 2.5px;
    padding: 2px;
  }
  .abt-people-track {
    gap: 14px;
    animation-duration: 32s;
  }
  .abt-people-carousel-container {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
    padding: 16px 0 24px 0;
  }
}

/* ===================================================================
   4. MODERN CORPORATE LEADERSHIP ORG-CHART SECTION
   White & light-blue theme, circular avatars, organizational tree connectors
   =================================================================== */
.org-leadership-section {
  position: relative;
  padding: 110px 0 120px 0;
  background: linear-gradient(180deg, #F8FAFD 0%, #EEF5FF 40%, #E8F2FE 75%, #FFFFFF 100%);
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  overflow: hidden;
}

/* Subtle background dot matrix */
.org-leadership-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, 0.07) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
}

/* Header */
.org-section-header {
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
}

.org-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0284C7;
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
  padding: 5px 16px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.org-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0A1C3B;
  margin-bottom: 12px;
}

.org-subtitle {
  font-size: 1.02rem;
  color: #475569;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Profile Cards Shared */
.org-card {
  background: #FFFFFF;
  border: 1.5px solid #DCE6F5;
  border-radius: 22px;
  box-shadow: 0 10px 30px -6px rgba(15, 39, 86, 0.08), 0 4px 12px -2px rgba(15, 39, 86, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.org-card:hover {
  transform: translateY(-6px);
  border-color: #2563EB;
  box-shadow: 0 20px 42px -10px rgba(37, 99, 235, 0.2), 0 8px 18px -4px rgba(37, 99, 235, 0.08);
}

/* Founder Specific Card */
.org-card-founder {
  padding: 34px 30px 28px 30px;
  border: 1.5px solid #BFDBFE;
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FBFE 100%);
  box-shadow: 0 12px 36px -6px rgba(37, 99, 235, 0.12), 0 4px 14px -2px rgba(15, 39, 86, 0.04);
}

.org-card-founder:hover {
  border-color: #1D4ED8;
}

/* Co-Founder Specific Card */
.org-card-cofounder {
  padding: 28px 24px 24px 24px;
  height: 100%;
}

/* Circular Avatars */
.org-avatar-wrap {
  position: relative;
  margin: 0 auto 18px auto;
  display: inline-block;
}

.org-avatar-wrap img,
.org-avatar-wrap .org-avatar-placeholder {
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.org-avatar-founder {
  width: 118px;
  height: 118px;
  border: 3.5px solid #2563EB;
  box-shadow: 0 0 0 5px rgba(6, 182, 212, 0.22), 0 12px 24px -4px rgba(37, 99, 235, 0.25);
  background: #EFF6FF;
}

.org-avatar-cofounder {
  width: 98px;
  height: 98px;
  border: 3px solid #0284C7;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.18), 0 8px 18px -3px rgba(2, 132, 199, 0.2);
  background: #F0F9FF;
}

.org-card:hover .org-avatar-wrap img {
  transform: scale(1.05);
}

.org-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284C7;
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Role / Designation Pills */
.org-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.org-role-founder {
  color: #1D4ED8;
  background: #DBEAFE;
  border: 1px solid #93C5FD;
}

.org-role-cofounder {
  color: #0369A1;
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
}

/* Typography Inside Cards */
.org-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  color: #0A1C3B;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.org-card-founder .org-name {
  font-size: 1.45rem;
}

.org-specialty {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0284C7;
  margin-bottom: 12px;
}

.org-designation {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0284C7;
  margin-bottom: 16px;
}

.org-bio {
  font-size: 0.87rem;
  color: #475569;
  line-height: 1.62;
  margin-bottom: 16px;
  text-align: justify;
}

/* Tag Chips */
.org-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  justify-content: center;
}

.org-tag-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: #334155;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 3px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.org-card:hover .org-tag-pill {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1D4ED8;
}

/* Card Footer / Social */
.org-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #EEF2F6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.org-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.org-social-link:hover {
  transform: translateY(-2px);
}

.org-social-link.linkedin:hover {
  background: #0A66C2;
  color: #FFFFFF;
  border-color: #0A66C2;
  box-shadow: 0 4px 10px rgba(10, 102, 194, 0.25);
}

.org-social-link.twitter:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

.org-social-link.facebook:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.25);
}

/* ===================================================================
   ORGANIZATIONAL CONNECTOR LINES & ARROWHEADS
   =================================================================== */

/* Desktop Tree Connector */
.org-tree-connector {
  position: relative;
  width: 100%;
  height: 64px;
  pointer-events: none;
  z-index: 1;
}

/* Vertical stem dropping from Founder card */
.org-stem-founder {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 32px;
  background: linear-gradient(180deg, #2563EB, #0284C7);
}

.org-stem-founder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #2563EB;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Horizontal branching crossbar */
.org-branch-bar {
  position: absolute;
  top: 32px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: #0284C7;
  border-radius: 2px;
}

.org-branch-bar::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #0284C7;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

/* 3 downward drop stems */
.org-drop-stem {
  position: absolute;
  top: 32px;
  width: 2px;
  height: 32px;
  background: linear-gradient(180deg, #0284C7, #2563EB);
}

.org-stem-col-1 {
  left: calc(100% / 6);
  transform: translateX(-50%);
}

.org-stem-col-2 {
  left: 50%;
  transform: translateX(-50%);
}

.org-stem-col-3 {
  left: calc(100% - (100% / 6));
  transform: translateX(-50%);
}

/* Downward Arrowhead */
.org-arrowhead {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #2563EB;
}

/* Mobile & Tablet Vertical Connector */
.org-mobile-connector {
  display: none;
  width: 100%;
  height: 48px;
  position: relative;
  margin: 0 auto;
  pointer-events: none;
}

.org-mobile-stem {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, #0284C7, #2563EB);
}

.org-mobile-stem .org-arrowhead {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #2563EB;
}

/* ===================================================================
   TAGLINE AT BOTTOM
   =================================================================== */
.org-tagline-container {
  position: relative;
  z-index: 2;
  margin-top: 56px;
}

.org-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  background: #FFFFFF;
  border: 1.5px solid #BFDBFE;
  border-radius: 9999px;
  box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.12);
  transition: all 0.3s ease;
}

.org-tagline-badge:hover {
  transform: scale(1.03);
  border-color: #2563EB;
  box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.22);
}

.org-tagline-icon {
  color: #06B6D4;
  display: flex;
  align-items: center;
}

.org-tagline-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #0A1C3B 0%, #1D4ED8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================================================================
   RESPONSIVE BREAKPOINTS
   =================================================================== */
@media (max-width: 991px) {
  .org-tree-connector {
    display: none !important;
  }
  .org-mobile-connector {
    display: block;
  }
  .org-card-founder {
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .org-leadership-section {
    padding: 70px 0 80px 0;
  }
  .org-section-header {
    margin-bottom: 36px;
  }
  .org-card-founder {
    padding: 26px 20px 22px 20px;
  }
  .org-card-cofounder {
    padding: 24px 18px 20px 18px;
  }
  .org-avatar-founder {
    width: 100px;
    height: 100px;
  }
  .org-avatar-cofounder {
    width: 86px;
    height: 86px;
  }
  .org-name {
    font-size: 1.22rem;
  }
  .org-card-founder .org-name {
    font-size: 1.3rem;
  }
  .org-bio {
    font-size: 0.84rem;
  }
  .org-tagline-container {
    margin-top: 40px;
  }
}

/* ===================================================================
   6. CORE TEAM SECTION (BASED ON REFERENCE DESIGN)
   Header -> IT Manager -> Tree Connector -> 7 Team Member Cards -> Tagline
   =================================================================== */
.core-team-section {
  position: relative;
  padding: 100px 0 110px 0;
  background: linear-gradient(180deg, #F8FAFD 0%, #EEF6FF 45%, #E6F0FD 75%, #FFFFFF 100%);
  border-bottom: 1px solid #E2E8F0;
  overflow: hidden;
}

/* Abstract luminous corner waves */
.core-corner-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.core-corner-tl {
  top: -80px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
}
.core-corner-tr {
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
}
.core-corner-bl {
  bottom: -60px;
  left: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}
.core-corner-br {
  bottom: -60px;
  right: -60px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Decorative dot matrices */
.core-dot-matrix {
  position: absolute;
  width: 72px;
  height: 52px;
  background-image: radial-gradient(#0066FF 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}
.core-dot-matrix-left {
  top: 90px;
  left: 40px;
}
.core-dot-matrix-right {
  top: 90px;
  right: 40px;
}

/* Section Header */
.core-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 38px;
}

.core-title-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px;
}

.core-title-line {
  display: inline-block;
  width: 50px;
  height: 2px;
  background: #0066FF;
  border-radius: 2px;
}

.core-main-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0052CC;
  letter-spacing: -0.02em;
  margin: 0;
}

.core-subtitle {
  font-size: 1.05rem;
  color: #334155;
  font-weight: 500;
  margin: 0;
}

/* IT Manager Capsule Card */
.core-manager-card-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.core-manager-card {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid #DCE6F5;
  border-radius: 60px;
  padding: 14px 34px 14px 16px;
  box-shadow: 0 12px 36px -6px rgba(0, 102, 255, 0.16), 0 4px 12px -2px rgba(15, 39, 86, 0.04);
  gap: 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
  position: relative;
}

.core-manager-card:hover {
  transform: translateY(-4px);
  border-color: #0066FF;
  box-shadow: 0 18px 42px -6px rgba(0, 102, 255, 0.24);
}

.core-manager-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3.5px solid #0066FF;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.18), 0 8px 18px rgba(0, 102, 255, 0.2);
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.core-manager-info {
  text-align: left;
}

.core-manager-badge {
  display: inline-block;
  background: #0066FF;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 9999px;
  margin-bottom: 8px;
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.25);
}

.core-manager-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.core-manager-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0066FF;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.core-manager-linkedin:hover {
  color: #0052CC;
  text-decoration: underline;
}

/* Organizational Tree Connector */
.core-tree-connector {
  position: relative;
  width: 100%;
  height: 54px;
  pointer-events: none;
  z-index: 1;
}

.core-stem-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 27px;
  background: #0066FF;
}

.core-crossbar {
  position: absolute;
  top: 27px;
  left: calc(100% / 14);
  right: calc(100% / 14);
  height: 2px;
  background: #0066FF;
}

.core-drop-stem {
  position: absolute;
  top: 27px;
  width: 2px;
  height: 27px;
  background: #0066FF;
  transform: translateX(-50%);
}

.core-drop-1 { left: calc(100% * 1 / 14); }
.core-drop-2 { left: calc(100% * 3 / 14); }
.core-drop-3 { left: calc(100% * 5 / 14); }
.core-drop-4 { left: calc(100% * 7 / 14); }
.core-drop-5 { left: calc(100% * 9 / 14); }
.core-drop-6 { left: calc(100% * 11 / 14); }
.core-drop-7 { left: calc(100% * 13 / 14); }

/* 7 Team Members Grid */
.core-team-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  position: relative;
  z-index: 2;
}

.core-member-card {
  background: #FFFFFF;
  border: 1.5px solid #DCE6F5;
  border-radius: 20px;
  padding: 20px 10px 18px 10px;
  text-align: center;
  box-shadow: 0 8px 24px -4px rgba(15, 39, 86, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.core-member-card:hover {
  transform: translateY(-6px);
  border-color: #0066FF;
  box-shadow: 0 16px 32px -6px rgba(0, 102, 255, 0.2);
}

.core-member-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 3px solid #0066FF;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15), 0 6px 14px rgba(0, 102, 255, 0.18);
  object-fit: cover;
  object-position: center 20%;
  margin-bottom: 10px;
  display: block;
}

.core-member-badge {
  display: inline-block;
  background: #0066FF;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 9999px;
  margin-bottom: 6px;
  white-space: nowrap;
}

.core-member-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

.core-member-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin: 0;
  line-height: 1.35;
}

/* Bottom Tagline */
.core-tagline-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 50px;
}

.core-tagline-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.core-tagline-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: #0066FF;
  border-radius: 2px;
}

.core-tagline-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0052CC;
}

/* Responsive Breakpoints */
@media (max-width: 1199px) {
  .core-team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .core-tree-connector {
    display: none;
  }
}

@media (max-width: 767px) {
  .core-team-section {
    padding: 70px 0 80px 0;
  }
  .core-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .core-manager-card {
    border-radius: 30px;
    padding: 16px;
    flex-direction: column;
    text-align: center;
  }
  .core-manager-info {
    text-align: center;
  }
  .core-dot-matrix {
    display: none;
  }
}

@media (max-width: 480px) {
  .core-team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}
