.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit:cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 80px 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0.9;
}

/* Logo-style branding for hero */
.hero-brand-title {
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
  line-height: 1.1;
}

.hero-brand-sub {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent, #c5a059);
  opacity: 1 !important;
  margin-bottom: 36px !important;
  max-width: 520px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .hero {
    min-height: 400px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
}

/* ── Category Cards ─────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.category-card-link {
  text-decoration: none;
  display: block;
}

.category-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 300px;
  color: #fff;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card--plots {
  background: linear-gradient(135deg, #7b2d2d 0%, #5a1a1a 55%, #3a0f0f 100%);
  box-shadow: 0 8px 32px rgba(123,45,45,0.35);
}

.category-card--agri {
  background: linear-gradient(135deg, #1a5c2a 0%, #0f4020 55%, #072810 100%);
  box-shadow: 0 8px 32px rgba(26,92,42,0.35);
}

.category-card-icon {
  position: absolute;
  top: 28px;
  left: 32px;
  font-size: 56px;
  opacity: 0.88;
  line-height: 1;
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 38%, rgba(0,0,0,0.60) 100%);
  border-radius: 20px;
}

.category-card-body {
  position: relative;
  z-index: 1;
}

.category-card-body h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.category-card-body p {
  margin: 0 0 22px;
  opacity: 0.85;
  font-size: 14px;
  line-height: 1.55;
}

.category-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 100px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Tablet: slightly smaller cards */
@media (max-width: 768px) {
  .category-grid {
    gap: 18px;
  }
  .category-card {
    min-height: 240px;
    padding: 28px 24px;
  }
  .category-card-body h3 {
    font-size: 22px;
  }
  .category-card-icon {
    font-size: 42px;
    top: 20px;
    left: 24px;
  }
}

/* Mobile: stack vertically */
@media (max-width: 540px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .category-card {
    min-height: 200px;
    padding: 24px 20px;
  }
  .category-card-body h3 {
    font-size: 20px;
  }
  .category-card-icon {
    font-size: 36px;
    top: 18px;
    left: 20px;
  }
  .category-card-btn {
    font-size: 12px;
    padding: 7px 16px;
  }
}

