/* ===== Global Styles ===== */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.4;
  background: #0f172a;
  color: #f1f5f9;
  overflow-x: hidden;
}

section {
  padding: 20px 0;
}

.course-overview .section-header {
  margin-bottom: 25px;
}

.course-overview .section-title,
.course-overview .section-subtitle {
  margin: 0;
  line-height: 1.4;
}

.course-overview .section-header {
  margin-bottom: 25px;
}

.course-overview .section-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: #002088;
  margin-bottom: -45px;
}

.course-overview .section-subtitle {
  font-size: 15px;
  line-height: 1.5;
  color: #000;
}


/* ===== Course Content Blocks ===== */
.course-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.content-block {
  background: #f2f2f2;
  padding: 10px;
  border-radius: 12px;
  transition: 0.3s ease;
  /* border: 1px solid;
  border-color: #cecece; */
}

.content-block:hover {
  transform: translateY(-5px);
  /* border-color: #ff8500; */
}

.content-block h5 {
  color: #001eb4;
  margin-bottom: 10px;
  font-size: 16px;
  text-align: left;
}

.content-block p {
  color: #000000;
  font-size: 12px;
  text-align: justify;
}
/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

/* ===== Section Spacing ===== */
section {
  padding: 50px 0;
}

/* ===== Tablet ===== */
@media (max-width: 992px) {
  section {
    padding: 40px 0;
  }

  .course-overview .section-title {
    font-size: 26px;
  }

  .course-overview .section-subtitle {
    font-size: 15px;
  }
}

/* ===== Mobile ===== */
@media (max-width: 600px) {
  section {
    padding: 35px 0;
  }

  .container {
    width: 94%;
  }

  .course-overview .section-title {
    font-size: 22px;
    line-height: 1.3;
  }

  .course-overview .section-subtitle {
    font-size: 14px;
    line-height: 1.6;
  }
}

.course-content {
  display: grid;
  gap: 10px;
}

