/* 🌈 Base Styles */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #f9fbff, #eaf3ff);
  color: #222;
  overflow-x: hidden;
}

/* 🔹 Header */
.main-header {
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 30px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #0078d7;
  font-weight: 700;
  font-size: 1.3rem;
}

.logo img {
  width: 36px;
  margin-right: 10px;
}

.navbar a {
  margin: 0 16px;
  text-decoration: none;
  color: #222;
  font-weight: 500;
  position: relative;
}

.navbar a.active,
.navbar a:hover {
  color: #00bcd4;
}

.navbar a.active::after,
.navbar a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: #00bcd4;
  border-radius: 3px;
}

.theme-toggle img {
  width: 22px;
  cursor: pointer;
}

/* 🔹 FAQ Section */
.faq-section {
  padding: 80px 20px;
  text-align: center;
}

.faq-content {
  max-width: 900px;
  margin: auto;
}

.faq-content h1 {
  color: #003366;
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.faq-content p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 50px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.faq-item {
  background: white;
  border-radius: 14px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s;
}

.faq-item:hover {
  transform: translateY(-3px);
}

.faq-question {
  background: none;
  border: none;
  color: #0078d7;
  padding: 20px;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  outline: none;
  position: relative;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: #444;
  line-height: 1.6;
  animation: fadeIn 0.3s ease-in;
}

.faq-answer a {
  color: #0078d7;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* 🔹 Footer */
.main-footer {
  background: linear-gradient(90deg, #003366, #0078d7);
  color: white;
  padding: 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: #cfe8ff;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00e5ff;
}

/* 🔹 Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.fade-in.delay-1 {
  animation-delay: 0.3s;
}

.slide-up {
  transform: translateY(30px);
  opacity: 0;
  animation: slideUp 0.8s ease forwards;
}

.slide-up.delay-1 { animation-delay: 0.3s; }
.slide-up.delay-2 { animation-delay: 0.5s; }
.slide-up.delay-3 { animation-delay: 0.7s; }
.slide-up.delay-4 { animation-delay: 0.9s; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 🔹 Responsive */
@media (max-width: 768px) {
  .navbar {
    display: none;
  }
  .faq-content h1 {
    font-size: 1.8rem;
  }
}


.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.theme-toggle img {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.theme-toggle:hover img {
  transform: rotate(15deg) scale(1.1);
}

/* Dark mode overrides */
body.dark {
  background: linear-gradient(180deg, #0b1a2b, #001a33);
  color: #f2f6fa;
}

body.dark .main-header {
  background: #0f233a;
  color: #f2f6fa;
}

body.dark .navbar a {
  color: #e0eaff;
}

body.dark .navbar a.active::after {
  background: #00bcd4;
}

body.dark .faq-item {
  background: #142a44;
  color: #e0eaff;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
}

body.dark .main-footer {
  background: linear-gradient(90deg, #001f3f, #004c7c);
}

