.privacy-card {
  background: #f8fafc;
  color: #222;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(16,24,40,0.10);
  padding: 48px 40px 40px 40px;
  max-width: 700px;
  min-width: 320px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
}
/* privacy card styles */
.privacy-title {
  font-size: 2.2rem;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #222;
  margin-bottom: 0.5em;
  text-align: center;
}
.privacy-wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.privacy-card {
  background: #f8fafc;
  color: #222;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(16,24,40,0.10);
  padding: 32px 28px 24px 28px;
  max-width: 500px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
}
.privacy-content {
  font-size: 1.25rem;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-weight: 500;
  color: #222;
  text-align: center;
  margin-bottom: 8px;
  position: relative;
}
.privacy-icon {
  font-size: 2.2rem;
  color: #0f62fe;
  margin-bottom: 8px;
  display: block;
}
.privacy-text {
  display: block;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .privacy-wrap {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .privacy-card {
    max-width: 95vw;
  }
}
:root{
  --bg:linear-gradient(135deg, #e0e7ff 0%, #f8fafc 100%);
  --dark-section-bg: #1a2233;
  --dark-section-text: #f8fafc;
    --card:#ffffff;
    --muted:#6b7280;
    --accent:#0f62fe;      /* primary blue */
    --accent-600:#0b53c6;
    --radius:12px;
    --container:1100px;
    --shadow: 0 8px 20px rgba(16,24,40,0.08);
  --glass: rgba(255,255,255,0.6);--max-width:1200px;
   font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
   color: #0f1724;
   }
   *{box-sizing:border-box}
   html,body{height:100%;margin:0;background:var(--bg);-webkit-font-smoothing:antialiased}
   .container{max-width:var(--container);margin:0 auto;padding:28px}
   .site-header{position:sticky;top:0;background:linear-gradient(180deg, 
  rgba(255,255,255,0.85), rgba(255,255,255,0.6));backdrop-filter: blur(6px);z-index:60;border-bottom:1px solid rgba(15,23,36,0.04)}
   .header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
   .brand .logo{font-weight:700;text-decoration:none;color:var(--accent);font-size:1.05rem}
    /* Make header-inner background deep blue and ensure contrast */
    .container.header-inner {
      background: #032c63; /* deep blue */
      border-radius: 8px;
      padding: 10px 18px;
    }
    .container.header-inner .logo,
    .container.header-inner .main-nav .nav-link,
    .container.header-inner .menu-toggle {
      color: #ffffff !important;
    }
   .main-nav{display:flex;gap:12px;align-items:center}
   .main-nav .nav-link{color:var(--muted);text-decoration:none;padding:8px 10px;border-radius:8px;font-weight:600}
   .main-nav .nav-link:hover{background:rgba(15,98,254,0.06);color:var(--accent-600)}
   .main-nav .cta{border:1px solid rgba(15,98,254,0.12);padding:8px 
  12px;background:transparent;color:var(--accent)}
   .menu-toggle{
     display:none;
     background:transparent;
     border:1px solid rgba(15,98,254,0.12);
     border-radius:8px;
     font-size:1.2rem;
     padding:8px 12px;
     color:var(--accent);
     cursor:pointer;
     transition:background 0.2s, color 0.2s;
   }
   .menu-toggle:hover, .menu-toggle:focus {
     background:rgba(15,98,254,0.06);
     color:var(--accent-600);
     outline:none;
   }
   /* HERO */
   .hero{padding:48px 0}
   .hero-grid{display:flex;align-items:center;justify-content:space-between;gap:48px}
   .hero-content {
     flex: 1;
     min-width: 260px;
   }
   .hero-image {
     flex: 1;
     text-align: center;
   }
   .hero-image img {
     height: 400px;
     width: 250px;
     object-fit: cover;
     border-radius: 16px;
     max-width: 100%;
   }
   .hero-content h1{font-size:2rem;margin:0 0 12px}
   .lead{color:var(--muted);margin:0 0 18px}
   .hero-actions{display:flex;gap:12px;margin-bottom:18px}
   .btn{display:inline-block;text-decoration:none;padding:10px 16px;border-radius:10px;font-weight:700;border:0;cursor:pointer}
   .btn.primary{background:var(--accent);color:#fff;transition:background 0.2s, color 0.2s;}
   .btn.primary:hover, .btn.primary:focus {
     background: #0b53c6;
     color: #fff;
     cursor: pointer;
   }
   .btn.ghost{background:transparent;border:1px solid rgba(15,98,254,0.08);color:var(--accent)}
   .btn.full{width:100%}
   /* hero form */
   .hero-form-card {
     max-width: 600px;
     margin: 40px auto;
     background: #222a3f;
     color: #fff;
     border-radius: 18px;
     box-shadow: 0 8px 32px rgba(16,24,40,0.10);
     padding: 48px 40px 40px 40px;
  }
  .verify-section {
    background: #000f25;
    color: #f8fafc;
    padding: 48px 0;
  }
  .verify-section .hero-form-card {
    background: #000f25;
    color: #f8fafc;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(16,24,40,0.18);
    padding: 32px 28px 24px 28px;
    max-width: 400px;
    margin: 32px auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .verify-section .hero-form-card h2 {
    color: #fff;
  }
  .verify-section .hero-form-card label {
    color: #cbd5e1;
  }
  .verify-section .hero-form-card input, .verify-section .hero-form-card textarea {
    color: #222;
  }
   .hero-form-card h2 {
     margin: 0 0 18px;
     font-size: 2.2rem;
     text-align: center;
     color: #fff;
     font-weight: 700;
     letter-spacing: 1px;
   }
   .hero-form-card label {
     display: block;
     font-size: 0.95rem;
     margin: 10px 0 6px;
     text-align: center;
     color: #cbd5e1;
   }
   .hero-form-card input, .hero-form-card textarea, .hero-form-card select {
     width: 100%;
     padding: 18px 16px;
     border-radius: 12px;
     border: 2px solid #3b4252;
     text-align: left;
     color: #222;
     font-size: 1.25rem;
     background: #f8fafc;
     margin-bottom: 0;
     box-shadow: 0 2px 12px rgba(16,24,40,0.12);
     transition: border-color 0.2s, box-shadow 0.2s;
   }
   .form-note{font-size:0.85rem;color:var(--muted);margin:10px 0}
   /* sections */
   .section{padding:48px 0}
  .brand-section, .verify-section, .testimonials {
    background: var(--dark-section-bg);
    color: var(--dark-section-text);
  }
  .brand-section h1, .verify-section h2, .testimonials h2 {
    color: #fff;
  }
  .brand-section .lead, .verify-section .form-note, .testimonials .who {
    color: #cbd5e1;
  }
  .brand-section .btn.primary, .verify-section .btn.primary {
    background: var(--accent);
    color: #fff;
  }
  .brand-section .btn.ghost, .verify-section .btn.ghost {
    background: transparent;
    border: 1px solid rgba(15,98,254,0.08);
    color: var(--accent);
  }
  .verify-section input, .verify-section label {
    color: #222;
  }
  .testimonials .testimonial {
    background: #232b3d;
    color: var(--dark-section-text);
    font-family: 'Playfair Display', 'Inter', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 32px;
  }
   .features .cards-grid{
       display:grid;
       grid-template-columns:repeat(3,1fr);
   gap:16px;margin-top:20px}
   .feature-card{background:var(--card);padding:18px;border-radius:12px;box-shadow:var(-shadow)}
   .testimonials-wrap{position:relative;min-height:140px;margin-top:18px; display: flex; flex-direction: column; align-items: center; gap: 24px;}
   .testimonial{background:#232b3d;padding:20px;border-radius:12px;box-shadow:var(--shadow); display: block;}
   .testimonial .quote {
     font-size: 2.5rem;
     font-family: 'Playfair Display', 'Inter', serif;
     font-style: italic;
     font-weight: 700;
     letter-spacing: 1px;
     line-height: 1.2;
     color: #fff;
   }
   .testimonial .who {
     font-size: 1rem;
     font-family: 'Inter', sans-serif;
     font-weight: 400;
     color: #cbd5e1;
     margin-top: 12px;
   }
   .testimonial .quote{font-style:italic;margin:0 0 12px}
   .testimonial .who{color:var(--muted);margin:0}
   /* contact */
  .contact {
    background: #1a2233;
    color: #f8fafc;
  }
/* footer dark styles */
.site-footer {
  padding: 20px 0;
  border-top: 1px solid rgba(15,23,36,0.04);
  background: #1a2233;
  color: #f8fafc;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #f8fafc;
}
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  margin-left: 12px;
}

  .testimonials-title {
    font-size: 2.5rem;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #fff;
    margin-bottom: 0.5em;
    text-align: center;
  }
  .testimonials-subtitle {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 2em;
    text-align: center;
  }
  .testimonials-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
  }
  .testimonial-card {
    background: #232b3d;
    color: var(--dark-section-text);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(16,24,40,0.18);
    padding: 32px 28px 24px 28px;
    max-width: 370px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
  }
  .testimonial-quote {
    font-size: 1.35rem;
    font-family: 'Playfair Display', 'Inter', serif;
    font-style: italic;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 18px;
    position: relative;
  }
  .quote-icon {
    font-size: 2.5rem;
    color: #0f62fe;
    margin-bottom: 8px;
    display: block;
  }
  .quote-text {
    display: block;
    margin-top: 8px;
  }
  .testimonial-footer {
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: #cbd5e1;
    margin-top: 8px;
    text-align: center;
    opacity: 0.85;
  }
  @media (max-width: 900px) {
    .testimonials-wrap {
      flex-direction: column;
      gap: 24px;
      align-items: center;
    }
    .testimonial-card {
      max-width: 95vw;
    }
  }
.efficient-solution-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 0;
}

.efficient-image img {
  height: 400px;
  width: 250px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(16,24,40,0.10);
  display: block;
  max-width: 100%;
}

.efficient-text {
  flex: 1;
}

.efficient-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a2233;
  margin-bottom: 18px;
}

.efficient-text p {
  font-size: 1.25rem;
  color: #222;
}

.cards-grid {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.feature-card {
  background: #f8fafc;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(16,24,40,0.07);
  padding: 24px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
}

/* --- TESTIMONIALS --- */
.testimonials-wrap {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #222a3f;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(16,24,40,0.10);
  padding: 32px 24px;
  max-width: 350px;
  min-width: 220px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-quote {
  font-size: 1.3rem;
  margin-bottom: 18px;
  text-align: center;
}

.testimonial-footer {
  font-size: 1rem;
  color: #b0bec5;
  margin-top: 8px;
  text-align: center;
}

/* --- PRIVACY --- */
.privacy-card {
  background: #f8fafc;
  color: #222;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(16,24,40,0.10);
  padding: 48px 40px 40px 40px;
  max-width: 700px;
  min-width: 320px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
}

.privacy-title {
  font-size: 2.2rem;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #222;
  margin-bottom: 0.5em;
}

.privacy-content {
  text-align: center;
}

.privacy-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.privacy-text {
  font-size: 1.2rem;
  color: #222;
}

/* --- CONTACT --- */
.section.contact {
  background: #222a3f;
  color: #fff;
  padding: 48px 0;
}

.section.contact h2,
.section.contact p {
  text-align: center;
}

/* --- FOOTER --- */
.site-footer {
  background: #222a3f;
  color: #fff;
  padding: 32px 0;
  text-align: center;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  margin-left: 12px;
  color: #fff;
  text-decoration: underline;
  font-size: 1rem;
}

/* --- NAVBAR DARK BACKGROUND --- */
.site-header {
  background: #222a3f;
}

.main-nav {
  background: #222a3f;
  display: flex;
  gap: 24px;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
}

@media (max-width: 900px) {
  .header-inner {
    position: relative;
  }
    .nav-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.3);
      z-index: 99;
      transition: opacity 0.3s ease;
    }
    .nav-overlay.active {
      display: block;
      opacity: 1;
    }
  .main-nav {
      display: none;
      flex-direction: column;
      position: fixed;
      top: 0;
      right: -300px;
      height: 100vh;
      width: 300px;
      background: #222a3f;
      z-index: 100;
      padding: 60px 0 24px 0;
      box-shadow: -4px 0 16px rgba(16,24,40,0.07);
      transition: right 0.3s ease;
  }
    .main-nav.active {
      display: flex;
      right: 0;
  }
  .menu-toggle {
    display: block;
  }
}

/* --- Responsive Styles --- */
@media (max-width: 900px) {
  .hero-grid,
  .efficient-solution-container,
  .cards-grid,
  .testimonials-wrap {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .hero-image img,
  .efficient-image img {
    height: 300px;
    width: 180px;
  }

  .hero-form-card,
  .privacy-card {
    padding: 32px 16px;
    max-width: 95vw;
  }

  .feature-card {
    max-width: 95vw;
    min-width: 180px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }

  .hero-content h1,
  .efficient-text h2,
  .privacy-title {
    font-size: 1.5rem;
  }

  .hero-image img,
  .efficient-image img {
    height: 180px;
    width: 110px;
  }

  .hero-form-card,
  .privacy-card {
    padding: 18px 4px;
    font-size: 1rem;
  }

  .feature-card,
  .testimonial-card {
    padding: 18px 8px;
    font-size: 1rem;
  }

  .cards-grid,
  .testimonials-wrap {
    gap: 16px;
  }
}

/* --- Utility --- */
.muted {
  color: #607d8b;
  font-size: 1.1rem;
}
.section.privacy .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background: #222a3f;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    box-shadow: 0 4px 16px rgba(16,24,40,0.07);
  }
  .main-nav.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    margin-left: auto;
  }
  .site-header {
    position: relative;
  }
}
@media (min-width: 901px) {
  .main-nav {
    display: flex !important;
    position: static;
    background: none;
    flex-direction: row;
    box-shadow: none;
    padding: 0;
  }
  .menu-toggle {
    display: none;
  }
}

