@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fdfaf7;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 30px 15px;
  overflow-x: hidden;
  animation: fadeIn 1s ease-in;
}

.container {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: calc(100% - 10px);
  margin: 0 auto;
  box-sizing: border-box;
  animation: slideIn 1.2s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.logo img {
    max-width: 120px;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  .logo-about img,
  .logo-contact img,
  .logo-faq img {
    max-width: 120px;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

h1, h2 {
  color: #4e342e;
  font-weight: 600;
}

h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

p {
  color: #6d4c41;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

#top-content p {
  margin-bottom: 25px;
}

input[type="email"],
input[type="text"],
select,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 2px solid #a1887f;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  max-width: 100%;
  width: 100%;
  min-height: 80px;
  max-height: 350px;
  overflow-y: auto;
}

button {
  background-color: #5d4037;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #3e2723;
}

.links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.links a {
  color: #5d4037;
  font-size: 15px;
  text-decoration: none;
  font-weight: 600;
}

.links a:hover {
  color: #a36f5f;
  transform: scale(1.1);
}

.contact-link {
  color: #a36f5f;
  text-decoration: underline;
}

.contact-link:hover {
  color: #5d4037;
  text-decoration: underline;
}

.socials {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.socials a {
  color: #5d4037;
  background-color: rgba(93, 64, 55, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.socials a:hover {
  background-color: rgba(93, 64, 55, 0.2);
  transform: scale(1.1);
}

.socials a svg {
  width: 24px;
  height: 24px;
  fill: #5d4037;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.socials a:hover svg {
  transform: scale(1.1);
  fill: #3e2723;
}

.footer {
  font-size: 11px;
  color: #a1887f;
  margin-top: 40px;
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.8s ease-in-out;
  color: #4e342e;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.success-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #5d4037;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.success-text {
  font-size: 14px;
  text-align: center;
  max-width: 300px;
  color: #6d4c41;
}

.spinner {
  margin: 30px auto;
  width: 48px;
  height: 48px;
  border: 5px solid #a1887f;
  border-top-color: #5d4037;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.faq-item {
  border-bottom: 1px solid #e0d8d1;
  padding: 18px 0;
  cursor: pointer;
}

.question {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    color: #5d4037;
    width: 100%;
    cursor: pointer;
    user-select: none;
  }
  
  .question span {
    flex-grow: 1;
    text-align: center;
  }
  
.answer {
  color: #6d4c41;
  font-size: 15px;
  margin-top: 10px;
  display: none;
  padding: 0 20px;
  line-height: 1.5;
  text-align: center;
}

.faq-item.active .answer {
  display: block;
}

.icon {
  color: #5d4037;
  font-size: 14px;
  transition: transform 0.3s ease;
  order: 2;
  margin-left: 10px;
}

.faq-item.active .icon {
  transform: rotate(90deg);
}

ul {
    list-style-type: none;
    padding-left: 1em;
    margin-left: 0;
  }

.back-home-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  background-color: #5d4037;
  color: #fff;
  border: none;
  font-size: 13px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.back-home-button:hover {
  background-color: #3e2723;
}

  
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 20px;
  }
  .question {
    font-size: 15px;
  }
  .answer {
    font-size: 14px;
  }
}

@media (max-height: 600px) {
  .container {
    padding: 20px;
  }
  body {
    overflow-y: auto;
    padding: 10px 0;
  }
}