:root {
  --bg: #0a0e1a;
  --bg-2: #0f1424;
  --bg-3: #141b30;
  --line: #1f2940;
  --gold: #d4a017;
  --gold-2: #f4cf5b;
  --cream: #f5e6c8;
  --muted: #9aa3b8;
  --text: #e8ecf5;
}

* { box-sizing: border-box; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-feature-settings: "ss01","cv11";
  line-height: 1.65;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.15; margin-bottom: 1rem; }
h3 { font-size: 1.45rem; }
p { color: #cfd5e6; }

a { color: var(--gold-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

.gold { color: var(--gold); }
.cream { color: var(--cream); }
.muted { color: var(--muted); }

.bg-deep { background: var(--bg); }
.bg-soft { background: var(--bg-2); }
.bg-card { background: var(--bg-3); }

/* Navbar */
.navbar-dai {
  background: rgba(10,14,26,.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
  position: sticky; top: 0; z-index: 1030;
}
.navbar-dai .navbar-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.navbar-dai .navbar-brand span { color: var(--gold); }
.navbar-dai .nav-link {
  color: #cfd5e6 !important;
  font-size: 0.92rem;
  padding: 0.5rem 0.9rem !important;
  position: relative;
}
.navbar-dai .nav-link:hover, .navbar-dai .nav-link.active { color: var(--gold-2) !important; }
.navbar-dai .dropdown-menu {
  background: #0e1426; border: 1px solid var(--line); border-radius: 14px; padding: .6rem;
  min-width: 280px;
}
.navbar-dai .dropdown-item {
  color: #d8dcec; border-radius: 10px; padding: .55rem .8rem; font-size: .9rem;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.navbar-dai .dropdown-item:hover { background: #19213a; color: var(--gold-2); }
.navbar-dai .dropdown-item small {
  display:block; color: var(--muted); font-size:.75rem;
  white-space: normal; line-height: 1.4; margin-top: .15rem;
}

/* Mobile: keep dropdown items inside viewport */
@media (max-width: 991.98px) {
  .navbar-dai .dropdown-menu {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .navbar-dai .dropdown-item { max-width: 100%; }
  .navbar-dai .navbar-collapse {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Buttons */
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1306;
  border: 0;
  font-weight: 600;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 8px 30px -10px rgba(212,160,23,.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(212,160,23,.7); color:#1a1306; }
.btn-outline-cream {
  background: transparent; color: var(--cream); border: 1px solid #2a3554;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 500;
  transition: all .2s ease;
}
.btn-outline-cream:hover { border-color: var(--gold); color: var(--gold-2); }

/* Hero */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero::before {
  content:""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(212,160,23,.10), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(80,140,255,.08), transparent 55%);
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .35rem .8rem;
  border: 1px solid rgba(212,160,23,.35);
  border-radius: 999px;
  background: rgba(212,160,23,.06);
}
.hero-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), inset 0 0 0 1px var(--line);
}
.hero-img-wrap img { width: 100%; height: auto; display: block; }

/* Cards */
.dept-card {
  background: linear-gradient(180deg, #131a2e 0%, #0e1426 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.5rem;
  height: 100%;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .25s, box-shadow .35s;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.dept-card::before {
  content:""; position:absolute; inset:-1px;
  background: linear-gradient(135deg, rgba(212,160,23,.0), rgba(212,160,23,.0));
  border-radius: 20px; opacity:0; transition: opacity .35s; pointer-events:none;
}
.dept-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,160,23,.45);
  box-shadow: 0 30px 60px -30px rgba(212,160,23,.25);
}
.dept-card .lion {
  width: 100%; aspect-ratio: 1/1; border-radius: 14px; overflow: hidden;
  background: #07091a; margin-bottom: 1.1rem;
  display:flex; align-items:center; justify-content:center;
}
.dept-card .lion img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dept-card:hover .lion img { transform: scale(1.06); }
.dept-card h3 { margin: 0 0 .4rem; }
.dept-card .tag { font-size: .72rem; letter-spacing:.18em; text-transform: uppercase; color: var(--gold); }
.dept-card p { color: #b8c0d4; font-size: .95rem; margin: .6rem 0 1rem; }
.dept-card .more { margin-top: auto; font-size: .85rem; color: var(--gold-2); }

/* Section */
section { padding: 5rem 0; }
section .container { max-width: 1200px; }
.section-title { margin-bottom: 2.5rem; }
.section-title .eyebrow { margin-bottom: 1rem; }

/* Stats */
.stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  background: linear-gradient(180deg, #121a30, #0d1324);
  height: 100%;
}
.stat .num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem; color: var(--gold-2); line-height: 1;
}
.stat .lbl { color: var(--muted); font-size: .9rem; margin-top:.4rem; }

/* KPI table */
.kpi-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.kpi-table th, .kpi-table td {
  padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line);
}
.kpi-table th { color: var(--gold); font-weight: 500; font-size: .8rem; letter-spacing:.14em; text-transform: uppercase; }
.kpi-table td { color: #d5dcef; font-size: .95rem; }
.kpi-table tr:last-child td { border-bottom: 0; }

/* Pillars list */
.pillars { display: grid; gap: 1rem; }
.pillar {
  border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.3rem;
  background: #0f1527;
}
.pillar h4 { margin: 0 0 .35rem; font-family:"Inter",sans-serif; font-size: 1.05rem; color: var(--cream); font-weight: 600; }
.pillar p { margin: 0; color: #b8c0d4; font-size:.93rem; }

/* Workflow */
.flow {
  display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.flow .step {
  border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; background: #0f1527; position: relative;
}
.flow .step .n {
  font-family:"Cormorant Garamond",serif; font-size: 2rem; color: var(--gold); line-height: 1;
}
.flow .step h5 { margin: .4rem 0 .3rem; color: var(--cream); }
.flow .step p { margin:0; color:#b8c0d4; font-size:.9rem; }

/* Dept hero */
.dept-hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 30% 10%, rgba(212,160,23,.08), transparent 60%);
}
.dept-hero .lion-large {
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), inset 0 0 0 1px var(--line);
}
.dept-hero .lion-large img { width:100%; height:auto; display:block; }

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  background: #07091a;
}
footer.site-footer h5 { font-family:"Inter",sans-serif; font-size:.85rem; letter-spacing:.18em; text-transform:uppercase; color: var(--gold); margin-bottom: 1rem; }
footer.site-footer a { color: #c8cee0; display:block; padding: .25rem 0; font-size:.92rem; }
footer.site-footer a:hover { color: var(--gold-2); }
footer .brand-line { color: var(--muted); font-size:.85rem; margin-top: 2rem; padding-top:1.5rem; border-top: 1px solid var(--line); }

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, #0f1527 0%, #1a1306 120%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4rem 0;
  text-align: center;
}

/* Lead */
.lead-lg { font-size: 1.15rem; color: #d6dcef; max-width: 760px; }

/* Two-col content */
.two-col p { color:#cfd5e6; }

/* Tag list */
.tag-list { display:flex; flex-wrap:wrap; gap:.5rem; }
.tag-list span {
  font-size:.78rem; letter-spacing:.1em; text-transform:uppercase;
  padding:.35rem .7rem; border:1px solid var(--line); border-radius: 999px;
  color: #cfd5e6; background:#0f1527;
}

/* Quote */
.quote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.4rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  color: var(--cream);
  background: #0e1426;
  border-radius: 0 14px 14px 0;
}

/* Form */
.form-control, .form-select {
  background:#0e1426; border:1px solid var(--line); color: var(--text);
  padding: .85rem 1rem; border-radius: 12px;
}
.form-control:focus, .form-select:focus {
  background:#0e1426; color: var(--text); border-color: var(--gold);
  box-shadow: 0 0 0 .15rem rgba(212,160,23,.15);
}
label { color: #c8cee0; font-size:.9rem; margin-bottom:.3rem; }

/* Animations */
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.floaty { animation: floaty 6s ease-in-out infinite; }

@keyframes shine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shine {
  background: linear-gradient(90deg, var(--cream) 0%, var(--gold-2) 50%, var(--cream) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}

/* Reveal */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
html.js .reveal.in { opacity:1; transform: translateY(0); }

/* Responsive tweaks */
@media (max-width: 768px) {
  section { padding: 3.2rem 0; }
  .hero { padding: 3.5rem 0 2.5rem; }
}
/* Brand logo image */
.navbar-brand { padding: 0; }
.navbar-brand .brand-logo { height: 40px; width: auto; display: block; }
.navbar-brand .brand-logo-footer { height: 52px; width: auto; margin-bottom: .5rem; }
@media (max-width: 575.98px) {
  .navbar-brand .brand-logo { height: 32px; }
}