/* Mobile nav visibility fix: ensure .main-nav.active is positioned and visible on actual devices
   This forces a predictable right-side panel and white link text for small screens. */
@media (max-width: 900px) {
  .main-nav.active {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 300px !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 60px 0 24px 0 !important;
    background: #222a3f !important;
    z-index: 10001 !important;
    box-shadow: -4px 0 24px rgba(0,0,0,0.28) !important;
  }
  .main-nav .nav-link {
    color: #fff !important;
    padding: 12px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
}
/* --- Styles moved from inline <style> in index.php --- */
/* Attractive verify card section styles and animations (moved) */
.verify-section {
  background: linear-gradient(135deg, #011b44 0%, #001303 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.verify-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.08;
  pointer-events: none;
}
.hero-form-card {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 40px 0 rgba(11, 83, 198, 0.18), 0 0 0 8px rgba(11,83,198,0.08);
  padding: 40px 32px 32px 32px;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.2s cubic-bezier(.42,0,.58,1) forwards;
  z-index: 2;
  border: 2px solid #0b53c6;
  box-shadow: 0 0 32px 0 #0b53c6a0, 0 12px 40px 0 rgba(11, 83, 198, 0.18);
  transition: box-shadow 0.4s;
}
.hero-form-card:hover {
  box-shadow: 0 0 48px 0 #0b7a1b99, 0 12px 40px 0 rgba(11, 83, 198, 0.18);
  border-color: #0b7a1b;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-form-card h2 {
  font-size: 2.2rem;
  margin-bottom: 22px;
  color: #0b53c6;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #dbeafe;
}
#verify-form label {
  display: block;
  margin: 18px 0 6px 0;
  font-weight: 600;
  color: #0b53c6;
}
#verify-form select, #verify-form input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1.18rem;
  font-weight: 700;
  color: #222a3f;
  margin-bottom: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #e5e7eb;
  box-shadow: 0 2px 8px #dbeafe33;
}
#verify-form select:focus, #verify-form input[type="text"]:focus {
  border-color: #0b53c6;
  box-shadow: 0 0 0 2px #0b53c6a0;
  outline: none;
  background: #fff;
}
#verify-form .form-row {
  text-align: center;
  margin-top: 22px;
}
#verify-form .btn.primary.full {
  width: 100%;
  background: linear-gradient(90deg, #0b53c6 0%, #0b7a1b 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 14px 0;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(11, 83, 198, 0.12);
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
#verify-form .btn.primary.full:active {
  transform: scale(0.98);
}
#verify-form .btn.primary.full::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  background: rgba(11,83,198,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  z-index: 0;
}
#verify-form .btn.primary.full:active::after {
  width: 120%; height: 120%;
}
#verify-form .form-note {
  font-size: 1rem;
  color: #64748b;
  margin-top: 10px;
  margin-bottom: 0;
}
#form-message {
  margin-top: 22px;
  font-size: 1.08rem;
  font-weight: 600;
  min-height: 28px;
  transition: color 0.3s;
}
.hero-image img {
  animation: floatCard 3s ease-in-out infinite alternate;
  box-shadow: 0 8px 32px rgba(11, 83, 198, 0.18);
  height: 480px !important;
  width: 300px !important;
  max-width: 100%;
  object-fit: cover;
  border-radius: 18px;
}
.efficient-image img {
  height: 320px !important;
  width: 220px !important;
  max-width: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.privacy-image img {
  height: 340px !important;
  width: 240px !important;
  max-width: 100%;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
}
@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-18px) scale(1.04); }
}
@media (max-width: 600px) {
  html, body {
    height: 100svh;
    min-height: 100svh;
    overflow-x: hidden;
  }
  .verify-section {
    min-height: 100svh;
    height: auto;
  }
  .container {
    min-height: 100svh;
    height: auto;
  }
  .hero-form-card {
    max-width: 98vw;
    padding: 12px 2vw;
    margin: 0 1vw;
    box-sizing: border-box;
  }
  .verify-section {
    padding: 24px 0;
  }
  #verify-form select, #verify-form input[type="text"] {
    font-size: 1rem;
    padding: 10px 8px;
  }
  .hero-image img {
    height: 360px !important;
    width: 250px !important;
    max-width: 98vw;
  }
  .efficient-image img {
    height: 250px !important;
    width: 190px !important;
    max-width: 98vw;
  }
  .privacy-image img {
    height: 220px !important;
    width: 160px !important;
    max-width: 98vw;
  }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
    box-sizing: border-box;
  }
  .efficient-text {
    padding: 0 2vw;
    max-width: 98vw;
    font-size: 1rem;
  }
  .cards-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
  }
  .feature-card {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 8px;
    font-size: 1rem;
  }
  .site-header {
    padding: 8px 0;
    min-height: 48px;
    background: #041e47ff;
  }
  .header-inner {
    padding: 0 2vw;
    min-height: 48px;
    flex-direction: row;
    align-items: center;
  }
  .logo {
    font-size: 1.2rem;
    padding: 0;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    background: #041e47ff;
    position: absolute;
    top: 56px;
    left: 0;
    width: 100vw;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 12px 0;
  }
  .main-nav.active {
    display: flex;
  }
  .nav-link {
    display: block;
    padding: 12px 24px;
    color: #fff;
    text-align: left;
    font-size: 1.1rem;
    border-bottom: 1px solid #0b53c6;
  }
  .nav-link.cta {
    background: #0b7a1b;
    color: #fff;
    border-radius: 8px;
    margin: 8px 16px;
    padding: 12px 24px;
    font-weight: 700;
  }
  .menu-toggle {
    font-size: 1.5rem;
    padding: 4px 8px;
    margin-left: 8px;
  }
  .site-footer {
    padding: 12px 0;
    min-height: 40px;
    background: #031c44ff;
  }
  .footer-grid {
    padding: 0 2vw;
    min-height: 40px;
    flex-direction: column;
    align-items: center;
  }
  #contact.section.contact {
    padding: 12px 0 !important;
    min-height: 32px;
    background: #031d47ff;
  }
  #contact .container {
    padding: 8px 2vw;
    min-height: 32px;
    background: #031b42ff;
    color: #fff;
    border-radius: 10px;
  }
}
.efficient-text {
  max-width: 100%;
  word-break: break-word;
  box-sizing: border-box;
}
#popup-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(20,22,34,0.45);
  z-index: 999;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.4s;
  /* Always use flex for centering */
  display: flex;
}
#popup-modal[style*="display:none"] {
  display: none !important;
}
#popup-modal > div {
  background: #fff;
  padding: 32px 24px;
  border-radius: 18px;
  box-shadow: 0 8px 32px #0b53c6a0;
  max-width: 340px;
  text-align: center;
  position: relative;
  transform: scale(0.95);
  animation: scaleInModal 0.4s;
}
#close-popup {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #0b53c6;
  cursor: pointer;
}
#popup-message {
  display: block;
  margin-top: 24px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0b53c6;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleInModal {
  from { transform: scale(0.85); }
  to { transform: scale(1); }
}
.hero {
  position: relative;
  /* Use the illustration from the img folder as a full-bleed background. */
  /* fallback color and use percent-encoded filename to avoid issues with spaces */
  background-color: #0b53c6;
  background-image: linear-gradient(135deg, rgba(11,83,198,0.45) 0%, rgba(11,122,27,0.35) 100%), url('img/card%201.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* slightly darker overlay to dim the background image */
  background: rgba(0,0,0,0.65);
  pointer-events: none;
  z-index: 1;
}
.hero > .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-weight: 1000 !important;
  font-size: 2.8rem !important;
  letter-spacing: 1.5px;
  text-shadow: 0 4px 18px #000, 0 2px 4px #0b53c6;
}
.hero h1, .hero p, .hero .lead, .hero .hero-actions a, .hero .trust-list li {
  font-weight: 1000 !important;
  color: #fff !important;
  text-shadow: 0 2px 12px #000, 0 1px 2px #0b53c6;
}
.hero .hero-actions a {
  border-radius: 8px;
  font-size: 1.15rem;
  padding: 12px 28px;
  margin: 0 8px;
}

