@import "https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap";

:root {
  --radius: .625rem;
  --background: oklch(98% .01 120);
  --foreground: oklch(20% 0 0);
  --card: oklch(100% 0 0);
  --card-foreground: oklch(20% 0 0);
  --popover: oklch(100% 0 0);
  --popover-foreground: oklch(20% 0 0);
  --primary: #1a6b0a;
  /* Vibrant Green from screenshot */
  --primary-foreground: #ffffff;
  --secondary: oklch(95% .02 50);
  --secondary-foreground: oklch(45% .15 140);
  --muted: oklch(92% .01 120);
  --muted-foreground: oklch(55% 0 0);
  --accent: #ffb400;
  /* Vibrant Orange from screenshot */
  --accent-foreground: #000000;
  --destructive: oklch(57.7% .245 27.325);
  --border: oklch(90% .01 120);
  --input: oklch(95% .01 120);
  --ring: oklch(45% .15 140);
}

/* Simplified Tailwind-like utilities based on the extracted CSS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Source Sans 3", sans-serif;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s;
}

.logo-text {
  color: var(--primary);
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.75rem;
}

.nav-link {
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.max-w-7xl {
  max-width: 80rem;
  margin: 0 auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.flex-col {
  flex-direction: column;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.space-x-8>*+* {
  margin-left: 2rem;
}

.space-y-6>*+* {
  margin-top: 1.5rem;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }
}

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

.text-primary-foreground {
  color: var(--primary-foreground);
}

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

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

.bg-tutorial-section {
  background-color: #f5f1e8;
  /* More distinct cream color for contrast */
}

.rounded-lg {
  border-radius: var(--radius);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.z-50 {
  z-index: 50;
}

.w-full {
  width: 100%;
}

.h-48 {
  height: 12rem;
}

.h-64 {
  height: 16rem;
}

.object-cover {
  object-fit: cover;
}

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

.text-2xl {
  font-size: 1.5rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-bold {
  font-weight: 700;
}

.font-heading {
  font-family: "Baloo 2", sans-serif;
}

.transition-colors {
  transition: background-color 0.2s, color 0.2s;
}

.hover\:text-primary:hover {
  color: var(--primary);
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

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

.text-accent-foreground {
  color: var(--accent-foreground);
}

.border-b {
  border-bottom: 1px solid var(--border);
}

.border-2 {
  border-width: 2px;
}

/* hero specific */
.btn-primary {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.opacity-10 {
  opacity: 0.1;
}

.blur-3xl {
  filter: blur(64px);
}

/* footer */
footer {
  background-color: var(--primary);
  color: white;
  padding: 5rem 0 3rem;
  margin-top: 4rem;
  width: 100%;
  border-top: 4px solid var(--accent);
  /* Re-adding the border for a stronger visual boundary */
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-heading {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.footer-links li::before {
  content: "•";
  margin-right: 0.75rem;
  color: var(--accent);
  font-weight: bold;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* FAQ Accordion */
.faq-category {
  font-family: "Baloo 2", sans-serif;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.faq-category:first-of-type {
  margin-top: 0;
}

.faq-item {
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1rem;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.faq-answer {
  padding: 0 1rem 1rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Tutorials section refinements */
.section-title {
  color: var(--primary);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.75rem;
  border-radius: 2rem;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  background: white;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.25s;
  font-size: 0.95rem;
}

.filter-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.filter-btn:hover:not(.active) {
  border-color: #d1d5db;
  color: var(--primary);
}

.tutorial-card {
  background-color: #ffffff;
  /* Explicitly white for contrast */
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.tutorial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.tutorial-card img {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tutorial-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tutorial-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  color: #111;
  line-height: 1.3;
}

.pill {
  padding: 0.2rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.01em;
}

.pill-beginner {
  background-color: #e6f6ec;
  color: #059669;
}

.pill-intermediate {
  background-color: #fffbeb;
  color: #d97706;
}

.pill-advanced {
  background-color: #fff7ed;
  color: #ea580c;
}

.tutorial-description {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 1.25rem 0;
  flex-grow: 1;
}

.tutorial-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: gap 0.2s ease;
  margin-top: auto;
}

.tutorial-link:hover {
  gap: 0.5rem;
}

/* Mobile menu */
#mobile-menu.hidden {
  display: none;
}

@media (max-width: 767px) {
  .hidden {
    display: none;
  }

  .md\:flex {
    display: none;
  }
}