.app-hero {
  position: relative;
  min-height: 90vh;
  background-image: url('../assets/background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay */
.app-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 32, 64, 0.65),
      rgba(0, 0, 0, 0.55));
  z-index: 1;
}

/* Text container */
.app-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 0 20px;
  text-align: center;
}

.app-hero-content h1 {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.25;
}

/* Tablet */
@media (max-width: 991px) {
  .app-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .app-hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    text-align: center;
  }

  .app-hero-content h1 {
    font-size: 2.3rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .app-hero {
    min-height: 80vh;
  }

  .app-hero-content h1 {
    font-size: 0.8rem;
  }
}


/* --- Product Cards Redesign --- */
.product-row {
  margin-bottom: 0;
  padding: 30px;
  border-radius: 24px;
  transition: all 0.4s ease;
  background: transparent;
}

/* Image Styling with Floating Effect */
.img-wrapper {
  position: relative;
  padding: 20px;
}

.product-img {
  width: 80%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-row:hover .product-img {
  transform: translateY(-15px) scale(1.02);
}

/* Typography & Content */
.product-category {
  text-transform: uppercase;
  color: #c4961c;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: block;
}

.product-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 10px;
}

.accent-line {
  width: 60px;
  height: 5px;
  background: #c4961c;
  border-radius: 10px;
}

.product-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin: 15px 0;
}

/* Modern Button */
.btn-modern {
  background: #1a1a1a;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn-modern:hover {
  background: #c4961c;
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
  color: white;
}


/* ===== MOBILE SPACING FIX ===== */
@media (max-width: 768px) {

  /* Reduce space between image & text */
  .product-row {
    padding: 10px 0;
  }

  /* Kill Bootstrap's big bottom margin */
  .product-row .mb-5 {
    margin-bottom: 20px !important;
  }

  /* Reduce image wrapper padding */
  .img-wrapper {
    padding: 10px;
    text-align: center;
  }

  /* Make image slightly bigger on mobile */
  .product-img {
    width: 90%;
    max-height: 260px;
  }

  /* Reduce text spacing */
  .product-title {
    margin-top: 10px;
    margin-bottom: 12px;
  }

  .product-desc {
    margin: 15px 0;
  }

  /* Center text on mobile (optional but looks cleaner) */
  .product-row .col-lg-6 {
    text-align: center;
  }

  .accent-line {
    margin-left: auto;
    margin-right: auto;
  }

  .product-subtitle {
    font-size: 0.85rem;
  }
}