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

:root {
  --navy: #0d1b3e;
  --navy-mid: #1b3a7a;
  --blue: #4f8ef7;
  --blue-light: #7db3ff;
  --white: #ffffff;
  --gray-50: #f8faff;
  --gray-100: #eef2fb;
  --gray-400: #94a3b8;
  --gray-600: #64748b;
  --gray-800: #1e293b;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(13,27,62,.08);
  --shadow-md: 0 8px 40px rgba(13,27,62,.14);
  --shadow-lg: 0 20px 60px rgba(13,27,62,.2);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ─── UTILITY ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 50%, var(--navy-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(79,142,247,.1);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 580px;
  margin-bottom: 56px;
}
.hidden { display: none !important; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-mid) 100%);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(79,142,247,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(79,142,247,.45); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

/* ─── NAV ─── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
#navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(13,27,62,.08);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { display: block; filter: brightness(0) invert(1); transition: filter .3s; }
#navbar.scrolled .nav-logo img { filter: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 100px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
#navbar.scrolled .nav-links a { color: var(--gray-600); }
#navbar.scrolled .nav-links a:hover { color: var(--navy); background: var(--gray-100); }
.btn-nav {
  background: linear-gradient(135deg, var(--blue), var(--navy-mid)) !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(79,142,247,.3);
}
.btn-nav:hover { box-shadow: 0 4px 20px rgba(79,142,247,.45) !important; background: rgba(255,255,255,.1) !important; }
#navbar.scrolled .btn-nav { color: #fff !important; }
/* ─── LANG DROPDOWN ─── */
.lang-dropdown { position: relative; }
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.lang-trigger .flag { font-size: 1rem; line-height: 1; }
.lang-trigger svg { width: 11px; height: 11px; transition: transform .25s; flex-shrink: 0; }
.lang-dropdown.open .lang-trigger svg { transform: rotate(180deg); }
.lang-trigger:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
#navbar.scrolled .lang-trigger {
  color: var(--gray-800);
  background: var(--gray-100);
  border-color: rgba(13,27,62,.1);
}
#navbar.scrolled .lang-trigger:hover { background: var(--gray-200); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(13,27,62,.16);
  border: 1px solid rgba(13,27,62,.07);
  list-style: none;
  padding: 6px;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}
.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 12px !important;
  border-radius: 9px !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
  color: var(--gray-600) !important;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  transition: background .15s, color .15s !important;
  letter-spacing: 0 !important;
}
.lang-menu li a .flag { font-size: 1.15rem; line-height: 1; }
.lang-menu li a:hover { background: var(--gray-100) !important; color: var(--navy) !important; }
.lang-menu li a.lang-active {
  background: rgba(79,142,247,.1) !important;
  color: var(--blue) !important;
  font-weight: 700 !important;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background .3s;
}
#navbar.scrolled .burger span { background: var(--navy); }

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(79,142,247,.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(27,58,122,.6) 0%, transparent 50%),
    linear-gradient(160deg, #0d1b3e 0%, #0a1628 100%);
}
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(79,142,247,.4);
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(0) scale(1); opacity: .6; }
  50% { transform: translateY(-60px) scale(1.1); opacity: .3; }
  100% { transform: translateY(0) scale(1); opacity: .6; }
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-light);
  border: 1px solid rgba(79,142,247,.3);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  background: rgba(79,142,247,.08);
}
.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(79,142,247,.6), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .4; transform: scaleY(.6); }
}

/* ─── SERVICES ─── */
#services {
  padding: 100px 0;
  background: var(--gray-50);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13,27,62,.05);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--navy-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}
.card-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  font-size: .95rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.65;
}
.card-list {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.card-list li {
  font-size: .875rem;
  color: var(--gray-600);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.card-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: gap .2s;
  display: inline-flex;
  gap: 4px;
  margin-top: auto;
}
.card-link:hover { gap: 8px; }

/* ─── STATS ─── */
#stats {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-item { padding: 24px; }
.stat-num {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-suffix { font-size: 2rem; font-weight: 800; color: var(--blue-light); }
.stat-label {
  display: block;
  margin-top: 6px;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

/* ─── ABOUT ─── */
#about { padding: 100px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.about-blob {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  background: linear-gradient(135deg, rgba(79,142,247,.12), rgba(27,58,122,.08));
  animation: blobMorph 8s ease-in-out infinite;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  50% { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
}
.about-card-main {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid rgba(13,27,62,.06);
  z-index: 1;
}
.about-card-main img { height: 48px; margin-bottom: 16px; }
.about-card-main p { font-size: .95rem; color: var(--gray-600); line-height: 1.6; }
.about-badge-float {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: badgeBob 3s ease-in-out infinite;
}
.about-badge-float.top-right { top: 20px; right: -20px; animation-delay: 0s; }
.about-badge-float.bottom-left { bottom: 20px; left: -20px; animation-delay: 1.5s; }
@keyframes badgeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.about-values { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy-mid));
  margin-top: 5px;
  flex-shrink: 0;
}
.value-item strong { display: block; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.value-item span { font-size: .9rem; color: var(--gray-600); }
.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ─── WHY ─── */
#why { padding: 100px 0; background: var(--gray-50); }
#why .section-title { margin-bottom: 52px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.why-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(13,27,62,.05);
  transition: transform .3s;
}
.why-item:hover { transform: translateY(-4px); }
.why-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(79,142,247,.15);
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.why-item h4 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.why-item p { font-size: .9rem; color: var(--gray-600); line-height: 1.65; }

/* ─── CONTACT ─── */
#contact { padding: 100px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.contact-info .section-title { margin-bottom: 16px; }
.contact-info > p { color: var(--gray-600); margin-bottom: 32px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--gray-600);
}
.contact-form {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(13,27,62,.06);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--gray-800); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(13,27,62,.1);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  color: var(--gray-800);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,142,247,.15);
}
.form-success {
  padding: 14px 20px;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: var(--radius-sm);
  color: #15803d;
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}
.footer-brand img { margin-bottom: 16px; display: block; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .9rem; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col strong { color: #fff; font-size: .875rem; font-weight: 600; margin-bottom: 4px; }
.footer-col a { color: rgba(255,255,255,.5); font-size: .875rem; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 24px;
  text-align: center;
  font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--blue-light); }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { min-height: 280px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(13,27,62,.97);
    backdrop-filter: blur(16px);
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .nav-links.open a { color: rgba(255,255,255,.85) !important; }
  .burger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .contact-form { padding: 24px; }
  .about-badge-float.top-right { right: 0; }
  .about-badge-float.bottom-left { left: 0; }
}
