/* Leaders Profile shared styles */
:root {
  --brand: #144835;
  --accent: #a2c144;
  --surface: #ffffff;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
  --border: 1px solid rgba(20, 72, 53, 0.10);
}

.leader-page {
  /* Match about page styling */
  padding: 120px 0 60px;
  width: 100%;
  max-width: none;
  margin: 0;
  margin-top: 90px;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  min-height: 100vh;
}

.leader-page .about-container {
  background: transparent;
  padding: 0;
}

@media (max-width: 1024px) {
  .leader-page { 
    padding: 96px 0 48px;
    margin-top: 80px;
  }
}

@media (max-width: 640px) {
  .leader-page { 
    padding: 80px 0 40px;
    margin-top: 60px;
  }
}

/* Removed leader-back button for portfolio style */

.leader-card {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  gap: 24px;
  align-items: start;
  background: var(--surface);
  border: var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin: 0 auto 20px; /* center and spacing */
  max-width: 1200px; /* match footer container width */
}

.leader-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.leader-name {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--brand);
  margin: 0 0 6px 0;
  letter-spacing: 0.3px;
}

.leader-role {
  display: inline-block;
  background: linear-gradient(0deg, #eaf3ef 0%, #f4f9f6 100%);
  color: var(--brand);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: clamp(0.82rem, 1vw, 1rem);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(162, 193, 68, 0.18);
  margin-bottom: 12px;
}

.leader-contact {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  color: var(--brand);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.leader-contact a { color: var(--brand); text-decoration: none; }
.leader-contact a:hover { text-decoration: underline; }
.leader-contact i { margin-right: 8px; color: var(--brand); }

.leader-bio {
  margin-top: 6px;
}
.leader-bio p {
  color: #444;
  line-height: 1.6;
  margin: 0;
}

/* Info section with cards (shared across all leader pages) */
.leader-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto; /* center to match leader-card */
}

.info-card {
  position: relative;
  background: var(--surface);
  border-radius: 14px;
  padding: 22px 22px 22px 56px; /* room for icon */
  box-shadow: var(--shadow);
  border-left: 6px solid var(--accent);
}
.info-card::before {
  content: "\f05a"; /* info-circle */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--brand);
  position: absolute;
  left: 20px;
  top: 22px;
  font-size: 18px;
}

.info-card p {
  margin: 0;
  color: #2f2f2f;
  line-height: 1.7;
}

@media (min-width: 960px) {
  .leader-info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .leader-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px;
    gap: 18px;
    max-width: 700px;
  }
  .leader-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }
  .leader-name { font-size: clamp(1.3rem, 4.8vw, 1.6rem); }
  .leader-role { margin: 8px auto 12px; font-size: clamp(0.78rem, 3.5vw, 0.92rem); }
  .leader-info { gap: 16px; }
  .info-card { padding: 16px; }
}

