.hero-footer-text {
  overflow: hidden;
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
  color: white;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 2px;
  pointer-events: none;
}
.hero-footer-text h3 {
  opacity: 0;
  animation-name: slideUp;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-delay: 1.5s;
  animation-fill-mode: forwards;
}
/* FORCE FULL HEIGHT FOR ALL SECTIONS */
.fullscreen-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center; /* Centers content vertically */
  position: relative;
  background: var(--bg);
  padding: 80px 10vw;
  box-sizing: border-box;
  border-bottom: 1px solid #111;
}

/* VISION SECTION GRID (50/50 Split) */
.vision-section {
  padding: 0; /* Removing padding to allow grid to hit edges */
}

/* GLOBAL SECTION SETTINGS */
.fullscreen-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg);
  padding: 0 10vw;
  box-sizing: border-box;
}

/* VISION SECTION (CENTERED) */
.vision-section {
  text-align: center;
}

.vision-statement {
  font-family: "Inter", sans-serif;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 4px; /* Spread the letters out for a luxury look */
  font-size: 1.5rem;
}
.admission-text {
  font-family: "Inter", sans-serif;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 4px; /* Spread the letters out for a luxury look */
  font-size: 1.5rem;
}

.vision-section {
  position: relative;
  overflow: hidden;
}

/* THE SLIDESHOW CONTAINER */
.vision-bg-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* OVERLAY: This makes the white text pop */
.vision-bg-slideshow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Adjust 0.6 to make it darker or lighter */
  z-index: 1;
}

/* Ensure content stays above the background */
.centered-content {
  position: relative;
  z-index: 2;
}

/* OPTIONAL: TEXT GLOW (To make it even more visible) */

/* THE VISION SECTION CONTAINER */
.vision-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d; /* Required for parallax */
}

/* THE INDIVIDUAL SLIDES */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  /* Added a Ken Burns (zoom) effect for extra cinematic feel */
  animation: crossFade 15s infinite, kenBurns 15s infinite;
}

/* TEXT CONTENT (Stays at Z=0) */
.centered-content {
  position: relative;
  z-index: 2;
  transform: translateZ(0);
  text-align: center;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

/* THE VISION SECTION */
.vision-section {
  position: relative;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* This allows the children to exist in 3D space */
  transform-style: preserve-3d;
}

/* THE BACKGROUND CONTAINER (Depth Layer) */
.parallax-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* translateZ pushes it away from the viewer. 
     scale(2) compensates for the visual shrinking caused by distance */
  transform: translateZ(-10px) scale(2.1);
  z-index: -1;
}

.vision-bg-slideshow {
  width: 100%;
  height: 100%;
  position: relative;
}

/* OVERLAY FOR CONTRAST */
.vision-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 1) 0%,
    rgba(5, 5, 5, 0.4) 40%,
    rgba(5, 5, 5, 0.4) 60%,
    rgba(5, 5, 5, 1) 100%
  );
  z-index: 1;
}

/* FOREGROUND CONTENT (Standard Depth) */
.centered-content {
  position: relative;
  z-index: 2;
  transform: translateZ(0); /* Sits on the base layer */
  text-align: center;
}

/* ANIMATION FOR FADING SLIDES */
@keyframes crossFade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  43% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.slide:nth-child(1) {
  animation-delay: 0s;
}
.slide:nth-child(2) {
  animation-delay: 5s;
}
.slide:nth-child(3) {
  animation-delay: 10s;
}

/* TYPOGRAPHY */
/* SECTION 2 SPECIFIC FIXES */
/* SECTION 2: VISION */
/* SECTION 2: VISION */
.vision-section {
  position: relative;
  height: 100vh;
  background-color: #000; /* Visible as the image zooms out */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#vision-zoom-bg {
  width: 100vw;
  height: 100vh;
  will-change: transform;
  transform: scale(1); /* Starts at full screen */
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: crossFade 15s infinite;

  /* CINEMATIC FILTER: Grayscale + High Contrast */
  filter: grayscale(0%) contrast(100%) brightness(100%);
}

