
/* =========================================================
   SEA LICENSING — SERVICES MEGA MENU V2
   Isolated to data-mega="services"
   ========================================================= */


/* ---------------------------------------------------------
   OVERALL DROPDOWN
   --------------------------------------------------------- */

.mega-menu[data-mega="services"] {
  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 30%,
      rgba(31,166,215,.045),
      transparent 25%
    ),
    radial-gradient(
      circle at 86% 70%,
      rgba(19,136,188,.035),
      transparent 27%
    ),
    repeating-linear-gradient(
      135deg,
      rgba(15,128,177,.014) 0,
      rgba(15,128,177,.014) 1px,
      transparent 1px,
      transparent 46px
    ),
    linear-gradient(
      rgba(15,125,174,.012) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(15,125,174,.010) 1px,
      transparent 1px
    ),
    linear-gradient(
      180deg,
      #f9fcfd 0%,
      #f3f9fc 100%
    ) !important;

  background-size:
    auto,
    auto,
    auto,
    76px 76px,
    76px 76px,
    auto !important;
}



/* ---------------------------------------------------------
   MASTER LAYOUT
   --------------------------------------------------------- */

.mega-menu[data-mega="services"] .services-mega-layout {
  display: grid !important;

  grid-template-columns:
    310px minmax(0,1fr) !important;

  gap:
    42px !important;

  align-items:
    stretch !important;

  padding-top:
    30px !important;

  padding-bottom:
    30px !important;
}



/* =========================================================
   LEFT INTRO PANEL
   ========================================================= */

.mega-menu[data-mega="services"] .services-mega-intro {
  position: relative;

  min-height:
    202px;

  padding:
    28px 27px;

  overflow:
    hidden;

  display:
    flex;

  flex-direction:
    column;

  justify-content:
    center;

  border:
    1px solid rgba(73,203,238,.17) !important;

  border-radius:
    10px;

  background:
    radial-gradient(
      circle at 92% 12%,
      rgba(45,185,224,.18),
      transparent 36%
    ),
    linear-gradient(
      145deg,
      #06273a 0%,
      #073a54 56%,
      #084a66 100%
    ) !important;

  box-shadow:
    0 17px 35px rgba(4,51,73,.11);

  color:
    #ffffff;

  border-right:
    1px solid rgba(73,203,238,.17) !important;
}


.mega-menu[data-mega="services"] .services-mega-intro::before {
  content: "";

  position:
    absolute;

  inset:
    0;

  pointer-events:
    none;

  opacity:
    .15;

  background-image:

    linear-gradient(
      rgba(106,218,246,.055) 1px,
      transparent 1px
    ),

    linear-gradient(
      90deg,
      rgba(106,218,246,.04) 1px,
      transparent 1px
    );

  background-size:
    42px 42px;
}


.mega-menu[data-mega="services"] .services-mega-intro > * {
  position:
    relative;

  z-index:
    1;
}


.mega-menu[data-mega="services"] .services-mega-intro > span {
  color:
    #68dcf8 !important;

  font-size:
    9px !important;

  line-height:
    1 !important;

  font-weight:
    900 !important;

  letter-spacing:
    .16em !important;

  text-transform:
    uppercase !important;
}


.mega-menu[data-mega="services"] .services-mega-intro h3 {
  margin:
    15px 0 0 !important;

  color:
    #ffffff !important;

  font-size:
    30px !important;

  line-height:
    .99 !important;

  font-weight:
    850 !important;

  letter-spacing:
    -.04em !important;
}


.mega-menu[data-mega="services"] .services-mega-intro p {
  margin:
    16px 0 0 !important;

  color:
    rgba(232,245,250,.76) !important;

  font-size:
    11px !important;

  line-height:
    1.5 !important;
}


.mega-menu[data-mega="services"] .services-mega-intro a {
  position:
    relative;

  width:
    fit-content;

  margin-top:
    19px !important;

  padding-bottom:
    7px;

  color:
    #69dcf8 !important;

  font-size:
    9px !important;

  line-height:
    1 !important;

  font-weight:
    850 !important;

  letter-spacing:
    .04em;

  text-transform:
    uppercase;

  transition:
    color .25s ease;
}


