/* ===================================
   CONARE FINANCE WEBSITE
   HTML + CSS ONLY
=================================== */

:root {
    --cream: #FAF9F2;
    --dark-green: #10352C;
    --heading-green: #19483C;
    --lime: #B9DC67;
    --pale-green: #F1F4E7;
    --soft-green: #E0EDE3;
    --text: #566A60;
    --border: #E5E8DC;
    --white: #FFFFFF;

    /* Original CONARE header/footer palette */
    --forest: #173F35;
    --forest-deep: #103129;
    --leaf: #B9D86B;
    --leaf-light: #E8F2CF;
    --ink: #1B2925;
    --muted: #63716B;
    --line: #DCE4D5;
    --shadow: 0 18px 48px rgba(16, 49, 41, .11);
}

/* RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
  font: 16px/1.7 "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    font-size: 14px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Public Sans", sans-serif;
  line-height: 1.08;
  letter-spacing: -.035em;
  font-size: 40px;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

button {
    font: inherit;
}

:focus-visible {
    outline: 3px solid #8AB63C;
    outline-offset: 4px;
}

.container {
    width: min(1100px, 88%);
    margin-inline: auto;
}
/* ===================================
   BUTTONS
=================================== */

.btn {
    display: inline-block;
    background: var(--lime);
    color: var(--dark-green);
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--lime);
    transition: .25s ease;
}

.btn:hover {
    background: #A7CB50;
    border-color: #A7CB50;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #B8C9B8;
}

.btn-outline:hover {
    background: var(--soft-green);
    color: var(--dark-green);
}

/* ===================================
   PAGE HERO
=================================== */

.page-hero {
    position: relative;
    overflow: hidden;
    background:
        url("../images/about/about-banner.jpg") center center / cover no-repeat;
    color: var(--white);
    padding: 78px 0 84px;
}

.breadcrumb {
    font-size: 12px;
    color: #CAD8CD;
    margin-bottom: 20px;
}

.breadcrumb a:hover {
    color: var(--lime);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
    align-items: end;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 0 0 20px;
}

.page-hero p {
    color: #D3E0D7;
    max-width: 450px;
    margin: 0 0 24px;
}