/* Optional: Subtle vignette on the image itself */
#vision-zoom-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
/* EXIT FADE LOGIC */
/* SECTION 2: VISION SECTION */
/* SECTION 2 ADJUSTMENTS */
.vision-section {
  position: relative;
  background-color: var(--bg); /* Force background color */
  border: none; /* Remove any accidental borders */
  padding-bottom: 0; /* Remove bottom padding */
}

/* SECTION 3 ADJUSTMENTS */
.courses-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Aligns content to the top */
  align-items: center;
  position: relative;
  width: 100%;
  min-height: 150vh;
  background-color: transparent;
  /* STACKING: Top gradient layer masks the image layer below it */
  background-image: url("../media/background/wall.png");

  background-size: cover;
  background-position: center top; /* Anchors the top of the image to the top of the section */
  background-repeat: no-repeat;
  /* filter: grayscale(0%) contrast(150%) brightness(100%); */
  /* REMOVED: background-attachment: fixed; */
  /* This ensures the image scrolls naturally with the content */

  /* margin-top: -150px; */
  border: none;
  padding-top: 100px;
  padding-bottom: 100px;
  z-index: 2;
}
.vision-section::after {
  content: "";
  position: absolute;
  inset: 0; /* covers the whole section */

  /* Linear gradient: solid black at bottom to transparent at the middle */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    /* Solid black at the very bottom */ rgba(0, 0, 0, 0.6) 20%,
    /* Fade begins */ transparent 50%
      /* Completely invisible by the halfway point */
  );

  pointer-events: none;
  z-index: 1;
}
.courses-section::after {
  content: "";
  position: absolute;
  /* Instead of inset: 0, we anchor it strictly to the bottom */
  bottom: 0;
  left: 0;
  width: 100%;
  /* This ensures the vignette is always 30% of the screen height */
  height: 30vh;

  /* Linear gradient starting from solid black at the very bottom */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    /* Pure black at the screen edge */ rgba(0, 0, 0, 0.8) 30%,
    /* Deep shadow */ rgba(0, 0, 0, 0) 100% /* Fades out completely */
  );

  pointer-events: none;
  z-index: 5; /* Increased to stay above the images */
}
/* POSTER GRID – 3 x 2 layout */
.posters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  /* Centering logic */
  justify-items: center;
  align-items: center;
}

.poster {
  width: 100%; /* fills the grid cell width */
  max-width: 320px; /* keeps posters from getting too wide */
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}

.poster:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  filter: brightness(1.1); /* subtle pop on hover */
}

/* HOVER EFFECT (matches your cinematic style) */
.courses-section .posters-grid {
  grid-template-columns: repeat(3, 1fr); /* 3 posters per row */
}
.courses-section h2 {
  text-align: center;
  width: 100%;
}
.section2-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the Heading and the Grid */
  width: 90%;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.admission-section {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    /* Darkens the image */
      url("https://images.unsplash.com/photo-1478720568477-152d9b164e26?q=80&w=2000"); /* Lens/Camera still */
  background-size: cover;
  background-position: center;
  /* Optional: adds a grainy film texture */
  background-blend-mode: multiply;
}

/* THE VIGNETTE (Only at the bottom) */
.admission-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.6) 20%,
    transparent 50%
  );
  pointer-events: none;
  z-index: 1;
}

.admission-section::before {
  content: "";
  position: absolute;
  top: 20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(10, 255, 240, 0.05) 0%,
    transparent 70%
  );
  filter: blur(50px);
  z-index: 0;
}

/* --- ADMISSIONS SECTION VISUAL REPLACEMENT --- */

/* 1. Update the split container for centered alignment */
.split-content-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Vertically center both sides */
  width: 100%;
  padding: 0 8vw; /* Retain horizontal margin */
  gap: 8vw;
}

.admission-text {
  /* Normal weight text */
  font-family: inherit;
  font-weight: normal;
  line-height: 1.6;
  max-width: 500px; /* Create multi-line text flow */
}

