/* =====================================================
   OUR PROJECTS PAGE STYLES - YUVA SATHI SANGATHAN
   Complementing styles.css with dedicated initiatives tokens
   ===================================================== */

:root {
    --proj-dark: #0B1F2A;
    --proj-green: #0B5D3B;
    --proj-green-light: #EBF4EE;
    --proj-orange: #F05A16;
    --proj-orange-light: #FFF2EB;
    --proj-cream-bg: #FAF9F5;
    --proj-card-bg: #FFFFFF;
    --proj-border: #E8E6DF;
    --proj-text-muted: #596B75;
    --proj-font-hand: 'Caveat', cursive;
}

/* Base Body Adjustment for Projects Page */
.projects-page-body {
    background-color: var(--proj-cream-bg);
    color: var(--proj-dark);
    font-family: var(--font-main, 'Inter', sans-serif);
    overflow-x: hidden;
}

/* Ensure navbar active link indicator matches exact orange */
.site-header .nav-link.active::after {
    background-color: var(--proj-orange);
}

/* =====================================================
   1. HERO SECTION (Matching Figma Design Banner)
   ===================================================== */
.projects-hero-section {
    position: relative;
    width: 100%;
    min-height: 520px;
    background-color: #FAF9F5;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-banner-bg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-banner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

.hero-banner-container {
    position: relative;
    z-index: 5;
    padding-top: 44px;
    padding-bottom: 44px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    min-height: 460px;
    width: 100%;
}

.hero-banner-left {
    max-width: 530px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    z-index: 6;
}

.proj-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--proj-text-muted);
    font-weight: 500;
}

.proj-breadcrumb .bullet {
    color: var(--proj-orange);
    font-size: 1.1rem;
    line-height: 1;
}

.proj-breadcrumb a {
    color: var(--proj-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.proj-breadcrumb a:hover {
    color: var(--proj-orange);
}

.proj-breadcrumb .separator {
    color: #9AA7AF;
    font-size: 0.8rem;
}

.proj-breadcrumb .current {
    color: var(--proj-dark);
    font-weight: 600;
}

.proj-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--proj-orange);
}

.proj-eyebrow::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--proj-orange);
}

.projects-hero-title {
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1.14;
    color: var(--proj-dark);
    letter-spacing: -0.03em;
    margin: 0;
}

.projects-hero-title .title-orange {
    color: var(--proj-orange);
}

.projects-hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--proj-text-muted);
    max-width: 500px;
    margin: 0;
}

/* Three Feature Items with Vertical Dividers */
.hero-features-bar {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 10px;
    padding-top: 6px;
}

.hero-feature-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-feature-inline i {
    font-size: 1.85rem;
    line-height: 1;
}

.hero-feature-inline i.icon-green {
    color: var(--proj-green);
}

.hero-feature-inline i.icon-orange {
    color: var(--proj-orange);
}

.hero-feature-inline .feature-text {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--proj-dark);
    line-height: 1.25;
}

.feature-divider {
    width: 1.5px;
    height: 34px;
    background-color: rgba(11, 31, 42, 0.22);
}

/* Right Content Overlays */
.hero-banner-right {
    position: relative;
    flex-grow: 1;
    min-width: 340px;
    pointer-events: none;
}

/* Top Right Handwritten Callout */
.hero-callout-top-right {
    position: absolute;
    top: 6px;
    right: 32px;
    z-index: 6;
    text-align: right;
}

.handwritten-stronger {
    position: relative;
    display: inline-block;
    font-family: var(--proj-font-hand);
    color: #0B5D3B;
    line-height: 1.05;
}

.handwritten-stronger .script-lines {
    font-size: 2.2rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transform: rotate(2deg);
}

.handwritten-stronger .script-sparkle {
    position: absolute;
    top: -12px;
    right: -10px;
    font-size: 1.4rem;
    color: #F59E0B;
}

.handwritten-stronger .script-orange-swoosh {
    width: 90px;
    height: 16px;
    margin-top: -2px;
    display: block;
    margin-left: auto;
}

