/* ============================================
   LET'S SKILL INDIA FOUNDATION — BASE STYLES
   ============================================ */

/* ── Google Fonts Import ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500&display=swap');

/* ── Reset / Normalize ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-pure-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Accessibility — Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Images & Media ── */
img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Links ── */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* ── Lists ── */
ul, ol {
  list-style: none;
}

/* ── Buttons ── */
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ── Inputs ── */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ── Selection ── */
::selection {
  background-color: var(--color-primary-accent);
  color: var(--color-primary-deep);
}

/* ── Scrollbar Styling ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-deep-navy);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary-accent);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: #00b894;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-extrabold);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
}

h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl));
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  letter-spacing: -0.01em;
}

h4 {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
}

p {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text-secondary);
}

p.large {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
}

/* ── Utility: Container ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.container--sm {
  max-width: var(--container-sm);
}

/* ── Utility: Section ── */
.section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

/* ── Section Label (Mono tag above headlines) ── */
.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-primary-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
  display: inline-block;
}

.section-label--light {
  color: var(--color-primary-accent);
}

/* ── Section Headline ── */
.section-headline {
  margin-bottom: var(--space-6);
}

.section-headline + p {
  max-width: 600px;
  margin-bottom: var(--space-12);
}

/* ── Dark section text overrides ── */
.section--dark {
  background-color: var(--color-deep-navy);
  color: var(--color-text-on-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-text-white);
}

.section--dark p {
  color: var(--color-text-on-dark);
}

.section--cream {
  background-color: var(--color-warm-cream);
}

/* ── Visually Hidden (Accessibility) ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Focus Visible ── */
:focus-visible {
  outline: 2px solid var(--color-primary-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary-accent);
  color: var(--color-primary-deep);
  font-weight: var(--weight-bold);
  border-radius: var(--radius-md);
  z-index: var(--z-modal);
  transition: var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}
