/* ===== SHARED: Logo, Blog Dropdown, Footer Waves, Mobile Toggle ===== */

/* Logo */
.logo { font-size: 1.5rem; font-weight: 800; color: #E63946; display: flex; align-items: center; }
.logo span { color: #1D3557; }
.logo-icon { width: 28px; height: 28px; border-radius: 6px; margin-right: 4px; }

/* Mobile toggle */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: #1D3557; border-radius: 2px; transition: 0.3s; }

/* Blog dropdown */
.nav-blog-wrapper { position: relative; }
.nav-blog-trigger { cursor: pointer; display: inline-block; }
.blog-dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
  background: transparent;
  min-width: 380px;
  z-index: 200;
}
.blog-dropdown-inner-wrap {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  overflow: hidden;
  border: 1px solid #f0f0f0;
}
.blog-dropdown.open { display: block; }
.nav-blog-wrapper:hover .blog-dropdown { display: block; }
.blog-dropdown-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  transition: background 0.15s;
  border-bottom: 1px solid #f8f8f8;
}
.blog-dropdown-item:last-of-type { border-bottom: none; }
.blog-dropdown-item:hover { background: #FFF5F5; }
.blog-dropdown-all {
  display: block;
  text-align: center;
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 600 !important;
  color: #E63946 !important;
  border-top: 1px solid #f0f0f0;
  transition: background 0.15s;
}
.blog-dropdown-all:hover { background: #FFF5F5; }
.blog-item-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.blog-item-text { display: flex; flex-direction: column; gap: 3px; }
.blog-item-text strong { font-size: 0.9rem; color: #1D3557; font-weight: 600; }
.blog-item-text small { font-size: 0.78rem; color: #888; line-height: 1.4; }

/* Footer waves */
.footer-waves-wrapper {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: transparent;
  margin-bottom: -5px;
}
.footer-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 150px;
  pointer-events: none;
}
.footer-waves svg {
  width: 100%;
  height: 100%;
  display: block;
}
.wave-1 { fill: rgba(29, 53, 87, 0.15); }
.wave-2 { fill: rgba(29, 53, 87, 0.4); }
.wave-3 { fill: #0f1f38; }
.footer-wave-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}
.footer-wave-layer:nth-child(1) { animation: waveSlide 8s ease-in-out infinite alternate; }
.footer-wave-layer:nth-child(2) { animation: waveSlide 6s ease-in-out infinite alternate-reverse; }
.footer-wave-layer:nth-child(3) { animation: waveSlide 10s ease-in-out infinite alternate; }
@keyframes waveSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Footer base */
.footer {
  background: #0f1f38;
  color: rgba(255,255,255,0.6);
  margin-top: 0;
}
.footer-brand { text-align: center; }
.footer-brand .logo { font-size: 1.3rem; justify-content: center; }
.footer-brand p { color: rgba(255,255,255,0.4); }
.footer-links { display: flex; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact a { transition: color 0.2s; }
.footer-contact a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,0.3); border-top: 1px solid rgba(255,255,255,0.08); width: 100%; text-align: center; }
