/* ── Base: Variables, Body, Typography, Hero ──────────────────────────────── */
/* General Styles */
:root {
  --bg-dark: #0c0c0c;
  --text-white: #ffffff;
  --text-muted: #888888;
  --primary-red: #ff3b30;
  --accent-yellow: #ffcc00;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.course-page {
  margin-top: 150px;
}

/* Reusable Gradient Border */
.gradient-border {
  position: relative;
  isolation: isolate;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(
    to left,
    rgba(66, 134, 245, 0) 10%,
    rgba(94, 94, 94, 0) 14%,
    rgba(161, 161, 161, 0.5) 90%,
    rgba(161, 161, 161, 0.5) 50%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  border-radius: 24px;
}

/* Typography */
.main-heading {
  font-family: "Switzer", sans-serif;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.sub-heading {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: #aaaaaa;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Hero Banner Scope & Typography Protection */
.hero-banner-area {
  position: relative;
  width: 100%;
  overflow: visible;
}

.hero-banner-area .hero-text-container {
  position: relative;
  z-index: 2;
}

.hero-banner-area .main-heading {
  font-size: clamp(2.3rem, 3.8vw, 3.85rem);
  line-height: 1.16;
  margin-bottom: 1.25rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 14px;
  position: relative;
  z-index: 2;
  text-wrap: balance;
}

.hero-banner-area .sub-heading {
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  color: #aaaaaa;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 14px;
  position: relative;
  z-index: 2;
  text-wrap: balance;
}

@media (max-width: 768px) {
  .sub-heading,
  .hero-banner-area .sub-heading,
  .heading-description-section .sub-heading {
    font-size: 0.84rem;
    line-height: 1.5;
  }
}

/* Badges */
.badge-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: 10px;
}

@media (max-width: 768px) {
  .badge-pill {
    font-size: 0.6rem;
  }
}

/* CTA Buttons and Limited Seats */
.hero-cta-wrapper {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.hero-cta-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 8px 8px 8px 30px;
  backdrop-filter: blur(10px);
  gap: 20px;
}

.limited-text {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 400;
  white-space: nowrap;
}

.hero-buttons {
  display: flex;
  gap: 12px;
}

.btn-apply {
  background: #e3342f;
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-apply:hover {
  background: #cc2a25;
  transform: translateY(-1px);
}

.btn-download {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-download:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  color: #fff;
}

/* Mobile CTA Styles - Stacked layout ONLY for small devices */
@media (max-width: 576px) {
  .hero-cta-pill {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    width: 100%;
    gap: 15px;
    backdrop-filter: none;
  }

  .limited-text {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .hero-buttons {
    width: 100%;
    padding: 0 15px;
    gap: 12px;
  }

  .btn-apply,
  .btn-download {
    flex: 1;
    padding: 10px 8px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    border-radius: 50px;
    gap: 10px;
  }

  .btn-apply {
    background: #e3342f;
    box-shadow: 0 4px 15px rgba(227, 52, 47, 0.3);
  }

  .btn-download {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }
}

/* Floating Icons */
.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

.icon {
  position: absolute;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(150deg, #30333a 0%, #202227 45%, #141518 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 18px 34px -4px rgba(0, 0, 0, 0.75),
    0 4px 10px rgba(0, 0, 0, 0.45),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.25),
    inset 0 -3px 6px rgba(0, 0, 0, 0.7);
  animation: float 6s ease-in-out infinite;
  box-sizing: border-box;
  pointer-events: auto;
  cursor: default;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.icon:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 
    0 24px 42px -4px rgba(0, 0, 0, 0.85),
    0 6px 14px rgba(0, 0, 0, 0.6),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.35),
    inset 0 -3px 6px rgba(0, 0, 0, 0.8);
}

.icon img {
  width: 30px;
  height: 30px;
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.icon .icon-label {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.70rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(18, 20, 24, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  transition: all 0.3s ease;
}

.icon:hover .icon-label {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(26, 29, 36, 0.95);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6), 0 0 12px rgba(255, 255, 255, 0.1);
}

/* Universal 4-Quadrant Positions with guaranteed safe buffer from hero text */
.icon:nth-child(1), .icon.pos-top-left {
  top: 10%;
  left: max(32px, calc(50% - 620px));
  right: auto;
  bottom: auto;
  animation-delay: 0s;
}
.icon:nth-child(2), .icon.pos-bottom-left {
  top: 50%;
  left: max(16px, calc(50% - 660px));
  right: auto;
  bottom: auto;
  animation-delay: 1.5s;
}
.icon:nth-child(3), .icon.pos-top-right {
  top: 10%;
  right: max(32px, calc(50% - 620px));
  left: auto;
  bottom: auto;
  animation-delay: 3s;
}
.icon:nth-child(4), .icon.pos-bottom-right {
  top: 50%;
  right: max(16px, calc(50% - 660px));
  left: auto;
  bottom: auto;
  animation-delay: 4.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Responsive Scaling for Laptops and Tablets */
@media (max-width: 1366px) {
  .hero-banner-area .main-heading {
    max-width: 820px;
    font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  }
  .hero-banner-area .sub-heading {
    max-width: 720px;
  }
  .icon:nth-child(1), .icon.pos-top-left {
    left: max(20px, calc(50% - 560px));
    top: 8%;
  }
  .icon:nth-child(2), .icon.pos-bottom-left {
    left: max(12px, calc(50% - 600px));
    top: 52%;
  }
  .icon:nth-child(3), .icon.pos-top-right {
    right: max(20px, calc(50% - 560px));
    top: 8%;
  }
  .icon:nth-child(4), .icon.pos-bottom-right {
    right: max(12px, calc(50% - 600px));
    top: 52%;
  }
}

@media (max-width: 1200px) {
  .hero-banner-area .main-heading {
    max-width: 720px;
    font-size: clamp(2.1rem, 3.2vw, 2.9rem);
  }
  .hero-banner-area .sub-heading {
    max-width: 640px;
    font-size: 0.95rem;
  }
  .icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
  .icon img {
    width: 25px;
    height: 25px;
  }
  .icon .icon-label {
    font-size: 0.65rem;
    padding: 1.5px 7px;
  }
  .icon:nth-child(1), .icon.pos-top-left {
    left: 14px;
    top: 8%;
  }
  .icon:nth-child(2), .icon.pos-bottom-left {
    left: 10px;
    top: 54%;
  }
  .icon:nth-child(3), .icon.pos-top-right {
    right: 14px;
    top: 8%;
  }
  .icon:nth-child(4), .icon.pos-bottom-right {
    right: 10px;
    top: 54%;
  }
}

@media (max-width: 1040px) {
  .hero-banner-area .main-heading {
    max-width: 640px;
    font-size: 2.4rem;
  }
  .icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .icon img {
    width: 22px;
    height: 22px;
  }
  .icon .icon-label {
    font-size: 0.60rem;
    padding: 1px 6px;
  }
  .icon:nth-child(1), .icon.pos-top-left {
    left: 10px;
    top: 6%;
  }
  .icon:nth-child(2), .icon.pos-bottom-left {
    left: 8px;
    top: 56%;
  }
  .icon:nth-child(3), .icon.pos-top-right {
    right: 10px;
    top: 6%;
  }
  .icon:nth-child(4), .icon.pos-bottom-right {
    right: 8px;
    top: 56%;
  }
}

/* ── Fanned Cards (course-hero) ───────────────────────────────────────────── */
.fanned-cards-container-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
  background: transparent;
}

.fanned-cards-container-wrapper::before,
.fanned-cards-container-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 400px;
  z-index: 200;
  pointer-events: none;
}

.fanned-cards-container-wrapper::before {
  left: 0;
  background: linear-gradient(
    to right,
    #0c0c0c 0px,
    #0c0c0c 8px,
    transparent 100%
  );
}

.fanned-cards-container-wrapper::after {
  right: 0;
  background: linear-gradient(
    to left,
    #0c0c0c 0px,
    #0c0c0c 8px,
    transparent 100%
  );
}

@media (max-width: 768px) {
  .fanned-cards-container-wrapper::before,
  .fanned-cards-container-wrapper::after {
    width: 150px;
  }
}

.heading-description-section {
  margin-bottom: 80px;
  margin-top: 80px;
}

.fanned-cards-container {
  position: relative;
  padding-bottom: 110px;
  margin-bottom: 15px;
}

.fanned-cards {
  position: relative;
  height: 440px;
  perspective: 2000px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.fanned-card {
  position: absolute;
  bottom: 50px;
  left: 50%;
  width: 280px;
  aspect-ratio: 4 / 5;
  height: auto;
  overflow: hidden;
  background: #111;
  transform-origin: center 2000px;
  will-change: transform;
  cursor: pointer;
  border-radius: 10px;
}

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

.curved-text-wrap {
  position: absolute;
  top: 78%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 100;
  width: 90%;
  max-width: 900px;
}

.curved-text-wrap svg {
  width: 100%;
  overflow: visible;
}
.curved-text-wrap text {
  fill: #ffffff;
  font-size: 22px;
  font-family: "Caveat", cursive;
  letter-spacing: 7px;
}

/* ── Course Highlights Starburst (course-hero) ────────────────────────────── */
.course-highlights-container {
  position: relative;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.highlights-title {
  font-family: "Caveat", cursive;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 2rem;
  color: #fff;
  z-index: 5;
  margin: 0;
}

.highlight-item {
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
  position: absolute;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.highlight-item::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask-image: url("https://website-main.blr1.cdn.digitaloceanspaces.com/assets/website/Highlights-Arrow-Icon.svg");
  mask-image: url("https://website-main.blr1.cdn.digitaloceanspaces.com/assets/website/Highlights-Arrow-Icon.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.blue {
  background-color: #a0d8ef;
  color: #000;
}
.item-top-left {
  top: 20%;
  left: 15%;
}
.item-top-left::before {
  bottom: -105px;
  right: -50%;
  transform: rotate(2deg);
  margin: 100px;
  color: #a0d8ef;
  display: block;
  max-width: 180px;
  white-space: normal;
  word-wrap: break-word;
}

.yellow {
  background-color: #ffd966;
  color: #000;
}
.item-top-right {
  top: 20%;
  right: 15%;
}
.item-top-right::before {
  bottom: -16px;
  left: -7%;
  transform: rotate(110deg);
  color: #ffd966;
}

.pink {
  background-color: #ffafa3;
  color: #000;
}
.item-middle-right {
  top: 55%;
  right: -5%;
}
.item-middle-right::before {
  left: -25px;
  top: 25%;
  transform: translateY(-50%) rotate(170deg);
  color: #ffafa3;
}

.light-green {
  background-color: #dde394;
  color: #000;
}
.item-bottom-left {
  bottom: 15%;
  left: 5%;
}
.item-bottom-left::before {
  top: -6px;
  right: -8%;
  transform: rotate(300deg);
  color: #dde394;
}

.light-blue {
  background-color: #80caff;
  color: #000;
}
.item-bottom-right {
  bottom: 10%;
  right: 25%;
}
.item-bottom-right::before {
  top: -8px;
  left: -10%;
  transform: rotate(-170deg);
  color: #80caff;
}

@media (max-width: 992px) {
  .course-highlights-container {
    height: auto;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 50px;
  }
  .highlights-title {
    position: static;
    margin-bottom: 30px;
    font-size: 2rem;
  }
  .highlight-item {
    position: static;
    white-space: normal;
    text-align: center;
    width: 90%;
    max-width: 350px;
  }
  .highlight-item::before {
    display: none;
  }

  .main-heading,
  .hero-banner-area .main-heading {
    font-size: 2.4rem;
    max-width: 100%;
  }
  .fanned-card {
    width: 180px;
    margin-left: -90px;
    bottom: 0;
  }
  .fanned-cards {
    height: 200px;
  }
  .floating-icons {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .highlights-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
  }
  .highlight-item {
    font-size: 0.76rem;
    padding: 7px 14px;
    max-width: 250px;
  }

  .main-heading,
  .hero-banner-area .main-heading {
    font-size: 1.85rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    max-width: 100%;
  }
  .sub-heading,
  .hero-banner-area .sub-heading,
  .heading-description-section .sub-heading {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 1.25rem;
    max-width: 94%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-wrapper {
    margin-top: 1.25rem;
  }
  .limited-text {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }
  .badge-pill {
    font-size: 0.62rem;
    padding: 4px 10px;
    margin-right: 6px;
  }
  .btn-apply,
  .btn-download {
    padding: 9px 12px;
    font-size: 0.78rem;
  }
  .fanned-cards-container-wrapper::before,
  .fanned-cards-container-wrapper::after {
    width: 50px;
  }
  .fanned-cards-container {
    padding-bottom: 25px;
    margin-bottom: 20px;
  }
  .fanned-cards {
    height: 215px;
    margin-bottom: 0;
  }
  .fanned-card {
    width: 165px;
    margin-left: -82.5px;
    bottom: 0;
  }
  .curved-text-wrap {
    top: 92%;
    width: 100%;
  }
  .curved-text-wrap text {
    font-size: 13px;
    letter-spacing: 2px;
  }
  .course-page {
    margin-top: 100px;
  }
}

@media (max-width: 400px) {
  .sub-heading,
  .hero-banner-area .sub-heading,
  .heading-description-section .sub-heading {
    font-size: 0.74rem;
    line-height: 1.42;
  }
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ── Modern Spacing Utility Shims for Bootstrap 4 ─────────────────────── */
.me-1 { margin-right: 0.35rem !important; }
.me-2 { margin-right: 0.55rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.ms-1 { margin-left: 0.35rem !important; }
.ms-2 { margin-left: 0.55rem !important; }
.ms-3 { margin-left: 1rem !important; }
.pe-1 { padding-right: 0.35rem !important; }
.pe-2 { padding-right: 0.55rem !important; }
.pe-3 { padding-right: 1rem !important; }
.ps-1 { padding-left: 0.35rem !important; }
.ps-2 { padding-left: 0.55rem !important; }
.ps-3 { padding-left: 1rem !important; }

