/* ================= VARIABLES ================= */
:root{
  /* Light / Clear mode */
  --bg:#cde4ea;
  --text:#1c3b69;      /* NAVY TEXT */
  --muted:#475569;
  --card:#ffffff;
  --nav-bg:rgba(255,255,255,.95);
  --border:#cde4ea;

  --navy:#1c3b69;
  --blue:#3e6aab;
  --teal:#0898b3;
  --gold:#fae23b;
  --white:#ffffff;
  
  --toggle-color: var(--navy);
  --toggle-hover: var(--teal);

  --light-blue: #add8e6; /* Light blue for FAQ answer */
}

/* Dark mode */
body.dark{
  --bg:#0b1f3a;
  --text:#ffffff;     /* FORCE WHITE TEXT */
  --muted:#b6c6db;
  --card:#112a4f;
  --nav-bg:#0b1f3a;
  --border:#1e3a5f;
  
  --toggle-color: var(--gold);
  --toggle-hover: var(--gold);

  --light-blue: #add8e6; /* Same light blue for dark mode */
}

/* ================= RESET ================= */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--text);
  transition:.3s ease;
}
a{text-decoration:none;color:inherit}

/* ================= NAV ================= */
.nav{
  position:fixed;
  inset:0 0 auto 0;
  background:var(--nav-bg);
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(12px);
  z-index:999;
  transition:.3s;
}
.nav.scrolled{
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.nav-inner{
  max-width:1200px;
  margin:auto;
  padding:1rem 1.5rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo img{height:42px}

.nav-links{
  display:flex;
  align-items:center;
  gap:1.5rem;
}
.nav-links a{
  font-weight:600;
  position:relative;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:var(--gold);
  transition:.3s;
}
.nav-links a:hover::after{width:100%}

#darkToggle{
  background:none;
  border:none;
  cursor:pointer;
  font-size:1.1rem;
  color:var(--toggle-color);
  transition:.3s;
}
#darkToggle:hover{color:var(--toggle-hover)}
body.dark #darkToggle{transform:rotate(180deg)}

/* ================= HAMBURGER ================= */
.hamburger{
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
}
.hamburger span{
  width:28px;
  height:3px;
  background:var(--text);
  transition:.4s;
}

@media(max-width:900px){
  .hamburger{display:flex}
  .nav-links{
    position:absolute;
    top:100%;
    left:0;right:0;
    background:var(--nav-bg);
    flex-direction:column;
    padding:1.5rem;
    display:none;
  }
  .nav-links.active{display:flex}
}

/* ================= HERO ================= */
.hero{
  min-height:60vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:white;
  padding:6rem 1.5rem 3rem;
  background:
    linear-gradient(120deg,rgba(30,58,138,.9),rgba(15,23,42,.95)),
    url("../../../tools/img/assets/hero-slide3.jpg") center/cover;
}

.hero h1{
  font-size:3rem;
  margin-bottom:.6rem;
}
.hero p{
  max-width:540px;
  margin:auto;
  font-size:1.15rem;
  opacity:.9;
}

.hero h1,
.hero p{
  color:#ffffff;
}

/* ================= LAYOUT ================= */
section{padding:5rem 1.5rem}
.container{max-width:1200px;margin:auto}

/* ================= FAQ GRID ================= */
.faq-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:2.5rem;
}

/* ================= FAQ ITEM ================= */
.faq-item{
  background:var(--card);
  border-radius:1.6rem;
  padding:2.2rem;
  box-shadow:0 20px 40px rgba(0,0,0,.08);
  transition:.35s ease;
  overflow:hidden;
}

.faq-item:hover{
  transform:translateY(-6px);
  box-shadow:0 28px 55px rgba(0,0,0,.12);
}

.faq-question{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  font-weight:700;
  font-size:1.05rem;
  cursor:pointer;
}

.faq-question span{
  font-size:1.6rem;
  color:var(--gold);
  transition:.3s;
}

.faq-item.active .faq-question span{
  transform:rotate(45deg);
}

/* ================= FAQ ANSWER ================= */
.faq-answer{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .5s ease, opacity .4s ease;
  color: var(--light-blue); /* FAQ answer color */
}

.faq-item.active .faq-answer{
  margin-top:1.2rem;
  opacity:1;
}

.faq-answer p,
.faq-answer li{
  font-size:.98rem;
  line-height:1.75;
  color: var(--light-blue); /* override muted */
  margin-bottom:.8rem;
}

.faq-answer ul{
  padding-left:1.1rem;
  margin:0;
}

/* ================= CTA ================= */
.cta-section{
  background:linear-gradient(120deg,var(--navy),var(--blue));
  color:white;
  text-align:center;
  padding:4.5rem 1.5rem;
}

.cta-section h2{
  font-size:2.3rem;
  margin-bottom:.7rem;
}

.cta-section p{
  max-width:560px;
  margin:0 auto 2rem;
  opacity:.9;
}

.btn{
  background:var(--gold);
  color:var(--navy);
  padding:1.1rem 2.8rem;
  border:none;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
  transition:.3s;
}
.btn:hover{transform:translateY(-3px)}

/* ================= FOOTER ================= */
footer{
  background:var(--navy);
  color:white;
  text-align:center;
  padding:3rem 1rem;
}

.socials{
  display:flex;
  justify-content:center;
  gap:1rem;
  margin-bottom:1rem;
}

.socials a{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid var(--blue);
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.3s;
}

.socials a:hover{
  background:var(--gold);
  color:var(--navy);
  transform:translateY(-4px);
}

/* ================= FLOATING ================= */
.whatsapp-btn{
  position:fixed;
  bottom:25px;
  right:25px;
  width:60px;
  height:60px;
  border-radius:50%;
  background:#25D366;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  z-index:9999;
}

#topBtn{
  position:fixed;
  bottom:100px;
  right:25px;
  width:45px;
  height:45px;
  border-radius:50%;
  background:var(--blue);
  color:white;
  border:none;
  cursor:pointer;
  display:none;
  align-items:center;
  justify-content:center;
}

#topBtn i{font-size:16px}

/* ================= ANIMATIONS ================= */
[data-animate]{
  opacity:0;
  transform:translateY(40px);
  transition:.7s ease;
}
[data-animate].show{
  opacity:1;
  transform:none;
}

/* ================= MOBILE ================= */
@media(max-width:600px){
  .hero h1{font-size:2.3rem}
  .faq-item{padding:1.8rem}
}