/* Desktop - 4 columns */
@media (min-width: 1200px) {
  .course-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Laptop - 3 columns */
@media (max-width: 1199px) {
  .course-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet - 2 columns */
@media (max-width: 768px) {
  .course-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile - 1 column */
@media (max-width: 480px) {
  .course-content {
    grid-template-columns: 1fr;
  }
}


/* ================================
   COURSE SECTION SYSTEM
================================ */

.course-section {
  padding: 20px 0;
}

.course-section.light-bg {
  background: #f8fafc;
}

.course-container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

.course-container.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* ================================
   COURSE BOX CARD
================================ */

.course-box {
  background: #f4f4f4;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.course-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  border-color: #ff8500;
}

/* ================================
   HEADINGS & TEXT
================================ */

.course-box h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #ff8500;
  line-height: 1.3;
}

.course-box p {
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

.course-box ul {
  list-style: none;
  padding: 0;
}

.course-box ul li {
  font-size: 13px;
  line-height: 1.2;
  color: #444;
  margin-bottom: 12px;
}

/* ================================
   PRICE
================================ */

.price {
  font-size: 26px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 15px;
}

/* ================================
   BUTTONS
================================ */

.cta-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #ff8500;
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: #ff5400;
  transform: translateY(-3px);
}


/* Video Thumbnail Container */
.video-thumbnail {
  margin-top: 15px;
  height: 140px;
  border-radius: 20px;
  background-image: url("../img/videoimage.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.video-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
}


.play-btn {
  position: relative;
  z-index: 2;
  padding: 12px 24px;
  background: #ff8500;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}


.play-btn:hover {
  background: #e67300;
  transform: scale(1.05);
}



/* Student Name */

.student-name {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  margin-bottom: 15px;
}

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

/* Large screens ≥1200px */
@media (min-width: 1100px) {
  .course-container {
    max-width: 1100px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .course-container.two-column {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .course-container.two-column {
    grid-template-columns: 1fr;
  }

  .course-section {
    padding: 50px 0;
  }

  .course-box {
    padding: 22px;
  }

  .course-box h3 {
    font-size: 18px;
  }

  .course-box p,
  .course-box ul li {
    font-size: 14px;
  }
}


/* ================================
   FINAL CTA SECTION
================================ */

.cta-section {
  width: 100%;
  padding: 90px 20px;
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

.cta-content {
  max-width: 900px;
  margin: auto;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 500;
  color: #e67300;
  margin-bottom: 15px;
  line-height: 1.3;
}

.cta-section p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #e2e8f0;
}

/* CTA Button */
.cta-main-btn {
  padding: 14px 34px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  background: #ff8500;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}

.cta-main-btn:hover {
  background: #e67300;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .cta-section {
    padding: 60px 15px;
  }

  .cta-section h2 {
    font-size: 24px;
  }

  .cta-section p {
    font-size: 15px;
  }

  .cta-main-btn {
    width: 100%;
    max-width: 280px;
  }
}


/* =====================================
   GLOBAL FEATURES SECTION (COMMON)
===================================== */

.features-section {
  padding: 30px 0;
}

.feature-link {
  text-decoration: none;
  display: block;
}

.feature-card {
  background: #ffffff;
  padding: 25px 15px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  color: #111;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hover Effect */
.feature-card:hover {
  background: #ff8500;
  color: #ffffff;
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 133, 0, 0.25);
}


/* ======================================
   COMMON SYLLABUS SECTION
====================================== */

.course-syllabus {
  background: #f9fbff;   /* Light professional background */
  padding: 20px 0;
}

/* Section Heading */
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  color: #0d1b2a;
  /* margin-bottom: 4px; */
  position: relative;
  display: inline-block;
}

/* Underline Effect */
.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #ff8500; /* Brand color */
  display: block;
  margin: 10px auto 0;
  transition: 0.3s ease;
}

/* Hover effect on heading */
.section-title:hover::after {
  width: 100px;
}

/* Syllabus List */
.course-syllabus ul {
  list-style: none;
  padding-left: 0;
}

.course-syllabus li {
  font-size: 16px;
  color: #444;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 22px;
}

/* Custom Bullet */
.course-syllabus li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ff8500;
  font-size: 14px;
}

/* Hover effect on list */
.course-syllabus li:hover {
  color: #ff8500;
  transform: translateX(6px);
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 26px;
  }

  .course-syllabus li {
    font-size: 15px;
  }
}


/* =====================================
   COMMON ENROLL MODAL (ALL PAGES)
===================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: none;               /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-box {
  background: #ffbf00;
  width: 90%;
  max-width: 450px;
  padding: 35px 25px;
  border-radius: 12px;
  position: relative;
  animation: popupFade 0.3s ease;
}

@keyframes popupFade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-box h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.modal-box p {
  font-size: 14px;
  color: #000000;
  margin-bottom: 20px;
}

.modal-box input,
.modal-box select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.modal-box button {
  width: 100%;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}


/* =====================================
   COMMON COURSE HERO SECTION
===================================== */

.course-hero {
  position: relative;
  width: 100%;
  min-height: 85vh; /* Adjustable height */
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background Image */
.course-hero .hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Dark Overlay */
.course-hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.05);
  top: 0;
  left: 0;
  z-index: 2;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 20px;  /* 👈 Adjust this to push title closer to header */
  padding-bottom: 40px;
  color: #fff;
}

/* Main Title */
.course-hero h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #00ff62;
}

/* Sub Title */
.course-hero h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #ffffff;
}

/* Button Wrapper */
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Video Button */
.hero-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px;
  border-radius: 40px;
  /* background: rgba(255, 133, 0, 0.9); */
  background-color: #0f263e;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: 0.3s ease;
}

.hero-video-btn:hover {
  background: #757575;
  transform: translateY(-4px);
}

/* WhatsApp Button */
.hero-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 40px;
  background: #25d366;
  color: #fff;
  border: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.hero-whatsapp-btn:hover {
  background: #1ebe5b;
  transform: translateY(-4px);
}

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

  .course-hero {
    min-height: 70vh;
  }

  .course-hero h1 {
    font-size: 28px;
  }

  .course-hero h4 {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }
}




