/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f7f7f7;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   HEADER
=========================== */
#main-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: all 0.3s ease;
}

#main-header.scrolled {
  background: rgba(39, 57, 149, 0.95);
}

#main-header.scrolled .main-nav a {
  color: white;
}

#main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: #273995;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.main-nav a:hover {
  background: #273995;
  color: white;
}

/* ===========================
   HERO
=========================== */
.hero {
  width: 100%;
  height: 85vh;
  background: url('../img/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  color: white;
  margin-top: 70px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 40px;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 img {
  display: inline-block;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.cta-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #ffcc00;
  color: #273995;
  font-weight: 700;
  border-radius: 6px;
  margin-right: 10px;
  border: 2px solid #ffcc00;
  cursor: pointer;
}

.cta-btn:hover {
  background: #e6b800;
  color: #273995;
}

.cta-btn.alt {
  background: transparent;
  border: 2px solid #ffcc00;
  color: #ffcc00;
}

.cta-btn.alt:hover {
  background: #ffcc00;
  color: #273995;
}

/* ===========================
   SECTIONS
=========================== */
section {
  padding: 100px 20px;
}

section:nth-child(even) {
  background: #eef2f7;
}

section h1, section h2, section h3 {
  color: #273995;
  margin-bottom: 15px;
}

.center {
  text-align: center;
}

.section-content {
  max-width: 1200px;
  margin: auto;
}

/* ===========================
   ABOUT SECTION
=========================== */
#about .section-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

#about .section-image {
  flex: 0 0 40%;
  min-width: 280px;
}

#about .section-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

#about .section-content > div {
  flex: 1;
  min-width: 280px;
}

#about p {
  font-size: 1.05rem;
  margin-bottom: 18px;
}

/* ===========================
   INSIGHTS (EMPTY FOR API)
=========================== */
#insights {
  text-align: center;
  padding: 100px 20px;
}

/* ===========================
   APPLY SECTION
=========================== */
.apply-box {
  background: white;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 40px auto 0;
}

/* ===========================
   CONTACT SECTION
=========================== */
#contact {
  background: url('../img/hero.jpg') center/cover no-repeat;
  color: white;
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

#contact .contact-card {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: auto;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  text-align: center;
}

#contact .contact-card h1,
#contact .contact-card h2,
#contact .contact-card h3 {
  color: white;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: #273995;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

footer a {
  color: #ffcc00;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}


/* ===========================
   RESPONSIVE DESIGN
=========================== */
@media (max-width: 768px) {

.main-nav {display: none;}

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
  }

  #main-header .container {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  #about .section-content {
    flex-direction: column;
    text-align: center;
  }

  #about .section-image {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
}



/* ===========================
   FAQ SECTION
=========================== */
.faqs-section {
  background: #f9f9f9;
  padding: 100px 20px;
}

.faqs-section h1 {
  text-align: center;
  font-size: 2.4rem;
  color: #273995;
  margin-bottom: 20px;
}

.faqs-section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 1.1rem;
}

.faq {
  max-width: 900px;
  margin: 0 auto 20px auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  background: #273995;
  color: white;
  padding: 18px 22px;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 20px 22px;
  border-top: 1px solid #ddd;
  font-size: 1rem;
  background: #fff;
  color: #333;
}

.faq.open .faq-answer {
  display: block;
}
