/* Page 2 - Training: Soft Organic / Warm Pastel */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;900&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --clr-bg: #fdf6ee;
  --clr-surface: #fff8f0;
  --clr-card: #ffffff;
  --clr-text: #2a1f14;
  --clr-muted: #8a7e72;
  --clr-accent: #d4572a;
  --clr-accent-soft: rgba(212, 87, 42, 0.08);
  --clr-warm: #f4c67a;
  --clr-sage: #b8c9a3;
  --clr-blush: #ecc8b5;
  --font-display: 'Fraunces', serif;
  --font-body: 'Outfit', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Organic blob backgrounds */
.blob-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.blob-1 {
  width: 600px; height: 600px;
  background: var(--clr-warm);
  top: -10%; right: -5%;
  animation: blobFloat 20s ease-in-out infinite;
}

.blob-2 {
  width: 400px; height: 400px;
  background: var(--clr-sage);
  bottom: 10%; left: -5%;
  animation: blobFloat 25s ease-in-out infinite reverse;
}

.blob-3 {
  width: 300px; height: 300px;
  background: var(--clr-blush);
  top: 40%; right: 20%;
  animation: blobFloat 18s ease-in-out infinite 3s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(10px, 40px) scale(1.02); }
}

/* Header */
.train-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 56px;
}

.train-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--clr-accent);
  text-decoration: none;
}

.train-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}

.train-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.train-nav a:hover { color: var(--clr-accent); }

/* Hero */
.train-hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 48px 80px;
  max-width: 860px;
  margin: 0 auto;
}

.train-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--clr-accent-soft);
  color: var(--clr-accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 28px;
  opacity: 0;
  animation: softFadeUp 0.8s ease 0.2s forwards;
}

.train-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--clr-text);
  opacity: 0;
  animation: softFadeUp 0.9s ease 0.35s forwards;
}

.train-hero h1 .highlight {
  color: var(--clr-accent);
  position: relative;
}

.train-hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: -4px;
  right: -4px;
  height: 12px;
  background: var(--clr-warm);
  opacity: 0.4;
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}

.train-hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--clr-muted);
  max-width: 580px;
  margin: 24px auto 0;
  font-weight: 300;
  opacity: 0;
  animation: softFadeUp 0.8s ease 0.55s forwards;
}

.train-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  opacity: 0;
  animation: softFadeUp 0.8s ease 0.7s forwards;
}

.btn-warm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--clr-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(212, 87, 42, 0.25);
}

.btn-warm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 87, 42, 0.35);
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border: 2px solid rgba(42, 31, 20, 0.12);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-soft:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* Course cards */
.courses-section {
  position: relative;
  z-index: 2;
  padding: 64px 56px 100px;
}

.courses-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-accent);
  text-align: center;
  margin-bottom: 12px;
}

.courses-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 56px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.course-card {
  background: var(--clr-card);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  border-radius: 20px 20px 0 0;
}

.course-card:nth-child(1)::before { background: var(--clr-accent); }
.course-card:nth-child(2)::before { background: var(--clr-sage); }
.course-card:nth-child(3)::before { background: var(--clr-warm); }
.course-card:nth-child(4)::before { background: var(--clr-blush); }
.course-card:nth-child(5)::before { background: var(--clr-accent); }
.course-card:nth-child(6)::before { background: var(--clr-sage); }

.course-level {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.level-beginner { background: #e8f5e1; color: #3d7a2a; }
.level-intermediate { background: #fef3d6; color: #9a6e12; }
.level-advanced { background: #fde8e4; color: var(--clr-accent); }

.course-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.course-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--clr-muted);
  margin-bottom: 20px;
}

.course-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--clr-muted);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Testimonial strip */
.testimonial-strip {
  position: relative;
  z-index: 2;
  background: var(--clr-card);
  padding: 80px 56px;
  text-align: center;
  margin-bottom: 80px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 24px;
  color: var(--clr-text);
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-muted);
}

.testimonial-author strong {
  color: var(--clr-text);
  font-weight: 600;
}

/* Footer */
.train-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px;
  font-size: 13px;
  color: var(--clr-muted);
  margin-bottom: 80px;
}

/* Animations */
@keyframes softFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .train-header { padding: 20px 24px; }
  .train-nav { display: none; }
  .train-hero { padding: 64px 24px 48px; }
  .courses-section { padding: 48px 24px 80px; }
  .testimonial-strip { padding: 48px 24px; }
  .train-cta-group { flex-direction: column; align-items: center; }
}
