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

:root {
  /* Core palette — light & vibrant */
  --bg:       #FFFFFF;
  --bg2:      #F4F7FF;
  --bg3:      #EBF0FF;

  /* Brand colours */
  --blue:     #1B2A6B;
  --blue2:    #141F52;
  --blue-lt:  #EAECF5;
  --teal:     #00BFA6;
  --teal-lt:  #E6FAF7;
  --orange:   #FF6B2B;
  --orange-lt:#FFF0EA;
  --purple:   #7C3AED;
  --purple-lt:#F3EEFF;

  /* Text */
  --text:     #0D1117;
  --text2:    #3D4A63;
  --muted:    #6B7A99;
  --white:    #FFFFFF;

  /* UI */
  --card-bg:  #FFFFFF;
  --border:   #E2E8F4;
  --border2:  rgba(27,42,107,0.2);
  --radius:   14px;
  --shadow:   0 2px 12px rgba(13,17,55,0.08);
  --shadow-lg:0 12px 40px rgba(13,17,55,0.13);

  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(13,17,55,0.09);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  height: 100%;
}

/* Logo fills the full bar height — 72px total, text inside logo becomes readable */
.nav-logo img {
  height: 68px;
  width: auto;
  object-fit: contain;
}
.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text2);
  transition: all 0.18s;
}

.nav-links a:hover { color: var(--blue); background: var(--blue-lt); }
.nav-links a.active { color: var(--blue); background: var(--blue-lt); font-weight: 600; }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
}
.nav-cta:hover { background: var(--blue2) !important; box-shadow: 0 4px 16px rgba(27,42,107,0.3); transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== SHARED SECTION STYLES ===== */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
}

.section-title em {
  font-style: normal;
  color: var(--blue);
}

.section-title .teal   { color: var(--teal); }
.section-title .orange { color: var(--orange); }

.section-sub {
  font-size: 17px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 580px;
  line-height: 1.65;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.22s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(27,42,107,0.25);
}
.btn-primary:hover {
  background: var(--blue2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,42,107,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue-lt);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,191,166,0.3);
}
.btn-teal:hover {
  background: #00A894;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,191,166,0.4);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255,107,43,0.3);
}
.btn-orange:hover {
  background: #E55A20;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,43,0.4);
}

/* keep old aliases working */
.btn-amber { background: var(--orange); color: var(--white); box-shadow: 0 4px 14px rgba(255,107,43,0.25); }
.btn-amber:hover { background: #E55A20; transform: translateY(-2px); }

/* ===== CARDS ===== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  opacity: 0;
  transition: opacity 0.25s;
}

.card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { opacity: 1; }

/* ===== SERVICE ICON ===== */
.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.icon-cyan,
.icon-blue    { background: var(--blue-lt);   color: var(--blue); }
.icon-amber,
.icon-orange  { background: var(--orange-lt); color: var(--orange); }
.icon-emerald,
.icon-teal    { background: var(--teal-lt);   color: var(--teal); }
.icon-purple  { background: var(--purple-lt); color: var(--purple); }

/* ===== GRID HELPERS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== DIVIDER ===== */
.divider {
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 2px;
  margin: 18px 0;
}

/* ===== PILL TAG ===== */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tag-cyan,
.tag-blue    { background: var(--blue-lt);   color: var(--blue);   border: 1px solid rgba(27,42,107,0.2); }
.tag-amber,
.tag-orange  { background: var(--orange-lt); color: var(--orange); border: 1px solid rgba(255,107,43,0.2); }
.tag-emerald,
.tag-teal    { background: var(--teal-lt);   color: var(--teal);   border: 1px solid rgba(0,191,166,0.2); }

/* ===== FOOTER ===== */
footer {
  background: var(--text);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.45);
  margin-top: 14px;
  font-size: 14px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-brand .nav-logo { color: #fff; }
.footer-brand .nav-logo span { color: #8A9FE8; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 14px; transition: color 0.18s; }
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero .blob1,
.page-hero .blob2 { display: none; } /* no blobs on light bg */

/* Decorative dot grid on page heroes */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(27,42,107,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.breadcrumb a { color: var(--blue); transition: opacity 0.18s; }
.breadcrumb a:hover { opacity: 0.7; }

/* ===== SECTION ALTERNATING BG ===== */
.alt-bg { background: var(--bg2); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-up { animation: fadeUp 0.65s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===== BLOB (repurposed as subtle background shape on dark sections) ===== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
}
.blob-cyan, .blob-blue   { background: var(--blue); }
.blob-amber              { background: var(--orange); }
.blob-emerald            { background: var(--teal); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(13,17,55,0.1);
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
