/* Web-GNE — Professional Certification Study Programs */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

:root {
  --navy: #0f2b46;
  --navy-light: #1a3a5c;
  --gold: #c5922e;
  --gold-hover: #b07f1e;
  --gold-light: #fdf4e3;
  --text: #1a2332;
  --text-muted: #5a6a7a;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --border: #dfe3e8;
  --success: #1a7a3a;
  --success-bg: #e6f4ec;
  --shadow: 0 1px 3px rgba(15, 43, 70, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 43, 70, 0.1);
  --shadow-lg: 0 8px 24px rgba(15, 43, 70, 0.12);
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  color: #c0cdd8;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--gold);
}

/* === MAIN === */
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* === HERO === */
.hero {
  text-align: center;
  padding: 4.5rem 2rem 3.5rem;
}

.hero-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold-hover);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 2.75rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.15;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.25rem;
}

.cta-button {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 0.85rem 2.25rem;
  border-radius: 0.35rem;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s, transform 0.1s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

/* === VALUE PROPS === */
.value-props {
  margin-bottom: 4rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.value-item {
  background: var(--surface);
  padding: 2rem 1.75rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 3px solid var(--gold);
  transition: box-shadow 0.2s, transform 0.2s;
}

.value-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-item h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.value-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* === PROGRAMS === */
.programs-section {
  margin-bottom: 4rem;
}

.programs-section h2 {
  text-align: center;
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.program-card {
  background: var(--surface);
  border-radius: 0.5rem;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid transparent;
}

a.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.program-card.coming-soon {
  opacity: 0.7;
}

.program-status {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  width: fit-content;
}

.program-status.available {
  background: var(--success-bg);
  color: var(--success);
}

.program-status.upcoming {
  background: #eef0f4;
  color: #6b7a8d;
}

.program-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.program-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.program-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.program-details {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.program-details span {
  background: var(--bg);
  color: var(--text-muted);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 0.25rem;
  border: 1px solid var(--border);
}

.program-cta {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold);
}

.program-cta.muted {
  color: #8a9bae;
}

a.program-card:hover .program-cta {
  color: var(--gold-hover);
}

/* === HOW IT WORKS === */
.how-section {
  margin-bottom: 4rem;
}

.how-section h2 {
  text-align: center;
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 2.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step {
  background: var(--surface);
  padding: 1.75rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 3px solid var(--gold);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--navy);
  color: var(--gold);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* === SMS PREVIEW === */
.sms-preview {
  background: var(--surface);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
}

.sms-preview-header {
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.sms-preview-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sms-bubble {
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 85%;
}

.sms-bubble.incoming {
  background: #e8ecf0;
  color: var(--text);
  border-bottom-left-radius: 0.25rem;
  align-self: flex-start;
}

.sms-bubble.outgoing {
  background: var(--navy);
  color: #fff;
  border-bottom-right-radius: 0.25rem;
  align-self: flex-end;
}

.sms-bubble.feedback {
  background: var(--gold-light);
  color: var(--navy);
  border-bottom-left-radius: 0.25rem;
  align-self: flex-start;
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--navy);
  color: #fff;
  border-radius: 0.5rem;
  margin-bottom: 3rem;
}

.cta-section h2 {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.cta-section p {
  margin-bottom: 1.75rem;
  opacity: 0.8;
  font-size: 1.05rem;
}

.cta-section .cta-button {
  background: var(--gold);
  color: #fff;
}

/* === FOOTER === */
footer {
  background: var(--navy);
  color: #c0cdd8;
  margin-top: 3rem;
  padding: 2.5rem 2rem 2rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.85rem;
}

.footer-content {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-section h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.footer-section p,
.footer-section a {
  color: #8a9bae;
  margin-bottom: 0.3rem;
  display: block;
  text-decoration: none;
  font-size: 0.85rem;
}

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

.footer-bottom {
  max-width: 1080px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #1a3a5c;
  text-align: center;
  color: #5a6a7a;
  font-size: 0.8rem;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero {
    padding: 3rem 1rem 2.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  main {
    padding: 0 1rem;
  }

  .value-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cta-section {
    padding: 2rem 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}
