* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f5f6fa;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffeb3b;
}

.icons i {
  margin-left: 20px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s, color 0.3s;
}

.icons i:hover {
  transform: scale(1.2);
  color: #ffeb3b;
}

/* Toggle menu */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Header */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 90px 8%;
  background: #fff;
  flex-wrap: wrap;
}

.hero-text {
  max-width: 500px;
  animation: slideIn 1s ease;
}

.hero-text h1 {
  font-size: 3rem;
  color: #222;
  margin-bottom: 15px;
}

.hero-text p {
  color: #666;
  margin-bottom: 25px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.main-btn {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 40px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.main-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(37, 117, 252, 0.4);
}

.hero-img img {
  width: 370px;
  animation: float 3s ease-in-out infinite;
}

/* Features */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 80px 8%;
  background: #f0f2f5;
  text-align: center;
}

.feature {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 260px;
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-10px);
}

.feature i {
  font-size: 2.5rem;
  color: #2575fc;
  margin-bottom: 10px;
}

/* Products */
.products {
  text-align: center;
  padding: 80px 8%;
  background: #fff;
}

.products h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #222;
}

.product-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  width: 240px;
  padding: 25px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 5px;
}

.card p {
  color: #666;
  margin-bottom: 10px;
}

.card-btn {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 30px;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(37, 117, 252, 0.3);
}

/* Contact */
.contact {
  text-align: center;
  padding: 90px 8%;
  background: #f0f2f5;
}

.contact h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.contact p {
  color: #555;
  margin-bottom: 25px;
  font-size: 1.05rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  color: #fff;
  text-align: center;
  padding: 60px 8% 25px;
}

.footer-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-content p {
  margin-bottom: 20px;
  font-size: 1rem;
}

.socials i {
  margin: 0 10px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.socials i:hover {
  transform: scale(1.2);
  color: #ffeb3b;
}

.bottom {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 900px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #6a11cb;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    display: none;
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .icons {
    display: none;
  }

  .hero {
    text-align: center;
  }

  .hero-img img {
    width: 270px;
    margin-top: 25px;
  }
}