/* Left Side Styling */
.content-left {
  flex: 1;
  text-align: left;
}

.content-left h2 {
  font-size: 4rem;
  margin-bottom: 20px;
  font-family: "Bebas Neue", sans-serif;
}

/* Right Side Styling (The Form) */
.content-right {
  flex: 1;
  display: flex;
  justify-content: center; /* Centers the images horizontally in the right half */
  align-items: center; /* Centers them vertically */
  width: 100%;
}

/* Responsive: Stack vertically on small screens */
@media (max-width: 992px) {
  .split-content-container {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }
  .content-left {
    text-align: center;
  }
}

/* Ensure the Torch Overlay allows the snow to shine through */
.admission-section .vision-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* This is the Torch JS Variable logic from before */
  background: radial-gradient(
    circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.2) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.institute-name {
  overflow: hidden;
}
.institute-name img {
  margin-left: 5rem;
}
.institute-name h1,
.institute-name img {
  opacity: 0;
  animation-name: slideUp;
  animation-duration: 2s;

  /* Using a 'Power' ease for a high-end feel */
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);

  /* Other shorthand properties */
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

#programs-mobile {
  display: none;
}

@media (max-width: 500px) {
  .hero-content {
    flex-direction: column;
  }
  .institute-name img {
    margin-left: 0rem;
    margin-bottom: 0.5rem;
    width: 80vw !important; /* The !important forces it to ignore the inline HTML style */
    height: auto !important; /* Ensures the image doesn't stretch or warp */
  }
  #item2 {
    display: none;
  }

  #programs-desktop {
    display: none !important;
  }

  /* 2. FORCE SHOW THE MOBILE SECTION */
  #programs-mobile {
    display: flex !important; /* Keep flex so vertical centering works */
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* 3. Keep .courses-section generic, but don't let it override IDs */
  .courses-section {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
  }
  /* 2. Container for the slider */

  /* 3. The Slider Itself */
  .slider {
    width: 100%;
    display: block;
    margin-top: 20px;
  }

  /* 4. The Individual Slides (The "Item" div) */
  .item {
    /* Critical for Center Mode: gives space between slides */
    padding: 0 15px;
    box-sizing: border-box;
    /* Transition for the scaling effect */
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.5; /* Fade out side images */
    transform: scale(0.9); /* Shrink side images */
  }

  /* 5. The Active Center Slide */
  .slider .slick-center {
    opacity: 1;
    transform: scale(1.1); /* Scale up the center image */
    z-index: 10;
  }

  /* 6. The Image Styling */
  .poster {
    width: 100%;
    height: auto; /* Let the height adjust naturally */
    aspect-ratio: auto; /* Remove the strict 2/3 ratio */
    object-fit: contain; /* Ensures the whole image is always visible */

    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  }

  /* Reset text alignment */
  .eyebrow {
    text-align: center !important;
    width: 100%;
    display: block;
    margin-left: 0;
  }
  .slider .slick-list {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .section2-container,
  .course-content {
    width: 100%;
    max-width: 100%;
    overflow: visible; /* Important: Don't clip the shadow or scale */
  }
  .vision-statement {
    font-family: "Inter", sans-serif;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 4px; /* Spread the letters out for a luxury look */
    font-size: 1rem;
  }
  .admission-text {
    font-family: "Inter", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px; /* Spread the letters out for a luxury look */
    font-size: 0.8rem;
  }
  .split-content-container {
    flex-direction: column; /* Stacks text on top, form on bottom */
    padding: 100px 5vw; /* Adjust padding */
    gap: 40px; /* Space between text and form */
  }

  /* 2. Center the text */
  .content-left {
    width: 100%;
    text-align: center;
  }

  /* 3. Make the Form Container Full Width */
  .content-right {
    width: 100%;
    justify-content: center;
  }

  /* 4. Force the Form to fill the screen */
  .admission-form {
    max-width: 100% !important; /* Overrides the desktop 600px limit */
    width: 100%;
  }
}
/* =========================================
   SLIDER DOTS FIX
   ========================================= */
