/* ============================================
   TOKENS (True Moderate Theme - No pitch black, no stark white)
============================================ */
:root {
  --navy-900: #0a1936;
  --navy-800: #112a57;
  --navy-700: #1a3d7d;
  --blue-600: #2764db;
  --blue-500: #3e78e6;
  --blue-400: #6f9dff;
  --gold-500: #c9a227;
  --gold-400: #e0bf52;
  --gold-300: #f2d77d;
  --ink-900: #1b2538;
  --slate-600: #5a6880;
  --slate-400: #8f9cb5;

  --bg-light: #f5f8fc;
  /* Slightly cool off-white/grey */
  --bg-panel: #ffffff;
  /* White panels for contrast */
  --bg-alt: #e8edf5;
  /* Deeper cool grey for moderate sections */

  --line: #dde4f0;
  --white: #ffffff;
  --shadow-lg: 0 20px 50px -15px rgba(10, 31, 68, .12);
  --shadow-sm: 0 8px 24px -12px rgba(10, 31, 68, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: 'Inter', sans-serif;
  color: var(--ink-900);
  background: var(--bg-light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: 'Fraunces', serif;
  letter-spacing: -0.01em;
}

p {
  color: var(--slate-600);
}

a {
  text-decoration: none;
}

::selection {
  background: var(--gold-400);
  color: var(--navy-900);
}

.container-xl {
  max-width: 1240px;
}

.bg-panel {
  background: var(--bg-panel);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.section-pad {
  padding: 110px 0;
}

@media(max-width:768px) {
  .section-pad {
    padding: 72px 0;
  }
}

/* ============================================
   REVEAL ANIMATION (Smoother)
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation: none !important;
  }
}

/* ============================================
   NAVBAR (Always Dark Text for Moderate Theme)
============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all .4s ease;
  background: transparent;
}

.site-nav.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px -14px rgba(10, 31, 68, .1);
}

.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  width: 82px;
  height: 82px;
  border-radius: 9px;
  background: var(--white);
  padding: 4px;
  box-shadow: var(--shadow-sm);
  transition: all .4s ease;
  object-fit: contain;
}

.nav-brand-text {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: .02em;
  color: var(--navy-900);
  line-height: 1.1;
  transition: color .3s ease;
}

.nav-brand-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.site-nav .nav-link {
  font-weight: 600;
  font-size: .92rem;
  color: var(--slate-600) !important;
  margin: 0 6px;
  padding: 8px 4px !important;
  position: relative;
  transition: color .3s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--navy-800) !important;
}

.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 2px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
  transform: scaleX(1);
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900) !important;
  font-weight: 700;
  font-size: .86rem;
  padding: 9px 24px;
  border-radius: 30px;
  box-shadow: 0 8px 20px -8px rgba(201, 162, 39, .5);
  transition: transform .3s ease, box-shadow .3s ease;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(201, 162, 39, .6);
}

.navbar-toggler {
  border: 1px solid rgba(10, 31, 68, .1);
  padding: 6px 10px;
  border-radius: 8px;
}

.navbar-toggler .bi {
  font-size: 1.5rem;
  color: var(--navy-800);
  transition: color .3s ease;
}

.navbar-toggler:focus {
  box-shadow: none;
}

@media(max-width:991.5px) {
  .site-nav {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
  }

  .site-nav .navbar-collapse {
    background: var(--white);
    margin-top: 16px;
    padding: 18px 22px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
  }

  .btn-nav-cta {
    display: inline-block;
    margin-top: 8px;
  }
}

/* ============================================
   FOOTER (Keep it professional dark)
============================================ */
footer.site-footer {
  background: var(--ink-900);
  color: #a9b6d1;
  padding: 80px 0 30px;
}

.footer-logo-card {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .6);
}

.footer-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

footer h5 {
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 14px;
}

footer ul li a {
  color: #a9b6d1;
  font-size: .92rem;
  transition: color .25s ease;
}

footer ul li a:hover {
  color: var(--gold-400);
}

footer p.desc {
  font-size: .92rem;
  line-height: 1.8;
  color: #93a3c4;
  max-width: 340px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #dce6ff;
  margin-right: 10px;
  transition: all .3s ease;
}

.footer-social a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 60px;
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: #7c8aa3;
}

.footer-bottom a {
  color: #7c8aa3;
}

.footer-bottom a:hover {
  color: var(--gold-400);
}
/* ============================================
   BUTTON STYLES
============================================ */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900) !important;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -8px rgba(201, 162, 39, 0.5);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -8px rgba(201, 162, 39, 0.6);
  color: var(--navy-900);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy-800) !important;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy-800);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-outline-navy:hover {
  background: var(--navy-800);
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -8px rgba(10, 31, 68, 0.4);
}
