/* About Us — Choice Mutual–style mega menu */

.header-actions {
  position: relative;
  overflow: visible !important;
}

.nav-about-dropdown {
  position: relative;
  align-self: center;
  flex: 0 0 auto;
  z-index: 1061;
}

.nav-about-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 5px 12px;
  margin: 0;
}

.nav-about-dropdown-trigger .nav-about-caret {
  font-size: 0.65em;
  opacity: 0.75;
  transition: transform 0.15s ease;
}

.nav-about-dropdown:hover .nav-about-dropdown-trigger,
.nav-about-dropdown:focus-within .nav-about-dropdown-trigger,
.nav-about-dropdown.is-open .nav-about-dropdown-trigger {
  color: #0d47a1;
  background: #e8f1fc;
  border-radius: 0.35rem;
  box-shadow: inset 0 -2px 0 #0d47a1;
}

.nav-about-dropdown:hover .nav-about-caret,
.nav-about-dropdown:focus-within .nav-about-caret,
.nav-about-dropdown.is-open .nav-about-caret {
  transform: rotate(180deg);
}

.nav-about-mega {
  display: none;
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  left: auto;
  z-index: 1400;
  box-sizing: border-box;
  width: min(980px, calc(100vw - 2.5rem));
  padding: 1.25rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.06),
    0 20px 48px rgba(15, 23, 42, 0.16);
  grid-template-columns: minmax(220px, 1.05fr) minmax(260px, 1.35fr) minmax(200px, 0.95fr);
  gap: 1rem;
  align-items: stretch;
}

.nav-about-dropdown:hover .nav-about-mega,
.nav-about-dropdown:focus-within .nav-about-mega,
.nav-about-dropdown.is-open .nav-about-mega {
  display: grid;
}

/* Invisible bridge so the pointer can travel into the panel */
.nav-about-mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.7rem;
  height: 0.7rem;
}

.nav-about-mega-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 1.25rem;
  align-content: start;
  padding: 0.35rem 0.5rem 0.35rem 0.25rem;
}

.nav-about-mega-links a {
  display: block;
  padding: 0.55rem 0.35rem;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  border-radius: 0.35rem;
}

.nav-about-mega-links a:hover,
.nav-about-mega-links a:focus-visible {
  color: #0d47a1;
  background: #f1f7ff;
  outline: none;
}

.nav-about-mega-feature {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 220px;
  padding: 1.35rem 1.25rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #0b3a7a 0%, #1565c0 55%, #1e88e5 100%);
  color: #fff;
}

.nav-about-mega-feature-copy {
  position: relative;
  z-index: 1;
  max-width: 58%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
}

.nav-about-mega-feature-copy h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.nav-about-mega-feature-copy p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.nav-about-mega-feature-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 0.35rem;
  background: #f2c94c;
  color: #1a202c !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-about-mega-feature-cta:hover {
  background: #ffd666;
  color: #1a202c !important;
}

.nav-about-mega-feature-media {
  position: absolute;
  right: 1.1rem;
  bottom: 0;
  top: 0.65rem;
  width: 48%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.nav-about-mega-feature-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 210px;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.nav-about-mega-contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.15rem;
  border-radius: 0.65rem;
  background: #eef5fb;
  color: #1a365d;
}

.nav-about-mega-contact h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a365d;
}

.nav-about-mega-contact p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #475569;
}

.nav-about-mega-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0.55rem 1.05rem;
  border: 1.5px solid #64748b;
  border-radius: 0.35rem;
  background: #fff;
  color: #1a365d !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
}

.nav-about-mega-contact-cta:hover {
  border-color: #0d47a1;
  color: #0d47a1 !important;
  background: #fff;
}

.nav-about-mega-contact-icon {
  align-self: flex-start;
  margin-top: auto;
  color: #1565c0;
  font-size: 1.65rem;
  line-height: 1;
  opacity: 0.9;
}

@media (max-width: 1100px) {
  .nav-about-mega {
    width: min(900px, calc(100vw - 2rem));
    grid-template-columns: 1fr 1.2fr 0.9fr;
    gap: 0.85rem;
    padding: 1rem;
  }

  .nav-about-mega-feature-copy {
    max-width: 55%;
  }
}

@media (max-width: 991.98px) {
  .nav-about-mega {
    display: none !important;
  }
}