.mega-menu[data-mega="services"] .services-mega-intro a::after {
  content: "";

  position:
    absolute;

  left:
    0;

  bottom:
    0;

  width:
    34px;

  height:
    1px;

  background:
    #5bd5f3;

  transition:
    width .3s cubic-bezier(.22,1,.36,1);
}


.mega-menu[data-mega="services"] .services-mega-intro a:hover {
  color:
    #ffffff !important;
}


.mega-menu[data-mega="services"] .services-mega-intro a:hover::after {
  width:
    100%;
}



/* =========================================================
   3 × 2 SERVICES GRID
   ========================================================= */

.mega-menu[data-mega="services"] .services-mega-grid {
  display:
    grid !important;

  grid-template-columns:
    repeat(3,minmax(0,1fr)) !important;

  grid-template-rows:
    repeat(2,minmax(92px,1fr)) !important;

  gap:
    12px 14px !important;

  align-self:
    stretch;
}



/* =========================================================
   SERVICE CARDS
   ========================================================= */

.mega-menu[data-mega="services"] .services-mega-grid > a {
  position:
    relative;

  min-width:
    0;

  min-height:
    92px;

  padding:
    13px 14px !important;

  display:
    flex !important;

  align-items:
    flex-start;

  gap:
    12px !important;

  overflow:
    hidden;

  border:
    1px solid rgba(11,112,157,.13) !important;

  border-radius:
    8px;

  background:
    rgba(255,255,255,.90) !important;

  color:
    #092437;

  box-shadow:
    0 7px 20px rgba(5,62,89,.025);

  transition:
    transform .30s cubic-bezier(.22,1,.36,1),
    background .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}


.mega-menu[data-mega="services"] .services-mega-grid > a::before {
  content: "";

  position:
    absolute;

  left:
    0;

  top:
    0;

  width:
    100%;

  height:
    3px;

  background:
    linear-gradient(
      90deg,
      #078ac8,
      #20b9e2,
      #65def8
    );

  transform:
    scaleX(0);

  transform-origin:
    left center;

  transition:
    transform .32s cubic-bezier(.22,1,.36,1);
}



/* =========================================================
   INVERTED HOVER
   ========================================================= */

.mega-menu[data-mega="services"] .services-mega-grid > a:hover {
  transform:
    translateY(-3px) !important;

  border-color:
    rgba(72,207,240,.44) !important;

  background:
    linear-gradient(
      145deg,
      #073651 0%,
      #075479 58%,
      #086b91 100%
    ) !important;

  box-shadow:
    0 17px 32px rgba(4,67,97,.15);
}


.mega-menu[data-mega="services"] .services-mega-grid > a:hover::before {
  transform:
    scaleX(1);
}



/* titles */
.mega-menu[data-mega="services"] .services-mega-grid b {
  color:
    #092437 !important;

  font-size:
    11px !important;

  line-height:
    1.22;

  transition:
    color .28s ease;
}


.mega-menu[data-mega="services"] .services-mega-grid > a:hover b {
  color:
    #ffffff !important;
}



/* descriptions */
.mega-menu[data-mega="services"] .services-mega-grid small {
  margin-top:
    4px !important;

  color:
    #637b87 !important;

  font-size:
    8px !important;

  line-height:
    1.4 !important;

  transition:
    color .28s ease;
}


.mega-menu[data-mega="services"] .services-mega-grid > a:hover small {
  color:
    rgba(236,248,252,.80) !important;
}



/* =========================================================
   ICONS
   ========================================================= */

.mega-menu[data-mega="services"] .mega-icon {
  width:
    36px !important;

  height:
    36px !important;

  flex:
    0 0 36px;

  display:
    grid !important;

  place-items:
    center !important;

  border:
    1px solid rgba(26,163,214,.15);

  border-radius:
    6px;

  background:
    #edf8fc !important;

  color:
    #079bd6 !important;

  transition:
    background .28s ease,
    border-color .28s ease,
    transform .28s ease;
}


