/* =========================================================
   Brand tokens & global reset
   ========================================================= */
:root {
  --aquamarine: #23D7F1;
  --blue:       #0174CF;
  --gray:       #E5E9F0;
  --dark:       #000;
  --white:      #FFF;
  --gradient:   linear-gradient(135deg, var(--aquamarine) 0%, var(--blue) 100%);

  /* Local/system fonts – no external requests */
  --font-body:    system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: var(--font-body);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font: 400 1rem/1.6 var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

/* --- new: Skip‑link visibility --- */
.skip-link{
  position:absolute;
  top:-40px;
  left:0;
  background:#fff;
  color:#000;
  padding:.5rem 1rem;
  z-index:10000;
  transition:top .2s;
}
.skip-link:focus{top:0}

/* =========================================================
   Accessibility helper
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  background: var(--gradient);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(1, 116, 207, 0.3);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(1, 116, 207, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  padding: 0.75rem 2rem;
  border: 2px solid var(--blue);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* =========================================================
   CTA Banner overrides
   ========================================================= */
.cta-banner .btn {
  background: var(--white);
  color: var(--blue);
  box-shadow: none;
}
.cta-banner .btn:hover {
  background: #F0F4F8;
}

/* =========================================================
   Navigation
   ========================================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}
.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-img {
  height: 36px;
  width: auto;
}
.links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.link:hover {
  color: var(--blue);
}
.toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.bar,
.bar::before,
.bar::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}
.bar::before {
  transform: translateY(-7px);
}
.bar::after {
  transform: translateY(5px);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.05;
  z-index: -2;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600' fill='none'><g stroke='%230174CF' stroke-width='2' stroke-opacity='0.07'><path d='M200 450h300l60 60H140l60-60Z'/><path d='M260 330h180l60 60H200l60-60Z'/><path d='M320 210h120l60 60H260l60-60Z'/><path d='M380 90h60l60 60H320l60-60Z'/></g></svg>") right -10% center/60% auto no-repeat;
  z-index: -1;
}
.hero-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 {
  font: 700 clamp(2.5rem, 5vw, 4rem) / 1.2 var(--font-heading);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: 1.25rem;
  color: #4A4A4A;
  margin-bottom: 2rem;
}
.cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Floating stats card */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}
.visual {
  animation: float 6s ease-in-out infinite;
}
.card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--gradient);
  border-radius: 20px;
  opacity: 0.5;
  z-index: -1;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
  justify-items: center;
  margin-top: 1.5rem;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.num {
  font: 700 2.5rem/1 var(--font-heading);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.label {
  color: #4A4A4A;
  font-size: 0.9rem;
  text-align: center;
}

/* ===== Sub‑page hero size ===== */
.hero--subpage {
  /* Shrink overall block height */
  min-height: 35vh;           /* was likely ≥60vh */
  padding: 7rem 0 4.5rem;       /* tighten top & bottom space */
}

.hero--subpage .hero-wrap {
  /* Make the inner grid hug contents a bit more */
  max-width: 64rem;           /* keep it centered & readable */
  padding: 0 2rem;            /* align with main sections */
}

.hero--subpage h1 {
  margin: 0 0 1rem;           /* kill extra whitespace */
}

.hero--subpage p.lead {
  margin-bottom: 1rem;        /* bring subtitle closer */
}

/* Optional: scale down decorative pattern so it feels lighter */
.hero--subpage .hero-pattern {
  transform: scale(0.75);
  opacity: 0.15;
}

/* ===== Mobile tweaks ===== */
@media (max-width: 768px) {
  .hero--subpage {
    min-height: auto;         /* natural height on phones */
    padding: 5.5rem 0 3.5rem;
  }
}

/* =========================================================
   Benefits
   ========================================================= */
.benefits {
  padding: 5rem 2rem;
  background: #FAFBFC;
}
.section {
  max-width: 1200px;
  margin: 0 auto;
}
.section h2 {
  font: 700 clamp(2rem, 4vw, 3rem) / 1.2 var(--font-heading);
  margin-bottom: 1rem;
  text-align: center;
}
.section p.lead {
  text-align: center;
  font-size: 1.25rem;
  color: #4A4A4A;
  max-width: 600px;
  margin: 0 auto 4rem;
}

/* Grid utility for card layouts */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Card-benefit */
.card-benefit {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}
.card-benefit::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.3s;
}
.card-benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.card-benefit:hover::before {
  transform: scaleX(1);
}
.icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
}
.card-benefit h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* =========================================================
   Features section
   ========================================================= */
