﻿/* ==== Section Background ==== */
#H_O_Prod_section {
  background: linear-gradient(135deg, #eaf4ff, #fdfcf7);
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
#H_O_Prod_section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(45deg, rgba(0,102,255,0.5) 2px, transparent 2px),
    linear-gradient(-45deg, rgba(0,198,255,0.35) 2px, transparent 2px);
  background-size: 100px 100px, 140px 140px;
  filter: drop-shadow(0 0 6px rgba(0,140,255,0.6));
  z-index: 0;
}
#H_O_Prod_section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,255,0.25), rgba(255,215,0,0.25));
  mix-blend-mode: overlay;
  z-index: 0;
}
#H_O_Prod_section > * {
  position: relative;
  z-index: 1;
}

/* ==== Header ==== */
.H_O_Prod_header {
  width: 100%;
  color: black;
  text-align: center;
  padding: 50px 20px;
  margin-bottom: 50px;
}
.H_O_Prod_process-subtitle {
  color: #1e90ff;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.H_O_Prod_process-heading {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #0b1220;
  line-height: 1.3;
}
.H_O_Prod_process-subheading {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 0;
  color: #374151;
  line-height: 1.4;
}

/* ==== Container ==== */
.H_O_Prod_container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 0 10px 80px;
}

/* ==== Card Title ==== */
.H_O_Prod_card_2 {
  margin: 0 0 15px;
  font-size: 18px;
  font-weight: 700;
  color: #222;
  position: relative;
  display: block;
}
.H_O_Prod_card_2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 3px;
  width: 0;
  background: linear-gradient(to right, #00008B, #87CEFA);
  opacity: 0;
  transition: width 1s ease, opacity 1s ease;
}
.H_O_Prod_revealed .H_O_Prod_card_2::after {
  width: 100%;
  opacity: 1;
}

/* ==== Card ==== */
.H_O_Prod_card {
  position: relative;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  padding: 40px 28px 24px;
  border-radius: 6px;
  border: 1px solid #dce6f5;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: justify;
  overflow: hidden;
   font-size: 13px;   /* yaha size chhota karo */
  line-height: 1.5;
  color: #333;
}

/* Diagonal strip */
.H_O_Prod_card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,122,255,0.04), rgba(74,144,226,0.04));
  transform: skewY(-20deg);
  transform-origin: bottom left;
  z-index: 0;
}
/* Watermark */
.H_O_Prod_card::after {
  content: "Panksoft";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 90px;
  font-weight: 800;
  background: linear-gradient(90deg, #007aff, #4a90e2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.12;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
/* Hover Effect */
.H_O_Prod_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #ffffff, #eef5ff, #e0ebff);
}
.H_O_Prod_card:hover::after {
  transform: translate(-50%, -50%) rotate(-30deg) scale(1.1);
  opacity: 0.18;
}
/* Shine animation */
.H_O_Prod_card:hover::before {
  animation: shineMove 1.5s ease forwards;
}
@keyframes shineMove {
  0% {
    background: linear-gradient(135deg, rgba(0,122,255,0.04), rgba(74,144,226,0.04));
  }
  50% {
    background: linear-gradient(135deg, rgba(0,122,255,0.12), rgba(74,144,226,0.08), rgba(0,122,255,0.12));
  }
  100% {
    background: linear-gradient(135deg, rgba(0,122,255,0.04), rgba(74,144,226,0.04));
  }
}

/* ==== Link ==== */
.H_O_Prod_link {
  align-self: flex-end;
  font-size: 14px;
  font-weight: 600;
  color: #0066ff;
  text-decoration: none;
  margin-top: 18px;
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}
.H_O_Prod_link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #00c6ff;
  transition: all 0.35s ease;
  transform: translateX(-50%);
}
.H_O_Prod_link:hover {
  color: #00c6ff;
  transform: translateY(-3px);
}
.H_O_Prod_link:hover::after {
  width: 100%;
}

/* ==== Badge ==== */
.H_O_Prod_new {
  background: #00c6ff;
  color: #fff;
  padding: 2px 6px;
  font-size: 11px;
  border-radius: 6px;
  margin-left: 6px;
}

/* ==== Scroll Reveal ==== */
.H_O_Prod_reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: all 0.7s ease;
}
.H_O_Prod_revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .H_O_Prod_container {
    grid-template-columns: 1fr;
  }
  .H_O_Prod_process-heading {
    font-size: 24px;
  }
  .H_O_Prod_process-subheading {
    font-size: 16px;
  }
}
