/* PDF Preview Styles */
.pdf-preview {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90vh;
  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  z-index: 1000;
}
    position: relative;
    background: linear-gradient(to bottom right, #fff, #fafafa);

.preview-header {
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: var(--navy);
  color: white;
  border-radius: 8px 8px 0 0;
}
    border: 1px solid rgba(0, 0, 0, 0.05);

.preview-header h4 {
  margin: 0;
  font-size: 1.2em;
}

.close-preview {
  background: none;
  border: none;
  color: white;
    opacity: 0.02;
  cursor: pointer;
  padding: 5px;
    transition: opacity 0.3s ease;
}

.close-preview:hover {
    opacity: 0.04;
  color: var(--gold);
}

.pdf-iframe {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  height: calc(100% - 60px);
  border: none;
  border-radius: 0 0 8px 8px;
    transform: scale(1.05);
    color: var(--gold);
}

.preview-btn {
  background: var(--navy);
  color: white;
  border: none;
  padding: 10px 20px;
    transition: all 0.3s ease;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

    position: relative;
    z-index: 1;
.preview-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

/* Summary Button and Content Styles */
.summary-btn {
    position: relative;
    z-index: 1;
  background: var(--gold);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(217, 162, 28, 0.2);
  font-size: 1em;
}

    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(217, 162, 28, 0.3);
.summary-btn:hover {
  background: #c19119;
  transform: translateY(-2px);
}

.summary-btn .fa-chevron-down {
  transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.summary-btn.active .fa-chevron-down {
  transform: rotate(180deg);
}

.summary-content {
    position: relative;
    z-index: 1;
  background: white;
  border-radius: 8px;
  margin-top: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top;
    background: #f9f9f9;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.summary-content.active {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transform: scaleY(1);
  opacity: 1;
  max-height: 1000px;
  margin-bottom: 20px;
}
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);

.summary-text {
  max-width: 800px;
  margin: 0 auto;
}
    transition: transform 0.2s ease;

.summary-text h4 {
  .coming-soon-badge:hover .fas {
    transform: rotate(15deg);
  }
  color: var(--navy);
  margin-bottom: 15px;
  font-size: 1.2em;
}

.summary-text ul {
  margin: 10px 0;
  padding-left: 20px;
}

.summary-text li {
  margin-bottom: 8px;
}

.summary-actions {
  margin-top: 20px;
  text-align: right;
}

/* Add overlay when preview is open */
.pdf-preview::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Cover image card for reports */
.kenya-cover {
  margin: 20px 0 40px 0;
}

.cover-image {
  background: url('../images-projects/climate_finance.jpg') center/cover no-repeat;
  width: 100%;
  height: 260px;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cover-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
}

.cover-overlay h3 {
  margin: 0 0 8px 0;
}

.cover-cta {margin-top:6px; font-size:0.95rem}

/* Modal for PDF overlay */
.pdf-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 1100px;
  height: 85vh;
  background: white;
  z-index: 2000;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  display: none;
  opacity: 0;
  transition: all 0.25s ease;
}

/* Coming Soon Badge */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #f5f5f5;
  color: #666;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: 500;
  border: 1px solid #eee;
  margin-top: 10px;
}

.coming-soon-badge .fas {
  color: var(--gold);
  font-size: 1.1em;
}

/* Report Card Styles */
.report-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 35px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.report-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.report-icon {
  color: var(--navy);
  font-size: 2.5em;
  margin-bottom: 20px;
  opacity: 0.9;
}

.report-title {
  color: var(--navy);
  font-size: 1.5em;
  margin: 0 0 15px 0;
  font-weight: 600;
  line-height: 1.3;
}

.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  background: var(--gold);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.report-summary {
  color: #555;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 1.05em;
}
  transition: all 0.25s ease;
}

.pdf-modal.active {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.pdf-modal .modal-header {
  display:flex; align-items:center; justify-content:space-between; padding:12px 16px; background:var(--navy); color:white; border-radius:10px 10px 0 0;
}

.pdf-modal .modal-body {height: calc(100% - 56px);}
.modal-pdf-iframe {width:100%; height:100%; border:none}

.modal-close {background:none; border:none; color:white; font-size:1.2rem; cursor:pointer}

/* Dark overlay behind modal */
.modal-backdrop {
  position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.5); z-index:1990; display:none;
}
.modal-backdrop.active {display:block}