.features {
  padding: 5rem 2rem;
  background: #FFF;
}
.features h2 {
  font: 700 clamp(2rem, 4vw, 3rem) / 1.2 var(--font-heading);
  margin-bottom: 3rem;
  text-align: center;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}
.feature-card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.feature-shot {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}
.feature-content {
  padding: 2rem;
}
.feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: #4A4A4A;
}
.feature-content li {
  margin-bottom: 0.5rem;
}

/* =========================================================
   CTA Banner
   ========================================================= */
.cta-banner {
  padding: 5rem 2rem;
  background: var(--gradient);
  color: var(--white);
  text-align: center;
}
.cta-banner h2 {
  font: 700 clamp(2rem, 4vw, 3rem) / 1.2 var(--font-heading);
  margin-bottom: 1rem;
}
.cta-banner p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* =========================================================
   FAQ Section
   ========================================================= */
.faqs {
  padding: 5rem 2rem;
  background: #fff;
}
.faqs h2 {
  font: 700 clamp(2rem, 4vw, 3rem) / 1.2 var(--font-heading);
  margin-bottom: 2rem;
  text-align: center;
}
details {
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  background: #F9FAFB;
}
details[open] {
  background: #F1F5F9;
}
summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
details p {
  margin-top: 0.75rem;
}

/* =========================================================
   Footer
   ========================================================= */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 2rem 1rem;
}
.foot-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.foot-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}
footer .link{
  color:var(--white);
}
footer .link:hover{
  color:var(--aquamarine);
}

/* =========================================================
   Modal
   ========================================================= */
@keyframes scaleIn {
  0%   { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 2000;
}
.modal.open {
  opacity: 1;
  visibility: visible;
}
.modal-dialog {
  background: var(--white);
  border-radius: 15px;
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: scaleIn 0.3s ease;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}
.modal h2 {
  font: 700 1.75rem/1.2 var(--font-heading);
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--blue);
}
.form-success {
  color: var(--blue);
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}
.modal .btn {
  width: 100%;
}

/* =========================================================
   Responsive & reduced‑motion
   ========================================================= */
@media (max-width: 768px) {
  .toggle {
    display: block;
  }
  .links {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: var(--white);
    width: 240px;
    height: calc(100vh - 70px);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
  }
  .links.open {
    right: 0;
  }
  .hero-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .visual {
    order: -1;
    margin-bottom: 2rem;
  }
  .feature-card {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
/* Center floating stats card on mobile */
@media (max-width: 768px) {
  .visual{
    display:flex;          /* take up full line */
    justify-content:center;/* horizontally center its contents */
  }

  /* let flaoting stats card expand up to 90 % of viewport */
  .visual .card-small{
    width:90%;             /* keeps margin‑auto centering */
    max-width:320px;       /* preserves cap */
    margin:0 auto;
  }
}

/* =========================================================
   Utility classes extracted from inline styles
   ========================================================= */
.card-small {
  max-width: 320px;
}
.text-center {
  text-align: center;
}
.bg-light {
  background: #FAFBFC;
}
.lead-lg {
  max-width: 700px;
  margin-bottom: 2.5rem;
}
.footer-heading {
  margin-bottom: 0.5rem;
}
.footer-section .link {
  display: block;
  margin-bottom: 0.25rem;
}
.badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}
.badge {
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
