@import url("https://fonts.cdnfonts.com/css/poppins");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@font-face {
  font-family: "BlippoBlack";
  src: url("font/BlippoBlack.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
#cover {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #061425;
  z-index: 9998;
}

.loader {
  position: relative;
  width: 120px;
  height: 90px;
  margin: 20% auto;
  z-index: 9999;
}

.loader:before {
  content: "";
  position: absolute;
  bottom: 30px;
  left: 50px;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background: #03ff03;
  animation: loading-bounce 0.5s ease-in-out infinite alternate;
}

.loader:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 7px;
  width: 45px;
  border-radius: 4px;
  box-shadow: 0 5px 0 #f2f2f2, -35px 50px 0 #f2f2f2, -70px 95px 0 #f2f2f2;
  animation: loading-step 1s ease-in-out infinite;
}

.loader2 {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  border-radius: 50%;
  position: relative;
  animation: roll 1s ease-in-out infinite alternate;
  margin: 20% auto;
}
.loader2:after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 5px solid;
  border-color: white transparent;
}

.loader2-container {
  display: none;
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
}

body {
  margin: 0;
  font-size: 15px;
  background-color: #061425;
  color: var(--text-color);
  user-select: none;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content {
  display: flex;
  flex-direction: column;
  background-color: #285bada9;
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  margin: 7% auto;
  padding: 20px;
  border-radius: 8px;
  width: 25%;
  height: 460px;
  position: relative;
  font-family: "Poppins";
  transform: translateY(100%); /* Start off-screen */
  transition: transform 0.3s ease; /* Sliding effect */
}

.close {
  color: var(--text-color);
  float: right;
  font-size: 28px;
  font-weight: bold;
  top: 0;
  right: 10px;
  position: absolute;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.loginModal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
  padding-top: 60px;
}

.loginModal-content {
  background-color: #285bada9;
  margin: 5% auto;
  padding: 20px;
  width: 40%;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  font-family: "Poppins";
}

#verifyForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#verifyCode {
  border: none;
  padding: 10px;
  border-radius: 8px;
  background-color: var(--primary-color);
  cursor: pointer;
}

#cancelLogin {
  background-color: #ce0e00;
  border: none;
  border-radius: 8px;
  padding: 10px;
  color: var(--text-color);
  cursor: pointer;
}

input[type="tel"],
input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  border-radius: 8px;
  display: inline-block;
  border: 1px solid var(--text-color);
  box-sizing: border-box;
}

#formOne {
  margin-top: 10%;
}

#buttonContainer {
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
}

#returnButton {
  width: 100%;
}

#formOneButton,
#formTwoButton {
  background-color: var(--primary-color);
  color: black;
  padding: 14px 30px;
  margin: 5% auto;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  width: 100%;
}

#formOneButton:hover,
#formTwoButton:hover {
  opacity: 0.8;
}

#submitPassword,
#submitPhone,
#submitRegist {
  background-color: var(--primary-color);
  color: black;
  padding: 14px 20px;
  margin: 8px 0;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  width: 100%;
}

#submitPassword:hover,
#submitPhone:hover,
#submitRegist:hover {
  opacity: 0.8;
}

.cancel:hover {
  opacity: 0.8;
}

.cancel {
  background-color: #ce0e00;
  color: var(--text-color);
  padding: 14px 20px;
  margin: 8px 0;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  width: 100%;
}

#installButton,
#installIphone {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: black;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-family: "Poppins";
}

#installButton:hover,
#installIphone:hover {
  background-color: #00cf00;
}

.install-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
}

.imodal-content {
  display: flex;
  flex-direction: column;
  background-color: #143e74;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  width: 95%;
  margin: auto auto 5%;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  align-items: center;
  gap: 1rem;
  font-family: "Poppins";
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  scroll-behavior: smooth;
}

svg {
  color: var(--text-color);
}

header {
  width: 100%;
  height: 70px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed; /* Make the navbar fixed */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 0 40px;
  background: var(--navbar-color); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Glassmorphism effect */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: add a slight shadow */
}

.more-text {
  display: none;
}

.read-more-btn {
  color: var(--primary-color);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  text-decoration: underline;
}

.logo a:nth-child(1) {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-image {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}
.logo h1 {
  color: var(--text-color);
  font-family: var(--title-font), sans-serif;
  font-size: 24px;
}

:root {
  --primary-color: #03ff03; /* Verde brillante del logo */
  --secondary-color: #f0f0f; /* Blanco */
  --text-color: #edf2fa;
  --navbar-color: #394b6ad7;
  --width-default: min(1200px, 90vw);
  --diameter: 1432px; /* Gris oscuro para texto */
  --title-font: "Roboto";
}

nav.menu ul {
  font-family: "Poppins";
  display: flex;
  gap: 20px;
  white-space: nowrap;
}

nav.menu ul li {
  list-style: none;
}

nav.menu ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 18px;
}

