/* ================= ACADEMIC INTRO HERO ================= */

.academic-intro {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #213f7a;
}

/* BACKGROUND IMAGE */
.academic-intro-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.academic-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* OVERLAY */
.intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: opacity 1s ease;
}

/* BLUE SHAPE */
.blue-shape {
  position: absolute;
  inset: 0;
  background: #058ac0;
  z-index: 1;
  clip-path: polygon(
    32% 0,
    100% 0,
    100% 100%,
    32% 100%,
    29% 88%,
    54% 78%,
    30% 66%,
    55% 52%,
    31% 41%,
    56% 25%,
    32% 12%
  );
}

/* TEXT CONTENT */
.intro-text-content {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 560px;
  z-index: 5;
  text-align: center;
  color: white;
}

.intro-text-content .tag {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.intro-text-content h1 {
  font-size: 38px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 22px;
}

.intro-text-content p {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  margin-bottom: 28px;
}

/* PREMIUM BUTTON */
.discover-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 48px;
  background: #123c73;
  color: white;
  border: 2px solid white;
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.35s ease;
  box-shadow: 0 12px 30px rgba(18, 60, 115, 0.25);
}

.discover-btn:hover {
  background: white;
  color: #123c73;
  border: 2px solid #123c73;
  transform: translateY(-3px);
}

.discover-btn::before,
.discover-btn::after {
  display: none !important;
  content: none !important;
}

/* REVEAL */
.intro-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

/* ================= DETAIL SECTION ================= */

.academic-detail {
  position: relative;
  background: #fff;
  padding: 120px 60px;
}

.detail-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: auto;
}

.detail-text {
  width: 58%;
}

.detail-text h2 {
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.4;
}

.detail-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.detail-image {
  width: 38%;
}

.detail-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

/* ================= FULLSCREEN SLIDER ================= */

