/* GLOBAL STYLES */
:root {
  --color-navy: #0B1F3A;
  --color-steel: #5A6772;
  --color-orange: #C46A2D;
  --color-bg-light: #F7F8FA;
  --color-white: #FFFFFF;
  --color-border: #E2E8F0;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--color-steel); line-height: 1.7; -webkit-font-smoothing: antialiased; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-navy); margin-bottom: 1rem; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 100px 0; }
.bg-light { background-color: var(--color-bg-light); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }

/* HEADER */
header { background: var(--color-white); border-bottom: 1px solid var(--color-border); padding: 1.25rem 0; position: sticky; top: 0; z-index: 1000; }
header .container { display: flex; justify-content: space-between; align-items: center; }
nav ul { list-style: none; display: flex; gap: 2.5rem; }
nav a { font-family: var(--font-heading); font-weight: 600; color: var(--color-navy); }
nav a:hover, nav a.active { color: var(--color-orange); }

/* HERO SECTION (Includes Overlay Logic) */
.page-hero { 
  position: relative; 
  padding: 120px 0; 
  background-color: var(--color-navy); 
  background-size: cover; 
  background-position: center; 
  text-align: center; 
  color: var(--color-white); 
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.85); /* Ensures white text is readable */
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--color-white); }
.page-hero p { color: #E2E8F0; font-size: 1.25rem; max-width: 700px; margin: 0 auto; }

/* COMPONENTS */
.card { background: var(--color-white); border: 1px solid var(--color-border); padding: 2.5rem; border-radius: 8px; transition: 0.3s; height: 100%; }
.card:hover { border-color: var(--color-orange); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.btn-primary { background: var(--color-orange); color: var(--color-white); padding: 16px 32px; border-radius: 4px; display: inline-flex; font-weight: 500; }

/* FOOTER */
footer { background: var(--color-navy); color: var(--color-white); padding: 5rem 0 2rem; }
.footer-grid { display: flex; justify-content: space-between; }
.footer-links { list-style: none; line-height: 2.5; }
.footer-links a { color: #A0ABC0; }

/* RESPONSIVE DESIGN (Crucial for Mobile) */
@media (max-width: 992px) {
  header .container { flex-direction: column; gap: 1.5rem; }
  nav ul { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; gap: 2rem; text-align: center; }
}