/* styles.css */
:root {
  --primary-blue: #0b3d91;
  --light-blue: #e6f0ff;
  --dark-blue: #062356;
  --accent-cta: #ff6b00;
  --accent-cta-hover: #e05e00;
  --text-dark: #222;
  --text-light: #555;
  --white: #ffffff;
  --bg-gray: #f9fafc;
  --border-color: #ddd;
  --container-width: 1200px;
  --reading-width: 800px;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--dark-blue);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 2rem; }
h3 { font-size: 1.5rem; margin-top: 1.5rem; }

p, ul, ol {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

ul {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.reading-container {
  width: 100%;
  max-width: var(--reading-width);
  margin: 0 auto;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: none;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--primary-blue);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 4px;
  min-width: 250px;
  flex-direction: column;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown-menu.active {
  display: flex;
}

.dropdown-menu a {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--light-blue);
  color: var(--primary-blue);
}

.btn-call {
  background-color: var(--accent-cta);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-block;
  transition: background-color 0.3s;
}

.btn-call:hover {
  background-color: var(--accent-cta-hover);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-blue);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  box-shadow: 0 10px 10px rgba(0,0,0,0.05);
  padding: 1rem;
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile a {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
}

/* Hero Section */
.hero {
  background: var(--light-blue);
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.hero .btn-call {
  font-size: 1.25rem;
  padding: 1rem 2rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--bg-gray);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Call Box */
.call-box {
  background: var(--primary-blue);
  color: var(--white);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  margin: 3rem 0;
}

.call-box h2 {
  color: var(--white);
  margin-top: 0;
}

.call-box p {
  color: var(--light-blue);
  font-size: 1.1rem;
}

/* Sticky Mobile Bar */
.sticky-mobile-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent-cta);
  padding: 1rem;
  text-align: center;
  z-index: 99;
}

.sticky-mobile-call a {
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  display: block;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  background: var(--bg-gray);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--text-light);
}

/* Footer */
footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-col a {
  color: var(--light-blue);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: var(--light-blue);
}

.footer-bottom a {
  color: var(--light-blue);
}

/* Media Queries */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .sticky-mobile-call {
    display: block;
  }
  body {
    padding-bottom: 60px; /* space for sticky bar */
  }
}

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