:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --white: #ffffff;
  --red-500: #ef4444;

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 25px -5px rgb(15 23 42 / 0.1), 0 8px 10px -6px rgb(15 23 42 / 0.05);
  --shadow-xl: 0 25px 50px -12px rgb(15 23 42 / 0.25);
  --shadow-primary: 0 10px 25px -5px rgb(37 99 235 / 0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
  border-radius: 0.75rem; transition: all 0.25s ease; cursor: pointer; text-align: center;
}
.btn i { width: 1.125rem; height: 1.125rem; transition: transform 0.25s ease; }
.btn:hover i { transform: translateX(2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white); box-shadow: var(--shadow-primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 30px -5px rgb(37 99 235 / 0.4); }
.btn-pill { border-radius: 999px; padding: 0.625rem 1.25rem; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.1); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; font-weight: 700; }
.btn-block { width: 100%; padding: 1rem 1.5rem; font-size: 1rem; font-weight: 700; }
.btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none !important; }

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--white); padding: 1.25rem 0; transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md); padding: 0.75rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo img { width: 3rem; height: 3rem; object-fit: contain; transition: transform 0.3s ease; }
.nav-logo:hover img { transform: scale(1.05); }
.nav-logo span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: var(--slate-900); letter-spacing: -0.02em;
}
.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-link {
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
  color: var(--slate-600); transition: color 0.2s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); }
.menu-toggle { display: flex; padding: 0.5rem; color: var(--slate-600); transition: color 0.2s ease; }
.menu-toggle:hover { color: var(--primary); }
@media (min-width: 768px) { .menu-toggle { display: none; } }
.menu-toggle i { width: 1.5rem; height: 1.5rem; }
.mobile-menu {
  display: none; flex-direction: column; background: var(--white);
  border-top: 1px solid var(--slate-100); padding: 1.5rem 1rem; gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  display: block; padding: 0.625rem;
  font-family: var(--font-display); font-weight: 500;
  color: var(--slate-700); border-radius: 0.5rem; transition: all 0.2s ease;
}
.mobile-link:hover { color: var(--primary); background: var(--slate-50); }
.mobile-cta { margin-top: 1rem; padding: 0.875rem 1.25rem; border-radius: 0.75rem; }

.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  padding-top: 5rem; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.4) 100%);
}
.hero-content { position: relative; z-index: 10; width: 100%; }
.hero-content > * { max-width: 42rem; }
.badge {
  display: inline-block; padding: 0.25rem 0.875rem; border-radius: 999px;
  background: rgba(37, 99, 235, 0.2); border: 1px solid rgba(37, 99, 235, 0.3);
  color: #93c5fd;
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.02em; margin-bottom: 1.5rem; backdrop-filter: blur(4px);
}
.hero-title {
  font-family: var(--font-display); font-weight: 800; font-size: 2.5rem;
  line-height: 1.1; color: var(--white); margin-bottom: 1.5rem; letter-spacing: -0.02em;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.text-gradient {
  background: linear-gradient(to right, #60a5fa, #bfdbfe);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub { font-size: 1.125rem; color: var(--slate-300); line-height: 1.75; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .hero-sub { font-size: 1.25rem; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 8rem;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 10; pointer-events: none;
}

.section { padding: 6rem 0; position: relative; overflow: hidden; }
.bg-slate-50 { background: var(--slate-50); }
.section-head { text-align: center; max-width: 48rem; margin: 0 auto 4rem; }
.eyebrow {
  display: inline-block; color: var(--primary);
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.75rem;
}
.eyebrow-light { color: #93c5fd; }
.section-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.875rem;
  color: var(--slate-900); letter-spacing: -0.02em;
}
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-title-lg { font-size: 2.25rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .section-title-lg { font-size: 3rem; } }
.section-rule {
  width: 5rem; height: 0.375rem; background: var(--primary);
  border-radius: 999px; margin: 1.5rem auto 0;
}

.section-services { position: relative; }
.services-blob {
  position: absolute; top: -12rem; right: -12rem; width: 24rem; height: 24rem;
  background: rgba(219, 234, 254, 0.5); border-radius: 50%; filter: blur(60px); z-index: 0;
}
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; z-index: 1; background: var(--white); border-radius: 1rem; padding: 2rem;
  box-shadow: 0 10px 25px -10px rgb(148 163 184 / 0.3);
  border: 1px solid var(--slate-100); transition: all 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-xl); border-color: rgba(37, 99, 235, 0.2); transform: translateY(-4px);
}
.card-icon {
  width: 4rem; height: 4rem; border-radius: 1rem; background: #eff6ff; color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: all 0.3s ease;
}
.card-icon i { width: 2rem; height: 2rem; }
.card:hover .card-icon { background: var(--primary); color: var(--white); }
.card-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: var(--slate-900); margin-bottom: 1rem; line-height: 1.35;
}
.card-text { color: var(--slate-600); line-height: 1.7; }

.section-about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; margin-bottom: 5rem;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-subhead {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: var(--slate-900); margin-bottom: 1.25rem;
}
.about-para { color: var(--slate-600); line-height: 1.75; margin-bottom: 1.25rem; }
.about-para:last-of-type { margin-bottom: 2rem; }
.values-list { display: flex; flex-direction: column; gap: 0.75rem; }
.values-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.values-list i { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; margin-top: 0.125rem; }
.values-list span { color: var(--slate-700); font-size: 0.875rem; }

