.imagev__overlay--blur {
    backdrop-filter: blur(5px);
}

.imagev__overlay--primary {
    background: #OD3AA9;
}

.imagev__overlay > * {
    transform: translateY(20px);
    transition: transform 0.25s;
}

.imagev__overlay:hover {
    opacity: 1;
}

.imagev__overlay:hover > * {
    transform: translateY(0);
}

.imagev__title {
    font-size: 1.3em;
    font-weight: bold;
}

.imagev__description {
	font-size: 1.5em;
	font-color: #ffffff;
    margin-top: 0.25em;
}
.cardy {
  border-radius: 15px;
  height: 535px; /* [1.1] Set it as per your need */
  overflow: hidden; /* [1.2] Hide the overflowing of child elements */
  background: linear-gradient(67deg, #000 55%, #0067cb) !important;
  color: #ffffff;
}
/* Yellow HR border */
hr.yel1 {
  border-top: 1px solid yellow;
}
:root {
  --metal-dark: #2d2d2d;
  --metal-accent: #e0c27a; /* brighter warm steel/brass hybrid */
  --metal-highlight: #f5e6b3; /* for hover text contrast */
}

.category-section {
  background: linear-gradient(180deg, #1b1b1b, #252525);
  color: #fff;
}

.category-section h2 {
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--metal-accent);
  text-shadow: 0 0 8px rgba(209,176,108,0.4);
}

.category-item {
  position: relative;
  width: 100%;
  padding-top: 100%; /* makes it a perfect square */
  border-radius: 50%;
  overflow: hidden;
  background: var(--metal-dark);
  box-shadow: inset 0 0 10px rgba(255,255,255,0.05), 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 5px solid transparent; /* default, overridden inline */
  cursor: pointer;
}

.category-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(60%) brightness(0.9);
  transition: all 0.5s ease;
}

.category-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 0 0 50% 50%;
  padding-bottom: 10px;
}

.category-overlay span {
  color: var(--metal-accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 5px rgba(0,0,0,0.6);
}

/* Hover Effects */
.category-item:hover {
  transform: scale(1.08) rotate(1deg);
  box-shadow: 0 0 20px rgba(209,176,108,0.4), 0 0 40px rgba(255,255,255,0.1);
}

.category-item:hover .category-img {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.1);
}

.category-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05), transparent 70%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 991px) {
  .category-overlay span {
    font-size: 0.8rem;
  }
}

@media (max-width: 575px) {
  .category-item:hover {
    transform: scale(1.03);
  }
}
.category-title {
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--metal-accent);
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(0,0,0,0.9);
  transition: all 0.3s ease;
  display: inline-block;
}

.category-link:hover .category-title {
  color: var(--metal-highlight);
  filter: drop-shadow(0 0 6px rgba(255,220,150,0.7));
  transform: scale(1.08);
  text-shadow: 0 0 12px rgba(255, 235, 180, 0.8), 0 0 20px rgba(255,255,255,0.4);
}
/* Responsive layout for YouTube ribbon */
@media (max-width: 768px) {
  #youtube-videos {
    justify-content: center;
  }

  /* Force 2 per row instead of 1 */
  #youtube-videos > div {
    flex: 0 1 calc(50% - 10px); /* 2 columns with gap */
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  #youtube-videos > div {
    flex: 0 1 calc(50% - 8px); /* keep 2 columns on smaller phones */
  }
}
/* =============================
   INFO HUB (Refined Light Gray 3-Row Layout)
   ============================= */

#info-hub {
  background: #e9ecef; /* Light metallic gray background */
  padding: 18px 0;
}

#info-hub h2 {
  font-size: 28px;
  font-weight: 600;
  color: #1e2b36;
  margin: 0 0 32px 0;
  text-align: center;
  text-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* === GRID === */
#info-hub .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 16px;
}

/* === CARD BASE === */
#info-hub .info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #f8f9fa, #e2e4e6);
  border: 1px solid #cfd2d6;
  border-radius: 12px;
  padding: 28px 20px 20px 20px;
  min-height: 220px;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.4), 0 2px 4px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  isolation: isolate;
}

/* Hover Glow + Subtle Lift */
#info-hub .info-card:hover {
  transform: translateY(-3px);
  border-color: #78c9ff;
  box-shadow:
    0 4px 14px rgba(0,0,0,0.15),
    0 0 18px rgba(0,176,255,0.35);
}

