/* Eagle Guard Insurance - Styles */

/* Color Palette */
:root {
  --primary-navy: #0f2e4f;
  --accent-teal: #2f5e58;
  --bg-light: #f8f8f8;
  --text-secondary: #707071;
  --footer-bg: rgb(31, 41, 55);
  --border-gray: #e5e7eb;
  --hero-light-gray: #b5b8b9;
  --white: #ffffff;
  --card-bg: #ffffff;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-gray);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  transition: opacity 0.2s;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background-color: var(--primary-navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-navy);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--primary-navy);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-weight: 500;
  border-radius: 0.375rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary-navy);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #0a1f35;
}

nav .btn-primary:hover {
  background-color: var(--accent-teal);
  transform: scale(0.98);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-navy);
}

.btn-secondary:hover {
  background-color: var(--bg-light);
}

.hero .btn-secondary {
  background-color: #e5e7eb;
  color: var(--primary-navy);
  border-color: #b5b8b9;
}

.hero .btn-secondary:hover {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
  transform: scale(0.98);
}

.how-it-works .btn-secondary:hover {
  background-color: var(--accent-teal);
  color: var(--white);
  transform: scale(0.98);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-navy);
  transform: scale(0.98);
}

.hero .btn-outline:hover {
  background-color: #e5e7eb;
  color: var(--primary-navy);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(0.98);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Hamburger Button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-navy);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 6rem 2rem 2rem;
}

.mobile-menu-link {
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  border-bottom: 1px solid var(--border-gray);
  transition: color 0.2s;
}

.mobile-menu-link:hover {
  color: var(--primary-navy);
}

.mobile-menu .btn {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  background-color: #1e3a5f;
  color: var(--white);
  overflow: hidden;
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 0;
  }
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-weight: 700;
  color: var(--white);
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  color: var(--hero-light-gray);
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero p {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-buttons .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .hero-buttons .btn {
    width: auto;
  }
}

/* Section Styles */
section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 5rem 0;
  }
}

.section-light {
  background-color: #f8f8f8;
}

#exclusive-coverage {
  background-color: var(--white);
}

.section-dark {
  background-color: var(--primary-navy);
  color: var(--white);
}

.section-dark h2, .section-dark h3 {
  color: var(--white);
}

.section-title {
  font-size: 1.875rem;
  margin-bottom: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Cards */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-gray);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s;
}

.section-light .card {
  background-color: var(--card-bg);
}

.card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

#exclusive-coverage .card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #c8cfd8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary-navy);
}

.section-light:not(#why-choose) .card-icon svg {
  color: var(--accent-teal);
}

.section-dark .card-icon {
  background-color: #c8cfd8;
}

.section-dark .card-icon svg {
  color: var(--accent-teal);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.card-description {
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.75;
}

#why-choose {
  background-color: #e5e7eb;
}

#why-choose .section-title {
  margin-bottom: 3rem;
}

#why-choose .card-icon {
  background-color: #b5b8b9;
}

#why-choose .card-icon svg {
  color: var(--accent-teal);
}

#why-choose .card-title {
  color: #0f2e4f;
}

#why-choose .card-description {
  color: #707071;
}

.section-dark .card-description {
  color: rgba(255, 255, 255, 0.8);
}

/* Financial Risk Section */
.financial-risk {
  background-color: var(--white);
}

.financial-risk .container > div {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 768px) {
  .financial-risk .container > div {
    grid-template-columns: 1fr 2fr;
  }
}

.financial-risk h2 {
  font-size: 1.875rem;
  font-weight: 400;
  border-left: 4px solid var(--accent-teal);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .financial-risk h2 {
    font-size: 2.25rem;
  }
}

.financial-risk p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* Affiliates Section */
.affiliates-section {
  background-color: var(--bg-light);
  padding: 4rem 0;
}

.affiliates-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.affiliate-item {
  width: calc(25% - 1.5rem);
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

.affiliate-logo {
  width: 100%;
  height: 80px;
  object-fit: contain;
  padding: 0.5rem;
}

.affiliate-image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: transparent;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.affiliate-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-navy);
}

/* How It Works Section */
.how-it-works {
  background-color: var(--primary-navy);
  color: var(--white);
}

.how-it-works-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 3rem;
  }
}

/* Mobile reordering: Move captive box to bottom of section */
@media (max-width: 1023px) {
  .how-it-works-sidebar {
    /* display: contents removes the sidebar wrapper, making h2 and captive-box 
       direct flex children so we can reorder them relative to steps-grid */
    display: contents;
  }
  
  .how-it-works-sidebar h2 {
    order: 1;  /* Heading stays at top */
  }
  
  .steps-grid {
    order: 2;  /* Steps appear second */
  }
  
  .how-it-works-sidebar .captive-box {
    order: 3;  /* Captive box moves to bottom */
  }
}

