/* sun2X — shared styles */
body { font-family: 'Inter', sans-serif; scroll-behavior: smooth; }

.gradient-hero {
  background: linear-gradient(135deg, rgba(15,36,89,0.92) 0%, rgba(26,58,143,0.88) 50%, rgba(26,58,143,0.7) 100%);
}
.gold-underline { position: relative; }
.gold-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -10px;
  width: 56px; height: 4px;
  background: #F0A500;
  border-radius: 2px;
}
.card-hover { transition: all 0.35s cubic-bezier(.2,.8,.2,1); }
.card-hover:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -10px rgba(26,58,143,0.25); }
.phase-circle { background: radial-gradient(circle, #F0A500 0%, #C98600 100%); }
.fade-in { animation: fadeIn 0.8s ease-out forwards; opacity: 0; }
@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } from { transform: translateY(18px); } }
.nav-link { position: relative; }
.nav-link::after {
  content:''; position:absolute; left:0; bottom:-4px; width:0%; height:2px; background:#F0A500; transition: width .25s ease;
}
.nav-link:hover::after { width:100%; }
.nav-link.active { color: #1A3A8F; }
.nav-link.active::after { width:100%; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: #1A3A8F; border-radius: 4px; }
.stat-number { font-variant-numeric: tabular-nums; }

/* Custom circular diagram nodes (used on Our Approach page) */
.diagram-node { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.diagram-node:hover { transform: translate(-50%,-50%) scale(1.08) !important; z-index: 10; }
.diagram-photo-ring { transition: box-shadow .3s ease; }
.diagram-node:hover .diagram-photo-ring {
  box-shadow: 0 0 0 5px #F0A500, 0 18px 30px -8px rgba(15,36,89,0.4);
}
.diagram-label { transition: color .25s ease; }
.diagram-node:hover .diagram-label { color: #F0A500; }

/* ── Blog dropdown submenu ───────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 32px -8px rgba(15,36,89,0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  transform: translateX(-50%) translateY(-6px);
  z-index: 100;
  overflow: hidden;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* small triangle pointer */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 7px 7px;
  border-style: solid;
  border-color: transparent transparent #e5e7eb;
}
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent #fff;
}

.nav-dropdown-header {
  padding: 10px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b7280;
  border-bottom: 1px solid #f3f4f6;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #0F2459;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
  border-bottom: 1px solid #f9fafb;
}
.nav-dropdown-item:last-child { border-bottom: none; }
.nav-dropdown-item:hover {
  background: #f9fafb;
  color: #F0A500;
}
.nav-dropdown-item .nav-dd-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #F0A500;
  flex-shrink: 0;
}
.nav-dropdown-item .nav-dd-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 1px 6px;
  border-radius: 99px;
  white-space: nowrap;
}

/* Mobile blog sub-toggle */
.mobile-sub {
  display: none;
  padding-left: 1rem;
  border-left: 2px solid #F0A500;
  margin-left: .5rem;
}
.mobile-sub a { color: #1A3A8F; font-size: 13px; }
.mobile-sub.open { display: block; }

/* chevron icon */
.nav-dd-chevron {
  display: inline-block;
  margin-left: 3px;
  vertical-align: middle;
  transition: transform .2s ease;
}
.nav-dropdown:hover .nav-dd-chevron { transform: rotate(180deg); }
