.ultra-products-top-banner-section {
  width: 100%;
  height: 572px;
  overflow: hidden;
}

/* Image ko responsive aur center karne ke liye */
.ultra-products-top-banner-section .banner-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Yeh 'background-size: contain' jaisa kaam karega */
  object-position: center; /* Yeh 'background-position: center' jaisa kaam karega */
}
/* =========================
   MAIN SECTION
========================= */

.ultra-products-main-section {
  width: 100%;
  padding: 40px 2%;
  background: #ffffff;
  box-sizing: border-box;
}

/* =========================
   HEADING
========================= */

.ultra-products-heading-wrapper {
  width: 100%;
  text-align: center;
  margin-bottom: 70px;
}

.ultra-products-main-heading {
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  letter-spacing: 1px;
  font-family: Arial, Helvetica, sans-serif;
}

.ultra-products-heading-border {
  width: 130px;
  height: 6px;
  margin: 20px auto 0;
  border-radius: 100px;
  background: linear-gradient(to right, #0f172a, #2563eb, #06b6d4);
  position: relative;
  overflow: hidden;
}

.ultra-products-heading-border::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  left: -40px;
  animation: ultraHeadingShine 3s linear infinite;
}

@keyframes ultraHeadingShine {
  100% {
    left: 140px;
  }
}

/* =========================
   PRODUCTS GRID
========================= */

.ultra-products-grid-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* =========================
   PRODUCT CARD
========================= */

.ultra-single-product-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.4s ease;
  position: relative;
  cursor: pointer;
}

.ultra-single-product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.18);
}

/* Gradient Border Hover */
.ultra-single-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, #2563eb, #06b6d4, #0f172a);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: 0.4s ease;
}

.ultra-single-product-card:hover::before {
  opacity: 1;
}

/* =========================
   IMAGE BOX
========================= */

.ultra-product-image-box {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  border: 1px solid #eee;
}

.ultra-product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.5s ease;
  padding: 5px;
}

.ultra-single-product-card:hover img {
  transform: scale(1);
}

/* =========================
   CONTENT
========================= */

.ultra-product-content-box {
  padding: 8px 10px;

  text-align: center;
}

.ultra-product-content-box h3 {
  margin: 0;
  font-size: 18px;
  color: #111827;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  transition: 0.3s ease;
}

.ultra-single-product-card:hover h3 {
  color: #2563eb;
}

/* =========================
   TABLET RESPONSIVE
========================= */

@media (max-width: 992px) {
  .ultra-products-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .ultra-products-main-heading {
    font-size: 42px;
  }
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {
  .ultra-products-top-banner-section {
    height: 180px;
  }

  .ultra-products-main-section {
    padding: 50px 2%;
  }

  .ultra-products-grid-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .ultra-products-main-heading {
    font-size: 34px;
    line-height: 1.3;
  }

  .ultra-product-image-box {
    height: 280px;
    border: 1px solid #eee;
  }

  .ultra-product-content-box h3 {
    font-size: 22px;
  }
}

a {
  text-decoration: none;
}

/* products text section added  */
.ultra-products-sub-text {
  max-width: 1300px;
  margin: 25px auto 0;
  text-align: center;
  padding: 0 20px;
}

.ultra-products-sub-text p {
  font-size: 16px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 18px;
  font-weight: 400;
}

.ultra-products-sub-text strong {
  color: #000;
  font-weight: 600;
}

/* Tablet */
@media (max-width: 768px) {
  .ultra-products-sub-text p {
    font-size: 15px;
    line-height: 1.8;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .ultra-products-sub-text {
    padding: 0 15px;
  }

  .ultra-products-sub-text p {
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
  }
}
/* products text add end  */
