/* ===== Base ===== */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ===== Section common ===== */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #0E7C66;
  background: rgba(14,124,102,.08);
  border: 1px solid rgba(14,124,102,.25);
  border-radius: 999px;
  padding: .35rem 1rem;
}
.section-title {
  font-size: 1.9rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0B1F3A;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.5rem; }
}

.tag-pill {
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: .4rem .9rem;
}

.tag-chip {
  font-size: .7rem;
  font-weight: 700;
  color: #0E7C66;
  background: rgba(14,124,102,.08);
  border-radius: 999px;
  padding: .3rem .7rem;
}

.chip {
  font-size: .85rem;
  font-weight: 700;
  color: #0B1F3A;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: .55rem 1.2rem;
  transition: all .2s;
}
.chip:hover { background: #0E7C66; color: #fff; border-color: #0E7C66; }

.footer-tag {
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: .35rem .9rem;
}

/* ===== WHY cards ===== */
.why-card {
  background: #fff;
  border: 1px solid #EEF2F7;
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 20px rgba(11,31,58,.04);
  transition: transform .25s, box-shadow .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(11,31,58,.08); }
.why-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0E7C66;
  opacity: .3;
}

/* ===== Big quote ===== */
.big-quote p {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.5;
  color: #0B1F3A;
}
.big-quote.small p { font-size: 1.2rem; }
@media (min-width: 768px) {
  .big-quote p { font-size: 2.1rem; }
  .big-quote.small p { font-size: 1.5rem; }
}

/* ===== Book topics ===== */
.book-topic {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 1rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid #EEF2F7;
}
.book-topic-num {
  font-weight: 900;
  font-size: 1.1rem;
  color: #F5B400;
  flex-shrink: 0;
  width: 2rem;
}

/* ===== Compare cards (dark section) ===== */
.compare-card {
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid;
}
.flow-step {
  position: relative;
  padding-left: 1.6rem;
  padding-bottom: .9rem;
  border-left: 2px dashed rgba(255,255,255,.2);
  margin-left: .35rem;
}
.flow-step::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #F5B400;
}

/* ===== Step cards (framework) ===== */
.step-line {
  position: absolute;
  top: 5.2rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #0E7C66 0 10px, transparent 10px 18px);
  z-index: 0;
}
.step-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #EEF2F7;
  border-radius: 1.25rem;
  padding: 1.5rem 1.3rem;
  box-shadow: 0 4px 20px rgba(11,31,58,.05);
}
.step-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  color: #fff;
  background: #0E7C66;
  border-radius: 999px;
  padding: .25rem .75rem;
}

/* ===== Program cards ===== */
.program-card {
  position: relative;
  background: #fff;
  border: 1px solid #EEF2F7;
  border-radius: 1.75rem;
  padding: 2.2rem 2rem;
  box-shadow: 0 6px 24px rgba(11,31,58,.05);
}
.program-num {
  position: absolute;
  top: -1.1rem;
  left: 2rem;
  background: #0B1F3A;
  color: #F5B400;
  font-weight: 900;
  font-size: .85rem;
  border-radius: 999px;
  padding: .4rem 1rem;
}
.check-li {
  position: relative;
  padding-left: 1.5rem;
}
.check-li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #0E7C66;
  font-weight: 800;
}
.program-poster {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  border: 1px solid #EEF2F7;
  border-radius: 1.25rem;
  overflow: hidden;
  padding: .75rem;
}
.program-poster img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: contain;
}
.program-poster.is-empty {
  border: 1.5px dashed #CBD5E1;
  background: #F8FAFC;
}
.program-poster .poster-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: #94A3B8;
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}
.program-poster .poster-placeholder i { font-size: 1.6rem; }

/* ===== Curriculum ===== */
.curri-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #EEF2F7;
  border-radius: 1.25rem;
  padding: 1.4rem 1.5rem;
  transition: box-shadow .2s;
}
.curri-item:hover { box-shadow: 0 8px 24px rgba(11,31,58,.06); }
.curri-num {
  font-weight: 900;
  font-size: 1.5rem;
  color: #0E7C66;
  opacity: .4;
  flex-shrink: 0;
}

/* ===== Skill cards ===== */
.skill-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.1rem;
  padding: 1.3rem 1.1rem;
  transition: background .2s;
}
.skill-card:hover { background: rgba(255,255,255,.09); }
.skill-num {
  font-weight: 900;
  font-size: 1.3rem;
  color: #F5B400;
}

/* ===== Output cards ===== */
.output-card {
  background: #fff;
  border: 1px solid #EEF2F7;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 20px rgba(11,31,58,.04);
}
.output-card i { font-size: 1.6rem; color: #0E7C66; }

/* ===== Case cards ===== */
.case-card {
  background: #fff;
  border: 1px solid #EEF2F7;
  border-radius: 1.5rem;
  padding: 1.9rem 1.7rem;
  box-shadow: 0 4px 20px rgba(11,31,58,.04);
  transition: transform .25s;
}
.case-card:hover { transform: translateY(-4px); }

/* ===== Material cards ===== */
.material-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(11,31,58,.05);
}
.material-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: .85rem;
}

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid #EEF2F7;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  color: #0B1F3A;
}
.faq-q i { color: #0E7C66; transition: transform .25s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 1.5rem;
}
.faq-a p { padding-bottom: 1.3rem; color: rgba(11,31,58,.65); font-size: .92rem; line-height: 1.7; }

/* ===== Form ===== */
.form-label { display: block; font-size: .85rem; font-weight: 700; color: #0B1F3A; margin-bottom: .45rem; }
.form-input {
  width: 100%;
  border: 1px solid #E2E8F0;
  border-radius: .75rem;
  padding: .75rem 1rem;
  font-size: .95rem;
  color: #0B1F3A;
  background: #F8FAFC;
  transition: border-color .2s, background .2s;
}
.form-input:focus {
  outline: none;
  border-color: #0E7C66;
  background: #fff;
}

/* ===== Animate on scroll ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* nav active state */
.nav-link.active, .mobile-nav-link.active { color: #0E7C66; }

#to-top.show { opacity: 1; pointer-events: auto; }
