
/* ==================================================== */
/* product hero section page */
/* ==================================================== */
.hero-product {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 50px 20px;
  z-index: 1;
  background: #0f0f23; /* fallback color if image fails */
}

/*to to currect page*/
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 10; /* Keep content above background */
}

.hero-text {
  flex: 1 1 500px;
  text-align: left;
  margin-bottom: 30px;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(125deg, #ffffff, #8b5cf6, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 
    0 2px 4px rgba(0,0,0,0.1),
    0 8px 16px rgba(59,130,246,0.15);
  margin-bottom: 1.5rem;
}

.hero-text .subtitle {
  font-size: 1.5rem;
  max-width: 500px;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.buttons .btn {
  margin-right: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(59,130,246,0.3);
}

.hero-image {
  flex: 1 1 400px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(59,130,246,0.3);
  transition: transform 0.5s ease;
}

.hero-image img:hover {
  transform: scale(1.05) rotate(-1deg);
}

/* Animated Gradient Background */
.bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* Above image, below content */
}

.bg-shapes span {
  position: absolute;
  display: block;
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #8b5cf6, #3b82f6, #06b6d4);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
  opacity: 0.3;
  filter: blur(120px);
}

.bg-shapes span:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.bg-shapes span:nth-child(2) { top: 50%; left: 5%; animation-delay: 5s; }
.bg-shapes span:nth-child(3) { top: 30%; left: 70%; animation-delay: 2s; }
.bg-shapes span:nth-child(4) { top: 70%; left: 50%; animation-delay: 7s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-50px) translateX(50px); }
}

/* Responsive */
@media(max-width: 1024px) {
  .hero-content { flex-direction: column; text-align: center; }
  .hero-text { margin-bottom: 30px; text-align: center; }
  .buttons .btn { margin: 0.5rem; }
}

@media(max-width: 768px) {
  .hero-text h1 { font-size: 3rem; }
  .hero-text .subtitle { font-size: 1.2rem; }
}

@media(max-width: 480px) {
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text .subtitle { font-size: 1rem; }
}
/* ==================================================== */
/* end product hero section page */
/* ==================================================== */


/* ==================================================== */
/* product product section page style */
/* ==================================================== */
/* ========== PRODUCTS LIST — MODERN GLASSMORPHISM ========== */
.products-list {
  padding: 100px 20px;
  background: rgba(15, 15, 35, 0.6);
  position: relative;
  z-index: 1;
}

.products-list .container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 3rem;
  background: linear-gradient(125deg, #ffffff, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

/* ---------- PRODUCT CARD ---------- */
.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  position: relative;
  transition: all 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.25),
    0 12px 25px rgba(59,130,246,0.15),
    inset 0 0 15px rgba(255,255,255,0.05);
}

.product-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.35),
    0 15px 40px rgba(59,130,246,0.35),
    inset 0 0 25px rgba(255,255,255,0.08);
}

/* ---------- PRODUCT IMAGE ---------- */
.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 28px 28px 0 0;
  box-shadow: 
    0 8px 25px rgba(0,0,0,0.2),
    0 6px 20px rgba(59,130,246,0.2);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.product-card img:hover {
  transform: scale(1.05);
  box-shadow: 
    0 15px 50px rgba(0,0,0,0.35),
    0 10px 35px rgba(59,130,246,0.3);
}

/* ---------- PRODUCT INFO ---------- */
.product-info {
  padding: 2rem;
  position: relative;
  text-align: left;
}

.date {
  font-size: 0.85rem;
  opacity: 0.7;
  display: block;
  margin-bottom: 0.8rem;
}

.product-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  background: linear-gradient(to right, #fff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.description {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.85;
  overflow: hidden;
  max-height: 3.6em; /* show 3 lines by default */
  transition: max-height 0.3s ease;
}

/* ---------- TOGGLE BUTTON ---------- */
.toggle-btn {
  background: none;
  border: none;
  color: #8b5cf6;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1rem;
  display: block;
  transition: all 0.4s ease, transform 0.3s ease, box-shadow 0.4s ease;
}

.toggle-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(59,130,246,0.3);
}

/* ---------- PRODUCT LINK BUTTON ---------- */
.product-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  text-decoration: none;
  display: inline-block;
  transition: all 0.4s ease, transform 0.3s ease, box-shadow 0.4s ease;
}

.product-btn:hover {
  color: #fff;
  background: rgba(139, 92, 246, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(59,130,246,0.4),
              0 6px 20px rgba(0,0,0,0.3);
}

/* ---------- NO DATA MESSAGE ---------- */
.no-data {
  font-size: 1.5rem;
  opacity: 0.7;
  padding: 5rem 2rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .products-grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-card img { height: 200px; }
  .product-info h3 { font-size: 1.3rem; }
  .product-btn { padding: 0.65rem 1.5rem; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .products-list { padding: 60px 15px; }
  .product-card img { height: 180px; }
  .product-info { padding: 1.5rem; }
  .product-info h3 { font-size: 1.1rem; }
  .description { font-size: 0.95rem; }
  .product-btn { padding: 0.55rem 1.25rem; font-size: 0.85rem; }
}
/* ==================================================== */
/* end product product section page style */
/* ==================================================== */