/* Bottom Right Quote in Green Brush Area */
.hero-callout-bottom-right {
    position: absolute;
    bottom: 30px;
    right: 32px;
    z-index: 6;
}

.hero-quote-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #0B5D3B;
}

.hero-quote-box .quote-mark {
    font-size: 3.4rem;
    line-height: 0.8;
    font-family: Georgia, serif;
    font-weight: 900;
    color: #0B5D3B;
}

.quote-text-group {
    display: flex;
    flex-direction: column;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0B3A25;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* =====================================================
   2. MAIN PROJECTS SECTION & FILTERS
   ===================================================== */
.projects-main-section {
    position: relative;
    padding: 72px 0 96px;
    background-color: var(--proj-cream-bg);
}

/* Floral Branch Decorative Watermark */
.projects-branch-left {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 190px;
    height: 190px;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

.projects-branch-right {
    position: absolute;
    top: 260px;
    right: -20px;
    width: 210px;
    height: 210px;
    opacity: 0.16;
    transform: scaleX(-1) rotate(20deg);
    pointer-events: none;
    z-index: 0;
}

/* Section Header Container */
.projects-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 42px;
    position: relative;
    z-index: 60;
    flex-wrap: wrap;
    gap: 28px;
}

.projects-header-left {
    max-width: 650px;
}

.projects-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--proj-orange);
    margin-bottom: 8px;
}

.projects-section-eyebrow .leaf-icon {
    color: var(--proj-green);
    font-size: 1.1rem;
}

.projects-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--proj-dark);
    margin: 0 0 8px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.projects-section-subtitle {
    font-size: 1.05rem;
    color: var(--proj-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Right Filter Controls */
.projects-filter-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Search Box */
.project-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1.5px solid var(--proj-border);
    border-radius: 50px;
    padding: 0 16px;
    height: 46px;
    width: 250px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.project-search-box:focus-within {
    border-color: var(--proj-orange);
    box-shadow: 0 4px 14px rgba(240, 90, 22, 0.15);
    width: 280px;
}

.project-search-box i.ri-search-line {
    color: #8C9CA6;
    font-size: 1.1rem;
    margin-right: 8px;
    pointer-events: none;
}

.project-search-input {
    border: none;
    outline: none;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--proj-dark);
    width: 100%;
    background: transparent;
}

.project-search-input::placeholder {
    color: #9BAAB3;
}

.search-clear-btn {
    display: none;
    background: none;
    border: none;
    color: #9BAAB3;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.search-clear-btn:hover {
    color: var(--proj-dark);
}

/* Category Custom Dropdown */
.category-dropdown-wrapper {
    position: relative;
    user-select: none;
    z-index: 100;
}

.category-dropdown-btn {
    background: #FFFFFF;
    border: 1.5px solid var(--proj-border);
    border-radius: 50px;
    height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--proj-dark);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.category-dropdown-btn:hover {
    border-color: var(--proj-green);
}

.category-dropdown-btn i.dropdown-chevron {
    font-size: 1.1rem;
    color: #8C9CA6;
    transition: transform 0.25s ease;
}

.category-dropdown-wrapper.open .category-dropdown-btn i.dropdown-chevron {
    transform: rotate(180deg);
}

.category-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    max-height: 340px;
    overflow-y: auto;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid var(--proj-border);
    box-shadow: 0 16px 36px rgba(11, 31, 42, 0.16);
    padding: 8px 0;
    list-style: none;
    display: none;
    z-index: 9999;
    animation: dropdownFadeIn 0.2s ease;
}

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

.category-dropdown-wrapper.open .category-dropdown-menu {
    display: block;
}

.category-dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--proj-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.15s ease, color 0.15s ease;
}

.category-dropdown-item:hover {
    background-color: var(--proj-cream-bg);
    color: var(--proj-orange);
}

.category-dropdown-item.active {
    color: #004a84;
    font-weight: 700;
    background-color: #EBF4FC;
}

