.campus-life-section {
  padding: 40px 0;
  background-color: #fff;
}

/* Campus Life Banner Wrapper */
.campus-banner-wrapper {
  position: relative;
  display: block;
  margin-bottom: 25px;
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.3));
}

/* Campus Life Banner Main Shape */
.campus-banner {
  position: relative;
  padding: 12px 20px;
  background: linear-gradient(to bottom, #fef4c5 0%, #f3cc3b 45%, #da9e00 100%);
  border-radius: 6px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 25px),
    calc(100% - 25px) 100%,
    0 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}

.campus-banner h2 {
  color: #1d3588;
  font-weight: 800;
  margin: 0;
  font-size: 28px;
  font-family: "Poppins", sans-serif;
  text-shadow: 0.5px 0.5px 0px rgba(255, 255, 255, 0.8);
}

/* The Fold Effect */
.campus-banner-fold {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 25px;
  height: 25px;
  background: linear-gradient(to top left, #a67c00 50%, #d89c00 50%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Sidebar Container */
.sidebar-container {
  background-color: #e6f3e6;
  border: 2px solid #b5d5b5;
  padding: 25px 15px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-nav {
  filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));
}

/* Sidebar Arrow Buttons with THICK White Border */
.sidebar-nav .nav-link {
  background-color: #ffffff;
  /* This acts as the thick white border */
  color: #fff !important;
  margin-bottom: 12px;
  padding: 0;
  height: 52px;
  position: relative;
  display: flex;
  align-items: center;
  clip-path: polygon(
    0 0,
    calc(100% - 25px) 0,
    100% 50%,
    calc(100% - 25px) 100%,
    0 100%
  );
  transition: transform 0.3s ease;
  border: none;
}

.sidebar-nav .nav-link::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  right: 3px;
  /* 3px thick white border */
  background: linear-gradient(90deg, #f07b22 0%, #d85d0d 100%);
  clip-path: polygon(
    0 0,
    calc(100% - 23px) 0,
    calc(100% - 3px) 50%,
    calc(100% - 23px) 100%,
    0 100%
  );
  z-index: 1;
}

.sidebar-nav .nav-link span {
  position: relative;
  z-index: 2;
  padding-left: 20px;
  font-weight: 700;
  font-size: 14px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
  transform: translateX(5px);
}

.sidebar-nav .nav-link.active::before {
  background: linear-gradient(90deg, #df630c 0%, #b84600 100%);
}

/* Main Content Stadium Image - Pill Shape */
.campus-main-img-container {
  text-align: center;
  margin-bottom: 35px;
}

.campus-main-img {
  width: 100%;
  max-width: 720px;
  height: 320px;
  border-radius: 160px;
  /* Stadium/pill shape */
  border: 7px solid #cbdcf0;
  /* 7px light blue border */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

/* Sub Header Capsule - Pill with blue ends and yellow center (Full Height) */
.sub-header-wrapper {
  text-align: center;
  margin: 35px 0;
}

.sub-header-pill-outer {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  background: linear-gradient(to bottom, #9ebae4, #6c8fc4);
  border-radius: 50px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
  border: 2px solid #4a76b8;
  padding: 0 80px;
  /* Space to show the blue ends */
  height: 55px;
}

.sub-header-pill-inner {
  background: linear-gradient(to bottom, #fde39a, #f7c64b);
  padding: 0 50px;
  border-radius: 50px;
  /* Capsule shape for the yellow part */
  border: 1px solid #f39d1b;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Shadow on the ends to create the layered effect from capsule.png */
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.8),
    8px 0 15px -5px rgba(0, 0, 0, 0.3),
    -8px 0 15px -5px rgba(0, 0, 0, 0.3);
  height: 100%;
  margin: 0;
}

.sub-header-pill-inner h4 {
  color: #1d3588;
  font-weight: 800;
  margin: 0;
  font-size: 19px;
  font-family: "Poppins", sans-serif;
  text-transform: capitalize;
}

/* Content Box detailing */
.engagement-content-box {
  background: #fff;
  border: 2.5px solid #6c8fc4;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.video-placeholder {
  width: 100%;
  height: 380px;
  background-color: #fff;
  border: 2px solid #a0a0a0;
  border-radius: 4px;
  margin-bottom: 25px;
}

.engagement-text {
  color: #1d3588;
  font-size: 15.5px;
  line-height: 1.8;
  text-align: justify;
  font-family: "Noto Sans", sans-serif;
}

.engagement-text b {
  font-weight: 700;
}

.engagement-text a {
  color: #1d3588 !important;
  text-decoration: none !important;
  font-style: italic;
  font-weight: 600;
}

@media (max-width: 991px) {
  .campus-main-img {
    aspect-ratio: 1.6 / 1;
    border-width: 5px;
  }

  .video-placeholder {
    height: 220px;
  }

  .sidebar-nav .nav-link {
    clip-path: none;
    border-radius: 4px;
  }

  .sidebar-nav .nav-link::before {
    clip-path: none;
  }

  .sub-header-pill-outer {
    padding: 0px 20px;
  }

  .sub-header-pill-inner {
    padding: 0px 25px;
  }
}