.hero-label {
    display: inline-block;
    color: var(--lime);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ===================================
   INTRODUCTION
=================================== */

.intro {
    padding: 85px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-title {
    color: var(--heading-green);
    font-size: clamp(27px, 3.5vw, 42px);
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0 0 18px;
}

.section-description {
    color: var(--text);
    max-width: 620px;
}

.intro-panel {
    background: var(--soft-green);
    border-radius: 0 75px 12px 75px;
    padding: 42px;
    min-height: 245px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-panel .small-label {
    color: #547A50;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 12px;
}

.intro-panel h3 {
    color: var(--heading-green);
    font-size: 26px;
    line-height: 1.3;
    margin: 0 0 12px;
}

/* ===================================
   HIGHLIGHT STRIP
=================================== */

.highlight-strip {
    background: var(--lime);
    padding: 32px 0;
    text-align: center;
}

.highlight-strip h2 {
    color: var(--dark-green);
    font-size: 22px;
    line-height: 1.4;
    margin: 0;
}

.highlight-strip p {
    color: var(--dark-green);
    margin: 6px 0 0;
}

/* ===================================
   REPORT SECTION
=================================== */

.reports-section {
    background: var(--pale-green);
    /* padding: 10px ; */
    padding: 40px 0px;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 38px;
}

.section-heading-row .section-title {
    margin-bottom: 0;
}

.section-heading-row p {
    max-width: 390px;
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.finance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.report-card {
    background: var(--white);
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 5px 5px 5px 5px;
    transition: transform .25s, box-shadow .25s;
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(16, 53, 44, .08);
}

.report-icon {
    width: 46px;
    height: 46px;
    background: #EAF3D6;
    color: var(--heading-green);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 23px;
    margin-bottom: 22px;
}

.report-card h3 {
    color: var(--heading-green);
    font-size: 21px;
    line-height: 1.35;
    margin: 0 0 10px;
}

.report-card p {
    margin: 0 0 22px;
}

.text-link {
    display: inline-block;
    color: #456E38;
    font-weight: 700;
    font-size: 13px;
}

.text-link:hover {
    text-decoration: underline;
}

/* ===================================
   DOCUMENT LIST
=================================== */

.documents-section {
    padding: 80px 0;
    background-color: #F1F4E7;
}

.documents-list {
    margin-top: 32px;
    border-top: 1px solid var(--border);
}

.document-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 23px 20px;
    border-bottom: 1px solid var(--border);
    transition: background .2s;
}

.document-row:hover {
    background: var(--pale-green);
}

.document-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.document-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--soft-green);
    display: grid;
    place-items: center;
    color: var(--heading-green);
    font-weight: 800;
    font-size: 12px;
}

.document-info h3 {
    color: var(--heading-green);
    font-size: 15px;
    margin: 0 0 3px;
}

.document-info p {
    font-size: 12px;
    margin: 0;
}

/* YEAR LABELS */

.year-label {
    display: inline-block;
    background: var(--pale-green);
    color: var(--heading-green);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* ===================================
   FOOTER
   Works with .footer, .footer-grid,
   .footer-bottom
=================================== */

/* ===================================
   SMALL INFORMATION BOX
=================================== */

.note-box {
    background: #EAF0DF;
    border-left: 4px solid #92B84D;
    padding: 22px 25px;
    margin-top: 35px;
    border-radius: 0 8px 8px 0;
}

.note-box h3 {
    color: var(--heading-green);
    margin: 0 0 6px;
}

/* ===================================
   RESPONSIVE DESIGN
=================================== */


@media (max-width: 850px) {

    .hero-grid,
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-hero {
        padding: 55px 0;
    }

    .intro {
        padding: 60px 0;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .container {
        width: 90%;
    }

    .logo {
        font-size: 20px;
    }

    .logo img {
        height: 38px;
    }

    .page-hero h1 {
        letter-spacing: -1px;
    }

    .report-grid {
        grid-template-columns: 1fr;
    }
    .finance-grid {
        grid-template-columns: 1fr;
    }

    .intro-panel {
        padding: 28px;
        min-height: 210px;
    }

    .reports-section,
    .documents-section {
        padding: 55px 0;
    }

    .document-row {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px 12px;
    }

    .highlight-strip h2 {
        font-size: 19px;
    }
}

/* Respect reduced-motion preference */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 244, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .68);
  box-shadow: 0 8px 32px rgba(16, 49, 41, .08);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
}



/* Secondary pages */
.page-head {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-head h1 {
  color: var(--forest);
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.page-head p {
  max-width: 56ch;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.inner .about {
  padding-top: 64px;
}

.inner .programs {
  padding-top: 56px;
  background: var(--cream);
}

.inner .gallery {
  padding-top: 56px;
}

.docs,
.contact {
  padding: 64px 0 100px;
}

.doc-block+.doc-block {
  margin-top: 64px;
}

.doc-block h2,
.empty h2 {
  margin-bottom: 14px;
  color: var(--forest);
  font-size: 1.6rem;
}

.empty {
  max-width: 640px;
  padding: 28px 32px;
  border: 1px dashed #b7c7b7;
  border-radius: 16px;
  color: var(--muted);
  background: var(--paper);
}

.empty p {
  margin: 0;
}

.empty code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--leaf-light);
}

.doclist {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.doclist a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  background: var(--white);
}

.doclist a:hover {
  background: var(--leaf-light);
}

.doclist span {
  color: var(--muted);
  font-size: .9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 860px;
}

.card {
  padding: 14px;
  min-width: 12px;
    min-height: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(16, 49, 41, .05);
}

.card h2 {
  color: var(--forest);
  font-size: 1.6rem;
}

.card p {
  margin: 10px 0 22px;
  color: var(--muted);
}

/* Card PDF */
.report-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* .card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px #00000010;
  transition: transform 0.3s;
} */

.card:hover {
  transform: translateY(-4px);
}

.pdf-box {
  height: 100px;
  background: #e9eee3;
  color: #0b3028;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.pdf-box span {
  background: #0b3028;
  color: white;
  padding: 5px 9px;
  border-radius: 6px;
  font-weight: bold;
}

.pdf-box p {
  font-weight: bold;
}

.content {
  padding: 10px;
}

.content h2 {
  color: #0b3028;
  font-size: 25px;
}

.content p {
  color: #666;
  line-height: 1;
}

.content a {
  color: #0b3028;
  font-weight: bold;
  text-decoration: none;
}

.content a:hover {
  color: #789b38;
}



/* =========================================
   AUDIT REPORTS — PASTEL ROW CARD DESIGN
========================================= */

#audit-report-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
    max-width: 1500px;
    margin: 28px auto;
    padding: 0;
}

