/*
 * PAHO Annual Report 2025
 * shared-components.css
 *
 * Consolidates CSS duplicated across section pages (section-1 through section-8, timeline).
 * Does NOT include home header styles — index.html loads header-home.css for that.
 *
 * Structure:
 *   1.  Base form & list resets      (all pages)
 *   2.  Desktop dropdown nav         (all pages — shared nav component)
 *   3.  Coverflow carousel           (section-2, 4, 5, 6, 8)
 *   4.  Strategy carousel            (section-3, 4)
 *   5.  Flex-stats system            (section-2, 3, 4, 5)
 *   6.  Dashboard component          (section-4)
 *   7.  Dual-column section          (section-3, 4)
 *   8.  Highlighted numbered list    (section-4, 6, 8)
 *   9.  Arrow & checkmark lists      (section-3, 4, 7)
 *  10.  Strategy grid / cards        (section-3, 4)
 *  11.  Phase cards                  (section-4, 6)
 *  12.  Achievement grid / cards     (section-6, 8)
 *  13.  Stat number                  (section-4, 6)
 *  14.  Highlight-card text helpers  (section-5, 7)
 */


/* ==========================================================
   1. BASE FORM & LIST RESETS
   ========================================================== */

textarea,
input.text,
input[type="text"],
input[type="email"],
input[type="phone"],
input[type="button"],
input[type="submit"],
.input-checkbox {
  -webkit-appearance: none;
}

.faqs-toogle {
  white-space: normal;
}

.w-select {
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-border-radius: 9px;
  appearance: none;
}

ol {
  list-style-type: none;
  position: relative;
}

ol li {
  counter-increment: step-counter;
}

ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  font-size: 13px;
  color: white;
  font-weight: 500;
  background-color: #13b5b5;
  border-radius: 99px;
  text-align: center;
  line-height: 18px;
  margin-top: 4px;
}

/* NOTE: *:focus outline is intentionally removed per design decision.
   Consider re-enabling for accessibility (WCAG 2.4.7) in a future revision. */
*:focus { outline: none; }


/* ==========================================================
   2. HEADER STRUCTURE & DESKTOP DROPDOWN NAV
   ========================================================== */

/* Structural wrappers — used by all pages.
   NOTE: .navtainer flex layout and .logo-img sizing are handled by
   ppm-paho-2.css for sections, and header-home.css for the home page. */
.logo-bar {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--active-color);
}

.logo-link {
  display: flex;
  align-items: center;
}

/* Desktop dropdown nav */
/* 2.6 Desktop dropdown nav */
.main-nav-dropdown {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: 60px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 0 15px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  height: 100%;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--orange);
  text-decoration: none;
}

.home-icon { font-size: 1.2rem; }

.dropdown-toggle {
  position: relative;
  padding-right: 20px;
}

.dropdown-toggle::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid white;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--dark-bg);
  min-width: 240px;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: fadeInDown 0.3s ease-out;
}

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

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item:hover .dropdown-toggle::after {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1.5rem;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(255, 103, 27, 0.2);
  color: var(--orange);
  padding-left: 1.75rem;
  text-decoration: none;
}

.nav-item.active .nav-link,
.dropdown-item.active {
  color: var(--orange);
  font-weight: 700;
}

/* Hide dropdown on mobile, show hamburger */
@media screen and (max-width: 991px) {
  .main-nav-dropdown { display: none; }
}

/* Hide hamburger on desktop, show dropdown */
@media screen and (min-width: 992px) {
  .nav-open { display: none !important; }
}


/* ==========================================================
   3. COVERFLOW CAROUSEL
   ========================================================== */

.coverflow-carousel {
  background-color: #00205c;
  padding: 60px 0;
  width: 100%;
  overflow: hidden;
}

.coverflow-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.coverflow-title {
  color: #fff;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  line-height: 1.2;
}

.coverflow-wrapper {
  position: relative;
  padding: 40px 0;
  height: 480px;
  margin: 0 auto;
}

