@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Muli', sans-serif;
  background-color: #f4f7f6; /* Light grey background */
  color: #333; /* Dark text */
}

h1 {
  margin: 50px 0 30px;
  text-align: center;
  color: #2c3e50; /* Dark blue-grey */
}

.faq-container {
  max-width: 700px; /* Slightly wider container */
  margin: 0 auto;
}

.faq {
  background-color: #ffffff; /* White background for FAQ item */
  border: 1px solid #e0e0e0; /* Lighter border */
  border-radius: 10px;
  margin: 20px 0;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* Subtle shadow */
}

.faq.active {
  background-color: #f8f9fa; /* Very light grey when active */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* More prominent shadow when active */
}

.faq-title {
  margin: 0 35px 0 0;
  color: #34495e; /* Darker blue-grey for title */
}

.faq-text {
  display: none;
  margin: 30px 0 0;
  line-height: 1.6;
  color: #555; /* Slightly lighter text for answer */
}

.faq.active .faq-text {
  display: block;
}

.faq-toggle {
  background-color: #3498db; /* Blue button */
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0;
  position: absolute;
  top: 30px;
  right: 30px;
  height: 35px; /* Slightly larger button */
  width: 35px; /* Slightly larger button */
  transition: background-color 0.3s ease;
}

.faq-toggle:hover {
  background-color: #2980b9; /* Darker blue on hover */
}

.faq-toggle:focus {
  outline: 0;
}

.faq-toggle svg {
  width: 18px;
  height: 18px;
  fill: #ffffff; /* White icons */
}

.faq-toggle .icon-times {
  display: none;
}

.faq.active .faq-toggle .icon-times {
  display: block;
}

.faq.active .faq-toggle .icon-chevron-down {
  display: none;
}

.faq.active .faq-toggle {
  background-color: #e74c3c; /* Red when active */
}

.faq.active .faq-toggle:hover {
  background-color: #c0392b; /* Darker red on hover */
}