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

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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-deeper: #1e3a8a;
  --text: #111827;
  --text-muted: #6b7280;
  --bg-light: #f8fafc;
  --border: #e5e7eb;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.transparent { background: transparent; }

.nav.solid {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Name logo has a white background — hide it on the dark transparent nav */
.logo-name {
  height: 36px;
  width: auto;
  display: none;
  flex-shrink: 0;
}

.nav.solid .logo-name { display: block; }

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

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

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

.nav.solid .nav-links a { color: var(--text); }
.nav.solid .nav-links a:hover { color: var(--blue); }
.nav.solid .nav-links a.active { color: var(--blue); }

.nav-links .btn-nav {
  background: var(--blue);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 7px;
  transition: background 0.2s !important;
}
.nav-links .btn-nav:hover { background: var(--blue-dark) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  transition: background 0.3s;
  border-radius: 2px;
}

.nav.solid .nav-hamburger span { background: var(--text); }

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 999;
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  display: block;
  padding: 13px 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  border-radius: 8px;
  transition: background 0.15s;
}

.mobile-menu a:hover,
.mobile-menu a.active { background: var(--bg-light); color: var(--blue); }

.mobile-menu .btn-primary { text-align: center; margin-top: 8px; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-outline-dark { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #0f1f4a 55%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 50%, rgba(37,99,235,0.22) 0%, transparent 60%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.35);
  color: #93c5fd;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  max-width: 720px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 span { color: #60a5fa; }

.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 56px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  font-weight: 500;
}

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #0f1f4a 55%, #0a0a0a 100%);
  padding: 148px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(37,99,235,0.18) 0%, transparent 55%);
}

.page-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.page-hero .hero-badge { margin-bottom: 20px; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.page-hero p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

/* ── Layout ── */
.section { padding: 96px 24px; }
.section-light { background: var(--white); }
.section-grey { background: var(--bg-light); }
.section-dark { background: var(--black); color: var(--white); }

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

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 56px;
}

.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(255,255,255,0.55); }

/* ── Service Cards (home) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.service-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  border-color: rgba(37,99,235,0.2);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(37,99,235,0.08);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}

.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  margin-top: 18px;
  transition: gap 0.2s;
}

.card-link:hover { gap: 10px; }

/* ── Service Detail (services page) ── */
.services-detail { display: grid; gap: 20px; }

.service-detail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 36px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-detail:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  border-color: rgba(37,99,235,0.18);
}

.service-detail-icon {
  width: 64px;
  height: 64px;
  background: rgba(37,99,235,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.service-detail-icon svg { width: 30px; height: 30px; }

.service-detail h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.service-detail p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.9375rem;
}

/* ── About Split ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
  font-size: 0.9375rem;
}

.about-content p:last-of-type { margin-bottom: 32px; }

.about-visual {
  background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 100%);
  border-radius: 20px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 75%, rgba(255,255,255,0.1) 0%, transparent 55%);
}

.about-visual-text { text-align: center; color: var(--white); z-index: 1; }

.about-visual-text .big-number {
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.about-visual-text p {
  font-size: 1.0625rem;
  opacity: 0.75;
  margin-top: 10px;
}

/* ── Values ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-item {
  text-align: center;
  padding: 36px 28px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  transition: box-shadow 0.2s;
}

.value-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(37,99,235,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--blue);
}

.value-icon svg { width: 26px; height: 26px; }

.value-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }

.value-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, #0f1f4a 0%, #1d4ed8 100%);
  padding: 96px 24px;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Contact (email-only layout) ── */
.contact-email-block {
  text-align: center;
  padding: 64px 24px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  margin-bottom: 24px;
}

.contact-email-icon {
  width: 64px;
  height: 64px;
  background: rgba(37,99,235,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--blue);
}

.contact-email-icon svg { width: 28px; height: 28px; }

.contact-email-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.contact-email-address {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.contact-email-address:hover { color: var(--blue-dark); }

.contact-email-sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card .contact-item-icon {
  margin-bottom: 4px;
}

/* ── Contact (legacy — keep for shared item styles) ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(37,99,235,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.contact-item-icon svg { width: 20px; height: 20px; }

.contact-item-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.contact-item-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.55;
}

.contact-item-value a { color: var(--blue); text-decoration: none; }
.contact-item-value a:hover { text-decoration: underline; }

.contact-reg {
  margin-top: 36px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Form ── */
.contact-form-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}

.contact-form-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: 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(37,99,235,0.1);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-submit { width: 100%; padding: 14px; font-size: 15px; margin-top: 4px; }

.form-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* ── Footer ── */
footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.55);
  padding: 72px 24px 32px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}

.footer-logo img { height: 38px; margin-bottom: 16px; }

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 0;
}

.footer-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-legal { display: flex; flex-direction: column; gap: 3px; line-height: 1.6; }

.footer-copy { text-align: right; }

/* ── Divider ── */
.divider {
  width: 48px;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
  .section { padding: 72px 24px; }
  .contact-form-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
}
