body {
  font-family: 'Jost', sans-serif;
  background: #f9fafc;
  color: #000;
}

/* ===== Blog Banner (duplicate of services banner) ===== */
.blog-banner {
  position: relative;
  max-width: 1300px;
  margin: 60px auto;
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.blog-banner .banner-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}
.blog-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.45); */
  z-index: 1;
}
.blog-banner .services-content {
  position: absolute;
  bottom: 30px;
  left: 3%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  text-align: left;
}
.blog-banner .services-content h2 {
  font-size: 4rem;
  font-weight: 500;
  margin-bottom: 5px;
}
.blog-banner .services-content p {
  font-size: 1rem;
}
@media (max-width: 1290px) {
  .blog-banner { margin: 40px 60px 0px 60px; }
  .blog-banner .banner-img { height: 280px; }
  .blog-banner .services-content { left: 5%; bottom: 22px; text-align: left; }
  .blog-banner .services-content h2 { font-size: 1.6rem; }
  .blog-banner .services-content p { font-size: 0.9rem; }
}
@media (max-width: 991px) {
  .blog-banner { margin: 110px 60px 0px 60px; }
  .blog-banner .banner-img { height: 280px; }
  .blog-banner .services-content { left: 5%; bottom: 22px; text-align: left; }
  .blog-banner .services-content h2 { font-size: 1.6rem; }
  .blog-banner .services-content p { font-size: 0.9rem; }
}
@media (max-width: 600px) {
  .blog-banner { margin: 140px 20px 0px 20px; border-radius: 10px; }
  .blog-banner .banner-img { height: 210px; }
  .blog-banner .services-content { left: 4%; bottom: 16px; text-align: left; padding: 0 10px; }
  .blog-banner .services-content h2 { font-size: 1.3rem; font-weight: 600; }
  .blog-banner .services-content p { font-size: 0.7rem; }
}

/* ===== TRENDING BLOG SECTION ===== */
.offer-section,
.offer-section-alt {
  /* padding: 80px 5%; */
  max-width: 1300px;
  margin: -12px 120px 0px 120px;
  background: #f9fafc;
}

.offer-header h2,
.offer-header-alt h2 {
  font-weight: 700;
  color: #1769e0;
  font-size: 2rem;
  text-align: left;
}

.offer-subtitle,
.offer-subtitle-alt {
  text-align: left;
  color: #555;
  font-size: 1rem;
  margin: 10px 0 40px;
  max-width: 700px;
}

/* ===== GRID LAYOUT ===== */
.trending-grid,
.trending-grid-alt {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 10px;
  align-items: start;
}

.small-grid,
.small-grid-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  /* height: 1100px ; */
}

/* ===== BLOG CARD ===== */
.blog-card,
.blog-card-alt {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}
.blog-card,
.blog-card-alt1 {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}
.blog-card, .blog-card-alts {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Bottom blur overlay for ALT cards (screenshot style) */
.blog-card-alt::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 32%;
/* Blur the image area beneath */
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
/* Add soft dark gradient to improve text contrast */
/* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
z-index: 1;
pointer-events: none;
}
.blog-card-alt1::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 18%;
/* Blur the image area beneath */
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
/* Add soft dark gradient to improve text contrast */
/* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
z-index: 1;
pointer-events: none;
}

.blog-card-alts::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 38%;
/* Blur the image area beneath */
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
/* Add soft dark gradient to improve text contrast */
/* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
z-index: 1;
pointer-events: none;
}

.blog-card:hover,
.blog-card-alt:hover {
  transform: translateY(-5px);
}
.blog-card:hover,
.blog-card-alt1:hover {
  transform: translateY(-5px);
}

.blog-card:hover,.blog-card-alts:hover {
  transform : translateY(-5px);
}

.blog-img,
.blog-img-alt {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.4s ease;
}

.blog-card:hover .blog-img,
.blog-card-alt:hover .blog-img-alt {
  transform: scale(1.05);
}

.blog-content,
.blog-content-alt {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: left;
padding: 20px 12px 1px 12px;
  /* background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8)); */
  color: #fff;
}

/* Ensure ALT content sits above the blur overlay */
.blog-content-alt { z-index: 2; }

