@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════
   GN EDUCATION — DARK EMERALD DESIGN SYSTEM
   ═══════════════════════════════════════════ */

:root {
  /* Core Palette */
  --clr-emerald: #D96846; /* Terracotta orange as main brand color */
  --clr-emerald-dark: #c45b3a;
  --clr-emerald-light: #e07d5c;
  
  --clr-teal: #596235; /* Olive green */
  --clr-cyan: #737c44; /* Lighter olive blend */
  --clr-amber: #D96846;

  /* Surfaces */
  --surface-900: #ffffff;
  --surface-800: #CDCBD6; /* Light lavender gray for backgrounds/sections */
  --surface-700: #b5b3be;
  --surface-600: #9e9cabc;
  --surface-500: #888691;

  /* Text */
  --txt-white: #2F3020;
  /* Inverted for light theme */
  --txt-primary: #2F3020; /* Deep dark green for primary text */
  --txt-secondary: #596235; /* Olive green for secondary text */
  --txt-dim: #687241;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(217, 104, 70, 0.2);
  --glass-hover: rgba(255, 255, 255, 0.9);

  /* Radius */
  --rad-xs: 6px;
  --rad-sm: 10px;
  --rad-md: 16px;
  --rad-lg: 24px;
  --rad-pill: 9999px;

  /* Shadows */
  --glow-sm: 0 0 15px rgba(217, 104, 70, 0.15);
  --glow-md: 0 0 30px rgba(217, 104, 70, 0.2);
  --glow-lg: 0 4px 40px rgba(217, 104, 70, 0.25);
  --drop-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --drop-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --drop-lg: 0 16px 48px rgba(0, 0, 0, 0.5);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --speed-fast: 0.2s;
  --speed-smooth: 0.45s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--surface-900);
  color: var(--txt-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--speed-fast);
}

ul {
  list-style: none;
}

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

/* Layout */
.wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--rad-pill);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  border: none;
  transition: all var(--speed-smooth) var(--ease-out);
  text-transform: none;
}

.site-btn--fill {
  background: var(--clr-emerald);
  color: var(--surface-900);
  box-shadow: 0 4px 20px rgba(217, 104, 70, 0.35);
}

.site-btn--fill:hover {
  transform: translateY(-3px) scale(1.03);
  background: var(--clr-emerald-dark);
  box-shadow: 0 8px 30px rgba(217, 104, 70, 0.5);
}

.site-btn--outline {
  background: transparent;
  color: var(--clr-emerald);
  border: 2px solid var(--clr-emerald);
}

.site-btn--outline:hover {
  background: var(--clr-emerald);
  color: #ffffff;
  transform: translateY(-2px);
}

.site-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--txt-white);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ── Headings ── */
.site-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}

.site-heading__tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--rad-pill);
  color: var(--clr-emerald-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-heading__title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--txt-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.site-heading__sub {
  font-size: 1.1rem;
  color: var(--txt-secondary);
  max-width: 580px;
  margin: 0 auto;
}

/* ── Glow Text ── */
.glow-text {
  background: linear-gradient(135deg, var(--clr-emerald-light), var(--clr-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 {
  transition-delay: 0.1s;
}

.reveal-d2 {
  transition-delay: 0.2s;
}

.reveal-d3 {
  transition-delay: 0.3s;
}

.reveal-d4 {
  transition-delay: 0.4s;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-heading__title {
    font-size: 2rem;
  }

  .site-heading__sub {
    font-size: 1rem;
  }

  .wrapper {
    padding: 0 16px;
  }
}