/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #222;
  padding: 1rem 2rem;
}

.logo-container img {
  height: 40px;
}

.nav-links a {
  color: #fff;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: white;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #fff;
  color: #2575fc;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background-color: #e0e0e0;
}

/* Products Section */
.products {
  padding: 3rem 2rem;
  background-color: #fff;
}

.products h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.product {
  background-color: #f0f0f0;
  padding: 1.5rem;
  border-radius: 8px;
  width: 280px;
  text-align: center;
}

.product h3 {
  margin-bottom: 0.5rem;
}

.product p {
  margin-bottom: 1rem;
}

/* Tips Section */
.tips {
  padding: 3rem 2rem;
  background-color: #eef;
}

.tips h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.tips ul {
  list-style-type: disc;
  padding-left: 2rem;
}

.tips li {
  margin-bottom: 1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #222;
  color: #ccc;
}

footer a {
  color: #ccc;
  text-decoration: underline;
}
/* Responsive styles for mobile */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
    margin-top: 0.5rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.5rem 0;
    color: white;
    border-bottom: 1px solid #444;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .product-list {
    flex-direction: column;
    align-items: center;
  }
}