.how-it-works-sidebar h2 {
  font-size: 1.875rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--white);
  border-left: 4px solid var(--accent-teal);
  padding-left: 1.5rem;
}

@media (min-width: 768px) {
  .how-it-works-sidebar h2 {
    font-size: 2.25rem;
    font-weight: 300;
  }
}

.how-it-works-sidebar .captive-box {
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .how-it-works-sidebar .captive-box {
    margin-top: 12rem;
  }
}

.how-it-works-sidebar .captive-box h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.how-it-works-sidebar .captive-box p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.75;
}

.steps-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .steps-grid .step:nth-child(1),
  .steps-grid .step:nth-child(2),
  .steps-grid .step:nth-child(3) {
    grid-column: span 2;
  }
  
  .steps-grid .step:nth-child(4) {
    grid-column: 2 / span 2;
  }
  
  .steps-grid .step:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.step {
  text-align: center;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.step p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

.step-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border-gray);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

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

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Contact Info */
.contact-info-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
}

.contact-info-item h3 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-info-item a,
.contact-info-item p {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.contact-info-item a:hover {
  color: var(--primary-navy);
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.footer-columns-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo svg {
  width: 32px;
  height: 32px;
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-logo-img {
  height: 38px;
  width: auto;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer h3 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1rem;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s;
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}

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

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Page Header */
.page-header {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 4rem 0;
}

.page-header h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--white);
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 3rem;
  }
}

.page-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Content Section */
.content-section {
  padding: 4rem 0;
}

.content-section .container {
  max-width: 56rem;
}

.content-section h2 {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Fade-in animation for scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

/* About Page Styles */

/* About Hero Section */
.about-hero {
  background-color: var(--primary-navy);
  padding: 5rem 0;
}

.about-hero .btn-secondary {
  background-color: #e5e7eb;
  color: var(--primary-navy);
  border-color: #b5b8b9;
}

.about-hero .btn-secondary:hover {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
  transform: scale(0.98);
}

.hero-icon-circle {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--primary-navy) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.hero-icon-circle svg {
  color: var(--white);
}

.about-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .about-hero-title {
    font-size: 3.75rem;
  }
}