.about-image-wrap { position: relative; }
.about-image { position: relative; border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow-xl); }
.about-image img { width: 100%; height: 20rem; object-fit: cover; }
.about-image-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.5), transparent);
}
.floating-card {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--white); border-radius: 1rem; box-shadow: var(--shadow-xl);
  padding: 1.25rem; border: 1px solid var(--slate-100);
}
.floating-card-num {
  color: var(--primary); font-family: var(--font-display); font-weight: 700; font-size: 1.875rem;
}
.floating-card-text { color: var(--slate-600); font-size: 0.875rem; margin-top: 0.25rem; line-height: 1.4; }
.about-blob {
  position: absolute; top: -2rem; right: -2rem; width: 10rem; height: 10rem;
  background: rgba(37, 99, 235, 0.1); border-radius: 50%; filter: blur(40px); z-index: -1;
}

.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); max-width: 32rem; margin: 0 auto; } }
.stat {
  background: var(--slate-50); border: 1px solid var(--slate-100); border-radius: 1rem;
  padding: 1.5rem; text-align: center; transition: all 0.3s ease;
}
.stat:hover { border-color: rgba(37, 99, 235, 0.3); box-shadow: var(--shadow-md); }
.stat-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem; background: rgba(37, 99, 235, 0.1);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.stat-icon i { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.stat-num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.875rem;
  color: var(--slate-900); margin-bottom: 0.25rem;
}
.stat-label { color: var(--slate-500); font-size: 0.875rem; }

.section-contact { background: var(--slate-900); position: relative; }
.contact-blob-1 {
  position: absolute; top: -20%; right: -10%; width: 50%; height: 50%;
  background: rgba(37, 99, 235, 0.2); border-radius: 50%; filter: blur(120px); pointer-events: none;
}
.contact-blob-2 {
  position: absolute; bottom: 10%; left: -10%; width: 40%; height: 40%;
  background: rgba(59, 130, 246, 0.1); border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.875rem;
  color: var(--white); margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .contact-title { font-size: 2.25rem; } }
.contact-sub { color: var(--slate-300); font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 28rem; line-height: 1.7; }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-item { display: flex; align-items: flex-start; }
.contact-info-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #60a5fa; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-icon i { width: 1.5rem; height: 1.5rem; }
.contact-info-item > div:not(.contact-info-icon) { margin-left: 1.5rem; }
.contact-info-item h4 { color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.contact-info-item a, .contact-info-item p {
  color: var(--slate-400); margin-top: 0.25rem; display: inline-block; transition: color 0.2s ease;
}
.contact-info-item a:hover { color: var(--white); }

.contact-form-wrap { background: var(--white); border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow-xl); }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
  color: var(--slate-700); margin-bottom: 0.5rem;
}
.form-field input, .form-field textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem;
  background: var(--slate-50); border: 1px solid var(--slate-200);
  color: var(--slate-900); font-family: var(--font-body); font-size: 0.95rem;
  transition: all 0.2s ease; outline: none;
}
.form-field textarea { resize: none; }
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}
.form-field input.invalid, .form-field textarea.invalid {
  border-color: var(--red-500); box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}
.error { color: var(--red-500); font-size: 0.75rem; margin-top: 0.25rem; min-height: 1rem; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast {
  margin-top: 1rem; padding: 1rem 1.25rem;
  background: #ecfdf5; border: 1px solid #10b981; border-radius: 0.75rem;
  color: #065f46; font-size: 0.875rem;
}
.toast strong { display: block; margin-bottom: 0.25rem; }

.services-header {
  padding: 7rem 0 4rem;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 50%, var(--slate-900) 100%);
  position: relative; overflow: hidden;
}
.services-header-blob-1 {
  position: absolute; top: 0; right: 0; width: 40%; height: 100%;
  background: rgba(37, 99, 235, 0.1); border-radius: 50%; filter: blur(120px); pointer-events: none;
}
.services-header-blob-2 {
  position: absolute; bottom: 0; left: 0; width: 30%; height: 60%;
  background: rgba(59, 130, 246, 0.1); border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.services-header-content { position: relative; z-index: 1; max-width: 48rem; }
.services-header-title {
  font-family: var(--font-display); font-weight: 700; font-size: 2.25rem;
  color: var(--white); margin: 1rem 0 1.5rem; letter-spacing: -0.02em;
}
@media (min-width: 768px) { .services-header-title { font-size: 3rem; } }
.services-header-sub { color: var(--slate-300); font-size: 1.125rem; line-height: 1.75; }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--white); border-radius: 1rem; overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--slate-100);
  transition: all 0.3s ease; display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card-img { position: relative; height: 13rem; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-img-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
}
.service-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: var(--slate-900); margin-bottom: 0.75rem;
}
.service-card-body p { color: var(--slate-500); font-size: 0.875rem; line-height: 1.7; flex: 1; }

.footer { background: var(--slate-950); padding: 4rem 0 2rem; border-top: 1px solid var(--slate-800); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer-logo img { width: 2.5rem; height: 2.5rem; object-fit: contain; filter: brightness(0) invert(1); }
.footer-logo span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--white);
}
.footer-tagline { color: var(--slate-400); font-size: 0.875rem; line-height: 1.7; max-width: 20rem; }
.footer-heading {
  color: var(--white); font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; margin-bottom: 1.5rem;
}
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: var(--slate-400); font-size: 0.875rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--primary); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--slate-400); font-size: 0.875rem; }
.footer-contact i { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; }
.footer-contact a { color: var(--slate-400); transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--slate-800);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { color: var(--slate-500); font-size: 0.875rem; text-align: center; }
.scroll-top {
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: var(--slate-800); color: var(--slate-400);
  display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;
}
.scroll-top:hover { background: var(--primary); color: var(--white); }
.scroll-top i { width: 1.25rem; height: 1.25rem; }

.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp 0.6s ease-out forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}