/* =========================================================
   PEMARC PMP COURSE PAGE
   ========================================================= */

:root {
  --primary: #1a237e;
  --primary-dark: #10185e;
  --secondary: #f6a623;
  --text: #202020;
  --muted: #6b7280;
  --light: #f7f8fc;
  --white: #fff;
  --border: #e6e8ef;
  --shadow: 0 15px 45px rgba(16, 24, 94, .10);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
}

.topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar a { color: #fff; }

.topbar-divider {
  opacity: .35;
  margin: 0 12px;
}

.social-links {
  display: flex;
  gap: 18px;
}

.social-links a:hover { color: var(--secondary); }

.nav-wrap {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 35px;
}

.logo {
  display: block;
  width: 160px;
  flex-shrink: 0;
}

.logo img {
  display: block;
  max-height: 70px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex: 1;
}

.main-nav > a,
.nav-dropdown > a {
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.main-nav > a:hover,
.nav-dropdown > a:hover {
  color: var(--primary);
}

.nav-dropdown {
  position: relative;
  padding: 30px 0;
}

.dropdown-menu {
  position: absolute;
  top: 78px;
  left: -25px;
  width: 470px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 28px;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu strong {
  display: block;
  color: var(--primary);
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.dropdown-menu a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
}

.dropdown-menu a:hover { color: var(--primary); }

.nav-apply {
  background: var(--primary);
  color: #fff;
  padding: 12px 21px;
  border-radius: 5px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-apply:hover { background: var(--primary-dark); }

.menu-toggle { display: none; }

/* HERO */

.course-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(246,166,35,.18), transparent 28%),
    linear-gradient(135deg, #eef1ff 0%, #fff 62%);
  padding: 105px 0 95px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--primary);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.hero-copy p {
  max-width: 680px;
  color: #555;
  font-size: 18px;
  margin: 0 0 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 5px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: .2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.hero-card {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 25px;
}

.hero-card-inner {
  width: 100%;
  max-width: 390px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 25px 70px rgba(26,35,126,.25);
  text-align: center;
  position: relative;
}

.hero-card-inner:after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
}

.hero-card-small {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 2px;
  opacity: .8;
}

.hero-card strong {
  position: relative;
  z-index: 1;
  font-size: 90px;
  line-height: 1;
  margin: 18px 0;
}

.hero-card span:last-child {
  position: relative;
  z-index: 1;
  font-weight: 600;
}

/* SECTIONS */

.section {
  padding: 100px 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
}

.section-heading h2,
.split-grid h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.section-heading .eyebrow { margin-bottom: 15px; }

/* INTAKES */

.intakes { background: #fff; }

.intake-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.intake-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
}

.intake-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  transition: .25s ease;
}

.intake-label {
  display: inline-block;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.intake-card h3 {
  color: var(--primary);
  font-size: 25px;
  margin: 0 0 25px;
  line-height: 1.25;
}

.course-details {
  border-top: 1px solid var(--border);
}

.course-details div {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.course-details strong,
.course-details span {
  display: block;
}

.course-details strong {
  color: var(--primary);
  font-size: 13px;
  margin-bottom: 4px;
}

.course-details span {
  color: #555;
  font-size: 14px;
}

.card-actions {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

.text-link:hover { color: var(--secondary); }

.card-actions .btn {
  margin-top: 8px;
}

/* WHY */

.why-course {
  background: var(--light);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 16px;
}

.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  display: grid;
  place-items: center;
}

.image-card {
  min-height: 470px;
  border-radius: 20px;
  overflow: hidden;
  /* background: var(--primary); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 40px;
}

.pmp-visual {
  /* background:
    radial-gradient(circle at 30% 20%, rgba(246,166,35,.35), transparent 25%),
    linear-gradient(145deg, #1a237e, #0d155f); */
}

.pmp-visual.light {
  /* background:
    radial-gradient(circle at 70% 20%, rgba(246,166,35,.35), transparent 25%),
    linear-gradient(145deg, #111a6b, #1a237e); */
}

.visual-pmp {
  font-size: clamp(65px, 8vw, 105px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -5px;
}

.image-card span {
  margin-top: 25px;
  opacity: .85;
}

/* LEARN */

.learn-section {
  background: #fff;
}

.learn-section p {
  color: #555;
  font-size: 16px;
}

.large-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 16px;
}

/* BENEFITS */

.pemarc-benefits {
  background: var(--light);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-grid article {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}

.benefit-grid article span {
  display: block;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}

.benefit-grid h3 {
  color: var(--primary);
  margin: 0 0 10px;
  font-size: 19px;
}

.benefit-grid p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* TESTIMONIALS */

.testimonials { background: #fff; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial {
  background: var(--light);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
}

.stars {
  color: var(--secondary);
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.testimonial p {
  color: #555;
  margin: 0 0 22px;
}

.testimonial h4 {
  color: var(--primary);
  margin: 0;
}

.testimonial span {
  color: #777;
  font-size: 13px;
}

/* CTA */

.cta-section {
  background: var(--primary);
  color: #fff;
  padding: 70px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-section .eyebrow { color: var(--secondary); }

.cta-section h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 8px;
}

.cta-section p {
  margin: 0;
  opacity: .8;
}

/* FAQ */

.faq-section { background: #fff; }

.faq-list {
  max-width: 900px;
  margin: auto;
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 23px 45px 23px 0;
  font-weight: 700;
  color: var(--primary);
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 5px;
  top: 17px;
  font-size: 25px;
  font-weight: 400;
}

.faq-list details[open] summary:after { content: "−"; }

.faq-list details p {
  color: #666;
  margin: -5px 0 25px;
  max-width: 850px;
}

/* FOOTER */

.footer {
  background: #1a237e;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 75px 0;
}

.footer h2 {
  font-size: 22px;
  margin: 0 0 25px;
}

.footer a {
  color: #fff;
  opacity: .9;
}

.footer a:hover { color: var(--secondary); }

.footer-grid > div:first-child a {
  display: block;
  margin-bottom: 9px;
}

.footer p {
  color: rgba(255,255,255,.8);
  margin: 0 0 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 20px 0;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}

/* FLOATING WHATSAPP */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 27px;
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
  z-index: 999;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .main-nav { gap: 18px; }
  .nav-apply { display: none; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .intake-grid { grid-template-columns: 1fr; }
  .intake-card { max-width: 760px; margin: auto; width: 100%; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 30px, 680px); }

  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .social-links { display: none; }

  .nav-inner {
    min-height: 75px;
    justify-content: space-between;
  }

  .logo { width: 140px; }

  .menu-toggle {
    display: block;
    border: 0;
    background: none;
    font-size: 30px;
    color: var(--primary);
    cursor: pointer;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .menu-open .main-nav { display: flex; }

  .nav-dropdown { padding: 0; }

  .dropdown-menu {
    position: static;
    display: block;
    width: auto;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 15px;
  }

  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .course-hero { padding: 70px 0; }

  .hero-copy h1 { font-size: 45px; }

  .hero-card { min-height: 300px; }

  .benefit-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 55px 0;
  }
}

@media (max-width: 520px) {
  .topbar {
    display: none;
  }

  .course-hero {
    padding: 55px 0;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .intake-card {
    padding: 25px;
  }

  .image-card {
    min-height: 340px;
  }

  .visual-pmp {
    font-size: 70px;
  }
}
