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

/** AUTOGENERATED + MODIFIED CSS CODE **/
body {
  font-family: 'A1 Sans';
  font-weight: 400 !important;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #4F4F4F;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'A1 Serif';
  color: #000;
}

header {
  display: flex;
  align-items: center;
  height: 70px;
  padding-left: 68px;
  padding-right: 68px;
  background-color: #fff;
}

header .logo img {
  height: 40px;
  display: block;
  margin: 0 auto;
}

.hero {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-full-image,
.hero-small-image {
  width: 100%;
  display: block;
}

.hero-full-image {
  min-height: 179.53px;
}

.hero-small-image {
  display: none;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  text-align: center;
}

.main-content h2 {
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 20px;
}

.main-content p {
  font-size: 16px;
  line-height: 25.6px;
  margin-bottom: 40px;
}

.img-box {
  display: flex;
  flex-direction: row;
  background-color:#F8F8F8;
}

.img-box-img,
.img-box-text {
  width: 100%;
}

.img-box-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 50px;
}

.img-box-img {
  align-self: flex-start;
}

.img-box-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 600px){
  .img-box-text {
    text-align: center;
  }
  
  .img-box {
    flex-direction: column;
  }
}

.carousel-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantages {
  display: flex;
  flex-direction: row;
  justify-content: center;
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100%;
  gap: 20px;
  scroll-snap-type: x mandatory;
}

.advantage {
  display: flex;
  flex-direction: column;
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
  flex-shrink: 0;
  width: calc(25% - 20px); /* Four items per row with spacing */
}

.advantage h3 {
  font-size: 22px;
  font-weight: 400;
  line-height: 27.5px;
  margin-bottom: 20px;
}

ul,
ol {
  margin: 20px 0;
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

ul > li,
ol > li {
  list-style-position: outside;
  margin-left: 20px;
  padding-right: 20px;
}

ul > li {
  list-style-type: square;
}

ol > li p,
ul > li p {
  margin: 0 !important;
}

.advantage p {
  font-size: 14px;
}

.carousel-arrow {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0,0,0,0.5);
  color: #fffd; /* Red color for arrow icons */
  border: none;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  border-radius: 3px;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  overflow: hidden;
}

.carousel-arrow::before {
  position: absolute;
  width: 13px;
  height: 13px;
  content: "";
  border-radius: 2px;
}

.carousel-arrow:hover {
  background-color: #EB140A;
  color: #fffd;
}

.left-arrow {
  left: 0;
}

.left-arrow::before {
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg) translateX(3px);
}

.right-arrow {
  right: 0;
}

.right-arrow::before {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg) translateX(-3px);
}

.faqs {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-top: 40px;
}

.faq-question {
  width: 100%;
  text-align: left;
  background-color: #f8f8f8;
  border: none;
  padding: 16px;
  padding-right: 40px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 7px;
  position: relative;
}

.faq-question::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #EB140A;
  border-right: 2px solid #EB140A;
  border-radius: 2px;
  position: absolute;
  right: 16px;
  transform: rotate(135deg);
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #f8f8f8;
  border-radius: 0 0 5px 5px;
}

.faq-answer p {
  margin-bottom: 0;
}

.faq.open .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq.open .faq-question::after {
  transform: rotate(45deg); /* Rotate the arrow when open */
}

.faq.open .faq-answer {
  display: block;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 60px 20px 20px;
}

.footer-logo img {
  height: 30px;
  margin-bottom: 16px;
}

.footer-content {
  margin-bottom: 16px;
}

.footer-content a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
  display: inline-block;
}

.footer-copyright {
  font-size: 14px;
}

/* Responsive styles */
@media (min-width: 1201px) {
  .advantages {
    justify-content: center;
    overflow-x: hidden;
  }

  .advantage {
    flex-shrink: 1;
    width: calc(25% - 20px); /* Four items per row */
  }
}

@media (min-width: 1000px) {
  .carousel-arrow {
    display: none;
  }

  .faqs {
    width: 760px;
  }
}

@media (max-width: 1000px) {
  .advantages {
    width: 90%;
    justify-content: flex-start;
  }

  .advantage {
    min-width: 50%;
  }
}

@media (max-width: 768px) {
  header {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }

  .advantages {
    width: 90%;
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .hero-full-image {
    display: none;
  }

  .hero-small-image {
    display: block;
  }
  
  .advantage {
    width: 100%;
  }
}

@media (max-width: 480px) {
  nav .cta-button {
    font-size: 12px;
    padding: 8px 16px;
  }

  .main-content h2 {
    font-size: 24px;
  }

  .footer-content a {
    display: block;
    margin-bottom: 10px;
  }
}

/** PERSONALIZED CSS CODE **/
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 40px 20px;
}

.container-spacer {
  padding: 20px;
}

.link {
  text-decoration: none;
  color: #da290a;
  border-bottom: 1px solid #da290a;
}