:root {
  --primary: #009933;
  --primary-rgb: 0,153,51;
  --primary-dark: #007a2a;
  --apc-red: #d00000;
  --background: #ffffff;
  --foreground: #111827;
  --muted-foreground: #6b7280;
  --border: #d1d5db;
} 

.bg-primary { background-color: var(--primary); }
.bg-apc-red { background-color: var(--apc-red); }
.bg-background { background-color: var(--background); }
.bg-primary-light { background-color: rgba(var(--primary-rgb), 0.08); }
.bg-primary-dark { background-color: var(--primary-dark); }
.text-primary { color: var(--primary); }

/* Stats cards on the light primary background */
.stat-card {
  background-color: rgba(var(--primary-rgb), 0.12);
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  backdrop-filter: blur(6px);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.12s ease;
}
.stat-card:hover {
  background-color: rgba(var(--primary-rgb), 0.16);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.text-emphasis {
  color: var(--foreground);
  font-weight: 700;
}

.text-highlight {
  color: var(--primary);
  font-weight: 700;
}

.hidden {
  display: none;
}

/* Header */
.site-header {
  position: fixed;
  top: 0.5rem;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--background);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .header-row {
    height: 5rem;
  }
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .brand-logos {
    gap: 1.5rem;
  }
}

.logo-apc {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
}

.logo-hope {
  height: 2rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-apc {
    height: 3rem;
  }

  .logo-hope {
    height: 2.5rem;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  display: none;
  background: var(--background);
  border-top: 1px solid var(--border);
}

.mobile-menu-content {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-link {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.mobile-link:hover {
  color: var(--primary);
}

/* Header brand line (desktop only) */
.brand-mark {
  display: none;
}

@media (min-width: 1024px) {
  .brand-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
  }
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
}

.brand-divider {
  padding: 0 0.2rem;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  text-transform: uppercase;
  line-height: 1;
}

.container-gov {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container-gov {
    padding: 0 2rem;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

.section-about {
  background: var(--background);
}

.section-promises {
  background: var(--background);
}

.section-quote {
  background: #f3f4f6;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-title-center {
  text-align: center;
}

.section-chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0.375rem;
}

.section-chip-dark {
  background: var(--primary-dark);
  color: #ffffff;
}

.section-chip-red {
  background: var(--apc-red);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 5rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 1.5rem auto 0;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1.25rem;
  }
}

.section-divider {
  width: 6rem;
  height: 4px;
  background: var(--primary);
  border-radius: 999px;
  margin: 1rem auto 0;
}

/* About section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.about-image {
  position: relative;
}

.about-image-frame {
  position: relative;
}

.about-image-img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.about-image-accent {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary);
  border-radius: 0.5rem;
  z-index: -1;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 20px;
}

.about-text p {
  margin: 0;
  line-height: 1.7;
}

.cta-btn-large {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  border-radius: 0.375rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
}

.slide.is-loading .slide-loader {
  opacity: 1;
  visibility: visible;
}

.slide-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

.slide-loader::after {
  content: "";
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  animation: hero-spin 0.9s linear infinite;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.5), transparent);
}

@keyframes hero-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.hero-text {
  max-width: 36rem;
  color: #ffffff;
}

.slide-badge {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.slide-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 1.5rem;
}

.slide-description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0 0 2rem;
  max-width: 34rem;
}

.slide-cta {
  display: inline-block;
  background: var(--apc-red);
  color: #ffffff;
  padding: 0.9rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 30px;
}

.slide-cta:hover {
  background: #b30000;
}

@media (min-width: 768px) {
  .slide-title {
    font-size: 4.25rem;
  }

  .slide-description {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .slide-title {
    font-size: 5rem;
  }
}

@media (max-width: 767px) {
  .hero {
    height: 90vh;
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 3.5rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .slide-badge {
    font-size: 0.85rem;
  }

  .slide-title {
    font-size: 2.25rem;
  }

  .slide-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-dots {
    bottom: 1rem;
  }
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
}

.hero-arrow-left {
  left: 1rem;
}

.hero-arrow-right {
  right: 1rem;
}

/* Stats */
.section-stats {
  position: relative;
  overflow: hidden;
  background: rgba(var(--primary-rgb), 0.08);
}

.stats-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.stripes {
  background-image: repeating-linear-gradient(135deg, rgba(0,153,51,0.08) 0, rgba(0,153,51,0.08) 6px, transparent 6px, transparent 16px);
  opacity: 0.55;
}

.stats-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
}

.stats-glow-top {
  top: -5rem;
  right: -5rem;
  width: 20rem;
  height: 20rem;
  background: rgba(var(--primary-rgb), 0.2);
}

.stats-glow-bottom {
  bottom: -5rem;
  left: -5rem;
  width: 15rem;
  height: 15rem;
  background: rgba(var(--primary-rgb), 0.3);
}

.stats-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stats-content {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-card {
  padding: 2rem;
  text-align: center;
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(0,0,0,0.12);
}

.stats-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #54c253);
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 12px 22px rgba(0,0,0,0.15);
}

.stats-icon-svg {
  width: 2rem;
  height: 2rem;
}

.stats-value {
  font-family: "Playfair Display", serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #138626;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stats-value {
    font-size: 3rem;
  }
}

