/* Mission image sizing fix */
.mission-image {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mission-image img {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.story-image img {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.kra-detail-image img {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}
/* Remove underline from all links by default */
a, a:visited, a:hover, a.active {
    text-decoration: none;
}

/* ===============================
   CEANAPSE WEBSITE - MAIN STYLESHEET
   =============================== */

:root {
    --primary-color: #0066cc;
    --secondary-color: #00a86b;
    --accent-color: #ff6b35;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ===============================
   RESET & BASE STYLES
   =============================== */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===============================
   NAVIGATION
   =============================== */

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 0.2rem;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-color);
}

.btn-donate {
    background-color: var(--primary-color);
    color: var(--white) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.56rem 1.52rem;
    min-height: 2.5rem;
    border-radius: 10px;
    border: none;
    font-size: 1.07rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.03em;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
    transition: transform 0.18s ease, background-color 0.2s ease;
    white-space: nowrap;
    transform: translateY(0px);
}

.btn-donate:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

.btn-donate:active {
    transform: translateY(0);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.4rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===============================
   BUTTONS
   =============================== */

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 768px) {
    .hero-buttons .btn,
    .cta-buttons .btn,
    .nav-menu li a,
    .btn {
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-buttons,
    .cta-buttons {
        gap: 0.75rem;
    }
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #00bf7a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary-light {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-primary-light:hover {
    background-color: transparent;
    color: var(--white);
}

.link-arrow {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease;
}

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

/* ===============================
   HERO SECTION
   =============================== */

.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 3.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Hero (for other pages) */
.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    text-align: center;
}

.page-hero-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.8rem;
}

.page-hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
}

.response-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-color);
}

.response-card {
    max-width: 720px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: var(--spacing-lg);
    text-align: center;
}

.response-title {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 2rem;
}