.mega-menu[data-mega="services"] .mega-icon svg {
  width:
    18px !important;

  height:
    18px !important;

  color:
    #079bd6 !important;

  transition:
    color .28s ease,
    transform .28s ease;
}


.mega-menu[data-mega="services"] .services-mega-grid > a:hover .mega-icon {
  border-color:
    rgba(115,225,249,.46);

  background:
    rgba(255,255,255,.09) !important;

  transform:
    translateY(-1px);
}


.mega-menu[data-mega="services"] .services-mega-grid > a:hover .mega-icon svg {
  color:
    #79e5fc !important;

  transform:
    scale(1.06);
}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1150px) {

  .mega-menu[data-mega="services"] .services-mega-layout {
    grid-template-columns:
      260px minmax(0,1fr) !important;

    gap:
      25px !important;
  }


  .mega-menu[data-mega="services"] .services-mega-grid {
    grid-template-columns:
      repeat(2,minmax(0,1fr)) !important;
  }


  .mega-menu[data-mega="services"] .services-mega-intro h3 {
    font-size:
      26px !important;
  }

}



/* =========================================================
   MOBILE
   Desktop mega normally hidden by mobile navigation,
   but keep layout safe.
   ========================================================= */

@media (max-width: 760px) {

  .mega-menu[data-mega="services"] .services-mega-layout {
    grid-template-columns:
      1fr !important;
  }


  .mega-menu[data-mega="services"] .services-mega-grid {
    grid-template-columns:
      1fr !important;
  }


  .mega-menu[data-mega="services"] .services-mega-intro {
    min-height:
      auto;

    padding:
      24px 22px;
  }

}


/* =========================================================
   SERVICES MEGA — STRONGER BACKGROUND TEXTURE
   ========================================================= */

.mega-menu[data-mega="services"] {
  background:

    /* soft cyan glow left */
    radial-gradient(
      circle at 14% 28%,
      rgba(26, 163, 214, .085),
      transparent 27%
    ),

    /* soft cyan glow right */
    radial-gradient(
      circle at 88% 68%,
      rgba(16, 135, 190, .065),
      transparent 29%
    ),

    /* large nautical/radar rings */
    radial-gradient(
      ellipse at 68% 48%,
      transparent 0%,
      transparent 35%,
      rgba(19, 139, 190, .060) 35.3%,
      transparent 35.9%,
      transparent 47%,
      rgba(19, 139, 190, .042) 47.3%,
      transparent 48%
    ),

    /* diagonal route-style pattern */
    repeating-linear-gradient(
      135deg,
      rgba(17, 139, 190, .030) 0,
      rgba(17, 139, 190, .030) 1px,
      transparent 1px,
      transparent 44px
    ),

    /* horizontal blueprint grid */
    linear-gradient(
      rgba(12, 130, 180, .032) 1px,
      transparent 1px
    ),

    /* vertical blueprint grid */
    linear-gradient(
      90deg,
      rgba(12, 130, 180, .027) 1px,
      transparent 1px
    ),

    /* base */
    linear-gradient(
      180deg,
      #f8fcfe 0%,
      #eef7fb 100%
    ) !important;

  background-size:
    auto,
    auto,
    auto,
    auto,
    72px 72px,
    72px 72px,
    auto !important;
}


/* subtle center route glow */
.mega-menu[data-mega="services"] .services-mega-layout::before {
  content: "" !important;

  position: absolute !important;

  left: 18% !important;
  right: 6% !important;
  top: 50% !important;

  height: 1px !important;

  pointer-events: none !important;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(39, 183, 225, .11),
      rgba(39, 183, 225, .05),
      transparent
    ) !important;

  transform: rotate(-4deg) !important;

  z-index: 0 !important;
}


.mega-menu[data-mega="services"] .services-mega-layout {
  position: relative !important;
}


.mega-menu[data-mega="services"] .services-mega-layout > * {
  position: relative !important;
  z-index: 1 !important;
}

