


  /*categoreis hero Start */
.categories-hero {
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.categories-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
 
  top: 0;
  left: 0;
  z-index: 0;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  z-index: 1;
}

.container {
  z-index: 2;
}
    /* About Us End */










    /* ===== SECTION ===== */
.category-modern {
  background: #ffffff;
}

/* ===== TITLE ===== */
.cat-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
}

.cat-sub {
  color: #777;
}

/* ===== CARD ===== */
.cat-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.cat-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: 0.5s ease;
}

/* ===== OVERLAY ===== */
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7),
    transparent
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  transition: 0.4s;
}

.cat-overlay h6 {
  font-size: 18px;
  font-weight: 600;
}

.cat-overlay span {
  font-size: 13px;
  opacity: 0.8;
}

/* ===== HOVER ===== */
.cat-card:hover img {
  transform: scale(1.1);
}

.cat-card:hover .cat-overlay {
  background: linear-gradient(
    to top,
    rgba(255,122,24,0.9),
    transparent
  );
}






  /* ===== SECTION ===== */
.category-page {
  background: #ffffff;
}

/* ===== TITLE ===== */
.cat-main-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: #0f172a;
}

.cat-main-title span {
  color: #1f3c88; /* navy tone like your theme */
}

.cat-sub {
  color: #666;
  margin-top: 10px;
}

/* ===== CARD ===== */
.category-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* ===== IMAGE ===== */
.category-img {
  position: relative;
  overflow: hidden;
}

.category-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.5s;
}

.category-card:hover img {
  transform: scale(1.08);
}

/* ===== BADGE ===== */
.badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #0f172a;
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
}

.badge-top.orange {
  background: linear-gradient(90deg, #ff7a18, #ffb347);
}

.badge-top.dark {
  background: #111;
}

/* ===== CONTENT ===== */
.category-content {
  padding: 18px;
}

.category-content h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.category-content a {
  text-decoration: none;
  font-weight: 600;
  color: #1f3c88;
  transition: 0.3s;
}

.category-content a:hover {
  color: #ff7a18;
}

