/* ================= HERO ================= */

.navbar-nav .nav-link,
.header-wrapper .btn-slant {
    white-space: nowrap !important;
}
.prd-hero {
  position: relative;
  min-height: 170px; 
  padding: 30px 20px; 
  background: url("../images/hero.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prd-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 23, 45, 0.75);
  z-index: 1; 
}

.prd-hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
  margin-top: 60px;
  width: 100%;
}

/* --- 2. TYPOGRAPHY (Responsive) --- */
.prd-hero-content h1 {
  font-size: 38px; 
  font-weight: 800;
  margin-bottom: 0px;
  margin-top: 50px; 
  letter-spacing: 1.5px;
  line-height: 1.2; 
  text-transform: uppercase;
}

.prd-breadcrumb {
  font-size: 17px;
  letter-spacing: 1px;
  margin-top: 10px;
  font-weight: 600;
}

/* --- 3. BREADCRUMB LINKS --- */
.prd-breadcrumb a {
  color: #c70327; 
  text-decoration: none; 
  cursor: pointer;
  transition: color 0.3s ease;
}

.prd-breadcrumb a:hover {
  color: #ff3355; 
}

.prd-breadcrumb .arrow {
  color: #e0002a;
  margin: 0 5px; 
}

.prd-breadcrumb a.bold-link {
  font-weight: 700;
  color: #fff; 
}

.prd-breadcrumb a.bold-link:hover {
  color: #e0002a;
}

/* --- 4. MEDIA QUERIES (The Fix for Mobile) --- */

/* Tablet (Screens below 992px) */
@media (max-width: 991px) {
  .prd-hero {
    min-height: 220px;
  }
  
  .prd-hero-content h1 {
    font-size: 36px;
    letter-spacing: 2px;
  }
}

/* Mobile (Screens below 576px) */
@media (max-width: 575px) {
  .prd-hero {
    min-height: 200px;
    padding: 30px 15px;
  }

  .prd-hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 2;
  margin-top: 30px;
  width: 100%;
}

  .prd-hero-content h1 {
    font-size: 28px; 
    letter-spacing: 1px;
    margin-bottom: 20px;
    margin-top: 0px;
    align-items: center;
  }

  .prd-breadcrumb {
    font-size: 14px;
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 5px;
  }
  
  .prd-breadcrumb .arrow {
    margin: 0 2px; 
  }
}
/* ================= CONTENT ================= */
.prd-section {
  padding: 50px 20px;
  background: #fff;
}

.prd-container {
  max-width: 1200px;
  margin: auto;
}

.prd-title {
  font-size: 46px;
  font-weight: 800;
  color: #c0002b;
  margin-bottom: 18px;
  letter-spacing: 3px;
}

.prd-desc {
  max-width: 1200px;
  text-align: justify;
  font-size: 16px;
  line-height: 1.8;
  color: #454444;
  margin-bottom: 40px;
  font-weight: 500;
}


/* GRID CONTAINER */
.ci-prd-grid {
  display: grid;
  /* Changed to 3 columns to perfectly fit your 3 products */
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px;
  padding: 30px 0;
  max-width: 1200px; /* Limits width so cards don't get too wide */
  margin: 0 auto;    /* Centers the entire grid on the page */
}

/* CARD */
.ci-prd-card {
  background: #fff;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #eeeeee; 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  /* Added: Tells the user this is a card, not a clickable link */
  cursor: default; 
}

.ci-prd-card h4 {
  /* Added: Ensures your text stays dark and clean */
  color: #333;
  margin-top: 10px;
}

.ci-prd-card:hover {
  transform: translateY(-10px);
  border-color: #c4002f; 
  box-shadow: 0 20px 40px rgba(196, 0, 47, 0.15);
}
/* IMAGE SECTION */
.ci-prd-img {
  height: 160px; /* Increased height for better visibility */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ci-prd-img img {
  max-height: 100%;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.ci-prd-card:hover img {
  transform: scale(1.1);
}

/* TITLE */
.ci-prd-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #333; /* Darker for better readability */
  letter-spacing: 0.8px;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.ci-prd-card:hover h4 {
  color: #c4002f; /* Title turns red on hover */
}

/* LEARN MORE */
.ci-learn-more {
  font-size: 13px;
  font-weight: 700;
  color: #c4002f;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  /* Smooth Fade & Slide up */
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
}

.ci-prd-card:hover .ci-learn-more {
  opacity: 1;
  transform: translateY(0);
  border-bottom-color: #c4002f;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .ci-prd-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 items on tablets */
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .ci-prd-grid {
    grid-template-columns: 1fr; /* 1 item on mobile */
  }
}