/* ===== GLOBAL RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #e9f3ef;
  overflow-x: hidden;
}

:root {
  --hero-start: #0d2a25;
  --hero-end: #180d6b;
  --accent: #eaf2f6;
  --accent-2: #2587e2;
  --ink-dim: #2c95e1;
  --container: min(1200px, 92vw);

  /* Section 2 variables */
  --size: clamp(220px, 30vw, 260px);
  --invest-1: #c7cdd5;
  --invest-2: #aab1bb;
  --create-1: #0a2344;
  --create-2: #0d335f;
  --perform-1: #26e7ff;
  --perform-2: #08b9d6;
  --ink: #0b1830;
  --pill: #bfe7ff;
  --hover-glow: 0 12px 28px rgba(8, 185, 214, 0.3), 0 6px 16px rgba(0, 0, 0, 0.14);
}

.course-top-banner {
  background: linear-gradient(135deg, #001b3a, #003366, #004080);
  color: white;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  z-index: 1;
  border-bottom: 2px solid #0b3d91;
}

.course-top-content .subtitle {
  font-size: 14px;
  letter-spacing: 2px;
  color: #9ec8ff;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-weight: 600;
}

.course-top-content h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

.course-top-content .stars {
  color: #ffb84d;
  font-size: 22px;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.course-top-content .students {
  font-size: 16px;
  color: #d1e4ff;
  font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .course-top-content h1 {
    font-size: 28px;
  }
  .course-top-banner {
    padding: 60px 15px;
  }
}
/* ==========================================
   COURSE TITLE INSIDE HERO
========================================== */
.hero__course-title {
  grid-column: 1 / -1;
  text-align: center;
  padding: 10px 20px 10px;
  color: #fff;
}

.hero__course-title h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 18px;
}

.course-stars {
  font-size: 26px;
  color: #ffcc33;
  margin-bottom: 10px;
  letter-spacing: 6px;
}

.enrolled-count {
  font-size: 18px;
  color: #cfd8ff;
  margin-bottom: 25px;
}

.hero-divider {
  width: 80%;
  margin: 0 auto;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.22);
}

/* Mobile */
@media (max-width: 768px) {
  .hero__course-title h2 {
    font-size: 28px;
  }
  .course-stars {
    font-size: 20px;
    letter-spacing: 4px;
  }
}


/* ===== HERO SECTION ===== */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr; /* Text | Video | Info */
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 60px;
  min-height: 90vh;
  background: linear-gradient(120deg, #0a1445, #0b0f2b 40%, #1e1a72);
  color: #fff;
  overflow: hidden;
}

/* LEFT TEXT */
.hero__title {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.2;
}
.hero__title-accent {
  color: #00aaff;
  text-shadow: 0 0 20px rgba(0, 174, 255, 0.3);
}
.hero__subtitle {
  margin-top: 20px;
  font-size: 18px;
  color: #cfd9ff;
  max-width: 420px;
}

/* CENTER VIDEO */
.hero__media {
  display: flex;
  justify-content: center;
  align-items: center;
}
.media-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}
.media-card:hover {
  transform: scale(1.03);
}
.media-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(45deg, #007bff, #7f00ff);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 25px rgba(0, 174, 255, 0.6);
  transition: all 0.3s ease;
}
.media-card__play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
.play__icon {
  fill: white;
  width: 36px;
  height: 36px;
}

/* RIGHT COURSE BOX */
.hero__meta {
  background: rgba(255, 255, 255, 0.08);
  padding: 35px;
  border-radius: 12px;
  max-width: 380px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.course-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}
.course-details {
  list-style: none;
  padding: 0;
}
.course-details li {
  font-size: 15px;
  margin: 12px 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}
.course-details li i {
  color: #00c8ff;
  font-size: 18px;
}
.course-details li:hover {
  transform: translateX(6px);
  color: #00c8ff;
}

/* VIDEO MODAL */
.videobox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.videobox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(3px);
}
.videobox__inner {
  position: relative;
  width: min(960px, 92vw);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}
.videobox__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}
.videobox iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
    padding: 80px 20px;
  }
  .hero__meta {
    margin: auto;
  }
  .media-card {
    max-width: 500px;
  }
}



/* =======================================
    SECTION  — OUR APPROACH (UDEMY STYLE)
=========================================*/
.course-details-section {
  padding: 30px 8%;
  background: var(--white-soft);
}

.section-title {
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  color: #0a1445;
  margin-bottom: 40px;
}

.details-block {
  background: var(--white-pure);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e7efff;
}

.details-block h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0a1445;
  margin-bottom: 10px;
}

.details-block p {
  color: #354060;
  line-height: 1.6;
}


/* =======================================
    BENEFITS — UDEMY GRID CARDS
=========================================*/
.benefits-section {
  padding: 20px 8%;
  background: var(--white-pure);
}

.benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.benefit-card {
  background: var(--white-soft);
  border: 1px solid #dce7ff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transition: 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.benefit-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0a1445;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 16px;
  color: #3b4570;
  line-height: 1.6;
}


/* =======================================
     RESPONSIVE ADJUSTMENTS
=========================================*/
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 20px;
  }

  .hero__meta {
    margin: auto;
  }

  .benefit-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
}
