* {
  font-family: "Segoe UI", sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 10px;
  border-radius: 0 0 10px 10px;
  animation: fadeSlideDown 0.8s ease;
}

.nav img {
  height: 40px;
  margin-left: 20px;
  border-radius: 10px;
}

.nav .quicklinks {
  display: flex;
  justify-content: right;
  gap: 20px;
  margin-right: 20px;
}

.nav a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 20px;
  transition: 0.5s;
}

.nav a:hover {
  background-color: rgb(211, 211, 211);
  color: black;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  text-align: center;
  margin: 40px auto 20px;
  padding: 20px;
  color: white;
  text-shadow: 2px 2px 4px #1e1e1e;
  font-size: 2.5rem;
}

.faq_container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

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

.faq_item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.faq_question {
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq_question::after {
  content: "+";
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.faq_item.active .faq_question::after {
  transform: rotate(45deg);
}

.faq_answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.faq_item.active .faq_answer {
  max-height: 300px; /* Adjust as needed */
  padding: 0 20px 20px;
}

footer {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 24px 60px 16px;
  box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.5);
  border-radius: 20px 20px 0 0;
  margin-top: auto;
  animation: fadeSlideUp 0.8s ease;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
    margin-top: 20px;
  }

  .nav {
    padding: 8px;
  }

  .nav img {
    height: 30px;
    margin-left: 10px;
  }

  .faq_container {
    margin: 30px auto;
    padding: 0 15px;
  }

  .faq_question {
    font-size: 1rem;
    padding: 15px;
  }

  .faq_answer {
    font-size: 0.9rem;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 10px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  .faq_item {
    border-radius: 10px;
  }

  .faq_question {
    font-size: 0.95rem;
    padding: 12px;
  }

  .faq_question::after {
    font-size: 1.2rem;
    right: 15px;
  }

  .faq_answer {
    font-size: 0.85rem;
    padding: 0 15px;
  }

  .faq_item.active .faq_answer {
    padding: 0 15px 15px;
  }
}
