/* =====================================================
   BEYOND ACADEMICS SECTION
===================================================== */

.beyond-section {
  padding: 80px 0;
  background-color: #f1efee;
}

/* =====================================================
   CONTAINER (20% / 80%)
===================================================== */
.beyond-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 40px;
}

/* =====================================================
   LEFT COLUMN
===================================================== */
.beyond-left {
  flex: 0 0 20%;
}

.beyond-left-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.beyond-icon {
  color: #f37422;
  font-size: 16px;
}

.beyond-subtitle {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-top:10px;
}

/* =====================================================
   RIGHT COLUMN
===================================================== */
.beyond-right {
  flex: 0 0 80%;
}

/* =====================================================
   HEADING
===================================================== */
.beyond-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.beyond-intro {
  font-size: 18px;
  color: #333;
  margin-bottom: 40px;
}

/* =====================================================
   CARDS GRID
===================================================== */
/* =====================================================
   SLIDER WRAPPER
===================================================== */

.beyond-slider-wrapper {
  overflow: hidden;
  width: 100%;
}

/* =====================================================
   SLIDER TRACK
===================================================== */

.beyond-cards {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

/* =====================================================
   CARD (Desktop - 3 per view)
===================================================== */

.beyond-card {
  flex: 0 0 calc((100% - 60px) / 3);
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background-color: #000;
  aspect-ratio: 3 / 4;
}

/* Image */
.beyond-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay */
.beyond-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.1)
  );
  z-index: 1;
}

.beyond-card-overlay {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
}

.beyond-card-overlay h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

/* =====================================================
   DOTS
===================================================== */

.beyond-dots {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
}

.beyond-dots .dot {
  width: 10px;
  height: 10px;
  background: #111;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.beyond-dots .dot.active {
  background: #f37422;
  opacity: 1;
}

/* =====================================================
   TABLET (2 per view)
===================================================== */

@media (max-width: 991px) {

  .beyond-container {
    flex-direction: column;
  }

  .beyond-left,
  .beyond-right {
    flex: 100%;
  }

  .beyond-card {
    flex: 0 0 calc((100% - 30px) / 2);
  }
}

/* =====================================================
   MOBILE (1 per view)
===================================================== */

@media (max-width: 767px) {

  .beyond-section {
    padding: 60px 0;
  }

  .beyond-title {
    font-size: 26px;
  }

  .beyond-intro {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .beyond-cards {
    gap: 16px;
  }

  .beyond-card {
    flex: 0 0 100%;
  }

  .beyond-card-overlay h3 {
    font-size: 20px;
  }
}
