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

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family:  Ubuntu, Helvetica, sans-serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.5;
  background-size: 150% 150%; 
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-left: 3%;
  margin-right: 3%;
  margin-bottom: 5%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  height: 150%;
  /*background-image: url('bg.jpeg');*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9; /* This only affects the image now */
  animation: driftBackground 130s infinite alternate;
}

/* Frosted overlay layer */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(15px) saturate(90%);
  -webkit-backdrop-filter: blur(15px) saturate(90%);
  background: rgba(255, 255, 255, 0.1); /* Optional: soft haze */
}

@keyframes driftBackground {
 0% {
    transform: scale(1);
  }
  100% {
    transform: scale(2.0); /* zoom in slightly */
  }
}

@media (prefers-color-scheme: light) {
  body {
    background-color: #fdfdfd;
    color: #000;
  }
  .btn{
    background: rgba(0, 0, 0, 1); /* Optional: soft haze */
    color: #fff;
  }
  span{
    color: #000;
  }
  .faq-category h3 {
    border-bottom: 1px solid #000;
  }
  .faq-item {
   border-bottom: 1px solid #000;
  }
   .image-wrapper img {
    mix-blend-mode: hard-light;
  }
  
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #fff;
  }
  .btn{
    background: rgba(255, 255, 255, 1); /* Optional: soft haze */
    color: #000;
  }
  span{
    color: #fff;
  }
  .faq-category h3 {
    border-bottom: 1px solid #fff;
  }
  .faq-item {
    border-bottom: 1px solid #fff;
  }
 .image-wrapper img {
    mix-blend-mode: lighten;
  }
}

.btn{
  font-weight: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  text-align: center;
  padding-top: 2%;
  padding-bottom: 2%;
  border-radius: 20px;
  margin: 0 auto;
  cursor: pointer;
  text-decoration: none;
}


/*
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image:
      radial-gradient(
        circle at 30% 0%,
        #83AA 0%, 22.75%,
        rgba(131,217,236,0) 35%
      ),
      radial-gradient(
        circle at 0% 100%,
        #FFA869 0%,30.75%,
        rgba(255,168,105,0) 100%
      ),
       radial-gradient(
        circle at 0% 100%,
        #b51b75 0%,30.75%,
        rgba(255,168,105,0) 50%
      ),
      radial-gradient(
        circle at 80% 90%,
        #b51b75 0%,50%,
        rgba(255,255,255,0) 80%
      );

  animation: hueShift 1s infinite alternate ease-in-out;
  filter: hue-rotate(10deg);
}*/


/*@keyframes hueShift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(10deg);
  }
}*/

footer{
  font-size: 18px;
  font-weight: 100;
  line-height: 1.5;
  text-align: center;
  position: relative;
  bottom: 3%;
  left: 0;
  width: 80%;
  margin: 0 auto; /* centers the footer horizontally */
  margin-bottom: 2rem;

}

.frosted-layer {

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  height: 100%;

  backdrop-filter: blur(15px) saturate(100%);
  -webkit-backdrop-filter: blur(15px) saturate(100%);
  background: rgba(255, 255, 255, 0.1);

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.center-container {
  display: flex;
  align-items: center;      /* vertically align items */
  justify-content: center;  /* center items horizontally */
  gap: 5rem;                /* spacing between image and text */
  height: 82vh;            /* optional: full viewport height */
  padding: 2rem;
  text-align: left;         /* optional: better for paragraph text */
}

.center-image {
  max-width: 300px;
  height: auto;
}

.center-text {
  max-width: 500px;
  font-size: 2.5rem;
  line-height: 1.3;
}

.image-wrapper img {
  display: block;
  width: 10%;
  transform: translateY(10%)
}

/* Layout container */
#site-root {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Utility classes */
.hidden {
  display: none !important;
}
.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Example component styles */
.header {
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.nav {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav a {
  text-decoration: none;
  color: inherit;
}

/* FAQ */
.faq-section {
  
  opacity: 0.0;
  width: 95%;
}

.faq-section h2 {
  font-size: 2.6rem;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 600;
  letter-spacing: -0.02em;
  width: 95%;
  
}

.faq-category {
  max-width: 900px;
  margin: 0 auto 60px auto;
}

.faq-category h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 600;
  padding-bottom: 6px;
}

.faq-item {
  padding: 18px 0;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.faq-question:hover { color: #0071e3; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  transition: all 0.5s ease;
  padding-right: 20px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  opacity: 1;
  margin-top: 10px;
}

.faq-toggle {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}


@media (max-width: 600px) {

#faq{
    width: 90;
}
  .center-container {
    flex-direction: column-reverse; /* flips order: text then image */
    text-align: center;
    height: auto;
  }

  .center-image {
    max-width: 80%;
    height: auto;
  }

  .center-text {
    padding-bottom: 0rem;
    font-size: 1.5rem;
 }

  .image-wrapper img {
    width: 20%;
    margin: 0 auto;
    transform: translateY(15%)
  }
  
  .faq-section {
    width: 95%;
  }

  footer {
    font-size: 10px;
  }

  .btn{
    width: 80%;
    border-radius: 15px;
  }

}

