/* ==========================================================================
   Leadership Page Custom Styles
   Prefix: ldr-
   ========================================================================== */

/* Hero Banner Header */
.ldr-hero-header {
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  color: #ffffff;
  padding: 55px 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.ldr-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  color: #d8f3dc;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.ldr-hero-content h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.ldr-hero-content p {
  font-size: 1.05rem;
  color: #b7e4c7;
  max-width: 650px;
  margin: 0 auto;
}

/* Main Section Wrapper */
.ldr-main-section {
  padding: 45px 0 60px;
  background-color: #f8f9fa;
}

/* Data Switch Filter Buttons */
.ldr-tab-switch-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ldr-tab-btn {
  background-color: #ffffff;
  color: #1b4332;
  border: 2px solid #2d6a4f;
  padding: 12px 26px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ldr-tab-btn i {
  font-size: 1.1rem;
  color: #2d6a4f;
  transition: color 0.3s ease;
}

.ldr-tab-btn:hover {
  background-color: #d8f3dc;
  transform: translateY(-2px);
}

.ldr-tab-btn.active {
  background-color: #2d6a4f;
  color: #ffffff;
  border-color: #2d6a4f;
  box-shadow: 0 4px 15px rgba(45, 106, 79, 0.25);
}

.ldr-tab-btn.active i {
  color: #ffffff;
}

/* Grid Layout */
.ldr-grid-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 35px;
  align-items: start;
}

/* Dynamic Panels Switching */
.ldr-panel {
  display: none;
  animation: ldrFadeIn 0.4s ease-in-out forwards;
}

.ldr-panel.active {
  display: block;
}

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

/* Leader Profile Card */
.ldr-profile-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 25px;
  margin-bottom: 30px;
  border: 1px solid #e2e8f0;
}

.ldr-profile-img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.ldr-profile-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.ldr-role-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(27, 67, 50, 0.9);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 10px;
  text-align: center;
}

.ldr-profile-bio h2 {
  font-size: 1.6rem;
  color: #1b4332;
  margin-bottom: 6px;
  font-weight: 700;
}

.ldr-dates {
  display: inline-block;
  font-size: 0.85rem;
  color: #52b788;
  font-weight: 600;
  margin-bottom: 14px;
}

.ldr-profile-bio p {
  color: #4a5568;
  line-height: 1.65;
  font-size: 0.96rem;
  margin-bottom: 18px;
}

.ldr-key-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ldr-hl-item {
  background-color: #f1f8f5;
  border-left: 3px solid #2d6a4f;
  padding: 10px 12px;
  border-radius: 4px;
}

.ldr-hl-item strong {
  display: block;
  font-size: 0.88rem;
  color: #1b4332;
}

.ldr-hl-item span {
  font-size: 0.78rem;
  color: #718096;
}

