* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: black;
  font-family: "Poppins", serif;
}

a {
  text-decoration: none;
  color: black;
}

.navbar {
  display: flex;
  justify-content: space-between;
  width: 90%;
  padding: 10px;
  gap: 20px;
  font-size: 14px;
  border-bottom: 2px dotted black;
}

.navbar .logo {
  padding: 10px;
}

.navbar .menu {
  list-style: none;
  display: flex;
}

.menu-item {
  position: relative;
}

.navbar .menu .menu-item a {
  text-decoration: none;
  color: black;
  padding: 10px;
  display: block;
}

.navbar .menu .menu-item a:hover {
  background-color: black;
  color: white;
  border-radius: 10px;
}

.navbar .menu .menu-item .dropdown {
  position: absolute;
  width: 200px;
  background-color: white;
  color: black;
  list-style: none;
  display: none;
  box-shadow: 0 8px 16px black;
  border-radius: 15px;
  border: 2px solid white;
}

.navbar .menu .menu-item .dropdown li a {
  text-decoration: none;
  color: black;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
}

.navbar .menu .menu-item .dropdown li a:hover {
  background-color: black;
  color: white;
}

.navbar .menu .menu-item:hover .dropdown {
  display: flex;
  flex-direction: column;
}

.navbar .icons {
  display: flex;
  gap: 20px;
  padding: 10px;
}

.hero {
  display: flex;
  background-color: black;
  color: white;
  width: 90%;
  height: 550px;
  border-radius: 20px;
  gap: 10px;
  border-radius: 15px;
  border: 1px solid rgb(226, 205, 205);
  margin-top: 50px;
  background-image: url(https://image-us.samsung.com/SamsungUS/home/shop/all-deals/12242024/SDSAC-8615-S24U-New-Year-Saving-ADP_Full_Bleed_DT_1440x450.jpg?$cm-g-fb-full-bleed-img-jpg$);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  margin-left: 50px;
}

.hero .text .btn {
  padding: 10px;
  text-align: center;
  background-color: white;
  color: black;
  border-radius: 20px;
  border: 2px solid black;
  width: 150px;
}

.hero .text .btn:hover {
  background-color: black;
  color: white;
 border: 2px solid white;  
}

.hero img {
  width: 500px;
}

.product {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: 80px;
  width: 90%;
}

.product h1 {
  font-size: 28px;
  font-weight: bold;
}

.product .product_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.product .product_grid .product_card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  background-color: rgb(228, 226, 226);
  gap: 10px;
}

.product .product_grid .product_card img {
  width: 200px;
  margin-bottom: 15px;
}

.product .product_grid .product_card h2 {
    background-color: blue;
  font-size: 13px;
  color: white;
  padding: 5px;
  border-radius: 15px;
}

.product .product_grid .product_card h1 {
  font-size: 15px;
}

.product .product_grid .product_card p {
  font-size: 13px;
}

.product .product_grid .product_card a {
  padding: 8px;
  background-color: blue;
  border-radius: 15px;
  color: white;
}

.product .product_grid .product_card a:hover {
    background-color: black;
}

.lucky {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 280px;
  width: 90%;
  background-color: #f1eff1d5;
  color: white;
  gap: 40px;
  background-image: url(https://images.samsung.com/is/image/samsung/assets/us/home/12262024-8am/HP-Shopapp-D.jpg?$1440_N_JPG$);
  background-size: cover;
  border-radius: 20px;
  margin-top: 80px;
}

.lucky .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  margin-left: 50px;
}

.lucky .text .btn {
  padding: 10px;
  text-align: center;
  background-color: white;
  border-radius: 20px;
  border: 1px solid black;
  width: 150px;
}

.lucky .text .btn:hover {
  background-color: black;
  color: white;
}

.sentence {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  gap: 20px;
  margin-top: 80px;
  border-top: 2px dotted black;
  background-color: #f9f9f9;
}

.sentence .text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: smaller;
  width: 90%;
  margin-top: 20px;
}

.footer {
  background-color: #f9f9f9;
  border-top: 2px dotted black;
  padding: 20px 50px;
  width: 90%;
  margin-top: 50px;
}

.footer-sections {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  min-width: 180px;
  margin-right: 20px;
}

.footer-column h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  font-size: 11px;
  text-decoration: none;
  color: #333;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 11px;
  color: #666;
  margin: 5px 0;
}

.footer-bottom p a {
  text-decoration: none;
  color: #333;
}

.footer-bottom p a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 10px;
}

.social-icons span {
  display: block;
  font-size: 11px;
  margin-bottom: 8px;
}
