* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  background: #fff;
}

.nav-wrap {
  background: #00244d;
  position: relative;
  z-index: 9999;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 70px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-box {
  width: 40px;
  height: 40px;
  background: #d93025;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo span {
  color: #000;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* NAV LIST */
.nav-list {
  display: flex;
  align-items: stretch;
  list-style: none;
  height: 70px;
}

.nav-list>li {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-list>li>a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    padding: 0 15px;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: color .2s;
    font-family: "Lato", sans-serif;
}

.nav-list>li>a:hover,
.nav-list>li.active>a {
  color: #d93025;
}

.nav-list>li>a .arr {
  font-size: 10px;
  transition: transform .25s;
  display: inline-block;
}

.last-child{
  display: none !important;
}

/* ── NORMAL DROPDOWN ── */
.drop-panel {
  display: none;
  position: absolute;
top: 80%;
  left: 0;
  background: linear-gradient(145deg, #00346a, #1a72b8);
  border-radius: 10px;
  min-width: 220px;
  padding: 8px;
  z-index: 500;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

/* bridge so mouse can travel into panel */
.drop-panel::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.drop-panel li {
  list-style: none;
}

.drop-panel li a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #000;
  text-decoration: none;
font-size: 16px;
  font-weight: 500;
  padding: 9px 13px;
  border-radius: 8px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.drop-panel li a i {
  color: #d93025;
  width: 14px;
  text-align: center;
  font-size: 13px;
}

.drop-panel li a:hover {
  background: #000;
  color: #d93025;
}

.drop-panel li a:hover i {
  color: #d93025;
}

.drop-panel li.drop-divider {
  height: 1px;
  background: rgba(255, 255, 255, .12);
  margin: 5px 8px;
}

/* has-sub inside drop-panel */
.drop-panel li.has-sub {
  position: relative;
}

.drop-panel li.has-sub>a::after {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, .6);
}

.drop-panel li.has-sub>a:hover::after {
  color: #d93025;
}

.drop-panel li.has-sub .sub-panel {
  display: none;
  position: absolute;
  left: 100%;
  top: -8px;
  background: linear-gradient(145deg, #00346a, #1a72b8);
  border-radius: 10px;
  min-width: 210px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}

.drop-panel li.has-sub:hover .sub-panel {
  display: block;
}

.drop-panel li.has-sub .sub-panel li a {
  font-size: 13px;
}

/* ── MEGA MENU ── */
.has-mega {
  position: static !important;
}

.mega-panel {
  display: none;
  position: absolute;
top: 80%;

  left: 0;
  right: 0;
background: linear-gradient(45deg, #3185c3, #2058a0);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  z-index: 500;
}

.mega-panel::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.mega-grid {
  margin: 0 auto;
  display: grid;
grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 28px 40px 32px;
}

.m-col {
padding-right: 28px;
    margin-bottom: 3%;
}

.m-col:last-child {
  padding-right: 0;
}

.m-head {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}


.m-head a{
  color: #000;

}

.m-list {
  list-style: none;
}

.m-list li a {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 9px;
  border-radius: 7px;
  transition: background .15s, color .15s;
  line-height: 1.3;
  margin-bottom: 1px;
}

.m-list li a:hover {
background: #000;
    color: #d93025;
}

.m-ico {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #d93025;
  margin-top: 1px;
}

.m-list li a:hover .m-ico {
  background: rgba(243, 108, 33, .18);
}

.m-txt {
  display: flex;
  flex-direction: column;
}

.m-txt small {
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
  margin-top: 2px;
  font-weight: 400;
}

.m-div {
  width: 1px;
  background: rgba(255, 255, 255, .07);
  margin: 0 4px;
}

.m-feature {
  background: rgba(243, 108, 33, .07);
  border: 1px solid rgba(243, 108, 33, .2);
  border-radius: 10px;
  padding: 16px;
}

.m-flabel {
  color: #d93025;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.m-feature p {
  color: rgba(255, 255, 255, .65);
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.m-fcta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #d93025;
  color: #000;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 7px;
  transition: background .2s;
}

.m-fcta:hover {
  background: #d95e1c;
}

.m-extra {
  margin-top: 14px;
  list-style: none;
}

.m-extra li a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 7px;
  transition: background .15s;
}

.m-extra li a:hover {
  background: rgba(255, 255, 255, .08);
  color: #000;
}

.m-extra li a i {
  color: #d93025;
  width: 14px;
  text-align: center;
  font-size: 12px;
}

/* CTA */
.btn-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #d93025;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .2s;
}

.btn-cta:hover {
  background: #d93025;
}

/* Hamburger */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.ham span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: all .3s;
}

.ham.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ham.open span:nth-child(2) {
  opacity: 0;
}

.ham.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MOBILE */
@media(max-width:960px) {
  .last-child{
  display: flex;
}

  .ham {
    display: flex;
  }

  .nav-list,
  .btn-cta {
    display: none;
  }

  .nav-list.open {
    display: block;
    position: absolute;
    top: 42px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #d93025;
    padding: 8px 0 16px;
    z-index: 9998;
    height: auto;
    overflow-y: auto;
    max-height: 80vh;
  }

  .nav-list>li {
    display: block;
    height: auto;
    position: relative;
  }

  .nav-list>li>a {
    height: auto;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .has-mega {
    position: relative !important;
  }

  .mega-panel,
  .drop-panel {
    position: static;
    display: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid #d93025;
    margin-left: 20px;
    border-radius: 0;
  }

  .mega-panel::before,
  .drop-panel::before {
    display: none;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    padding: 10px 12px;
  }

  .m-col {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .m-div,
  .m-feature {
    display: none;
  }

  .drop-panel li.has-sub .sub-panel {
    position: static;
    display: none;
    margin-left: 16px;
    border-left: 2px solid rgba(255, 255, 255, .1);
    border-radius: 0;
    padding: 4px 0;
    box-shadow: none;
  }

  .drop-panel li.has-sub.mob-open .sub-panel {
    display: block;
  }

  .drop-panel li.has-sub>a::after {
    content: '\f107';
  }

  .mob-arr {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .45);
    font-size: 11px;
    padding: 6px 10px;
    cursor: pointer;
    z-index: 1;
  }

  .mob-open>.mob-arr,
  .mob-open>a .arr {
    transform: translateY(-50%) rotate(180deg);
  }

  .mob-open .mega-panel,
  .mob-open .drop-panel {
    display: block;
  }
}

.page {
  padding: 60px 40px;
  text-align: center;
  color: #667;
}

.page h2 {
  color: #00244d;
  font-size: 26px;
  margin-bottom: 10px;
}

.page p {
  font-size: 14.5px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}


/* Bridge gap between nav item and dropdown — stops flicker */
.drop-panel::before {
  content: '';
  position: absolute;
  top: -15px;       /* covers the gap above the panel */
  left: 0;
  right: 0;
  height: 15px;
}

.mega-panel::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}