:root {
  --navy: #0A2540;
  --charcoal: #1A2332;
  --grey: #4A5568;
  --light: #F7F9FC;
  --white: #FFFFFF;
  --accent: #1E4D8C;
  --gold: #C9A96E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(10, 37, 64, 0.08);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, #163A5F 50%, var(--charcoal) 100%);
  color: var(--white);
  overflow: hidden;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(30, 77, 140, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(201, 169, 110, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  padding: 40px 24px;
  z-index: 1;
}

.hero-logo {
  height: 80px;
  width: auto;
  margin-bottom: 32px;
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.subtitle {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
  color: var(--navy);
}

.section-subtitle {
  text-align: center;
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 17px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--grey);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stat {
  padding: 28px;
  background: var(--light);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Source Serif 4', serif;
}

.stat-label {
  font-size: 14px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Services */
.services {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  padding: 40px 28px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.12);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p {
  color: var(--grey);
  font-size: 15px;
}

/* Clients */
.clients-logos {
  text-align: center;
  margin-top: 40px;
}

.clients-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  background: transparent;
  padding: 20px 0;
}

/* Contact */
.contact-form-wrapper {
  max-width: 560px;
  margin: 48px auto 0;
}

.contact-form {
  background: var(--light);
  padding: 40px;
  border-radius: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  font-size: 12px;
  color: var(--grey);
  margin-top: 12px;
  font-style: italic;
}

/* Footer */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 12px;
}

.footer-tagline {
  opacity: 0.8;
  font-size: 15px;
  font-style: italic;
}

.footer-contact h4,
.footer-links h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-contact p,
.footer-links li {
  margin-bottom: 8px;
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.5;
}

.footer-contact a,
.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-contact a:hover,
.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  opacity: 0.75;
  font-size: 13px;
  margin-bottom: 6px;
}

.legal {
  font-size: 12px;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Animations */
.animate-fade,
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.animate-up {
  animation-delay: 0.2s;
}

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

/* Scroll-triggered */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
