
/* ---- Variables ---- */
:root {
  --color-primary: #01396e;
  --color-accent: #f48020;
  --color-green: #12c48b;
  --color-blue: #254868;
  --color-dark: #15325e;
  --color-bg: #f6faff;
  --color-white: #fff;
  --color-gradient1: #e6f0ff;
  --color-gradient2: #b5dbfd;
  --color-orange: #fd9300;
  --color-blur: rgba(247,250,255,0.7);
  --radius: 1.25rem;
  --btn-radius: 10px;
  --shadow: 0 6px 24px 0 rgba(32,43,63,0.18);
  --transition: all 0.22s cubic-bezier(0.47,0.14,0.51,0.86);
  --spacing: 1.2rem;
  --spacing-sm: 0.6rem;
  --spacing-md: 0.9rem;
  --spacing-lg: 1.8rem;
  --spacing-xl: 2.4rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --section-padding: 64px 0;
  --z-fixed: 1000;
}

/* ---- Base ---- */
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-dark);
  min-height: 100vh;
  position: relative;
}
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid var(--color-accent); outline-offset: 2px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Nunito', 'Inter', Arial, sans-serif; margin: 0; }
h1 { font-size: 2.6rem; font-weight: 800; letter-spacing:-2px; line-height: 1.12; margin-bottom: var(--spacing); }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: var(--spacing); }
h3 { font-size:1.15rem; font-weight:700; margin-bottom: var(--spacing); }
p { margin: 0 0 var(--spacing) 0; line-height: 1.6; }

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 var(--spacing);
  width: 100%;
}

