/* --- Base Layout & Animation Blocks --- */
.custom-jpg-hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #dee2e6;
  padding: 25px 10%;
  opacity: 0;
  transform: translateY(-20px);
  animation: fixedFadeInDown 0.8s ease-out forwards;
}

.careers-section-wrapper { 
  padding: 60px 0; 
  background-color: #ffffff; 
}

.careers-banner {
  background: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  opacity: 0;
  transform: translateY(-20px);
  animation: fixedFadeInDown 0.8s ease-out forwards;
}

/* --- Sidebar Navigation Styling --- */
.sidebar-menu-card {
  border: 1px solid #e3e6ea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border-radius: 4px;
  overflow: hidden;
  background-color: #ffffff;
}

.sidebar-static-header {
  background-color: #003893; 
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 16px 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #002d76;
}

.sidebar-tab-trigger {
  background-color: #ffffff;
  color: #444444;
  font-size: 15px;
  font-weight: 500;
  padding: 16px 20px;
  border: none;
  border-bottom: 1px solid #efefef;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.sidebar-tab-trigger:last-child {
  border-bottom: none;
}

.sidebar-tab-trigger span,
.sidebar-tab-trigger .tab-arrow {
  color: #444444;
  transition: color 0.25s ease, transform 0.25s ease;
}

.sidebar-tab-trigger .tab-arrow {
  color: #cccccc;
}

.sidebar-tab-trigger:hover {
  background-color: #f8f9fa;
  padding-left: 24px;
}

.sidebar-tab-trigger:hover span,
.sidebar-tab-trigger:hover .tab-arrow {
  color: #EE1D23 !important;
}

.sidebar-tab-trigger:hover .tab-arrow {
  transform: translateX(3px);
}

.sidebar-tab-trigger.active-sidebar-tab {
  background-color: #003893 !important;
}

.sidebar-tab-trigger.active-sidebar-tab span,
.sidebar-tab-trigger.active-sidebar-tab .tab-arrow {
  color: #ffffff !important;
  font-weight: 600;
}

/* --- Integrated Content Layouts --- */
.animated-intro-content {
  opacity: 0;
  transform: translateY(20px);
  animation: fixedFadeInUp 0.6s ease-out forwards;
}

/* Team & BOD Profile Grid Cards */
.team-grid-container { 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
}

.team-member-card {
  text-align: center; 
  background: #ffffff; 
  padding: 20px; 
  border-radius: 8px;
  border: 1px solid #e3e6ea;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
  opacity: 0; 
  transform: translateY(30px);
  animation: fixedFadeInUp 0.6s ease-out forwards;
  height: 100%;
}

.team-member-card:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 10px 20px rgba(0,0,0,0.06); 
}

/* --- Avatar Frame Alignment --- */
.avatar-frame {
  width: 140px; 
  height: 140px; 
  border-radius: 50%; 
  overflow: hidden;
  margin: 0 auto 15px auto; 
  border: 4px solid #ffffff; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #f0f2f5; 
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.avatar-frame img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: center top; 
  border-radius: 50%;
  display: block;
}

/* Specific image adjustments */
.avatar-frame img.bishnu {
  object-position: center 20%;
}

.avatar-frame img.tshering,
.avatar-frame img.srijana {
  transform: scale(1.18);
}

.member-name { 
  font-size: 17px; 
  font-weight: 700; 
  color: #0c1b40; 
  margin-bottom: 4px; 
}

.member-role { 
  font-size: 14px; 
  color: #EE1D23; 
  font-weight: 500; 
  margin-bottom: 2px; 
}

.member-dept { 
  font-size: 13.5px; 
  color: #6c757d; 
}

/* Animation Delays */
.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.15s; }
.delay-3 { animation-delay: 0.25s; }
.delay-4 { animation-delay: 0.35s; }

@keyframes fixedFadeInDown { to { opacity: 1; transform: translateY(0); } }
@keyframes fixedFadeInUp { to { opacity: 1; transform: translateY(0); } }

/* --- Clickable Card & Bio Modal Styling --- */
.clickable-card {
  cursor: pointer;
}

.clickable-card:hover .member-name {
  color: #EE1D23;
  transition: color 0.2s ease;
}

/* Modal Frame Styling */
.modal-avatar-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  background-color: #f0f2f5;
}

.modal-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* --- Custom Dark/Colored Modal Header --- */
.modal-header-banner {
  /* Option A: Corporate Blue Gradient */
  background: linear-gradient(135deg, #003893 0%, #0c1b40 100%);
  
  /* Option B: Plain Navy Blue (uncomment below if you want solid color) */
  /* background-color: #003893; */
}

/* Ensure avatar frame stands out cleanly against dark background */
.modal-avatar-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background-color: #f0f2f5;
}

.modal-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}