/* Typography closer to screenshot for ALT cards */
.blog-content-alt h3 { 
font-size: 1rem;
line-height: 1.35;
font-weight: 700;
margin: 10px 0 8px;
}
.blog-content-alt p {
font-size: 0.92rem;
line-height: 1.5;
}

/* ===== FEATURED CARDS - Separate Font Size Customization ===== */
/* Main Large Featured Card - Customize font sizes independently */
/* Using higher specificity to override general .blog-content-alt rules */
.blog-content-featured.blog-content-alt h3,
.blog-content-featured h3 {
font-size: 1.3rem !important; /* Customize this value */
line-height: 1.35;
font-weight: 500;
margin: 10px 0 20px;
}
.blog-content-featured.blog-content-alt p,
.blog-content-featured p {
font-size: 1rem !important; /* Customize this value */
line-height: 1.5;
}

/* Bottom Wide Featured Card - Customize font sizes independently */
/* Using higher specificity to override general .blog-content-alt rules */
.blog-content-wide-featured.blog-content-alt h3,
.blog-content-wide-featured h3 {
font-size: 2rem !important; /* Customize this value */
line-height: 1.35;
font-weight: 700;
margin: 10px 0 8px;
}
.blog-content-wide-featured.blog-content-alt p,
.blog-content-wide-featured p {
font-size: 0.92rem !important; /* Customize this value */
line-height: 1.5;
}

/* ===== BADGES ===== */
.badge,
.badge-alt {
  display: inline-block;
  font-size: 0.8rem;
padding: 2px 16px 2px 16px;
border-radius: 999px;
margin-bottom: 5px;
  background: #1769e0;
  color: #fff;
  font-weight: 500;
}

.badge-p{
  color: red;
}

/* Elevated blue pill badge like screenshot on ALT */
.badge-alt {
background: #1976f7;
box-shadow: 0 10px 28px rgba(25,118,210,0.32);
}

