@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0b0b0b;
  background-size: cover;
  font-family: "Inter", sans-serif;
  color: white;
}

.navbar {
  width: 100%;
  height: 70px;
  background-color: rgb(21, 21, 21);
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar li {
  display: inline-block;
  margin: 0 30px;
}

.navbar li a {
  text-decoration: none;
  color: white;
  font-family: "Archivo", sans-serif;
  font-weight: bold;
  font-size: larger;
}

.navbar li a:hover {
  color: rgb(54, 9, 93);
  transition: 0.2s;
}

.container {
  max-width: 700px;
  background: rgba(0, 0, 0, 0.7);
  margin: 140px auto 80px auto;
  padding: 40px 20px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.container h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.container h2 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #ccc;
}

.container .btn {
  margin-top: 25px;
  cursor: pointer;
  padding: 12px 30px;
  background-color: rgb(54, 9, 93);
  border: none;
  border-radius: 10px;
}

.container .btn a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-family: "Archivo", sans-serif;
  font-size: large;
}

.container .btn:hover {
  background-color: rgb(23, 4, 40);
  transition: 0.2s;
}

.section-divider {
  height: 60px;
  background: linear-gradient(to bottom, transparent, #0a0a0a);
  margin-top: 60px;
}

#about {
  background-color: #090909;
  padding: 290px 20px;
  height: 100vh;
}

#about h2 {
  text-align: center;
  font-size: 2rem;
  color: rgb(92, 19, 155);
  margin-bottom: 40px;
  font-family: "Inter", sans-serif;
  font-weight: bold;
}

.about-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
}

.about-card1 {
  background-color: #111;
  padding: 30px;
  border-radius: 12px;
  width: 300px;
  min-height: 250px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.about-card1:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.about-card1 h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: rgb(51, 11, 125);
  font-weight: 800;
}

.about-card1 p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #ccc;
}

#faq {
  background-color: #090909;
  padding: 80px 20px;
  text-align: center;
}

#faq h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: rgb(92, 19, 155);
  font-family: "Inter", sans-serif;
  font-weight: bold;
  margin-top: 50px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background-color: #111;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.faq-item:hover {
  background-color: #2a2a2a;
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: rgb(51, 11, 125);
}

.faq-item p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
}

#hero {
  background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(13, 13, 13, 1)),
    url("img/4069621.jpg") center/cover no-repeat fixed;
  height: 100vh;
}

/* footer */

footer footer {
  background-color: #111;
  color: #ccc;
  padding: 40px 20px;
  text-align: center;
}

footer {
  background-color: #0d0d0d;
  color: #ccc;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 10vh;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.footer-links li {
  display: inline-block;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 1.1rem;
}

.footer-links a:hover {
  color: rgb(51, 11, 125);
}

.footer-social {
  margin-bottom: 20px;
}

.footer-social a {
  color: #ccc;
  font-size: 1.5rem;
  margin: 0 15px;
  text-decoration: none;
}

.footer-social a:hover {
  color: rgb(51, 11, 125);
}

footer p {
  font-size: 1rem;
}

@media (max-width: 1023px) {
  #faq {
    padding: 60px 20px; /* Adjust padding */
    margin-top: 200px; /* Remove large top margin */
  }

  .faq-container {
    max-width: 800px;
    margin: 0 auto; /* Centers the container */
    display: flex;
    flex-direction: column;
    align-items: center; /* Ensure flex items are centered */
    text-align: center;
    gap: 20px;
    width: 100%; /* Make sure it fills the available width */
  }

  .faq-item {
    width: 70%; /* Adjust width of FAQ items */
  }

  /* Optional: You can adjust widths here based on the screen size */
  .about-card1,
  .faq-item {
    width: 100%; /* Make items take up more space on smaller screens */
  }
}

@media (max-width: 470px) {
  #faq {
    margin-top: 400px;
  }
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .about-card1,
  .faq-item {
    width: 95%;
  }

  .navbar ul {
    gap: 10px;
    font-size: 0.9rem;
  }

  .btn,
  .hero-btn {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px;
  }

  .footer-links ul {
    flex-direction: column;
    gap: 8px;
  }

  .footer-social a {
    font-size: 1.2rem;
  }
}
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .faq-container {
    max-width: 800px;
    margin: 0 auto; /* Keeps the element centered */
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%; /* Ensure it uses full width if smaller screen */
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .container {
    width: 85%;
    padding: 30px 25px;
  }

  .about-card1,
  .faq-item {
    width: 80%;
  }

  .navbar ul {
    gap: 25px;
  }

  .btn,
  .hero-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
}
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-content {
    width: 90%;
    padding: 30px 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .container {
    width: 90%;
    margin-top: 80px;
    padding: 20px;
  }

  .about-container,
  .faq-container {
    flex-direction: column;
    align-items: center;
  }

  .about-card1,
  .faq-item {
    width: 90%;
  }

  .footer-links ul {
    flex-direction: column;
    gap: 10px;
  }
}
