@import url('https://fonts.googleapis.com/css?family=League+Spartan&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'League Spartan', sans-serif;
}

h1 {
  font-size: 50px;
  line-height: 64px;
  color: #222;
}

h2 {
  font-size: 46px;
  line-height: 54px;
  color: #222;
}

h4 {
  font-size: 20px;
  color: #222;
}

h6 {
  font-weight: 700;
  font-size: 12px;
}

p {
  font-size: 16px;
  color: #465b52;
  margin: 15px 0 20px 0;
}

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

body {
  width: 100%;
}

#header {
  display: flex;
  height: 100px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 80px;
  background: #E3E6F3;
  box-shadow: 0 15px rgba(0, 0, 0, 0.06);
  z-index: 999;
  position: sticky;
  top: 0;
  left: 0;
}

#navbar {
  display: flex;
  align-items: center;
  justify-content: center;
}

#navbar li {
  list-style: none;
  padding: 0 20px;
  position: relative;
}

#navbar li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a:active {
  color: #088178;
}

#navbar li a.active::after,
#navbar li a:hover::after {
  content: "";
  width: 30%;
  height: 2px;
  background: #088178;
  position: absolute;
  bottom: -4px;
  left: 20px;
}

#hero {
  background-image: url('https://wallpapergod.com/images/hd/white-5000X3750-wallpaper-4k5mdob0braj3xbb.jpeg');
  height: 90vh;
  width: 100%;
  background-position: top 25% right 0;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#hero h4 {
  padding-bottom: 15px;
}

#hero h1 {
  color: #088178;
}

#hero button {
  background-image: url("https://github.com/tech2etc/Build-and-Deploy-Ecommerce-Website/blob/main/img/button.png?raw=true");
  background-color: transparent;
  color: #088178;
  border: 0;
  padding: 14px 80px 14px 65px;
  background-repeat: no-repeat;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}

.section-p1 {
  padding: 40px 80px;
}

.section-title {
  font-size: 34px;
  margin-bottom: 6px;
  color: #222;
}

.section-sub {
  color: #59625b;
  margin-bottom: 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.06);
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1), box-shadow 220ms;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 170px;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.10);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: linear-gradient(135deg, #f0f7f2, #e7f1ea);
  margin-bottom: 12px;
}

.feature-title {
  font-size: 18px;
  margin: 0 0 8px;
  color: #1f3430;
  line-height: 1.1;
}

.feature-desc {
  margin: 0;
  color: #5c6b64;
  font-size: 14px;
  flex-grow: 1;
}

@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .section-p1 {
    padding: 24px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    min-height: auto;
  }
}

.section-title {
  font-size: 34px;
  margin-bottom: 6px;
  color: #222;
  text-align: center;
}

.section-sub {
  color: #59625b;
  margin-bottom: 24px;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.06);
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1), box-shadow 220ms;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.10);
}

.product-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
  object-fit: cover;
}

.product-title {
  font-size: 18px;
  margin: 12px 0 8px;
  color: #1f3430;
  line-height: 1.1;
}

.product-title a {
  color: inherit;
  text-decoration: none;
}

.product-price {
  font-size: 16px;
  color: #5c6b64;
  margin-bottom: 16px;
}

.btn-primary {
  background-color: #2b8a74;
  color: #fff;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 200ms;
}

.btn-primary:hover {
  background-color: #237058;
}

@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .section-p1 {
    padding: 24px 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

#banner {
  background-image: url("https://cdn.wallpapersafari.com/56/23/4aTQWe.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

#banner h4 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

#banner h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

#banner h2 span {
  color: #ef3636;
}

button.normal {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 30px;
  color: #000;
  background-color: #fff;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

button.normal:hover {
  background-color: #088178;
  color: #fff;
}

.section-m1 {
  margin: 40px 0;
}

@media (max-width: 600px) {
  #banner h2 {
    font-size: 24px;
  }

  #banner h4 {
    font-size: 16px;
  }
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #f5f5f5;
  padding: 60px 80px;
}

footer .col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

footer h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #222;
}

footer p {
  font-size: 14px;
  margin: 0 0 8px;
  color: #465b52;
}

footer a {
  font-size: 14px;
  text-decoration: none;
  color: #465b52;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #088178;
}

footer .follow {
  margin-top: 20px;
}

footer .follow i {
  color: #465b52;
  padding-right: 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

footer .follow i:hover {
  color: #088178;
}

footer .install .row img {
  border: 1px solid #088178;
  border-radius: 6px;
  width: 120px;
  margin-right: 10px;
}

footer .install img {
  margin: 10px 0 15px;
}

footer .copyright {
  width: 100%;
  text-align: center;
  border-top: 1px solid #eaeaea;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: #465b52;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    padding: 40px 20px;
  }

  footer .col {
    width: 100%;
    margin-bottom: 30px;
  }

  footer .install .row img {
    width: 100px;
  }
}
