/* ===== HERO SECTION ===== */

.hero1 {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay for readability */
.hero1::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Hero Content */
.hero1-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeUp 1s ease forwards;
}

.hero1-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero1-content p {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.6;
}

/* ===== PRODUCTS SECTION ===== */
.hero-product {
  padding: 80px 20px;
  background: linear-gradient(180deg, #fafafa 0%, #f4f7ff 100%);
}

.products-container {
  max-width: 1200px;
  margin: auto;
}

.product {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 60px;
  animation: fadeUp 0.8s ease forwards;
}

/* ===== PRODUCT ROW ===== */
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}

/* Alternate layout */
.product-row:nth-child(even) {
  direction: rtl;
}
.product-row:nth-child(even) .product-item,
.product-row:nth-child(even) .product-card {
  direction: ltr;
}

/* ===== TEXT SIDE ===== */
.product-item1 {
  font-size: 26px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 15px;
}

.product-item1 span {
  color: #4285F4;
}

.product-item2 {
  font-size: 15px;
  color: #5f6368;
  line-height: 1.7;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

/* Image */
.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 15px;
}

/* Product Name */
.product-name {
  font-size: 20px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 10px;
}

/* Button */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4285F4, #34A853);
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(66, 133, 244, 0.3);
}

/* Shine effect */
.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  0% { left: -60%; }
  40% { left: 120%; }
  100% { left: 120%; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero1-content h1 {
    font-size: 32px;
  }

  .hero1-content p {
    font-size: 16px;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-row:nth-child(even) {
    direction: ltr;
  }

  .product {
    font-size: 28px;
  }
}