/* ==================== BASE ==================== */
html {
  scroll-behavior: smooth;
}

nav {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 50;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* ==================== HERO ==================== */
.hero-gradient {
  background: linear-gradient(160deg, #2A1207 0%, #3B1A0A 50%, #5C2D0E 100%);
}

/* ==================== CARDS ==================== */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ==================== LEGACY STAT CARD (glassmorphism) ==================== */
.stat-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==================== COMPARISON TABLE ==================== */
.comparison-row:nth-child(even) {
  background: #fdf8f6;
}

/* ==================== SCROLLBAR HIDE ==================== */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ==================== HERO CYCLING TEXT ==================== */
.hero-cycle-wrapper {
  position: relative;
  display: inline-block;
  height: 1.3em;
  overflow: hidden;
  vertical-align: bottom;
}

.hero-cycle-text {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: heroCycle 10s infinite;
}

.hero-cycle-text:nth-child(1) {
  animation-delay: 0s;
}

.hero-cycle-text:nth-child(2) {
  animation-delay: 2s;
}

.hero-cycle-text:nth-child(3) {
  animation-delay: 4s;
}

.hero-cycle-text:nth-child(4) {
  animation-delay: 6s;
}

.hero-cycle-text:nth-child(5) {
  animation-delay: 8s;
}

@keyframes heroCycle {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  5% {
    opacity: 1;
    transform: translateY(0);
  }

  15% {
    opacity: 1;
    transform: translateY(0);
  }

  20% {
    opacity: 0;
    transform: translateY(-30px);
  }

  100% {
    opacity: 0;
    transform: translateY(-30px);
  }
}

/* ==================== GLOW EFFECTS ==================== */
.glow-orange {
  text-shadow: 0 0 20px rgba(226, 88, 34, 0.6), 0 0 40px rgba(226, 88, 34, 0.3);
}

.glow-yellow {
  text-shadow: 0 0 20px rgba(245, 166, 35, 0.6), 0 0 40px rgba(245, 166, 35, 0.3);
}

.glow-amber {
  text-shadow: 0 0 20px rgba(139, 64, 0, 0.6), 0 0 40px rgba(139, 64, 0, 0.3);
}

.glow-terra {
  text-shadow: 0 0 20px rgba(192, 64, 0, 0.6), 0 0 40px rgba(192, 64, 0, 0.3);
}

.glow-white {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 40px rgba(255, 255, 255, 0.2);
}

/* ==================== STATS SECTION ==================== */
.stats-container {
  background: #3B1A0A;
  border: 1px solid #78350F;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-item {
  background: #FFFBEC;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.stat-item .stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #3B1A0A;
  transition: all 0.4s ease;
  line-height: 1.1;
}

.stat-item .stat-label {
  font-size: 14px;
  color: #7B3F1D;
  margin-top: 4px;
  font-weight: 500;
  transition: all 0.4s ease;
}

.stat-item .stat-expanded {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item .stat-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

/* Hover / Active state — brown gradient */
.stat-item:hover,
.stat-item.active {
  background: linear-gradient(160deg, #7B3F1D 0%, #5C2D0E 100%);
  align-items: flex-start;
  text-align: left;
}

.stat-item:hover .stat-number,
.stat-item.active .stat-number {
  color: #FFFFFF;
  font-size: 32px;
}

.stat-item:hover .stat-label,
.stat-item.active .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

.stat-item:hover .stat-expanded,
.stat-item.active .stat-expanded {
  opacity: 1;
  max-height: 80px;
  margin-top: 8px;
}

.stat-item:hover .stat-arrow,
.stat-item.active .stat-arrow {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .stat-item {
    height: 160px;
    padding: 18px 14px;
  }

  .stat-item .stat-number {
    font-size: 26px;
  }
}

/* ==================== FLIP CARDS ==================== */
.flip-card {
  perspective: 1000px;
  height: 280px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
}

.flip-card-back {
  transform: rotateY(180deg);
  background: #FFFBEC;
}

@media (max-width: 768px) {
  .flip-card {
    height: 260px;
  }

  .flip-card-front,
  .flip-card-back {
    padding: 14px 12px;
  }

  .flip-card-front h3 {
    font-size: 20px !important;
  }

  .flip-card-back h3 {
    font-size: 16px !important;
    margin-bottom: 8px;
  }

  .flip-card-back .grid {
    gap: 4px;
  }

  .flip-card-back .grid img {
    height: 14px !important;
  }

  .flip-card-back .grid > div {
    padding: 6px 4px !important;
  }

  .flip-card-back p {
    font-size: 10px !important;
  }
}

@media (max-width: 480px) {
  .flip-card {
    height: 240px;
  }

  .flip-card-front h3 {
    font-size: 18px !important;
  }

  .flip-card-back h3 {
    font-size: 14px !important;
  }
}

/* ==================== CERTIFICATE STACK ==================== */
.cert-stack {
  position: relative;
  width: 400px;
  height: 480px;
  margin: 0 auto;
}

.cert-stack .cert {
  position: absolute;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.cert-stack .cert img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Google — W360 H277, rotation -8.74deg, top layer by Y */
.cert-stack .cert:nth-child(1) {
  width: 360px;
  height: 277px;
  top: 0;
  left: 0;
  transform: rotate(-8.74deg);
  z-index: 1;
}

/* Microsoft — W397 H226, rotation 5.93deg */
.cert-stack .cert:nth-child(2) {
  width: 397px;
  height: 226px;
  top: 89px;
  left: 13px;
  transform: rotate(5.93deg);
  z-index: 2;
}

/* IBM — W345 H267, rotation -8.95deg */
.cert-stack .cert:nth-child(3) {
  width: 345px;
  height: 267px;
  top: 150px;
  left: 33px;
  transform: rotate(-8.95deg);
  z-index: 3;
}

/* NAAC+ — W340 H260, rotation 6.5deg */
.cert-stack .cert:nth-child(4) {
  width: 340px;
  height: 260px;
  top: 220px;
  left: 20px;
  transform: rotate(6.5deg);
  z-index: 4;
}

/* On hover — bring hovered cert to front, straighten */
.cert-stack .cert:hover {
  transform: rotate(0deg) scale(1.05);
  z-index: 10;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 640px) {
  .cert-stack {
    width: 280px;
    height: 300px;
  }

  .cert-stack .cert:nth-child(1) {
    width: 252px;
    height: 194px;
  }

  .cert-stack .cert:nth-child(2) {
    width: 278px;
    height: 158px;
    top: 62px;
    left: 9px;
  }

  .cert-stack .cert:nth-child(3) {
    width: 242px;
    height: 187px;
    top: 105px;
    left: 23px;
  }

  .cert-stack .cert:nth-child(4) {
    width: 238px;
    height: 182px;
    top: 155px;
    left: 14px;
  }
}

/* Degree/Portfolio/Credential mobile */
@media (max-width: 768px) {
  .spec-header span {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .spec-header span {
    font-size: 9px;
  }
}

/* Certification section mobile */
@media (max-width: 768px) {
  .cert-stack {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .cert-stack {
    width: 240px;
    height: 350px;
  }
  .cert-stack .cert:nth-child(1) { width: 220px; height: 170px; left: 10px; }
  .cert-stack .cert:nth-child(2) { width: 240px; height: 140px; top: 70px; left: 0; }
  .cert-stack .cert:nth-child(3) { width: 210px; height: 165px; top: 120px; left: 15px; }
  .cert-stack .cert:nth-child(4) { width: 208px; height: 160px; top: 185px; left: 5px; }
}

/* ==================== BACKBONE SLIDER ==================== */
.backbone-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.backbone-slider::-webkit-scrollbar {
  display: none;
}

.backbone-card {
  flex: 0 0 272px;
  height: 296px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
}

.backbone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.backbone-card .card-overlay {
  display: none;
}

.backbone-card .card-icon {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 40px;
  height: 40px;
  background: #E85A24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.backbone-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(232, 90, 36, 0.6) 30%, #E85A24 100%);
  border-radius: 0 0 16px 16px;
}

.backbone-card .card-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.backbone-card .card-content p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  line-height: 1.4;
}

.backbone-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
  color: rgba(255, 255, 255, 0.5);
}

.backbone-arrow:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

@media (max-width: 768px) {
  .backbone-card {
    flex: 0 0 230px;
    height: 250px;
  }
}

/* ==================== COURSE CARDS ==================== */
.course-card {
  background: #FFFBEC;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  border: 2px solid #C2410C;
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(194, 65, 12, 0.25);
}

.course-card .course-img {
  width: 100%;
  height: 210px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  position: relative;
}

.course-card .course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-badge {
  display: inline-block;
  background: #78350F;
  color: #FFFBEC;
  font-size: 10px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 0;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
  width: fit-content;
}

.course-card .course-body {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card .course-body h3 {
  font-size: 24px;
  font-weight: 700;
  color: #8B4000;
  line-height: 1.2;
  height: 58px;
}

.course-card .course-body .course-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: #C2410C;
  margin-top: 2px;
  letter-spacing: 0.02em;
}


.course-card .course-body .course-count {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 8px;
}

.course-card .course-actions {
  display: flex;
  gap: 8px;
  padding: 0 18px 16px;
}

.course-btn-brochure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  height: 52px;
  border-radius: 8px;
  border: 1.5px solid #C2410C;
  background: transparent;
  color: #C2410C;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 16px;
  text-decoration: none;
}

.course-btn-brochure:hover {
  background: #C2410C;
  color: #fff;
}

.course-btn-explore {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  height: 52px;
  border-radius: 8px;
  border: none;
  background: #E25822;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 24px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.course-btn-explore:hover {
  background: #C04000;
}

@media (max-width: 768px) {
  .course-card .course-actions {
    flex-direction: column;
    gap: 6px;
    padding: 0 12px 12px;
  }
  .course-btn-brochure,
  .course-btn-explore {
    width: 100%;
    height: 44px;
    font-size: 13px;
    padding: 0 12px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .course-card .course-actions {
    flex-direction: row;
  }
  .course-btn-brochure,
  .course-btn-explore {
    height: 40px;
    font-size: 11px;
    padding: 0 8px;
  }
}

/* Special AI card */
.course-card-ai {
  background: #FFFBEC;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
}

/* ==================== SPECIALIZATION LINE ==================== */
.spec-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 10px;
}

.spec-header span {
  font-size: 11px;
  font-weight: 600;
  color: #78350F;
  white-space: nowrap;
  flex-shrink: 0;
}

.spec-header .spec-line {
  flex: 1;
  min-width: 20px;
  height: 1px;
  background: #d4c4b0;
  position: relative;
}

.spec-header .spec-line::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: none;
  background: #8B4000;
}

.course-radio-list {
  margin-top: 0;
  list-style: disc;
  padding: 0 0 0 18px;
  flex: 1;
}

.course-radio-list li {
  font-size: 13px;
  color: #3B1A0A;
  padding: 3px 0;
  line-height: 1.4;
}

.course-radio-list li::marker {
  color: #C2410C;
  font-size: 14px;
}

/* ==================== SCATTERED CARDS (Who Is This For) ==================== */
.scatter-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 0;
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.scatter-card {
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: #3B1A0A;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  position: absolute;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Positions: 5 slots across the container */
.scatter-card[data-pos="0"] {
  width: 220px;
  height: 140px;
  left: calc(50% - 530px);
  top: 30px;
  transform: rotate(20.91deg);
}

.scatter-card[data-pos="1"] {
  width: 220px;
  height: 140px;
  left: calc(50% - 320px);
  top: 50px;
  transform: rotate(-16.67deg);
  z-index: 2;
}

.scatter-card[data-pos="2"] {
  width: 220px;
  height: 140px;
  left: calc(50% - 100px);
  top: 30px;
  transform: rotate(20.91deg);
  color: #C2410C;
  font-weight: 600;
  box-shadow: 0 19px 32px rgba(194, 65, 12, 0.25);
  z-index: 5;
}

.scatter-card[data-pos="3"] {
  width: 220px;
  height: 140px;
  left: calc(50% + 130px);
  top: 50px;
  transform: rotate(-16.67deg);
  z-index: 2;
}

.scatter-card[data-pos="4"] {
  width: 220px;
  height: 140px;
  left: calc(50% + 360px);
  top: 30px;
  transform: rotate(20.91deg);
}

@media (max-width: 768px) {
  .scatter-cards {
    min-height: auto;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
  }

  .scatter-card {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    font-size: 13px;
    padding: 12px 18px;
    transform: none !important;
    transition: none !important;
  }

  .scatter-card[data-pos="2"] {
    color: #C2410C;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(194, 65, 12, 0.2);
  }
}

/* ==================== COMPANY LOGO SLIDER ==================== */
.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, #FFFBEC, transparent);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, #FFFBEC, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: logoScroll 20s linear infinite;
  width: max-content;
}

.logo-track img {
  height: 32px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==================== ACTIVE PARTICIPATION ==================== */
.participation-item {
  border-top: 1px solid rgba(255, 251, 236, 0.15);
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.participation-item .part-title {
  font-size: 24px;
  font-weight: 500;
  color: #FFFBEC;
  transition: color 0.3s ease;
}

.participation-item .part-desc {
  font-size: 14px;
  color: rgba(255, 251, 236, 0.6);
  line-height: 1.5;
  transition: color 0.3s ease;
}

.participation-item .part-img {
  position: absolute;
  left: 350px;
  top: 50%;
  transform: translateY(-50%) rotate(-6deg);
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.participation-item:hover .part-title {
  color: #F59E0B;
}

.participation-item:hover .part-desc {
  color: #F59E0B;
}

.participation-item:hover .part-img {
  opacity: 1;
  transform: translateY(-50%) rotate(-11.23deg);
}

.participation-item:last-child {
  border-bottom: 1px solid rgba(255, 251, 236, 0.15);
}

@media (max-width: 768px) {
  .participation-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .participation-item .part-img {
    display: none;
  }
}

/* ==================== LIFE AT TOPS ==================== */
.life-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.life-tab {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.life-tab.active {
  color: #C2410C;
  border-bottom-color: #C2410C;
  font-weight: 600;
}

.life-tab:hover {
  color: #78350F;
}

.life-tab-content {
  display: none;
}

.life-tab-content.active {
  display: block;
}

.life-slide {
  display: none;
}

.life-slide.active {
  display: grid;
}

.life-grid {
  grid-template-columns: 1fr 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 420px;
}

.life-grid .life-img {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.life-grid .life-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.life-grid .life-img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.life-grid .life-img:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.life-grid .life-img:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / 3;
}

.life-grid .life-img:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.life-grid .life-img:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

.life-grid .life-img:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

/* Fullscreen lightbox */
.life-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.life-lightbox.active {
  display: flex;
}

.life-lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
}

.life-lightbox .close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .life-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
    height: auto;
    gap: 10px;
  }
  .life-grid .life-img {
    height: 150px !important;
  }
  .life-grid .life-img:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .life-grid .life-img:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .life-grid .life-img:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }
  .life-grid .life-img:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }
  .life-grid .life-img:nth-child(5) {
    grid-column: 1 / 3;
    grid-row: 3;
  }
}

@media (max-width: 480px) {
  .life-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .life-grid .life-img {
    height: 180px !important;
  }
  .life-grid .life-img:nth-child(1),
  .life-grid .life-img:nth-child(2),
  .life-grid .life-img:nth-child(3),
  .life-grid .life-img:nth-child(4),
  .life-grid .life-img:nth-child(5) {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Life at TOPS arrows — dark on light bg */
.life-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #78350F;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #78350F;
}

.life-arrow:hover {
  background: #78350F;
  color: #FFFBEC;
}

/* ==================== HONEST REVIEW — STATS CARD ==================== */
.review-stats-card {
  width: 100%;
  min-height: 480px;
  border-radius: 25px;
  background: #FFFBEC;
  border: 1px solid #C2410C;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-stats-card .stats-header {
  text-align: center;
  margin-bottom: 20px;
}

.review-stats-card .stats-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #F59E0B;
}

.review-stats-card .stats-header p {
  font-size: 13px;
  color: #78350F;
  margin-top: 4px;
}

.review-stats-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  flex: 1;
}

.review-stat-col {
  border-radius: 10px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  gap: 0;
}

.review-stat-col .company-logo {
  margin-bottom: auto;
}

.review-stat-col .stat-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: auto 0;
}

