/* ============================================
   SmartB Academy - HRD Corp Info Page
   Mobile-first
   ============================================ */

/* Tighter section spacing for this info page */
.hrd-hero ~ .section,
.hrd-hero ~ .section-alt {
  padding: 40px 0;
}
@media (min-width: 768px) {
  .hrd-hero ~ .section,
  .hrd-hero ~ .section-alt {
    padding: 56px 0;
  }
}
@media (min-width: 1024px) {
  .hrd-hero ~ .section,
  .hrd-hero ~ .section-alt {
    padding: 64px 0;
  }
}

/* === HERO === */
.hrd-hero {
  padding: 48px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.hrd-hero h1 {
  font-size: clamp(26px, 6vw, 44px);
  margin-bottom: 10px;
}
.hrd-hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .hrd-hero { padding: 64px 0; }
  .hrd-hero-sub { font-size: 17px; }
}
@media (min-width: 1024px) {
  .hrd-hero { padding: 80px 0; }
}

/* === WHAT IS HRD CORP - 2-col layout === */
.hrd-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .hrd-about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
  }
}

.hrd-about-text p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}
.hrd-about-text p:last-child { margin-bottom: 0; }

.hrd-about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.hrd-about-text p:first-child { margin-top: 0; }
.hrd-facts-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hrd-facts-card h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 16px;
}
.hrd-fact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.hrd-fact:first-of-type { border-top: none; padding-top: 0; }
.hrd-fact a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.hrd-fact a:hover { text-decoration: underline; }
.hrd-fact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}

/* === CLAIM PROCESS - vertical steps === */
.hrd-steps-list {
  margin-top: 32px;
  max-width: 720px;
}
.hrd-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.hrd-step:last-child { border-bottom: none; }
.hrd-step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  margin-top: 2px;
}
.hrd-step-body { flex: 1; }
.hrd-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.hrd-step-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* Toggle button for rates */
.hrd-rates-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  transition: all 0.2s ease;
}
.hrd-rates-toggle:hover,
.hrd-rates-toggle.open {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.hrd-rates-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.hrd-rates-toggle.open svg {
  transform: rotate(180deg);
}

/* Rates panel */
.hrd-rates-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.hrd-rates-panel.open {
  max-height: 400px;
  margin-top: 16px;
}

/* === ELIGIBLE COURSES === */
.hrd-courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .hrd-courses-grid { grid-template-columns: repeat(2, 1fr); }
}

.hrd-course-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
}
.hrd-course-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.hrd-course-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 12px;
}
.hrd-course-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.hrd-course-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* === FAQ ACCORDION === */
.hrd-faq {
  margin-top: 32px;
  max-width: 800px;
}
.hrd-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--white);
  overflow: hidden;
}
.hrd-faq-item:last-child { margin-bottom: 0; }

.hrd-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 16px 20px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.hrd-faq-q:hover { color: var(--blue); }
.hrd-faq-q .chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.hrd-faq-item.open .hrd-faq-q .chevron {
  transform: rotate(180deg);
}

.hrd-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.hrd-faq-item.open .hrd-faq-a {
  max-height: 300px;
}
.hrd-faq-a p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* === CLAIMABLE RATES (inside toggle) === */
.hrd-rates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hrd-rate-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
}
.hrd-rate-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hrd-rate-amount { font-size: 22px; font-weight: 900; color: var(--blue); }
.hrd-rate-detail { font-size: 12px; color: var(--muted); margin-top: 2px; }
@media (max-width: 600px) { .hrd-rates-grid { grid-template-columns: 1fr; } }

