/* ============================================
   ORION IPJ — Main Stylesheet
   ============================================ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0E557D;
  --blue: #03678E;
  --red: #C32126;
  --white: #FFFFFF;
  --navy-mid: #0a4a6e;
  --light-gray: #f5f7f9;
  --text-dark: #1a2a38;
  --text-mid: #4a6070;
}

html { scroll-behavior: smooth; }

body {
  font-family: Montserrat;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
.navbar-wrap {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 1100px;
}

nav {
  background: rgba(255,255,255,0.97);
  border-radius: 50px;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Navbar logo image */
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--navy); font-weight: 600; }

/* ─── CONTAINER ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── SECTION BASE ─── */
section { padding: 80px 0; }

.section-eyebrow {
  width: 40px;
  height: 4px;
  background: var(--navy);
  margin-bottom: 16px;
  border-radius: 2px;
}

.section-eyebrow.light { background: var(--white); }

.section-title {
  font-family: Montserrat;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.section-title.light { color: var(--white); }
.section-title.dark  { color: var(--white); }

/* ─── FOOTER ─── */
footer {
  background: var(--white);
  padding: 56px 0 24px;
  border-top: 1px solid #e8eef2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e8eef2;
  margin-bottom: 24px;
}

/* Footer logo image */
.footer-logo-area a {
  display: inline-block;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 8px;
}

.footer-col h4 {
  font-family: Montserrat;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--navy);
  margin-bottom: 16px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
  margin-bottom: 8px;
  margin-top: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.footer-col ul li a {
  text-decoration: none;
  color: var(--text-mid);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--navy); }

.footer-col p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 6px;
}

.footer-col a {
  color: var(--navy);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 11px;
  color: #aab5be;
  letter-spacing: 0.3px;
}

/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible   { opacity: 1; transform: translateY(0); }
.reveal-delay-1   { transition-delay: 0.1s; }
.reveal-delay-2   { transition-delay: 0.2s; }
.reveal-delay-3   { transition-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── HAMBURGER BUTTON ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU OVERLAY ─── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14,85,125,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open a                { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1)   { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2)   { transition-delay: 0.10s; }
.mobile-menu.open a:nth-child(3)   { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4)   { transition-delay: 0.20s; }

/* ─── RESPONSIVE — TABLET (max 900px) ─── */
@media (max-width: 900px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ─── RESPONSIVE — MOBILE (max 600px) ─── */
@media (max-width: 600px) {
  .navbar-wrap {
    top: 12px;
    width: calc(100% - 24px);
  }

  nav { padding: 10px 20px; }

  .logo-img { height: 36px; }

  section { padding: 56px 0; }

  .container { padding: 0 20px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