.badge.prosperity, .badge-alt.prosperity-alt { background: #0066ff; }
/* .badge.savings, .badge-alt.savings-alt { background: #0099ff; } */
.badge.finance, .badge-alt.finance-alt { background: #005eff; }
.badge.success, .badge-alt.success-alt { background: #0080ff; }

.blog-content h3, .blog-content p,
.blog-content-alt h3, .blog-content-alt p {
  font-size: 0.9rem;
  font-weight: 400;
  /* margin-top: 10px; */
  color: #fff;
  margin-bottom: 10px;
}

.blog-content h3, .blog-content p,
.blog-content-alt1  h3, .blog-content-alt1 p {
  font-size: 0.8rem;
  font-weight: 400;
  /* margin-top: 10px; */
  color: #fff;
  margin-bottom: 10px;

}
.blog-content h3, .blog-content p,
.blog-content-alts h3, .blog-content-alts p {
  font-size: 0.1rem;
  font-weight: 400;
  /* margin-top: 10px; */
  color: #fff;
  margin-bottom: 10px;

}

/* ===== META INFO ===== */
.blog-meta,
.blog-meta-alt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-top: 8px;
  opacity: 0.9;
}

.blog-meta i,
.blog-meta-alt i {
  font-size: 14px;
}

.author-img,
.author-img-alt {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== LARGE CARD ===== */
.large-card,
.large-card-alt {
  grid-row: span 2;
  height: 540px; /* Match right side: 270px + 10px gap + 270px = 550px */
}

/* ===== SMALL CARDS ===== */
.small-card,
.small-card-alt {
  height: 270px;
}

.small-card.wide,
.small-card-alt.wide-alt {
  grid-column: span 2;
  height: 270px;
}

/* ===== Equal Height Responsive Adjustments ===== */
/* Desktop & Laptop (above 1290px) - Default heights already set above */
/* Left: 550px, Right: 270px + 10px gap + 270px = 550px ✓ */

/* Laptop (991px to 1290px) */
@media (max-width: 1290px) and (min-width: 1200px) {
.offer-section-alt {
  margin: 30px 70px 0px 70px;
  background: none;
}
.large-card-alt {
  height: 465px; /* Match right side: 220px + 10px + 220px = 450px */
}
.small-card-alt {
  height: 250px; /* Top row cards: 220px each */
}

.blog-card-alt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  /* Blur the image area beneath */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Add soft dark gradient to improve text contrast */
  /* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
  z-index: 1;
  pointer-events: none;
}
.blog-card-alt1::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16%;
  /* Blur the image area beneath */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Add soft dark gradient to improve text contrast */
  /* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
  z-index: 1;
  pointer-events: none;
}
.blog-card-alts::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  /* Blur the image area beneath */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Add soft dark gradient to improve text contrast */
  /* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
  z-index: 1;
  pointer-events: none;
}
.blog-card-alts.wide-alt {
  height: 230px; /* Bottom row wide card: 220px */
}
/* Right side total: 220px + 10px gap + 220px = 450px ✓ */

/* Adjust text sizes for better fit */
.blog-content-alt h3 {
  font-size: 0.85rem;
  line-height: 1.3;
  margin: 8px 0 6px;
}
.blog-content-alt p {
  font-size: 0.8rem;
  line-height: 1.4;
}
.badge-alt {
  font-size: 0.7rem;
  padding: 2px 12px;
}
.blog-meta-alt {
  font-size: 0.75rem;
  gap: 8px;
  margin-top: 6px;
}
.author-img-alt {
  width: 24px;
  height: 24px;
}
/* Featured cards font sizes - customize independently */
.blog-content-featured.blog-content-alt h3,
.blog-content-featured h3 {
  font-size: 0.85rem !important; /* Customize this value */
}
.blog-content-featured.blog-content-alt p,
.blog-content-featured p {
  font-size: 0.8rem !important; /* Customize this value */
}
.blog-content-wide-featured.blog-content-alt h3,
.blog-content-wide-featured h3 {
  font-size: 0.85rem !important; /* Customize this value */
}
.blog-content-wide-featured.blog-content-alt p,
.blog-content-wide-featured p {
  font-size: 0.8rem !important; /* Customize this value */
}
}

/* Tablet (max-width: 991px) - Stacked layout */
@media (max-width: 1200px) and (min-width: 992px) {
.trending-grid-alt {
  align-items: stretch; /* Ensure equal heights when stacked */
}
.large-card-alt {
  height: 410px; /* Match right side: 200px + 10px + 200px = 410px */
}
.offer-section-alt {
  margin: 30px 70px 0px 70px;
  background: none;
}
.small-card-alt,
.blog-card-alts.wide-alt {
  height: 200px; /* Consistent height for tablet */
}

.blog-card-alt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  /* Blur the image area beneath */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Add soft dark gradient to improve text contrast */
  /* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
  z-index: 1;
  pointer-events: none;
}
.blog-card-alt1::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20%;
  /* Blur the image area beneath */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Add soft dark gradient to improve text contrast */
  /* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
  z-index: 1;
  pointer-events: none;
}
.blog-card-alts::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  /* Blur the image area beneath */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Add soft dark gradient to improve text contrast */
  /* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
  z-index: 1;
  pointer-events: none;
}
/* Right side total: 200px + 10px gap + 200px = 410px ✓ */
/* Featured cards font sizes for tablet */
.blog-content-featured.blog-content-alt h3,
.blog-content-featured h3 {
  font-size: 0.9rem !important; /* Customize this value */
}
.blog-content-featured.blog-content-alt p,
.blog-content-featured p {
  font-size: 0.85rem !important; /* Customize this value */
}
.blog-content-wide-featured.blog-content-alt h3,
.blog-content-wide-featured h3 {
  font-size: 1.9rem !important; /* Customize this value */
}
.blog-content-wide-featured.blog-content-alt p,
.blog-content-wide-featured p {
  font-size: 0.85rem !important; /* Customize this value */
}
}

/* Mobile (max-width: 600px) */
@media (max-width: 992px) and ( min-width: 600px) {
.large-card-alt {
  height: 310px; /* Match right side: 150px + 10px + 150px = 310px */
}
.offer-section-alt {
  margin: 30px 70px 0px 70px;
  background: none;
}

.small-card-alt,
.blog-card-alts.wide-alt {
  height: 150px; /* Smaller cards for mobile */
}
.blog-card-alt{
  height: 300px;
}
.blog-card-alt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24%;
  /* Blur the image area beneath */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Add soft dark gradient to improve text contrast */
  /* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
  z-index: 1;
  pointer-events: none;
}
.blog-card-alt1::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 25%;
  /* Blur the image area beneath */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Add soft dark gradient to improve text contrast */
  /* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
  z-index: 1;
  pointer-events: none;
}
.blog-card-alts::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 43%;
  /* Blur the image area beneath */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Add soft dark gradient to improve text contrast */
  /* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
  z-index: 1;
  pointer-events: none;
}
/* Right side total: 150px + 10px gap + 150px = 310px ✓ */
/* Featured cards font sizes for mobile */
.blog-content-featured.blog-content-alt h3,
.blog-content-featured h3 {
  font-size: 0.85rem !important; /* Customize this value */
}
.blog-content-featured.blog-content-alt p,
.blog-content-featured p {
  font-size: 0.8rem !important; /* Customize this value */
}
.blog-content-wide-featured.blog-content-alt h3,
.blog-content-wide-featured h3 {
  font-size: 0.85rem !important; /* Customize this value */
}
.blog-content-wide-featured.blog-content-alt p,
.blog-content-wide-featured p {
  font-size: 0.8rem !important; /* Customize this value */
}
}

/* Small Mobile (max-width: 300px) */
@media (max-width: 600px) and ( min-width: 300px) {
.large-card-alt {
  height: 250px; /* Match right side: 120px + 10px + 120px = 250px */
}
.offer-section-alt {
  margin: 30px 20px 0px 20px;
  background: none;
}
.small-card-alt,
.blog-card-alts.wide-alt {
  height: 120px; /* Very small cards for tiny screens */
}
.blog-card-alt{
  height: 300px;
}
.blog-card-alt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 29%;
  /* Blur the image area beneath */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Add soft dark gradient to improve text contrast */
  /* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
  z-index: 1;
  pointer-events: none;
}
.blog-card-alt1::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  /* Blur the image area beneath */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Add soft dark gradient to improve text contrast */
  /* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
  z-index: 1;
  pointer-events: none;
}
.blog-card-alts::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  /* Blur the image area beneath */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Add soft dark gradient to improve text contrast */
  /* background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.28) 28%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.7) 100%); */
  z-index: 1;
  pointer-events: none;
}
/* Right side total: 120px + 10px gap + 120px = 250px ✓ */
/* Featured cards font sizes for small mobile */
.blog-content-featured.blog-content-alt h3,
.blog-content-featured h3 {
  font-size: 0.75rem !important; /* Customize this value */
}
.blog-content-featured.blog-content-alt p,
.blog-content-featured p {
  font-size: 0.7rem !important; /* Customize this value */
}
.blog-content-wide-featured.blog-content-alt h3,
.blog-content-wide-featured h3 {
  font-size: 0.75rem !important; /* Customize this value */
}
.blog-content-wide-featured.blog-content-alt p,
.blog-content-wide-featured p {
  font-size: 0.7rem !important; /* Customize this value */
}
}

/* Responsive refinements for ALT cards */
@media (max-width: 991px) {
.blog-content-alt h3 { 
  font-size: 0.9rem;
  line-height: 1.35;
}
.blog-content-alt p { 
  font-size: 0.85rem;
  line-height: 1.4;
}
.badge-alt {
  font-size: 0.75rem;
  padding: 2px 14px;
}
}
@media (max-width: 576px) {
.blog-content-alt h3 { 
  font-size: 0.85rem;
  line-height: 1.3;
}
.blog-content-alt p { 
  font-size: 0.8rem;
}
.badge-alt {
  font-size: 0.7rem;
  padding: 2px 12px;
}
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
.trending-grid,
.trending-grid-alt {
    grid-template-columns: 1fr;
  }
.small-grid,
.small-grid-alt {
display: flex;
flex-direction: column;  }
}
/* ===== TOP CATEGORIES SECTION ===== */
.categories-section {
    /* padding: 80px 5%; */
    background: #f9fafc;
    max-width: 1300px;
    margin: 40px 120px 30px 120px; /* align with section margins */
  }

  .categories-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
  }

  /* ===== LEFT SIDE ===== */
  .categories-left h2 {
    color: #1769e0;
    font-weight: 700;
    font-size: 1.6rem;
  }

  .underline {
    width: 140px;
    height: 3px;
    background: #1769e0;
    border-radius: 2px;
    margin: 8px 0 20px;
    opacity: 0.8;
  }

  .category-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr;
    gap: 33px;
    width: 100%;
    max-width: 820px;
  }

  /* ===== Main Category Card ===== */
  .category-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    width: 425px;
    max-width: 100%;
    height: 500px;
  }

  .cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .cat-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(180deg, transparent 10%, rgba(0, 0, 0, 0.85));
    color: #fff;
    text-align: left;
  }

  /* Reduce .cat-content h3 font size */
  .cat-content h3 {
    font-size: 1.1rem;
    font-weight: 550;
    margin: 10px 0 8px;
    line-height: 1.3;
  }

  /* ===== Right Side Small Cards ===== */
  .category-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .list-card {
    display: flex;
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid #000000;
    padding-bottom: 10px;
  }

  .list-card img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
  }

  .list-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 6px;
    line-height: 1.4;
  }

  .list-info p {
    font-size: 0.85rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* ===== RIGHT SIDE ===== */
  .categories-right h2 {
    color: #1769e0;
    font-weight: 700;
    font-size: 1.6rem;
  }

  .social-icons-block {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 30px;
    flex-wrap: wrap;
 
  }

  .social-item {
    text-align: center;
    
  }
  .social-item img{
    width: 55px;
  }

  .social-item i {
    font-size: 28px;
    color: #1769e0;
    margin-bottom: 6px;
  }

  .social-item p {
    font-size: 0.9rem;
    color: #000;
    font-weight: 500;
  }

  .social-banner img {
    width: 100%;
    border-radius: 16px;
    display: block;
  }

  /* ===== RESPONSIVE ===== */
  /* Desktop down (<=1290px) */
  @media (max-width: 1290px) {
    .categories-section { margin: 40px 60px 0px 60px; }
  }

  /* Tablet (<=991px) */
  @media (max-width: 991px) {
    .categories-section { margin: 110px 60px 0px 60px; }
    .categories-left h2,
    .categories-right h2 { font-size: 1.5rem; }
    .categories-container {
      grid-template-columns: 1fr;
    }



    .category-main {
      height: 547px;
    }

    .cat-content h3 {
      font-size: 1rem;
    }

    .list-card img {
      width: 60px;
      height: 60px;
    }
  }

  /* Mobile (<=600px) */
  @media (max-width: 600px) {
    .categories-section { padding: 60px 20px; margin: 15px 20px 0px 20px; }

    .categories-left h2,
    .categories-right h2 {
      text-align: left;
      font-size: 1.4rem;
    }

    .category-main {
      height: auto;
    }

    .cat-content h3 {
      font-size: 0.95rem;
    }

    .list-info h4 {
      font-size: 0.95rem;
    }

    .list-info p {
      font-size: 0.8rem;
    }

    .social-icons-block {
      justify-content: space-around;
    }

    .social-item i {
      font-size: 24px;
    }
  }
  
  /* Scrollable category list */
.category-list {
  max-height: 420px;     /* Adjust height to show ~5 items */
  overflow-y: auto;      /* Enable vertical scroll */
  overflow-x: hidden;    /* Disable horizontal scroll */
  padding-right: 10px;   /* Space for scrollbar */
}

/* Hide scrollbar (Chrome / Edge / Safari) */
.category-list::-webkit-scrollbar {
  width: 6px;
}
.category-list::-webkit-scrollbar-track {
  background: transparent;
}
.category-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

/* Hide scrollbar for Firefox */
.category-list {
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

@media (max-width: 600px) {
.category-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  width: 100%;
}
.category-grid {
  display: grid;
  gap: 23px;
  width: 100%;
  grid-template-columns: auto;
  max-width: 820px;

    
    
}
}