/* General Reset */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}
/* Header */
    header {
      background: #111;
      color: #fff;
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    header h1 {
      font-size: 1.5rem;
      margin: 0;
      color: #ff3366;
    }
    nav ul {
      list-style: none;
      display: flex;
      gap: 20px;
      margin: 0;
      padding: 0;
    }
    nav ul li a {
      color: #fff;
      text-decoration: none;
      font-size: 1rem;
      transition: color 0.3s;
    }
    nav ul li a:hover {
      color: #ff3366;
    }


/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: #333;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero button {
  padding: 12px 25px;
  background: #ff3366;
  border: none;
  color: white;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

/* Product Carousel */
.product-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  padding: 40px 20px;
}

.product-carousel .product {
  flex: 0 0 250px;
  background: #f9f9f9;
  border-radius: 8px;
  text-align: center;
  padding: 20px;
}

/* All Products Section */
.all-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px 20px;
}

/* Contact Section */
#contact {
  padding: 80px 20px;
}

#contact .container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

#contact form {
  background: #222;
  padding: 30px;
  border-radius: 8px;
}

/* =============================
   RESPONSIVE STYLES
   ============================= */

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .product-carousel {
    gap: 15px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* Hero section */
  .hero {
    padding: 20px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
  .hero button {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  /* Product carousel → show one at a time */
  .product-carousel {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .product-carousel .product {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  /* Contact section stack */
  #contact .container {
    flex-direction: column;
  }
  #contact form {
    width: 100%;
    margin-top: 30px;
  }
  .contactSections{
    flex:1; 
    width:100%;
    box-sizing: border-box;
  }

}
