/* ===== BASE RESET & VARIABLES ===== */
:root {
  --primary: #1a5276;
  --primary-light: #2980b9;
  --accent: #2e86c1;
  --bg: #f8f9fa;
  --bg-alt: #eef2f5;
  --text: #2c3e50;
  --text-light: #5d6d7e;
  --white: #ffffff;
  --border: #d5dbdf;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 8px;
  --max-width: 1140px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }

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

/* ===== HEADER / NAV ===== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.logo-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-links { display: flex; gap: 1.75rem; list-style: none; }

.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s;
}

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: .3s;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem 4rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -.5px;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 3vw, 1.5rem) !important;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .85 !important;
  margin-bottom: 1.5rem !important;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  opacity: .92;
  line-height: 1.8;
}

/* ===== LARGE CTA BUTTONS ===== */
.cta-section {
  max-width: var(--max-width);
  margin: -2rem auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

.cta-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  border: 2px solid transparent;
}

.cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  border-color: var(--accent);
  color: var(--text);
}

.cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-card h2 {
  font-size: 1.35rem;
  color: var(--primary);
}

.cta-card p {
  color: var(--text-light);
  font-size: .95rem;
}

.cta-btn {
  display: inline-block;
  margin-top: auto;
  padding: .7rem 2rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s;
}

.cta-card:hover .cta-btn { background: var(--primary); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

.page-hero p {
  margin-top: .75rem;
  opacity: .9;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CONTENT SECTIONS ===== */
.content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  flex: 1;
}

.content h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

.content h2:first-child { margin-top: 0; }

.content p { margin-bottom: 1rem; color: var(--text-light); }

.content ul, .content ol {
  margin: .5rem 0 1.5rem 1.5rem;
  color: var(--text-light);
}

.content li { margin-bottom: .5rem; }

/* Info cards grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}

.info-card h3 {
  color: var(--primary);
  margin-bottom: .5rem;
  font-size: 1.1rem;
}

.info-card p { color: var(--text-light); font-size: .93rem; margin: 0; }

/* Steps / process timeline */
.steps { counter-reset: step; margin: 2rem 0; }

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.step-num {
  counter-increment: step;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-content h3 {
  color: var(--primary);
  margin-bottom: .35rem;
}

.step-content p { color: var(--text-light); margin: 0; font-size: .95rem; }

/* Contact CTA box */
.contact-cta {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin: 2rem 0;
  border-left: 4px solid var(--accent);
}

.contact-cta p { margin-bottom: .75rem; }

.contact-cta .cta-btn {
  display: inline-block;
  margin-top: .5rem;
  padding: .7rem 2rem;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s;
  text-decoration: none;
}

.contact-cta .cta-btn:hover { background: var(--primary); color: var(--white); }

/* ===== FEATURES BAR (homepage) ===== */
.features {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.features h2 {
  text-align: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto .75rem;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: .4rem; }
.feature p { font-size: .9rem; color: var(--text-light); }

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: rgba(255,255,255,.85);
  margin-top: auto;
}

.footer-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand p { font-size: .9rem; margin-top: .5rem; line-height: 1.6; max-width: 340px; }

.footer-links h4,
.footer-nav h4 {
  color: var(--white);
  font-size: .95rem;
  margin-bottom: .75rem;
}

.footer-links ul,
.footer-nav ul { list-style: none; }

.footer-links a,
.footer-nav a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  display: inline-block;
  padding: .2rem 0;
  transition: color .2s;
}

.footer-links a:hover,
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hamburger { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    gap: 0;
  }

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

  .nav-links li { padding: .6rem 0; }

  .cta-section { grid-template-columns: 1fr; margin-top: -1.5rem; }

  .features-grid { grid-template-columns: 1fr; }

  .footer-wrap { grid-template-columns: 1fr; gap: 1.5rem; }

  .step { flex-direction: column; gap: .75rem; }
}

@media (max-width: 480px) {
  .hero { padding: 3.5rem 1rem 3rem; }
  .cta-card { padding: 1.75rem 1.25rem; }
}
