.hero-section {
  position: relative;
  text-align: center;
  background: #fefcfc;
}

.logo img {
  width: 50%;
  max-width: 100%;
  margin: 25px auto;
}

.heading {
  max-width: 860px;
  margin: 0 auto 40px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
  color: #42a5dd;
}

.content-section {
  position: relative;
  background: #42a5dd;
  padding: 140px 40px 0px;
  clip-path: ellipse(70% 100% at 50% 100%);
}

.description {
  max-width: 760px;
  margin: 0 auto 50px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 400;
}

.mattress-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mattress-wrapper img {
  width: 700px;
  max-width: 100%;
  object-fit: contain;
}

.technology-section {
  background: #42a5dd;
  color: #fff;
  text-align: center;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-header p {
  max-width: 870px;
  margin: 0 auto;
  font-size: 24px;
  line-height: 1.7;
  color: #eaf7ff;
}

.tech-circles {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 70px;
  flex-wrap: wrap;
}

.circle-card {
  text-align: center;
}

.circle-card img {
  width: 400px;
  margin: auto;
}

.circle-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}

.horizontal-line .dotted-line {
  margin: auto;
}

.circle-card span {
  font-size: 22px;
  color: #f5f6f7;
  font-weight: 700;
}

.thermopure-btn {
  margin: 0 0 40px;
}

.thermopure-btn a {
  display: inline-block;
  padding: 12px 24px;
  background: #043261;
  color: #ffffff;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s;
}

.thermopure-btn a:hover {
  background: #42a5dd;
}

.comfort-section {
  margin: 90px 0px;
}

.horizontal-line {
  width: 100%;
  margin: 60px 0;
}

.comfort-section h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
}

.comfort-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  flex-wrap: wrap;
}

.main-image img {
  width: 600px;
}

.side-images {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.side-images img {
  width: 300px;
}

.features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 80px;
  flex-wrap: wrap;
}

.feature-box {
  max-width: 320px;
  text-align: center;
}

.feature-box .icon {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-box .icon img {
  width: 150px;
}

.feature-box h4 {
  font-size: 18px;
  margin: 10px;
}

.feature-box p {
  font-size: 16px;
  line-height: 1.4;
  color: #eef9ff;
  margin: 5px;
  max-width: 284px;
}

.background-colour {
  background-color: #013161;
}

.container {
  background: #42a5dd;
  text-align: center;
  padding: 10px 20px 60px;
  position: relative;
  overflow: hidden;
}

.containers {
  background: #42a5dd;
  padding: 10px 20px 180px;

  clip-path: ellipse(100% 100% at 50% 0%);
}

.thermopure-title {
  font-size: 30px;
  color: #f7f3f3;
}

.description {
  max-width: 832px;
  margin: 0 auto 20px;
  font-size: 22px;
  line-height: 1.4;
  color: #f5f5f5;
}

.descriptions {
  max-width: 1075px;
  margin: 0 auto 20px;
  font-size: 22px;
  line-height: 1.4;
  color: #f5f5f5;
}

.lab-image {
  margin: 40px auto;
}

.lab-image img {
  width: 45%;
  margin: auto;
}

.certification-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 75px;
  flex-wrap: wrap;
  padding-bottom: 100px;
}

.certification-logos img {
  height: 78px;
}

.shop-section img {
  margin: auto;
  padding-bottom: 90px;
}

.shop-section .products img {
  padding: 0px;
}

.shop-thermopure-title {
  font-size: 35px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 45px;
  color: #f0f3f4;
}

.products {
  display: flex;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap;
}

.product-card {
  text-align: center;
}

.product-card .product-image {
  width: 450px;
  padding: 10px;
  transition: all 0.2s;
  border-radius: 50%;
  border: 2px solid transparent;
}

.product-card a:hover .product-image {
  border: 2px solid #fff;
}



.product-card h4 {
  font-size: 30px;
  font-weight: 500;
  color: #ffffff;
}

.product-card a {
  text-decoration: none;
}

.bottom-curve {
  background: #013161;
  padding: 90px 20px 180px;
  text-align: center;
}

.bottom-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 45px;
  justify-items: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.bottom-logos img:nth-child(5) {
  grid-column: 2;
}

.bottom-logos img {
  height: 78px;
}

@media (min-width: 768px) and (max-width: 1024px) {

  .description {
    max-width: 646px;
  }

  .descriptions {
    max-width: 646px;
  }

  .mattress-wrapper img,
  .main-image img,
  .lab-image img {
    width: 540px;
  }

  .circle-card img,
  .product-card  .product-image {
    width: 320px;
  }

  .heading {
    max-width: 649px;
    font-size: 25px;
  }
}

@media (max-width: 768px) {

  .products {
    gap: 30px;
}

  .heading {
    font-size: 19px;
    line-height: 1.5;
    max-width: 467px;
  }

  .content-section {
    padding: 100px 20px 60px;
    clip-path: ellipse(90% 100% at 50% 100%);
  }

  .description {
    font-size: 16px;
    line-height: 1.7;
    max-width: 583px
  }

  .mattress-wrapper img {
    width: 70%;
  }

  .technology-section {
    padding: 10px 15px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .section-header p {
    font-size: 16px;
    max-width: 572px;
  }

  .comfort-section h3 {
    font-size: 24px;
  }

  .main-image img,
  .lab-image img {
    width: 360px;
  }

  .side-images {
    justify-content: center;
    flex-wrap: wrap;
  }

  .side-images img {
    width: 165px;
  }

  .circle-card img {
    width: 200px;
  }

  .circle-card span {
    font-size: 18px;
  }

  .thermopure-title,
  .product-card h4,
  .shop-thermopure-title {
    font-size: 25px;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .descriptions {
    font-size: 18px;
  }

  .certification-logos {
    gap: 40px;
  }

  .product-card .product-image {
    width: 310px;
  }

  .bottom-logos {
    grid-template-columns: repeat(2, auto);
  }

  .feature-box .icon img {
    width: 100px;
  }

}