/* ==========================================================================
   Skill Education — Pre-Launch Site Styles
   Plain CSS, no build step. Brand colors derived from the logo.
   ========================================================================== */

:root {
  /* Brand colors */
  --color-purple: #7B2FA0;
  --color-purple-dark: #5C1F7A;
  --color-purple-light: #F4EAF9;
  --color-pink: #E8A3D6;
  --color-pink-dark: #C971B4;

  /* Neutrals */
  --color-text: #2A2330;
  --color-text-muted: #5E5568;
  --color-bg: #FFFFFF;
  --color-bg-alt: #FAF7FB;
  --color-border: #E7DEEC;

  /* Layout */
  --max-width: 1140px;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(43, 20, 55, 0.06);
  --shadow-md: 0 4px 16px rgba(43, 20, 55, 0.08);

  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-purple);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  color: var(--color-purple-dark);
  font-weight: 700;
  line-height: 1.25;
}

h2 {
  font-size: 1.9rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.section {
  padding: 64px 0;
}

.section h2 {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background-color: var(--color-purple);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-purple-dark);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-purple);
  border-color: var(--color-purple);
}

.btn-secondary:hover {
  background-color: var(--color-purple-light);
  text-decoration: none;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link:hover {
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-purple-dark);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav ul {
  display: flex;
  gap: 24px;
}

.primary-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.primary-nav a:hover {
  color: var(--color-purple);
}

.coming-soon-badge {
  background-color: var(--color-purple-light);
  color: var(--color-purple-dark);
  border: 1px solid var(--color-pink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background-color: var(--color-purple-dark);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background-color: var(--color-bg-alt);
  padding: 72px 0;
  border-bottom: 1px solid var(--color-border);
}

.hero-inner {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.hero-logo {
  width: auto;
  height: 160px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.hero h1 {
  font-size: 2.3rem;
  margin-bottom: 14px;
}

.hero-subheading {
  font-size: 1.15rem;
  color: var(--color-purple);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-description {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   About
   ========================================================================== */

.about .container {
  max-width: 760px;
  text-align: center;
}

.about p {
  color: var(--color-text-muted);
}

/* ==========================================================================
   What We Offer
   ========================================================================== */

.offer {
  background-color: var(--color-bg-alt);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--color-purple-light);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 20px 22px 24px;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   Everything You Need to Learn
   ========================================================================== */

.section-subheading {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-muted);
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.learning-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.learning-card-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: var(--color-purple-light);
}

.learning-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.learning-card-body {
  padding: 20px 22px 24px;
}

.learning-card-body h3 {
  margin-bottom: 8px;
}

.learning-card-body p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   For Organizations
   ========================================================================== */

.organizations .container {
  max-width: 760px;
  text-align: center;
}

.org-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin: 32px 0;
  text-align: left;
}

.org-list li {
  position: relative;
  padding-left: 22px;
  color: var(--color-text);
  font-weight: 500;
}

.org-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-pink-dark);
}

.org-statement {
  color: var(--color-text-muted);
}

/* ==========================================================================
   Vision
   ========================================================================== */

.vision {
  background-color: var(--color-purple-dark);
  text-align: center;
}

.vision .container {
  max-width: 640px;
}

.vision h2 {
  color: #fff;
  font-size: 2rem;
}

.vision p {
  color: #E9D9EF;
}

/* ==========================================================================
   Coming Soon
   ========================================================================== */

.coming-soon {
  text-align: center;
  background-color: var(--color-bg);
}

.coming-soon .container {
  max-width: 640px;
}

.coming-soon h2 {
  color: var(--color-purple-dark);
}

.coming-soon p {
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.contact .container {
  max-width: 640px;
  text-align: center;
}

.contact p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-purple);
  font-weight: 600;
}

.contact-item a {
  color: var(--color-text);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--color-purple);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-name {
  font-weight: 700;
  color: var(--color-purple-dark);
  font-size: 0.95rem;
}

.footer-tagline {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-meta {
  text-align: right;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-meta a {
  color: var(--color-text-muted);
}

/* ==========================================================================
   Responsive — Tablet
   ========================================================================== */

@media (max-width: 900px) {
  .card-grid,
  .learning-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Responsive — Mobile
   ========================================================================== */

@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }

  h2 {
    font-size: 1.55rem;
  }

  .hero {
    padding: 48px 0;
  }

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

  .hero-subheading {
    font-size: 1.02rem;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .card-grid,
  .learning-grid {
    grid-template-columns: 1fr;
  }

  .org-list {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .contact-details {
    flex-direction: column;
    gap: 20px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-meta {
    text-align: center;
  }
}
