:root {
  /* Brand Colors - Aligned with website */
  --leaders-primary: #004799;
  --leaders-primary-light: #0066cc;
  --leaders-secondary: #ffbf00;
  --leaders-secondary-light: #ffd633;

  /* Neutrals */
  --leaders-white: #ffffff;
  --leaders-black: #000000;
  --leaders-gray-50: #f8fafc;
  --leaders-gray-100: #f1f5f9;
  --leaders-gray-200: #e2e8f0;
  --leaders-gray-300: #cbd5e1;
  --leaders-gray-600: #475569;
  --leaders-gray-700: #334155;
  --leaders-gray-800: #1e293b;

  /* Apple-Style Shadows */
  --leaders-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --leaders-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --leaders-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --leaders-shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.1);
  --leaders-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --leaders-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --leaders-transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --leaders-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Our Leaders Section */
#our-leaders {
  background: var(--leaders-gray-50);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
}

/* Section Header - Apple Style */
#our-leaders .section-header {
  text-align: center;
  margin-bottom: 64px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

#our-leaders .header-label {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(0, 71, 153, 0.08) 0%, rgba(255, 191, 0, 0.08) 100%);
  border: 1.5px solid rgba(0, 71, 153, 0.2);
  border-radius: 100px;
  color: var(--leaders-primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: var(--leaders-shadow-sm);
}

#our-leaders .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--leaders-gray-800);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

#our-leaders .section-title .highlight {
  background: linear-gradient(135deg, var(--leaders-primary) 0%, var(--leaders-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Leader Card Container */
.leader-card {
  background: var(--leaders-white);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 48px;
  border: 1px solid var(--leaders-gray-200);
  box-shadow: var(--leaders-shadow-md);
  transition: all var(--leaders-transition-slow);
  opacity: 0;
  transform: translateY(30px);
  animation: cardFadeIn 0.8s ease forwards;
}

.leader-card:nth-child(odd) {
  animation-delay: 0.2s;
}

.leader-card:nth-child(even) {
  animation-delay: 0.4s;
}

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--leaders-shadow-xl);
  border-color: var(--leaders-gray-300);
}

/* Image Wrapper - Apple Style */
.leader-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--leaders-shadow-lg);
  border: 1px solid var(--leaders-gray-200);
}

.leader-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(0, 71, 153, 0.03) 0%,
    rgba(255, 191, 0, 0.03) 100%);
  pointer-events: none;
  z-index: 1;
}

.leader-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.leader-card:hover .leader-image-wrapper img {
  transform: scale(1.05);
}

/* Leader Content */
.leader-content {
  padding: 0;
}

.leader-name {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--leaders-gray-800);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Role Badge - Pill Style */
.leader-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--leaders-primary) 0%, var(--leaders-primary-light) 100%);
  color: white;
  border-radius: 100px;
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  box-shadow: var(--leaders-shadow-sm);
  transition: all var(--leaders-transition-base);
}

.leader-role i {
  font-size: 0.875rem;
}

.leader-role:hover {
  transform: translateY(-2px);
  box-shadow: var(--leaders-shadow-md);
}

