body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  padding: 0 1rem;
  margin-bottom: 1rem;
}

header {
  padding: 1rem 0;
  text-align: start;
}

header img {
  max-width: 300px;
  height: auto;
}

header .container {
  margin-bottom: 0;
}

.content {
  flex: 1;
  padding-left: 0.5rem;
}

.content h2 {
  margin: 0;
}

.content p {
  margin: 0;
}

.main-content-all {
  background: #f8f8f8;
}

.main-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1rem 0;
}

.text-section {
  flex: 1;
  min-width: 300px;
  padding: 1rem;
  text-align: justify;
}

.text-section h1 {
  color: #333;
  font-size: 24px;
  margin-bottom: 10px;
}

.text-section p {
  color: #666;
  margin-bottom: 1rem;
  font-size: clamp(14px, 2vw, 16px);
}

.advantages {
  white-space: pre-wrap;
  margin-bottom: 20px;
}

.advantages span {
  color: #333;
  font-size: clamp(16px, 2.5vw, 20px);
  margin-bottom: 0.5rem;
}

.advantages b {
  color: #333;
  font-size: clamp(24px, 3.5vw, 30px);
  font-weight: 700;
}

.substances {
  display: flex;
  justify-content: space-between;
  margin: 3rem 0;
  flex-wrap: wrap;
  gap: 2rem;
}

.substances-background,
.substances-background-black {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.substances-background-black .section.section:nth-child(2) {
  background-color: black;
  padding: 2.5rem 3rem;
}

.substances-background .section.section:nth-child(2) {
  background-color: #ac0102;
  padding: 2.5rem 3rem;
}

.red-box {
  background-color: #ac0102;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 40px;
  border-top-right-radius: 2px;
  border-top-left-radius: 40px;
  display: inline-block;
  padding: 5px 20px;
}

.red-box:hover {
  background-color: #fff;
  color: #ac0102;
}

.red-box>a {
  color: #fff;
  text-decoration: none;
}

.red-box:hover>a {
  color: #ac0102;
}

.number-red-box-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center align items */
}

.section {
  flex: 1;
  min-width: 300px;
  margin: 0.5rem;
}

.flex-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.number {
  font-size: clamp(40px, 5vw, 50px);
  flex: 0 0 50px;
  font-size: 24px;
  font-weight: bold;
}

.section .number {
  font-size: 100px;
  font-weight: bold;
  color: #ac0102;
  margin-right: 20px;
  font-family: "Lobster", serif;
}

.substances-background .section .number,
.substances-background-black .section .number {
  color: white;
}

.section .content {
  flex: 1;
}

.content-header p,
.content-header b {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #ac0102;
}

.substances-background .content-header p,
.substances-background .content-header b,
.substances-background-black .content-header p,
.substances-background-black .content-header b {
  color: white;
}

.content-body p {
  font-size: clamp(14px, 2vw, 16px);
  color: hsl(0, 0%, 26%);
  text-align: justify;
}

.substances-background .content-body p,
.substances-background-black .content-body p {
  color: white;
}

.image-container {
  position: relative;
  width: 100%;
  height: clamp(250px, 40vw, 400px);
  margin-bottom: 2rem;
}

.image-02 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-bottom-right-radius: clamp(100px, 20vw, 227px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-woman {
  position: absolute;
  bottom: 0;
  left: 79%;
  transform: translateX(-50%);
  width: 40%;
  width: clamp(150px, 40%, 370px);
}

.text-overlay-container {
  position: absolute;
  top: 50%;
  left: 39%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: left;
  width: 60%;
}

.visual-section {
  flex: 1;

  min-width: 300px;
}

.visual-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: clamp(50px, 10vw, 100px) 0 clamp(50px, 10vw, 100px) 0;
}

section.section-4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
}

.s4-left {
  width: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: left;
}

.s4-content {
  background: #ac0102;
  border-radius: clamp(25px, 5vw, 50px) 0 clamp(25px, 5vw, 50px) 0;
  padding: 2.5rem;
  color: white;
  width: 80%;
  position: relative;
}

.s4-content-left {
  text-align: left;
}

.s4-content-left>span {
  font-size: clamp(40px, 6vw, 90px);
  font-weight: bold;
  display: block;
  font-family: "Lobster", serif;
}