/* Tablet tweaks */
@media (max-width: 1024px) and (min-width: 769px) {
  .leader-card {
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 22px;
    max-width: 1000px;
  }
  .leader-photo { width: 200px; height: 200px; }
  .leader-name { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
  .leader-role { font-size: clamp(0.82rem, 1.2vw, 1rem); }
}

/* Small phones */
@media (max-width: 480px) {
  .leader-card { padding: 16px; gap: 14px; max-width: 95%; }
  .leader-photo { width: 160px; height: 160px; }
  .leader-name { font-size: clamp(1.22rem, 5.2vw, 1.5rem); }
  .leader-role { font-size: clamp(0.75rem, 3.8vw, 0.9rem); padding: 5px 10px; }
  .info-card { padding: 14px; }
}

/* Enhanced Leader Hero Section */
.leader-hero {
  max-width: 1200px;
  margin: 0 auto 40px;
  background: linear-gradient(135deg, var(--surface) 0%, #f0f7f3 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: var(--border);
}

.leader-hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.leader-photo-wrapper {
  position: relative;
  flex-shrink: 0;
}

.leader-photo-wrapper .leader-photo {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.leader-photo-wrapper:hover .leader-photo {
  transform: scale(1.05);
}

.photo-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--brand) 0%, #1a5a3f 100%);
  color: var(--accent);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 20px rgba(20, 72, 53, 0.3);
  border: 3px solid var(--surface);
}

.leader-header {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.leader-header .leader-name {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, #1a5a3f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.leader-header .leader-role {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  padding: 10px 20px;
  margin-bottom: 16px;
}

.leader-tagline {
  color: #666;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  font-style: italic;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

.leader-social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #1a5a3f 100%);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(20, 72, 53, 0.2);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(20, 72, 53, 0.3);
  background: linear-gradient(135deg, var(--accent) 0%, #b8d45a 100%);
  color: var(--brand);
}

/* Achievements Section */
.achievements-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.achievement-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  border-top: 4px solid var(--accent);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent) 0%, #b8d45a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 24px;
  flex-shrink: 0;
}

.achievement-content {
  flex: 1;
}

.achievement-number {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.achievement-label {
  font-size: clamp(0.85rem, 1vw, 1rem);
  color: #666;
  margin: 0;
  font-weight: 500;
}

/* Leader Content Section */
.leader-content {
  max-width: 1200px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.content-section {
  width: 100%;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
}

.section-header i {
  font-size: 24px;
  color: var(--brand);
}

.section-header h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: var(--brand);
  margin: 0;
  font-weight: 700;
}

.content-section .info-card {
  padding: 28px 28px 28px 64px;
  margin-top: 0;
}

.content-section .info-card::before {
  left: 24px;
  top: 28px;
  font-size: 20px;
}

/* Philosophy Section */
.philosophy-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.philosophy-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: var(--border);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.philosophy-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #eaf3ef 0%, #f4f9f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 32px;
  border: 3px solid var(--accent);
}

.philosophy-card h3 {
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  color: var(--brand);
  margin: 0 0 12px 0;
  font-weight: 700;
}

.philosophy-card p {
  color: #555;
  line-height: 1.7;
  margin: 0;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
}

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
  .leader-hero {
    padding: 32px;
  }
  
  .leader-hero-content {
    gap: 32px;
  }
  
  .leader-photo-wrapper .leader-photo {
    width: 240px;
    height: 240px;
  }
  
  .achievements-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .philosophy-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .leader-hero {
    padding: 24px;
    margin-bottom: 32px;
  }
  
  .leader-hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .leader-photo-wrapper .leader-photo {
    width: 200px;
    height: 200px;
  }
  
  .photo-badge {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 15px;
    right: 15px;
  }
  
  .leader-header {
    min-width: 100%;
  }
  
  .achievements-section {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
  
  .achievement-card {
    padding: 20px;
  }
  
  .leader-content {
    gap: 24px;
    margin-bottom: 40px;
  }
  
  .content-section .info-card {
    padding: 20px 20px 20px 56px;
  }
  
  .content-section .info-card::before {
    left: 18px;
    top: 20px;
  }
  
  .philosophy-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .philosophy-card {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .leader-hero {
    padding: 20px;
  }
  
  .leader-photo-wrapper .leader-photo {
    width: 180px;
    height: 180px;
  }
  
  .achievement-card {
    flex-direction: column;
    text-align: center;
    padding: 18px;
  }
  
  .achievement-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .content-section .info-card {
    padding: 16px;
  }
  
  .content-section .info-card::before {
    display: none;
  }
  
  .leader-social-links {
    gap: 12px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* Professional Journey Timeline */
.journey-section {
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 24px;
}

.section-header-center {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-header-center i {
  font-size: 32px;
  color: var(--brand);
  margin-bottom: 8px;
}

.section-header-center h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--brand);
  margin: 0;
  font-weight: 700;
  position: relative;
  padding-bottom: 16px;
}

.section-header-center h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
}

.journey-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 0;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--brand) 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 20px;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 4px solid var(--accent);
  box-shadow: 0 4px 12px rgba(20, 72, 53, 0.2);
  z-index: 2;
}

.timeline-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.timeline-content {
  background: var(--surface);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--shadow);
  border: var(--border);
  border-left: 5px solid var(--accent);
  transition: all 0.3s ease;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--brand) 100%);
  border-radius: 16px 0 0 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.timeline-content:hover::before {
  opacity: 1;
}

.timeline-content h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--brand);
  margin: 0 0 8px 0;
  font-weight: 700;
}

.timeline-org {
  color: var(--accent);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
}

.timeline-desc {
  color: #555;
  line-height: 1.7;
  margin: 0;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
}

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

@media (max-width: 768px) {
  .journey-section {
    padding: 0 16px;
    margin-bottom: 40px;
  }
  
  .section-header-center {
    margin-bottom: 32px;
  }
  
  .journey-timeline::before {
    left: 15px;
  }
  
  .timeline-item {
    padding-left: 60px;
    margin-bottom: 32px;
  }
  
  .timeline-marker {
    left: 7px;
    width: 16px;
    height: 16px;
    border-width: 3px;
  }
  
  .timeline-marker::after {
    width: 6px;
    height: 6px;
  }
  
  .timeline-content {
    padding: 20px 24px;
  }
  
  .timeline-content:hover {
    transform: translateX(4px);
  }
}

@media (max-width: 480px) {
  .journey-timeline::before {
    left: 12px;
  }
  
  .timeline-item {
    padding-left: 50px;
  }
  
  .timeline-content {
    padding: 18px 20px;
  }
  
  .timeline-content h3 {
    font-size: 1.2rem;
  }
}