/* ==========================================
   BASE RESET & TYPOGRAPHY
========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f0f4ff;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================
   CTA BAR
========================================== */
.cta-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #0077ff;
  color: #fff;
  padding: 0.5rem 0.6rem;
  font-size: 0.95rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: opacity 0.3s, background 0.3s;
}

.cta-bar a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0.6rem;
  font-weight: 600;
  background: rgba(255,255,255,0.15);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  transition: background 0.3s, transform 0.2s;
}

.cta-bar a:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* ==========================================
   HEADER & HERO
========================================== */
header {
  padding-top: 55px; /* space for CTA bar */
  position: relative;
  z-index: 10;
}

#hero {
  position: relative;
  background: url('hero-vans.jpg') center/cover no-repeat;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,50,120,0.65); /* blue overlay */
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 1rem 4rem;
  color: #fff;
}

.hero-logo-top {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 3;
}

.hero-logo-top img {
  max-height: 120px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 3px 12px rgba(0,0,0,0.5);
  animation: fadeInDown 1s ease forwards;
}

#hero p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  max-width: 850px;
  margin: 0 auto 1.5rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  animation: fadeInUp 1.2s ease forwards;
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.trust-badges span {
  background: rgba(255,255,255,0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(3px);
  color: #fff;
}

/* HERO BUTTONS */
.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-btn {
  background: linear-gradient(90deg, #0077ff, #005cb8);
  color: #fff;
}

.secondary-btn {
  background: #fff;
  color: #005cb8;
  border: 2px solid #005cb8;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* ==========================================
   NAVIGATION
========================================== */
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #005cb8;
  padding: 0.5rem 1rem;
  border-radius: 0 0 10px 10px;
  position: relative;
  z-index: 11;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  color: #fff;
  padding: 0.55rem 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s, transform 0.2s;
}

.nav-links li a:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  color: #222;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  min-width: 200px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu li a:hover {
  background: rgba(0,119,255,0.1);
  color: #0077ff;
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-left: auto;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* Responsive nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 55px;
    right: 1rem;
    background: #004a99;
    padding: 1rem;
    border-radius: 10px;
    width: 220px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .dropdown-menu {
    background: #003366;
    position: static;
    box-shadow: none;
  }

  .dropdown-menu li a {
    color: #fff;
  }

  .dropdown-menu li a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
  }
}

/* ==========================================
   CONTENT SECTIONS
========================================== */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.service-card {
  background: #fff;
  padding: 1.3rem;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.service-card i {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #0077ff;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Charity Highlight */
.highlight-box {
  background: linear-gradient(120deg, #e6f2ff, #cce0ff);
  border-radius: 14px;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  margin: 2rem 0;
}

.highlight-box h2 {
  color: #005cb8;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-slider {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.testimonial {
  background: #fff;
  padding: 1.3rem;
  border-radius: 12px;
  text-align: center;
  font-style: italic;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.testimonial span {
  display: block;
  margin-top: 0.6rem;
  font-weight: 700;
  color: #0077ff;
  font-style: normal;
}

/* Map */
.map-container iframe {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  border: none;
}

/* Quote Banner */
.quote-banner {
  background: linear-gradient(90deg, #0077ff, #005cb8);
  color: #fff;
  text-align: center;
  border-radius: 14px;
  padding: 2rem 1rem; /* fixed missing colon */
  margin: 2rem 0;
}

.quote-banner h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.quote-banner p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.cta-buttons .btn {
  min-width: 200px;
}

/* FAQ Accordion Fix */
.faq-item {
  border-bottom: 1px solid #ccc;
  margin-bottom: 0.5rem;
  overflow: hidden; /* ensures proper spacing */
}

.faq-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
  margin: 0;
  padding: 0.8rem 1rem;
  background: #f0f4ff;
  border-radius: 6px;
  transition: background 0.3s;
}

.faq-item h3:hover {
  background: #dbe6ff;
}

.faq-item p {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  margin: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active p {
  max-height: 1000px; /* increased for long content */
  padding: 0.6rem 1rem 1rem;
}

/* Footer */
footer {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 2rem;
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

footer .footer-links a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

footer .footer-links a:hover {
  color: #0077ff;
}

/* Utility Animations */
@keyframes fadeInDown {
  0% {opacity: 0; transform: translateY(-20px);}
  100% {opacity: 1; transform: translateY(0);}
}

@keyframes fadeInUp {
  0% {opacity: 0; transform: translateY(20px);}
  100% {opacity: 1; transform: translateY(0);}
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 1024px) {
  #hero h1 {
    font-size: 2rem;
  }

  .trust-badges {
    gap: 0.5rem;
  }

  .highlight-box {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 1.7rem;
  }

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

  .trust-badges span {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }

  .hero-logo-top img {
    max-height: 80px;
  }
}