.response-subtitle {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.response-message {
    color: var(--text-light);
    margin: 1rem 0 1.5rem;
}

.response-details {
    margin: 1rem 0 1.5rem;
    text-align: left;
    display: grid;
    gap: 0.5rem;
}

.response-detail {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.response-detail-label {
    font-weight: 700;
    color: var(--text-dark);
}

.response-detail-value {
    color: var(--text-dark);
}

.response-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.response-actions .btn {
    min-width: 165px;
}

/* ===============================
   MISSION SECTION
   =============================== */

.mission-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-color);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.mission-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ===============================
   SECTION STYLES
   =============================== */

.kra-section,
.story-section,
.cta-section,
.impact-overview,
.about-section,
.team-section,
.donation-intro,
.donation-projects,
.donation-section,
.impact-section,
.transparency-section,
.vmv-section,
.story-background-section,
.leadership-preview,
.team-values-section {
    padding: calc(var(--spacing-xl)/4) 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2,
.cta-section p {
    color: var(--white);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* ===============================
   KRA CARDS
   =============================== */

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

.kra-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.kra-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.kra-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.kra-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.kra-card p {
    margin-bottom: 0;
}

/* KRA Detail Sections */
.kra-detail-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.kra-detail-section.alternate {
    background-color: var(--light-color);
}

.kra-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.kra-number {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    background-color: rgba(0, 168, 107, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.kra-objectives {
    text-align: left;
    margin-top: 1.5rem;
}

.kra-objectives h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.kra-objectives ul {
    list-style-position: inside;
}

.kra-objectives li {
    margin-bottom: 0.7rem;
}

/* ===============================
   STORY SECTION
   =============================== */

.story-section {
    background-color: var(--light-color);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.story-highlight {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ===============================
   ABOUT STYLES
   =============================== */

.about-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 3rem;
}

.about-intro p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.vmv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.vmv-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.vmv-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.values-section {
    margin-top: 3rem;
    padding-top: 3rem;
    text-align: center;
    border-top: 2px solid var(--border-color);
}

.values-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-item {
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--radius);
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Timeline Styles */
.story-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--radius);
    position: relative;
}

.timeline-marker {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    min-width: 80px;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===============================
   TEAM STYLES
   =============================== */

.team-category {
    margin-bottom: 3rem;
}

.team-category h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: var(--light-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 220px;
    height: 220px;
    overflow: hidden;
    background-color: #e0e0e0;
    margin: 0 auto;
    border-radius: 50%;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.team-expertise {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-light);
}

.team-bio-short {
    display: block;
    max-height: 3.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    transition: max-height 0.3s ease;
}

.team-bio-long {
    transition: max-height 0.3s ease;
}


.value-highlight {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.value-highlight h4 {
    color: var(--primary-color);
}

.values-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* ===============================
   DONATION STYLES
   =============================== */

.impact-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.highlight-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--radius);
}

.highlight-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.highlight-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-card {
    background-color: var(--light-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.project-card.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.project-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.project-content {
    padding: 2rem;
}

.project-highlight {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.project-details {
    margin: 1.5rem 0;
}

.project-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: rgba(0, 102, 204, 0.05);
    border-radius: var(--radius);
}

.stat {
    flex: 1;
}

.stat strong {
    color: var(--primary-color);
}

.donation-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.donation-type {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.donation-type h3 {
    color: var(--primary-color);
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.amount-btn {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.amount-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

.impact-item {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
}

.impact-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.transparency-item {
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--radius);
}

.transparency-item h4 {
    color: var(--primary-color);
}

.payment-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 107, 53, 0.05);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--radius);
}

/* ===============================
   FOOTER
   =============================== */

.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-tagline {
    font-style: italic;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-weight: 700;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        gap: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0 var(--spacing-md);
    }

    .nav-menu.active {
        max-height: 500px;
        padding: var(--spacing-md);
        box-shadow: var(--shadow);
    }

    .nav-menu li a {
        display: block;
        padding: 0.5rem 0;
    }

    .nav-menu li a.active::after {
        display: none;
    }

    .hero {
        height: 400px;
        margin-bottom: var(--spacing-lg);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .mission-content,
    .story-content,
    .kra-detail,
    .vmv-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .kra-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .impact-highlights {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .transparency-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        grid-template-columns: 1fr;
    }

    .donation-options {
        grid-template-columns: 1fr;
    }

    .amount-buttons {
        grid-template-columns: repeat(3, 1fr);
    }

    .project-stats {
        flex-direction: column;
    }

    .page-hero {
        height: 300px;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .mission-text h2,
    .kra-section h2 {
        font-size: 1.5rem;
    }

    .hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .amount-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-content,
    .story-content {
        gap: var(--spacing-md);
    }

    .kra-detail-image {
        order: 1;
        
    }


    .kra-detail-text {
        order: 2;
    }

    .nav-brand {
        gap: 0.1rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .tagline {
        font-size: 0.65rem;
    }
}

/* ===============================
   UTILITY CLASSES
   =============================== */

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.bg-light {
    background-color: var(--light-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.pt-1 { padding-top: var(--spacing-sm); }
.pt-2 { padding-top: var(--spacing-md); }
.pt-3 { padding-top: var(--spacing-lg); }

.pb-1 { padding-bottom: var(--spacing-sm); }
.pb-2 { padding-bottom: var(--spacing-md); }
.pb-3 { padding-bottom: var(--spacing-lg); }

/* ============================================
   DONATION CHECKOUT FORM STYLES
   ============================================ */

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

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

.checkout-main {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.donation-header {
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: var(--spacing-md);
}

.donation-header h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.donation-subtitle {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.project-summary {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
}

.summary-header h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.summary-header p {
    color: #666;
    margin: 0 0 var(--spacing-md) 0;
}

.summary-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: calc(var(--border-radius) / 2);
    display: block;
}

/* Form Fieldsets */
.form-fieldset {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.fieldset-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: block;
}

/* Form Groups */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: calc(var(--border-radius) / 2);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 120, 100, 0.1);
}

.form-input--amount {
    padding-left: 3rem;
}

.amount-input-wrapper {
    position: relative;
}

.amount-currency {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.input-hint {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Amount Suggestions */
.amount-suggestions {
    margin-top: var(--spacing-md);
}

.suggestions-label {
    font-weight: 500;
    color: #666;
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
}

.suggestion-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
}

.amount-btn {
    padding: 0.75rem;
    border: 2px solid #ddd;
    background: white;
    color: #333;
    border-radius: calc(var(--border-radius) / 2);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.amount-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.amount-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    cursor: pointer;
}

.checkbox-hint {
    font-size: 0.85rem;
    color: #888;
    margin: 0.25rem 0 0 2rem;
}

/* Summary Box */
.donation-summary-box {
    background: linear-gradient(135deg, rgba(0, 120, 100, 0.05) 0%, rgba(0, 120, 100, 0.02) 100%);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: #333;
    font-size: 0.95rem;
}

.summary-row strong {
    color: var(--primary-color);
    font-weight: 600;
}

.summary-total {
    border-top: 1px solid rgba(0, 120, 100, 0.2);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
    font-size: 1.1rem;
}

.summary-total strong {
    font-size: 1.3rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
}

@media (max-width: 480px) {
    .form-actions {
        flex-direction: column;
    }
}

.btn-proceed {
    flex: 1;
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.btn-proceed:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cancel {
    flex: 0.5;
}

@media (max-width: 480px) {
    .btn-cancel {
        flex: 1;
    }
}

.btn-loader {
    display: inline-block;
    margin-left: 0.5rem;
}

.loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Errors */
.form-errors {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
}

.form-error {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Form Disclaimer */
.form-disclaimer {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    margin: var(--spacing-md) 0 0 0;
    padding-top: var(--spacing-md);
    border-top: 1px solid #eee;
}

/* Sidebar */
.checkout-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.sidebar-card {
    background: white;
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0 0 var(--spacing-md) 0;
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-color);
}

/* Impact Breakdown */
.impact-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.impact-row {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: calc(var(--border-radius) / 2);
}

.impact-row span {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.impact-row p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

/* Trust List */
.trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    font-size: 0.95rem;
}

.trust-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQ/ Common Questions */
.faq-card {
    padding: var(--spacing-md);
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.95rem;
    user-select: none;
}

.faq-item summary:hover {
    text-decoration: underline;
}

.faq-item p {
    margin: 0.75rem 0 0 0;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Reassurance Section */
.reassurance-section {
    background: linear-gradient(135deg, rgba(0, 120, 100, 0.05) 0%, rgba(0, 120, 100, 0.02) 100%);
    padding: var(--spacing-xl) 0;
}

.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.reassurance-item {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.reassurance-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.reassurance-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.reassurance-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}