#logout{
  background: none;
  border: none;
  font-family: "Poppins";
  font-size: 18px;
  color: white;
  cursor: pointer;
}

.slider {
  color: var(--text-color);
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slider .list .item {
  position: absolute;
  inset: 0 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 1s;
}

.slider .list .item .content {
  position: absolute;
  transform: translateY(-100%);
  width: max-content;
  max-width: 100%;
  font-size: 1.2em;
  font-family: var(--title-font);
  text-shadow: 0 0 80px #000;
  transition: transform 1s;
}

.slider .list .item .image {
  flex-shrink: 0;
  width: var(--diameter);
  height: var(--diameter);
  background-image: var(--url);
  background-position: center;
  border-radius: 50%;
  transform: rotate(-60deg);
  position: relative;
  transition: 1s;
}

.slider .list .item .image::before,
.slider .list .item .image::after {
  position: absolute;
  width: 70%;
  height: 70%;
  content: "";
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-120deg);
  background-image: linear-gradient(to right, #0004, #0004), var(--url);
  background-size: var(--diameter) var(--diameter);
  background-position: center;
  transition: 1s;
  background-size: auto;
}

.slider .list .item .image::after {
  width: 30%;
  height: 30%;
  background-image: var(--url);
  border: 3px solid #fff2;
  transform: translate(-50%, -50%) rotate(-170deg);
}

.slider .list .item .image {
  filter: blur(30px);
  background-size: cover;
  background-repeat: no-repeat;
}

.slider .list .item {
  pointer-events: none;
  opacity: 0;
}

.slider .list .item.active {
  pointer-events: auto;
  opacity: 1;
}

.slider .item.active .image {
  filter: blur(0px);
  transform: rotate(0deg);
  background-size: cover;
  background-repeat: no-repeat;
}

.slider .item.active .image::before,
.slider .item.active .image::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.slider .list .item.active .content {
  transform: translateY(0);
}

.slider .list .item.active ~ .item {
  opacity: 0;
}

.slider .item.active ~ .item .image {
  transform: rotate(60deg);
}

.slider .item.active ~ .item .image::before,
.slider .item.active ~ .item .image::after {
  transform: translate(-50%, -50%) rotate(120deg);
}

.hide {
  opacity: 0;
}

.arrows {
  width: 100%;
  position: absolute;
  bottom: 10%;
  left: 50%;
  display: flex;
  justify-content: space-around;
  gap: 15px;
  transform: translateX(-50%);
}

.arrows button {
  background: none;
  color: var(--text-color);
  border: none;
  font-size: 3em;
  cursor: pointer;
  padding: 20px;
}

.Services {
  max-width: var(--width-default);
  padding: 3rem 1rem;
  margin: 0 auto;
}
.Services h2 {
  font-family: var(--title-font);
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.bento-item {
  background: #143e74;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1rem;
}
.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.bento-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
.bento-item .content h3 {
  font-family: var(--title-font);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0;
}
.bento-item .content p {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  margin-top: 0.5rem;
  font-size: 1rem;
}

.about {
  font-family: "Poppins";
  max-width: var(--width-default);
  width: 100%;
  padding: 3rem 1rem;
  margin: 3rem auto;
  background-color: #143e74;
  color: var(--text-color);
  border-radius: 8px;
}

.facilities {
  margin-top: 3rem;
}

.about h2,
.facilities h2 {
  font-family: var(--title-font), sans-serif;
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.about_us {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.about_us p {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
}
.about_us img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.faq {
  max-width: var(--width-default);
  padding: 3rem 1rem;
  margin: 0 auto;
}

.faq h2 {
  font-family: var(--title-font), sans-serif;
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.faq h3 {
  font-family: var(--title-font), sans-serif;
  font-size: 1.5rem;
  color: var(--text-color);
  margin: 0;
}

.accordion {
  background-color: #143e74;
  color: var(--text-color);
  cursor: pointer;
  padding: 1rem;
  width: 100%;
  text-align: left;
  border: none;
  border-radius: 8px;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.4s ease, transform 0.2s ease;
}

.accordion:hover {
  opacity: 0.8;
}

.accordion:active {
  transform: scale(0.98);
}

.accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.2s ease;
}

.active .accordion-icon {
  transform: rotate(45deg);
}

.panel {
  padding: 0 1rem;
  background-color: var(--text-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.2s ease-out;
  border-left: 2px solid var(--primary-color);
  margin-bottom: 10px;
}

.panel p {
  padding: 1rem 0;
}

.panel.open {
  padding: 1rem;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  place-items: center;
}

.facility-item {
  background: #143e74;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 1% auto;
}

.facility-item img {
  max-width: 500px;

  width: 100%;
  height: auto;
}

.facility-item h3 {
  padding: 1rem;
  font-family: var(--title-font), sans-serif;
  font-size: 1.5rem;
  color: var(--text-color);
}

.map {
  text-align: center;
  padding: 3rem 1rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.map h2 {
  font-family: var(--title-font);
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.map h3 {
  padding: 1rem;
  font-family: var(--title-font), sans-serif;
  font-size: 1.5rem;
  color: var(--text-color);
}
.map .mapa {
  display: flex;
  justify-content: center;
}
.map .mapa iframe {
  max-width: var(--width-default);
  height: 500px;
  width: 50%;
  border-radius: 8px;
}

/*Footer*/
footer {
  background-color: #143e74;
  color: var(--text-color);
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
  font-family: "Poppins";
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 10px;
}

.copyright {
  display: flex;
  margin-top: 1rem;
  margin-right: 2rem;
  justify-content: flex-end;
}

.social-links a {
  width: 25px;
  height: 25px;
}

.social-links a img {
  width: 25px;
}

/*Section Infor*/

.button-container {
  text-align: center;
  margin-top: 2rem;
}
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1.2rem;
  font-family: "Poppins";
  color: black;
  background-color: var(--primary-color);
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.button:hover {
  background-color: #0673029f;
}

.menu-icon {
  display: none;
  cursor: pointer;
}

.login-icon {
  display: none;
  cursor: pointer;
}

.show {
  transform: translateY(0); /* Slide into view */
}

.hidden {
  display: none; /* Hide the forms */
}

@media (min-width: 769px) {
  #landing {
    display: none;
  }
}

@media (max-width: 768px) {
  .loader {
    margin: 50% auto;
  }
  .loader2 {
    margin: 50% auto;
  }
  .menu-icon {
    display: flex;
    margin-right: 4px;
  }
  .login-icon {
    display: flex;
    margin-left: 4px;
  }
  .modal-content {
    width: 100%;
    margin-top: 100px;
  }
  #buttonContainer {
    margin: auto;
  }
  input[type="text"],
  input[type="password"],
  input[type="tel"] {
    padding: 6px 10px;
    font-size: 20px;
  }

  .logo {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo h1 {
    display: none;
  }
  #menu-toggle {
    display: none;
  }
  #login-toggle {
    display: none;
  }

  nav.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px; /* Width of the side menu */
    height: 100vh;
    background-color: var(--text-color);
    overflow-y: auto;

    transition: transform 0.3s ease;
    transform: translateX(-100%);
    z-index: 1;
  }

  nav.menu ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  nav.menu ul li a {
    padding: 15px;
    display: block;
    color: #000;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
  }

  #logout{
    color: black;
  }

  nav.menu ul li a:hover {
    background-color: #cac6c6fd;
  }

  nav.menu #openModal {
    display: none;
  }

  nav.menu #openModal2 {
    display: none;
  }

  .loginModal-content {
    width: 98%;
  }

  #menu-toggle:checked ~ nav.menu {
    transform: translateX(0);
  }
  #login-toggle:checked ~ nav.menu {
    transform: translateX(0);
  }
  .map .mapa iframe {
    max-width: var(--width-default);
    height: 300px;
    width: 100%;
  }
  .slider .list .item .content {
    display: block;
    text-align: center;
  }

  .slider .list .item .content img {
    width: 10rem;
  }
  .facility-item {
    width: 90%;
    margin: 5% auto;
  }
  .copyright {
    justify-content: center;
    margin-right: 0;
  }
}
@keyframes loading-bounce {
  0% {
    transform: scale(1, 0.7);
  }

  40% {
    transform: scale(0.8, 1.2);
  }

  60% {
    transform: scale(1, 1);
  }

  100% {
    bottom: 140px;
  }
}

@keyframes loading-step {
  0% {
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0), 0 10px 0 #f2f2f2,
      -35px 50px 0 #f2f2f2, -70px 90px 0 #f2f2f2;
  }

  100% {
    box-shadow: 0 10px 0 #f2f2f2, -35px 50px 0 #f2f2f2, -70px 90px 0 #f2f2f2,
      -70px 90px 0 rgba(0, 0, 0, 0);
  }
}

@keyframes roll {
  0% {
    transform: translateX(-150%) rotate(0deg);
  }
  100% {
    transform: translateX(150%) rotate(360deg);
  }
}
