:root {
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --accent: #14b8a6;
  --ink: #0f172a;
  --muted: #475569;
  --surface: #f8fafc;
  --card: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.section-padding {
  padding: 90px 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header .eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-top: 10px;
}

.section-header p {
  color: var(--muted);
}

.text-muted-custom {
  color: var(--muted);
}

.bg-surface {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.bg-soft {
  background: var(--surface);
}

/* Navbar spacing control */
.navbar {
  padding-top: 5px;
  padding-bottom: 5px;
  min-height: 70px;
}

/* Brand container */
.navbar-brand {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

/* Logo size */
.navbar-brand img {
  height: 150px;
  width: auto;
  display: block;
}

/* Align nav items vertically */
.navbar-nav {
  align-items: center;
}

/* Reduce nav link padding */
.navbar-nav .nav-link {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Sticky navbar shadow */
.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav-link {
  font-weight: 600;
  color: var(--ink);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.btn-brand {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .9rem 1.4rem;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(29, 78, 216, 0.22);
}

.btn-brand:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-brand {
  border: 1px solid rgba(29, 78, 216, 0.25);
  color: var(--primary);
  border-radius: 999px;
  padding: .9rem 1.4rem;
  font-weight: 700;
  background: #fff;
}

.btn-outline-brand:hover {
  background: #eef4ff;
  color: var(--primary-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 144px 0 96px;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, .18), transparent 24%),
    radial-gradient(circle at left center, rgba(29, 78, 216, .10), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #fff 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, .08);
  color: #0f766e;
  border: 1px solid rgba(20, 184, 166, .15);
  padding: .45rem .9rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.1;
  font-weight: 900;
  margin: 1rem 0;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 20px;
}

.hero-card.primary {
  inset: 50px 10px auto 70px;
}

.hero-card.secondary {
  inset: auto 40px 20px 0;
}

.hero-orb,
.hero-grid {
  position: absolute;
  border-radius: 32px;
}

.hero-orb {
  width: 360px;
  height: 360px;
  right: 40px;
  top: 20px;
  background: linear-gradient(135deg, rgba(29, 78, 216, .12), rgba(20, 184, 166, .18));
  filter: blur(0.4px);
}

.hero-grid {
  inset: 0 0 0 50px;
  border: 1px dashed rgba(29, 78, 216, .12);
}

.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  font-size: 1.05rem;
}

.card-soft,
.feature-card,
.service-card,
.blog-card,
.value-card,
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card,
.blog-card,
.value-card,
.contact-card,
.feature-card {
  padding: 28px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover,
.blog-card:hover,
.value-card:hover,
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(29, 78, 216, .12), rgba(20, 184, 166, .14));
  color: var(--primary-dark);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.stats-wrap {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 28px;
  padding: 34px;
}

.stats-wrap h3 {
  color: #fff;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
}

.timeline {
  position: relative;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(29, 78, 216, .15);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-item::before {
  content: "";
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  position: absolute;
  left: -25px;
  top: 8px;
}

.page-hero {
  padding: 140px 0 70px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 900;
}

.blog-card img,
.post-cover {
  border-radius: 18px;
  width: 100%;
  object-fit: cover;
}

.blog-card img {
  height: 220px;
}

.post-cover {
  height: 360px;
  margin-bottom: 28px;
}

.tag {
  display: inline-block;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
}

.contact-card .form-control,
.contact-card .form-select {
  padding: .9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, .35);
}

.contact-card .form-control:focus {
  box-shadow: 0 0 0 .25rem rgba(29, 78, 216, 0.1);
  border-color: rgba(29, 78, 216, .45);
}

.footer {
  background: #0b1220;
  color: rgba(255, 255, 255, .82);
  padding: 70px 0 28px;
}

.footer a {
  color: rgba(255, 255, 255, .82);
}

.footer a:hover {
  color: #fff;
}

.footer-brand {
  height: 42px;
  filter: brightness(0) invert(1) saturate(0);
  opacity: .98;
}

.mini-seo {
  font-size: .95rem;
  color: var(--muted);
}

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 rgba(20, 184, 166, .6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 184, 166, .55);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(20, 184, 166, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
  }
}

.breadcrumb-wrap {
  color: var(--muted);
}

.breadcrumb-wrap a {
  color: var(--muted);
}

.breadcrumb-wrap a:hover {
  color: var(--primary);
}

.sidebar-card {
  position: sticky;
  top: 100px;
  padding: 24px;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
}

.list-check li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--accent);
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 120px;
  }

  .hero-visual {
    min-height: 340px;
    margin-top: 24px;
  }

  .hero-card.primary {
    inset: 25px 0 auto 20px;
  }

  .hero-card.secondary {
    inset: auto 20px 0 20px;
  }

  .post-cover {
    height: 260px;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 72px 0;
  }

  .hero-card {
    position: relative;
    inset: auto;
    margin-bottom: 16px;
  }

  .hero-orb,
  .hero-grid {
    display: none;
  }

  .hero-visual {
    min-height: auto;
  }
}

.leadership-box {
  background: #f8fbff;
  border-left: 4px solid #0d6efd;
  border-radius: 10px;
}

.leadership-box p {
  margin-bottom: 10px;
}

.contact-page-section {
  position: relative;
  z-index: 1;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #e9edf5;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  height: 100%;
}

.contact-page-section .row {
  margin-bottom: 0;
}

.contact-page-section .container {
  position: relative;
}

.form-label {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 10px;
}

.form-control {
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid #d9e2ec;
  padding: 14px 18px;
  font-size: 1rem;
  box-shadow: none;
}

textarea.form-control {
  min-height: 180px;
  resize: vertical;
}

.form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.btn-gradient {
  border: 0;
  padding: 14px 26px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(90deg, #2563eb, #14b8a6);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.22);
}

.inquiry-list {
  list-style: none;
  padding-left: 0;
}

.inquiry-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: #1e293b;
}

.inquiry-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #14b8a6;
  font-weight: 700;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}

footer {
  position: relative;
  z-index: 0;
}

@media (max-width: 991.98px) {
  .contact-card {
    padding: 24px;
  }
}