/* === WATERMARK ICON (Subtle, Always Visible) === */
#info-hub .info-card::after {
  content: attr(data-icon);
  position: absolute;
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  font-size: 11.5rem;
  color: rgba(0,0,0,0.06);
  right: -25px;
  bottom: -25px;
  pointer-events: none;
  transition: color 0.5s ease;
}
#info-hub .info-card:hover::after {
  color: rgba(0,0,0,0.09);
}

/* === ICON CIRCLE === */
#info-hub .info-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0,176,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #027bce;
  margin-bottom: 14px;
  margin-top: -4px;
  align-self: center;
  transition: all 0.3s ease;
}
#info-hub .info-card:hover .icon {
  transform: scale(1.05);
}

/* === TEXT === */
#info-hub .info-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1e2b36;
  margin: 0 0 8px 0;
  text-align: center;
  width: 100%;
}

#info-hub .info-card p {
  font-size: 13.5px;
  color: #4d5b66;
  margin: 0 auto 10px auto;
  line-height: 1.45;
  text-align: center;
  width: 100%;
  max-width: 95%;
  min-height: 55px;
}

#info-hub .info-card span {
  font-size: 12.5px;
  color: #027bce;
  font-weight: 500;
  text-align: center;
  width: 100%;
}

/* === Responsive === */
@media (max-width: 768px) {
  #info-hub .info-grid { gap: 16px; }
  #info-hub .info-card { min-height: 200px; padding: 22px 14px; }
}
/* === Colored Icon Variants (for differentiation) === */
#info-hub .info-card .icon.icon-blue   { background:#027bce; color:#fff; }
#info-hub .info-card .icon.icon-orange { background:#f38b1c; color:#fff; }
#info-hub .info-card .icon.icon-yellow { background:#f7c325; color:#fff; }
#info-hub .info-card .icon.icon-red    { background:#d94e41; color:#fff; }
#info-hub .info-card .icon.icon-green  { background:#3fa86e; color:#fff; }
#info-hub .info-card .icon.icon-gray   { background:#6e7a87; color:#fff; }
#info-hub .info-card .icon.icon-teal   { background:#009da5; color:#fff; }
#info-hub .info-card .icon.icon-navy   { background:#1c2b44; color:#fff; }
#info-hub .info-card .icon.icon-purple { background:#7048e8; color:#fff; }
#info-hub .info-card .icon.icon-black  { background:#343a40; color:#fff; }
/* ===== Compact Mobile Layout: 2-up grid, icon + title only ===== */
@media (max-width: 768px) {
  /* Force exactly 2 columns on mobile */
  #info-hub .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 10px;
  }

  /* Tighten cards */
  #info-hub .info-card {
    min-height: 120px;
    padding: 14px 10px;
    align-items: center;          /* center content */
    text-align: center;
  }

  /* Larger round icon, centered, keep your color variants */
  #info-hub .info-card .icon {
    width: 64px;
    height: 64px;
    font-size: 30px;
    margin: 4px auto 6px auto;
  }

  /* Title: slightly smaller, single/two-line clamp feel */
  #info-hub .info-card h3 {
    font-size: 15px;
    margin: 4px 0 0 0;
    width: 100%;
  }

  /* Hide description and CTA to keep cards compact */
  #info-hub .info-card p,
  #info-hub .info-card span {
    display: none !important;
  }

  /* So the watermark doesn't compete for space on small screens */
  #info-hub .info-card::after {
    opacity: 0.04;            /* faint but present */
    font-size: 7rem;          /* slightly smaller than desktop */
    right: -24px;
    bottom: -24px;
  }

  /* Subtle hover/tap feedback without big lift */
  #info-hub .info-card:hover {
    transform: translateY(-2px);
    box-shadow:
      0 2px 10px rgba(0,0,0,0.12),
      0 0 12px rgba(0,176,255,0.25);
  }
}

/* Ultra-small phones: keep 2-up but tighten further */
@media (max-width: 420px) {
  #info-hub .info-grid { gap: 10px; }
  #info-hub .info-card {
    min-height: 100px;
    padding: 12px 8px;
  }
  #info-hub .info-card .icon {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }
  #info-hub .info-card h3 {
    font-size: 14px;
  }
}