/* ============================================================
   PKBM SEMESTA ILMU — Design System
   Navy Blue (#0A192F) | Orange (#FF8C00) | Green (#4CAF50)
   ============================================================ */

/* --- IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* --- CSS VARIABLES --- */
:root {
  /* [EDIT] Primary Colors */
  --navy: #0A192F;
  --navy-light: #112240;
  --navy-dark: #060F1F;
  --navy-glass: rgba(10, 25, 47, 0.85);

  /* [EDIT] Accent Colors */
  --orange: #FF8C00;
  --orange-hover: #FF9F2E;
  --orange-glow: rgba(255, 140, 0, 0.25);
  --green: #4CAF50;
  --green-light: #66BB6A;

  /* Neutrals */
  --white: #FFFFFF;
  --white-soft: rgba(255, 255, 255, 0.88);
  --white-muted: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 50px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.35s var(--ease);
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white-soft);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-hover); }
ul, ol { list-style: none; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { margin-bottom: 1rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--orange);
}
.section-title { margin-bottom: 18px; }
.section-desc {
  max-width: 620px;
  color: var(--white-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: var(--navy);
  box-shadow: 0 4px 25px var(--orange-glow);
}
.btn-primary:hover {
  background: var(--orange-hover);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 35px var(--orange-glow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
.header.scrolled {
  background: var(--navy-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* [EDIT] Logo — ganti src di HTML */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
}
.nav-logo img {
  height: 40px;
  width: auto;
}
.nav-logo span { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--white-soft);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  text-decoration: none;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  padding: 10px 24px;
  background: var(--orange);
  color: var(--navy) !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--orange-hover);
  color: var(--navy) !important;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
}
.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 4px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content h1 em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}
.hero-content p {
  font-size: 1.1rem;
  color: var(--white-muted);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.hero-stat h3 {
  font-size: 2rem;
  color: var(--orange);
}
.hero-stat p {
  font-size: 0.85rem;
  color: var(--white-muted);
  margin: 0;
}

/* ============================================================
   CARDS (Programs, Features)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 140, 0, 0.15);
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--orange-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--white-muted); font-size: 0.95rem; }

/* ============================================================
   SECTION — GENERAL
   ============================================================ */
section { padding: var(--section-pad); }
.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.testimonial-card .stars {
  color: var(--orange);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--white-soft);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 0.95rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--orange);
}
.testimonial-author .info span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}
.testimonial-author .info small {
  font-size: 0.78rem;
  color: var(--white-muted);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: var(--transition);
}
.faq-question:hover { color: var(--orange); }
.faq-question .icon {
  font-size: 1.4rem;
  transition: var(--transition);
  color: var(--orange);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p {
  padding-bottom: 22px;
  color: var(--white-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white-soft);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-item .icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--orange-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.contact-info-item p {
  font-size: 0.88rem;
  color: var(--white-muted);
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about p {
  font-size: 0.9rem;
  color: var(--white-muted);
  margin-top: 14px;
}
.footer h4 {
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--white);
}
.footer-links a {
  display: block;
  color: var(--white-muted);
  font-size: 0.88rem;
  padding: 5px 0;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--orange);
  padding-left: 6px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--white-muted);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
/* [EDIT] Ganti href di HTML dengan nomor WA Anda */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  z-index: 999;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  color: #fff;
}

/* ============================================================
   ARTICLE STYLES
   ============================================================ */
.article-hero {
  padding-top: 140px;
  padding-bottom: 60px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--white-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--orange); }
.breadcrumb span { color: var(--white-muted); }

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--white-muted);
  margin-top: 16px;
  flex-wrap: wrap;
}
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px) 80px;
}
.article-body h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.article-body h3 {
  margin-top: 30px;
  margin-bottom: 12px;
}
.article-body p {
  color: var(--white-soft);
  font-size: 1.02rem;
  line-height: 1.9;
}
.article-body ul, .article-body ol {
  margin: 16px 0;
  padding-left: 24px;
}
.article-body li {
  color: var(--white-soft);
  margin-bottom: 8px;
  line-height: 1.8;
  list-style: disc;
}
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  border-left: 3px solid var(--orange);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--navy-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-body blockquote p {
  color: var(--white-soft);
  font-style: italic;
  margin: 0;
}

.highlight-box {
  background: var(--navy-light);
  border: 1px solid var(--orange-glow);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin: 28px 0;
}
.highlight-box h4 {
  color: var(--orange);
  margin-bottom: 10px;
  font-size: 1rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--navy-light), rgba(255, 140, 0, 0.08));
  border: 1px solid rgba(255, 140, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  margin: 40px 0;
}
.cta-box h3 { margin-bottom: 12px; }
.cta-box p { color: var(--white-muted); margin-bottom: 24px; }

/* ============================================================
   KESETARAAN — PRICING TABLE
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.pricing-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 40px var(--orange-glow);
}
.pricing-card.featured::before {
  content: 'PALING DIMINATI';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}
.pricing-card h3 { margin-bottom: 6px; }
.pricing-card .level {
  color: var(--white-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.pricing-card .features {
  text-align: left;
  margin: 24px 0;
}
.pricing-card .features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--white-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-card .features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

/* ============================================================
   ANIMATIONS — SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 20px;
    transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
  }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-stat h3 { font-size: 1.5rem; }
  .card { padding: 28px 22px; }
}
