html {
  scroll-behavior: smooth;
}
:root {
  --main-color: #2196f3;
  --secondary-color: #1787e0;
  --text-color: #20324c;
}
body {
  font-family: "Cairo", sans-serif;
  color: var(--text-color);
}
* {
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}

.container {
  padding: 15px;
  margin: auto;
  max-width: 100%;
}
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* start login */
/* .login-form .container {
  height: 100vh;
} */
/* end login */
/* start nav */
nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 100%;
}
nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background-color: var(--main-color);
  color: white;
  border-radius: 5px;
  position: relative;
}
nav .container .menu {
  color: white;
  cursor: pointer;
}
nav .container ul {
  display: flex;
  margin-bottom: 0;
}
nav .container ul li {
  padding: 15px;
  position: relative;
  transition: all 0.3s;
}
nav .container ul li::before {
  content: "";
  width: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  background-color: white;
  transition: all 0.3s;
}
nav .container ul li:hover {
  background-color: var(--secondary-color);
}
nav .container ul li:hover::before {
  width: 100%;
}
nav .container a {
  color: white;
}
nav .logo a {
  font-size: 25px;
  font-weight: bold;
}
@media (max-width: 767px) {
  nav .container ul {
    display: none;
    width: 400px;
    max-width: 100%;
    position: absolute;
    top: calc(100% + 20px);
    right: 0;
    background-color: #eee;
  }
  nav .container ul::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid;
    border-color: transparent transparent #eee transparent;
    bottom: 100%;
    right: 20px;
  }
  nav .container ul li a {
    color: black;
  }
  nav .container ul li:hover {
    background-color: var(--main-color);
  }
  nav .container ul li:hover a {
    color: white;
  }
  nav .container ul li:active {
    background-color: var(--secondary-color);
  }
  nav .container ul.appear {
    display: block;
  }
}
@media (min-width: 768px) {
  nav .container .menu {
    display: none;
  }
}
.title {
  font-size: 50px;
  font-weight: bold;
  width: fit-content;
  margin: auto;
  position: relative;
  margin-bottom: 50px;
  line-height: 1;
}
.title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  height: 5px;
  width: 100px;
  background-color: var(--main-color);
  transition: all 0.3s;
}
.title:hover::after {
  /* width: 150px; */
  width: 100%;
}
/* end nav */
/* start header */
header {
  height: 100vh;
  background-image: url("../assets/WhatsApp\ Image\ 2026-04-03\ at\ 5.51.03\ PM.jpeg");
  background-attachment: fixed;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0;
}
header .container {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  height: inherit;
  flex-direction: column;
  text-align: center;
}
header .container h1 {
  margin-bottom: 20px;
  line-height: 1;
}
header .container h1 span {
  color: var(--main-color);
  font-size: 35px;
}
header .container p {
  margin-bottom: 20px;
}
header .container a {
  padding: 15px 20px;
  border: 2px solid white;
  color: white;
  border-radius: 10px;
  transition: all 0.4s;
}
header .container a:hover {
  background-color: var(--main-color);
  border-color: var(--main-color);
}
header::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #0006;
  z-index: -1;
}
/* end header */
/* start why-choose */
.why-choose .container {
  text-align: center;
  font-size: 25px;
  vertical-align: middle;
}
.why-choose .container ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.why-choose .container ul li::before {
  content: "✔";
  color: var(--main-color);
  margin-right: 10px;
  font-size: 30px;
}
.why-choose .container ul li {
  width: 50%;
}
.why-choose .container ul li:hover {
  transform: translateY(-5px);
}
@media (max-width: 767px) {
  .why-choose .container ul li {
    width: 100%;
  }
}
/* end why-choose */
.form input {
  margin-bottom: 20px;
}
/* start products */
.form {
  margin-top: 100px;
}
.products {
  margin-top: 70px;
}
#productsContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  justify-content: center;
  gap: 30px;
}
.product-card {
  overflow: hidden;
  box-shadow: 1px 1px 20px #a3d7ff;
  border-radius: 7px;
  text-align: center;
}

.product-card img {
  width: 100%;
  /* height: 100px; */
}
.product-card .content {
  padding: 15px;
}
.product-card .content .buyBtn a {
  display: inline-block;
  padding: 15px 20px;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  border-radius: 10px;
  background-color: white;
  font-size: 18px;
  font-weight: 600;
  margin-block: 20px;
  transition: all 0.4s;
}
.product-card .content .buyBtn a:hover {
  background-color: var(--main-color);
  color: white;
}
.product-card .content span {
  font-weight: 700;
}
/* end products */
/* start contact */
.contact .container {
  text-align: center;
}
.contact h2 {
  font-size: 50px;
  width: 600px;
  max-width: 100%;
  margin: auto;
  line-height: 1;
  margin-bottom: 20px;
}
.contact h2 span {
  color: var(--main-color);
}
.contact p {
  font-weight: 600;
  font-size: 18px;
}
.contact .container .whatsapp {
  border: 1px solid #c1c1c1;
  box-shadow: 2px 2px 5px #c5c5c5;
  text-align: center;
  margin-top: 40px;
  border-radius: 10px;
  background-color: #eee;
  width: 600px;
  max-width: 100%;
  margin-inline: auto;
}
.contact .container .whatsapp .content {
  padding: 15px;
}
.contact .container .whatsapp .content h4 {
  margin-top: 15px;
}
.contact .container .whatsapp .phone {
  padding: 10px;
  border-top: 1px solid #c1c1c1;
}
.contact .container .whatsapp .phone a {
  display: inline-block;
  width: 50%;
  padding: 10px;
  color: white;
  border-radius: 10px;
  background-color: #17d6e0;
  transition: all 0.3s;
}
.contact .container .whatsapp .phone a:hover {
  background-color: var(--main-color);
  color: white;
}
.contact .container .whatsapp .phone a:active {
  background-color: var(--secondary-color);
}
/* end contact */
/* start footer */
footer {
  background-color: var(--main-color);
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 35px;
  font-weight: 600;
  margin-top: 30px;
}
footer a {
  color: black;
  font-size: 25px;
  font-weight: 700;
  text-decoration: underline;
}
/* footer span {
  color: red;
} */
@media (max-width: 767px) {
  footer {
    font-size: 25px;
  }
}
/* end footer */