.category-dropdown-item.active::after {
    content: '✓';
    font-weight: 800;
    font-size: 0.85rem;
    color: #004a84;
}

/* Result Stats & Active Filter Bar */
.projects-filter-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: var(--proj-text-muted);
}

.active-filter-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-chip {
    background: #FFFFFF;
    border: 1px solid var(--proj-border);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--proj-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-chip button {
    background: none;
    border: none;
    cursor: pointer;
    color: #8C9CA6;
    font-size: 0.9rem;
    padding: 0;
    line-height: 1;
}

.filter-chip button:hover {
    color: var(--proj-orange);
}

/* =====================================================
   3. 3-COLUMN PROJECT CARDS GRID
   ===================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Individual Project Card */
.project-card {
    background: var(--proj-card-bg);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(11, 31, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(232, 230, 223, 0.85);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
                border-color 0.35s ease;
    cursor: pointer;
    position: relative;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 36px rgba(11, 31, 42, 0.11), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(240, 90, 22, 0.3);
}

/* Card Image Container */
.card-image-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #E2E8F0;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .card-image-wrap img {
    transform: scale(1.04);
}

/* Card Body */
.card-body {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

/* Circular Icon Overlapping Image */
.card-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid var(--proj-orange);
    color: var(--proj-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    margin-top: -24px;
    margin-bottom: 12px;
    z-index: 3;
    transition: all 0.3s ease;
}

.project-card:hover .card-icon-badge {
    background-color: var(--proj-orange);
    color: #FFFFFF;
    transform: scale(1.05);
}

/* Header Row with Title & Arrow Button */
.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--proj-dark);
    margin: 0;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.project-card:hover .card-title {
    color: var(--proj-orange);
}

.card-arrow-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #D5DCE0;
    background: transparent;
    color: #6C7E8A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.project-card:hover .card-arrow-btn {
    background-color: var(--proj-orange);
    border-color: var(--proj-orange);
    color: #FFFFFF;
    transform: rotate(45deg);
}

/* Short Description */
.card-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--proj-text-muted);
    margin: 0 0 18px 0;
    flex-grow: 1;
}

/* Tags Row at Card Bottom */
.card-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

.proj-tag {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

.proj-tag:hover {
    transform: translateY(-1px);
}

/* Soft Tinted Tag Variants matching Reference Palette */
.tag-dialogue, .tag-learning, .tag-networking, .tag-personal-growth {
    background-color: #FDF1EA;
    color: #B54708;
    border: 1px solid rgba(240, 90, 22, 0.16);
}

.tag-leadership, .tag-innovation, .tag-discipline {
    background-color: #FEF7E6;
    color: #B54708;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.tag-nation-building, .tag-community, .tag-social-impact, .tag-environment, .tag-community-action {
    background-color: #EDF7EE;
    color: #0B5D3B;
    border: 1px solid rgba(11, 93, 59, 0.16);
}

.tag-cultural, .tag-education, .tag-skill-development {
    background-color: #EFF6FF;
    color: #175CD3;
    border: 1px solid rgba(23, 92, 211, 0.16);
}

.tag-spirituality, .tag-collaboration, .tag-creativity {
    background-color: #F8F4FF;
    color: #6941C6;
    border: 1px solid rgba(105, 65, 198, 0.16);
}

.tag-women-empowerment, .tag-awareness, .tag-expression {
    background-color: #FFF1F3;
    color: #C01048;
    border: 1px solid rgba(192, 16, 72, 0.16);
}

.tag-sports, .tag-healthy-living, .tag-youth-community, .tag-support {
    background-color: #ECFDF3;
    color: #027A48;
    border: 1px solid rgba(2, 122, 72, 0.16);
}

/* Empty Filter State */
.projects-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px dashed var(--proj-border);
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--proj-cream-bg);
    color: #8C9CA6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.empty-state-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--proj-dark);
    margin-bottom: 8px;
}