/* Ensure all hero writeups/text are white for legibility over the background image */
.hero .hero-content,
.hero .hero-content h1,
.hero .hero-content p,
.hero .hero-content .lead,
.hero .hero-actions a,
.hero .trust-list,
.hero .trust-list li {
  color: #fff !important;
}


/* Quick verification override for header background (temporary) */
.site-header > .container.header-inner {
  background: #032c63 !important; /* deep blue */
  color: #ffffff !important;
}

/* Fix: ensure mobile nav is above overlay and clickable on devices */
@media (max-width: 900px) {
  /* make overlay sit below the nav panel */
  .nav-overlay { z-index: 9000 !important; }

  /* ensure active nav panel is on top and accepts pointer events */
  .main-nav.active {
    z-index: 100000 !important;
    pointer-events: auto !important;
  }

  /* ensure all nav children can receive pointer events */
  .main-nav.active *, .main-nav.active .nav-link {
    pointer-events: auto !important;
  }
}

/* Temporary visual debug for target sections: briefly flash a highlight when navigated to */
.target-flash {
  animation: targetFlash 700ms ease-in-out;
}
@keyframes targetFlash {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  10% { box-shadow: 0 0 0 6px rgba(255,255,255,0.14); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Mobile nav: fixed right panel for small screens */
@media (max-width: 900px) {
  .nav-overlay { z-index: 90; }
  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 300px;
    background: #222a3f;
    z-index: 100;
    padding: 60px 0 24px 0;
    transition: right 0.3s ease;
  }
  .main-nav.active { display: flex; right: 0; }
  .main-nav .nav-link { color: #fff; padding: 12px 20px; display: block; }
}

@media (max-width: 900px) {
  /* Make sure overlay is underneath the nav panel */
  .nav-overlay { z-index: 50 !important; }

  /* Ensure the nav panel is above overlay and fully interactive */
  .main-nav, .main-nav.active {
    z-index: 1001 !important;
    pointer-events: auto !important;
  }

  /* Ensure all links inside the panel accept pointer events */
  .main-nav a, .main-nav .nav-link, .main-nav * {
    pointer-events: auto !important;
  }
}