/* Individual pastel card */
#audit-report-container .audit-pdf-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    /* min-height: 110px; */
    padding: 17px 18px;
    border: 1px solid rgba(16, 53, 44, 0.04);
    border-radius: 20px;
    background: #fff8e9;
    box-shadow: 0 3px 10px rgba(16, 53, 44, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Alternate cream, pale green and pale blue */
/* #audit-report-container .audit-pdf-card:nth-child(3n + 2) {
    background: #e8f4c9;
}

#audit-report-container .audit-pdf-card:nth-child(3n) {
    background: #d8eef4;
} */

#audit-report-container .audit-pdf-card:hover {
    /* transform: translateY(-3px); */
    box-shadow: 0 14px 30px rgba(45, 50, 35, 0.10);
}

/* Orange PDF badge */
#audit-report-container .audit-pdf-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 46px;
    border-radius: 12px;
    background: #c9502c;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

/* Title and link */
#audit-report-container .audit-pdf-details {
    min-width: 0;
}

#audit-report-container .audit-pdf-details h3 {
    margin: 0 0 8px;
    color: #102b26;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

#audit-report-container .audit-pdf-details a {
    display: inline-block;
    color: #443b2e;
    font-size: 14px;
    /* font-weight: 400; */
    text-decoration: none;
}

#audit-report-container .audit-pdf-details a:hover {
    color: #c9532d;
    /* text-decoration: underline; */
}

/* Tablet */
@media (max-width: 1000px) {
    #audit-report-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    #audit-report-container .audit-pdf-card {
        padding: 16px;
        border-radius: 22px;
    }

    #audit-report-container .audit-pdf-details h3 {
        font-size: 16px;
    }

    #audit-report-container .audit-pdf-details a {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    #audit-report-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #audit-report-container .audit-pdf-card {
        min-height: 95px;
        padding: 15px;
        border-radius: 20px;
    }

    #audit-report-container .audit-pdf-badge {
        flex-basis: 54px;
        width: 54px;
        height: 50px;
    }

    #audit-report-container .audit-pdf-details h3 {
        font-size: 15px;
    }

    #audit-report-container .audit-pdf-details a {
        font-size: 13px;
    }
}



 */


/* PDF Report Cards — match the screenshot */

#report-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1370px;
    margin: 24px auto;
    padding: 0;
}

/* Card */
#report-container .card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 290px;
    padding: 18px;
    border: 1px solid #dce4d5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(16, 49, 41, 0.07);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#report-container .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 49, 41, 0.10);
}

/* PDF preview */
#report-container .pdf-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 125px;
    padding: 12px;
    background: #e8ede2;
    color: #173f35;
    text-align: center;
}

#report-container .pdf-box span {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 5px;
    background: #103129;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

#report-container .pdf-box p {
    margin: 0;
    color: #63716b;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Card content */
#report-container .content {
    flex: 1;
    padding: 14px 2px 2px;
}

#report-container .content h2 {
    margin: 0 0 14px;
    color: #173f35;
    font-size: 22px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

#report-container .content p {
    margin: 0 0 18px;
    color: #63716b;
    font-size: 15px;
    line-height: 1.6;
}

#report-container .content a {
    display: inline-block;
    color: #173f35;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

#report-container .content a:hover {
    color: #71952d;
    text-decoration: underline;
}

/* Tablet */
@media (max-width: 1000px) {
    #report-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    #report-container .card {
        min-height: 260px;
    }

    #report-container .content h2 {
        font-size: 19px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    #report-container {
        grid-template-columns: 1fr;
        max-width: 420px;
        gap: 16px;
    }

    #report-container .card {
        min-height: auto;
        padding: 14px;
    }

    #report-container .pdf-box {
        min-height: 100px;
    }

    #report-container .content h2 {
        font-size: 18px;
    }

    #report-container .content p {
        font-size: 13px;
    }
}

