/* Reset & Basic */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Header & Navbar */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .logo h1 {
    color: #007bff;
    font-size: 28px;
    font-weight: bold;
}

.header nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    margin: 0 15px;
    position: relative;
}

.header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: 0.3s;
}

.header nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-btn {
    text-decoration: none;
    padding: 12px 30px;
    background: #fff;
    color: #2575fc;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #2575fc;
    color: #fff;
}

/* Products Section */
.products {
    padding: 80px 20px;
    text-align: center;
}

.products h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.product-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 20px;
    width: 250px;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
}

}
.product-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.product-card .cta-btn {
    display: inline-block;
}
/* About Section */
.about {
    background: #f9f9f9;
    text-align: center;
    padding: 80px 20px;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
/* Contact Section */
.contact {
    background: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact input, .contact textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
}

.contact textarea {
    resize: vertical;
    min-height: 120px;
}

.contact button.cta-btn {
    align-self: center;
    padding: 12px 40px;
}
/* Footer */
footer {
    background: #2575fc;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 16px;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .product-grid {
    flex-direction: column;
    gap: 20px;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .header nav {
    flex-direction: column;
    gap: 10px;
  }
}
.cta-btn {
  transition: 0.4s;
}
.cta-btn:hover {
  transform: scale(1.05);
}

/* PRODUCTS GRID FIX */
.product-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product-card {
  width: 300px;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* MOBILE RESPONSIVE FIX */
@media (max-width: 768px) {

  nav {
    flex-direction: column;
    align-items: center;
  }

  .product-grid {
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    width: 90%;
  }

}


@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; }
  nav { flex-direction: column; }
}