/*
    CSS Reset - A combination of Lazzzer00 and Josh's custom resets
https://github.com/Lazzzer00/Best-CSS-Reset-2024/blob/main/css_reset.css
    https://www.joshwcomeau.com/css/custom-css-reset
*/

*,
*::before,
*::after {
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

/* Default margins and paddings to 0 */
* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5; /* WCAG criteria states that line-height should be at least 1.5: improve readability */
  -webkit-font-smoothing: antialiased; /* Fonts anti-aliasing for WebKit-based browsers */
  font-smooth: antialiased; /* Fonts anti-aliasing for non-WebKit-based browsers */
}

body,
html {
  height: 100%; /* Make the body element full screen */
  scroll-behavior: smooth; /* Enable smooth scrolling */
}

ul[role="list"],
ol[role="list"] {
  list-style: none; /* Turn off list decoration for semantic lists */
}

html:focus-within {
  scroll-behavior: smooth; /* Make the scrolling inside of any scrollable element smooth */
}

a:not([class]) {
  text-decoration-skip-ink: auto; /* Improve link underline appearance */
}

img,
picture,
svg,
video,
canvas {
  max-width: 100%; /* Make media elements responsive */
  height: auto;
  vertical-align: middle; /* Improve text alignment next to inline images */
  font-style: italic; /* Style alt text for images that don't load */
  background-repeat: no-repeat; /* Background repeat and size for loading placeholder images */
  background-size: cover;
}

input,
button,
textarea,
select {
  font: inherit; /* Inherit font styles for consistency */
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word; /* Allow long words to break across multiple lines */
}

/* Disable certain styles for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition: none;
  }
}

.details {
  line-height: normal !important;
}

.details-image {
  position: relative;
}

.toggle-sound-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  width: 40px;
  height: 40px;
  text-align: center;
}

.toggle-sound-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.video-section-title {
  font-family: "Inter", sans-serif !important;
  /* font-size: 48px !important; */
  line-height: normal !important;
}

.details-point h5 {
  font-family: "Inter", sans-serif !important;
}

.details-point p {
  line-height: 24px;
  font-size: 16px;
}

/* Complete FAQ Styling */
.faq-item-wrapper {
  position: relative;
  border-radius: 8px !important;
  border: 1px solid #4f4f4f !important;
  overflow: hidden;
  margin-bottom: 25px !important;
  background: white !important;
}

.faq-item-wrapper input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.faq-item {
  cursor: pointer;
  position: relative;
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

.faq-question {
  padding: 28px 145px 24px 34px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

.faq-question p {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 26px !important;
}

/* Hide FAQ answers by default */
.faq-answer {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.5s ease, padding 0.5s ease !important;
  padding: 0 145px 0 34px !important;
  background: transparent !important;
  border: none !important;
  display: block !important;
}

.faq-answer p {
  font-size: 16px !important;
  line-height: 26px !important;
  margin: 0 !important;
}

/* Plus icon styling */
.faq-icon {
  position: absolute !important;
  height: 30px !important;
  width: 30px !important;
  border-radius: 50% !important;
  top: 25px !important;
  right: 29px !important;
  border: 2px solid #000000 !important;
  background: transparent !important;
  z-index: 10 !important;
}

.faq-icon span {
  position: absolute !important;
  background-color: #000000 !important;
  height: 2px !important;
  width: 15px !important;
  top: 13px !important;
  left: 6px !important;
  transition: transform 0.31s ease-in-out, opacity 0.24s ease-in !important;
  display: block !important;
}

.faq-icon span:last-child {
  transform: rotate(90deg) !important;
}

/* Show FAQ answers when checkbox is checked */
.faq-item-wrapper input[type="checkbox"]:checked~label.faq-item .faq-answer {
  max-height: 200vh !important;
  padding: 0 145px 21px 34px !important;
  transition: max-height 0.5s ease, padding 0.5s ease !important;
}

/* Rotate FAQ icon when checked */
.faq-item-wrapper input[type="checkbox"]:checked~label.faq-item .faq-icon span:last-child {
  opacity: 0 !important;
  transform: rotate(90deg) scale(0, 1) !important;
}

/* Footer Styling */
.footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  padding: 50px 0 30px 0;
  font-family: 'Inter', sans-serif;
  color: #495057;
  margin-top: 60px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1170px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h2 {
  font-size: 16px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #6c757d;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #007bff;
  text-decoration: underline;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
  color: #6c757d;
  margin-bottom: 12px;
}

.footer-column img {
  margin-bottom: 20px;
  display: block;
}

/* Guarantee Section Styling */
.guarantee-section {
  background-color: #fff;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.guarantee-section h4 {
  color: #212529;
}

.guarantee-section p {
  color: #6c757d;
}

.guarantee-section a {
  color: #007bff;
}

.guarantee-section a:hover {
  color: #0056b3;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding: 30px 0 100px 0;
  }

  .footer-columns {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column {
    min-width: auto;
    text-align: center;
  }

  .footer-column img {
    margin: 0 auto 20px auto;
  }
}