html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

#navbar {
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

#navbar.scrolled {
  background: rgba(11, 29, 51, 0.88) !important;
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

#navbar.scrolled .nav-link,
#navbar.scrolled .nav-logo {
  color: #ffffff !important;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  height: 68px;
  width: auto;
  display: block;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  height: 92px;
  width: auto;
  display: block;
}

#navbar.scrolled .nav-cta {
  background: #e8b931 !important;
  color: #0b1d33 !important;
  border-color: #e8b931 !important;
}

#mobile-drawer {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-drawer.open {
  transform: translateX(0);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 280px;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 76, 129, 0.08);
  box-shadow: 0 24px 60px rgba(11, 29, 51, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  color: #0b1d33;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-link:hover {
  background: rgba(15, 76, 129, 0.08);
  color: #0f4c81;
}

.mobile-submenu {
  margin-top: 0.65rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-submenu a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
}

.mobile-submenu a:hover {
  color: #e8b931;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f4c81, #0b1d33);
  color: #e8b931;
  border: 1px solid rgba(232, 185, 49, 0.28);
  box-shadow: 0 18px 35px rgba(11, 29, 51, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(11, 29, 51, 0.4);
  background: linear-gradient(135deg, #1a6bb5, #0f4c81);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.section-heading {
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  font-family: "DM Serif Display", Georgia, serif;
  line-height: 1.1;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-family: "DM Serif Display", Georgia, serif;
}

.accent-line {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: #e8b931;
  border-radius: 999px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: end;
  background-image:
    linear-gradient(180deg, rgba(7, 22, 39, 0.25) 0%, rgba(7, 22, 39, 0.54) 38%, rgba(7, 22, 39, 0.88) 100%),
    var(--hero-image, linear-gradient(135deg, #071627 0%, #0b1d33 42%, #0f4c81 100%)),
    radial-gradient(circle at 15% 20%, rgba(232, 185, 49, 0.18), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(26, 107, 181, 0.24), transparent 28%);
  background-size: auto, cover, auto, auto;
  background-position: center, center, 15% 20%, 80% 18%;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 85%);
  opacity: 0.22;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 260px;
  background: linear-gradient(to bottom, rgba(11, 29, 51, 0), rgba(11, 29, 51, 0.72));
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.55;
}

.hero-orb.one {
  width: 280px;
  height: 280px;
  left: -80px;
  top: 90px;
  background: rgba(232, 185, 49, 0.2);
}

.hero-orb.two {
  width: 320px;
  height: 320px;
  right: -80px;
  bottom: 60px;
  background: rgba(26, 107, 181, 0.25);
}

.hero-kicker {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e8b931;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.page-hero-media .glass-panel {
  background: rgba(255, 255, 255, 0.1);
}

.hero-metric {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reveal-up {
  opacity: 0;
  transform: translateY(46px);
}

.reveal-in {
  opacity: 0;
}

.stagger-card {
  opacity: 0;
  transform: translateY(54px);
}

.detail-card {
  background: #fff;
  border: 1px solid rgba(15, 76, 129, 0.08);
  border-radius: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(15, 76, 129, 0.14);
  border-color: rgba(15, 76, 129, 0.16);
}

.placeholder-panel {
  position: relative;
  min-height: 320px;
  border-radius: 1.5rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10, 53, 88, 0.94), rgba(15, 76, 129, 0.76)),
    linear-gradient(180deg, rgba(232, 185, 49, 0.2), transparent);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(11, 29, 51, 0.22);
}

.image-panel {
  position: relative;
  min-height: 320px;
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: #0b1d33;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(11, 29, 51, 0.22);
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 29, 51, 0.08), rgba(11, 29, 51, 0.35));
}

.hero-background-card.image-panel {
  min-height: 260px;
}

.hero-background-card {
  min-height: 260px;
}

.placeholder-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 1.1rem;
}

.placeholder-panel::after {
  content: "";
  position: absolute;
  inset: auto -12% -28% auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(232, 185, 49, 0.16);
  filter: blur(8px);
}

.placeholder-label {
  position: relative;
  z-index: 1;
}

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: rgba(15, 76, 129, 0.08);
  color: #0f4c81;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-chip::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #e8b931;
}

.band-panel {
  background: linear-gradient(135deg, #0b1d33 0%, #10355b 100%);
  border-radius: 1.75rem;
  overflow: hidden;
  position: relative;
}

.band-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(232, 185, 49, 0.2), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
}

.metric-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
}

.quote-card {
  background: #fff;
  border: 1px solid rgba(15, 76, 129, 0.08);
  border-radius: 1.5rem;
  position: relative;
}

.quote-mark {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: #e8b931;
}

.form-input {
  width: 100%;
  padding: 0.82rem 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 0.8rem;
  background: #fff;
  color: #111827;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: #0f4c81;
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-feedback.success {
  background: rgba(15, 76, 129, 0.08);
  border: 1px solid rgba(15, 76, 129, 0.14);
  color: #0f4c81;
}

.form-feedback.error {
  background: rgba(127, 29, 29, 0.06);
  border: 1px solid rgba(185, 28, 28, 0.14);
  color: #991b1b;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f4c81;
  font-weight: 600;
}

.cta-link svg {
  transition: transform 0.2s ease;
}

.cta-link:hover svg {
  transform: translateX(4px);
}

.current-page {
  color: #e8b931 !important;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #0f4c81;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: auto;
    padding-top: 7.5rem;
    padding-bottom: 5rem;
  }

  .placeholder-panel {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-in,
  .stagger-card {
    opacity: 1 !important;
    transform: none !important;
  }
}