.text-gradient { background: linear-gradient(90deg, #2ac1fc 11%, #0a3c89 88%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Universal Section Styling */
section {
  padding: var(--section-padding);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ============== NAVBAR =============== */
.header-spacer { height:80px;}
.navbar {
  position: fixed; top:0; left:0; width:100%; z-index:99999;
  background: var(--color-blur);
  box-shadow: 0 3px 14px rgba(27,57,110,0.03);
  transition: all 0.24s cubic-bezier(.61,.22,.64,.22);
  backdrop-filter: blur(10px);
}
.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: var(--spacing);
}
.logo {
  width: 140px;
  height: auto;
}
ul.nav-menu {
  list-style: none;
  display: flex;
  gap: var(--spacing);
  margin: 0;
  padding: 0;
  font-size: 1.08rem;
}
ul.nav-menu li {
  display: inline-block;
}
ul.nav-menu .nav-link {
  color: var(--color-dark);
  font-weight: 600;
  padding: 11px 8px;
  border-radius: 6px;
}
ul.nav-menu .nav-link:hover,
ul.nav-menu .nav-link:focus {
  background: var(--color-accent);
  color: var(--color-white);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--spacing);
}
.btn {
  padding:0.65em 1.55em; border-radius: var(--btn-radius); cursor:pointer; font-weight:700; text-align:center; border:none; transition: var(--transition); font-size: 0.99rem;
  display: inline-block;
}
.btn-outline { background:transparent; border:2px solid var(--color-accent); color:var(--color-accent);}
.btn-outline:hover,.btn-outline:focus { background:var(--color-accent); color:var(--color-white);}
.btn-dark { background:var(--color-dark); color:var(--color-white);}
.btn-dark:hover,.btn-dark:focus { background:var(--color-accent); color:var(--color-white);}
.btn-accent { background:var(--color-accent); color:var(--color-white);}
.btn-accent:hover,.btn-accent:focus { background:var(--color-orange);}
.btn-green { background:var(--color-green); color:var(--color-white);}
.btn-green:hover { background:#0ea172;}
.btn-orange { background:var(--color-orange); color:var(--color-white);}
.btn-orange:hover,.btn-orange:focus { background:var(--color-accent);}
.hamburger {
  display:none; background:none; border:none; outline:none; padding:9px 8px; cursor:pointer; border-radius:8px; position: relative; z-index: 1000001;
}
.hamburger:focus { background:var(--color-gradient2);}
.hamburger:active { transform: scale(0.95);}
.bar {
  display:block; width:26px; height:3px; margin:5px 0; background:var(--color-dark); border-radius:3px; transition:0.3s;
}

/* Mobile menu backdrop overlay */
.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-backdrop.active {
  display: block;
  opacity: 1;
}

/* Hide mobile CTA on desktop */
.mobile-menu-cta {
  display: none;
}

/* ========== HERO SECTION ========== */
.hero { position:relative; display:flex; align-items:center; justify-content:center; min-height:560px; background:linear-gradient(186deg, var(--color-gradient1) 64%, var(--color-gradient2) 100%); overflow:hidden;}
.hero-content { display:flex;align-items:center;justify-content:space-between;min-height:440px;}
.hero-text { max-width:540px;z-index:2;}
.hero-text h1 {margin-bottom:0.55rem;}
.hero-text h2 {margin-top:-0.8rem;margin-bottom:0.7rem;font-size:1.21rem;font-weight:600;color:var(--color-blue);}
.hero-text p {
  font-size: 1rem;
  margin-bottom: var(--spacing);
}
.hero-promo {
  color: var(--color-green);
  font-weight: 700;
  margin-bottom: var(--spacing);
}
.hero-referral {
  margin-bottom: var(--spacing);
  color: var(--color-dark);
  font-size: 0.97em;
}
.referral-form {
  display: flex;
  gap: var(--spacing);
  margin-bottom: var(--spacing);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.referral-form input[type="text"] {
  font-size: 1rem;
  padding: 0.65em 1.15em;
  border: 2px solid var(--color-blue);
  border-radius: var(--btn-radius);
  min-width: 200px;
  background: #fff;
  color: var(--color-dark);
  font-weight: 500;
  text-align: center;
}
.referral-form .btn {
  min-width: 150px;
  padding: 0.65em 1.55em;
}
.form-message {
  font-size: 0.97em;
  color: var(--color-accent);
  margin-left: var(--spacing);
}
.no-referral {
  margin-top: 0;
  font-size: 0.96rem;
  display: flex;
  align-items: center;
  gap: var(--spacing);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-bg-shape { position:absolute; left:0; top:0; width:99vw; height:180px; pointer-events:none; z-index:0; }

/* Subtle grid background for hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0; 
  pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 60, 137, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 60, 137, 0.06) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px;
  background-position: center center;
  opacity: 0.28;
}

/* ===== BFSI SECTION REFINEMENTS ===== */
.section-bfsi { position: relative; overflow: hidden; padding: 86px 0 72px; background: linear-gradient(135deg, #0e244f 0%, #0f3653 100%); }
.section-bfsi .container { position: relative; z-index: 2; }
.bfsi-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bfsi-shape { position: absolute; }
.bfsi-shape.one { left: -60px; top: 10px; animation: bfsiBlob 14s ease-in-out infinite alternate; }
.bfsi-shape.two { right: -30px; top: 40%; transform: translateY(-50%); animation: ringSlow 18s linear infinite; }
.bfsi-shape.three { left: 50%; bottom: -8px; transform: translateX(-50%); animation: dashWave 10s ease-in-out infinite; }
@keyframes bfsiBlob { from { transform: rotate(-4deg) scale(1); } to { transform: rotate(6deg) scale(1.06);} }
@keyframes ringSlow { from { transform: translateY(-50%) rotate(0deg);} to { transform: translateY(-50%) rotate(360deg);} }
@keyframes dashWave { 0% { stroke-dashoffset: 0;} 60% { stroke-dashoffset: 180;} 100% { stroke-dashoffset: 0;} }

.category-flex { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.category-info .subtitle { font-size: 1.24rem; color: #d9f3ff; }
.category-info .desc { color: #cfe8ff; line-height: 1.7; margin-bottom: 1.6rem; }

.bfsi-cards { display: grid; grid-template-columns: repeat(3, minmax(160px,1fr)); gap: 18px; align-items: stretch; }
.bfsi-card { display:flex; flex-direction:column; align-items:center; justify-content:center; padding: 26px 18px; border-radius: 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 8px 24px rgba(0,0,0,.12); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.bfsi-card i { font-size: 2.1rem; margin-bottom: 8px; color: #91d9ff; }
.bfsi-card span { font-weight: 800; letter-spacing: .2px; }
.bfsi-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.12); box-shadow: 0 16px 44px rgba(0,0,0,.18); }
.bfsi-card, .bfsi-card span { color: #ffffff; }

@media (max-width: 980px) {
  .category-flex { grid-template-columns: 1fr; gap: 28px; }
  .bfsi-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .section-bfsi { padding: 64px 0 56px; }
  .bfsi-cards { grid-template-columns: 1fr; gap: 12px; }
}

.section-features { position: relative; overflow: hidden; padding: 52px 0 40px; }
.section-features .section-title { margin-bottom: 1.4rem; text-align: center; }
.section-features::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(10,60,137,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(10,60,137,0.05) 1px, transparent 1px); background-size: 26px 26px, 26px 26px; background-position: center; opacity: .35; }

.features-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.feat-shape { position: absolute; }
.fs-blob { left: -40px; top: 50%; transform: translateY(-50%); animation: floatY 8s ease-in-out infinite alternate; }
.fs-ring { right: -20px; top: 50%; transform: translateY(-50%); animation: spinSlow 20s linear infinite; }
.features-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.feature-card { background:#fff; border-radius: var(--radius); padding: 1.2em 1em; box-shadow: var(--shadow); display:flex; flex-direction: column; gap:0; transition: var(--transition), box-shadow .25s; min-height: 240px; }
.feature-card .card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.feature-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.25; font-weight: 700; flex: 1; }
.feature-card p { margin: 0; font-size: .90rem; color: #536376;  }
.feature-card:hover { box-shadow: 0 16px 44px rgba(21,86,175,.16); transform: translateY(-3px); }
.feature-card i {
  color: #0a3c89;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(10,60,137,0.18);
  width: 48px; height: 48px; min-width:48px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 22px rgba(10,60,137,.12);
  font-size: 1.3rem;
}

@media (max-width: 1100px) { .features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; gap: 12px; } .feature-card { min-height: 200px; padding: 1.1em 0.9em; } .feature-card i { width: 44px; height: 44px; min-width:44px; font-size: 1.2rem; } }

/* ================ TEST IMAGE SLIDER (Testing) ================ */
.section-testimonials { background:var(--color-dark); color:#fff; padding: 64px 0 48px; }
.section-testimonials .section-title { color: #37d0ff; text-align: center; margin-left: auto; margin-right: auto; }

.slider { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 880px; margin: 22px auto 0; }
.slider-viewport { overflow: hidden; width: 100%; border-radius: 16px; box-shadow: 0 16px 44px rgba(10,60,137,.28); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.slider-track { display: flex; transition: transform 0.4s ease; }
.slide { min-width: 100%; height: 360px; background: #0e244f; display: flex; align-items: center; justify-content: center; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.slider-arrow { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(8px); }
.slider-arrow:hover { background: rgba(71,203,255,0.3); border-color: #47cbff; transform: scale(1.08); }
.slider-arrow i { font-size: 1.1rem; }
.slider-arrow:focus { outline: 2px solid #47cbff; outline-offset: 2px; }

@media (max-width: 700px) {
  .slider { gap: 8px; }
  .slider-arrow { width: 40px; height: 40px; }
  .slide { height: 260px; }
}

/* =============== JOIN SECTION ============== */
.section-join {
  background: linear-gradient(93deg, var(--color-gradient2) 28%, #fff 98%);
  padding: var(--section-padding);
}
.join-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3xl);
  flex-wrap: wrap;
  text-align: center;
  width: 100%;
}
.section-join h2 {
  margin-bottom: var(--spacing-md);
}
.section-join .btn {
  min-width: 160px;
}
.section-join p {
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .join-flex {
    justify-content: space-between;
    text-align: left;
  }
  .section-join p {
    margin: 0;
  }
}

/* ===== FOOTER REFINEMENT ===== */
.footer { background: #0e244f; color:#fff; padding: 48px 0 0; }
.footer-flex { display: grid; grid-template-columns: 220px 1fr 1fr 1.6fr; gap: 22px; align-items: start; }
.footer-col { min-width: 180px; }
.footer-logo img { width:140px; height:auto; }
.footer-links h4 {font-size:1.06rem;font-weight:800;color:#c6f4ff;margin:0 0 10px;}
.footer-links a {display:block; color:#f0fbff; margin:6px 0; opacity:.92; transition:opacity .2s, transform .15s;}
.footer-links a:hover,.footer-links a:focus{ opacity:1; transform: translateX(2px); }
.footer-subscribe h4 { font-size:1.02rem;margin:0 0 10px; }
.subscribe-form {display:flex;gap:10px; align-items:center;}
.subscribe-form input[type="email"] { padding:.65em 1em; border-radius: var(--btn-radius); border:none; font-size:.98em; min-width: 220px; width: 100%; }
.subscribe-form .btn { border-radius: var(--btn-radius); white-space: nowrap; }
.footer-bottom { display:flex; justify-content:center; align-items:center; background:#0c1f42; border-top:1px solid #3ea2bf24; padding:10px 16px; color:#eafeff; font-size:.90em; margin-top:12px; text-align: center; }
.footer-bottom > div { padding: 0; }

@media (max-width: 980px) {
  .footer-flex { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-flex { grid-template-columns: 1fr; gap: 16px; }
  .subscribe-form { flex-direction: column; align-items: stretch; }
  .subscribe-form .btn { width: 100%; }
  .footer-bottom { padding: 10px 16px; }
}

.footer a:focus, .footer .btn:focus { outline: none !important; box-shadow: none !important; }

/* ============ SCROLL ANIMATIONS ============= */
[data-anim] { opacity:0; transform: translateY(24px); transition: opacity 0.7s, transform 0.56s cubic-bezier(.52,.18,.09,.81);}
[data-anim].revealed { opacity:1; transform: none; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

@media (max-width:900px) {
  .nav-cta .btn {
    display: none;
  }
  .hamburger {
    display: block;
  }
  ul.nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    box-shadow: -4px 0 20px rgba(10,46,100,0.15);
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    align-items: stretch;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid var(--color-accent);
    overflow-y: auto;
    z-index: 100000;
  }
  ul.nav-menu.open {
    right: 0;
  }
  ul.nav-menu li {
    display: block;
    width: 100%;
  }
  ul.nav-menu .nav-link {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 1.05rem;
  }
  ul.nav-menu .nav-link:hover,
  ul.nav-menu .nav-link:focus {
    background: var(--color-gradient1);
    color: var(--color-primary);
    transform: translateX(5px);
  }
  .hero-content {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
    text-align: center;
  }
  /* Mobile menu CTA buttons */
  .mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 2px solid var(--color-gradient1);
  }
  .mobile-menu-cta .btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
  }
}

@media (max-width:600px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  .hero {
    min-height: 520px;
  }
  .navbar {
    padding: 0.5rem 0;
  }
  .logo {
    width: 100px;
  }
  ul.nav-menu {
    width: 260px;
    top: 65px;
    padding: 1.5rem 1rem;
  }
  section {
    padding: var(--spacing) 0;
  }
}

.hamburger.open .bar:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.open .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}
@media (max-width:450px) {
  .logo {
    width: 85px;
  }
  ul.nav-menu {
    width: 240px;
  }
  .testimonial {
    padding: var(--spacing-lg);
  }
  .testimonial-img {
    width: 42px;
    height: 42px;
  }
}

.hero-text-only {
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  position: relative;
  min-height: 540px;
}
.hero-text.center {
  margin: 0 auto;
  text-align: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 10;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 var(--spacing-xl) 0 var(--spacing-xl);
  max-width: 850px;
}
.hero-text.center h1 {
  margin-top: 0.9em;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -2.3px;
  line-height: 1.2;
  color: var(--color-dark);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 0.77, 0.56, 1.01) both;
}

/* Hero Animated Icons */
.hero-icons {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) auto;
  flex-wrap: wrap;
  max-width: 500px;
}
.hero-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(181,219,253,0.7) 100%);
  box-shadow: 0 8px 24px rgba(1, 57, 110, 0.15);
  transition: all 0.3s cubic-bezier(0.47, 0.14, 0.51, 0.86);
  animation: iconFadeIn 0.6s cubic-bezier(0.16, 0.77, 0.56, 1.01) both;
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.hero-icon i {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #0a3c89 0%, #47cbff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-icon:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 16px 48px rgba(1, 57, 110, 0.25);
}

/* Icon-specific colors and animations */
.hero-icon.icon-1 { animation-delay: 0.2s; }
.hero-icon.icon-1 i { background: linear-gradient(135deg, #f48020 0%, #fd9300 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-icon.icon-2 { animation-delay: 0.4s; }
.hero-icon.icon-2 i { background: linear-gradient(135deg, #12c48b 0%, #0ea172 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-icon.icon-3 { animation-delay: 0.6s; }
.hero-icon.icon-3 i { background: linear-gradient(135deg, #47cbff 0%, #0a3c89 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-icon.icon-4 { animation-delay: 0.8s; }
.hero-icon.icon-4 i { background: linear-gradient(135deg, #fd9300 0%, #f48020 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-icon.icon-5 { animation-delay: 1.0s; }
.hero-icon.icon-5 i { background: linear-gradient(135deg, #254868 0%, #15325e 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-icon.icon-6 { animation-delay: 1.2s; }
.hero-icon.icon-6 i { background: linear-gradient(135deg, #0a3c89 0%, #12c48b 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

@keyframes iconFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

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

/* Hero Description Paragraph */
.hero-description {
  text-align: center;
  color: var(--color-dark);
  font-size: 1.18rem;
  line-height: 1.7;
  margin: var(--spacing) auto var(--spacing-xl) auto;
  max-width: 680px;
  animation: fadeInUp 1s cubic-bezier(0.16, 0.77, 0.56, 1.01) 0.3s both;
  font-weight: 400;
}
.hero-description strong {
  font-weight: 700;
  color: #0d2b57;
}

.hero-promo {
  color: var(--color-green);
  font-weight: 700;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing);
  font-size: 1.18rem;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 0.77, 0.56, 1.01) 0.5s both;
}
.hero-referral {
  margin-bottom: var(--spacing);
  color: var(--color-dark);
  font-size: 1.03em;
  animation: fadeInUp 1.4s cubic-bezier(0.16, 0.77, 0.56, 1.01) 0.7s both;
}
.referral-form {
  justify-content: center;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 1.6s cubic-bezier(0.16, 0.77, 0.56, 1.01) 0.9s both;
}

/* New: below-hero separate referral block */
.get-referral-section {
  padding: var(--spacing) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.get-referral-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 12px;
  animation: fadeUp 0.9s cubic-bezier(.16,.77,.56,1.01) both;
}
.get-referral-text {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: left;
  flex: 1 1 auto;
}
.get-referral-btn {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.get-referral-btn .btn {
  min-width: 220px;
  font-size: 1.07rem;
  padding: 0.72em 1.75em;
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(36px); }
  80% { opacity: 0.8; }
  100% { opacity: 1; transform: none; }
}
@media (max-width: 700px) {
  .get-referral-block { flex-direction: column; gap: .6rem; }
  .get-referral-text { text-align: center; }
  .get-referral-btn { width: 100%; justify-content: center; }
  .get-referral-btn .btn { min-width: unset; width: 100%; max-width: 320px; }
}

@media (max-width: 650px) {
  .hero-text.center {
    padding: 0 var(--spacing-md);
    max-width: 100%;
  }
  .hero-text.center h1 {
    font-size: 2rem;
    letter-spacing: -1px;
    line-height: 1.2;
  }
  .hero-description {
  text-align: center;
    font-size: 1.02rem;
    line-height: 1.6;
    margin: var(--spacing-md) auto var(--spacing-lg) auto;
  }
  .hero-icons {
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) auto;
    max-width: 100%;
  }
  .hero-icon {
    width: 55px;
    height: 55px;
  }
  .hero-icon i {
    font-size: 1.4rem;
  }
  .hero-promo {
    font-size: 1.05rem;
    margin-top: var(--spacing-lg);
  }
  .hero-referral {
    font-size: 0.95rem;
  }
}

/* Typography enhancements for hero */
.hero-text.center h1, .hero-text.center h2 { font-family: 'Poppins', Arial, sans-serif; }
.hero-text.center h1 { font-weight: 900; font-size: 3.2rem; letter-spacing: -2.5px; line-height: 1.11; color: var(--color-dark); margin-bottom: 0.38em; }
.hero-text.center h2 { font-weight: 700; font-size: 1.44rem; color: var(--color-blue); margin: 1.14rem 0 0.66rem 0; }
.hero-description, .hero-promo, .hero-referral, .referral-form input, .referral-form button { font-family: 'DM Sans', Arial, sans-serif; }
.hero-description {
  text-align: center; font-size: 1.17rem; font-weight: 500; margin: 0.8em auto 1.5em; line-height: 1.7; color: var(--color-dark); }
.hero-description strong { font-weight: 700; color: #0d2b57; }
.hero-promo { font-size: 1.18rem; color: var(--color-green); font-weight: 700; margin: 1.6em 0 0.3em; }
.hero-referral { color: var(--color-dark); font-size: 1.03em; margin-bottom: 1.1em; }

.hero-elements {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 1.2rem auto 0 auto;
}
.hero-element {
  background: #fff;
  color: #0a3c89;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(70,159,200,0.10);
  padding: 0.7em 1.35em;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.1px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6em;
  transition: box-shadow 0.2s;
}
.hero-element i {
  color: #12c48b;
  font-size: 1.2em;
}
.hero-element:hover {
  box-shadow: 0 9px 34px rgba(10, 60, 137, 0.14);
  background: #e6f8ff;
  color: #0a3c89;
}

@media (max-width: 540px) {
  .hero-elements {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    padding: 0 10px;
  }
  .hero-element {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 0.65em 1em;
    font-size: 0.98rem;
  }
  .referral-form input[type="text"],
  .referral-form .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* Modern animated SVG shapes around hero */
.hero-anim-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }

.hero-shape-blobb {
  position: absolute;
  top: 0; left: -90px; z-index: 1; width: 200px; min-width: 130px;
  animation: bgBlobRotate 16s ease-in-out infinite alternate;
}
@keyframes bgBlobRotate {
  0% { transform: rotate(-5deg) scale(1); }
  50% { transform: rotate(7deg) scale(1.04); }
  100% { transform: rotate(-4deg) scale(1.06); }
}

.hero-shape-ring {
  position: absolute;
  right: 4vw; top: 80px; z-index: 1;
  min-width: 90px;
  animation: ringPulse 12s ease-in-out infinite alternate, ringRotate 20s linear infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.92); }
  75% { transform: scale(1.12); }
  100% { transform: scale(0.92); }
}
@keyframes ringRotate {
  from { } to { transform: rotate(356deg) scale(1); }
}
.hero-shape-badge {
  position: absolute; right: -18px; top: 0; z-index: 1;
  animation: badgeBob 9s ease-in-out infinite alternate;
}
@keyframes badgeBob {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(15px) rotate(8deg); }
}
.hero-shape-glow {
  position: absolute; left: 50%; top: 48px; min-width:280px;
  transform: translateX(-50%);
  z-index: 0;
  opacity: 0.88;
  animation: glowOpacity 14s ease-in-out infinite alternate;
  width: 68vw; max-width: 540px;
}
@keyframes glowOpacity {
  0% { opacity: 0.13; }
  65% { opacity: 0.18; }
  100% { opacity: 0.12; }
}
.hero-shape-dashwave {
  position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%);
  z-index: 2;
}

.hero-shape-glow, .hero-shape-ring, .hero-shape-blobb, .hero-shape-badge, .hero-shape-dashwave {
  pointer-events: none; user-select: none;
}
@media (max-width: 950px) {
  .hero-shape-glow { width: 97vw; max-width: 700px; }
  .hero-shape-ring { min-width: 62px; }
  .hero-shape-blobb { left: -60px; width: 130px; }
}
@media (max-width: 700px) {
  .hero-shape-glow { width: 94vw; top: 27px; }
  .hero-shape-ring { right: 1vw; top: 40px; min-width:44px; }
  .hero-shape-blobb { left: -30px; top: 7px; width: 78px; }
  .hero-shape-badge { display: none; }
}
@media (max-width: 490px) {
  .hero-shape-blobb,.hero-shape-ring,.hero-shape-badge { display:none; }
  .hero-shape-glow { width: 94vw; min-width: 130px; top: 19px; opacity:0.15; }
  .hero-shape-dashwave { display: none; }
}
.hero-text.center, .referral-form { position: relative; z-index: 9; }

/* Decorative elements near hero heading (left side) */
.hero-title-decor {
  position: absolute;
  left: -44px; 
  top: 6px;
  display: flex; gap: 8px; align-items: center;
  z-index: 9; pointer-events: none;
}
.hero-text.center { position: relative; }
.td { filter: drop-shadow(0 2px 6px rgba(10,60,137,.12)); }
.td-dot { animation: tdFloat 4.5s ease-in-out infinite alternate; }
.td-diamond { animation: tdTilt 6s ease-in-out infinite alternate; }
.td-bar { animation: tdRise 5.6s ease-in-out infinite alternate; }
@keyframes tdFloat { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@keyframes tdTilt { from { transform: rotate(0deg); } to { transform: rotate(18deg); } }
@keyframes tdRise { from { transform: translateY(0) scale(1); } to { transform: translateY(-4px) scale(1.05); } }
@media (max-width: 720px) {
  .hero-title-decor { left: -22px; top: 0; }
}
@media (max-width: 520px) {
  .hero-title-decor { display: none; }
}




/* ===== JOIN SECTION ENHANCED ===== */
.section-join { position: relative; background: linear-gradient(93deg,var(--color-gradient2) 28%,#fff 98%); padding: 72px 0; overflow: hidden; }
.join-decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.join-shape { position: absolute; }
.join-shape.js-a { left: -40px; top: -30px; animation: ringSlow 22s linear infinite; }
.join-shape.js-b { right: -30px; bottom: 10px; animation: dashWave 18s ease-in-out infinite; }
.join-shape.js-c { left: 40%; top: -10px; animation: tdRise 8s ease-in-out infinite alternate; }

.join-card { position: relative; z-index: 1; }
.join-flex { background:#fff; border-radius: 18px; border-left: 6px solid #0a3c89; display:flex; align-items:center; justify-content:space-between; gap: 28px; padding: 34px 32px; margin: 0 auto; box-shadow: 0 24px 80px rgba(10,60,137,.12); }
.join-copy h2 { margin: 0 0 10px; }
.join-copy p { margin: 0; max-width: 720px; color: #4a5b70; }

@media (max-width: 820px){ .join-flex { flex-direction: column; align-items: flex-start; } .join-flex .btn { align-self: flex-start; } }
@media (max-width: 520px){ .join-flex { padding: 22px 18px; } }

/* Global validation message style */
.form-message { color: #e53935 !important; font-weight: 600; }

/* ===== ABOUT PAGE ===== */
.about-hero { position: relative; min-height: 420px; background: linear-gradient(186deg, var(--color-gradient1) 64%, var(--color-gradient2) 100%); display:flex; align-items:stretch; overflow:hidden; }
/* grid overlay similar to main hero */
.about-hero::before { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; background-image: linear-gradient(rgba(10, 60, 137, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 60, 137, 0.06) 1px, transparent 1px); background-size:28px 28px, 28px 28px; background-position:center center; opacity:.28; }
.about-hero-overlay { position:relative; z-index:1; background: transparent; width:100%; display:flex; align-items:center; }
.about-hero-inner { text-align:center; color:#0d2b57; padding: 64px 20px; }
.about-hero-inner h1 { font-family: 'Poppins', Arial, sans-serif; font-size: 2.8rem; font-weight: 800; margin: 0 0 10px; color: var(--color-dark); }
.about-hero-inner p { max-width: 980px; margin: 0 auto; font-size: 1.12rem; line-height: 1.7; color:#334a68; }

.about-intro { position: relative; background: #f6f9ff; padding: 40px 0 80px; }
.about-intro .container { position: relative; }
.about-intro-card { background:#fff; border-radius: 16px; padding: 28px 26px; max-width: 1180px; margin: 24px auto 0; box-shadow: 0 24px 80px rgba(10,60,137,.12); border-left: 6px solid #0a3c89; }
.about-intro-card h2 { font-size: 2.2rem; color: #0d2b57; margin: 0 0 12px; }
.about-intro-card p { color:#465a73; font-size: 1.06rem; margin: 0; }

@media (max-width: 720px){
  .about-hero { min-height: 360px; }
  .about-hero-inner h1 { font-size: 2rem; }
  .about-intro-card { margin-top: 18px; padding: 22px 18px; }
  .about-intro-card h2 { font-size: 1.6rem; }
}

/* ===== ABOUT FEATURE GRID ===== */
.about-feature-grid { background: linear-gradient(135deg, #f6faff 0%, #e8f2ff 100%); padding: 72px 0; overflow: hidden; }
.afg-wrap { display:grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.afg-left h2 { font-size: 2.8rem; color:#0d2b57; line-height:1.15; margin:0 0 18px; font-weight: 800; }
.afg-left p { color:#465a73; font-size:1.08rem; line-height:1.75; margin:0 0 28px; max-width: 580px; }
.afg-right { display:grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.afg-card { position: relative; background:#fff; border: 1px solid rgba(71,203,255,0.15); border-radius: 18px; padding: 28px 24px; box-shadow: 0 8px 28px rgba(10,60,137,.08); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; }
.afg-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #47cbff 0%, #0a3c89 100%); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.afg-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 50px rgba(10,60,137,.2); border-color: rgba(71,203,255,0.4); }
.afg-card:hover::before { transform: scaleX(1); }
.afg-right:hover .afg-card:not(:hover) { opacity: 0.6; transform: scale(0.98); }
.afg-card h3 { margin: 0 0 10px; color:#0d2b57; font-size: 1.18rem; font-weight: 700; transition: color 0.3s ease; }
.afg-card:hover h3 { color: #0a3c89; }
.afg-card p { margin: 0; color:#536376; line-height:1.65; font-size: .96rem; }
.afg-icon { width:60px; height:60px; border:none; border-radius: 14px; display:flex; align-items:center; justify-content:center; color:#fff; background: linear-gradient(135deg, #47cbff 0%, #0a3c89 100%); margin-bottom: 16px; font-size: 1.6rem; box-shadow: 0 8px 24px rgba(10,60,137,.25); transition: all 0.4s ease; }
.afg-card:hover .afg-icon { transform: scale(1.1) rotate(5deg); box-shadow: 0 12px 32px rgba(10,60,137,.35); }

@media (max-width: 980px){
  .afg-wrap { grid-template-columns: 1fr; gap: 32px; }
  .afg-left h2 { font-size: 2.2rem; }
  .afg-left { text-align: center; }
  .afg-left p { margin-left: auto; margin-right: auto; }
  .afg-right:hover .afg-card:not(:hover) { opacity: 1; transform: none; }
}
@media (max-width: 620px){
  .afg-right { grid-template-columns: 1fr; gap: 18px; }
  .afg-card { padding: 24px 20px; }
  .about-feature-grid { padding: 56px 0; }
  .afg-icon { width: 54px; height: 54px; font-size: 1.4rem; }
}

/* ===== ABOUT TEAM SECTION ===== */
.about-team { background: #f7f9fc; padding: 64px 0 84px; overflow: hidden; }
.team-title { text-align: center; font-size: 2.4rem; color:#151d2e; margin:0 0 8px; }
.team-sub { text-align:center; color:#5a6a82; max-width: 840px; margin: 0 auto 32px; font-size:1.02rem; }
.team-grid { display:grid; grid-template-columns: repeat(2, minmax(220px,1fr)); gap: 16px; justify-items: center; align-items: stretch; }
.team-card { background:#fff; border-radius: 12px; padding: 20px 18px 24px; box-shadow: 0 24px 70px rgba(10,60,137,.12); width: 100%; max-width: 320px; text-align: center; }
.team-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 6px solid #fff; box-shadow: 0 4px 18px rgba(0,0,0,.12); margin: 6px auto 12px; display:block;  object-position: center top; }
.team-name { margin: 6px 0 6px; color:#0d2b57; font-size:1.2rem; }
.team-role { margin: 0; color:#5a6a82; font-size: 0.95rem; }

@media (max-width: 820px){ .team-grid { grid-template-columns: 1fr; gap: 14px; } .team-photo { width: 140px; height: 140px; } .team-card { max-width: 280px; } }

/* Global hero spacing adjustments */
.hero { margin-bottom: 0; padding-bottom: 24px; }
.hero + section { margin-top: 0 !important; }

/* About hero spacing */
.about-hero { margin-bottom: 0; }
.about-hero + .about-intro { padding-top: 24px; }

.hero-text.center h1 { margin-bottom: 8px; }
.hero-text.center p.hero-description {
  text-align: center; margin-top: 8px; }

/* Generic keyframes */
@keyframes floatY { 0%{transform:translateY(0)} 100%{transform:translateY(-14px)} }
@keyframes spinSlow { from{transform:rotate(0)} to{transform:rotate(360deg)} }
@keyframes pulseSoft { 0%{transform:scale(1); opacity:.12} 50%{transform:scale(1.08); opacity:.2} 100%{transform:scale(1); opacity:.12} }

/* About hero subtle shapes */
.about-hero::after {
  content:""; position:absolute; left:-60px; top:18px; width:180px; height:140px; z-index:0;
  background: radial-gradient( circle at 40% 40%, #47cbff26 0, #47cbff1f 40%, transparent 70% );
  border-radius: 28px; filter: blur(0.3px);
  animation: floatY 6.5s ease-in-out infinite alternate;
}
.about-hero .about-hero-overlay::after {
  content:""; position:absolute; right:-40px; top:40%; width:120px; height:120px; z-index:0; pointer-events:none;
  border: 4px solid #0a3c8922; border-radius:50%;
  animation: spinSlow 22s linear infinite;
}

/* About intro card section shapes */
.about-intro::before, .about-intro::after { content:""; position:absolute; pointer-events:none; z-index:0; }
.about-intro::before { left:6%; top:12px; width:120px; height:120px; border:3px solid #47cbff29; border-radius:50%; animation: spinSlow 28s linear infinite; }
.about-intro::after { right:4%; bottom:-10px; width:220px; height:40px; border-radius:16px; background: linear-gradient(90deg,#0a3c8918,#47cbff19); animation: floatY 8s ease-in-out infinite alternate; }

/* Feature grid background accents */
.about-feature-grid{ position:relative; }
.about-feature-grid::before, .about-feature-grid::after { content:""; position:absolute; pointer-events:none; z-index:0; }
.about-feature-grid::before { left:-50px; top:24px; width:180px; height:140px; border-radius:28px; background: radial-gradient(circle at 30% 30%, #47cbff1a 0, transparent 70%); animation: floatY 7s ease-in-out infinite alternate; }
.about-feature-grid::after { right:-30px; bottom:24px; width:120px; height:120px; border:4px solid #0a3c891c; border-radius:50%; animation: spinSlow 24s linear infinite; }

.about-team{ position:relative; }
.about-team::before, .about-team::after { content:""; position:absolute; pointer-events:none; z-index:0; }
.about-team::before { left:10%; top:18px; width:140px; height:140px; border:4px solid #47cbff22; border-radius:50%; animation: spinSlow 26s linear infinite; }
.about-team::after { right:8%; bottom:18px; width:180px; height:36px; background: linear-gradient(90deg,#0a3c8914,#47cbff14); border-radius:14px; animation: pulseSoft 9s ease-in-out infinite; }

.about-intro .container, .about-feature-grid .container, .about-team .container, .about-hero-overlay { position: relative; z-index: 1; }


/* ===== CONTACT PAGE  ===== */
.contact-hero { background:#f3f8ff; padding:72px 0 22px; text-align:left; }
.contact-title { font-size:2.4rem; color:#0d2b57; margin:0 0 6px; }
.contact-sub { color:#5a6a82; margin:6px 0 0; max-width: 860px; }
.contact-section { position:relative; background:#f3f8ff; padding: 24px 0 80px; overflow-x: hidden; }

.contact-wrap { position:relative; z-index:1; display:grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 28px; align-items: start; background:#ffffff; border:1px solid #e2eefc; border-radius: 22px; padding: 26px; }
@media (max-width: 980px){
  .contact-wrap {
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-help {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 600px){
  .contact-help {
    grid-template-columns: 1fr;
  }
  .contact-form-container {
    padding: 0 8px;
  }
}
.help-icon { width:72px; height:72px; border-radius:16px; background:#fff; display:flex; align-items:center; justify-content:center; color:#0d2b57; box-shadow:none; font-size: 28px; }
.contact-help { display:flex; flex-direction:column; gap:24px; }
.help-item { display:flex; align-items:center; gap:18px; padding:12px 8px; border-radius:12px; }
.help-item:hover { background:#eef6ff; transition: background .2s ease; }
.help-item h4 { margin:0 0 4px; color:#0d2b57; }
.help-item p { margin:0; color:#5a6a82; }
/* ===== CONTACT FORM ===== */

* {
  box-sizing: border-box;
}

.contact-form-container {
  max-width: 550px;
  margin: 40px auto;
  padding: 0 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0d2b57;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  color: #0d2b57;
  background: #f7faff;
  border: 2px solid #e0eaf7;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9aa8ba;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #47cbff;
  box-shadow: 0 0 0 4px rgba(71, 203, 255, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.submit-btn {
  display: block;
  margin: 0 auto;
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #fd9300;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

@media (max-width: 700px) {
  .contact-form {
    gap: 14px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .contact-form-container {
    width: 100%;
    padding: 0 8px;
  }
  .submit-btn {
    width: 100%;
    max-width: 340px;
  }
}


