:root {
  --primary: #1268df;
  --primary-dark: #0752bb;
  --navy: #071c3c;
  --text: #17223c;
  --muted: #68758b;
  --soft: #f4f9ff;
  --border: #e5edf7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: #fff;
}
.site-header {
  position: relative;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #edf2f8;
  backdrop-filter: blur(12px);
}
.brand-logo { width: 170px; height: auto; object-fit: contain; }
.nav-link {
  position: relative;
  color: #26334b !important;
  font-size: 14px;
  font-weight: 600;
  padding: 18px 9px !important;
}
.nav-link.active, .nav-link:hover { color: var(--primary) !important; }
.nav-link.active::after {
  position: absolute;
  right: 9px;
  bottom: 5px;
  left: 9px;
  height: 2px;
  content: "";
  background: var(--primary);
  border-radius: 2px;
}
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(18, 104, 223, .15);
  font-size: 13px;
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.header-btn { padding-top: 9px; padding-bottom: 9px; font-size: 12px; }

.hero-section {
  position: relative;
  overflow: hidden;
  background: #f1f5fe url(../assets/hero-office.jpg) 78% center / cover no-repeat;
  background-size: contain;
  background-position: right;
}
.hero-section::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
     background: linear-gradient(90deg, #f1f5fe 0%, #f1f5fecf 44%, rgb(255 255 255 / 43%) 53%, rgba(0, 0, 0, .12) 65%, rgb(0 0 0 / 49%) 100%);
}
.hero-section .container { position: relative; z-index: 1; }
.hero-row { min-height: 270px; }
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 42px 12px 42px 0;
}
.eyebrow {
  color: #1b69d6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.eyebrow b { color: #8aa4c5; margin: 0 3px; }
h1 {
  margin: 10px 0 14px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -1.8px;
  font-weight: 800;
}
h1 span { color: #1268df; }
h2 {
  margin: 8px 0 14px;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.8px;
}
.hero-copy p {
  max-width: 455px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.section-text {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.hero-visual {
  position: relative;
  display: flex;
  min-height: 270px;
  align-items: stretch;
}
.hero-note {
  position: absolute;
  top: 36px;
  right: 90px;
  padding: 8px 10px;
  color: #27344b;
  background: rgba(255, 255, 255, .72);
  border-radius: 8px;
  font-family: "Comic Sans MS", cursive;
  font-size: 13px;
  line-height: 1.25;
  transform: rotate(-4deg);
}
.hero-note span {
  display: block;
  width: 55px;
  height: 12px;
  border-bottom: 2px solid #1268df;
  transform: skew(-25deg) rotate(-5deg);
}
.hero-points {
  position: absolute;
  top: 24px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-points > div { display: flex; align-items: center; gap: 9px; }
.hero-points i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--primary);
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(20, 60, 110, .1);
  font-size: 15px;
}
.hero-points span { min-width: 74px; font-size: 10px; line-height: 1.2; }
.hero-points b, .hero-points small { display: block; }
.hero-points small { color: #5d6980; font-size: 9px; }

.section-space { padding: 40px 0; }
.about-section { background: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 140px);
  gap: 14px 24px;
  margin-top: 24px;
}
.stat-box { text-align: center; }
.stat-box i { display: block; margin-bottom: 5px; color: var(--primary); font-size: 21px; }
.stat-box strong { display: block; font-size: 20px; }
.stat-box small { display: block; color: #718096; font-size: 10px; }
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-radius: 3px;
}
.image-caption {
  position: absolute;
  top: 20px;
  right: 12px;
  display: flex;
  flex-direction: column;
  color: #25324b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.services-section {
  background: linear-gradient(180deg, #f6fbff, #fff);
  border-top: 1px solid #f1f5fa;
}
.view-all { color: var(--primary); font-size: 13px; font-weight: 700; text-decoration: none; }
.service-card {
  height: 100%;
  min-height: 190px;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(34, 76, 125, .035);
  transition: .2s ease;
}
.service-card:hover { box-shadow: 0 14px 28px rgba(34, 76, 125, .09); transform: translateY(-4px); }
.service-icon {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 10px;
  font-size: 19px;
}
.service-icon.purple { color: #6271dc; background: #eef1ff; }
.service-icon.green { color: #28a58c; background: #e8fbf7; }
.service-icon.violet { color: #7960d8; background: #f0edff; }
.service-icon.yellow { color: #d69c12; background: #fff5d7; }
.service-card h5 { margin: 0 0 10px; font-size: 15px; font-weight: 800; }
.service-card p { margin: 0; color: #748198; font-size: 12px; line-height: 1.6; }

.mini-section { padding: 0 0 42px; }
.mini-card {
  height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.mini-card i { color: var(--primary); font-size: 27px; }
.mini-card h5 { margin: 11px 0 7px; font-size: 16px; font-weight: 800; }
.mini-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.cta-section { padding: 0 0 42px; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 40px;
  color: #fff;
  background: linear-gradient(100deg, #0b57bf, #1978ed);
  border-radius: 15px;
}
.cta-copy { flex: 1; }
.cta-inner .eyebrow { color: #d9eaff; }
.cta-inner h2 { margin: 6px 0 8px; font-size: 32px; }
.cta-inner p { margin: 0; color: #d9eaff; font-size: 14px; }
.contact-details {
  display: grid;
  flex: 0 1 520px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}
.contact-item, .contact-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.contact-item i, .contact-address i {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #d9eaff;
  background: rgba(255, 255, 255, .12);
  border-radius: 8px;
  font-size: 14px;
}
.contact-details small {
  display: block;
  color: #d9eaff;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.contact-details strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.contact-item:hover strong { text-decoration: underline; }
.contact-address { grid-column: 1 / -1; }

.footer { padding: 20px 0 14px; color: #cbd7e8; background: #071d3d; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 105px;  }
.footer-brand span { color: #b9c7da; font-size: 11px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-links a { color: #fff; font-size: 11px; text-decoration: none; }
.footer hr { margin: 18px 0 10px; border-color: rgba(255, 255, 255, .1); }
.footer-bottom { color: #91a4bd; font-size: 10px; }

@media (max-width: 991.98px) {
  .hero-row { min-height: 0; }
  .hero-copy { padding: 35px 15px; }
  .hero-visual { min-height: 300px; }
  .hero-points { right: 18px; }
  .hero-note { right: 125px; }
  .navbar-nav { padding: 12px 0; }
}

@media (max-width: 575.98px) {
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .hero-section { background-position: 72% center; }
  .hero-section::before { background: linear-gradient(180deg, rgba(255, 255, 255, .99) 0%, rgba(255, 255, 255, .96) 58%, rgba(0, 0, 0, .12) 76%, rgba(0, 0, 0, .48) 100%); }
  .hero-row { min-height: 0; }
  .hero-copy { padding: 30px 8px; }
  .hero-visual { min-height: 245px; }
  .hero-points { display: none; }
  .hero-note { top: 25px; right: 25px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cta-inner { display: block; padding: 25px 20px; }
  .contact-details { grid-template-columns: 1fr; margin-top: 20px; }
  .contact-address { grid-column: auto; }
  .footer-links { justify-content: flex-start; }
}

.legal-section { padding: 55px 0 70px; background: #fff; }
.legal-content { max-width: 900px; }
.legal-updated { margin-bottom: 28px; color: var(--primary); font-size: 14px; font-weight: 700; }
.legal-content h2 { margin-top: 32px; font-size: 26px; }
.legal-content h3 { margin-top: 24px; font-size: 19px; color: var(--text); }
.legal-content p,
.legal-content li { color: var(--muted); font-size: 16px; line-height: 1.8; }
.legal-content ul { padding-left: 24px; }
.legal-content a { color: var(--primary); }
.legal-contact { margin-top: 30px; padding: 22px 24px; background: var(--soft); border: 1px solid var(--border); border-radius: 10px; }
.legal-contact p { margin-bottom: 6px; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