.coverflow-track {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0 auto;
}

.coverflow-slide {
  background-color: #ffe3c2;
  border-radius: 8px;
  padding: 30px 40px;
  position: absolute;
  width: 75%;
  max-width: 1000px;
  height: auto;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(0.75);
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.coverflow-slide.active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 10;
  visibility: visible;
}

.coverflow-slide.prev {
  transform: translateX(-130%) scale(0.85);
  opacity: 0.7;
  z-index: 5;
  visibility: visible;
}

.coverflow-slide.next {
  transform: translateX(30%) scale(0.85);
  opacity: 0.7;
  z-index: 5;
  visibility: visible;
}

.coverflow-content {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  height: 100%;
}

.coverflow-text { flex: 1; }

.coverflow-strategy-number {
  font-size: 4rem;
  font-weight: 700;
  color: #FF8C00;
  margin-bottom: 20px;
  line-height: 1;
}

.coverflow-strategy-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #00205c;
}

.coverflow-image {
  flex: 1.5;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 220px;
  overflow: hidden;
  border-radius: 8px;
}

.coverflow-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.5s ease;
}

.coverflow-slide:hover .coverflow-image img { transform: scale(1.05); }

.coverflow-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.coverflow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.coverflow-dot.active { background-color: #fff; }

.coverflow-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.6);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 20;
}

.coverflow-button:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.coverflow-button.prev { left: 20px; }
.coverflow-button.next { right: 20px; }
.coverflow-button.prev svg { transform: rotate(180deg); }

.coverflow-button svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.5));
}

@media (min-width: 1400px) {
  .coverflow-slide { max-width: 1000px; }
  .coverflow-image { min-height: 280px; }
}

@media (max-width: 992px) {
  .coverflow-slide { width: 85%; }
  .coverflow-slide.prev { transform: translateX(-115%) scale(0.8); }
  .coverflow-slide.next { transform: translateX(15%) scale(0.8); }
  .coverflow-button.prev { left: 10px; }
  .coverflow-button.next { right: 10px; }
}

@media (max-width: 768px) {
  .coverflow-wrapper { height: 560px; }
  .coverflow-content { flex-direction: column; }
  .coverflow-slide { width: 90%; padding: 20px; }
  .coverflow-strategy-number { font-size: 3rem; }
  .coverflow-image { min-height: 180px; aspect-ratio: 3 / 2; }
  .coverflow-slide.prev { transform: translateX(-105%) scale(0.75); }
  .coverflow-slide.next { transform: translateX(5%) scale(0.75); }
}

@media (max-width: 576px) {
  .coverflow-wrapper { height: 600px; }
  .coverflow-image { min-height: 160px; }
  .coverflow-strategy-description { font-size: 1rem; }
}

/* ==========================================================
   4. STRATEGY CAROUSEL
   ========================================================== */
.strategy-carousel {
  background-color: #00205c;
  padding: 60px 0;
  width: 100%;
}
.carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.carousel-title {
  color: #fff;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  line-height: 1.2;
}
.carousel-wrapper { position: relative; }
.carousel-slides {
  position: relative;
  display: grid;
}
.carousel-slide {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  background-color: #ffe3c2;
  border-radius: 8px;
  padding: 40px;
  min-height: 400px;
}
.carousel-slide.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.carousel-content {
  display: flex;
  gap: 40px;
  align-items: center;
}
.carousel-text { flex: 1; }
.carousel-texto {
  flex: 1;
  color: #fff;
}
.strategy-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00205c;
  margin-bottom: 20px;
  line-height: 1;
}
.strategy-title {
  font-size: 2rem;
  font-weight: 600;
  color: #00205c;
  margin-bottom: 20px;
}
.strategy-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #00205c;
}
.carousel-image { flex: 1; }
.carousel-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.carousel-dot.active { background-color: #fff; }
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.6);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 2;
}
.carousel-button:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}
.carousel-button.prev { left: -25px; }
.carousel-button.next { right: -25px; }
.carousel-button.prev svg { transform: rotate(180deg); }
.carousel-button svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.5));
}
@media (max-width: 768px) {
  .carousel-content { flex-direction: column; }
  .carousel-slide { padding: 20px; }
  .strategy-number { font-size: 2.5rem; }
  .strategy-title { font-size: 1.5rem; }
  .carousel-button { width: 40px; height: 40px; }
  .carousel-button.prev { left: -10px; }
  .carousel-button.next { right: -10px; }
}

