* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f5f8ff;
}

.wrapper {
  width: 95%;
  margin: 0 auto;
}

h1, h3 {
  color: #2c8eec;
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  padding: 25px 30px;
  margin-left: 600px;
  margin-top: 80px;
  align-items: center;
}

h3 {
  color: #000000;
}

nav {
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1em 2em;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  width: 90%;
  max-width: 1000px;
  transition: all 0.3s ease;
}

nav .nav-links {
  display: flex;
  justify-content: space-between;
  width: 60%;
  margin: 0 auto;
}

nav .nav-links li {
  flex: 1;
  text-align: center;
}

nav .nav-links li a {
  display: block;
  padding: 0.5em;
}

nav:hover {
  background-color: rgba(255, 255, 255, 0.95);
}

#logo {
  font-size: 1.5em;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  color: #2c8eec;
  text-decoration: none;
  margin-right: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5em;
  align-items: center;
  justify-content: center;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  text-decoration: none;
  text-transform: capitalize;
  color: #333;
  padding: 0.75em 1em;
  border-radius: 25px;
  font-family: 'Lato', sans-serif;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-weight: 500;
  display: inline-block;
}

.nav-links li a:hover {
  color: #2c8eec;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(44, 142, 236, 0.1);
  transition: all 0.3s ease;
  z-index: -1;
  border-radius: 25px;
}

.nav-links li a:hover::after {
  height: 100%;
}

.nav-links li a.active {
  color: #333;
}

@media screen and (max-width: 600px) {
  label {
    display: block;
    cursor: pointer;
  }

  ul {
    font-size: 1.2em;
    position: absolute;
    left: -100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #333333;
    gap: 2em;
    top: 60px;
    width: 100%;
    height: calc(100vh - 60px);
    transition: 0.5s;
  }

  ul {
    left: 0;
  }

  ul a {
    padding: 1em 1.5em;
  }

  ul a:hover {
    background-color: #2c8eec;
  }
}

.title {
  font-size: 50px;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
  text-decoration: underline 4px;
}

.questions-container {
  max-width: 800px;
  margin: 0 auto;
}

.question {
  border-bottom: 1px solid black;
}

.question button {
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 15px;
  border: none;
  outline: none;
  font-size: 22px;
  color: black;
  font-weight: 700;
  cursor: pointer;
}

.question p {
  font-size: 22px;
  max-height: 0;
  opacity: 0;
  line-height: 1.5;
  overflow: hidden;
  transition: all 0.6s ease;
}

.d-arrow {
  transition: transform 0.5s ease-in;
  color: black;
}

.question p.show {
  max-height: 200px;
  opacity: 1;
  padding: 0px 15px 30px 15px;
}

.question button .d-arrow.rotate {
  transform: rotate(180deg);
}