.stats-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.stats-caption {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Promises */
.promises-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .promises-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .promises-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.promise-title {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem;
}

@media (min-width: 768px) {
  .promise-title {
    font-size: 1.5rem;
  }
}

.promise-subtitle {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.promise-body {
  padding: 1.75rem;
}

.promise-excerpt {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0 0 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promise-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #63ba17;
}

.read-more-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s ease;
}

.promise-card:hover .read-more-icon {
  transform: translateX(6px);
}

/* Modal */
.modal-hero {
  position: relative;
}

.modal-hero-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .modal-hero-image {
    height: 20rem;
  }
}

@media (min-width: 1024px) {
  .modal-hero-image {
    height: 24rem;
  }
}

.modal-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.85) 0%, rgba(17,24,39,0.35) 55%, transparent 100%);
}

.modal-hero-icon {
  position: absolute;
  top: 0;
  left: 1.5rem;
}

.modal-hero-icon-img {
  width: 7rem;
  height: 7rem;
  object-fit: contain;
}

.modal-hero-text {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
}

@media (min-width: 768px) {
  .modal-hero-text {
    left: 2rem;
  }
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem;
}

@media (min-width: 768px) {
  .modal-title {
    font-size: 2.5rem;
  }
}

.modal-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.modal-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .modal-content {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .modal-content {
    padding: 4rem;
  }
}

.modal-short {
  font-size: 1.125rem;
  color: var(--foreground);
  line-height: 1.7;
  margin: 0;
}

@media (min-width: 768px) {
  .modal-short {
    font-size: 1.25rem;
  }
}

.modal-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.modal-section-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--apc-red);
}

.modal-section-text {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin: 0;
}

.modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .modal-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.modal-stat-card {
  text-align: center;
}

.modal-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--apc-red);
}

.modal-stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.modal-gallery-item {
  height: 160px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(17,24,39,0.08), rgba(17,24,39,0.16));
  border: 1px dashed rgba(17,24,39,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@media (max-width: 640px) {
  .modal-gallery {
    grid-template-columns: 1fr;
  }
}

.modal-full-section {
  background: #eef2f6;
  border-radius: 0.75rem;
  padding: 2rem;
}

.modal-full-text {
  color: var(--muted-foreground);
  line-height: 1.7;
  white-space: pre-line;
  margin: 0;
}

/* Quote */
.quote-container {
  text-align: center;
}

.quote-icon-wrap {
  margin-bottom: 2rem;
}

.quote-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.quote-icon-svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #ffffff;
}

.quote-block {
  display: inline-block;
  max-width: 64rem;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--foreground);
  padding: 1.5rem 2rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  margin: 0;
}

@media (min-width: 768px) {
  .quote-block {
    font-size: 2.5rem;
    padding: 1.5rem 3rem;
  }
}

