body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #111;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 28px;
}

/* HERO */

.hero {
  padding: 6px 28px 0;
  background: transparent;
  border-bottom: none;
  text-align: center;
}

.hero .wrap {
  position: relative;
  padding-top: 8px;
  padding-bottom: 8px;
}

.herocard {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  padding: 56px 36px;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.herocard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/Dhamma_wheel.png") no-repeat center;
  background-size: 760px auto;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.herocard-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 110px;
  text-align: center;
}

.hero-badge {
  position: absolute;
  top: -100px;   /* key change */
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: auto;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.kicker {
  display: inline-block;
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding: 10px 18px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  color: #111;
}

h1 {
  font-size: 64px;
  line-height: 1.08;
  margin: 22px 0 20px;
}

.trustline {
  font-size: 15px;
  color: #555;
  margin-top: 6px;
}

.introtext {
  max-width: 820px;
  color: #555;
  margin: 26px auto 0;
  text-align: center;
  font-size: 18px;
  padding: 0;
}

.notice {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  padding: 18px 20px;
  color: #555;
  margin: 24px auto 0;
  max-width: 1000px;
  backdrop-filter: blur(6px);
  font-size: 15px;
  line-height: 1.5;
}

.notice-bottom {
  max-width: 900px;
  margin: 30px auto 10px;
  padding: 16px 18px;
  font-size: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  color: #555;
}

/* SECTIONS */

.section {
  background: white;
  border: 1px solid #ddd;
  border-radius: 24px;
  padding: 24px;
  margin-top: 18px;
}

.sectionintro {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
  color: #555;
  font-size: 18px;
}

/* CATEGORY GRID */

.categorygrid {
  display: grid;
  grid-template-columns: repeat(3, 290px);
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
  align-items: start;
}

.categorywrap {
  position: relative;
  overflow: visible;
}

.categorycard {
  background: white;
  border: 1px solid #ddd;
  border-radius: 22px;
  text-decoration: none;
  color: #111;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  min-height: 180px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.categorycard:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.categorymenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.categorywrap:hover .categorymenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.categorymenu a {
  display: block;
  text-decoration: none;
  color: #111;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
}

.categorymenu a:hover {
  background: #f5f5f5;
}

.categorycard::before,
.linkcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.cardbadge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 4;
}

.cardtext {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.85);
  padding: 14px 16px;
  border-radius: 12px;
  z-index: 3;
}

.cardtext strong {
  display: block;
  color: #111;
  margin-bottom: 4px;
}

.cardtext span {
  color: #444;
  font-size: 14px;
}

/* POPULAR GUIDES */

.listlinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.linkcard {
  background: white;
  border: 1px solid #e2e2e2;
  border-radius: 22px;
  text-decoration: none;
  color: #111;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  min-height: 220px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.linkcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  border-color: #d4d4d4;
}

/* BACKGROUND IMAGES */

.kitchen {
  background-image: url("https://images.unsplash.com/photo-1556911220-e15b29be8c8f?q=80&w=1200&auto=format&fit=crop");
}

.bathroom {
  background-image: url("https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?q=80&w=1200&auto=format&fit=crop");
}

.homecomfort {
  background-image: url("https://images.unsplash.com/photo-1615874959474-d609969a20ed?q=80&w=1200&auto=format&fit=crop");
}

.technology {
  background-image: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?q=80&w=1200&auto=format&fit=crop");
}

.outdoor {
  background-image: url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?q=80&w=1200&auto=format&fit=crop");
}

.stillness {
  background-image: url("https://images.unsplash.com/photo-1593810450967-f9c42742e326?q=80&w=1200&auto=format&fit=crop");
}

.earbuds {
  background-image: url("https://images.unsplash.com/photo-1606220588913-b3aacb4d2f46?q=80&w=1170&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.coffee {
  background-image: url("https://images.unsplash.com/photo-1637029436347-e33bf98a5412?q=80&w=880&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.meditation {
  background-image: url("https://images.unsplash.com/photo-1597307509190-e33cb9fb3ff7?q=80&w=1170&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

/* ABOUT */

.about {
  max-width: 950px;
  margin: 70px auto;
  text-align: center;
}

.about h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

.aboutintro {
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.7;
  color: #444;
}

.aboutgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.aboutbox {
  background: white;
  padding: 26px;
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.06);
}

.boxtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.boxtitle h3 {
  margin: 0;
  font-size: 18px;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
}

.badge.overall {
  background: #f6d27a;
}

.badge.value {
  background: #d8f3dc;
}

.badge.premium {
  background: #e0e7ff;
}

/* RESPONSIVE */

@media (max-width: 900px) {
.categorygrid {
  grid-template-columns: repeat(2, 280px);
}

  .listlinks {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .mega-menu {
    width: min(92vw, 420px);
    grid-template-columns: 1fr;
    right: 0;
    left: auto;
    max-height: 70vh;
    overflow-y: auto;
  }

  .herocard {
    min-height: 580px;
    padding: 48px 28px;
  }

  .herocard-content {
    padding-top: 82px;
  }

  h1 {
    font-size: 52px;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: 34px;
  }

.hero {
  padding: 8px 16px 0;
}

  .wrap {
    padding: 24px 16px;
  }

  .herocard {
    padding: 40px 20px;
    min-height: 520px;
  }

  .herocard::before {
    background-size: 520px auto;
  }

  .herocard-content {
    padding-top: 70px;
  }

  .hero-badge {
    top: -30px;
    width: 210px;
  }

  .categorygrid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

.categorywrap {
  width: 280px;
}

.categorycard {
  min-height: 170px;
}

  .linkcard {
    min-height: 210px;
  }

  .aboutgrid {
    grid-template-columns: 1fr;
  }

  .categorymenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 8px;
  }

  .nav > a,
  .mega-dropbtn {
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  .logo {
    font-size: 17px;
  }

  .mega-menu {
    width: min(94vw, 360px);
  }
}
