* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #ffffff;
  color: #111;
  overflow-x: hidden;
}

/* ============================================
   NAVBAR
   ============================================ */
.main-nav {
  background: #182E7A;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 36px;
}

.brand-name {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: 0.3s ease;
}

.nav-menu a:hover {
  color: #ffd700;
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ffd700;
  bottom: -5px;
  left: 0;
}

.contact-btn {
  background: #4da3ff;
  padding: 7px 16px;
  border-radius: 20px;
  color: #fff !important;
  font-weight: 600;
  transition: 0.3s ease;
}

.contact-btn:hover {
  background: #1f6ed4;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #182E7A;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.mobile-menu.open {
  max-height: 400px;
  padding: 16px 20px;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 6% 60px;
  gap: 50px;
  background: #ffffff;
}

.left h1 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.left p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  margin-top: 24px;
  background: #ffb703;
  color: #000;
  padding: 13px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.right {
  display: flex;
  justify-content: flex-end;
}

.video-box {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   COURSE HIGHLIGHTS
   ============================================ */
.course-highlights {
  max-width: 1100px;
  margin: 0 auto;
  background: #182E7A;
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}

.highlight {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.highlight img {
  width: 55px;
  height: 55px;
}

.highlight h4 {
  margin: 6px 0 2px;
  font-size: 14px;
  color: #ffb703;
}

.highlight p {
  margin: 0;
  font-size: 12px;
  color: #fff;
  line-height: 1.3;
}

.divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

/* ============================================
   ABOUT COURSE
   ============================================ */
.about-course-section {
  padding: 60px 6%;
  background: #ffffff;
}

.about-course-section h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.about-course-section p {
  max-width: 900px;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 16px;
}

/* ============================================
   CURRICULUM — DESKTOP
   ============================================ */
.curriculum-section {
  padding: 60px 6%;
  background: #f4f7fb;
}

.curriculum-section h2 {
  text-align: center;
  margin-bottom: 36px;
  font-size: 30px;
}

.curriculum-container {
  display: flex;
  gap: 16px;
  background: #f6f8fc;
  border-radius: 12px;
  padding: 14px;
  height: 520px;
  overflow: hidden;
}

.modules {
  width: 240px;
  flex-shrink: 0;
  overflow-y: auto;
  padding-right: 6px;
  height: 100%;
}

.module {
  padding: 11px 12px;
  margin-bottom: 8px;
  background: #eef2ff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: 0.3s;
  line-height: 1.4;
}

.module:hover {
  background: #dbe4ff;
}

.module.active {
  background: #182E7A;
  color: #fff;
}

.module-content {
  flex: 1;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 10px;
  padding: 18px;
  height: 100%;
}

.content {
  display: none;
}

.content.active {
  display: block;
}

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

.content ul ul {
  margin-left: 20px;
  list-style-type: circle;
}

.content li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

/* ============================================
   CURRICULUM — MOBILE TIMELINE LIST
   Hidden on desktop, shown only on mobile
   ============================================ */
.curriculum-mobile-list {
  display: none;
}

/* ============================================
   CERTIFICATION
   ============================================ */
.certification-section {
  background: #fff;
  padding: 60px 6%;
}

.certification-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.certification-text h2 {
  font-size: 32px;
  margin-bottom: 16px;
  position: relative;
}

.certification-text h2::after {
  content: "";
  width: 70px;
  height: 3px;
  background: #000;
  display: block;
  margin-top: 10px;
}

.certification-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  max-width: 420px;
  margin-bottom: 28px;
}

.cert-btn {
  display: inline-block;
  background: #182E7A;
  color: #fff;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.cert-btn:hover {
  background: #e66d00;
}

.certification-images {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}

.certification-images img {
  width: 45%;
  max-width: 260px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* ============================================
   RECOMMENDED COURSES
   ============================================ */
.recommended-courses {
  padding: 60px 6%;
  text-align: center;
  background: #f5f7fa;
}

.recommended-courses h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.rec-sub {
  color: #64748b;
  margin-bottom: 30px;
  font-size: 15px;
}

.scroll-container {
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.course-grid {
  display: flex;
  gap: 24px;
  padding: 10px 4px;
  width: max-content;
}

.course-card {
  flex: 0 0 300px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.14);
}

.course-badge {
  position: absolute;
  top: 18px;
  left: -36px;
  background: linear-gradient(135deg, #ffb703, #ff8c00);
  color: #000;
  padding: 5px 48px;
  font-size: 11px;
  font-weight: 700;
  transform: rotate(-45deg);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.course-image img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.course-body {
  padding: 16px;
}

.course-title {
  font-size: 16px;
  font-weight: 700;
}

.course-duration {
  font-size: 12px;
  margin: 8px 0;
  background: #f1f3f5;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
}

.course-desc {
  font-size: 13px;
  color: #555;
  margin: 8px 0;
}

.course-syllabus {
  background: #f5f7fb;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0;
  text-align: left;
}

.course-syllabus ul {
  padding-left: 18px;
  margin: 0;
}

.course-syllabus li {
  font-size: 12px;
  color: #333;
  margin-bottom: 5px;
}

.course-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ffb703, #ff8c00);
  color: #000;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
}

.course-btn:hover {
  transform: translateX(4px);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
  background: #f8faff;
  padding: 60px 6%;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h2 {
  color: #182E7A;
  font-size: 32px;
  margin-bottom: 8px;
}

.contact-header p {
  color: #64748b;
  font-size: 15px;
}

.contact-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: start;
}

.contact-left h3 {
  color: #182E7A;
  margin-bottom: 18px;
}

.info-card {
  background: #ffffff;
  border-left: 4px solid #182E7A;
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.info-card h4 {
  color: #182E7A;
  margin-bottom: 8px;
  font-size: 14px;
}

.info-card p {
  color: #334155;
  font-size: 13px;
  line-height: 1.6;
}

.contact-right {
  background: #ffffff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(0,0,0,0.08);
}

.contact-right h3 {
  color: #182E7A;
  margin-bottom: 18px;
  text-align: center;
}

.contact-right input,
.contact-right select,
.contact-right textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 13px;
  font-size: 13px;
  font-family: inherit;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 0;
}

.form-row input {
  flex: 1;
  margin-bottom: 13px;
}

.contact-right textarea {
  min-height: 90px;
  resize: none;
}

.contact-right button {
  background: #182E7A;
  color: white;
  border: none;
  padding: 13px;
  width: 100%;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  font-family: inherit;
  font-weight: 600;
}

.contact-right button:hover {
  background: #0f1f55;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.modal-content {
  background: #fff;
  width: 100%;
  max-width: 420px;
  padding: 28px;
  border-radius: 12px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-content label {
  display: block;
  margin-top: 13px;
  font-weight: 600;
  font-size: 14px;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}

.submit-btn {
  width: 100%;
  background: #ffb703;
  border: none;
  padding: 13px;
  font-size: 15px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  margin-top: 16px;
}

/* ============================================
   CURRICULUM — MOBILE ACCORDION
   Hidden on desktop, shown only on mobile
   ============================================ */
.curriculum-accordion {
  display: none;
}

/* ============================================
   MOBILE — max-width: 900px
   ============================================ */
@media (max-width: 900px) {

  /* Navbar */
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .brand-name { font-size: 13px; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 5% 50px;
    gap: 30px;
  }

  .left h1 {
    font-size: 26px;
    line-height: 1.25;
  }

  .left p {
    font-size: 14px;
    margin: 0 auto;
    max-width: 420px;
  }

  .right { justify-content: center; }

  .video-box {
    max-width: 100%;
    border-radius: 14px;
  }

  /* Course Highlights */
  .course-highlights {
    margin: 20px 16px;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 14px;
  }

  .divider {
    width: 80%;
    height: 1px;
  }

  .highlight img {
    width: 44px;
    height: 44px;
  }

  /* About */
  .about-course-section { padding: 40px 5%; }
  .about-course-section h2 { font-size: 24px; }

  /* ── Curriculum ── */
  .curriculum-section {
    padding: 40px 5%;
    background: #f4f7fb;
  }
  .curriculum-section h2 {
    font-size: 24px;
    margin-bottom: 24px;
    color: #111;
  }

  /* Hide desktop tab layout */
  .curriculum-container { display: none; }
  /* Also hide old timeline list if present */
  .curriculum-mobile-list { display: none !important; }

  /* Show accordion */
  .curriculum-accordion {
    display: block;
  }

  .acc-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #dce6ff;
    box-shadow: 0 2px 10px rgba(24,46,122,0.06);
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .acc-item.open {
    background: #ffffff;
    border-color: #182E7A;
    box-shadow: 0 4px 16px rgba(24,46,122,0.13);
  }

  .acc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    cursor: pointer;
    gap: 12px;
    background: #ffffff;
  }

  .acc-item.open .acc-header {
    background: #182E7A;
  }

  .acc-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
  }

  .acc-num {
    font-size: 22px;
    font-weight: 700;
    color: rgba(24,46,122,0.2);
    flex-shrink: 0;
    line-height: 1;
    min-width: 32px;
  }

  .acc-item.open .acc-num {
    color: rgba(255,255,255,0.4);
  }

  .acc-left > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }

  .acc-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ffb703;
  }

  .acc-item.open .acc-tag {
    color: #ffd84d;
  }

  .acc-title {
    font-size: 14px;
    font-weight: 700;
    color: #182E7A;
    line-height: 1.3;
  }

  .acc-item.open .acc-title {
    color: #ffffff;
  }

  .acc-icon {
    font-size: 20px;
    font-weight: 400;
    color: #182E7A;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(24,46,122,0.3);
    border-radius: 50%;
    line-height: 1;
    background: #fff;
  }

  .acc-item.open .acc-icon {
    color: #182E7A;
    border-color: #ffffff;
    background: #ffffff;
  }

  .acc-body {
    display: none;
    padding: 0 18px 18px 64px;
    background: #ffffff;
  }

  .acc-item.open .acc-body {
    display: block;
  }

  .acc-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 2px solid #eef2ff;
    padding-top: 14px;
  }

  .acc-body li {
    font-size: 13px;
    color: #333;
    padding: 7px 0 7px 14px;
    border-bottom: 1px solid #eef2ff;
    line-height: 1.5;
    position: relative;
  }

  .acc-body li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #ffb703;
    font-size: 16px;
    font-weight: 700;
  }

  .acc-body li:last-child {
    border-bottom: none;
  }
    display: block;
    position: relative;
    background:#fff;
    border-radius: 14px;
    padding: 20px 20px 20px 44px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }

  .curriculum-mobile-list::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(to bottom, #22c55e 65%, #d1fae5);
    border-radius: 2px;
  }

  .curriculum-mobile-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #111;
    position: relative;
  }

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

  .curriculum-mobile-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #22c55e;
    border: 2px solid #16a34a;
    margin-left: -32px;
  }

  .curriculum-mobile-item span {
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    color: #111;
  }

  .curriculum-mobile-arrow {
    font-size: 18px;
    color: #bbb;
    font-weight: 400;
  }

  /* Certification */
  .certification-section { padding: 40px 5%; }

  .certification-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .certification-text h2 { font-size: 26px; }
  .certification-text h2::after { margin: 10px auto 0; }
  .certification-text p { margin: 0 auto 20px; }
  .certification-images { justify-content: center; }
  .certification-images img { width: 42%; }

  /* Recommended Courses */
  .recommended-courses { padding: 40px 4%; }
  .recommended-courses h2 { font-size: 24px; }
  .course-card { flex: 0 0 260px; }

  /* Contact */
  .contact-section { padding: 40px 5%; }
  .contact-header h2 { font-size: 26px; }
}

