/* ===== General Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f7f7f7;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  background: #2c7a7b;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* ===== Main Section ===== */
.main-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: #e6fffa;
}

.product-info {
  flex: 1 1 300px;
  padding: 20px;
}

.product-info h1 {
  font-size: 2rem;
  color: #2c7a7b;
}

.product-info p {
  margin: 10px 0;
}

.product-image img {
  width: 300px;
  max-width: 100%;
  border-radius: 10px;
}

.btn {
  background: #2c7a7b;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background: #285e61;
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
}

.close {
  float: right;
  cursor: pointer;
  font-size: 20px;
}

/* ===== Sections ===== */
.features-section, .pricing-section, .footer-section {
  padding: 50px 20px;
  text-align: center;
}

.features-section ul {
  list-style: none;
  padding-top: 20px;
}

.features-section li {
  margin-bottom: 10px;
}

/* ===== Footer ===== */
footer form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

footer input, footer textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
}

footer .terms {
  text-align: left;
  font-size: 0.9rem;
}

footer button {
  width: 100%;
}

footer p {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #555;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }

  .main-section {
    flex-direction: column;
    text-align: center;
  }

  .product-info h1 {
    font-size: 1.6rem;
  }

  .modal-content {
    width: 95%;
  }
}