@media (min-width: 1024px) {
  .quote-block {
    font-size: 3rem;
  }
}

.quote-caption-row {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.quote-caption-line {
  display: inline-block;
  width: 3.5rem;
  height: 1px;
  background: var(--primary);
}

.quote-caption {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #ffffff;
}

.footer-inner {
  padding: 3rem 0 4rem;
}

@media (min-width: 768px) {
  .footer-inner {
    padding: 4rem 0 5rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.footer-subtitle {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.footer-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 20rem;
  margin: 0;
}

.footer-heading {
  font-family: "Playfair Display", serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom-row {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-note {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* Promises card styles (from promises.html) */
.promise-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  cursor: pointer;
}
.promise-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 40px -10px rgba(0,0,0,0.12);
}

.card-image-wrapper {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.promise-card:hover .card-image {
  transform: scale(1.08);
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.85) 0%, rgba(17,24,39,0.35) 50%, transparent 100%);
  transition: background 0.4s ease;
}

.promise-card:hover .gradient-overlay {
  background: linear-gradient(to top, rgba(17,24,39,0.95) 0%, rgba(17,24,39,0.5) 50%, transparent 100%);
}

.icon-badge {
  position: absolute;
  top: 0;
  left: 12px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 10;
}

.icon-badge img {
  width: 56px;
  height: 56px;
}

.bottom-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 1.5rem;
  color: white;
  z-index: 5;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: #f8fafc;
  border-radius: 1rem;
  width: 92%;
  max-width: 1100px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  position: relative;
  border: 1px solid #e5e7eb;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  color: white;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  font-size: 1.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(0,0,0,0.85); }

/* Modal content refinements */
.modal-box .stat-card {
  padding: 1rem;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: none;
}

.modal-box .stat-card:hover {
  transform: none;
  box-shadow: none;
}

.bg-secondary {
  background-color: #eef2f6;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--foreground);
}

.nav-link:hover {
  color: var(--primary);
}

.cta-btn {
  background: #48be04;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: #3aa003;
}

/* Mobile menu show state */
#mobile-menu.show {
  display: block;
}

@media (max-width: 767px) {
  #mobile-menu {
    position: fixed;
    top: 4.5rem;
    right: 0;
    width: min(80vw, 320px);
    height: calc(100vh - 4.5rem);
    transform: translateX(110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 24px rgba(0,0,0,0.12);
    z-index: 60;
  }

  #mobile-menu.show {
    transform: translateX(0);
    opacity: 1;
  }

  #mobile-menu .mobile-link {
    display: block;
    opacity: 0;
    transform: translateX(12px);
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.2s ease;
  }

  #mobile-menu.show .mobile-link {
    opacity: 1;
    transform: translateX(0);
  }
}

html {
  scroll-behavior: smooth;
}

/* Ensure main content sits below the fixed header (top bar + header height) */
.main-offset {
  padding-top: 5rem;
}
@media (min-width: 768px) {
  .main-offset { padding-top: 6rem; }
}

/* HERO SLIDER */
.slide-img {
  transition: opacity 0.8s ease, transform 0.8s ease;
  object-position: 50% 15%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .slide-img {
    object-position: 50% 30%;
  }
}

@media (max-width: 767px) {
  .slide-img {
    object-position: 50% 50%;
  }
}

#hero-dots {
  z-index: 5;
}

#hero-dots button.small {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  transition: all 0.25s ease;
}

#hero-dots button.small:hover {
  background: rgba(255, 255, 255, 0.8);
}

#hero-dots button.small.active {
  width: 28px;
  background: var(--apc-red);
}

.slide-hidden {
  opacity: 0;
  transform: scale(1.1);
}

.slide-visible {
  opacity: 1;
  transform: scale(1);
}

.text-enter {
  opacity: 0;
  transform: translateY(30px);
}

.text-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

#hero #text-content {
  position: relative;
  z-index: 2;
}

