/* ══════════════════════════════════════════════════════════════
   ONLINE-TRAINING.CSS
   ══════════════════════════════════════════════════════════════ */

/* HERO */
.hero {
  background: linear-gradient(135deg, #1a3d2b 0%, #2d6a4f 60%, #1a3d2b 100%);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(230, 120, 23, 0.06);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: end;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(230, 120, 23, 0.2);
  border: 1px solid rgba(230, 120, 23, 0.4);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #f5a623;
  margin-bottom: 14px;
}
.hero-badge::before {
  content: "🎓";
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hs-item {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.hs-item:last-child {
  border-right: none;
}
.hs-num {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: #e67817;
  line-height: 1;
  display: block;
}
.hs-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  display: block;
  line-height: 1.3;
}
.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px 18px 0 0;
  padding: 28px 24px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  position: relative;
}
.panel-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}
.course-preview {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.cp-header {
  background: linear-gradient(135deg, #e67817, #c45f0a);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cp-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.cp-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.cp-subtitle {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}
.cp-body {
  padding: 14px 18px;
}
.cp-module {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid #f5f3ef;
  font-size: 12px;
  color: #3d3d2a;
}
.cp-module:last-child {
  border-bottom: none;
}
.cp-module-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #f0faf3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.cp-progress {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f5f3ef;
}
.cp-pbar {
  height: 5px;
  background: #f0ede8;
  border-radius: 3px;
  margin-bottom: 5px;
}
.cp-pfill {
  height: 100%;
  background: #e67817;
  border-radius: 3px;
  width: 35%;
}
.cp-pmeta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #9b9b9b;
}

/* TRUST STRIP */
.trust-strip {
  background: #f9f5f0;
  border-bottom: 1px solid #e4e0d8;
  padding: 16px 0;
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  white-space: nowrap;
}
.trust-item span {
  font-size: 18px;
}
.trust-divider {
  width: 1px;
  height: 24px;
  background: #e4e0d8;
  flex-shrink: 0;
}

/* WHO IT'S FOR */
.wif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.wif-card {
  background: #f9f5f0;
  border: 1px solid #e4e0d8;
  border-radius: 16px;
  padding: 24px;
  transition:
    box-shadow 0.2s,
    transform 0.18s;
}
.wif-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}
.wif-icon {
  font-size: 36px;
  margin-bottom: 14px;
}
.wif-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.wif-card p {
  font-size: 13px;
  line-height: 1.7;
}
.wif-card.highlight {
  background: linear-gradient(135deg, #1a3d2b, #2d6a4f);
  border-color: transparent;
}
.wif-card.highlight h3 {
  color: #fff;
}
.wif-card.highlight p {
  color: rgba(255, 255, 255, 0.78);
}

/* WHAT YOU LEARN */
.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.learn-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f9f5f0;
  border: 1px solid #e4e0d8;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.5;
}
.learn-item::before {
  content: "✓";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: #d8f3dc;
  border: 1.5px solid #52b788;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #2d6a4f;
  line-height: 18px;
  text-align: center;
}