/* Biography Text */
.leader-bio {
  font-size: 1rem;
  color: var(--leaders-gray-600);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* Scripture Blockquote - Apple Style */
.leader-scripture {
  position: relative;
  padding: 24px 28px;
  background: linear-gradient(135deg,
    rgba(0, 71, 153, 0.04) 0%,
    rgba(255, 191, 0, 0.04) 100%);
  border-left: 4px solid var(--leaders-primary);
  border-radius: 12px;
  margin: 28px 0;
  font-style: italic;
  color: var(--leaders-gray-700);
  font-size: 0.938rem;
  line-height: 1.7;
  box-shadow: var(--leaders-shadow-xs);
  transition: all var(--leaders-transition-base);
}

.leader-scripture:hover {
  box-shadow: var(--leaders-shadow-sm);
  transform: translateX(4px);
}

.leader-scripture::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: -12px;
  font-size: 4rem;
  color: var(--leaders-primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.scripture-text {
  position: relative;
  z-index: 1;
}

.scripture-reference {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 14px;
  background: var(--leaders-white);
  border: 1px solid var(--leaders-gray-200);
  border-radius: 100px;
  font-size: 0.813rem;
  font-weight: 600;
  font-style: normal;
  color: var(--leaders-primary);
  box-shadow: var(--leaders-shadow-xs);
}

.scripture-reference i {
  font-size: 0.75rem;
}

/* Joint Ministry Section */
.joint-ministry-text {
  margin-top: 40px;
  padding: 28px;
  background: var(--leaders-white);
  border: 1px solid var(--leaders-gray-200);
  border-radius: 16px;
  box-shadow: var(--leaders-shadow-sm);
  position: relative;
  overflow: hidden;
}

.joint-ministry-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--leaders-primary) 0%,
    var(--leaders-secondary) 100%);
}

.joint-ministry-text p {
  font-size: 1rem;
  color: var(--leaders-gray-600);
  line-height: 1.75;
  margin-bottom: 0;
}

/* Shalom Closing */
.shalom-closing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 28px;
  background: linear-gradient(135deg,
    rgba(255, 191, 0, 0.12) 0%,
    rgba(255, 191, 0, 0.06) 100%);
  border: 2px solid var(--leaders-secondary);
  border-radius: 100px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--leaders-gray-800);
  letter-spacing: 0.5px;
  box-shadow: var(--leaders-shadow-sm);
  transition: all var(--leaders-transition-base);
}

.shalom-closing i {
  color: var(--leaders-secondary);
  font-size: 1rem;
}

.shalom-closing:hover {
  transform: translateY(-2px);
  box-shadow: var(--leaders-shadow-md);
}

/* Stats/Info Pills */
.leader-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--leaders-gray-50);
  border: 1px solid var(--leaders-gray-200);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--leaders-gray-700);
  font-weight: 500;
  transition: all var(--leaders-transition-fast);
}

.stat-pill:hover {
  background: var(--leaders-gray-100);
  border-color: var(--leaders-gray-300);
}

.stat-pill i {
  color: var(--leaders-secondary);
  font-size: 0.875rem;
}

/* Responsive Design - Apple Approach */
@media (max-width: 1024px) {
  .leader-card {
    padding: 32px;
  }

  .leader-name {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }
}

@media (max-width: 992px) {
  #our-leaders {
    padding: 60px 0;
  }

  #our-leaders .section-header {
    margin-bottom: 48px;
  }

  .leader-card {
    padding: 28px;
    margin-bottom: 36px;
  }

  .leader-content {
    text-align: center;
    margin-top: 32px;
  }

  .leader-image-wrapper {
    margin: 0 auto;
    max-width: 400px;
  }

  .leader-role,
  .scripture-reference,
  .shalom-closing {
    margin-left: auto;
    margin-right: auto;
  }

  .leader-stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #our-leaders {
    padding: 48px 0;
  }

  #our-leaders .section-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  .leader-card {
    padding: 24px;
    margin-bottom: 32px;
  }

  .leader-name {
    font-size: 1.5rem;
  }

  .leader-scripture {
    padding: 20px 24px;
  }

  .joint-ministry-text {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  #our-leaders {
    padding: 40px 0;
  }

  .leader-card {
    padding: 20px;
    border-radius: 20px;
  }

  .leader-image-wrapper {
    border-radius: 16px;
  }

  .leader-role {
    font-size: 0.75rem;
    padding: 8px 16px;
  }

  .leader-bio {
    font-size: 0.938rem;
  }

  .leader-scripture {
    padding: 18px 20px;
    font-size: 0.875rem;
  }

  .scripture-reference {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  .joint-ministry-text {
    padding: 20px;
  }

  .shalom-closing {
    font-size: 1rem;
    padding: 12px 24px;
  }

  .stat-pill {
    font-size: 0.813rem;
    padding: 8px 14px;
  }
}

/* Smooth Scroll Behavior */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