#hero #text-content .read-more-cta {
  display: inline-block;
  color: #ffffff;
  background-color: var(--apc-red);
}

/* Hero CTA positioning on mobile */
@media (max-width: 767px) {
  #hero #text-content .read-more-cta {
    margin-top: 1rem;
    align-self: flex-start;
  }
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  font-size: 1.5rem;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border: 2px solid rgba(255,255,255,0.06);
}

.hero-arrow:hover {
  background: #007a2a;
  transform: translateY(-50%) scale(1.03);
}

.hero-arrow:focus-visible {
  outline: 3px solid rgba(0,153,51,0.18);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .hero-arrow {
    display: none;
  }
}

/* Native scrollbar styling */
* {
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #63ba17 #ffffff;
}

*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: #ffffff;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), #63ba17);
  border-radius: 999px;
  border: 3px solid #ffffff;
}

/* Footer colors */
footer {
  color: #ffffff;
}

footer h3,
footer h4 {
  color: #000000;
}

footer p,
footer a,
footer span,
footer li {
  color: #ffffff;
}

footer a:hover {
  color: #ffffff;
}

/* Top scroll indicator */
.scroll-top-indicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: #ffffff;
  z-index: 999999;
  pointer-events: none;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.scroll-top-fill {
  height: 4px;
  width: 0%;
  margin-left: 6px;
  margin-right: 6px;
  background: linear-gradient(90deg, var(--primary), #63ba17);
  border-radius: 999px;
  transition: width 0.12s linear;
}

/* Quote styles (Playfair Display) */
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 3rem; /* larger on small screens */
  line-height: 1;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) {
  .quote-mark {
    font-size: 4.5rem; /* noticeably larger on tablet/desktop */
  }
}
@media (min-width: 1024px) {
  .quote-mark {
    font-size: 6rem; /* large on wide screens */
  }
}
.quote-text {
  font-family: 'Playfair Display', serif;
  /* Ensure Playfair is used for the quote */
} 

/* Aprome section (background image + layout) */
.aprome-section {
  position: relative;
  background: url('../Aprome.png') 40px center/auto 100% no-repeat;
  min-height: 70vh;
  padding: 5rem 0;
}
.aprome-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
}
.aprome-overlay {
  position: relative;
  z-index: 1;
}
.aprome-content {
  display: grid;
  grid-template-columns: 1.05fr 1.6fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.aprome-title-box {
  background: #0b7a2c;
  color: #ffeb3b;
  padding: 2.5rem 3rem;
  display: inline-block;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  box-shadow: 0 18px 30px rgba(0,0,0,0.18);
}
.aprome-title-small {
  display: block;
  font-size: 1.25rem;
  letter-spacing: 0.25em;
  font-weight: 700;
}
.aprome-title-large {
  display: block;
  font-size: 4.5rem;
  line-height: 0.95;
  font-weight: 900;
  text-transform: lowercase;
}
.aprome-right {
  color: #374151;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 96px;
}
.aprome-logo-wrap {
  position: absolute;
  top: 24px;
  right: 24px;
  text-align: center;
}
.aprome-logo-row {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.aprome-logo {
  max-height: clamp(120px, 18vw, 280px);
  width: auto;
}
.aprome-logo-text {
  font-size: clamp(1rem, 2.2vw, 2rem);
  color: #4b5563;
  margin-bottom: 1.5rem;
  text-align: center;
}
.aprome-text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  font-size: 1rem;
  line-height: 1.7;
  text-align: right;
  max-width: 760px;
  margin: 0;
}
.aprome-text-columns p {
  margin: 0;
}
.aprome-footer-logos {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}
.aprome-hope-logo {
  max-height: 56px;
  width: auto;
}

@media (max-width: 1024px) {
  .aprome-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .aprome-logo-wrap {
    top: 16px;
    right: 16px;
  }
  .aprome-logo-row,
  .aprome-footer-logos {
    justify-content: center;
  }
  .aprome-text-columns {
    grid-template-columns: 1fr;
  }
  .aprome-title-box {
    clip-path: none;
  }
}