/* Slider Section Styling */
.ldr-slider-wrapper {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 30px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.ldr-slider-title {
  font-size: 1.15rem;
  color: #1b4332;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ldr-slider-title i {
  color: #2d6a4f;
}

/* Slider Base Wrapper */
.ldr-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Slides Track Container */
.ldr-slides-container {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

/* Individual Slide Item */
.ldr-slide {
  box-sizing: border-box;
  padding: 0 8px; /* Images ke bich ka gap */
  flex-shrink: 0;
}

.ldr-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Navigation Buttons & Dots */
.ldr-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
}

.ldr-slider-btn.prev { left: 10px; }
.ldr-slider-btn.next { right: 10px; }

.ldr-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.ldr-dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.ldr-dot.active {
  background-color: #2d6a4f;
}

/* Detail Card */
.ldr-detail-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.ldr-detail-card h3 {
  font-size: 1.2rem;
  color: #1b4332;
  margin-bottom: 10px;
}

.ldr-detail-card p {
  color: #4a5568;
  line-height: 1.65;
  font-size: 0.95rem;
  margin: 10px 0;
}

/* Sidebar Styling */
.ldr-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.ldr-widget {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.ldr-ideology-widget h3 {
  font-size: 1.15rem;
  color: #1b4332;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ldr-ideology-widget h3 i {
  color: #2d6a4f;
}

.ldr-ideology-widget p {
  font-size: 0.92rem;
  color: #4a5568;
  line-height: 1.55;
  margin-bottom: 14px;
}

.ldr-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ldr-check-list li {
  font-size: 0.88rem;
  color: #2d3748;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ldr-check-list li i {
  color: #52b788;
}

.ldr-press-widget h3 {
  font-size: 1.15rem;
  color: #1b4332;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #d8f3dc;
}

.ldr-press-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.ldr-press-list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2e8f0;
}

.ldr-press-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.ldr-press-list a {
  text-decoration: none;
  color: #2d3748;
  display: block;
}

.ldr-press-list a:hover strong {
  color: #2d6a4f;
}

.ldr-press-list strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.ldr-press-date {
  font-size: 0.78rem;
  color: #718096;
}

.ldr-btn-sidebar {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  background: #2d6a4f;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.ldr-btn-sidebar:hover {
  background: #1b4332;
}

/* ==========================================
   Lightbox Gallery Popup Modal Styles
   ========================================== */
.ldr-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ldr-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.ldr-lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ldr-lightbox-img-wrapper {
  text-align: center;
  max-width: 1000px;
}

.ldr-lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.ldr-lightbox-caption {
  color: #ffffff;
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

/* Lightbox Navigation & Close Buttons */
.ldr-lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.ldr-lightbox-close:hover {
  color: #52b788;
}

.ldr-lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 10000;
}

.ldr-lightbox-btn:hover {
  background: #2d6a4f;
  border-color: #2d6a4f;
}

.ldr-lightbox-btn.prev {
  left: -60px;
}

.ldr-lightbox-btn.next {
  right: -60px;
}

.charan-quote-card {
    background: #55555514;
    margin: 15px 0;
}

.charan-quote-card .history-quote-icon{
    color: #1b4332;
}

.svg-wrapper{
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 10px;
}

.svg-wrapper svg{
  width: 20px;
  height: 20px;
  fill: #2d6a4f;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */

@media (max-width: 1100px) {

  .ldr-grid-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 25px;
  }

  .ldr-profile-card {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .ldr-profile-img-wrap img {
    height: 270px;
  }

  .ldr-profile-bio h2 {
    font-size: 1.45rem;
  }

  .ldr-profile-bio p {
    font-size: 0.92rem;
  }

  .ldr-tab-switch-wrapper {
    gap: 10px;
  }

  .ldr-tab-btn {
    padding: 11px 20px;
  }

}

@media (max-width: 991px) {

  /* Hero */
  .ldr-hero-header {
    padding: 48px 20px;
  }

  .ldr-hero-content h1 {
    font-size: 2.15rem;
  }

  .ldr-hero-content p {
    font-size: 1rem;
    max-width: 600px;
  }


  /* Main section */
  .ldr-main-section {
    padding: 40px 0 50px;
  }


  /* Main + sidebar */
  .ldr-grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }


  /* Profile */
  .ldr-profile-card {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
  }

  .ldr-profile-img-wrap img {
    height: 300px;
  }


  /* Sidebar */
  .ldr-sidebar-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .ldr-widget {
    width: 100%;
  }


  /* Slider */
  .ldr-slide {
    padding: 0 5px;
  }

  .ldr-slide img {
    height: 220px;
  }

}

@media (max-width: 768px) {

  /* Hero */
  .ldr-hero-header {
    padding: 42px 18px;
  }

  .ldr-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    letter-spacing: 0.7px;
  }

  .ldr-hero-content h1 {
    font-size: 1.95rem;
    line-height: 1.25;
  }

  .ldr-hero-content p {
    font-size: 0.95rem;
    line-height: 1.55;
  }


  /* Main section */
  .ldr-main-section {
    padding: 32px 0 45px;
  }


  /* Tabs */
  .ldr-tab-switch-wrapper {
    width: 100%;
    gap: 10px;
    margin-bottom: 28px;
  }

  .ldr-tab-btn {
    flex: 1 1 calc(33.333% - 10px);
    justify-content: center;
    padding: 11px 14px;
    font-size: 0.9rem;
    min-height: 46px;
  }

  .ldr-tab-btn i {
    font-size: 1rem;
  }


  /* Profile */
  .ldr-profile-card {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 20px;
    margin-bottom: 22px;
  }

  .ldr-profile-img-wrap {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .ldr-profile-img-wrap img {
    width: 100%;
    height: 360px;
  }

  .ldr-role-tag {
    font-size: 0.78rem;
    padding: 8px 10px;
  }

  .ldr-profile-bio h2 {
    font-size: 1.45rem;
  }

  .ldr-dates {
    font-size: 0.8rem;
  }

  .ldr-profile-bio p {
    font-size: 0.92rem;
    line-height: 1.65;
  }


  /* Highlights */
  .ldr-key-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ldr-hl-item {
    padding: 10px;
  }

  .ldr-hl-item strong {
    font-size: 0.82rem;
  }

  .ldr-hl-item span {
    font-size: 0.74rem;
    line-height: 1.4;
  }


  /* Slider */
  .ldr-slider-wrapper {
    padding: 18px;
    margin-bottom: 22px;
  }

  .ldr-slider-title {
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .ldr-slide img {
    height: 230px;
  }

  .ldr-slider-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ldr-slider-btn.prev {
    left: 8px;
  }

  .ldr-slider-btn.next {
    right: 8px;
  }


  /* Detail */
  .ldr-detail-card {
    padding: 18px;
  }

  .ldr-detail-card h3 {
    font-size: 1.1rem;
  }

  .ldr-detail-card p {
    font-size: 0.9rem;
    line-height: 1.65;
  }


  /* Sidebar */
  .ldr-sidebar-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ldr-widget {
    padding: 18px;
  }


  /* Lightbox */
  .ldr-lightbox-content {
    max-width: 94%;
    width: 94%;
  }

  .ldr-lightbox-img-wrapper {
    width: 100%;
  }

  .ldr-lightbox-img {
    max-width: 100%;
    max-height: 70vh;
  }

  .ldr-lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .ldr-lightbox-btn.prev {
    left: 5px;
  }

  .ldr-lightbox-btn.next {
    right: 5px;
  }

  .ldr-lightbox-close {
    top: -42px;
    right: 0;
  }

}

@media (max-width: 576px) {

  /* Hero */
  .ldr-hero-header {
    padding: 35px 15px;
  }

  .ldr-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
    margin-bottom: 10px;
  }

  .ldr-hero-content h1 {
    font-size: 1.65rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .ldr-hero-content p {
    font-size: 0.88rem;
    line-height: 1.55;
  }


  /* Main */
  .ldr-main-section {
    padding: 25px 0 35px;
  }


  /* Tabs become vertical */
  .ldr-tab-switch-wrapper {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
  }

  .ldr-tab-btn {
    width: 100%;
    flex: none;
    justify-content: center;
    padding: 11px 15px;
    font-size: 0.88rem;
  }


  /* Profile */
  .ldr-profile-card {
    padding: 15px;
    border-radius: 10px;
    gap: 17px;
  }

  .ldr-profile-img-wrap {
    max-width: 100%;
  }

  .ldr-profile-img-wrap img {
    height: 330px;
  }

  .ldr-role-tag {
    font-size: 0.72rem;
    padding: 7px 8px;
  }

  .ldr-profile-bio h2 {
    font-size: 1.3rem;
    line-height: 1.35;
  }

  .ldr-dates {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .ldr-profile-bio p {
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 15px;
  }


  /* Highlights single column */
  .ldr-key-highlights {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ldr-hl-item {
    padding: 9px 10px;
  }

  .ldr-hl-item strong {
    font-size: 0.8rem;
  }

  .ldr-hl-item span {
    font-size: 0.72rem;
  }


  /* Slider */
  .ldr-slider-wrapper {
    padding: 15px;
    border-radius: 10px;
  }

  .ldr-slider-title {
    font-size: 0.98rem;
    margin-bottom: 12px;
  }

  .ldr-slide {
    padding: 0;
  }

  .ldr-slide img {
    height: 210px;
    border-radius: 7px;
  }

  .ldr-slides-container {
    height: auto;
  }

  .ldr-slider-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .ldr-slider-btn.prev {
    left: 6px;
  }

  .ldr-slider-btn.next {
    right: 6px;
  }

  .ldr-slider-dots {
    margin-top: 12px;
    gap: 6px;
  }

  .ldr-dot {
    width: 8px;
    height: 8px;
  }


  /* Detail card */
  .ldr-detail-card {
    padding: 15px;
    border-radius: 10px;
  }

  .ldr-detail-card h3 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .ldr-detail-card p {
    font-size: 0.86rem;
    line-height: 1.65;
  }


  /* Sidebar */
  .ldr-sidebar-col {
    gap: 15px;
  }

  .ldr-widget {
    padding: 16px;
    border-radius: 10px;
  }

  .ldr-ideology-widget h3,
  .ldr-press-widget h3 {
    font-size: 1rem;
  }

  .ldr-ideology-widget p {
    font-size: 0.85rem;
  }

  .ldr-check-list li {
    font-size: 0.82rem;
    align-items: flex-start;
  }

  .ldr-press-list strong {
    font-size: 0.84rem;
  }

  .ldr-press-date {
    font-size: 0.72rem;
  }

  .ldr-btn-sidebar {
    font-size: 0.82rem;
    padding: 9px;
  }


  /* Lightbox */
  .ldr-lightbox-content {
    max-width: 96%;
    width: 96%;
  }

  .ldr-lightbox-img {
    max-height: 65vh;
    border-radius: 5px;
  }

  .ldr-lightbox-caption {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-top: 8px;
  }

  .ldr-lightbox-close {
    top: -38px;
    font-size: 1.8rem;
  }

  .ldr-lightbox-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

}

@media (max-width: 380px) {

  .ldr-hero-header {
    padding: 30px 12px;
  }

  .ldr-hero-content h1 {
    font-size: 1.45rem;
  }

  .ldr-hero-content p {
    font-size: 0.82rem;
  }

  .ldr-profile-card {
    padding: 12px;
  }

  .ldr-profile-img-wrap img {
    height: 290px;
  }

  .ldr-profile-bio h2 {
    font-size: 1.18rem;
  }

  .ldr-profile-bio p {
    font-size: 0.83rem;
  }

  .ldr-slider-wrapper {
    padding: 12px;
  }

  .ldr-slide img {
    height: 180px;
  }

  .ldr-slider-btn {
    width: 30px;
    height: 30px;
  }

  .ldr-detail-card {
    padding: 13px;
  }

  .ldr-detail-card h3 {
    font-size: 0.95rem;
  }

  .ldr-detail-card p {
    font-size: 0.82rem;
  }

}