@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #FF6B35;
  --primary-dark: #E8491C;
  --navy: #0B1220;
  --navy-soft: #101B34;
  --gold: #FFD23F;
  --teal: #16C7B0;
  --ink: #10182B;
  --muted: #5B6478;
  --bg: #FFFFFF;
  --bg-alt: #F6F7FB;
  --card: #ffffff;
  --border: #E7E9F2;
  --radius: 18px;
  --max-width: 1180px;
  --shadow: 0 20px 44px rgba(11, 18, 32, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

h1, h2, h3, .brand-font {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

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

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  z-index: 200;
  transition: width 0.1s;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.logo img { height: 40px; width: auto; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--primary);
  transition: width 0.2s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--primary-dark);
}

nav.main-nav a:hover::after,
nav.main-nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: "Poppins", sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.32);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(255, 107, 53, 0.4); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover { transform: translateY(-3px); }

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--primary-dark); font-weight: 600; }
.breadcrumb span { margin: 0 6px; }

/* Hero (dark mesh) */
.hero {
  position: relative;
  padding: 96px 0 110px;
  background: radial-gradient(circle at 15% 20%, #17244a 0%, transparent 45%),
              radial-gradient(circle at 85% 10%, #1c3a52 0%, transparent 40%),
              radial-gradient(circle at 60% 90%, #2a1a4a 0%, transparent 45%),
              var(--navy);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 22px;
  font-weight: 800;
}

.hero h1 .accent-text {
  background: linear-gradient(90deg, var(--gold), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: #C6CBE0;
  margin: 0 0 32px;
  max-width: 520px;
}

.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 20px;
}

.trust-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: #A8AFCB;
  font-size: 13px;
  font-weight: 600;
}
.trust-row span { display: flex; align-items: center; gap: 8px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 210, 63, 0.14);
  color: var(--gold);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow.light { background: #FFF1E8; color: var(--primary-dark); }

/* Marquee */
.marquee-wrap {
  background: var(--bg-alt);
  padding: 22px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #C6CAD9;
  font-size: 20px;
  letter-spacing: 0.02em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
section { padding: 80px 0; }

section.alt { background: var(--bg-alt); }

section.dark {
  background: var(--navy);
  color: #fff;
}
section.dark .section-head p { color: #A8AFCB; }
section.dark .muted-on-dark { color: #A8AFCB; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-head h2 { font-size: 34px; margin: 0 0 14px; font-weight: 800; }
.section-head p { color: var(--muted); margin: 0; font-size: 16.5px; }

.grid {
  display: grid;
  gap: 28px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  margin-bottom: 20px;
}

.card h3 { margin: 0 0 10px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.card-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}
.card-dark p { color: #A8AFCB; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats .num { font-size: 38px; font-weight: 800; font-family: "Poppins", sans-serif; background: linear-gradient(90deg, var(--gold), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats .label { color: var(--muted); font-size: 14px; font-weight: 600; }
section.dark .stats .label { color: #A8AFCB; }

/* Timeline / Process */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.timeline .step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.timeline .step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.timeline .step h3 { font-size: 17px; margin: 0 0 8px; }
.timeline .step p { color: var(--muted); font-size: 14px; margin: 0; }

/* Testimonials */
.testimonial-slider {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  min-height: 200px;
}
.testimonial-slide {
  display: none;
  text-align: center;
  animation: fadeIn 0.5s ease;
}
.testimonial-slide.active { display: block; }
.testimonial-slide p.quote {
  font-size: 21px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  margin: 0 0 22px;
}
section.dark .testimonial-slide p.quote { color: #fff; }
.testimonial-slide .author { font-weight: 700; color: var(--primary-dark); }
.testimonial-slide .role { font-size: 13px; color: var(--muted); }
section.dark .testimonial-slide .role { color: #A8AFCB; }
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.testimonial-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}
.testimonial-dots button.active { background: var(--primary); width: 24px; border-radius: 6px; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Team */
.team-card { text-align: center; }
.team-card .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 30px;
  font-family: "Poppins", sans-serif;
}
.team-card h3 { margin: 0 0 4px; }
.team-card .role { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.team-card .bio { font-size: 14px; color: var(--muted); }

/* Blog */
.post-card { overflow: hidden; padding: 0; }
.post-card .post-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.post-card .post-body { padding: 26px; }
.post-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.post-card .meta { font-size: 13px; color: var(--muted); margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item .faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}
.faq-item h3 { margin: 0; font-size: 17px; }
.faq-item .faq-toggle {
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-item .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-item p { margin: 14px 0 0; color: var(--muted); }

/* Forms (contact) */
.form-grid {
  display: grid;
  gap: 18px;
}
label { font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block; }
input, textarea, select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
}
textarea { resize: vertical; min-height: 140px; }
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

/* Legal pages */
.legal-content h2 { margin-top: 40px; font-size: 22px; }
.legal-content h3 { margin-top: 26px; font-size: 18px; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content { max-width: 800px; margin: 0 auto; }
.updated-note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* CTA band */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--navy), #1c2b52);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,107,53,0.35), transparent 70%);
  top: -100px;
  right: -60px;
}
.cta-band h2 { font-size: 32px; margin: 0 0 14px; position: relative; }
.cta-band p { opacity: 0.85; margin: 0 0 30px; position: relative; }
.cta-band .btn { position: relative; }

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 90;
}
#back-to-top.show { display: flex; }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: #A8AFCB;
  padding: 64px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 44px;
}
.footer-grid h4 { color: #fff; font-size: 15px; margin: 0 0 16px; font-family: "Poppins", sans-serif; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 11px; font-size: 14px; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo { color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 14px; font-family: "Poppins", sans-serif; }
.footer-tagline { font-size: 14px; max-width: 300px; }

/* Breadcrumb / page header */
.page-header {
  padding: 64px 0 16px;
  text-align: center;
  background: var(--bg-alt);
}
.page-header h1 { font-size: 40px; margin: 0 0 14px; font-weight: 800; }
.page-header p { color: var(--muted); max-width: 620px; margin: 0 auto; }

.tag-pill {
  display: inline-block;
  background: #FFF1E8;
  color: var(--primary-dark);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 6px 6px 0;
}

@media (max-width: 860px) {
  .hero .container, .split { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .grid-2, .timeline { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
  nav.main-nav.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 60;
  }
  nav.main-nav.open ul { flex-direction: column; gap: 16px; }
  .hero h1 { font-size: 34px; }
}
