.category-hero {
   position: relative;
   min-height: 520px;
   display: flex;
   align-items: center;
   background: url("../images/hero/categories.jpg") center/cover no-repeat;
   color: #fff;
}

.category-hero-overlay {
   position: absolute;
   inset: 0;
   background: rgba(17, 24, 39, .55);
}

.category-hero-content {
   position: relative;
   max-width: 750px;
   padding: 80px 0;
}

.category-hero h1 {
   font-size: clamp(2.5rem, 5vw, 4rem);
   font-weight: 800;
   margin: 20px 0;
}

.category-hero p {
   font-size: 1.15rem;
   line-height: 1.8;
   max-width: 650px;
}

.category-section {
   background: #fff;
}

.category-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 30px;
}

.category-link {
   text-decoration: none;
   color: inherit;
}

.category-card {
   background: #fff;
   border-radius: 18px;
   overflow: hidden;
   border: 1px solid rgba(17, 24, 39, .08);
   height: 100%;
   transition: .35s ease;
}

.category-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
}

.category-image {
   height: 260px;
   overflow: hidden;
}

.category-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: .4s ease;
}

.category-card:hover img {
   transform: scale(1.08);
}

.category-content {
   padding: 30px;
}

.category-content h3 {
   color: #111827;
   font-size: 1.5rem;
   margin-bottom: 15px;
}

.category-content p {
   color: #6b7280;
   line-height: 1.7;
}

.category-btn {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   margin-top: 20px;
   color: #1f6f5f;
   font-weight: 700;
}

.category-cta {
   background: #f7f5f0;
   padding: 80px 0;
}

.category-cta-box {
   background: #1f6f5f;
   color: white;
   padding: 50px;
   border-radius: 20px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 30px;
}

.category-cta h2 {
   font-size: 2.2rem;
}

@media(max-width:992px) {
   .category-grid {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media(max-width:768px) {
   .category-grid {
      grid-template-columns: 1fr;
   }

   .category-cta-box {
      flex-direction: column;
      text-align: center;
   }

   .category-hero {
      min-height: 450px;
   }
}