.s4-content-left b {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-top: 0.5rem;
}

.s4-content-right {
  margin-top: 1rem;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
}

.s4-right {
  width: 100%;
  position: relative;
  text-align: right;
}

.s4-right img {
  width: 90%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 1;
  border-bottom-right-radius: 100px;
  border-top-left-radius: 100px;
  display: inline-block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.s4-right img,
.s4-right .overlay {
  position: relative;
  z-index: 1;
}

.responsive-text {
  font-size: clamp(16px, 3vw, 32px);
}

.ai-footer>.ai-content {
  animation: amo-button-wave 2.6s linear 0s infinite;
  background: inherit;
  border-radius: inherit;
  content: "";
  display: block;
  height: 100% !important;
  left: 0;
  position: absolute;
  width: 100% !important;
  z-index: 0;
}

@keyframes amo-button-wave {
  0% {
    opacity: .45;
    transform: scale(1)
  }

  40% {
    opacity: .45
  }

  to {
    opacity: 0;
    transform: scale(1.35)
  }
}

.ai-footer {
  position: fixed;
  right: 90px;
  bottom: 110px;
  width: 70px;
  height: 70px;
  background-color: #e30e19;
  border-radius: 100%;
  cursor: pointer;
}

.ai-popup {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgb(0 0 0 / 50%);
  background-color: #00000080;
  z-index: 5;
  align-items: center;
  justify-content: center;
}

.ia-text {
  position: absolute;
  top: 90px;
  width: 200px;
  background-color: #fff;
  text-align: center;
  left: -65px;
  border-radius: 5px;
  box-shadow: 0 5px 5px #808080;
}

.ai-popup-close-btn {
  position: absolute;
  right: 50px;
  top: 50px;
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 10px #000;
  cursor: pointer;
}

.ai-icon {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.ai-popup-content {
  width: 750px;
}

.ai-popup-content>video {
  width: 100%;
  height: 450px;
}

@media (max-width: 768px) {
  .main-content {
    gap: 0;
    margin: 0;
  }

  header {
    padding: 0;
  }

  .text-overlay-container {
    /* display: none; */
  }

  .red-box {
    margin-top: 15px;
  }

  header .container {
    padding: 1rem;
  }

  .image-container {
    height: 300px;
  }

  .text-overlay p {
    font-size: 1rem;
  }

  .advantages span {
    font-size: 14px;
    margin-bottom: 0.25rem;
  }

  .advantages b {
    font-size: 18px;
  }

  .section {
    flex: 1 1 100%;
    margin: 0;
  }

  .number {
    font-size: 2.5rem;
  }

  .content-header {
    font-size: 1.1rem;
  }

  .visual-section img {
    border-radius: 50px 0 50px 0;
  }

  section.section-4 {
    flex-direction: column;
    align-items: flex-start;
  }

  .s4-left {
    width: 100%;
    position: static;
    transform: none;
    top: auto;
    left: auto;
    text-align: center;
  }

  .s4-content {
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
    padding: 24px;
    left: 0;
  }

  .s4-content-left>span {
    font-size: 50px;

    margin-right: 20px;
  }

  .s4-content-left {
    display: flex;
    align-items: center;
  }

  .s4-content-left b {
    font-size: 18px;
  }

  .s4-content-right {
    font-size: 16px;
  }

  .s4-right {
    width: 100%;
    margin-top: 20px;
    text-align: center;
  }

  .s4-right img {
    width: 100%;
    border-radius: 50px 0 50px 0;
  }

  .overlay {
    display: none;
  }

  .advantages {
    margin: 0;
  }

  .substances-background,
  .substances-background-black {
    padding: 1rem 0;
  }

  .substances {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .image-container {
    height: clamp(200px, 30vw, 250px);
  }

  .image-woman {
    left: inherit;
    right: 0;
    transform: none;
  }

  .image-02 {
    border-radius: 0;
  }

  .text-overlay p {
    font-size: 0.9rem;
  }

  .advantages span {
    font-size: 14px;
    margin-bottom: 0.25rem;
  }

  .advantages b {
    font-size: 18px;
  }

  .s4-content-left>span {
    font-size: 40px;
  }

  .s4-content-right {
    font-size: 14px;
  }

  .s4-content-left b {
    font-size: 16px;
  }
}