:root {
  --primary: #0a3378;
  --blue: #033eca;
  --green: #157425;
  --accent: #17e31a;
  --dark: #142033;
  --text: #2d3748;
  --muted: #718096;
  --soft: #f4f8ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Poppins, sans-serif;
}

.container {
  max-width: 1200px;
}

.navbar {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 24px rgba(10, 61, 143, .12);
  padding: .75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand img {
  height: 60px;
  width: auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text) !important;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: .3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green) !important;
  transform: translateY(-2px);
}

.dropdown-arrow {
  font-size: .7rem;
  transition: .3s;
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #fff;
  min-width: 900px;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(10, 61, 143, .16);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 1001;
  border: 1px solid rgba(10, 61, 143, .1);
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mega-menu-title {
  font: 700 .85rem Poppins, sans-serif;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: .7rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(3, 62, 202, .1);
}

.mega-menu-link {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .8rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  transition: .3s;
}

.mega-menu-link:hover,
.mega-menu-link.active {
  background: rgba(21, 116, 37, .07);
  color: var(--green);
  transform: translateX(5px);
}

.mega-menu-link i {
  color: var(--blue);
  font-size: 1.15rem;
  margin-top: .15rem;
}

.mega-menu-link-desc {
  display: block;
  color: #536886;
  font-size: .78rem;
  line-height: 1.35;
  margin-top: .2rem;
  font-weight: 500;
}

.btn-nav {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff !important;
  border-radius: 50px;
  padding: .55rem 1.4rem !important;
  box-shadow: 0 6px 18px rgba(21, 116, 37, .28);
}

.hero {
  min-height: 68vh;
  display: flex;
  align-items: center;
  background: linear-gradient(105deg, rgba(10, 51, 120, .96), rgba(3, 62, 202, .82), rgba(20, 32, 51, .28)), var(--hero-image) center/cover no-repeat;
  padding: 6rem 0 5rem;
}

.breadcrumb-row {
  display: flex;
  gap: .55rem;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  margin-bottom: 1.4rem;
}

.breadcrumb-row a {
  color: rgba(255, 255, 255, .84);
  text-decoration: none;
}

.breadcrumb-row span {
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 850px;
}

.hero p {
  font-size: 1.16rem;
  color: rgba(255, 255, 255, .9);
  max-width: 740px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  border-radius: 50px;
  padding: .9rem 1.55rem;
  text-decoration: none;
  font-weight: 700;
  transition: .3s;
}

.primary-btn {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff;
  box-shadow: 0 12px 30px rgba(21, 116, 37, .35);
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-3px);
  color: #fff;
}

section {
  padding: 5rem 0;
}

.soft {
  background: linear-gradient(135deg, #f7fbff, #edf5ff);
}

.eyebrow {
  font: 700 .78rem Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--green);
  margin-bottom: .8rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.22;
  margin-bottom: 1rem;
}

.section-title span {
  background: linear-gradient(90deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 800px;
}

.image-panel {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(10, 61, 143, .16);
  border: 1px solid rgba(10, 61, 143, .08);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-top: 2.4rem;
}

.cardx {
  background: #fff;
  border: 1px solid rgba(10, 61, 143, .1);
  border-radius: 14px;
  padding: 1.6rem;
  transition: .3s;
  height: 100%;
}

.cardx:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 42px rgba(10, 61, 143, .14);
  border-color: rgba(21, 116, 37, .24);
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(21, 116, 37, .1), rgba(3, 62, 202, .12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.65rem;
  margin-bottom: 1.1rem;
}

.cardx:hover .icon {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff;
}

.cardx h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .55rem;
}

.cardx p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
}

.pill {
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(10, 61, 143, .1);
  border-radius: 12px;
  padding: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.pill i {
  color: var(--blue);
  margin-right: .55rem;
}

.cta {
  background: linear-gradient(135deg, #142033, #0a3378);
  text-align: center;
  color: #fff;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.cta p {
  color: rgba(255, 255, 255, .82);
  max-width: 720px;
  margin: 1rem auto 2rem;
}

@media (max-width: 991px) {
  .mega-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 100%;
    box-shadow: none;
    padding: 1rem;
    background: #f8fbff;
  }

  .mega-menu-grid,
  .cards,
  .pill-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .image-panel img {
    min-height: 260px;
  }
}