/* =========================================
   FOREIGN CONTRIBUTION & QUARTERLY REPORTS
========================================= */

#foreign-report-container,
#quarterly-report-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 19px;
    width: 100%;
    max-width: 1500px;
    margin: 28px auto;
    padding: 0;
    align-items: stretch;
}

/* REPORT CARD */
#foreign-report-container .card,
#quarterly-report-container .card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 0;
    /* min-height: 112px; */
    padding: 17px 18px;
    border: 1px solid rgba(16, 53, 44, 0.04);
    border-radius: 20px;
    background: #fff8e9;
    box-shadow: 0 3px 10px rgba(16, 53, 44, 0.04);
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}

/* ALTERNATING CARD COLORS */
#foreign-report-container .card:nth-child(3n + 2),
#quarterly-report-container .card:nth-child(3n + 2) {
    background: #fff8e9;
}

#foreign-report-container .card:nth-child(3n),
#quarterly-report-container .card:nth-child(3n) {
    background: #fff8e9;
}

/* HOVER EFFECT */
#foreign-report-container .card:hover,
#quarterly-report-container .card:hover {
    transform: none;
    box-shadow: 0 8px 22px rgba(16, 53, 44, 0.13);
}

/* PDF BADGE */
#foreign-report-container .pdf-box,
#quarterly-report-container .pdf-box {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: 12px;
    background: #cf4d2b;
    color: #ffffff;
    text-align: center;
}

/* PDF LABEL */
#foreign-report-container .pdf-box span,
#quarterly-report-container .pdf-box span {
    display: inline-block;
    padding: 0;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

/* HIDE EXTRA DESCRIPTION IN PDF BADGE */
#foreign-report-container .pdf-box p,
#quarterly-report-container .pdf-box p {
    display: none;
}

/* CARD TEXT CONTAINER */
#foreign-report-container .content,
#quarterly-report-container .content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 0;
}

/* REPORT TITLE */
#foreign-report-container .content h2,
#quarterly-report-container .content h2 {
    /* margin: 0 0 12px; */
    color: #102b26;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* DESCRIPTION */
#foreign-report-container .content p,
#quarterly-report-container .content p {
    margin: 0 0 7px;
    color: #514638;
    font-size: 16px;
    line-height: 1.4;
}

/* OPEN PDF LINK */
#foreign-report-container .content a,
#quarterly-report-container .content a {
    display: inline-block;
    margin: 0;
    padding: 0;
    color: #514638;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}

#foreign-report-container .content a:hover,
#quarterly-report-container .content a:hover {
    color: #cf4d2b;
    /* text-decoration: underline; */
}

/* TABLET */
@media (max-width: 1000px) {
    #foreign-report-container,
    #quarterly-report-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    #foreign-report-container .card,
    #quarterly-report-container .card {
        min-height: 105px;
        padding: 17px;
        border-radius: 22px;
    }

    #foreign-report-container .content h2,
    #quarterly-report-container .content h2 {
        font-size: 17px;
    }

    #foreign-report-container .content a,
    #quarterly-report-container .content a {
        font-size: 15px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    #foreign-report-container,
    #quarterly-report-container {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 20px auto;
    }

    #foreign-report-container .card,
    #quarterly-report-container .card {
        min-height: 95px;
        padding: 15px;
        gap: 13px;
        border-radius: 20px;
    }

    #foreign-report-container .pdf-box,
    #quarterly-report-container .pdf-box {
        flex-basis: 52px;
        width: 52px;
        height: 50px;
        min-height: 50px;
        border-radius: 12px;
    }

    #foreign-report-container .pdf-box span,
    #quarterly-report-container .pdf-box span {
        font-size: 12px;
    }

    #foreign-report-container .content h2,
    #quarterly-report-container .content h2 {
        margin-bottom: 8px;
        font-size: 15px;
    }

    #foreign-report-container .content a,
    #quarterly-report-container .content a {
        font-size: 14px;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    #foreign-report-container .card,
    #quarterly-report-container .card {
        transition: none;
    }

    #foreign-report-container .card:hover,
    #quarterly-report-container .card:hover {
        transform: none;
    }
}
