/* ========== BASE STYLES ========== */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background-color: #F0EFEF;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-style: normal;
}


/* ========== TEXT CONTAINER ========== */
.text-container {
  margin-top: 0;
  position: absolute;
  top: 30%;
  text-align: center;
}

.animate-section,
.animate-item {
  opacity: 0;
  visibility: hidden;
}

.text-container h1 {
  font-size: 2rem;
}

.text-container p {
  font-weight: bolder;
  font-size: 1.3rem;
}

#preloader {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

#preloader.preloader--hide {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 3rem;
  height: 3rem;
  border: 0.5rem solid #ccc;
  border-top: 0.5rem solid #4259A8;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


/* ========== HERO SECTION ========== */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
}

.wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero {
  width: 100%;
  height: 100%; /* 70% of the viewport height */
  overflow: hidden;
}

.hero img {
  width: 100%;
}


/* ========== BUTTONS / CONTACT ========== */
.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 6rem;
}

.button {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: bolder;
  color: #282828;
  cursor: default;
}

.button img {
  width: 2rem;
  height: 2rem;
  transition: transform 0.3s ease;
}

.button:hover img {
  transform: scale(1.1);
}

a.button {
  cursor: pointer;
  text-decoration: none;
}



/* ========== INFORMATION FOOTER ========== */
.information {
  position: absolute;
  bottom: 2rem;
  width: 100%;
  text-align: center;
  color: #4259A8;
  z-index: 2;
}


/* ========== DESKTOP MEDIA QUERY ========== */
@media (min-width: 1025px) {
  .text-container {
   position: absolute; /* Ensure it's positioned */
  top: 25%;
  left: 15%;
  width: fit-content;
  text-align: center;
  backdrop-filter: blur(5px);
  opacity: 0.5;
  border-radius: 2rem;
  padding: 1.5rem;
  z-index: 1; /* Make sure it's above the blur */
  overflow: hidden; /* Clip the pseudo-element */
  }

  .text-container h1 {
  font-size: 3rem;
}

.text-container p {
  font-weight: bolder;
  font-size: 1.7rem;
}

  .not-mobile {
    display: none;
  }

  .text-container::before {
  content: "";
  position: absolute;
  background: rgba(240,239,239,0.7);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  border-radius: 2rem;
  z-index: -1; /* Place it behind the content */
}


  .information {
    right: 2rem;
    width: fit-content;
    text-align: right;
  }


.hero img {
  max-width: 1200px;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 60%;
}
}

@media (max-width: 1024.9px) {
  .not-desktop {
    display: none;
  }
}