/* 1. Set Inactive Dots to White */
.slick-dots li button:before {
  color: #ffffff !important;
  opacity: 0.8 !important; /* Dimmed when not active */
  font-size: 10px !important; /* Adjust size of dots */
}

/* 2. Set Active Dot to Neon Cyan */
.slick-dots li.slick-active button:before {
  color: #ffffff !important;
  opacity: 1 !important; /* Fully visible */
  font-size: 20px !important;
}

/* 3. Position the dots below the images */
.slick-dots {
  bottom: -30px;
}
/* =========================================
   SLIDER ARROWS (SIDE BUTTONS) FIX
   ========================================= */

/* 1. Make arrows white and larger */
.slick-prev:before,
.slick-next:before {
  color: #ffffff !important;
  font-size: 30px !important; /* Adjust size here */
  opacity: 0.7;
  transition: color 0.3s ease;
}

/* 2. Hover Effect (Neon Cyan) */
.slick-prev:hover:before,
.slick-next:hover:before {
  color: var(--primary) !important;
  opacity: 1;
}

/* 3. Position Left Arrow INSIDE the screen */
.slick-prev {
  left: 10px !important; /* Default is -25px (off-screen) */
  z-index: 20; /* Ensures it sits on top of the image */
}

/* 4. Position Right Arrow INSIDE the screen */
.slick-next {
  right: 10px !important; /* Default is -25px (off-screen) */
  z-index: 20;
}

/* --- FOOTER & CONTACT --- */

