/* ==========================================================================
   OUR DIRECTORS SECTION (our-dir-team-v2.css)
   ========================================================================== */

/* ── Section Wrapper ── */
.directors-section {
  padding: 1.5rem 0 2rem 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  background: none;
}

.directors-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../image/our-team-image/OUR DIRECTORS-bg.png') no-repeat center center;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
  animation: bgZoomInOut 14s ease-in-out infinite alternate;
  will-change: transform;
}

.directors-section > * {
  position: relative;
  z-index: 1;
}

@keyframes bgZoomInOut {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

/* ── Section Header ── */
.directors-header {
  text-align: center;
  margin-bottom: 1rem;
}

.directors-subtitle-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.8rem;
}

.directors-main-title {
  font-family: var(--font-primary), sans-serif;
  font-size: 2.5rem; /* Shrunk from 2.6rem */
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 0.8rem 0;
  letter-spacing: -0.02em;
}

.directors-main-title .dir-accent {
  color: #2563eb;
}

.directors-desc {
  font-size: 0.95rem;
  color: #0f172a;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 480px;
}

.directors-header-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 2px;
  margin: 0.5rem auto 0 auto;
}

/* ── Cards Grid ── */
.directors-grid {
  display: flex;
  gap: 1.8rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

/* ── Single Director Card Wrapper ── */
.dir-card-wrap {
  position: relative;
  flex: 1 1 250px;
  max-width: 290px; /* Shrunk slightly for better compactness */
  display: flex;
}

/* ── Main Card ── */
.dir-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1.5px solid rgba(0, 46, 132, 0.08); /* Faint gray-blue default border */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 46, 132, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Hover Effects: Transform into Featured Style (solid blue border + solid blue button) */
.dir-card-wrap:hover .dir-card {
  transform: translateY(-6px); /* Reduced lift height */
  box-shadow: 0 16px 40px rgba(0, 46, 132, 0.1);
  border-color: #2563eb; /* Prominent bright blue border on hover */
}

.dir-card-wrap:hover .dir-btn {
  background-color: #2563eb;
  color: #ffffff;
}

.dir-card-wrap:hover .dir-btn svg {
  transform: translateX(4px);
}

/* ── Asymmetrical Corner & Background Decorations ── */

/* 1. Gurdeep Cheema (Card 1) Corner Ribbon & Dots */
.dir-corner-ribbon-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  background-color: #2563eb;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 4;
}

.dir-corner-ribbon-dots::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  background-image: radial-gradient(circle, #ffffff 1.2px, transparent 1.2px);
  background-size: 5px 5px;
}

/* 2. Yogesh Kant Tiwari (Card 2) Corner Ribbon & Grey Triangles */
.dir-corner-ribbon-li {
  position: absolute;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  background-color: #2563eb;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 8px;
  padding-right: 8px;
  opacity: 0; /* Hidden by default */
  transform: translate(8px, -8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dir-card-wrap:hover .dir-corner-ribbon-li {
  opacity: 1; /* Slide and fade in on card hover */
  transform: translate(0, 0);
}

.dir-corner-ribbon-li svg {
  width: 15px;
  height: 15px;
  color: #ffffff;
}

.dir-corner-triangles-grey {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 3;
}

/* 3. Raghvendra Singh (Card 3) Simple Dot Grid */
.dir-card-corner-dots {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
  background-image: radial-gradient(circle, rgba(37, 99, 235, 0.3) 1.5px, transparent 1.5px);
  background-size: 8px 8px;
  z-index: 3;
  opacity: 0.85;
}

/* ── Bottom Corner Decorative Shapes ── */
.dir-bottom-dots {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background-image: radial-gradient(circle, rgba(37, 99, 235, 0.25) 1.5px, transparent 1.5px);
  background-size: 8px 8px;
  z-index: 1;
  pointer-events: none;
}

.dir-bottom-lines {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65px;
  height: 65px;
  background: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(37, 99, 235, 0.08) 5px, rgba(37, 99, 235, 0.08) 7px);
  z-index: 1;
  border-bottom-right-radius: 20px;
  pointer-events: none;
}

.dir-bottom-circle {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 75px;
  height: 75px;
  background: radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.04) 60%, transparent 100%);
  z-index: 1;
  border-bottom-right-radius: 20px;
  pointer-events: none;
}

/* ── Photo Area ── */
.dir-photo-wrap {
  position: relative;
  height: 140px; /* Reduced from 160px for compact card height */
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #eef3ff 0%, #f0f6ff 60%, #ffffff 100%);
}