.empty-state-desc {
    font-size: 0.95rem;
    color: var(--proj-text-muted);
    max-width: 420px;
    margin: 0 auto 20px;
}

.btn-reset-filters {
    background-color: var(--proj-orange);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(240, 90, 22, 0.25);
}

.btn-reset-filters:hover {
    background-color: #D34505;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(240, 90, 22, 0.35);
}

/* =====================================================
   4. SUPPORT PROJECTS CTA SECTION
   ===================================================== */
.projects-cta-section {
    padding: 30px 0 80px;
    background-color: var(--proj-cream-bg);
    position: relative;
}

.projects-cta-banner {
    background: linear-gradient(135deg, #E6EFE9 0%, #F5F7EE 100%);
    border-radius: 30px;
    padding: 40px 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(11, 93, 59, 0.12);
    box-shadow: 0 10px 30px rgba(11, 31, 42, 0.04);
}

.cta-grid {
    display: grid;
    grid-template-columns: 320px 1fr 200px;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Illustration */
.cta-illustration-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-illustration-img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: contrast(1.05);
}

/* Center Content */
.cta-center-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-eyebrow {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--proj-orange);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--proj-orange);
}

.cta-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0B2F20;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #385045;
    margin: 0;
    max-width: 520px;
}

.cta-action-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.btn-cta-get-involved {
    background-color: var(--proj-orange);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(240, 90, 22, 0.35);
    transition: all 0.3s ease;
}

.btn-cta-get-involved:hover {
    background-color: #D34505;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 90, 22, 0.45);
}

.btn-cta-get-involved i {
    transition: transform 0.25s ease;
}

.btn-cta-get-involved:hover i {
    transform: translateX(4px);
}

/* Right Handwritten Script */
.cta-right-script {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.cta-handwritten-text {
    font-family: var(--proj-font-hand);
    font-size: 2.7rem;
    font-weight: 700;
    color: #004a84;
    line-height: 0.95;
    transform: rotate(-7deg);
    display: inline-block;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* =====================================================
   5. PROJECT DETAILS INTERACTIVE MODAL
   ===================================================== */
.project-modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(11, 31, 42, 0.65);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.project-modal-card {
    background: #FFFFFF;
    border-radius: 24px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 60px rgba(11, 31, 42, 0.25);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-modal-backdrop.active .project-modal-card {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--proj-border);
    color: var(--proj-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-close-btn:hover {
    background: var(--proj-orange);
    color: #FFFFFF;
    border-color: var(--proj-orange);
    transform: rotate(90deg);
}

.modal-header-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.modal-content {
    padding: 28px 32px 36px;
}

.modal-tag-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.modal-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--proj-dark);
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.modal-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--proj-text-muted);
    margin-bottom: 24px;
}

.modal-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
    padding: 16px;
    background-color: var(--proj-cream-bg);
    border-radius: 16px;
    border: 1px solid var(--proj-border);
}

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

.metric-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--proj-green);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--proj-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-modal-donate {
    background-color: var(--proj-orange);
    color: #FFFFFF;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-modal-donate:hover {
    background-color: #D34505;
    transform: translateY(-2px);
}

.btn-modal-volunteer {
    background-color: #EBF4FC;
    color: #004a84;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    border: 1px solid rgba(0, 74, 132, 0.2);
}

.btn-modal-volunteer:hover {
    background-color: #004a84;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 74, 132, 0.25);
}