/* ============================================
   SMALL MOBILE — max-width: 480px
   ============================================ */
@media (max-width: 480px) {
  .brand-name { font-size: 11px; }
  .nav-logo img { height: 30px; }
  .left h1 { font-size: 22px; }
  .course-card { flex: 0 0 240px; }
  .certification-images img { width: 44%; }
  .modal-content { padding: 20px 16px; }
}

/* ============================================
   CONTACT — collapse to single column on mobile
   ============================================ */
@media (max-width: 700px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .form-row input {
    width: 100%;
  }
}

/* ============================================
   CURRICULUM DESKTOP — SCROLLER
   Only applied above 900px so it never
   overrides the mobile display:none rule
   ============================================ */
@media (min-width: 901px) {

  .curriculum-container {
    display: flex;
    gap: 16px;
    background: #f6f8fc;
    border-radius: 12px;
    padding: 14px;
    height: 520px;
    overflow: hidden;
  }

  .modules {
    width: 240px;
    flex-shrink: 0;
    overflow-y: auto;
    padding-right: 6px;
    height: 100%;
    scroll-behavior: smooth;
  }

  .module-content {
    flex: 1;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 18px;
    height: 100%;
    scroll-behavior: smooth;
  }

  .modules::-webkit-scrollbar,
  .module-content::-webkit-scrollbar {
    width: 6px;
  }

  .modules::-webkit-scrollbar-thumb,
  .module-content::-webkit-scrollbar-thumb {
    background: #182E7A;
    border-radius: 10px;
  }

  .modules::-webkit-scrollbar-track,
  .module-content::-webkit-scrollbar-track {
    background: #eef2ff;
    border-radius: 10px;
  }

  .modules,
  .module-content {
    scrollbar-width: thin;
    scrollbar-color: #182E7A #eef2ff;
  }

}

/* MOBILE ACCORDION LIGHT THEME — overrides */
@media (max-width: 900px) {

/* Section background stays light */
.curriculum-section {
  background: #f0f4ff;
}

/* Ensure accordion section heading is dark on light bg */
.curriculum-section h2 {
  color: #182E7A;
}

}