/* Perfect circular concentric arc wrapping left/bottom sides of photo circle */
.dir-photo-arc {
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  width: 114px !important;
  height: 114px !important;
  border: 3px solid transparent !important;
  border-bottom-color: #2563eb !important;
  border-left-color: #2563eb !important;
  border-radius: 50% !important;
  z-index: 2 !important;
  transform: translate(-50%, -50%) rotate(-15deg) !important;
  pointer-events: none !important;
}

.dir-photo-circle {
  width: 100px !important;
  height: 100px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: top center !important;
  border: 3.5px solid #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 46, 132, 0.1) !important;
  position: relative !important;
  z-index: 3 !important;
  margin: 0 !important;
}

/* Precise positioning of small LinkedIn badge on photo border line */
.dir-photo-linkedin {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(34px, 34px) !important;
  z-index: 5 !important;
  width: 24px !important;
  height: 24px !important;
  background-color: #2563eb !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 46, 132, 0.18) !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.dir-photo-linkedin:hover {
  transform: translate(34px, 34px) scale(1.15) !important;
  background-color: #1d4ed8 !important;
}

.dir-photo-linkedin svg {
  width: 11px !important;
  height: 11px !important;
}

/* ── Card Body ── */
.dir-card-body {
  padding: 0.8rem 1.1rem 1.1rem 1.1rem; /* Tighter padding for maximum compactness */
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.dir-name {
  font-family: var(--font-primary), sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px 0;
  letter-spacing: -0.01em;
}

.dir-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb;
  margin: 0 0 5px 0;
}

.dir-divider {
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 1px;
  margin: 0 auto 0.6rem auto;
}

.dir-bio {
  font-size: 0.78rem;
  line-height: 1.5;
  color: #0f172a;
  margin: 0 0 1rem 0;
  flex-grow: 1;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── View Profile Button ── */
.dir-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1.5px solid #2563eb;
  border-radius: 6px;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.dir-btn svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s ease;
}

.dir-card-wrap:hover .dir-btn {
  background: #2563eb;
  color: #ffffff;
}


/* ==========================================================================
   OUR TEAM GRID SECTION (our-dir-team-v2.css)
   ========================================================================== */

.team-section {
  padding: 1.5rem 0 2.5rem 0;
  background: url('../../image/our-team-image/OUR TEAM-bg.png') no-repeat center center;
  background-size: cover;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.our-team-dots-tl {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 100px;
  height: 100px;
  pointer-events: none;
  z-index: 1;
}

.our-team-wavy-tr,
.founders-wavy-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 180px;
  pointer-events: none;
  z-index: 1;
}

.team-header {
  text-align: center;
  margin-bottom: 1rem;
}

.team-subtitle-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.8rem;
}

.team-subtitle-tag::before,
.team-subtitle-tag::after {
  content: '';
  width: 16px;
  height: 2px;
  background-color: #2563eb;
  display: inline-block;
}

.team-main-title {
  font-family: var(--font-primary), sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 0.8rem 0;
  letter-spacing: -0.02em;
}

.team-main-title .team-accent {
  color: #2563eb;
}

.team-desc {
  font-size: 0.95rem;
  color: #0f172a;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 480px;
}

.team-header-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 2px;
  margin: 0.5rem auto 0 auto;
}