/* --- Mentor Section Styles (Split-Screen Portrait) --- */
.mentors-section {
  background-color: #050505;
  color: #fff;
  height: 100vh;
  width: 100vw;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Main Slider Container */
.mentor-main-slider {
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.mentor-main-slider .slick-list,
.mentor-main-slider .slick-track,
.mentor-slide {
  height: 100% !important;
}

.mentor-content {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Left Side - Text Area */
.mentor-text {
  width: 50%; /* Takes the left half of the screen */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  z-index: 5;
  /* Add padding to the bottom so text doesn't hide behind the frosted slider */
  padding-bottom: 20vh;
}

.mentor-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 6rem;
  margin: 0 0 5px 0;
  line-height: 1;
  letter-spacing: 3px;
}

.mentor-title {
  font-size: 1.5rem;
  color: var(--primary, #a15127);
  font-weight: bold;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mentor-bio {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
  max-width: 90%;
}

/* Right Side - Portrait Image */
.mentor-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%; /* Takes the right half of the screen */
  height: 100vh;
  z-index: 1;
}

.mentor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Perfect for portrait images */
  object-position: center top;
  filter: grayscale(20%) brightness(0.9);
}

/* Seamless Blend: Fades the left edge of the image into the black background */
.mentor-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    /* Left-to-right fade */ linear-gradient(
      to right,
      #050505 0%,
      transparent 40%
    ),
    /* Bottom-to-top fade (hides the hard edge behind the slider) */
      linear-gradient(to top, #050505 0%, transparent 20%);
  pointer-events: none;
}

/* Main Slider Arrows */
.mentor-main-slider .slick-prev,
.mentor-main-slider .slick-next {
  width: 50px;
  height: 50px;
  z-index: 20;
}
.mentor-main-slider .slick-prev {
  left: 2%;
}
.mentor-main-slider .slick-next {
  right: 2%;
}

/* Thumbnail Navigation Slider (Frosted Glass Bottom Bar) */
/* 1. Frosted Glass Bottom Bar (Forced to front) */
.mentor-nav-slider {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 20vh !important;
  z-index: 9999 !important; /* Guarantee it floats above main images */
  margin: 0;
  padding: 0;
  background: rgba(5, 5, 5, 0.001);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: block !important;
}

/* 2. CRITICAL FIX: Restore Slick's default block layout so it can calculate width */
.mentor-nav-slider .slick-list,
.mentor-nav-slider .slick-track {
  display: block !important;
  height: 20vh !important;
}

/* 3. Center the items vertically using padding instead of flexbox */
.mentor-nav-slider .nav-item {
  display: block !important;
  height: 20vh !important;
  padding-top: 3vh !important; /* Pushes the thumbnail down to the center */
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  opacity: 0.3;
  transition: all 0.4s ease;
  outline: none;
  transform: scale(0.9);
}

/* Highlight the active/centered item */
.mentor-nav-slider .slick-current .nav-item,
.mentor-nav-slider .slick-center .nav-item {
  opacity: 1 !important;
  transform: scale(1.1) !important;
}

/* Add the white ring to the active image */
.mentor-nav-slider .slick-current .nav-thumb img,
.mentor-nav-slider .slick-center .nav-thumb img {
  border: 2px solid #ffffff !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4) !important; /* Optional cinematic glow */
}

.nav-thumb img {
  width: 8vh;
  height: 8vh;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
  border: 2px solid transparent;
  transition: border 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  display: block; /* Ensure image doesn't collapse */
}

/* .mentor-nav-slider .slick-current .nav-thumb img {
  border: 2px solid #fff;
} */

.nav-item h4 {
  margin: 0;
  font-size: 1rem;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
}

.nav-item p {
  margin: 2px 0 0;
  font-size: 0.7rem;
  color: #aaa;
  text-transform: uppercase;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  /* On mobile, we stack it: Image acts as background, text sits on top */
  .mentor-image {
    width: 100%;
  }

  .mentor-text {
    width: 100%;
    padding: 0 5%;
    /* Push text to the bottom, right above the slider */
    justify-content: flex-end;
    padding-bottom: 25vh;
    text-align: left;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
  }

  .mentor-name {
    font-size: 4rem;
  }

  .mentor-image::after {
    background: linear-gradient(
      to top,
      rgba(5, 5, 5, 1) 0%,
      rgba(5, 5, 5, 0.6) 40%,
      transparent 100%
    );
  }

  .mentor-nav-slider {
    height: 18vh;
  }

  .nav-thumb img {
    width: 60px;
    height: 60px;
  }
  /* --- Add this inside your @media (max-width: 768px) { ... } --- */

  /* 1. HIDE the bottom thumbnail slider */
  .mentor-nav-slider {
    display: none !important;
  }

  /* 2. Style the text container at the bottom with a frosted glass effect */
  .mentor-text {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important; /* Let content determine height */
    /* Re-use and adjust the frosted glass from the bottom bar */
    background: rgba(5, 5, 5, 0.75) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 5% 50px 5% !important; /* Bottom padding gives space for the see-more btn */
    text-align: left !important;
    text-shadow: none !important;
    z-index: 10 !important;
    justify-content: flex-start !important; /* Resets flex from existing mobile rule */
  }

  /* 3. Scale down Name and Title font sizes */
  .mentor-name {
    font-size: 3rem !important; /* Was 4rem */
    margin-bottom: 5px !important;
  }

  .mentor-title {
    font-size: 1rem !important; /* Was 1.5rem */
    margin-bottom: 10px !important;
  }

  .mentor-bio {
    font-size: 0.95rem !important; /* Slightly smaller bio font */
    color: #ccc;
    margin-bottom: 0px !important;
    display: block; /* Ensures p tag behaves for JS function */
  }

  /* 4. "SEE MORE" TRUNCATION CSS */
  .limit-bio {
    max-height: 4.5em; /* Limit initially to 3 lines of text */
    overflow: hidden;
    transition: max-height 0.3s ease; /* Adds a nice animation */
    position: relative;
  }

  /* Class to apply when text is expanded (toggled by JS) */
  .mentor-bio.expanded {
    max-height: 50em; /* Set a very high value so it expands fully */
  }

  /* "See more" link styling */
  .see-more-btn {
    display: inline-block !important;
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 8px;
    width: 100%; /* Force it on its own line */
    text-align: right;
    opacity: 0.7;
  }

  .see-more-btn:hover {
    opacity: 1;
  }
  /* 4. Interactive ticket button/link styling */
  .ticket-btn {
    display: block;
    width: fit-content;
    text-decoration: none;
    cursor: pointer;
    /* Adds a bouncy, premium feel to the hover movement */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Gives it a deep baseline shadow so it pops off the background */
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.8));
  }

  .ticket-img {
    width: 100%;
    max-width: 500px; /* Keep your preferred size */
    height: auto;
    display: block;
    transition: all 0.3s ease;

    /* Fixes the dullness: Bumps up baseline brightness and contrast */
    filter: brightness(1.08) contrast(1.05);
    border-radius: 4px; /* Optional: smooths the hard corners slightly */
  }

  /* 5. Hover Effect (The "Invite") */
  .ticket-btn:hover {
    /* Lifts up and grows slightly towards the user */
    transform: translateY(-8px) scale(1.03);
  }

  .ticket-btn:hover .ticket-img {
    /* Lights up the ticket like a lightbox */
    filter: brightness(1.2) contrast(1.1);
    /* A wide, cinematic golden glow */
    box-shadow: 0 0 40px 10px rgba(212, 175, 55, 0.4);
  }

  /* 6. Active Effect (The "Physical Click") */
  .ticket-btn:active {
    /* Pushes down physically into the page */
    transform: translateY(4px) scale(0.98);
    transition: all 0.1s ease; /* Instant snap on click */
  }

  .ticket-btn:active .ticket-img {
    /* Tightens the glow to mimic pushing it against the wall */
    box-shadow: 0 0 15px 5px rgba(212, 175, 55, 0.6);
    filter: brightness(1.25);
  }
}