.about-hero-subtitle {
  font-size: 1.25rem;
  color: var(--bg-light);
  margin-bottom: 3rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

/* Our Story Section */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.story-title {
  font-size: 2.25rem;
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .story-title {
    font-size: 3rem;
  }
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-text p {
  font-size: 1.125rem;
  color: rgb(55, 65, 81);
  line-height: 1.75;
}

/* Mission Box */
.mission-box {
  background-color: var(--bg-light);
  border: 1px solid #b5b8b9;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}

.mission-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent-teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.mission-icon svg {
  color: var(--bg-light);
}

.mission-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.mission-text {
  color: rgb(55, 65, 81);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.mission-quote {
  background-color: var(--primary-navy);
  border-radius: 8px;
  padding: 1rem;
}

.quote-text {
  font-weight: 500;
  color: var(--bg-light);
  margin-bottom: 0.25rem;
}

.quote-attribution {
  font-size: 0.875rem;
  color: #b5b8b9;
}

/* Section White */
.section-white {
  background-color: var(--white);
  padding: 5rem 0;
}

/* Value Cards */
.value-card {
  background-color: var(--white);
  border: 1px solid #b5b8b9;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 64px;
  height: 64px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon svg {
  color: var(--accent-teal);
}

.value-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.value-description {
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Approach Section */
.approach-section {
  background-color: var(--primary-navy);
  padding: 5rem 0;
}

.approach-subtitle {
  font-size: 1.25rem;
  color: var(--white);
  max-width: 32rem;
  margin: 0 auto;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .approach-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.approach-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.approach-card {
  background-color: var(--bg-light);
  border: 1px solid #b5b8b9;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
}

.approach-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.approach-icon svg {
  color: var(--bg-light);
}

.approach-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.approach-card-text {
  color: rgb(55, 65, 81);
  line-height: 1.75;
}

/* Track Record Box */
.track-record-box {
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  align-self: start;
}

.track-record-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Team Cards */
.team-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: scale(1.05);
}

.team-avatar {
  width: 120px;
  height: 120px;
  background-color: var(--primary-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.team-role {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.team-bio {
  color: rgb(55, 65, 81);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
  min-height: 4rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-expertise {
  background-color: var(--accent-teal);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  display: inline-block;
  margin-top: auto;
}

.team-expertise span {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Leadership Team View All Button */
.leadership-actions {
  text-align: center;
  margin-top: 2rem;
}

.leadership-actions .btn-secondary {
  background-color: var(--accent-teal);
  color: var(--white);
  border-color: var(--accent-teal);
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
}

.leadership-actions .btn-secondary:hover {
  background-color: var(--primary-navy);
  border-color: var(--primary-navy);
  transform: scale(0.98);
}

/* Resources Page Styles */

/* Resources Hero Section */
.resources-hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1e3a5f 100%);
  padding: 4rem 0;
  color: var(--white);
}

.resources-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

@media (min-width: 768px) {
  .resources-hero-title {
    font-size: 3.75rem;
  }
}

.resources-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .resources-hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Resources Hero Buttons */
.resources-hero .btn-primary {
  background-color: #e5e7eb;
  color: var(--primary-navy);
  border-color: #b5b8b9;
}

.resources-hero .btn-primary:hover {
  background-color: rgba(47, 94, 88, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  transform: scale(0.98);
}

.resources-hero .btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.resources-hero .btn-secondary:hover {
  background-color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--primary-navy);
  transform: scale(0.98);
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #b5b8b9;
}

.faq-question-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-navy);
  flex: 1;
}

.faq-icon {
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Articles Section */
.articles-section {
  padding: 5rem 0;
}

.articles-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  background-color: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.article-gradient {
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.article-gradient-1 {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-teal) 100%);
}

.article-gradient-2 {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--primary-navy) 100%);
}

.article-gradient-3 {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #707071 100%);
}

.article-gradient-4 {
  background: linear-gradient(135deg, var(--accent-teal) 0%, #1e3a5f 100%);
}

.article-gradient-5 {
  background: linear-gradient(135deg, #1e3a5f 0%, var(--accent-teal) 100%);
}

.article-gradient-6 {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-teal) 100%);
}

.article-gradient-icon {
  color: var(--white);
  opacity: 0.8;
}

.article-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.article-badge {
  background-color: #b5b8b9;
  color: var(--primary-navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
}

.article-date {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.article-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-card-excerpt {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
  flex: 1;
}

.article-link {
  color: var(--accent-teal);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-link:hover {
  color: var(--primary-navy);
}

/* Resources CTA Section */
.resources-cta-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1e3a5f 100%);
  padding: 3rem 0;
}

.resources-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .resources-cta-title {
    font-size: 2.5rem;
  }
}

.resources-cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Resources CTA Button */
.resources-cta-section .btn-secondary {
  background-color: #e5e7eb;
  color: var(--primary-navy);
  border-color: #b5b8b9;
}

.resources-cta-section .btn-secondary:hover {
  background-color: rgba(47, 94, 88, 0.15);
  border-color: var(--white);
  color: var(--white);
  transform: scale(0.98);
}

/* Contact Hero Section */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1e3a5f 100%);
  padding: 4rem 0;
  color: var(--white);
}

.contact-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

@media (min-width: 768px) {
  .contact-hero-title {
    font-size: 3.75rem;
  }
}

.contact-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .contact-hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Contact Hero Buttons */
.contact-hero .btn-secondary {
  background-color: #e5e7eb;
  color: var(--primary-navy);
  border-color: #b5b8b9;
}

.contact-hero .btn-secondary:hover {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
  transform: scale(0.98);
}

.contact-hero .btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.contact-hero .btn-outline:hover {
  background-color: #e5e7eb;
  color: var(--primary-navy);
  border-color: #e5e7eb;
  transform: scale(0.98);
}

/* Board of Members */
.board-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.board-member-card {
  width: 100%;
  background-color: var(--card-bg);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

@media (min-width: 640px) {
  .board-member-card {
    width: calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .board-member-card {
    width: calc(33.333% - 1.334rem);
  }
}

.board-member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 46, 79, 0.1);
}

.board-member-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-teal) 100%);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}

.board-member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  display: block;
}

.board-member-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.board-member-title {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.board-member-card .btn {
  margin-top: auto;
}

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background-color: var(--white);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 3rem 2rem 2rem;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background-color: transparent;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
}

.modal-close:hover {
  background-color: var(--bg-light);
  color: var(--primary-navy);
}

.modal-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-teal) 100%);
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
}

.modal-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-navy);
  text-align: center;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-size: 1.125rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 500;
}

.modal-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  text-align: left;
}

.modal-bio p {
  margin-bottom: 1rem;
}

.modal-bio p:last-child {
  margin-bottom: 0;
}
