/* ===== LEADERSHIP HERO ===== */
.leadership-hero {
  position: relative;
  height: auto;
  width: 100%;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: none;
}

.hero-overlay {
  display: none;
}

.leadership-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E8402A;
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.leadership-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 20px;
}

.leadership-hero p {
  font-size: 17px;
  line-height: 1.8;
  color: #000000;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== PRINCIPALS SECTION ===== */
.principals-section {
  padding: 70px 0 40px;
  background: #FFFFFF;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: #000000;
  opacity: 0.7;
}

/* PRINCIPALS GRID */
.principals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* PRINCIPAL CARD */
.principal-card {
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid #F7F6EC;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center;
}

.principal-card:hover {
  transform: translateY(-12px);
  border-color: #E8402A;
  box-shadow: 0 25px 50px rgba(232,64,42,0.2);
}

/* FEATURED CARD */
.principal-card.featured {
  grid-column: span 1;
  background: #FAEBD7;
  border-color: #E8402A;
  box-shadow: 0 15px 40px rgba(232,64,42,0.15);
}

.principal-card.featured:hover {
  box-shadow: 0 30px 60px rgba(232,64,42,0.25);
}

/* PRINCIPAL IMAGE */
.principal-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #F7F6EC;
}

.principal-card.featured .principal-image {
  height: 300px;
}

.principal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.principal-card:hover .principal-image img {
  transform: scale(1.08);
}

/* BADGE FOR FEATURED */
.principal-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: #E8402A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

/* PRINCIPAL INFO */
.principal-info {
  padding: 25px 20px 30px;
}

.principal-tag {
  display: inline-block;
  background: #E8402A;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.principal-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
  line-height: 1.3;
}

.principal-card.featured .principal-info h3 {
  font-size: 22px;
}

.principal-role {
  font-size: 14px;
  font-weight: 600;
  color: #E8402A;
  margin-bottom: 8px;
}

.principal-campus {
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
}

.principal-campus i {
  color: #E8402A;
  font-size: 12px;
}

.principal-qualifications {
  font-size: 12px;
  color: #555;
  margin-bottom: 8px;
  font-style: italic;
}

/* LEADER CARDS (kept for backwards compatibility) */
.leader-card {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #F7F6EC;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px;
}

.leader-card:hover {
  transform: translateY(-8px);
  border-color: #E8402A;
  box-shadow: 0 15px 40px rgba(232,64,42,0.15);
}

.leader-image {
  position: relative;
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 15px;
  overflow: hidden;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.leader-card:hover .leader-image img {
  transform: scale(1.1);
}

.leader-overlay {
  position: absolute;
  inset: 0;
  background: rgba(232,64,42,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.leader-card:hover .leader-overlay {
  opacity: 0;
}

.leader-icon {
  display: none;
}

.leader-content {
  flex: 1;
}

.leader-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.leader-designation {
  font-size: 15px;
  font-weight: 600;
  color: #E8402A;
  margin-bottom: 5px;
}

.leader-campus {
  font-size: 14px;
  color: #000000;
  opacity: 0.7;
  margin: 0;
}

/* ===== MANAGEMENT SECTION ===== */
.management-section {
  padding: 70px 0 40px;
  background: #F7F6EC;
}

.management-card {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #F7F6EC;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  text-align: center;
}

.management-card:hover {
  transform: translateY(-10px);
  border-color: #E8402A;
  box-shadow: 0 15px 40px rgba(232,64,42,0.15);
}

.management-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.management-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%; 
  transition: transform 0.4s ease;
}

.management-card:hover .management-image img {
  transform: scale(1.1);
}

.management-overlay {
  position: absolute;
  inset: 0;
  background: rgba(232,64,42,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.management-card:hover .management-overlay {
  opacity: 0;
}

.management-icon {
  display: none;
}

.management-content {
  padding: 30px 25px;
}

.management-content h5 {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.management-role {
  font-size: 15px;
  font-weight: 600;
  color: #E8402A;
  margin: 0;
  margin-bottom: 6px;
}

.management-desc {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ===== CTA SECTION ===== */
.leadership-cta {
  padding: 80px 0;
  background: #E8402A;
  color: #FFFFFF;
}

.leadership-cta h2 {
  font-size: 38px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.leadership-cta p {
  font-size: 17px;
  color: #FFFFFF;
  margin-bottom: 35px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary-cta {
  background: #FFFFFF;
  color: #E8402A;
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #FFFFFF;
}

.btn-primary-cta:hover {
  background: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.btn-outline-cta {
  background: transparent;
  color: #FFFFFF;
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #FFFFFF;
  transition: all 0.3s ease;
}

.btn-outline-cta:hover {
  background: #FFFFFF;
  color: #E8402A;
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .principals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .leadership-hero {
    height: auto;
    padding: 0;
  }
  
  .leadership-hero h1 {
    font-size: 36px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .principals-section,
  .management-section {
    padding: 70px 0;
  }
  
  .principals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leader-card {
    flex-direction: column;
    text-align: center;
  }

  .leader-image {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .leadership-hero {
    height: auto;
    padding: 0;
  }
  
  .leadership-hero h1 {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .leadership-hero p {
    font-size: 14px;
  }
  
  .hero-badge {
    font-size: 11px;
    padding: 6px 14px;
  }
  
  .section-header h2 {
    font-size: 26px;
  }
  
  .principals-section,
  .management-section {
    padding: 50px 0;
  }
  
  .principals-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .principal-image {
    height: 260px;
  }
  
  .principal-card.featured .principal-image {
    height: 280px;
  }
  
  .principal-info h3 {
    font-size: 18px;
  }
  
  .principal-card.featured .principal-info h3 {
    font-size: 20px;
  }
  
  .leader-content h4 {
    font-size: 18px;
  }
  
  .management-content h5 {
    font-size: 17px;
  }
}

@media (max-width: 576px) {
  .leadership-hero h1 {
    font-size: 24px;
  }

  .leadership-hero p {
    font-size: 13px;
  }

  .principals-section,
  .management-section {
    padding: 40px 0;
  }

  .leadership-cta h2 {
    font-size: 24px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary-cta,
  .btn-outline-cta {
    width: auto;
    max-width: 200px;
    padding: 12px 30px;
    font-size: 14px;
  }
}
