﻿ * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
  padding-top: 7px;
  opacity: 0;
  animation: fadeInBody 1s ease forwards;
}

@keyframes fadeInBody {
  to { opacity: 1; }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 999;
  backdrop-filter: blur(10px);
}

.navbar h1 {
  font-size: 1.5rem;
  color: #000;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #81D8D0;
}

.container {
  max-width: 700px;
  margin: auto;
  padding: 2rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #81D8D0;
  text-align: center;
}

.intro {
  font-size: 1.25rem;
  color: #666;
  max-width: 600px;
  margin: 1rem auto 2rem;
  padding-bottom: 40px;
  text-align: center;
}

p {
  padding-bottom: 40px;
}

img {
  width: 450px;
  height: 300px;
  display: block;
  float: left;
  margin-right: 2%;
  padding: 17px;
}

.question {
  margin-bottom: 2rem;
  transition: transform 0.3s;
}

.question:hover {
  transform: scale(1.01);
}

h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

label {
  display: block;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  border: 1px solid #dcdcdc;
  cursor: pointer;
  transition: all 0.2s ease;
}

label:hover {
  background-color: #f2f2f2;
}

input[type="radio"] {
  margin-right: 10px;
}

button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  background-color: #000000;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

button:hover {
  background-color: #81D8D0;
  transform: scale(1.03);
}

.result {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 16px;
  font-size: 1rem;
  animation: fadeInResult 0.5s ease-in-out;
}

@keyframes fadeInResult {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ✅ FIXED FAQ STYLES */
.faq {
  margin: 4rem auto;
  max-width: 700px;
  padding: 0 1rem;
}

.faq-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #333;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  cursor: pointer;
  color: #1a1a1a;
  transition: all 0.2s ease;
}

.faq-question:hover,
.faq-question:focus,
.faq-question:active {
  color: #1a1a1a;
  text-decoration: underline;
}

.faq-answer {
  display: none;
  padding: 0.5rem 0;
  color: #666;
  font-size: 1rem;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.faq-answer.open {
  display: block;
  max-height: 200px;
}

.faq-answer a.read-more {
  color: #81D8D0;
  text-decoration: none;
  margin-left: 5px;
}

.faq-answer a.read-more:hover {
  text-decoration: underline;
}

.footer {
  background-color: #f9f9f9;
  padding: 2rem 1rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.footer-content {
  max-width: 700px;
  margin: auto;
  font-size: 0.95rem;
  color: #999;
}

.footer-content nav {
  margin-top: 1rem;
}

.footer-content a {
  margin: 0 10px;
  color: #999;
  text-decoration: none;
}

.footer-content a:hover {
  color: #81D8D0;
}