* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
  background: #f8fafc;
  color: #1e3a8a;

  /* ✅ Keep footer at bottom */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  flex: 1;
}

/* ✅ Navigation bar full width */
.nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem 2rem;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  max-width: none;
  margin: 0;
}

.nav-brand h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: #2563eb;
}

/* Header section */
header {
  text-align: center;
  padding: 0.9rem 1rem;
  background: #ffffff;
  color: #1e3a8a;
}

header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* FAQ columns */
.faq-columns {
  display: flex;
  gap: 1rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  margin-top: 90px;
}

.faq-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: rgba(207, 221, 239, 0.3);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 6px 16px rgba(241, 243, 246, 0.854);
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
}

.faq-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.faq-question {
  cursor: pointer;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: #000000;
}

.faq-answer.open {
  max-height: 500px;
  padding-top: 0.5rem;
}

.chevron {
  transition: transform 0.3s;
}
.chevron.rotate {
  transform: rotate(90deg);
}

/* Footer (from contact.html) */
.footer {
  background: #2c3e50;
  color: white;
  padding: 3rem 0 1rem;
  width: 100%;
  margin-top: 400px;
  font-family: "Poppins", sans-serif;
}


.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
  padding: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ecf0f1;
}

.footer-section ul {
  list-style: none;
  margin-left: 30px;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #3498db;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  color: #3498db;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #3498db;
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  text-align: center;
  color: #95a5a6;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .nav {
    flex-direction: column; /* Stack items vertically */
    padding: 1rem;
  }

  .nav-brand {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }

  .nav-menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .faq-columns {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
