/*Hero*/
.hero {
  background: #0b2a3b url("../img/Background 1.png") no-repeat center;
  background-size: cover;
  padding: 70px 0;
  color: #fff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-content {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero-text h1 {
  font-size: 41px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-text p {
  font-size: 20px;
  opacity: 0.95;
  margin-bottom: 28px;
  max-width: 520px;
}


/*Search part*/
.search-section h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-box input {
  width: 320px;
  max-width: 100%;
  height: 46px;

  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0 18px;

  font-size: 15px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.search-box input:focus {
  box-shadow: 0 0 0 3px rgba(0, 137, 150, 0.25);
}

.search-box button {
  height: 46px;
  min-width: 90px;

  border: 0;
  border-radius: 999px;
  background: #2e8b8b;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  -webkit-appearance: none;
  appearance: none;
}

.search-box button:hover {
  background: #65d6d6;
}

.search-box button img {
  width: 30px;
  height: 30px;
}

.hero-img {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: flex-end;
}

.hero-img img {
  max-width: 520px;
  width: 100%;
  height: auto;
}


/*Banner Strip */
.banner-strip {
  text-align: center;
  padding: 22px 12px;
  font-size: 17px;
  color: #333;
  background: #eef4f4;
}


/*Popular Products */
.products-section {
  padding: 55px 0 45px;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: 33.33% 33.33% 33.33%;
  gap: 26px;
  align-items: stretch;
  justify-content: center;
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 18px;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fafafa;
}

.product-card h3 {
  font-size: 16px;
  font-weight: 700;
  padding: 16px 14px 12px;
  color: #222;
}


/*outline button*/
.outline-btn {
  background: transparent;
  color: #008996;
  border: 2px solid #008996;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.outline-btn:hover {
  background: #008996;
  color: #fff;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.page-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #555;
}

.page-num.active {
  border-color: #008996;
  color: #008996;
}


/*Features*/
.features-bg {
  background: url("../img/Home Background.png") no-repeat center;
  background-size: cover;
  padding: 60px 0;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-text {
  flex: 1;
  min-width: 280px;
}

.teal-text {
  color: #008996;
  font-size: 44px;
  margin-bottom: 12px;
}

.feature-text p {
  max-width: 520px;
  color: #444;
  font-size: 19px;
  margin-bottom: 18px;
}

.btn {
  display: inline-block;
  background: #008996;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
}

.btn:hover {
  background: #58cdd8;
}

.feature-img-box {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.feature-img-box img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
}


/*Responsive*/
.hero,
.products-section,
.features-bg {
  overflow-x: hidden;
}

/*ablet landscape */
@media (max-width: 1024px) {

  .teal-text {
    font-size: 36px;
  }

  .feature-img-box img {
    max-width: 380px;
  }
}

/*iPad*/
@media (max-width: 992px) {

  .product-grid {
    grid-template-columns: 50% 50%;
  }
}

/*Phone */
@media (max-width: 780px) {

  .hero {
    padding: 50px 0;
  }

  .hero-text {
    text-align: center;
  }

  .hero-img {
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 20px;
    line-height: 1.2;
  }

  .hero-text p {
    font-size: 16px;
    line-height: 1.6;
  }

  .search-box {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-row {
    margin-bottom: 30px;
  }
}

/*Small phone*/
@media (max-width: 520px) {

  .product-grid {
    grid-template-columns: 100%;
  }

  .search-box button {
    min-width: 70px;
  }
}

