:root {
  --primary: #1d65c1;
  --secondary: #1c7c54;
  --accent: #f4a300;
  --dark: #14213d;
  --text: #1f2a37;
  --muted: #667085;
  --light: #f8f9fb;
  --gradient-primary: linear-gradient(135deg, #1d65c1 0%, #1c7c54 100%);
  --gradient-secondary: linear-gradient(135deg, #1c7c54 0%, #f4a300 100%);
  --hero-overlay: linear-gradient(135deg, rgba(20, 33, 61, 0.85), rgba(29, 101, 193, 0.75));
  --shadow-soft: 0 4px 20px rgba(20, 33, 61, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background-color: #ffffff;
  scroll-behavior: smooth;
}

.navbar-modern {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-top: 1rem;
  box-shadow: 0 15px 40px rgba(20, 33, 61, 0.15);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar-modern.nav-scrolled {
  background: rgba(20, 33, 61, 0.95);
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(20, 33, 61, 0.35);
}

.navbar-modern .navbar-nav .nav-link {
  position: relative;
  padding: 0.65rem 1rem;
  margin: 0 0.1rem;
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.navbar-modern.nav-scrolled .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.navbar-modern .navbar-nav .nav-link.active,
.navbar-modern .navbar-nav .nav-link:hover {
  color: #fff !important;
  background: linear-gradient(120deg, rgba(29, 101, 193, 0.95), rgba(28, 124, 84, 0.95));
  box-shadow: 0 8px 18px rgba(29, 101, 193, 0.25);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.brand-text {
  line-height: 1.1;
}

.brand-text .brand-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.brand-text .brand-tagline {
  font-size: 0.75rem;
  color: var(--muted);
}

.navbar-modern.nav-scrolled .brand-text .brand-title,
.navbar-modern.nav-scrolled .brand-text .brand-tagline {
  color: #fff;
}

.nav-pill-tag {
  border-radius: 999px;
  background: rgba(29, 101, 193, 0.12);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
}

.navbar-modern.nav-scrolled .nav-pill-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn-nav {
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  font-weight: 600;
  border: none;
  background: linear-gradient(120deg, #f4a300, #ff5f6d);
  color: #fff;
  box-shadow: 0 12px 25px rgba(244, 163, 0, 0.35);
}

.navbar-modern.nav-scrolled .btn-nav {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.navbar-toggler {
  border: none;
  background: rgba(29, 101, 193, 0.1);
  padding: 0.45rem 0.65rem;
  border-radius: 0.75rem;
}

.navbar-modern.nav-scrolled .navbar-toggler {
  background: rgba(255, 255, 255, 0.2);
}

.navbar-modern .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(20,33,61,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-modern.nav-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
  box-shadow: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-accent {
  color: var(--accent);
}

.btn-cta {
  border-radius: 999px;
  padding-inline: 1.75rem;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(29, 101, 193, 0.25);
}

.btn-outline-light:hover {
  color: var(--dark);
}

.hero-section {
  min-height: 100vh;
  position: relative;
  padding: 7rem 0 5rem;
  overflow: hidden;
}

.page-hero {
  padding: 8rem 0 4rem;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  opacity: 0.95;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  animation: bounce 2s infinite;
}

.section-heading p {
  letter-spacing: 0.08em;
}

.nav-link.active {
  color: var(--primary) !important;
  font-weight: 600;
}

.gradient-primary {
  background: var(--gradient-primary);
}

.gradient-secondary {
  background: var(--gradient-secondary);
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
}

.shadow-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.shadow-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(20, 33, 61, 0.15);
}

.mission-card {
  position: relative;
  border-radius: 1.5rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(20, 33, 61, 0.06);
  box-shadow: 0 25px 45px rgba(20, 33, 61, 0.08);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  align-items: start;
}
.card {
  align-items: center;
}
.mission-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(29, 101, 193, 0.15), transparent 50%);
  pointer-events: none;
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 55px rgba(20, 33, 61, 0.18);
}

.mission-card > * {
  position: relative;
  z-index: 1;
}

.mission-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 15px 30px rgba(29, 101, 193, 0.2);
}

.mission-label {
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
}

.mission-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.mission-list li i {
  color: var(--primary);
  margin-top: 0.2rem;
}

.metric-card {
  border-radius: 1rem;
  padding: 2rem 1rem;
  min-height: 160px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.partner-hero {
  height: 360px;
}

.partner-hero img {
  object-fit: cover;
  height: 100%;
}

.partner-hero .overlay {
  position: absolute;
  inset: 0;
  opacity: 0.85;
}

.partner-hero .content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px dashed rgba(20, 33, 61, 0.1);
}

.step-list span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(29, 101, 193, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.success-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.contact-card {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.form-alert {
  margin-bottom: 0;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.3s ease;
}

.social-link:hover {
  background-color: #fff;
  color: var(--primary);
}

.object-cover {
  object-fit: cover;
}

.lead-sm {
  font-size: 1rem;
  color: var(--muted);
}

.timeline li,
.journey li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(20, 33, 61, 0.15);
}

.timeline li:last-child,
.journey li:last-child {
  border-bottom: none;
}

.timeline span,
.journey span {
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(29, 101, 193, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.timeline p,
.journey p {
  margin-bottom: 0;
}

.w-md-auto {
  width: 100%;
}

@media (min-width: 768px) {
  .w-md-auto {
    width: auto !important;
  }
}

footer a {
  color: inherit;
}

footer a:hover {
  color: #fff;
}

@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -8px);
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    padding-top: 1rem;
  }

  .navbar-modern {
    border-radius: 24px;
    margin: 0 1rem;
  }

  .navbar-modern .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 0.5rem;
    margin-top: 0.75rem;
  }

  .navbar-modern.nav-scrolled .navbar-collapse {
    background: rgba(20, 33, 61, 0.95);
  }

  .navbar-modern .navbar-nav .nav-link {
    margin: 0.2rem 0;
  }
}

@media (max-width: 575px) {
  .hero-section {
    padding-top: 6rem;
  }
  .metric-card {
    padding: 1.5rem 1rem;
  }
}
