* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background: #f5f8fc;
  color: #1e293b;
  line-height: 1.6;
}
a {
  text-decoration: none;
}
:root {
  --primary-blue: #2f80ed;
  --primary-gradient-start: #4da3ff;
  --primary-gradient-end: #1f6fe5;
}
header {
  padding: 2rem 6rem;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  width: 100px;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid #e0e0e0;
  background-color: white;
}
.nav-container nav {
  display: flex;
  align-items: center;
  gap: 400px;
  width: 100%;
  justify-content: space-between;
}
.nav-container nav ul {
  display: flex;
  gap: 4rem;
  list-style-type: none;
}
.nav-container nav ul li {
  font-family: "Poppin", arial;
  font-size: 16px;
  font-weight: 600;
}
.nav-container nav ul li a {
  text-decoration: none;
  color: #1f2a37;
  position: relative;
  display: inline-block;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.nav-container nav ul li a:hover {
  color: var(--primary-blue);
}
.nav-container nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-gradient-start),
    var(--primary-gradient-end)
  );
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}
.nav-container nav ul li a:hover::after,
.nav-container nav ul li a:focus-visible::after {
  transform: scaleX(1);
}
.nav-container nav ul li a:focus-visible {
  outline: none;
}
.nav-container nav ul li a.active::after,
.nav-container nav ul li a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-container nav ul li a.active,
.nav-container nav ul li.active a {
  color: var(--primary-blue);
}
.nav-container nav ul li.active a::after {
  transform: scaleX(1);
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background-color: #ffffff;
  cursor: pointer;
  gap: 4px;
}
.nav-toggle .nav-icon,
.nav-toggle svg {
  width: 22px;
  height: 22px;
  color: #1f2a37;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #1f2a37;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span + span {
  margin-top: 4px;
}
.nav-container.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-container.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-container.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-container nav ul li .admin-login {
  padding: 0.5rem 1rem;
  background: linear-gradient(
    90deg,
    var(--primary-gradient-start),
    var(--primary-gradient-end)
  );
  color: white;
  border-radius: 5px;
  text-decoration: none;
  border: none;
}
.nav-container nav ul li a.admin-login {
  color: #ffffff;
}
.nav-container nav ul li a.admin-login::after {
  content: none;
}
.nav-container nav ul li a.admin-login:hover,
.nav-container nav ul li a.admin-login:focus-visible {
  color: #ffffff;
}
.admin-login:hover {
  box-shadow: 0 4px 8px rgba(79, 115, 255, 0.4);
    text-decoration: none;
}
.hero-section {
  display: flex;
  height: 80vh;
  text-align: center;
  padding: 0 2rem;
  background: url("../images/hero-image.png") no-repeat center;
  background-size: cover;
  margin-top: 70px;
  position: relative;
}
.hero-content h1 {
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #1f2a37;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #4f4f4f;
}
.btn-primary {
  padding: 0.75rem 1.1rem;
  background: linear-gradient(
    90deg,
    var(--primary-gradient-start),
    var(--primary-gradient-end)
  );
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-color: none;
  width: 100%;
}
.btn-primary:hover {
  box-shadow: 0 4px 8px rgba(79, 115, 255, 0.4);
}
.hero-image {
  width: 700px;
  height: 100%;
}
.hero-image img {
  max-width: 700px;
  z-index: -100;
  height: 100%;
}
/* Products Section with scrolling for advertisment */
.product-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem 3rem;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}
/*scrolling for advertisment */
.product-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  animation: scroll-images 60s linear infinite;
}
/*and pause when scroll */
.product-list:hover {
  animation-play-state: paused;
}
@keyframes scroll-images {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 1rem;
  padding: 1rem;
  text-align: center;
}
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}
.product-card h3 {
  font-size: 1rem;
  margin: 1rem 0;
  color: #1f2a37;
}
.product-card p {
  font-size: 0.7rem;
  color: #4f4f4f;
}
.product-card .unit {
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.btn-container {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
}
.services {
  padding: 2rem 3rem;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}
.services h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1f2a37;
}
.service-list {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem 1.5rem;
  text-align: center;
}
.service-card h3 {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #1f2a37;
}
.service-card p {
  font-size: 0.9rem;
  color: #4f4f4f;
}
.icon {
  width: 50px;
  height: 50px;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.footer-content {
  text-align: center;
  padding: 1rem;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}
.footer-content p {
  color: #4f4f4f;
  font-size: 0.9rem;
}
.social-icons {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}
.social-icons:hover {
  text-shadow: 0 4px 8px rgba(79, 115, 255, 0.4);
}

@media (max-width: 900px) {
  .nav-container {
    padding: 0.75rem 1rem;
  }
  .nav-container nav {
    gap: 0;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-container nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.25rem 1.25rem;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 12px 30px rgba(15, 24, 22, 0.12);
    display: none;
  }
  .nav-container.nav-open nav ul {
    display: flex;
  }
  .nav-container nav ul li,
  .nav-container nav ul li a,
  .nav-container nav ul li .admin-login {
    width: 100%;
  }
  .nav-container nav ul li .admin-login {
    text-align: center;
  }
  .hero-section {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 5rem 1.5rem 2.5rem;
  }
  .hero-image {
    width: 100%;
    margin-top: 2rem;
  }
  .product-section,
  .services {
    padding: 1.5rem;
  }
  .service-list {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  header {
    padding: 1.5rem;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .btn-primary {
    width: 100%;
    font-size: 8px;
  }
}
