:root {
  --bg: #fffaf2;
  --bg-soft: #fff3df;
  --surface: #ffffff;
  --text: #1c1f2b;
  --muted: #4b5565;
  --primary: #f08a00;
  --primary-strong: #e45d00;
  --border: #f3d7b5;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(79, 70, 229, 0.08);
  font-size: 0.95rem;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  z-index: 2;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(79, 70, 229, 0.08);
}

.btn {
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.25);
}

.btn:active {
  transform: translateY(0);
}

.hero {
  padding: 5rem 0 4rem;
}

.hero .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-banner {
  background: radial-gradient(circle at 20% 20%, #fff3df, transparent 40%),
    radial-gradient(circle at 80% 0%, #ffe6c2, transparent 38%),
    linear-gradient(135deg, #fff7ec 0%, #fffaf2 80%);
}

.hero-banner .container {
  align-items: stretch;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  margin: 0.35rem 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-copy .lead {
  color: var(--muted);
  max-width: 34rem;
  font-size: 1.1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
  margin: 0;
}

.actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.link {
  font-weight: 700;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hero-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Banner-specific styles */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(240, 138, 0, 0.12);
  color: #a44a00;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn {
  border: none;
  padding: 1rem 1.4rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease,
    color 120ms ease;
}

.btn-solid {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--primary-strong);
  border: 2px solid rgba(240, 138, 0, 0.35);
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.btn:active {
  transform: translateY(0);
}

.info-card {
  display: flex;
  justify-content: center;
  align-self: center;
}

.info-card__frame {
  background: linear-gradient(135deg, #ffb347, #f08a00);
  border-radius: 22px;
  padding: 0.25rem;
  box-shadow: var(--shadow);
}

.info-card__inner {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  min-width: 320px;
}

.info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.info-row:last-child {
  border-bottom: none;
}

.info-icon {
  font-size: 1.6rem;
  color: var(--primary-strong);
}

.info-label {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.info-value {
  margin: 0.2rem 0 0;
  font-weight: 800;
  font-size: 1.4rem;
  color: #131728;
}

.card-title {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.section {
  padding: 3.5rem 0;
}

#contact {
  padding: 2rem 0;
}

.contact-info {
  margin-top: 1rem;
}

.contact-info p {
  margin: 0.75rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info a {
  color: var(--primary-strong);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.section.alt {
  background: #ffffff;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.course-card h3 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  color: var(--primary-strong);
}

.course-card p {
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.7;
}

.course-card p:last-child {
  margin-bottom: 0;
}

.course-details {
  margin-top: 1.25rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.course-eligibility {
  margin-top: 0.75rem !important;
  color: var(--primary-strong) !important;
  font-size: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 520px;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* About layout */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.about-text h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 1.25rem;
}

.about-text h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.about-text p {
  margin: 0;
  max-width: 44rem;
  line-height: 1.7;
  color: #2d3443;
}

.about-text ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.45rem;
  color: #1f2533;
}

.skills-panel h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.45rem;
}

.skills-lead {
  margin-top: 0;
  margin-bottom: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.skills-list {
  display: grid;
  gap: 0.75rem;
}

.skill-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: linear-gradient(120deg, #ecf7ef, #e8f6ff);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.skill-card:nth-child(2) {
  background: linear-gradient(120deg, #eaf1ff, #ecf8ff);
}

.skill-card:nth-child(3) {
  background: linear-gradient(120deg, #e9f0ff, #f1f7ff);
}

.skill-card:nth-child(4) {
  background: linear-gradient(120deg, #f4eaff, #f1f3ff);
}

.skill-card:nth-child(5) {
  background: linear-gradient(120deg, #ffeef3, #fff2ed);
}

.skill-card:nth-child(6) {
  background: linear-gradient(120deg, #fff0e0, #fff8e7);
}

.skill-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.04);
}

.skill-title {
  margin: 0;
  font-weight: 800;
  color: #1d2233;
}

.skill-desc {
  margin: 0.2rem 0 0;
  color: #4b5565;
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  background: var(--surface);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .site-header .container {
    justify-content: space-between;
  }

  .actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card {
    order: -1;
  }

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

  .course-card {
    padding: 1.5rem;
  }

  .course-card h3 {
    font-size: 1.5rem;
  }
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--surface);
  border-radius: 20px;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 200ms ease;
  z-index: 1001;
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 150ms ease, color 150ms ease;
  z-index: 1002;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.modal-content h2 {
  margin: 0;
  padding: 2rem 2rem 1rem;
  font-size: 2rem;
  color: var(--primary-strong);
  border-bottom: 2px solid var(--border);
}

.modal-body {
  padding: 1.5rem 2rem 2rem;
}

.detail-section {
  margin-bottom: 2rem;
}

.detail-section:last-child {
  margin-bottom: 0;
}

.detail-section h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  color: var(--text);
}

.detail-section p {
  margin: 0.5rem 0;
  line-height: 1.7;
  color: var(--text);
}

.detail-section ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  line-height: 1.8;
}

.detail-section li {
  margin: 0.5rem 0;
  color: var(--text);
}

.detail-section a {
  color: var(--primary-strong);
  text-decoration: underline;
  font-weight: 600;
}

.detail-section a:hover {
  color: var(--primary);
}

/* Download Section Styles */
.downloads-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.download-group h4 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 700;
}

.download-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: 10px;
  color: var(--primary-strong);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 150ms ease;
  text-align: center;
  justify-content: center;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(240, 138, 0, 0.3);
}

.download-btn:active {
  transform: translateY(0);
}

.download-btn span {
  font-size: 1.1rem;
}

.download-group:first-child .download-btn {
  width: 100%;
  max-width: 300px;
}

@media (max-width: 720px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
    border-radius: 16px;
  }

  .modal-content h2 {
    padding: 1.5rem 1.5rem 1rem;
    font-size: 1.5rem;
  }

  .modal-body {
    padding: 1rem 1.5rem 1.5rem;
  }

  .modal-close {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1.75rem;
  }

  .download-buttons {
    grid-template-columns: 1fr;
  }

  .download-group:first-child .download-btn {
    max-width: 100%;
  }
}