/* ── Team Grid ── */
.team-grid {
  display: flex;
  gap: 1.8rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.team-card-wrap {
  position: relative;
  flex: 1 1 240px;
  max-width: 280px;
  display: flex;
}

.team-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1.5px solid rgba(0, 46, 132, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 46, 132, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.team-card-wrap:hover .team-card {
  transform: translateY(-6px);
  border-color: #2563eb;
  box-shadow: 0 16px 40px rgba(0, 46, 132, 0.1);
}

/* ── Top-Left Corner Fold with Number ── */
.team-corner-fold {
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.team-card-number {
  position: absolute;
  top: 10px;
  left: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2563eb;
  font-family: var(--font-primary), sans-serif;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.team-card-number::after {
  content: '';
  width: 14px;
  height: 1.5px;
  background-color: #2563eb;
  margin-top: 2px;
  display: block;
}

/* ── Top-Right Hover Corner Star ── */
.team-corner-star {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  background-color: #2563eb;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 8px;
  padding-right: 8px;
  opacity: 0;
  transform: translate(8px, -8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-corner-star svg {
  width: 13px;
  height: 13px;
  color: #ffffff;
}

.team-card-wrap:hover .team-corner-star {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── Bottom Corner Diagonal Slice ── */
.team-bottom-slice {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 15px;
  background: linear-gradient(135deg, #a855f7 0%, #2563eb 100%);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  z-index: 1;
  pointer-events: none;
  transition: all 0.35s ease;
}

.team-card-wrap:hover .team-bottom-slice {
  background: #2563eb;
}

/* ── Photo Area ── */
.team-photo-wrap {
  position: relative;
  height: 120px; /* Reduced vertical height */
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #eef3ff 0%, #f0f6ff 60%, #ffffff 100%);
  padding-top: 0.4rem;
}

.team-photo-arc {
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  width: 114px !important;
  height: 114px !important;
  border: 3px solid transparent !important;
  border-bottom-color: #2563eb !important;
  border-left-color: #2563eb !important;
  border-radius: 50% !important;
  z-index: 2 !important;
  transform: translate(-50%, -50%) rotate(-15deg) !important;
  pointer-events: none !important;
}

.team-photo-circle {
  width: 100px !important;
  height: 100px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: top center !important;
  border: 3.5px solid #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 46, 132, 0.1) !important;
  position: relative !important;
  z-index: 3 !important;
  margin: 0 !important;
}

.team-photo-linkedin {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(34px, 34px) !important;
  z-index: 5 !important;
  width: 24px !important;
  height: 24px !important;
  background-color: #2563eb !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 46, 132, 0.18) !important;
  transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.team-photo-linkedin:hover {
  transform: translate(34px, 34px) scale(1.15) !important;
  background-color: #1d4ed8 !important;
}

.team-photo-linkedin svg {
  width: 11px !important;
  height: 11px !important;
}

/* ── Card Body ── */
.team-card-body {
  padding: 0.6rem 1rem 0.8rem 1rem; /* Compact vertical padding */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-title-block {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.4rem; /* Reduced margin */
  text-align: left;
}

.team-user-icon-circle {
  width: 28px;
  height: 28px;
  background-color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.team-user-icon-circle svg {
  width: 14px;
  height: 14px;
}

.team-user-icon-circle i {
  font-size: 0.8rem;
  color: #ffffff;
}

.team-name-role {
  display: flex;
  flex-direction: column;
}

.team-name {
  font-family: var(--font-primary), sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.team-role {
  font-size: 0.74rem;
  font-weight: 600;
  color: #2563eb;
  margin: 2px 0 0 0;
}

.team-divider {
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 2px;
  margin: 4px 0 0.6rem 35px; /* Aligned with role text column */
}

.team-bio {
  font-size: 0.76rem;
  line-height: 1.45;
  color: #0f172a;
  margin: 0 0 0.5rem 0; /* Reduced margin */
  flex-grow: 1;
  text-align: left;
}

/* ── Bottom Right Action Button ── */
.team-action-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid #2563eb;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  background: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-end;
  margin-top: auto;
}

.team-action-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.team-card-wrap:hover .team-action-btn {
  background: #2563eb;
  color: #ffffff;
}

.team-card-wrap:hover .team-action-btn svg {
  transform: translateX(2px);
}

@media (max-width: 900px) {
  .team-grid {
    gap: 1.5rem;
  }
  .team-card-wrap {
    flex: 1 1 240px;
  }
}

@media (max-width: 600px) {
  .team-main-title {
    font-size: 1.9rem;
  }
  .team-card-wrap {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   DIRECTOR POPUP SLIDER CSS (our-dir-team-v2.css)
   ========================================================================== */

/* ── Modal & Backdrop ── */
.dir-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.dir-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.dir-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1;
}

.dir-modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  padding: 1.5rem;
}

/* Close Button */
.dir-modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 100;
}

.dir-modal-close svg {
  width: 18px;
  height: 18px;
}

.dir-modal-close:hover {
  background: #ffffff;
  color: #0f172a;
  transform: rotate(90deg);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.dir-modal-close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* ── Slider Viewport & Track ── */
.dir-slider-viewport {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 80vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}

.dir-slider-track {
  display: flex;
  gap: 50px;
  transition: transform var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1);
  align-items: center;
  height: 100%;
  will-change: transform;
}

/* ── Individual Slides ── */
.dir-slide,
.team-slide {
  flex: 0 0 820px;
  max-width: calc(100vw - 80px);
  filter: blur(5px) grayscale(30%);
  opacity: 0.35;
  transform: scale(0.86);
  transition: all var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

/* Active Slide */
.dir-slide.active,
.team-slide.active {
  filter: none;
  opacity: 1;
  transform: scale(1.02);
  cursor: default;
  z-index: 5;
}

.dir-slide-card {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 24px;
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  height: auto;
  max-height: none;
  overflow: hidden;
}

.dir-slide-left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 1.5px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 10px;
  width: 100%;
}

.dir-slide-right {
  flex: 0 0 auto;
  width: 100%;
  padding-left: 0;
  text-align: left;
  overflow-y: visible;
  max-height: none;
}

/* Avatar details inside modal card */
.dir-slide-avatar-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dir-slide-avatar-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 108px;
  height: 108px;
  border: 2.5px dashed #2563eb;
  border-radius: 50%;
  animation: dir-ring-spin 25s linear infinite;
  pointer-events: none;
}

.dir-slide-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 16px rgba(0, 46, 132, 0.12);
  z-index: 2;
}

.dir-slide-name {
  font-family: var(--font-primary), sans-serif;
  font-size: 1.15rem;
  font-weight: 750;
  color: #0f172a;
  margin: 0 0 2px 0;
  line-height: 1.2;
}

.dir-slide-role {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2563eb;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dir-slide-social {
  position: absolute;
  bottom: 0px;
  right: 0px;
  z-index: 10;
  display: flex;
}

.dir-slide-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
  transition: all var(--transition-fast);
}

.dir-slide-social a:hover {
  background: #1d4ed8;
  color: #ffffff;
  transform: scale(1.1);
}

.dir-slide-social a svg {
  width: 12px;
  height: 12px;
}

/* Biography elements */
.dir-slide-detail-header h4 {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin: 0 0 6px 0;
}

.dir-slide-line {
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 2px;
  margin-bottom: 14px;
}

.dir-slide-bio-text {
  font-family: var(--font-primary), sans-serif;
  font-size: 0.8rem;
  font-weight: 450;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 0;
}

/* ── Arrow Nav Buttons ── */
.dir-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 10;
}

.dir-slider-nav svg {
  width: 20px;
  height: 20px;
}

.dir-slider-nav:hover {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.08);
}

.dir-slider-nav.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.dir-prev {
  left: 30px;
}

.dir-next {
  right: 30px;
}

/* ── Spin Animation ── */
@keyframes dir-ring-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── Responsive Media Queries ── */
@media (max-width: 1024px) {
  .dir-slide,
  .team-slide {
    flex: 0 0 680px;
    max-width: calc(100vw - 80px);
  }
  .dir-slide-card {
    padding: 36px;
    gap: 24px;
  }
  .dir-slider-viewport {
    height: 90vh;
  }
}

@media (max-width: 768px) {
  .dir-slider-nav {
    display: none; /* Hide nav arrows on mobile/tablets, rely on swipes & clicks */
  }
  .dir-slide,
  .team-slide {
    flex: 0 0 calc(100vw - 30px);
    max-width: calc(100vw - 30px);
    transform: scale(0.92);
  }
  .dir-slide.active,
  .team-slide.active {
    transform: scale(1);
  }
  .dir-slide-card {
    padding: 20px 18px;
    gap: 14px;
    max-height: 88vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .dir-slide-left {
    padding-bottom: 12px;
  }
  .dir-slide-right {
    overflow-y: visible;
    max-height: none;
  }
  .dir-slide-bio-text {
    font-size: 0.84rem;
    line-height: 1.65;
  }
  .dir-modal-close {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ── Team Card Decorative Diamond Dots (Bottom-Right) ── */
.team-dots-decor {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.team-dots-decor::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(37, 99, 235, 0.7) 1.5px, transparent 1.5px);
  background-size: 11px 11px;
  background-repeat: repeat;
  transform: rotate(45deg) scale(0.85);
  transform-origin: center;
}

.team-card-wrap:hover .team-dots-decor {
  opacity: 1;
}

/* Card Close Button inside Modal Slides (Mobile only) */
.dir-modal-close-card {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #334155;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast) ease;
  z-index: 100;
  padding: 0;
}
.dir-modal-close-card svg {
  width: 16px;
  height: 16px;
}
.dir-modal-close-card:hover {
  background: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

@media (max-width: 768px) {
  /* Hide the global floating close button */
  .dir-modal-close {
    display: none !important;
  }
  /* Show the in-card close button */
  .dir-modal-close-card {
    display: flex !important;
  }
}

/* ==========================================================================
   SMOOTH FLOATING DOT ANIMATION (FOR OUR TEAM PAGE)
   ========================================================================== */
@keyframes floatDotsPattern {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

@keyframes floatDotsPatternAlt {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(8px) scale(1.05);
  }
}

.dir-corner-ribbon-dots::after,
.dir-card-corner-dots,
.dir-bottom-dots,
.our-team-dots-tl,
.team-dots-decor,
.team-dots-decor::before,
.career-dots-left,
.career-dots-right,
[class*="dots"] {
  animation: floatDotsPattern 4s ease-in-out infinite !important;
  will-change: transform;
}

.dir-bottom-dots,
.career-dots-right {
  animation: floatDotsPatternAlt 5s ease-in-out infinite !important;
  animation-delay: -1.8s !important;
}

