@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Quicksand:wght@300..700&display=swap");

@import "tailwindcss";

:root {
  --bg-color: #d0f6ff;
  --text-color: #021024;
  --heading-color: #052659;
  --card-color: #7da0ca;
  --hover-color: #f7c59f;
  --base-font: "Quicksand", sans-serif;
  --title-font: "Lora", serif;
}

* {
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: var(--base-font);
  background-color: var(--bg-color);
  color: var(--text-color);
  font-size: 16px;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--text-color);
  border-radius: 5px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.heading {
  text-align: center;
  font-family: var(--title-font);
  color: var(--heading-color);
  font-weight: 700;
}

ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
}

main {
  background-image: url(../assets/images/global.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: var(--bg-color);
}

.menuItem {
  position: absolute;
  width: 100vw;
  height: 100vh;
  padding: 2rem 1rem;
  text-transform: capitalize;
  top: 4rem;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: start;
  gap: 1.5rem;
  scale: 0;
  transform: translateZ(100%);
  background-image: url(../assets/images/mobile.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.menuItem li a {
  color: var(--bg-color);
  font-size: 2rem;
  width: 100%;

  padding: 1rem;
  transition: all 0.3s ease-in-out;
}

.menuItem li a::after {
  content: "→";
  position: absolute;
  margin: auto;
  width: 100%;
  transform: translateX(10px);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.menuItem li a:hover::after {
  transform: translateX(20px);
  opacity: 1;
}

#menuToggle {
  position: absolute;
  z-index: 9;
  top: 10px;
  opacity: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.menuToggle .line {
  display: block;
  width: 35px;
  height: 3px;
  transition: all 0.3s ease-in-out;
  background-color: var(--text-color);
}

.menuToggle .line1 {
  transform: translateY(15px);
}

.menuToggle .line3 {
  transform: translateY(-15px);
}

#menuToggle:checked ~ .menuItem {
  transition-property: all;
  transition-duration: 0.5s;
  transform: translateZ(0);
  scale: 1;
}

#menuToggle:checked ~ .line1 {
  transition: all 0.2s ease-in-out;
  transform: rotate(45deg);
}

#menuToggle:checked ~ .line2 {
  transition: all 0.2s ease-in-out;
  transform: translateX(20px);
  opacity: 0;
}

#menuToggle:checked ~ .line3 {
  transition: all 0.2s ease-in-out;
  transform: rotate(-45deg);
}

/* .menu li a::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background-color: var(--text-color);
  margin: auto;
  transition: all 0.3s ease-in-out;
} */

/* .menu li a:hover::after {
  width: 100%;
} */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-reveal {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    scale: 0;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.zoom-in {
  opacity: 0;
  animation: zoomIn 0.3s ease-out forwards;
}

.btn {
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border: 1px solid var(--text-color);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--base-font);
  transition: background-color 0.3s ease-in-out;
  font-size: 1rem;
  font-weight: 600;
  text-transform: capitalize;
  text-align: center;
  display: inline-block;
}

.btn:hover {
  background-color: var(--text-color);
  color: var(--bg-color);
}

.btn::after {
  content: "";
  display: block;
  width: 0;
  height: 1.5px;
  background-color: var(--bg-color);
  margin: auto;
  margin-bottom: -2px;
  transition: all 0.3s ease-in-out;
}

.btn:hover::after {
  width: 100%;
}

.pop-up {
  position: fixed;
  top: 40%;
  right: -620px;
  transition: all 0.3s ease-in-out;
}

.pop-up:hover {
  right: 0;
}

.pop-up2 {
  position: fixed;
  top: 30%;
  left: -460px;
  transition: all 0.3s ease-in-out;
}

.pop-up2:hover {
  left: 0;
}

.reveal {
  opacity: 0;
  scale: 0;
  transform: translateY(50px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.reveal.visible {
  opacity: 1;
  scale: 1;
  transform: translateY(0);
}

.reveal ul li {
  list-style: square;
}

.reveal h1::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background-color: #fff5ff;
  margin: auto;
  transition: all 0.3s ease-in-out;
}

.reveal:hover h1,
.reveal:hover h1::after {
  color: #fff5ff;
  width: 100%;
}

.slide {
  opacity: 0;
  transform: translateX(-150px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.slide.visible {
  opacity: 1;
  transform: translateX(0);
}

.content .think p {
  margin-block: 1rem;
  padding: 1rem;
  background-color: var(--text-color);
  color: #fff5ff;
}

@media screen and (max-width: 768px) {
  .content .think p {
    text-align: center;
    padding: 0.5rem;
  }
}

.faq-item {
  transition: all 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.chevron {
  transition: transform 0.3s ease;
}

footer {
  background-image: url(../assets/images/footer.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (max-width: 768px) {
  footer {
    background-image: url(../assets/images/footer2.jpg);
  }
}

.map-iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.map-iframe:hover {
  scale: 1.02;
  transform-origin: center;
  z-index: 1;
  box-shadow: 2px 2px 10px rgba(255, 255, 255, 0.5);
}

footer div p a {
  transition: all 0.3s ease-in-out;
  color: var(--bg-color);
}

footer div p a:hover {
  color: #7da0ca;
}

.social a i {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  padding: 0.5rem;
  background-color: var(--bg-color);
  color: var(--text-color);
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

.social a i:hover {
  scale: 1.1;
  transform: translateY(-5px);
  box-shadow: 2px 2px 10px rgba(255, 255, 255, 0.5);
}