/* =====================================================
   6. RESPONSIVENESS & BREAKPOINTS
   ===================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-banner-container {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .projects-hero-title {
        font-size: 2.7rem;
    }

    .hero-callout-top-right {
        top: 4px;
        right: 16px;
    }

    .handwritten-stronger .script-lines {
        font-size: 1.7rem;
    }

    .hero-callout-bottom-right {
        bottom: 20px;
        right: 20px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .cta-grid {
        grid-template-columns: 1fr 180px;
        gap: 24px;
    }

    .cta-illustration-wrap {
        display: none;
    }
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
    .projects-hero-section {
        min-height: auto;
        padding: 16px 0 28px;
        background-color: #FAF9F5;
    }

    .hero-banner-bg-layer {
        display: none;
    }

    .hero-banner-container {
        flex-direction: column;
        min-height: auto;
        padding-top: 12px;
        padding-bottom: 16px;
        gap: 20px;
    }

    .hero-banner-left {
        max-width: 100%;
        gap: 14px;
    }

    .proj-breadcrumb {
        font-size: 0.82rem;
    }

    .proj-eyebrow {
        font-size: 0.78rem;
    }

    .projects-hero-title {
        font-size: 2.1rem;
        line-height: 1.16;
    }

    .projects-hero-desc {
        font-size: 0.96rem;
        line-height: 1.55;
    }

    .hero-features-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 6px;
        padding: 12px 10px;
        background: #FFFFFF;
        border: 1px solid #EAE7DC;
        border-radius: 14px;
        box-shadow: 0 4px 15px rgba(11, 31, 42, 0.04);
    }

    .feature-divider {
        display: none;
    }

    .hero-feature-inline {
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .hero-feature-inline i {
        font-size: 1.5rem;
    }

    .hero-feature-inline .feature-text {
        font-size: 0.76rem;
        line-height: 1.25;
    }

    .hero-banner-right {
        position: relative;
        width: 100%;
        min-width: 100%;
        height: 275px;
        background-image: url('assets/projects/hero-banner-bg.png');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: 78% center;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(11, 31, 42, 0.1);
        display: block;
    }

    .hero-callout-top-right {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 6;
        text-align: right;
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 6px 12px;
        border-radius: 12px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    }

    .handwritten-stronger .script-lines {
        font-size: 1.2rem;
        align-items: flex-end;
        transform: none;
    }

    .handwritten-stronger .script-sparkle {
        top: -6px;
        right: -6px;
        font-size: 1rem;
    }

    .handwritten-stronger .script-orange-swoosh {
        width: 60px;
        height: 12px;
    }

    .hero-callout-bottom-right {
        position: absolute;
        bottom: 12px;
        left: 12px;
        right: 12px;
        z-index: 6;
    }

    .hero-quote-box {
        background: rgba(181, 199, 179, 0.94);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        padding: 8px 14px;
        border-radius: 12px;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .hero-quote-box .quote-mark {
        font-size: 2rem;
        line-height: 1;
        color: #0B5D3B;
    }

    .quote-text-group {
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .projects-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .projects-filter-controls {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .project-search-box {
        width: 100%;
    }

    .project-search-box:focus-within {
        width: 100%;
    }

    .category-dropdown-btn {
        width: 100%;
        justify-content: space-between;
    }

    .category-dropdown-menu {
        width: 100%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .projects-cta-banner {
        padding: 28px 20px;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .cta-right-script {
        align-items: flex-start;
    }

    .cta-heading {
        font-size: 1.75rem;
    }

    .modal-content {
        padding: 20px;
    }

    .modal-metrics-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
    .projects-hero-section {
        padding: 12px 0 24px;
    }

    .projects-hero-title {
        font-size: 1.85rem;
    }

    .projects-hero-desc {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .hero-features-bar {
        padding: 10px 6px;
        gap: 4px;
    }

    .hero-feature-inline i {
        font-size: 1.35rem;
    }

    .hero-feature-inline .feature-text {
        font-size: 0.72rem;
        line-height: 1.2;
    }

    .hero-banner-right {
        height: 250px;
        background-position: 79% center;
        border-radius: 16px;
    }

    .hero-callout-top-right {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
    }

    .handwritten-stronger .script-lines {
        font-size: 1.05rem;
    }

    .hero-callout-bottom-right {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .hero-quote-box {
        padding: 6px 10px;
        gap: 6px;
    }

    .hero-quote-box .quote-mark {
        font-size: 1.6rem;
    }

    .quote-text-group {
        font-size: 0.76rem;
        line-height: 1.25;
    }
}

