/* ===== RESET ===== */
 
/* ===== LEFT CONTENT ===== */
.left-content {
    flex: 0 0 400px;
    min-width: 300px;
    z-index: 2;
    padding-right: 20px;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: #5b4fcf;
  margin-bottom: 44px;
  letter-spacing: -1px;
}

.alumni-role {
  font-size: 13px;
  color: #888;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.company-logo {
  display: block;
  height: 55px;
  width: auto;
  margin-bottom: 28px;
  object-fit: contain;
  object-position: left center;
}

.logo-fallback {
  font-size: 20px;
  font-weight: 900;
  color: #c0392b;
  border: 2px solid #c0392b;
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 28px;
  letter-spacing: 2px;
}

.alumni-desc {
  font-size: 14px;
  color: #bbb;
  line-height: 1.85;
  max-width: 340px;
  margin-bottom: 50px;
}

.slide-info { display: none; }
.slide-info.active { display: block; }

/* ===== NAV ARROWS ===== */
.slider-nav { display: flex; gap: 14px; }

.nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #5b4fcf;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.nav-btn:hover { background: #5b4fcf; transform: scale(1.08); }
.nav-btn svg {
  width: 18px; height: 18px;
  stroke: #5b4fcf; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.25s;
}
.nav-btn:hover svg { stroke: #fff; }

/* ===== CAROUSEL STAGE ===== */
/* The right section — cards stack here with absolute positioning */
.carousel-stage {
  flex: 1;
  position: relative;
  height: 35rem;
  /* overflow visible so side cards peek out */
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* ===== CARD ===== */
/* All cards sit absolutely, centred in the stage */
.card {
  position: absolute;
  width: 75%;
  height: 34rem;
  border-radius:1rem;
  overflow: hidden;
  cursor: pointer;
  /* base position: horizontally centred in stage */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition:
    transform 0.55s cubic-bezier(0.34, 1.10, 0.64, 1),
    opacity   0.45s ease,
    z-index   0s;
  will-change: transform;
}

/* Fancybox anchor fills the card */
.card-media-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  position: relative;
  z-index: 0;
}

/* Dark overlay on non-active cards */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
  border-radius: 28px;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

/* ─── ACTIVE card: centred, full size, no overlay ─── */
.card.pos-active {
  transform: translate(-50%, -50%) scale(1);
  z-index: 10;
  box-shadow: 0 24px 70px rgba(0,0,0,0.7);
}
.card.pos-active::after { opacity: 0; }

/* ─── PREV card: peek left, slightly behind ─── */
.card.pos-prev {
  transform: translate(calc(-50% - 4rem), -50%) scale(0.88);
  z-index: 5;
  opacity: 1;
}

/* ─── NEXT card: peek right, slightly behind ─── */
.card.pos-next {
  transform: translate(calc(-50% + 4rem), -50%) scale(0.88);
  z-index: 5;
  opacity: 1;
}

/* ─── FAR cards: hidden behind, more offset ─── */
.card.pos-far-prev {
  transform: translate(calc(-50% - 20rem), -50%) scale(0.78);
  z-index: 2;
  opacity: 0;
}
.card.pos-far-next {
  transform: translate(calc(-50% + 20rem), -50%) scale(0.78);
  z-index: 2;
  opacity: 0;
}

/* ===== PLAY BUTTON ===== */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 20;
  transition: opacity 0.35s ease, transform 0.3s ease;
  pointer-events: none;
}
.card.pos-active .play-btn {
  opacity: 1;
  pointer-events: all;
}
.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12) !important;
  background: #fff;
}
.play-btn svg {
  width: 22px; height: 22px;
  fill: #5b4fcf;
  margin-left: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .left-content {
      align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.logreal{display:inline-block;}
  .success-section { flex-direction: column; padding: 40px 20px; }
  
 .carousel-stage {
    margin: 2rem auto;
     width: 60%;
}  
  
  }
 @media (max-width: 767px) { 
   .carousel-stage {
    margin: 2rem auto;
     width: 90%;
}
.card.pos-active{width:95%;}
 .card {
    position: absolute;
    width: 75%;
    height: 23rem;}   
    .carousel-stage{  height: 23rem;}
    
    .nav-btn {
    width: 34px;
    height: 34px;}
    .slider-nav {
    display: flex;
    gap: 8px;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
}
 }
  
 
