/* ======== style.css ======== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #111;
  scroll-behavior: smooth;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background: #000;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #43B02A;
  text-decoration: none;
}

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

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #43B02A;
}

/* Hero Section */
.hero {
  background: url("infinix images/heroinfinix.jpg") center center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}


.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

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

.btn {
  background: #43B02A;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #368022;
}

/* Product Sections */
.product-section {
  padding: 60px 0;
  background: #f9f9f9;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.product-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.product-card {
  display: flex;
  gap: 30px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.product-card img {
  max-width: 100%;
  width: 100%;
  border-radius: 10px;
  flex: 1;
}

.product-info {
  flex: 1;
}

.product-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.product-info ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.product-info li {
  margin-bottom: 8px;
  font-size: 1rem;
}
