.title-section {
  padding-top: var(--navbar-height); 
  padding-bottom: 30px;
}

.title-section h1 {
  font-weight: 300;
  font-family: "Lato", Arial, sans-serif;
  font-style: italic;
  font-size: 60px;
  margin-top: 40px;
  color: white;
  text-align: center;
}

.questions-section {
  display: grid;
  align-items: center;
  gap: 50px;
  padding-bottom: 50px;
}

.questions-title {
  text-align: center;
}

.questions-title h1 {
  font-family: "Lato", Arial, sans-serif;
  font-size: 24px;
  margin-top: 0px;
  font-weight: 300;
  color: white;
}

.questions {
  width: 80%;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  padding: 15px 0;
  cursor: pointer;
}

.faq-question {
  font-family: "Lato", Arial, sans-serif;
  color: white;
  font-size: 18px;
  font-weight: 300;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  font-family: "Lato", Arial, sans-serif;
  color: white;
  font-weight: 300;
  overflow: hidden;
  font-size: 16px;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  font-family: "Lato", Arial, sans-serif;
  color: white;
  font-weight: 300;
  font-size: 15px;
  padding: 1rem 0;
}

.icon {
  font-size: 24px;
  transition: transform 0.3s ease;
  color: #ff6b6b;
}

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

.faq-item.active .faq-answer {
  max-height: 1000px; 
}

.button-container {
  grid-column: span 2;
  display: flex;
  justify-content: center;
  padding: 30px 0px;
}

.button-container button {
  padding: 12px 30px;
  font-size: 18px;
  font-family: "Lato", Arial, sans-serif;
  font-weight: 400;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  background-color: #ff6b6b;
  color: white;
  transition: background-color 0.3s ease;
}

.button-container button:hover {
  background-color: #e65555;
}

/* Tablet: 769px–1200px */
@media (min-width: 769px) and (max-width: 1200px) {
  .title-section {
    padding-top: 20px;
  }
}

/* Mobile: > 769px */
@media (max-width: 768px) {
  .title-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .title-section h1 {
    font-size: 32px;
    margin-top: 0px;
  }

  .questions-title h1 {
    font-size: 30px;
  }

  .questions {
    width: 90%;      
    margin: 0 auto;  
  }

  .faq-question {
    font-size: 18px;
  }

  .button-container {
    gap: 12px; 
    padding: 0 10px;
    margin-top: 2rem;
  }

  .button-container button {
    width: 100%;
    max-width: 100%; 
    padding: 14px 0;
    font-size: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    font-size: 16px;
    font-family: "Lato", Arial, sans-serif;
    font-weight: 400;
  }
}