/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== NAVIGATION ===== */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 5%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img { height: 40px; }

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-weight: 500;
}

.nav-links li {
    cursor: pointer;
    position: relative;
}

.nav-links li:hover { color: #0d0000; }

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 200px;
    padding: 10px 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-content { display: block; }

.dropdown-content li {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.dropdown-content li:hover {
    background: #f8f9fa;
    color: #d32f2f;
}

/* Donate Button */
.donate-btn {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== HERO ===== */
.hero {
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: relative;
    text-align: center;
    background: 
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1200') center/cover;
}
.hero-content { position: relative; z-index: 2; }

.hero h1 {
    font-size: 3rem;
    text-transform: uppercase;
}

.hero p { opacity: 0.9; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 1rem 5%;
    background: #fff;
    font-size: 0.9rem;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding: 2rem 5%;
    max-width: 1400px;
    margin: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

.section-title h2 span { color: #d32f2f; }

/* ===== REPORT VIEWER ===== */
.report-viewer-wrapper {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* YEAR TABS */
.year-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    background: #f5f5f5;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.year-tab {
    padding: 10px 25px;
    background: #e0e0e0;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.year-tab.active {
    background: #d32f2f;
    color: #fff;
}

/* ===== TOOLBAR ===== */
.viewer-toolbar {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.toolbar-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toolbar-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
}

.toolbar-btn:hover {
    background: #e9e9e9;
}

.page-indicator input {
    width: 60px;
    padding: 4px;
    text-align: center;
}

/* ===== PDF VIEWER ===== */
.pdf-container {
    position: relative;
    min-height: 750px;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    padding: 20px;
}

#pdfCanvas {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-radius: 4px;
}

/* Loading */
.pdf-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    align-items: center;
    color: #555;
}

/* Error */
.pdf-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #c0392b;
}

/* ================= CTA SECTION ================= */

.cta-section {
  padding: 80px 20px;
  background: #ffffff;
}

.cta-section .container {
  max-width: 1200px;
  margin: auto;
}

/* CTA Card */
.cta-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 45px 55px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

/* Soft curved background on right */
.cta-box::after {
  content: "";
  position: absolute;
  top: 0;
  right: -120px;
  width: 300px;
  height: 100%;
  background: #f5f6ff;
  border-radius: 50%;
}

/* Content */
.cta-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.cta-subtitle {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 12px;
}

.cta-content h2 {
  font-size: 2.3rem;
  line-height: 1.4;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 14px;
}

.cta-content h2 span {
  color: #f04a2e; /* ORANGE */
}

/* Read more */
.link-arrow {
  font-size: 16px;
  font-weight: 600;
  color: #f04a2e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-arrow i {
  transition: transform 0.3s ease;
}

.link-arrow:hover i {
  transform: translateX(6px);
}

/* Donate Button */
.cta-donate {
  position: relative;
  z-index: 2;
  text-decoration: none;
  background: linear-gradient(135deg, #7c6ee6, #6a5acd);
  color: #ffffff;
  padding: 16px 28px;
  border-radius: 14px;
  min-width: 200px;
  box-shadow: 0 15px 30px rgba(108, 99, 255, 0.35);
  transition: all 0.3s ease;
}

.cta-donate:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(108, 99, 255, 0.45);
}

/* Donate Text */
.donate-text span {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.donate-text small {
  font-size: 12px;
  opacity: 0.9;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .cta-box {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .cta-box::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .cta-content h2 {
    font-size: 1.6rem;
  }

  .cta-donate {
    width: 100%;
    text-align: center;
  }
}