/* --- FOOLPROOF THUMBNAIL HIGHLIGHT FIX --- */
/* 1. Apply dimming and shrinking to Slick's outer wrapper */
.mentor-nav-slider .slick-slide {
  opacity: 0.3 !important;
  transform: scale(0.85) !important;
  transition: all 0.4s ease !important;
}

/* 2. Force the active middle slide to full brightness and scale */
.mentor-nav-slider .slick-slide.slick-center {
  opacity: 1 !important;
  transform: scale(1.05) !important;
}

/* 3. Reset the internal item so it doesn't "double-dim" */
.mentor-nav-slider .nav-item {
  opacity: 1 !important;
  transform: none !important;
}

/* 4. Add the white ring & cinematic glow to the active image */
.mentor-nav-slider .slick-center .nav-thumb img {
  border: 2px solid #ffffff !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4) !important;
}
.see-more-btn {
  display: none;
}

/* --- MINIMAL ADMISSIONS CTA --- */

.minimal-cta-box {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 60px 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.nature-quote {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.nature-subtext {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Timeline Button Styling (In case you didn't copy it earlier) */
.cinematic-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  color: black;
  text-decoration: none;
  padding: 18px 30px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 2px;
  width: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cinematic-btn .arrow {
  font-family: sans-serif;
  transition: transform 0.3s ease;
}

.cinematic-btn:hover {
  background-image: var(--heading_color_gradient);
  color: white;
  box-shadow: 0 0 20px rgba(161, 81, 39, 0.4);
}

.cinematic-btn:hover .arrow {
  transform: translateX(10px);
}

/* Mobile Tweaks */
@media (max-width: 992px) {
  .minimal-cta-box {
    padding: 40px 20px;
  }
  .nature-quote {
    font-size: 2.8rem;
  }
}
/* --- TABLET OVERLAP FIX (Screens between phones and large desktops) --- */
@media (max-width: 1200px) and (min-width: 769px) {
  /* 1. Scale down the massive font so it fits the tablet screen */
  .mentor-name {
    font-size: 4rem;
    margin-bottom: 10px;
  }

  .mentor-title {
    font-size: 1.2rem;
  }

  .mentor-bio {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* 2. Stop centering the text and push it down below the header */
  .mentor-text {
    justify-content: flex-start; /* Stops the text from growing upwards */
    padding-top: 18vh; /* Forces it to start safely below "THE LEADING CAST" */
    padding-bottom: 22vh; /* Keeps it safely above the thumbnail slider */
  }
}