/* COURSES */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.course-card {
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.18s;
}
.course-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.cc-header {
  padding: 24px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.cc-h1 {
  background: linear-gradient(160deg, #1a3d2b, #2d6a4f);
}
.cc-h2 {
  background: linear-gradient(160deg, #7a3510, #c45f0a);
}
.cc-h3 {
  background: linear-gradient(160deg, #3d1a5a, #7b3fa0);
}
.cc-h4 {
  background: linear-gradient(160deg, #2c5282, #4338ca);
}
.cc-h5 {
  background: linear-gradient(160deg, #1a3d2b, #52b788);
}
.cc-h6 {
  background: linear-gradient(160deg, #6b2d0f, #e67817);
}
.cc-icon {
  font-size: 38px;
  margin-bottom: 10px;
}
.cc-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 10px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
  width: fit-content;
}
.cc-name {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.cc-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cc-desc {
  font-size: 13px;
  color: #6b6b6b;
  line-height: 1.7;
  margin-bottom: 14px;
  flex: 1;
}
.cc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.cc-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #6b6b6b;
  font-weight: 500;
}
.cc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #f0ede8;
}
.cc-fee {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}
.cc-fee-sub {
  font-size: 10px;
  color: #9b9b9b;
  font-weight: 400;
  font-family: "DM Sans", sans-serif;
  display: block;
  margin-top: 2px;
}
.cc-enroll {
  background: #e67817;
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.cc-enroll:hover {
  background: #c45f0a;
  color: #fff;
}
.cc-modules {
  margin-bottom: 14px;
}
.cc-module-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11px;
  color: #6b6b6b;
  padding: 4px 0;
  line-height: 1.5;
}
.cc-module-item::before {
  content: "▸";
  color: #e67817;
  flex-shrink: 0;
  font-size: 10px;
  margin-top: 1px;
}
.cc-tag {
  display: inline-flex;
  background: #f0faf3;
  border: 1px solid #b7e4c7;
  border-radius: 20px;
  padding: 2px 9px;
  font-size: 10px;
  color: #2d6a4f;
  font-weight: 600;
}
.cc-tag.hot {
  background: #fef3e8;
  border-color: #f6c589;
  color: #c45f0a;
}
.cc-tag.new {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #4338ca;
}

/* FORMAT */
.format-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.fmt-card {
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.fmt-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.fmt-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.fmt-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: #1a1a1a;
}
.fmt-card p {
  font-size: 12px;
  line-height: 1.65;
  color: #6b6b6b;
}

/* INSTRUCTORS */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.instr-card {
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  transition:
    box-shadow 0.2s,
    transform 0.18s;
}
.instr-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}
.instr-img {
  height: 200px;
  background: linear-gradient(160deg, #1a3d2b, #2d6a4f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  position: relative;
}
.instr-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.instr-body {
  padding: 22px;
}
.instr-name {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.instr-qual {
  font-size: 12px;
  color: #e67817;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.instr-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-bottom: 12px;
}
.instr-spec-tag {
  background: #f0faf3;
  border: 1px solid #b7e4c7;
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 10px;
  color: #2d6a4f;
  font-weight: 600;
}
.instr-bio {
  font-size: 12px;
  color: #6b6b6b;
  line-height: 1.7;
}
.instr-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 16px;
  background: #f9f5f0;
  border-radius: 10px;
  overflow: hidden;
}
.is-item {
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid #e4e0d8;
}
.is-item:last-child {
  border-right: none;
}
.is-num {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  display: block;
}
.is-lbl {
  font-size: 10px;
  color: #9b9b9b;
  display: block;
  margin-top: 2px;
}

/* CURRICULUM TIMELINE */
.curriculum-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.ct-item {
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-num {
  width: 36px;
  height: 36px;
  background: #1a3d2b;
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.ct-duration {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e67817;
  margin-bottom: 4px;
}

.ct-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 6px;
}

.ct-desc {
  font-size: 12px;
  color: #6b6b6b;
  line-height: 1.65;
}

/* TESTIMONIALS */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.tcard {
  background: #fff;
  border: 1px solid #e4e0d8;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.tcard:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.tc-stars {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 2px;
}
.tc-text {
  font-size: 13px;
  color: #3d3d2a;
  line-height: 1.78;
  font-style: italic;
  flex: 1;
}
.tc-text::before {
  content: "\201C";
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: #e67817;
  line-height: 0;
  vertical-align: -8px;
  margin-right: 2px;
}
.tc-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0ede8;
}
.tc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e67817;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.tc-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}
.tc-meta {
  font-size: 11px;
  color: #9b9b9b;
  margin-top: 2px;
}
.tc-tag {
  display: inline-flex;
  background: #d8f3dc;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 10px;
  color: #1a3d2b;
  font-weight: 600;
  margin-top: 3px;
}

/* FAQ */
.faq-wrap {
  max-width: 780px;
  margin: 32px auto 0;
}
.faq-item {
  border-bottom: 1px solid #e4e0d8;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 0;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  text-align: left;
  gap: 14px;
}
.faq-icon {
  font-size: 22px;
  color: #e67817;
  flex-shrink: 0;
  transition: transform 0.2s;
  font-style: normal;
}
.faq-a {
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.78;
  padding-bottom: 17px;
  display: none;
}
.faq-item.open .faq-a {
  display: block;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ENROLL CTA */
.enroll-section {
  background: linear-gradient(135deg, #1a3d2b 0%, #2d6a4f 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.enroll-section::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}
.enroll-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}
.enroll-form {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.ef-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 5px;
}
.ef-sub {
  font-size: 13px;
  color: #9b9b9b;
  margin-bottom: 22px;
}
.ef-group {
  margin-bottom: 14px;
}
.ef-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #3d3d3d;
  margin-bottom: 5px;
}
.ef-inp {
  width: 100%;
  padding: 11px 13px;
  font-size: 14px;
  border: 1.5px solid #e4e0d8;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.15s;
}
.ef-inp:focus {
  border-color: #2d6a4f;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}
.ef-inp::placeholder {
  color: #c4c0b8;
}
select.ef-inp {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%239B9B9B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
  cursor: pointer;
}
.ef-submit {
  width: 100%;
  background: #e67817;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  margin-top: 4px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ef-submit:hover {
  background: #c45f0a;
}
.ef-note {
  text-align: center;
  font-size: 11px;
  color: #9b9b9b;
  margin-top: 9px;
}
.ef-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.ef-success h3 {
  color: #1a3d2b;
  margin-bottom: 8px;
}
.ef-success p {
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    display: none;
  }
  .courses-grid {
    grid-template-columns: 1fr 1fr;
  }
  .instructors-grid {
    grid-template-columns: 1fr 1fr;
  }
  .enroll-inner {
    grid-template-columns: 1fr;
  }
  .curriculum-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .format-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wif-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .courses-grid,
  .instructors-grid,
  .testi-grid,
  .wif-grid,
  .format-grid,
  .learn-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 48px 0 0;
  }
  .curriculum-timeline {
    grid-template-columns: 1fr;
  }
}
