/* ===== CSS Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0b1d4f;
  --royal:       #1e3a8a;
  --blue:        #2563eb;
  --mid-blue:    #3b82f6;
  --light-blue:  #60a5fa;
  --sky:         #dbeafe;
  --white:       #ffffff;
  --off-white:   #f0f5ff;
  --gold:        #f59e0b;
  --gold-hover:  #d97706;
  --text-dark:   #1e293b;
  --text-muted:  #475569;
  --radius:      12px;
  --shadow:      0 4px 16px rgba(11,29,79,0.10);
  --shadow-lg:   0 8px 32px rgba(11,29,79,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Utility ===== */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.05rem;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
  min-height: 48px;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-white {
  background: var(--white);
  color: var(--royal);
  border: 2px solid var(--royal);
}
.btn-white:hover { background: var(--sky); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,29,79,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}
.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links .btn { padding: 8px 20px; font-size: 0.9rem; min-height: auto; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 12px;
}
.footer p, .footer a { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer a:hover { color: var(--white); }
.footer ul li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== Shared Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-toggle { display: flex; }

  .section { padding: 44px 0; }
  .section-title { font-size: 1.4rem; }
}