.review-stat-col:nth-child(odd) {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #C24327 100%);
}

.review-stat-col:nth-child(even) {
  background: linear-gradient(180deg, #C24327 0%, rgba(255,255,255,0) 100%);
}


.review-stat-col .company-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.review-stat-col .stat-val {
  font-size: 22px;
  font-weight: 700;
  color: #FFFBED;
  line-height: 1;
}

.review-stat-col .stat-lbl {
  font-size: 11px;
  color: #FFFBED;
  line-height: 1.3;
}

/* ==================== REVIEW SLIDER ==================== */
.review-slider {
  position: relative;
  overflow: hidden;
}

.review-slide {
  display: none;
}

.review-slide.active {
  display: block;
}

.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.review-card .review-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-card .review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e5e5e5;
  flex-shrink: 0;
}

.review-card .review-name {
  font-size: 14px;
  font-weight: 700;
  color: #3B1A0A;
}

.review-card .review-text {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
}

.review-card .review-text .read-more {
  color: #38bdf8;
  font-weight: 500;
  cursor: pointer;
}

.review-card .review-stars {
  margin-top: 10px;
  color: #F59E0B;
  font-size: 16px;
  letter-spacing: 2px;
}

.review-video-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  position: relative;
}

.review-video-card .video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-video-card .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.review-video-card:hover .play-icon {
  background: rgba(0, 0, 0, 0.7);
}

