/* 
@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@100..700&family=Jura:wght@300..700&family=Lalezar&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); */

/* 
@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@100..700&family=Jura:wght@300..700&family=Lalezar&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); */

/*{
    font-family:Poppins
    } */

* {
  font-family: Anuphan
}

body {
  position: relative;
  background-color: #0F172A;
}

nav {
  position: fixed;
  z-index: 1;
  top: 0;
  width: 100%;
  background-color: rgba(15, 23, 42, 0.9) !important;
  backdrop-filter: blur(10px);
}

nav a {
  color: #fff !important;
}

nav .text-gray-700 {
  color: #cbd5e1 !important;
}

nav .text-gray-700:hover {
  color: #8b5cf6 !important;
}

nav .text-purple-700 {
  color: #fff !important;
}

nav img {
  filter: brightness(0) invert(1);
}

/* testimonials section */

@keyframes marqueeScroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-inner {
  animation: marqueeScroll 25s linear infinite;
}

.marquee-reverse {
  animation-direction: reverse;
}

/* Toast notification */
#toast {
  background-color: #1e293b;
  border: 1px solid #475569;
}

#toast.success {
  border-color: #059669;
  background-color: #064e3b;
}

#toast.error {
  border-color: #dc2626;
  background-color: #7f1d1d;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Modal small helpers */
.modal-fade-in {
  animation: fadeIn 180ms ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-relative {
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.hero-relative .back {
  position: absolute;
  z-index: -1;
  opacity: 0.5;
  width: 400px;
  filter: drop-shadow(0px 0px 10px rgb(216, 255, 255));
  animation: float 50s infinite alternate linear;
}

.back1 {
  top: -10%;
  left: -10%;
  width: 250px;
}

.back2 {
  left: 80%;
  top: -10%;
}

.back3 {
  left: 30%;
  bottom: -20%;
}

.back4 {
  left: 40%;
  top: -30%;
}

@keyframes float {
  0% {
    transform: rotateZ(0deg);
  }

  100% {
    transform: rotateZ(360deg);
  }

  0% {
    transform: rotateZ(0deg);
  }
}

@media screen and (max-width: 1024px) {
  .hero-relative .back {
    width: 300px;
  }
}

@media screen and (max-width: 768px) {

  .back1 {
    top: -10%;
    left: -10%;
  }

  .back2 {
    left: 80%;
    top: 21%;
  }

  .back3 {
    left: 65%;
    bottom: -15%;
  }

  .back4 {
    left: -10%;
    top: 50%;
  }
}

@media screen and (max-width: 480px) {

  .back1 {
    top: -20%;
    left: -20%;
  }

  .back2 {
    left: 70%;
    top: 20%;
  }

  .back3 {
    left: 65%;
    bottom: -15%;
  }

  .back4 {
    left: -30%;
    top: 45%;
  }
}

.whatsapp {
  position: fixed;
  bottom: 3%;
  right: 1.5%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
}

.whatsapp img {
  width: 40px;
}

.whatsapp::before {
  content: "Chat with us on Whatsapp";
  color: white;
  background-color: teal;
  padding: 8px;
  border-radius: 10px;
  transform: translateX(250px);
  opacity: 0;
  z-index: -1;
  transition: 0.3s all ease-in;
}

.whatsapp:hover::before {
  transform: translateX(0px);
  opacity: 1;
}

/*faq section css*/

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  margin: auto auto;
  padding: 0px 10px;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-header h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-header .underline {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6 0%, #6366f1 100%);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.faq-header p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.faq-item.active {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(139, 92, 246, 0.05);
}

.question-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  padding-right: 20px;
}

.faq-icon {
  min-width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  stroke: white;
  stroke-width: 3;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 30px 25px;
}

.answer-text {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
  padding-top: 10px;
}

.category-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .faq-header h2 {
    font-size: 2rem;
  }

  .faq-question {
    padding: 20px;
  }

  .question-text {
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }
}