/* Global theme and design system overrides */

:root {
  --color-primary: #0A3D62;
  --color-secondary: #00A8A8;
  --color-accent: #EAF4FF;
  --color-neutral: #F5F7FA;
  --color-text: #1F2933;
}

/* Base resets & typography tweaks */

html,
body {
  scroll-behavior: smooth;
}

body {
  color: var(--color-text);
  background-color: #ffffff;
}

/* Scrollbar for desktop */

@media (min-width: 1024px) {
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #e5e7eb;
  }
  ::-webkit-scrollbar-thumb {
    background-color: #9ca3af;
    border-radius: 999px;
  }
}

/* Layout helpers */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1 0 auto;
}

.page-footer {
  flex-shrink: 0;
}

/* Hero */

.hero-gradient {
  background: radial-gradient(circle at 0% 0%, rgba(0, 168, 168, 0.25), transparent 50%),
              radial-gradient(circle at 100% 0%, rgba(10, 61, 98, 0.35), transparent 55%),
              linear-gradient(135deg, #0A3D62 0%, #0B4F75 45%, #00A8A8 100%);
}

.hero-illustration {
  position: relative;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(234, 244, 255, 0.1), rgba(255, 255, 255, 0.05));
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

/* Glassmorphism card */

.glass-card {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Neutral card with soft shadow */

.soft-card {
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(148, 163, 184, 0.18);
}

.product-card-emphasis {
  background: linear-gradient(
    135deg,
    rgba(239, 246, 255, 0.95),
    rgba(236, 253, 245, 0.95)
  );
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(56, 189, 248, 0.25);
}

/* Icon container */

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, rgba(255, 255, 255, 0.8), transparent 55%),
              linear-gradient(145deg, rgba(14, 116, 144, 0.08), rgba(10, 61, 98, 0.2));
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.services-section .icon-circle svg {
  color: #0A3D62 !important;
}

/* Buttons */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #f9fafb;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.4);
  transition:
    transform 150ms ease-out,
    box-shadow 150ms ease-out,
    background-color 150ms ease-out,
    color 150ms ease-out;
  background-image: linear-gradient(135deg, #00A8A8, #0EA5E9);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #e0f2fe;
  color: rgba(226, 232, 240, 0.9);
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background-color 150ms ease-out,
    color 150ms ease-out,
    border-color 150ms ease-out;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

/* CTA card */

.cta-gradient {
  background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.35), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(45, 212, 191, 0.28), transparent 50%),
              linear-gradient(135deg, #0A3D62, #00A8A8);
}

/* Navigation */

.nav-blur {
  background-color: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00A8A8, #38bdf8);
  transition: width 180ms ease-out;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-active::after {
  width: 100%;
}

/* Reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: 0.05s;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animated statistics */

.stat-number {
  font-variant-numeric: tabular-nums;
}

.text-sm-plus {
  font-size: 0.95rem;
  line-height: 1.5rem;
}

/* Form */

.input-label {
  display: block;
  font-size: 0.7rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
}

.input-field {
  display: block;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    border-color 150ms ease-out,
    box-shadow 150ms ease-out,
    background-color 150ms ease-out;
}

.input-field:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow:
    0 0 0 1px rgba(14, 165, 233, 0.25),
    0 0 0 4px rgba(56, 189, 248, 0.12);
  background-color: #ffffff;
}

.input-field::placeholder {
  font-size: 0.8rem;
  color: #9ca3af;
  opacity: 1;
}

::-webkit-input-placeholder {
  font-size: 0.8rem;
  color: #9ca3af;
}

:-ms-input-placeholder {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Map placeholder */

.map-placeholder {
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.3), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.3), transparent 55%),
              linear-gradient(135deg, #0F172A, #020617);
}

/* Company highlight cards below hero */

.highlight-grid {
  border-radius: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(135deg, #f9fafb, #e5f0ff);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(226, 232, 240, 0.9);
}

.highlight-card {
  position: relative;
  padding: 1.1rem 1rem;
  border-radius: 1.25rem;
  background-color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition:
    transform 160ms ease-out,
    box-shadow 160ms ease-out,
    border-color 160ms ease-out,
    background-color 160ms ease-out;
}

@media (min-width: 768px) {
  .highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border-color: rgba(56, 189, 248, 0.7);
    background-color: #ffffff;
  }
}

.highlight-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.highlight-value {
  margin-top: 0.25rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  color: #0f172a;
}

.highlight-description {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #6b7280;
}

/* Tag / badge */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Media queries for fine-tuning */

@media (max-width: 767px) {
  .hero-illustration {
    margin-top: 2rem;
  }
}

/* Utility to limit text width */

.text-balance {
  text-wrap: balance;
}

