/* =========================
   MESCART (final cleaned CSS)
   ========================= */

/* Brand palette */
:root{
  --brand-deep: #0B2A55;        /* Deep Tech Blue */
  --brand-mid: #1E7FBF;         /* Mid Blue */
  --brand-cyan: #4FC3E8;
  --brand-yellow: #FFC83D;
  --brand-orange: #F7941D;
  --brand-deeporange: #F36F21;

  --ui-border: rgba(11,42,85,0.12);
  --grad-menu: linear-gradient(180deg, #0B2A55 0%, #081f3f 100%);
}

/* Base */
body {
  background: #fff;
  color: #111;
}

/* Logo */
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}

/* =========================
   TOP BAR (WHITE)
   ========================= */

.topbar-white {
  background: #ffffff;                  /* WHITE */
  border-bottom: 1px solid var(--ui-border);
}

/* Icon buttons – icon only, no boxes */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--brand-deep);             /* dark blue icons */
  font-size: 20px;
  text-decoration: none;
  padding: 6px;

  transition: color 120ms ease, transform 120ms ease;
}

.icon-btn:hover {
  color: var(--brand-orange);
  transform: translateY(-1px);
}

/* Notification dot */
.badge-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  background: var(--brand-orange);
  border-radius: 50%;
  border: 2px solid #ffffff;
}

/* =========================
   BLUE MENU BAR
   ========================= */

.menurow-blue {
  background: var(--grad-menu);
  border-bottom: 1px solid rgba(0,0,0,0.25);
  padding: 10px 0;
}

/* Main navigation */
.mainnav {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

/* Menu links */
.navlink {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.95;

  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  line-height: 1;

  position: relative;
  transition: color 120ms ease, opacity 120ms ease;
}

.navlink:hover {
  color: var(--brand-orange);
  opacity: 1;
}

/* FORCE REMOVE underline indicator completely */
.navlink::after,
.navlink:hover::after,
.navlink:focus::after,
.navlink:active::after {
  content: none !important;
  display: none !important;
}

.navlink,
.navlink:hover,
.navlink:focus,
.navlink:active {
  border-bottom: none !important;
  box-shadow: none !important;
}

.caret {
  font-size: 10px;
  margin-left: 4px;
}

/* =========================
   FEATURE STRIP
   ========================= */

.feature-strip {
  background: #dbe7f7;
  border-bottom: 1px solid rgba(11,42,85,0.10);
}

.features {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
}

.feature i {
  font-size: 16px;
  color: var(--brand-mid);
}

/* =========================
   SEARCH DROPDOWN
   ========================= */

.search-box {
  position: absolute;
  top: 42px;
  right: 0;
  width: 360px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(11,42,85,0.16);
  border-radius: 0;                 /* square */
  box-shadow: 0 10px 30px rgba(11,42,85,0.18);
  display: none;
  z-index: 1000;
}

/* Input */
.search-input {
  height: 42px;
  font-size: 14px;
  border-radius: 0;
  border-right: none;
  border-color: rgba(11,42,85,0.18);
}

.search-input:focus {
  box-shadow: none;
  border-color: rgba(30,127,191,0.55);
}

/* Button */
.search-go {
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;

  background-color: var(--brand-deep);
  color: #ffffff;
  border: 1px solid var(--brand-deep);
  border-radius: 0;

  transition: background-color 120ms ease, border-color 120ms ease;
}

.search-go:hover {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
}

/* =========================
   NAV DROPDOWNS
   ========================= */

.navitem {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;                     /* NO GAP */
  width: 520px;
  background: #ffffff;
  border: 1px solid rgba(11,42,85,0.16);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(11,42,85,0.18);
  padding: 12px;
  padding-top: 22px;                 /* internal spacing */
  display: none;
  z-index: 2000;
}

/* JS click-open */
.has-dropdown.open .dropdown-panel {
  display: block;
}

/* Desktop hover-open */
@media (hover: hover) and (pointer: fine) {
  .has-dropdown:hover .dropdown-panel {
    display: block;
  }
}

/* Dropdown grid */
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Dropdown links */
.dd-link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(11,42,85,0.08);
  background: #ffffff;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.dd-link:hover {
  background: rgba(79,195,232,0.12);
  border-color: rgba(30,127,191,0.22);
  transform: translateY(-1px);
}

.dd-title {
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 13px;
}

.dd-sub {
  margin-top: 4px;
  color: rgba(11,42,85,0.70);
  font-size: 12px;
}
