/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-up:nth-child(1) {
  animation-delay: 0.1s;
  opacity: 0;
}

.animate-slide-up:nth-child(2) {
  animation-delay: 0.2s;
  opacity: 0;
}

.animate-slide-up:nth-child(3) {
  animation-delay: 0.3s;
  opacity: 0;
}

.animate-zoom-in {
  animation: zoomIn 0.6s ease-out forwards;
}

.bod-director-card:nth-child(1) {
  animation-delay: 0.1s;
  opacity: 0;
}

.bod-director-card:nth-child(2) {
  animation-delay: 0.2s;
  opacity: 0;
}

.bod-director-card:nth-child(3) {
  animation-delay: 0.3s;
  opacity: 0;
}

.bod-director-card:nth-child(4) {
  animation-delay: 0.4s;
  opacity: 0;
}

.bod-director-card:nth-child(5) {
  animation-delay: 0.5s;
  opacity: 0;
}

.bod-director-card:nth-child(6) {
  animation-delay: 0.6s;
  opacity: 0;
}

/* ===== HERO SECTION ===== */
.bod-hero {
  position: relative;
  background: linear-gradient(135deg, #0d214f 0%, #0067da 100%);
  padding: 120px 0 150px;
  overflow: hidden;
  text-align: center;
}

.bod-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../assets/images/directors/directors.png') center/cover no-repeat;
  opacity: 0.15;
  z-index: 1;
}

.bod-bg-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.bod-bg-shape.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.bod-bg-shape.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: 5%;
  animation: float 8s ease-in-out infinite;
}

.bod-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.bod-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.bod-hero-content h1 {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 58px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin: 3px 0 25px;
}

.bod-hero-content p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto;
}

.bod-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
}

.bod-wave svg {
  display: block;
  width: 100%;
  height: 120px;
}

/* ===== INTRO SECTION ===== */
.bod-intro {
  padding: 80px 0;
  background: #fff;
}

.bod-intro-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.bod-section-badge {
  display: inline-block;
  background: linear-gradient(135deg, #29b9ed, #2563eb);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

.bod-intro-content h2 {
  font-size: 40px;
  color: #0f172a;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.15;
}

.bod-intro-content p {
  font-size: 18px;
  color: #475569;
  line-height: 1.8;
}

/* ===== DIRECTORS SECTION ===== */
.bod-directors {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.bod-directors-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.bod-directors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

/* ===== DIRECTOR CARD ===== */
.bod-director-card {
  position: relative;
  cursor: pointer;
}

.bod-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.bod-card-front {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  height: 100%;
}

.bod-director-card:hover .bod-card-front {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 103, 218, 0.2);
  border-color: #0067da;
}

.bod-director-image {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.bod-director-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bod-director-card:hover .bod-director-image img {
  transform: scale(1.08);
}

.bod-director-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 103, 218, 0.4);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

.bod-director-card:hover .bod-director-image::after {
  opacity: 1;
}

.bod-director-card:hover .bod-director-image img {
  transform: scale(1.1);
  filter: saturate(1.2);
}



.bod-director-info {
  padding: 30px;
}

.bod-director-info h3 {
  font-size: 24px;
  color: #0f172a;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.bod-role {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bod-role.chairman {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.bod-role.executive {
  background: linear-gradient(135deg, #0067da, #0d214f);
  color: #fff;
}

.bod-role.independent {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}

.bod-role.non-executive {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
}

.bod-snippet {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.bod-view-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #0067da, #0d214f);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Poppins', Arial, sans-serif;
}

.bod-view-btn:hover {
  background: linear-gradient(135deg, #0052b0, #0a1a3a);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 103, 218, 0.3);
}

.bod-view-btn i {
  transition: transform 0.3s ease;
}

.bod-view-btn:hover i {
  transform: translateX(5px);
}

/* ===== MODAL ===== */
.bod-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.bod-modal.active {
  opacity: 1;
  visibility: visible;
}

.bod-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
}

.bod-modal-content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
  animation: slideInUp 0.4s ease-out;
  z-index: 1;
}

.bod-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bod-modal-close:hover {
  background: #0067da;
  color: #fff;
  transform: rotate(90deg);
}

.bod-modal-body {
  padding: 50px;
}

.bod-modal-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #e5e7eb;
}

.bod-modal-image {
  width: 150px;
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 103, 218, 0.2);
}

.bod-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bod-modal-title h2 {
  font-size: 32px;
  color: #0f172a;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.bod-modal-role {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bod-modal-section {
  margin-bottom: 35px;
}

.bod-modal-section h3 {
  font-size: 20px;
  color: #0f172a;
  margin-bottom: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bod-modal-section h3 i {
  color: #0067da;
  font-size: 22px;
}

.bod-modal-section p {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  margin: 0;
}

.bod-expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bod-skill-tag {
  display: inline-block;
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  color: #0067da;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #7dd3fc;
}

.bod-achievements-list,
.bod-committees-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bod-achievements-list li,
.bod-committees-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

.bod-achievements-list li:last-child,
.bod-committees-list li:last-child {
  border-bottom: none;
}

.bod-achievements-list i {
  color: #10b981;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.bod-committees-list i {
  color: #0067da;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ===== SCROLLBAR STYLING ===== */
.bod-modal-content::-webkit-scrollbar {
  width: 8px;
}

.bod-modal-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.bod-modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #0067da, #0d214f);
  border-radius: 10px;
}

.bod-modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #0052b0, #0a1a3a);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
  .bod-hero-content h1 {
    font-size: 42px;
  }

  .bod-directors-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .bod-modal-body {
    padding: 40px 30px;
  }

  .bod-modal-header {
    flex-direction: column;
    text-align: center;
  }

  .bod-modal-image {
    width: 120px;
    height: 120px;
  }

  .bod-modal-title h2 {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .bod-hero-content h1 {
    font-size: 36px;
  }

  .bod-hero-content p {
    font-size: 16px;
  }

  .bod-directors-grid {
    grid-template-columns: 1fr;
  }

  .bod-director-image {
    height: 300px;
  }

  .bod-modal-body {
    padding: 30px 20px;
  }

  .bod-modal-title h2 {
    font-size: 24px;
  }

  .bod-modal-section h3 {
    font-size: 18px;
  }

  .bod-expertise-tags {
    gap: 8px;
  }

  .bod-skill-tag {
    font-size: 12px;
    padding: 8px 16px;
  }
}