.review-video-card .play-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
  margin-left: 3px;
}

.review-video-card .video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

.review-video-card .video-overlay .review-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.review-video-card .video-overlay .review-stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 2px;
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal video {
  max-width: 80%;
  max-height: 80vh;
  border-radius: 12px;
}

.video-modal .close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== FAQ ==================== */
.faq-card {
  background: #fff;
  border-radius: 16px;
  padding: 8px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #E85A24;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  cursor: pointer;
  gap: 16px;
  transition: color 0.3s ease;
}

.faq-question h4 {
  font-size: 15px;
  font-weight: 500;
  color: #3B1A0A;
  flex: 1;
}

.faq-question .faq-icon {
  font-size: 20px;
  color: #78350F;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 16px;
}

.faq-answer p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

/* ==================== TRAINER SLIDER ==================== */
.trainer-slider {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-auto-flow: column;
  grid-auto-columns: calc(25% - 12px);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
}

.trainer-slider::-webkit-scrollbar {
  display: none;
}

.trainer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  min-width: 0;
}

.trainer-img {
  width: 100px;
  height: 100px;
}

@media (max-width: 1024px) {
  .trainer-slider {
    grid-auto-columns: calc(33.33% - 12px);
  }
}

@media (max-width: 768px) {
  .trainer-slider {
    grid-template-rows: 1fr 1fr;
    grid-auto-columns: calc(50% - 8px);
  }
  .trainer-img {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 480px) {
  .trainer-slider {
    grid-auto-columns: calc(50% - 8px);
  }
  .trainer-img {
    width: 60px;
    height: 60px;
  }
}

/* ==================== RESPONSIVE: MENTORS & SALARY BAR ==================== */
@media (max-width: 768px) {
  .review-stats-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== FIXED CAMPUS TOUR BUTTON ==================== */
.fixed-campus-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.fixed-campus-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 90, 36, 0.4);
  border-color: #F59E0B;
}