/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  font-family: Arial, sans-serif;
  background: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}


/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: white;
  z-index: 1000;
}
.header-left {
  font-size: 2rem;
  font-weight: bold;
}
.logo {
  color: #000000;
  text-decoration: none;
}
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons img {
  height: 40px;
  width: auto;
}

.slide {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.slide.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}


/* Slider */
.slider-wrapper {
  position: absolute;
  top: 80px;
  bottom: 80px;
  left: 0;
  right: 0;
  overflow: hidden;
}
.slider {
  display: flex;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  height: 100%;
}
.slider::-webkit-scrollbar {
  display: none;
}
.slide {
  flex-shrink: 0;
  width: 100vw;
  height: 100%;
  scroll-snap-align: start;
  position: relative;
}

/* Slide content */
.hero-container {
  width: 1680px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.frog-wrapper {
  position: relative;
  width: min(90vw, 90vh);
  height: auto;
  margin: 0 auto;
  max-width: 1500px;
  aspect-ratio: 1 / 1;
}
.frog-base {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}

/* Eyes */
.eye {
  position: absolute;
  width: 10%;
  height: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
}
.eyes-left {
  top: 62%;
  left: 32%;
}
.eyes-right {
  top: 62%;
  left: 57%;
}
.pupil {
  width: 30%;
  height: 30%;
  border: 0.6em solid black;
  border-radius: 50%;
  background: white;
  transform: translate(0, 0);
  transition: transform 0.1s ease-out;
  pointer-events: none;
  overflow: hidden;
}

/* Menu */
.menu {
  font-size: 1.5rem;
  position: absolute;
  bottom: 4vh;
  right: 4vw;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 8px 8px 20px #c1c1c1, -8px -8px 20px #ffffff;
  display: flex;
  gap: 10px;
  padding: 8px 16px;
  z-index: 300;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  user-select: none;
}

.menu:active {
  box-shadow: inset 6px 6px 15px #c1c1c1, inset -6px -6px 15px #ffffff;
  transform: translateY(2px);
}

.menu a {
  font-size: 1.5rem;
  font-weight: bold;
  color: black;
  text-decoration: none;
  padding: 8px 16px;
}
.menu img {
  height: 48px;
  width: auto;
}
.menu.glow-green {
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.8) !important;
}
.nav1 {
  margin-top: 10px;
}

/* Arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  font-size: 3rem;
  padding: 10px;
  border: none;
  cursor: pointer;
  z-index: 200;
}
.left-arrow { left: 10px; }
.right-arrow { right: 10px; }

/* Pagination */
.pagination {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 150;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(51, 51, 51, 0.5);
}
.dot.active {
  background: rgba(51, 51, 51, 1);
}

/* Slide 2 Grid */
.row-1 {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 20px;
}
.row-1 .one-third {
  flex: 1;
}
.row-1 .two-thirds {
  flex: 2;
}
.row-2 {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
}
.row-2 .square-bottom {
  flex: 1;
}
.cell {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 385px;
  margin-bottom: 20px;
}
.grid-face {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.grid-faceL {
  width: 110%;
  height: auto;
  object-fit: cover;
}

.grid-faceR {
  width: 110%;
  height: auto;
  object-fit: contain;
}

.grid-face1 {
  width: auto;
  height: 100%;
  object-fit: cover;
}

.grid-face2 {
  width: auto;
  height: 100%;
  object-fit: cover;
}

.grid-face3 {
  width: auto;
  height: 100%;
  object-fit: contain;
}

/* Eye scaling for mid-size */
@media (max-width: 1080px) {
  .eye {
    width: 15vw;
    height: 15vw;
  }
  .pupil {
    width: 15%;
    height: 15%;
    border-width: 0.4em;
  }
  .eyes-left {
    top: 56%;
    left: 30%;
  }
  .eyes-right {
    top: 56%;
    left: 58%;
  }
}

/* Mobile scaling */
@media (max-width: 900px) {
  .cell {
    height: 300px;
  }
  .header-left {
    font-size: 1rem;
  }
  .social-icons img {
    height: 32px;
  }

  .menu {
    font-size: 0.8rem;
    padding: 3px 5px;
    right: 3vw;
    bottom: 2vh;
    transform: none;
    gap: 6px;
  }

  .menu a {
    font-size: 1rem;
    padding: 6px 10px;
  }

  .menu img {
    height: 32px;
  }

  .eye {
    width: 15vw;
    height: 15vw;
  }
  .pupil {
    width: 20%;
    height: 20%;
    border-width: 0.3em;
  }
  .eyes-left {
    top: 56%;
    left: 26%;
  }
  .eyes-right {
    top: 56%;
    left: 55%;
  }

  .row-1,
  .row-2 {
    flex-direction: column;
  }

  .cell {
    width: 100%;
    height: auto;
    aspect-ratio: unset;
  }

  .grid-face {
    width: auto;
    height: 500px;
  }

  .slide-2-custom-grid {
    padding: 0px;
    gap: 16px;
  }

  .grid-row {
    flex-direction: column;
    height: auto;
  }

  .rectangle-right img.grid-face {
    width: 100%;
    height: auto;
  }
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: #afff72;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wipeOut 1s ease-in-out forwards;
  animation-delay: 2.5s;
  flex-direction: column;
}
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.loader-logo {
  width: 50vw;
  max-width: 400px;
  animation: flicker 2s infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.5; }
  60% { opacity: 1; }
  75% { opacity: 0.2; }
}
@keyframes wipeOut {
  0% { transform: translateY(0%); }
  100% { transform: translateY(-100%); visibility: hidden; }
}

/* Shake Animation */
@keyframes shake {
  0% { transform: translate(0px, 0px) rotate(0deg); }
  20% { transform: translate(-4px, 0px) rotate(-1deg); }
  40% { transform: translate(4px, 0px) rotate(1deg); }
  60% { transform: translate(-2px, 0px) rotate(-1deg); }
  80% { transform: translate(2px, 0px) rotate(1deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}
.slide-2-custom-grid .cell {
  animation: none;
}
.slide-2-custom-grid .cell:hover {
  animation: shake 0.5s ease-in-out;
}

/* FAQ */
.faq-section {
  max-width: 800px;
  margin: 120px auto 80px;
  padding: 0 20px;
}
.faq-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: #f1f1f1;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
  border: none;
  outline: none;
  transition: background 0.3s ease;
}
.faq-question:hover {
  background: #e0e0e0;
}
.faq-answer {
  display: none;
  padding: 16px;
  background: #fff;
  font-size: 1rem;
  line-height: 1.5;
}
.faq-item.active .faq-answer {
  display: block;
}
