* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f1e8;
  color: #101827;
}

.topbar {
    background: #071321;
    color: white;
    padding: 18px 6%;
    text-align: center;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    display: block;
    margin: 0 auto;
    max-width: 340px;
    width: 100%;
    height: auto;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 24px;
  font-weight: 700;
  font-size: 14px;
}

.hero {
  min-height: 520px;
  background:
    linear-gradient(rgba(7, 19, 33, .70), rgba(7, 19, 33, .70)),
    url(../assets/hero/hero.png);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  color: white;
}

.hero-content {
  max-width: 850px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(38px, 6vw, 76px);
  line-height: .98;
  margin: 0 0 20px;
}

.hero h2 {
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 22px;
  margin: 0;
}

.hero p {
  font-size: 21px;
  line-height: 1.5;
  max-width: 720px;
  margin: 22px auto 32px;
}

.button {
  display: inline-block;
  background: #d4af37;
  color: #071321;
  padding: 15px 34px;
  text-decoration: none;
  font-weight: 800;
  border-radius: 4px;
}

.about,
.start-here,
.catalog,
.featured {
  padding: 48px 6%;
  max-width: 1250px;
  margin: auto;
}

.about {
  background: #fffdf8;
  max-width: none;
  border-bottom: 1px solid #ddd4c5;
}

.about-inner {
  max-width: 1050px;
  margin: auto;
}

.about h2,
.start-here h2,
.catalog h2,
.featured h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  margin-top: 0;
}

.about h3 {
  font-family: Georgia, serif;
  font-size: 26px;
  color: #0d2b52;
  margin-bottom: 18px;
}

.about p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 950px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  min-height: 220px;
  padding: 26px;
  border-radius: 10px;
  color: white;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.card h3 {
  font-size: 22px;
  margin: 0 0 14px;
}

.card p {
  line-height: 1.45;
  margin: 0;
}

.mind { background: linear-gradient(135deg, #4b2e83, #1a102f); }
.career { background: linear-gradient(135deg, #173b66, #071321); }
.money { background: linear-gradient(135deg, #2f6b3f, #142414); }
.relationships { background: linear-gradient(135deg, #8e2f57, #31101f); }
.ai { background: linear-gradient(135deg, #096b78, #071321); }
.faith { background: linear-gradient(135deg, #b88720, #3d2a08); }
.life { background: linear-gradient(135deg, #315b7d, #071321); }
.health { background: linear-gradient(135deg, #2f7d6b, #102d26); }
.crisis { background: linear-gradient(135deg, #74342e, #1c1010); }
.education { background: linear-gradient(135deg, #5b4a8b, #1f1833); }
.special { background: linear-gradient(135deg, #5f3f86, #21152f); }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.guide {
  background: white;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.cover {
  height: 230px;
  background: #071321;
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.guide h3 {
  margin: 0 0 8px;
}

.guide p {
  line-height: 1.4;
}

footer {
  background: #071321;
  color: white;
  text-align: center;
  padding: 28px;
}

@media (max-width: 900px) {
  .topbar {
    display: block;
    text-align: center;
  }

  nav {
    text-align: center;
}

  nav a {
    display: inline-block;
    margin: 8px 10px;
  }

  .grid,
  .featured-grid,
  .start-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .topbar {
    padding: 16px 4%;
  }

  .logo {
    font-size: 14px;
  }

  nav a {
    font-size: 12px;
    margin: 7px 8px;
  }

  .hero {
    min-height: 480px;
    padding: 48px 22px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero h2 {
    font-size: 17px;
  }

  .hero p {
    font-size: 16px;
  }

  .about,
  .start-here,
  .catalog,
  .featured {
    padding: 42px 6%;
  }

  .grid,
  .featured-grid,
  .start-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 160px;
  }
}

.topic-hero {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  color: white;
}

.adhd-hero {
  background:
    linear-gradient(rgba(41, 19, 72, .82), rgba(7, 19, 33, .82)),
    url("../assets/hero/hero.png");
  background-size: cover;
  background-position: center;
}

.topic-hero-content {
  max-width: 850px;
}

.topic-label {
  color: #d4af37;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.topic-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(44px, 8vw, 82px);
  line-height: .95;
  margin: 10px 0 18px;
}

.topic-hero h2 {
  color: #d4af37;
  font-size: 24px;
  margin: 0 0 20px;
}

.topic-hero p {
  font-size: 21px;
  line-height: 1.5;
}

.topic-intro,
.topic-guides,
.topic-trust {
  padding: 48px 6%;
  max-width: 1100px;
  margin: auto;
}

.topic-intro h2,
.topic-guides h2,
.topic-trust h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  margin-top: 0;
}

.topic-intro p,
.topic-trust p {
  font-size: 18px;
  line-height: 1.6;
}

.topic-guide-list {
  display: grid;
  gap: 22px;
}

.topic-guide-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.topic-cover {
  background: linear-gradient(135deg, #4b2e83, #1a102f);
  color: #d4af37;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  letter-spacing: 1px;
}

.topic-guide-card h3 {
  margin-top: 0;
  font-size: 24px;
}

.topic-guide-card p {
  font-size: 17px;
  line-height: 1.5;
}

.small-button {
  display: inline-block;
  background: #d4af37;
  color: #071321;
  padding: 11px 22px;
  text-decoration: none;
  font-weight: 800;
  border-radius: 4px;
}

.topic-trust {
  background: #fffdf8;
  max-width: none;
  border-top: 1px solid #ddd4c5;
}

.topic-trust h2,
.topic-trust p {
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .topic-hero {
    min-height: 430px;
  }

  .topic-hero h1 {
    font-size: 42px;
  }

  .topic-hero h2 {
    font-size: 19px;
  }

  .topic-hero p {
    font-size: 16px;
  }

  .topic-guide-card {
    grid-template-columns: 1fr;
  }

  .topic-cover {
    height: 220px;
  }
}