/* ==========================================================
   5. FLEX-STATS SYSTEM  (dual / triple / quad / penta modes)
   ========================================================== */

/* 5.1 Wrapper */
.flex-stats-section {
  padding: 60px 0;
  width: 100%;
  background-color: #00205c;
  color: white;
}

.flex-stats-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 5.2 Highlighted text utility */
.highlight-word-orange {
  color: #FF8C00;
  font-weight: 600;
}

.highlight-word-orange.emphasized {
  font-size: 1.8rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 5px;
}

/* 5.3 Dual mode */
.dual-mode-section .dual-stats-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}

.dual-mode-section .stats-number-content {
  text-align: left;
  padding: 20px 40px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dual-mode-section .stats-mega-number {
  font-size: 7rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.dual-mode-section .stats-mega-number.visible {
  opacity: 1;
  transform: translateY(0);
}

.dual-mode-section .stats-description {
  font-size: 1.6rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
  transition-delay: 0.2s;
}

.dual-mode-section .stats-description.visible {
  opacity: 1;
  transform: translateY(0);
}

.dual-mode-section .stats-visual-enhanced {
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
  transition-delay: 0.4s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dual-mode-section .stats-visual-enhanced.visible {
  opacity: 1;
  transform: translateY(0);
}

.dual-mode-section .stats-visual-enhanced img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.dual-mode-section .stats-visual-enhanced:hover img { transform: scale(1.03); }

/* 5.4 Triple mode */
.triple-mode-section .triple-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.triple-mode-section .triple-stat-item {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

.triple-mode-section .triple-stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.triple-mode-section .triple-stat-item:nth-child(2) { transition-delay: 0.2s; }
.triple-mode-section .triple-stat-item:nth-child(3) { transition-delay: 0.4s; }

.triple-mode-section .triple-number {
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1;
}

.triple-mode-section .triple-description {
  font-size: 1.2rem;
  line-height: 1.4;
  opacity: 0.9;
}

/* 5.5 Quad mode */
.quad-mode-section .quad-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.quad-mode-section .quad-stat-item {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

.quad-mode-section .quad-stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.quad-mode-section .quad-stat-item:nth-child(2) { transition-delay: 0.2s; }
.quad-mode-section .quad-stat-item:nth-child(3) { transition-delay: 0.4s; }
.quad-mode-section .quad-stat-item:nth-child(4) { transition-delay: 0.6s; }

.quad-mode-section .quad-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1;
}

.quad-mode-section .quad-description {
  font-size: 1.1rem;
  line-height: 1.4;
  opacity: 0.9;
}

/* 5.6 Penta mode (5 stats) */
.penta-mode-section .penta-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  margin: 40px 0;
}

.penta-mode-section .penta-stat-item {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

.penta-mode-section .penta-stat-item.visible { opacity: 1; transform: translateY(0); }
.penta-mode-section .penta-stat-item:nth-child(1) { transition-delay: 0s; }
.penta-mode-section .penta-stat-item:nth-child(2) { transition-delay: 0.15s; }
.penta-mode-section .penta-stat-item:nth-child(3) { transition-delay: 0.3s; }
.penta-mode-section .penta-stat-item:nth-child(4) { transition-delay: 0.45s; }
.penta-mode-section .penta-stat-item:nth-child(5) { transition-delay: 0.6s; }

.penta-mode-section .penta-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1;
}

.penta-mode-section .penta-description {
  font-size: 1.1rem;
  line-height: 1.4;
  opacity: 0.9;
}

/* 5.7 Stats system — responsive */
@media (max-width: 992px) {
  .dual-mode-section .dual-stats-grid { grid-template-columns: 1fr 1fr; }
  .dual-mode-section .stats-mega-number { font-size: 5.5rem; }
  .dual-mode-section .stats-description { font-size: 1.4rem; }
  .dual-mode-section .stats-visual-enhanced { height: 450px; }
  .triple-mode-section .triple-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .triple-mode-section .triple-stat-item:nth-child(3) { grid-column: span 2; }
  .penta-mode-section .penta-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .penta-mode-section .penta-stat-item:nth-child(4),
  .penta-mode-section .penta-stat-item:nth-child(5) { grid-column: auto; }
  .penta-mode-section .penta-stat-item:nth-child(5) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .penta-mode-section .penta-number { font-size: 3.2rem; }
}

@media (max-width: 1200px) {
  .quad-mode-section .quad-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .penta-mode-section .penta-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .penta-mode-section .penta-stat-item:nth-child(4) { grid-column: 1 / 2; }
  .penta-mode-section .penta-stat-item:nth-child(5) { grid-column: 2 / 3; }
  .triple-mode-section .triple-number { font-size: 3.5rem; }
  .triple-mode-section .triple-description { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .dual-mode-section .dual-stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .dual-mode-section .stats-number-content { text-align: center; padding: 20px; }
  .dual-mode-section .stats-mega-number { font-size: 5rem; }
  .dual-mode-section .stats-visual-enhanced { height: 350px; }
  .quad-mode-section .quad-stats-grid { grid-template-columns: 1fr; }
  .quad-mode-section .quad-number { font-size: 3rem; }
  .quad-mode-section .quad-description { font-size: 1rem; }
  .quad-mode-section .highlight-word-orange.emphasized { font-size: 1.3rem; }
  .triple-mode-section .triple-stats-grid { grid-template-columns: 1fr; }
  .triple-mode-section .triple-stat-item,
  .triple-mode-section .triple-stat-item:nth-child(3) { grid-column: auto; }
  .triple-mode-section .triple-number { font-size: 3.2rem; }
  .triple-mode-section .triple-description { font-size: 1rem; }
  .triple-mode-section .highlight-word-orange.emphasized { font-size: 1.3rem; }
  .penta-mode-section .penta-stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .penta-mode-section .penta-stat-item:nth-child(5) { grid-column: auto; max-width: 100%; }
  .penta-mode-section .penta-number { font-size: 3rem; }
  .penta-mode-section .penta-description { font-size: 1rem; }
  .penta-mode-section .highlight-word-orange.emphasized { font-size: 1.3rem; }
}


/* ==========================================================
   6. DASHBOARD COMPONENT
   ========================================================== */

.dashboard-component {
  font-family: 'Roboto', sans-serif;
  color: var(--headings);
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 40px;
}

.dashboard-header h2 {
  color: var(--paho-dark-blue);
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.dashboard-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--orange);
}

.dashboard-intro {
  font-size: 1.3rem;
  max-width: 900px;
  margin: 20px auto;
  color: var(--headings);
  line-height: 1.6;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.dashboard-card {
  background-color: #ffe3c2;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.featured-card {
  grid-column: 1 / -1;
  background-color: var(--paho-dark-blue);
  color: white;
}

.card-header {
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.featured-card .card-header {
  background-color: var(--paho-dark-blue);
  border-bottom: none;
}

.card-header h3 {
  color: var(--paho-dark-blue);
  font-size: 1.5rem;
  margin: 0;
  padding: 0;
}

.featured-card .card-header h3 { color: white; }

.card-body { padding: 20px; }

.featured-card .card-body {
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.card-image {
  overflow: hidden;
  border-radius: 8px;
}

.card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

/* Expandable toggle */
.toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--paho-cream);
  transition: background-color 0.3s ease;
}

.toggle-header:hover { background-color: #f5d8b0; }

.toggle-icon {
  font-size: 1.2rem;
  color: var(--paho-dark-blue);
  transition: transform 0.3s ease;
}

.expandable-card.active .toggle-icon { transform: rotate(180deg); }

.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 1rem;
}

.expandable-card.active .expandable-content { max-height: 2000px; }

/* Agreement points */
.agreement-points { margin-top: 1.5rem; }

.agreement-point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  padding: 15px;
  background-color: rgba(0, 32, 92, 0.05);
  border-radius: 8px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.agreement-point:hover {
  transform: translateX(5px);
  background-color: rgba(0, 32, 92, 0.1);
}

.point-icon {
  min-width: 40px;
  height: 40px;
  background-color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
}

.point-text p,
.agreement-point .point-text p { margin: 0; line-height: 1.4; text-align: left; }

/* Case example */
.case-example {
  background-color: #ffe3c2;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.case-example h4 {
  color: var(--paho-dark-blue);
  margin-top: 0;
  margin-bottom: 15px;
}

.case-example ul { padding-left: 20px; }
.case-example li { margin-bottom: 10px; line-height: 1.4; }

/* Map card */
.map-card {
  grid-column: 1 / -1;
  background-color: var(--paho-cream);
}

.map-card .card-header { background-color: var(--paho-cream); border-bottom: none; }
.map-card .card-header h3 { color: var(--paho-dark-blue); }

.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}

.map-image { width: 100%; height: 100%; object-fit: cover; }

.map-point {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: var(--orange);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-point:hover {
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
}

.map-point.argentina { bottom: 35%; left: 30%; }

.map-tooltip {
  position: absolute;
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  width: 200px;
  left: 35px;
  top: -80px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10;
}

.map-point:hover .map-tooltip { opacity: 1; visibility: visible; }
.map-tooltip h4 { color: var(--paho-dark-blue); margin-top: 0; margin-bottom: 10px; }
.map-tooltip p { margin: 0; font-size: 0.9rem; line-height: 1.4; }
.map-description { text-align: center; color: var(--paho-dark-blue); font-size: 1.1rem; margin: 0; }

/* Dashboard text alignment fixes */
.dashboard-component p,
.dashboard-component h3,
.dashboard-component h4,
.dashboard-component h5,
.dashboard-component li { text-align: left; line-height: 1.6; margin-bottom: 1rem; }

.dashboard-card .card-header h3 { color: #ffffff; margin: 0; padding: 0; text-align: left; }
.dashboard-card.featured-card .card-body p { color: white; text-align: left; margin-bottom: 1rem; }
.case-example p,
.case-example li { text-align: left; margin-bottom: 0.8rem; }
.dashboard-component ul { text-align: left; padding-left: 1.5rem; }
.expandable-card .expandable-content p { text-align: left; margin-bottom: 1rem; }
.case-example ul li { margin-bottom: 0.8rem; text-align: left; }

@media (max-width: 992px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .featured-card .card-body { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .dashboard-header h2 { font-size: 2rem; }
  .dashboard-intro { font-size: 1.1rem; }
  .map-container { height: 300px; }
}

@media (max-width: 576px) {
  .dashboard-component { margin: 30px auto; }
  .card-header h3 { font-size: 1.3rem; }
  .agreement-point { padding: 10px; }
  .point-icon { min-width: 30px; height: 30px; }
}


/* ==========================================================
   7. DUAL-COLUMN SECTION
   ========================================================== */

.dual-column-section {
  background-color: var(--paho-cream, #ffe3c2);
  padding: 60px 0;
  margin: 40px 0;
  overflow: hidden;
}

.dual-column-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.dual-column-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.dual-column-container.reversed { flex-direction: row-reverse; }

.image-side {
  flex: 1;
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.dual-column-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-side:hover .dual-column-image { transform: scale(1.05); }

.content-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 10px;
}

.cards-container {
  width: 100%;
  position: relative;
  min-height: 300px;
  height: auto;
  margin-bottom: 60px;
  padding-bottom: 20px;
}

.content-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(20px);
  padding: 30px;
  background-color: var(--dark-bg, #00205c);
  color: white;
  border-radius: 8px;
  border-left: 4px solid var(--orange, #ff671b);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.content-card.active { opacity: 1; visibility: visible; transform: translateY(0); }
.content-card h3 { font-size: 1.8rem; color: white; margin-bottom: 15px; }
.content-card p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 10px; }

.card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 32, 92, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.card-arrow:hover {
  background-color: var(--orange, #ff671b);
  transform: translateY(-50%) scale(1.1);
}

.card-arrow.prev { left: -20px; }
.card-arrow.next { right: -20px; }
.card-arrow i { font-size: 18px; }

.swipe-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-bg, #00205c);
  font-size: 0.9rem;
  margin-bottom: 15px;
  opacity: 0.7;
}

.swipe-indicator i { animation: swipeAnimation 1.5s infinite ease-in-out; margin: 0 5px; }

@keyframes swipeAnimation {
  0%   { transform: translateX(-3px); }
  50%  { transform: translateX(3px); }
  100% { transform: translateX(-3px); }
}

.card-navigation {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 10;
}

.card-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--dark-bg, #00205c);
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-nav-dot:hover { opacity: 0.8; transform: scale(1.2); }
.card-nav-dot.active { opacity: 1; background-color: var(--orange, #ff671b); }

/* Content image */
.content-image-container {
  position: relative;
  margin: 30px 0;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.content-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.content-image-credit {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.6rem;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2px 5px;
  border-radius: 3px;
  z-index: 2;
}

@media (max-width: 991px) {
  .dual-column-container,
  .dual-column-container.reversed { flex-direction: column; gap: 40px; }
  .image-side { width: 100%; height: 400px; }
  .content-side { width: 100%; }
  .content-card { padding: 20px; }
  .card-arrow.prev { left: -15px; }
  .card-arrow.next { right: -15px; }
}

@media (max-width: 767px) {
  .dual-column-section { padding: 40px 0; }
  .dual-column-section .container { padding: 0 20px; }
  .image-side { height: 300px; }
  .cards-container { margin-bottom: 50px; }
  .content-card h3 { font-size: 1.5rem; }
  .content-card p { font-size: 1rem; }
  .card-navigation { bottom: -35px; }
}

@media (max-width: 479px) {
  .dual-column-section { padding: 30px 0; }
  .dual-column-section .container { padding: 0 15px; }
  .image-side { height: 250px; }
  .content-card { padding: 15px; }
  .content-card h3 { font-size: 1.3rem; }
  .card-arrow { width: 35px; height: 35px; }
}


/* ==========================================================
   8. HIGHLIGHTED NUMBERED LIST
   ========================================================== */

.highlighted-list {
  counter-reset: item;
  list-style-type: none;
  padding-left: 0;
  margin: 30px 0;
}

.highlighted-list li {
  position: relative;
  padding-left: 60px;
  margin-bottom: 25px;
  counter-increment: item;
  display: flex;
  flex-direction: column;
}

.highlighted-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: -5px;
  width: 45px;
  height: 45px;
  background-color: transparent;
  color: #FF8C00;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.highlighted-list li:hover::before { transform: scale(1.1); }

.highlighted-list li p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}



@media (max-width: 768px) {
  .highlighted-list li { padding-left: 45px; }
  .highlighted-list li::before { width: 35px; height: 35px; font-size: 1.8rem; }
}


/* ==========================================================
   9. ARROW & CHECKMARK LISTS
   ========================================================== */

.arrow-list,
.checkmark-list {
  list-style: none;
  padding-left: 1.5em;
}

.arrow-list li,
.checkmark-list li {
  position: relative;
  margin-bottom: 1em;
  line-height: 1.5;
}

.arrow-list li::before {
  content: "→";
  position: absolute;
  left: -1.5em;
  color: #ffe3c2;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.2s ease;
}

.arrow-list li:hover::before { transform: translateX(3px); }

.checkmark-list li::before {
  content: "✔";
  position: absolute;
  left: -1.5em;
  color: #ffe3c2;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.2s ease;
}

.checkmark-list li:hover::before { transform: scale(1.2); }


/* ==========================================================
   10. STRATEGY GRID / CARDS
   ========================================================== */

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.strategy-card {
  background-color: #ffe3c2;
  padding: 1.5rem;
  border-radius: 8px;
  color: #00205c;
}

.conclusion-box {
  background-color: #00205c;
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

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


/* ==========================================================
   11. PHASE CARDS
   ========================================================== */

.paho-forward-phases { margin: 40px 0; }

.phase-card {
  background-color: #ffe3c2;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.phase-header {
  background-color: #00205c;
  color: white;
  padding: 15px 20px;
}

.phase-header h3 { margin: 0; color: white; }

.phase-content {
  padding: 20px;
  color: #00205c;
}

.phase-content h4 { color: #00205c; margin-top: 20px; margin-bottom: 15px; }


/* ==========================================================
   12. ACHIEVEMENT GRID / CARDS
   ========================================================== */

.achievement-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #ffffff;
}

.achievement-grid {
  display: grid;
  background: #00205c;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.achievement-card {
  background: #ffe3c2;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.achievement-card:hover { box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); }

.achievement-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.achievement-icon {
  width: 2rem;
  height: 2rem;
  margin-right: 1rem;
  color: #2563eb;
}

.achievement-header h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #000000;
  margin: 0;
}

.achievement-content p { color: #000000; line-height: 1.6; margin: 0; }

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


/* ==========================================================
   13. STAT NUMBER
   ========================================================== */

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #FF8C00;
  margin-bottom: 1rem;
}

.stat-number2 {
  font-size: 2rem;
  font-weight: 700;
  color: #FF8C00;
  margin-bottom: 1rem;
}

.stat-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #00205c;
}

@media (max-width: 768px) {
  .stat-number { font-size: 2.5rem; }
}


/* ==========================================================
   14. HIGHLIGHT-CARD TEXT HELPERS (long-text / medium-text)
   ========================================================== */

@media screen and (max-width: 768px) {
  .highlight-card.long-text { height: 300px; }
  .highlight-card.long-text .card-back {
    overflow-y: auto;
    max-height: 100%;
    padding: 15px;
  }
  .highlight-card.long-text .card-back::-webkit-scrollbar { width: 4px; }
  .highlight-card.long-text .card-back::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }
  .highlight-card.long-text .card-back::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(to top, rgba(255, 227, 194, 0.9), rgba(255, 227, 194, 0));
    pointer-events: none;
    opacity: 0.8;
  }

  .highlight-card.medium-text { height: 200px; }
  .highlight-card.medium-text .card-back {
    overflow-y: auto;
    max-height: 100%;
    padding: 15px;
  }
  .highlight-card.medium-text .card-back::-webkit-scrollbar { width: 4px; }
  .highlight-card.medium-text .card-back::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }
  .highlight-card.medium-text .card-back::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(to top, rgba(255, 227, 194, 0.9), rgba(255, 227, 194, 0));
    pointer-events: none;
    opacity: 0.8;
  }
}

@media screen and (max-width: 480px) {
  .highlight-card.long-text   { height: 320px; }
  .highlight-card.medium-text { height: 280px; }
}

.stat-highlight {
  background-color: #ffe3c2;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #FF8C00;
  margin-bottom: 1rem;
}
	  .stat-number2 {
  font-size: 2rem;
  font-weight: 700;
  color: #FF8C00;
  margin-bottom: 1rem;
}

.stat-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #00205c;
}