.fullscreen-slider {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* CONTENT BOX */
.content-box {
  position: absolute;
  bottom: 80px;
  left: 8%;
  display: flex;
  width: 600px;
  height: 230px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border-radius: 6px;
  overflow: hidden;
}

/* LEFT BLUE */
.blue-side {
  width: 40%;
  background: #2f4f7f;
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blue-side h4 {
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.blue-side h2 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.blue-side button {
  padding: 8px 14px;
  border: 1px solid white;
  background: transparent;
  color: white;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.blue-side button:hover {
  background: white;
  color: #2f4f7f;
}

/* RIGHT WHITE */
.white-side {
  width: 60%;
  background: white;
  padding: 25px 30px;
  display: flex;
  align-items: center;
}

.white-side p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

/* ARROWS */
.arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 45px;
  border: none;
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.arrow.left {
  margin-left: -35px;
}

.arrow.right {
  margin-left: 35px;
}

.arrow:hover {
  background: white;
}

/* ================= COLLAGE INTRO ================= */

.collage-intro {
  background: #f4f4f4;
  text-align: center;
  padding: 90px 20px 120px;
}

.collage-intro img {
  width: 58px;
  display: block;
  margin: 0 auto 22px;
}

.collage-intro p {
  max-width: 950px;
  margin: auto;
  font-size: 28px;
  line-height: 1.35;
  color: #222;
  font-weight: 400;
}

/* ================= PIXEL COLLAGE ================= */

.beau-collage {
  position: relative;
  background: #f4f4f4;
  padding: 0 0 140px;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scroll-behavior: smooth;
}

.beau-collage:active,
.beau-collage.dragging {
  cursor: grabbing;
}

.beau-collage::-webkit-scrollbar {
  height: 8px;
}

.beau-collage::-webkit-scrollbar-track {
  background: #e5e5e5;
}

.beau-collage::-webkit-scrollbar-thumb {
  background: #1f3f7a;
  border-radius: 20px;
}

.beau-grid {
  position: relative;
  width: 2050px;
  height: 1960px;
  margin: 0 auto;
}
/* DRAG MESSAGE */
.drag-indicator {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(70, 70, 70, 0.88);
  color: white;
  padding: 14px 28px;
  font-size: 15px;
  letter-spacing: 0.5px;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.beau-collage:hover .drag-indicator {
  opacity: 1;
}

/* ALL TILES */
.tile,
.collage-message {
  position: absolute;
  border: 8px solid #fff;
  background: #fff;
  box-sizing: border-box;
}

.tile {
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tile:hover {
  transform: scale(1.025);
  z-index: 5;
}

/* LEFT SIDE */
.t1 {
  width: 280px;
  height: 300px;
  left: -10px;
  top: 150px;
}

.t7 {
  width: 280px;
  height: 320px;
  left: -10px;
  top: 475px;
}

/* LEFT-MIDDLE COLUMN */
.t2 {
  width: 460px;
  height: 280px;
  left: 300px;
  top: 0;
}

.t3 {
  width: 460px;
  height: 310px;
  left: 300px;
  top: 305px;
}

.t8 {
  width: 460px;
  height: 300px;
  left: 300px;
  top: 640px;
}

.t12 {
  width: 460px;
  height: 300px;
  left: 300px;
  top: 965px;
}

/* CENTER COLUMN */
.t4 {
  width: 460px;
  height: 300px;
  left: 790px;
  top: 145px;
}

.t9 {
  width: 460px;
  height: 310px;
  left: 790px;
  top: 470px;
}

.collage-message {
  width: 460px;
  height: 300px;
  left: 790px;
  top: 805px;
  background: #1f3f7a;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 38px;
}

.collage-message img {
  width: 58px;
  margin-bottom: 22px;
}

.collage-message h2 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
}

.t13 {
  width: 460px;
  height: 280px;
  left: 790px;
  top: 1130px;
}

/* RIGHT-MIDDLE COLUMN */
.t5 {
  width: 460px;
  height: 300px;
  left: 1280px;
  top: 0;
}

.t10 {
  width: 460px;
  height: 310px;
  left: 1280px;
  top: 325px;
}

.t14 {
  width: 460px;
  height: 300px;
  left: 1280px;
  top: 660px;
}

.t15 {
  width: 460px;
  height: 300px;
  left: 1280px;
  top: 985px;
}

/* FAR RIGHT SMALL COLUMN */
.t6 {
  width: 270px;
  height: 300px;
  left: 1770px;
  top: 165px;
}

.t11 {
  width: 270px;
  height: 320px;
  left: 1770px;
  top: 490px;
}

.t16 {
  width: 270px;
  height: 300px;
  left: 1770px;
  top: 835px;
}

.t17 {
  width: 270px;
  height: 280px;
  left: -10px;
  top: 820px;
}

.t18 {
  width: 270px;
  height: 280px;
  left: -10px;
  top: 1125px;
}

.t19 {
  width: 270px;
  height: 260px;
  left: 1770px;
  top: 1160px;
}
/* NEW BOTTOM ROW */

.t20 {
  width: 460px;
  height: 300px;
  left: 300px;
  top: 1290px;
}

.t21 {
  width: 460px;
  height: 300px;
  left: 1280px;
  top: 1310px;
}

.t22 {
  width: 460px;
  height: 300px;
  left: 790px;
  top: 1435px;
}

.t23 {
  width: 270px;
  height: 300px;
  left: -10px;
  top: 1430px;
}

.t24 {
  width: 270px;
  height: 300px;
  left: 1770px;
  top: 1445px;
}
/* ================= TOUR SECTION ================= */

.tour-section {
  background: #f4f4f4;
  padding: 90px 0 110px;
}

.tour-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.tour-intro img {
  width: 60px;
  display: block;
  margin: 0 auto 25px;
}

.tour-intro p {
  font-size: 24px;
  line-height: 1.5;
  color: #444;
  font-weight: 400;
}

.tour-wrapper {
  display: flex;
  align-items: stretch;
  max-width: 1500px;
  margin: auto;
}

.tour-title {
  width: 140px;
  background: #f4f4f4;
  color: #0a7cff;
  font-size: 46px;
  font-weight: 300;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-image {
  position: relative;
  flex: 1;
  height: 520px;
  overflow: hidden;
}

.tour-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* DARK OVERLAY */
.tour-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.22);
  z-index: 1;
  pointer-events: none;
}

/* ================= PLAY BUTTON WITH LABEL ================= */

.tour-play {
  position: absolute;
  z-index: 6;

  width: auto;
  min-width: 135px;

  padding: 8px 16px 8px 8px;

  border: none;
  border-radius: 50px;

  background: #f26522;
  color: #fff;

  display: flex;
  align-items: center;
  gap: 10px;

  cursor: pointer;

  box-shadow: 0 8px 25px rgba(0,0,0,0.28);
  transition: transform 0.3s ease, background 0.3s ease;
}

.tour-play:hover {
  background: #ff6f2a;
  transform: translateY(-3px);
}

.tour-play span {
  width: 42px;
  height: 42px;

  border-radius: 50%;
  background: #fff;
  color: #f26522;

  display: grid;
  place-items: center;

  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.tour-play small {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* BUTTON POSITIONS */
.play-1 {
  top: 35%;
  left: 16%;
}

.play-2 {
  top: 54%;
  left: 50%;
}

.play-3 {
  top: 42%;
  right: 15%;
}

.play-4 {
  top: 24%;
  left: 56%;
}

/* Remove old connector lines/labels */
.tour-line,
.tour-label,
.line-1,
.line-2,
.line-3,
.line-4,
.label-1,
.label-2,
.label-3,
.label-4 {
  display: none !important;
}

/* ================= VIDEO POPUP ================= */

.video-popup {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.88);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 999999;

  padding: 25px;
}

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

.video-box {
  position: relative;

  width: min(900px, 95vw);

  background: #000;

  border-radius: 14px;
  overflow: visible;
}

.video-box video {
  width: 100%;
  max-height: 80vh;

  border-radius: 14px;

  display: block;
  background: #000;
}

.close-video {
  position: absolute;
  top: -52px;
  right: 0;

  width: 42px;
  height: 42px;

  border-radius: 50%;
  border: none;

  background: white;
  color: #111;

  font-size: 30px;
  line-height: 1;

  cursor: pointer;
  z-index: 10;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .tour-wrapper {
    display: block;
  }

  .tour-title {
    width: 100%;
    height: auto;
    writing-mode: horizontal-tb;
    transform: none;

    font-size: 36px;
    padding: 0 20px 35px;
    text-align: center;
  }

  .tour-image {
    height: 420px;
  }

  .tour-play {
    min-width: auto;
    padding: 7px 11px 7px 7px;
    gap: 7px;
  }

  .tour-play span {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .tour-play small {
    font-size: 11px;
  }

  .play-1 {
    top: 28%;
    left: 8%;
  }

  .play-2 {
    top: 53%;
    left: 35%;
  }

  .play-3 {
    top: 42%;
    right: 14%;
  }

  .play-4 {
    top: 18%;
    left: 48%;
  }
}

@media (max-width: 600px) {
  .tour-section {
    padding: 70px 0 80px;
  }

  .tour-intro {
    margin-bottom: 55px;
  }

  .tour-intro p {
    font-size: 18px;
  }

  .tour-title {
    font-size: 30px;
  }

  .tour-image {
    height: 360px;
  }

  .tour-play {
    transform: scale(0.92);
  }

  .tour-play:hover {
    transform: scale(0.92);
  }

  .play-1 {
    top: 26%;
    left: 5%;
  }

  .play-2 {
    top: 56%;
    left: 28%;
  }

  .play-3 {
    top: 42%;
    right: 18%;
  }

  .play-4 {
    top: 15%;
    left: 45%;
  }

  .video-popup {
    padding: 18px;
  }
}
/* ================= PREMIUM BACK BUTTON ================= */

.back-academic-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 120px 0 70px;
}

.premium-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  background: white;
  color: #002b5c;
  padding: 18px 34px;
  border-radius: 70px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}

.arrow-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7a1c2e, #9e2a3f);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 16px;
  transition: 0.4s ease;
}

.back-text {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.premium-back-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.14);
}

.premium-back-btn:hover .arrow-circle {
  transform: translateX(-4px);
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 900px) {

  .blue-shape {
    clip-path: none;
  }

  .intro-text-content {
    left: 50%;
    right: auto;
    width: 86%;
    max-width: 520px;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .intro-text-content h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .intro-text-content p {
    font-size: 15px;
    line-height: 1.65;
  }

  .detail-container {
    flex-direction: column;
    gap: 45px;
  }

  .detail-text,
  .detail-image {
    width: 100%;
  }

  .academic-detail {
    padding: 80px 28px;
  }

  .collage-intro {
    padding: 60px 24px;
  }

  .collage-intro p {
    font-size: 24px;
    line-height: 1.45;
  }
}

/* MOBILE */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
  }

  .section-tab,
  .in-this-section,
  .side-section-btn,
  .section-toggle,
  .section-sidebar,
  .section-nav {
    display: none !important;
  }

  .tour-section {
    padding: 70px 0;
  }

  .tour-wrapper {
    flex-direction: column;
  }

  .tour-title {
    width: 100%;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 32px;
    padding: 25px 0;
    text-align: center;
  }

  .tour-image {
    height: 310px;
  }

  .tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .tour-intro {
    margin-bottom: 50px;
    text-align: center;
    padding: 0 22px;
  }

  .tour-intro img {
    display: block;
    margin: 0 auto 25px;
  }

  .tour-intro p {
    font-size: 20px;
    line-height: 1.5;
  }

  .tour-play {
    width: 48px;
    height: 48px;
    font-size: 17px;
  }

  .tour-label,
  .tour-line {
    display: none;
  }

  .academic-detail {
    padding: 65px 22px;
  }

  .detail-text h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .detail-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .detail-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .fullscreen-slider {
    width: 100%;
    height: auto !important;
    min-height: auto !important;
    background: #fff !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .slides {
    display: flex !important;
    width: 100% !important;
    height: auto !important;
    transition: transform 0.8s ease-in-out;
  }

  .slide {
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    padding-top: 310px !important;
    position: relative !important;
  }

  .content-box {
    position: relative !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 44% 56% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    height: auto !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  .blue-side {
    width: 100% !important;
    background: #008fc7 !important;
    color: #fff !important;
    min-height: 220px !important;
    padding: 28px 18px 78px !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .blue-side h4 {
    font-size: 13px !important;
    letter-spacing: 3px !important;
    margin: 0 0 16px !important;
    color: #fff !important;
  }

  .blue-side h2 {
    font-size: clamp(25px, 7vw, 34px) !important;
    line-height: 1.08 !important;
    margin: 0 !important;
    color: #fff !important;
  }

  .blue-side .discover-btn,
  .blue-side button {
    position: absolute !important;
    left: 18px !important;
    bottom: 24px !important;
    background: #fff !important;
    color: #008fc7 !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 11px 20px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  .white-side {
    width: 100% !important;
    background: #fff !important;
    min-height: 220px !important;
    padding: 35px 22px 80px !important;
  }

  .white-side p {
    font-size: 16px !important;
    line-height: 1.55 !important;
    color: #333 !important;
    margin: 0 !important;
  }

  .fullscreen-slider .arrow {
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    transform: none !important;
    width: 56px !important;
    height: 56px !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 24px !important;
    z-index: 50 !important;
    margin-left: 0 !important;
  }

  .fullscreen-slider .arrow.left {
    right: 56px !important;
    left: auto !important;
    background: #f1f1f1 !important;
    color: #003b6f !important;
  }

  .fullscreen-slider .arrow.right {
    right: 0 !important;
    left: auto !important;
    background: #008fc7 !important;
    color: #fff !important;
  }
}

/* SMALL MOBILE */
@media (max-width: 600px) {

  .intro-text-content {
    width: 88%;
  }

  .intro-text-content h1 {
    font-size: 28px;
  }

  .intro-text-content p {
    font-size: 14px;
  }

  .academic-detail {
    padding: 55px 18px;
  }

  .detail-text h2 {
    font-size: 26px;
  }

  .detail-text p {
    font-size: 14px;
  }

  .tour-title {
    font-size: 28px;
  }

  .tour-image {
    height: 300px;
  }

  .tour-intro p {
    font-size: 18px;
  }

  .slide {
    padding-top: 300px !important;
  }

  .content-box {
    grid-template-columns: 45% 55% !important;
  }

  .blue-side {
    min-height: 220px !important;
    padding: 26px 16px 76px !important;
  }

  .blue-side h2 {
    font-size: clamp(23px, 6.6vw, 30px) !important;
  }

  .blue-side .discover-btn,
  .blue-side button {
    left: 16px !important;
    bottom: 24px !important;
    padding: 10px 17px !important;
    font-size: 9.5px !important;
  }

  .white-side {
    min-height: 220px !important;
    padding: 32px 20px 82px !important;
  }

  .white-side p {
    font-size: 15px !important;
  }

  .collage-intro p {
    font-size: 20px;
  }
}