* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #333;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */
header {
  background: linear-gradient(135deg, #3a4784 0%, #181e46 100%);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1rem 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Nova Oval", system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
  color: white;
}

.logo img {
  height: 3rem;
  width: auto;
  max-width: 160px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fecd48;
}

.nav-links a.active {
  color: #fecd48;
}

/* hero */
.hero {
  background: linear-gradient(135deg, #3a4784 0%, #181e46 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  margin-top: 70px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
  background: #fecd48;
  color: #333;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* What We Do section */
.what-we-do {
  padding: 80px 0;
  background: white;
}

.what-we-do h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.what-we-do-card {
  background: linear-gradient(135deg, #3a4784 0%, #181e46 100%);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.what-we-do-card:hover {
  transform: translateY(-5px);
}

.what-we-do-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.what-we-do-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

/* stats */
.stats {
  background: #f8f9fa;
  padding: 80px 0;
  text-align: center;
}

.stats h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #3a4784;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #666;
}

/* programs */
.programs {
  padding: 80px 0;
  background: white;
}

.programs h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.program-card {
  background: linear-gradient(135deg, #3a4784 0%, #181e46 100%);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
}

.program-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.program-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.program-button {
  background: #fecd48;
  color: #333;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.program-button:hover {
  transform: translateY(-2px);
}

/* Why Spark section */
.why-spark {
  background: #f8f9fa;
  padding: 80px 0;
  text-align: center;
}

.why-spark h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.why-spark-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.why-spark-image {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.why-spark-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
  border-radius: 15px;
}

.why-spark-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  transition: transform 0.3s ease;
}

.why-spark-card:hover {
  transform: translateY(-5px);
}

.why-spark-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #3a4784;
}

.why-spark-card p {
  color: #666;
  font-size: 1.1rem;
}

/* Responsive for Why Spark */
@media (max-width: 900px) {
  .why-spark-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .why-spark-image {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 2rem;
  }
}

.who-we-are {
  padding: 80px 0;
  background: #fff;
}

.who-we-are-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

.who-we-are-content {
  max-width: 800px;
  margin: 0 auto;
  color: #666;
  font-size: 1.15rem;
  line-height: 1.7;
}

.who-we-are-content p {
  margin-bottom: 1.5rem;
}

.who-we-are-content p:last-child {
  margin-bottom: 0;
}

/* Mission Section */
.mission {
  padding: 80px 0;
  background: #f8f9fa;
}

.mission-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

.mission-content-text {
  max-width: 800px;
  margin: 0 auto;
  color: #333;
  font-size: 1.15rem;
  line-height: 1.7;
}

.mission-content-text p {
  margin-bottom: 1.5rem;
}

.mission-content-text p:last-child {
  margin-bottom: 0;
}

/* team */
.team {
  padding: 80px 0;
  background: #fff;
  text-align: center;
}

.team h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}

.team-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.12);
  background: white;
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-8px) scale(1.03);
}

.team-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.team-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(102, 126, 234, 1),
    rgba(102, 126, 234, 0.6)
  );
  color: #fff;
  padding: 1.3rem 1rem 1rem 1rem;
  text-align: center;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  box-shadow: 0 -2px 12px rgba(102, 126, 234, 0.08);
}

.team-info h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.3rem;
  font-weight: bold;
}

.team-info p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.95;
}

/* Responsive for team section */
@media (max-width: 900px) {
  .team-photo {
    height: 260px;
  }
}
@media (max-width: 600px) {
  .team-photo {
    height: 180px;
  }
}

.branch-benefits {
  background: #f8f9fa;
  padding: 80px 0 60px 0;
}

.branch-benefits h2 {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 2.5rem;
  color: #333;
}

.benefits-columns {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.benefits-column {
  flex: 1 1 320px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.08);
  padding: 2rem 2rem 1.5rem 2rem;
  margin-bottom: 2rem;
  min-width: 300px;
  max-width: 500px;
}

.benefits-column h3 {
  color: #3a4784;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.benefit-item {
  margin-bottom: 1.5rem;
}

.benefit-title {
  font-size: 1.1rem;
  color: #181e46;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.benefit-desc {
  color: #555;
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 900px) {
  .benefits-columns {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
  }
  .benefits-column {
    max-width: 100%;
  }
}

/* requirements */
.requirements {
  background: #fff;
  padding: 80px 0;
  text-align: center;
}

.requirements h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.requirement-card {
  background: linear-gradient(135deg, #3a4784 0%, #181e46 100%);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.08);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s;
}

.requirement-card:hover {
  transform: translateY(-5px);
}

.requirement-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
}

.requirement-desc {
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
}

/* apply form */
.apply-section {
  padding: 60px 0 80px 0;
  background: #f8f9fa;
}

.apply-section h2 {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 2.5rem;
  color: #333;
}

.apply-section .container {
  margin: 0 auto;
}

/* contact-form */
.contact-form {
  background: white;
  padding: 180px 0 80px;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3a4784;
}

.full-width {
  grid-column: span 2;
}

@media (max-width: 600px) {
  .full-width {
    grid-column: span 1;
  }
}

/* toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #28a745;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* --- General FAQs Section --- */
.general-faqs {
  background: #fff;
  padding: 60px 0;
}

.general-faqs h2 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-list details {
  background: #f8f9fa;
  border: 2px solid #eee;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.07);
  padding: 1.2rem 1.5rem;
  transition: box-shadow 0.2s;
}

.faq-list details[open] {
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.13);
}

.faq-list summary {
  font-weight: 600;
  font-size: 1.15rem;
  color: #3a4784;
  cursor: pointer;
  outline: none;
  transition: color 0.2s;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  color: #181e46;
}

.faq-list details > div {
  color: #444;
  margin-top: 0.8rem;
  font-size: 1rem;
  line-height: 1.6;
}

.faq-list a {
  color: #181e46;
  text-decoration: underline;
  transition: color 0.2s;
}

.faq-list a:hover {
  color: #fecd48;
}

/* Responsive for FAQ section */
@media (max-width: 600px) {
  .faq-list details {
    padding: 1rem 0.8rem;
  }
  .general-faqs {
    padding: 40px 0;
  }
}

/* footer */
footer {
  background: #333;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: #fecd48;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-section a:hover {
  color: #fecd48;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 1rem;
  margin-top: 2rem;
}

/* animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .mission-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-features {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile menu styles */
.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 1rem;
  z-index: 1101;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 20px;
  background: white;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.12);
  border-radius: 12px;
  min-width: 180px;
  padding: 1rem 0.5rem;
  z-index: 1100;
}

.mobile-menu a {
  color: #3a4784;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.mobile-menu a:hover {
  background: #fecd48;
  color: #333;
}

.mobile-menu.show {
  display: flex;
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }
  .nav-links {
    display: none;
  }
}
