/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #fff;
  color: #3b1a6b; /* deep purple */
  text-align: center;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Buttons */
.btn,
.btn-gold {
  background-color: #ffd700; /* gold */
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.2s, transform 0.3s;
  color: #4B0082;
}

.btn {
  padding: 0.6rem 1.2rem;
  margin: 0.5rem;
}

.btn-gold {
  padding: 0.5rem 1rem;
}

.btn:hover,
.btn-gold:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  background-color: #4B0082; /* deep purple */
  color: white;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Logo (image + text) */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD700; /* gold */
  margin: 0;
}

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  justify-content: center;
  flex: 1;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#loginBtn {
  margin-left: auto;
}

/* Hero Section */
.hero {
  padding: 4rem 1rem;
  background: #f5f0ff; /* soft purple tint */
}

.hero h2 {
  font-size: 2rem;
  color: #3b1a6b;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Info Section */
.info,
.about {
  padding: 3rem 1rem;
}

.info h3,
.about h3 {
  color: #3b1a6b;
  margin-bottom: 1rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.step {
  background: #fff7e6;
  border: 1px solid #ffd700;
  padding: 1rem;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
}

.step h4 {
  color: #3b1a6b;
  margin-bottom: 0.5rem;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
}

/* Footer */
footer {
  padding: 1rem;
  background: #3b1a6b;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

footer img {
  height: 50px;
  margin: 5px;
  object-fit: contain;
}

footer .logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

footer .logos img {
  height: 50px;
}

footer p {
  margin: 5px 0;
  font-size: 0.9rem;
}

/* Footer Socials */
.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

.footer-socials a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  color: #fff;
  transform: scale(1.2);
}

.footer-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.modal-content,
.terms-content,
.faq-content {
  background: #fff;
  color: #3b1a6b;
  padding: 2rem;
  border-radius: 12px;
  width: 95%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  border-top: 5px solid #ffd700;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-content .close,
.terms-content .close,
.faq-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #4B0082;
}

/* FAQ Accordion */
.faq-question {
  background-color: #f5f0ff;
  border: 1px solid #4B0082;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  text-align: left;
  font-weight: bold;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: #e0d4ff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  text-align: left;
  padding-left: 1rem;
  font-weight: normal;
}

.faq-answer p,
.faq-answer ul {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.faq-answer ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

/* Reviews Section */
.reviews {
  padding: 3rem 1rem;
  background: #f5f0ff;
  text-align: center;
}

.reviews h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #3b1a6b;
  font-weight: bold;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  background: #fff;
  border: 1px solid #ffd700;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.review-card:nth-child(1) { animation-delay: 0.2s; }
.review-card:nth-child(2) { animation-delay: 0.4s; }
.review-card:nth-child(3) { animation-delay: 0.6s; }
.review-card:nth-child(4) { animation-delay: 0.8s; }
.review-card:nth-child(5) { animation-delay: 1s; }

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.review-card p {
  font-size: 1rem;
  color: #3b1a6b;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-card h4 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #4B0082;
  margin-bottom: 0.3rem;
}

.review-tag {
  font-size: 0.9rem;
  color: #777;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .logo {
    flex-direction: column;
    margin-bottom: 15px;
  }

  .logo-img {
    height: 60px;
    margin-bottom: 8px;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .nav-links li {
    margin: 10px 0;
  }

  #loginBtn {
    width: 80%;
    max-width: 200px;
    margin: 15px auto 0 auto;
    padding: 10px 0;
    border-radius: 8px;
  }

  footer .logos {
    flex-direction: column;
    gap: 15px;
  }

  .modal-content,
  .terms-content,
  .faq-content {
    padding: 1.5rem;
    max-height: 85vh;
  }
}