/*
 * Custom CSS for Connect Help Initiative - Modern Redesign
 * Responsive, mobile-first design
 */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
    background-color: var(--primary-color, #2E86C1);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark, #1A6B9E);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color, #1ABC9C);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark, #16A085);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color, #2E86C1);
    color: var(--primary-color, #2E86C1);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color, #2E86C1);
    color: white;
}

/* Header styles */
.top-bar {
    font-size: 0.9rem;
    background-color: var(--primary-color, #2E86C1);
}

.top-bar .contact-info {
    font-size: 0.9rem;
}

.top-bar .social-links a {
    font-size: 1rem;
    color: white;
    transition: color 0.3s ease;
}

.top-bar .social-links a:hover {
    color: #e9ecef;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-brand img.logo {
    height: 55px;
    width: auto;
}

.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    background-color: var(--primary-color, #2E86C1) !important;
}

/* Right-align the main nav menu */
.navbar-nav.ms-auto {
    margin-left: auto !important;
}

.navbar-nav .nav-link {
    font-weight: 600;
    margin: 0 10px;
    color: white !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #e9ecef !important;
}

.navbar-nav .nav-link.active {
    color: white !important;
}

.navbar-toggler {
    border: none;
    color: white;
}

.navbar-toggler:focus {
    outline: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Impact Counters */
.impact-counters {
    background: linear-gradient(135deg, var(--primary-color, #2E86C1) 0%, var(--secondary-color, #1ABC9C) 100%);
    color: white;
    padding: 60px 0;
}

.counter-box {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
}

.counter {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.counter-box p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

/* Program Areas */
.program-areas .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background: white;
    padding: 30px;
    text-align: center;
    height: 100%;
}

.program-areas .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.program-areas .icon {
    margin-bottom: 20px;
    font-size: 3rem;
    color: var(--primary-color, #2E86C1);
}

/* Featured Programs */
.featured-programs .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background: white;
    overflow: hidden;
}

.featured-programs .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.featured-programs .card-img-top {
    height: 200px;
    object-fit: cover;
}

.featured-programs .card-body {
    padding: 25px;
}

/* Recent Impacts */
.recent-impacts .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background: white;
    overflow: hidden;
}

.recent-impacts .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.recent-impacts .card-img-top {
    height: 200px;
    object-fit: cover;
}

.recent-impacts .card-body {
    padding: 25px;
}

/* Success Stories */
.success-stories .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background: white;
    padding: 30px;
    position: relative;
}

.success-stories .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: var(--primary-color, #2E86C1);
    opacity: 0.2;
}

.success-stories .card-body {
    margin-top: 30px;
}

/* Testimonials */
.testimonials {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.testimonial-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background: white;
    padding: 30px;
    position: relative;
    border-left: 4px solid var(--primary-color, #2E86C1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-card .quote::before {
    content: "\201C";
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -15px;
    color: var(--primary-color, #2E86C1);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
}

.testimonial-card .author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

/* Partners */
.partners .partner-card {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.partners .partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.partners .partner-card:hover .text-primary {
    color: var(--primary-color) !important;
}

.partners .partner-logo {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.partners .partner-logo:hover {
    opacity: 1;
}

.partners .partner-logo img {
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partners .partner-logo:hover img {
    filter: grayscale(0%);
}

/* Upcoming Events */
.upcoming-events .event-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background: white;
    overflow: hidden;
}

.upcoming-events .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.event-date {
    text-align: center;
    margin-bottom: 1rem;
    background: var(--primary-color, #2E86C1);
    color: white;
    padding: 15px 0;
}

.day {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: var(--secondary-color, #1ABC9C);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 5px;
}

.month {
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Gallery */
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    height: 250px;
}

.gallery-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .ratio img {
    transition: transform 0.5s ease;
}

.gallery-item:hover .ratio img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--primary-color-rgb, 46, 134, 193), 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Gallery Group Cards */
.gallery-group-card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.gallery-group-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

.gallery-group-card .card-img-wrapper {
    position: relative;
    background: #f8f9fa;
}

.gallery-group-card .badge {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 20px;
}

.gallery-group-card .card-body {
    padding: 1.25rem;
}

.gallery-group-card .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Gallery grid for details page */
.gallery-grid .gallery-item.card {
    border: none;
    margin-bottom: 0;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid .gallery-item.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color, #2E86C1) 0%, var(--secondary-color, #1ABC9C) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.newsletter h2 {
    color: white;
}

.newsletter p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

/* Contact CTA */
.contact-cta {
    background-color: var(--primary-color, #2E86C1);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-cta h3 {
    color: white;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--footer-color, #1a1a1a);
    color: #e9ecef;
    padding: 60px 0 30px 0;
}

.footer .social-links a {
    font-size: 1.3rem;
    color: #e9ecef;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: white;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color, #2E86C1);
}

.footer .list-unstyled a {
    color: #adb5bd;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 10px;
    padding: 5px 0;
}

.footer .list-unstyled a:hover {
    color: white;
    padding-left: 5px;
}

.footer .copyright {
    border-top: 1px solid #343a40;
    padding-top: 20px;
    margin-top: 30px;
    color: #adb5bd;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .counter {
        font-size: 2.5rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0 5px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .counter {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .counter {
        font-size: 1.8rem;
    }
    
    .counter-box {
        padding: 20px 15px;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0 3px;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .program-areas .card,
    .featured-programs .card,
    .recent-impacts .card,
    .success-stories .card,
    .testimonial-card {
        margin-bottom: 20px;
    }
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Lightbox styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.92);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    opacity: 0.7;
    transition: opacity 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    opacity: 0.7;
    transition: opacity 0.3s, background 0.3s;
    user-select: none;
}

.lightbox-nav:hover {
    opacity: 1;
    background: rgba(0,0,0,0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-prev::before {
    content: '\25C0';
}

.lightbox-next {
    right: 20px;
}

.lightbox-next::before {
    content: '\25B6';
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    z-index: 10000;
    opacity: 0.7;
    background: rgba(0,0,0,0.5);
    padding: 6px 16px;
    border-radius: 20px;
}

/* Form styling */
.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color, #2E86C1);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb, 46, 134, 193), 0.25);
}

/* Card styling */
.card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.card-header {
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
}

/* Navigation breadcrumb */
.breadcrumb {
    background-color: transparent;
    margin-bottom: 1rem;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary-color, #2E86C1);
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Section spacing */
.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mb-5 {
    margin-bottom: 5rem !important;
}

.mb-4 {
    margin-bottom: 3rem !important;
}

.mt-4 {
    margin-top: 3rem !important;
}

/* Custom font sizes */
.display-4 {
    font-size: 2.5rem;
}

/* Social media icons */
.fab {
    transition: color 0.3s ease;
}

.fab:hover {
    color: var(--primary-color, #2E86C1);
}

/* Mobile menu adjustments */
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    outline: none;
}

/* Image captions */
.img-caption {
    text-align: center;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* Highlight text */
.highlight {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color, #2E86C1);
    outline-offset: 2px;
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color, #2E86C1);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    a {
        text-decoration: underline;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Form validation styles */
.is-valid {
    border-color: #28a745 !important;
}

.is-invalid {
    border-color: #dc3545 !important;
}

/* Custom scrollbar for better accessibility */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color, #2E86C1);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark, #1A6B9E);
}

/* Improved focus indicators for interactive elements */
.nav-link:focus,
.btn:focus,
.form-control:focus {
    outline: 2px solid var(--primary-color, #2E86C1);
    outline-offset: 2px;
}

/* Enhanced color contrast for text */
.text-primary {
    color: var(--primary-color, #2E86C1) !important;
}

.text-secondary {
    color: var(--secondary-color, #1ABC9C) !important;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color, #2E86C1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark, #1A6B9E);
    transform: translateY(-3px);
}

/* Add a small margin to the body to prevent content from being hidden behind fixed elements */
body {
    padding-bottom: 20px;
}

/* Ensure proper spacing on contact pages */
.contact-content {
    margin-bottom: 2rem;
}

/* Add extra spacing for contact page sections */
.contact-section {
    margin-bottom: 3rem;
}

/* Ensure all pages have adequate spacing from footer */
main {
    min-height: calc(100vh - 200px);
}

/* Prevent footer from overlapping content */
.footer {
    margin-top: 3rem;
}

/* Fix for Google Maps iframe in contact page */
.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Ensure contact form sections don't overlap */
.contact-form-section {
    margin-bottom: 3rem;
}

/* Ensure contact form has proper spacing from footer */
.contact-page {
    padding-bottom: 60px;
}

/* ================================================================
   PHASE 1 — MODERN DESIGN SYSTEM
   ================================================================ */

/* --- Additional Keyframe Animations --- */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(60px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(var(--primary-color-rgb, 46,134,193), 0.4); }
    50%      { box-shadow: 0 0 25px rgba(var(--primary-color-rgb, 46,134,193), 0.8); }
}
@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes ripple {
    0%   { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}
@keyframes parallaxFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%      { transform: translateY(-8px) rotate(1deg); }
    75%      { transform: translateY(4px) rotate(-1deg); }
}
@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40%  { transform: translateY(-12px) translateX(-50%); }
    60%  { transform: translateY(-6px) translateX(-50%); }
}
@keyframes typing {
    from { width: 0; }
    to   { width: 100%; }
}
@keyframes blinkCaret {
    from, to { border-color: transparent; }
    50%      { border-color: var(--primary-color, #2E86C1); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-80px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(80px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes rotateIn {
    from { opacity: 0; transform: rotate(-10deg) scale(0.9); }
    to   { opacity: 1; transform: rotate(0) scale(1); }
}

/* --- Typography Extensions --- */
.font-display {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}
.font-heading {
    font-family: 'Montserrat', system-ui, sans-serif;
}
.font-body {
    font-family: 'Inter', system-ui, sans-serif;
}

/* --- Shadow Elevation System --- */
.shadow-xs  { box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.shadow-sm  { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.shadow-md  { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.shadow-lg  { box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.shadow-xl  { box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.shadow-2xl { box-shadow: 0 20px 60px rgba(0,0,0,0.2); }

/* --- Glass-morphism --- */
.glass-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
}
.glass-card-dark {
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    color: #fff;
}

/* --- Text Gradient --- */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color, #2E86C1), var(--secondary-color, #1ABC9C));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Hover Interaction Utilities --- */
.hover-lift {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.hover-zoom {
    overflow: hidden;
}
.hover-zoom img {
    transition: transform 0.5s ease;
}
.hover-zoom:hover img {
    transform: scale(1.08);
}
.hover-glow:hover {
    box-shadow: 0 0 20px rgba(var(--primary-color-rgb, 46,134,193), 0.5);
}

/* --- Section Dividers (SVG Wave / Curve) --- */
.section-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.section-divider svg {
    display: block;
    width: 100%;
    height: auto;
}
.section-divider-wave svg  { height: 60px; }
.section-divider-curve svg { height: 80px; }
.section-divider-triangle svg { height: 50px; }

/* --- Background Patterns --- */
.bg-pattern-dots {
    background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
}
.bg-pattern-lines {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,0.03) 10px,
        rgba(0,0,0,0.03) 11px
    );
}
.bg-pattern-grid {
    background-image:
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* --- Scroll-Triggered Animation (AOS-like) --- */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-duration: 0.7s;
}
[data-aos].aos-animate { opacity: 1; }

[data-aos="fade-up"]          { transform: translateY(40px); }
[data-aos="fade-up"].aos-animate    { transform: translateY(0); }
[data-aos="fade-down"]        { transform: translateY(-40px); }
[data-aos="fade-down"].aos-animate  { transform: translateY(0); }
[data-aos="fade-left"]        { transform: translateX(-50px); }
[data-aos="fade-left"].aos-animate  { transform: translateX(0); }
[data-aos="fade-right"]       { transform: translateX(50px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="zoom-in"]          { transform: scale(0.85); }
[data-aos="zoom-in"].aos-animate    { transform: scale(1); }
[data-aos="zoom-out"]         { transform: scale(1.15); }
[data-aos="zoom-out"].aos-animate   { transform: scale(1); }
[data-aos="flip-up"]          { transform: perspective(600px) rotateX(15deg); }
[data-aos="flip-up"].aos-animate    { transform: perspective(600px) rotateX(0); }

/* AOS delay utilities */
[data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos-delay="200"] { transition-delay: 200ms; }
[data-aos-delay="300"] { transition-delay: 300ms; }
[data-aos-delay="400"] { transition-delay: 400ms; }
[data-aos-delay="500"] { transition-delay: 500ms; }
[data-aos-delay="600"] { transition-delay: 600ms; }
[data-aos-delay="700"] { transition-delay: 700ms; }
[data-aos-delay="800"] { transition-delay: 800ms; }

/* AOS duration utilities */
[data-aos-duration="400"]  { transition-duration: 0.4s; }
[data-aos-duration="600"]  { transition-duration: 0.6s; }
[data-aos-duration="800"]  { transition-duration: 0.8s; }
[data-aos-duration="1000"] { transition-duration: 1s; }
[data-aos-duration="1200"] { transition-duration: 1.2s; }

/* --- Page Preloader --- */
.page-preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e9ecef;
    border-top-color: var(--primary-color, #2E86C1);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Scroll Progress Bar --- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color, #2E86C1), var(--secondary-color, #1ABC9C));
    z-index: 10001;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* --- Parallax Container --- */
.parallax-bg {
    position: relative;
    overflow: hidden;
}
.parallax-bg .parallax-inner {
    position: absolute;
    inset: -20% 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 0;
}
.parallax-bg > *:not(.parallax-inner) {
    position: relative;
    z-index: 1;
}

/* --- Typing Text Effect --- */
.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary-color, #2E86C1);
    animation: blinkCaret 0.75s step-end infinite;
}
.typing-text.done {
    border-right-color: transparent;
    animation: none;
}

/* --- Sticky Header Shrink --- */
.navbar.shrink {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.navbar.shrink .navbar-brand img.logo {
    height: 40px;
    transition: height 0.3s ease;
}
.navbar.shrink .nav-link {
    font-size: 0.9rem;
}

/* --- Icon Gradient Backgrounds --- */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}
.icon-circle-primary {
    background: linear-gradient(135deg, var(--primary-color, #2E86C1), var(--primary-dark, #1A6B9E));
}
.icon-circle-secondary {
    background: linear-gradient(135deg, var(--secondary-color, #1ABC9C), var(--secondary-dark, #16A085));
}
.icon-circle-accent {
    background: linear-gradient(135deg, var(--accent-color, #198754), #145a3e);
}
.icon-circle-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}
.icon-circle-info {
    background: linear-gradient(135deg, #0dcaf0, #0aa2c0);
}

/* --- Decorative Blobs --- */
.blob-shape {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    animation: morphBlob 8s ease-in-out infinite;
}
@keyframes morphBlob {
    0%, 100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
    33%      { border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%; }
    66%      { border-radius: 30% 70% 35% 65% / 58% 42% 58% 42%; }
}

/* --- Scroll Down Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.5rem;
    opacity: 0.7;
    animation: bounceArrow 2s infinite;
    cursor: pointer;
    z-index: 10;
}
.scroll-indicator:hover { opacity: 1; }

/* --- Section Label / Overline --- */
.section-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color, #2E86C1);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 40px;
}
.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 2px;
    background: var(--primary-color, #2E86C1);
}
.section-label.text-center {
    padding-left: 0;
}
.section-label.text-center::before {
    display: none;
}

/* --- Pulse Donate Button --- */
.btn-pulse {
    animation: pulseGlow 2s infinite;
}

/* --- Floating Elements --- */
.float-element {
    animation: floatUpDown 3s ease-in-out infinite;
}
.float-element-slow {
    animation: floatUpDown 5s ease-in-out infinite;
}

/* --- Shimmer Loading Skeleton --- */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

/* --- Phase 1 Responsive Additions --- */
@media (max-width: 768px) {
    .section-divider-wave svg  { height: 40px; }
    .section-divider-curve svg { height: 50px; }
    .icon-circle { width: 56px; height: 56px; font-size: 1.2rem; }
    .section-label { font-size: 0.7rem; letter-spacing: 2px; }
}

/* ================================================================
   PHASE 2 — HEADER & FOOTER REDESIGN
   ================================================================ */

/* ── Announcement Bar ── */
.announcement-bar {
    background: linear-gradient(90deg, var(--accent-color, #198754), var(--secondary-color, #1ABC9C));
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
    text-align: center;
    position: relative;
    z-index: 1050;
}
.announcement-bar p {
    margin: 0;
    font-weight: 500;
}
.announcement-bar a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 8px;
}
.announcement-bar a:hover {
    opacity: 0.85;
}
.announcement-bar .btn-close-announcement {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.7;
    padding: 4px;
    line-height: 1;
}
.announcement-bar .btn-close-announcement:hover {
    opacity: 1;
}
.announcement-bar.hidden {
    display: none;
}

/* ── Top Bar Enhancements ── */
.top-bar .whatsapp-link {
    color: #25d366;
    font-weight: 700;
    margin-left: 16px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.top-bar .whatsapp-link:hover {
    color: #fff;
    background: #25d366;
    border-color: #25d366;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}
.top-bar .office-hours {
    font-size: 0.82rem;
    opacity: 0.85;
    margin-left: 12px;
}
.top-bar .contact-info span {
    display: inline-block;
}
.top-bar .top-bar-divider {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.3);
    margin: 0 10px;
    vertical-align: middle;
}

/* ── Navbar Active Page Indicator ── */
.navbar-nav .nav-link {
    position: relative;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
    left: 15%;
}

/* ── Navbar Glass Effect ── */
.navbar.glass-nav {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-color: rgba(33,37,41,0.92) !important;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

/* ── Navbar Donate Button Enhanced ── */
.nav-donate-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 22px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    animation: pulseGlow-red 2.5s infinite;
    box-shadow: 0 3px 12px rgba(231,76,60,0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.nav-donate-btn:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(231,76,60,0.5) !important;
    color: #fff !important;
}
.nav-donate-btn .fa-heart {
    animation: heartBeat 1.5s ease-in-out infinite;
}
@keyframes pulseGlow-red {
    0%, 100% { box-shadow: 0 3px 12px rgba(231,76,60,0.3); }
    50%      { box-shadow: 0 3px 24px rgba(231,76,60,0.6); }
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    15%      { transform: scale(1.25); }
    30%      { transform: scale(1); }
    45%      { transform: scale(1.15); }
    60%      { transform: scale(1); }
}

/* ── Mega-Menu Dropdown ── */
.dropdown-mega {
    position: static !important;
}
.dropdown-mega .dropdown-menu {
    width: 100%;
    max-width: 700px;
    padding: 20px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    margin-top: 0;
}
.dropdown-mega .mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.dropdown-mega .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background 0.2s ease;
    font-size: 0.92rem;
}
.dropdown-mega .dropdown-item:hover {
    background: rgba(var(--primary-color-rgb, 46,134,193), 0.08);
}
.dropdown-mega .dropdown-item .mega-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-color-rgb, 46,134,193), 0.1);
    color: var(--primary-color, #2E86C1);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.dropdown-mega .dropdown-item .mega-icon img {
    max-width: 24px;
    max-height: 24px;
    border-radius: 4px;
    object-fit: contain;
}
.dropdown-mega .dropdown-item .mega-text {
    display: flex;
    flex-direction: column;
}
.dropdown-mega .dropdown-item .mega-text strong {
    font-size: 0.9rem;
    color: #212529;
}
.dropdown-mega .dropdown-item .mega-text small {
    font-size: 0.75rem;
    color: #6c757d;
    line-height: 1.3;
}
.dropdown-mega .mega-all-link {
    display: block;
    text-align: center;
    padding: 10px;
    margin-top: 8px;
    border-top: 1px solid #eee;
    font-weight: 600;
    color: var(--primary-color, #2E86C1);
    border-radius: 8px;
}
.dropdown-mega .mega-all-link:hover {
    background: rgba(var(--primary-color-rgb, 46,134,193), 0.06);
}

/* ── Mobile Off-Canvas Enhancements ── */
.mobile-menu-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 20px;
    margin-top: auto;
}
.mobile-menu-footer .social-links a {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-right: 16px;
}
.mobile-menu-footer .social-links a:hover {
    color: #fff;
}
.mobile-donate-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 12px;
    text-decoration: none !important;
}
.mobile-donate-btn:hover {
    opacity: 0.9;
    color: #fff;
}
.navbar-collapse.show {
    max-height: 80vh;
    overflow-y: auto;
}

/* ── Pre-Footer CTA Band ── */
.pre-footer-cta {
    background: linear-gradient(135deg, var(--primary-color, #2E86C1) 0%, var(--secondary-color, #1ABC9C) 50%, var(--accent-color, #198754) 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.pre-footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.pre-footer-cta h2 {
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}
.pre-footer-cta p {
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}
.pre-footer-cta .btn-group-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.pre-footer-cta .btn-cta-light {
    background: #fff;
    color: var(--primary-color, #2E86C1);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pre-footer-cta .btn-cta-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: var(--primary-color, #2E86C1);
    text-decoration: none;
}
.pre-footer-cta .btn-cta-outline {
    background: transparent;
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid rgba(255,255,255,0.6);
    transition: all 0.25s ease;
}
.pre-footer-cta .btn-cta-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

/* ── Footer Trust Badges ── */
.footer-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}
.footer-trust-badges .trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 500;
}
.footer-trust-badges .trust-badge i {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.45);
}

/* ── Footer Enhanced Newsletter ── */
.footer-newsletter-enhanced .input-group {
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
}
.footer-newsletter-enhanced .form-control {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 16px;
    font-size: 0.9rem;
}
.footer-newsletter-enhanced .form-control::placeholder {
    color: rgba(255,255,255,0.4);
}
.footer-newsletter-enhanced .form-control:focus {
    box-shadow: none;
    background: rgba(255,255,255,0.05);
}
.footer-newsletter-enhanced .btn {
    background: var(--primary-color, #2E86C1);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 50px;
    margin: 3px;
}
.footer-newsletter-enhanced .btn:hover {
    background: var(--primary-dark, #1A6B9E);
}

/* ── Footer Copyright Enhanced ── */
.footer-copyright-enhanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-copyright-enhanced p {
    margin: 0;
    font-size: 0.85rem;
    color: #adb5bd;
}
.footer-copyright-enhanced .footer-made {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}
.footer-copyright-enhanced .footer-made .fa-heart {
    color: #e74c3c;
    font-size: 0.75rem;
}
.footer-copyright-enhanced .footer-legal-links a {
    color: #adb5bd;
    font-size: 0.85rem;
    margin-left: 16px;
    transition: color 0.2s ease;
}
.footer-copyright-enhanced .footer-legal-links a:hover {
    color: #fff;
}

/* ── Scroll-to-Top Circular Progress Button ── */
.scroll-to-top-enhanced {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.25s ease;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0;
}
.scroll-to-top-enhanced.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top-enhanced:hover {
    transform: translateY(-4px);
}
.scroll-to-top-enhanced .progress-ring {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}
.scroll-to-top-enhanced .progress-ring circle {
    fill: none;
    stroke-width: 3;
}
.scroll-to-top-enhanced .progress-ring .ring-bg {
    stroke: rgba(0,0,0,0.1);
}
.scroll-to-top-enhanced .progress-ring .ring-fill {
    stroke: var(--primary-color, #2E86C1);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}
.scroll-to-top-enhanced .btn-inner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color, #2E86C1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    transition: background 0.25s ease;
}
.scroll-to-top-enhanced:hover .btn-inner {
    background: var(--primary-dark, #1A6B9E);
}

/* ── Footer Social Icons Enhanced ── */
.footer .social-links-enhanced a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #e9ecef;
    margin-right: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.footer .social-links-enhanced a:hover {
    background: var(--primary-color, #2E86C1);
    color: #fff;
    transform: translateY(-3px);
}

/* ── Phase 2 Responsive ── */
@media (max-width: 991px) {
    .dropdown-mega .dropdown-menu {
        max-width: 100%;
        padding: 12px;
    }
    .dropdown-mega .mega-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .announcement-bar { font-size: 0.78rem; padding: 6px 30px 6px 12px; }
    .pre-footer-cta { padding: 40px 0; }
    .pre-footer-cta h2 { font-size: 1.6rem; }
    .pre-footer-cta p { font-size: 0.95rem; }
    .footer-trust-badges { gap: 16px; }
    .footer-trust-badges .trust-badge { font-size: 0.75rem; }
    .footer-copyright-enhanced {
        flex-direction: column;
        text-align: center;
    }
    .top-bar .office-hours { display: none; }
    .top-bar .top-bar-divider { display: none; }
    .scroll-to-top-enhanced { bottom: 20px; right: 20px; width: 44px; height: 44px; }
    .scroll-to-top-enhanced .btn-inner { width: 36px; height: 36px; font-size: 0.8rem; }
}

/* ================================================================
   PHASE 3 — HOMEPAGE REDESIGN
   ================================================================ */

/* ── 3.1  Hero Carousel ── */
.hero-carousel { position: relative; }
.hero-carousel .carousel-item { height: 100vh; min-height: 550px; }
.hero-carousel .carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
}
.hero-carousel .carousel-item img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-carousel .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    z-index: 2;
    max-width: 800px;
    text-align: left;
}
.hero-caption-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color, #1ABC9C);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s 0.3s forwards;
}
.hero-caption-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s 0.5s forwards;
}
.hero-caption-text {
    font-size: 1.15rem;
    opacity: 0;
    transform: translateY(25px);
    animation: heroFadeUp 0.8s 0.7s forwards;
    margin-bottom: 2rem;
    max-width: 600px;
    color: rgba(255,255,255,0.9);
}
.hero-caption-btns {
    opacity: 0;
    transform: translateY(25px);
    animation: heroFadeUp 0.8s 0.9s forwards;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-caption-btns .btn-hero-primary {
    background: var(--primary-color, #2E86C1);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.hero-caption-btns .btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #fff;
    text-decoration: none;
}
.hero-caption-btns .btn-hero-outline {
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}
.hero-caption-btns .btn-hero-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}
@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}
.hero-carousel .carousel-indicators {
    bottom: 30px;
    z-index: 3;
}
.hero-carousel .carousel-indicators button {
    width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    opacity: 0.7;
}
.hero-carousel .carousel-indicators button.active {
    background: #fff;
    opacity: 1;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px; height: 60px;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    margin: 0 20px;
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next { opacity: 1; }
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: #fff;
    animation: bounceArrow 2s infinite;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.5rem;
    opacity: 0.8;
}
.scroll-down-indicator:hover { opacity: 1; color: #fff; }

/* ── 3.2  Welcome Section ── */
.welcome-section-v2 {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}
.welcome-image-wrapper {
    position: relative;
}
.welcome-image-wrapper img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    width: 100%;
    object-fit: cover;
    max-height: 450px;
}
.welcome-blob {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb,46,134,193),0.15), rgba(var(--secondary-color-rgb,26,188,156),0.15));
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    animation: morphBlob 8s ease-in-out infinite;
    z-index: -1;
}
.welcome-content {
    padding-left: 30px;
}
.welcome-content .section-label { margin-bottom: 0.5rem; }
.welcome-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--header-color, #212529);
}
.welcome-content p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color, #2E86C1);
    transition: gap 0.3s ease;
    text-decoration: none;
}
.btn-arrow:hover {
    gap: 14px;
    color: var(--primary-dark, #1A6B9E);
}
.section-wave-divider {
    position: relative;
    margin-top: -2px;
    line-height: 0;
}
.section-wave-divider svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ── 3.3  Vision / Mission / Values Cards ── */
.vmv-section {
    position: relative;
    background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(0,0,0,0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="32" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>') repeat;
    padding: 100px 0;
    color: #fff;
}
.vmv-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    cursor: default;
    overflow: hidden;
    position: relative;
}
.vmv-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb,46,134,193),0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.vmv-card:hover::before { opacity: 1; }
.vmv-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.vmv-card .vmv-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    color: #fff;
    position: relative;
    z-index: 1;
}
.vmv-card .vmv-icon.icon-vision { background: linear-gradient(135deg, #667eea, #764ba2); }
.vmv-card .vmv-icon.icon-mission { background: linear-gradient(135deg, var(--primary-color, #2E86C1), var(--secondary-color, #1ABC9C)); }
.vmv-card .vmv-icon.icon-values { background: linear-gradient(135deg, #f093fb, #f5576c); }
.vmv-card h5 {
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.vmv-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ── 3.4  Impact Counters v2 ── */
.impact-counters-v2 {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color, #2E86C1) 0%, var(--secondary-color, #1ABC9C) 50%, var(--accent-color, #198754) 100%);
    color: #fff;
}
.impact-counters-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2l2 3-2 3z'/%3E%3C/g%3E%3C/svg%3E");
}
.counter-ring-box {
    text-align: center;
    padding: 20px 0;
}
.counter-ring {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
}
.counter-ring svg {
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
}
.counter-ring circle {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
}
.counter-ring .ring-bg { stroke: rgba(255,255,255,0.15); }
.counter-ring .ring-fill {
    stroke: #fff;
    stroke-dasharray: 408.41;
    stroke-dashoffset: 408.41;
    transition: stroke-dashoffset 2s cubic-bezier(0.4,0,0.2,1);
}
.counter-ring .counter-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.counter-ring .counter-value .counter {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}
.counter-ring .counter-value small {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}
.counter-ring-box p {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

/* ── 3.5  Featured Programs Showcase ── */
.programs-showcase {
    padding: 100px 0;
    background: #f8f9fa;
}
.program-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}
.program-showcase-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.program-showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.program-showcase-card.featured {
    grid-row: 1 / 3;
}
.program-showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.program-showcase-card:hover img { transform: scale(1.08); }
.program-showcase-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}
.program-showcase-card .card-overlay h5 {
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.program-showcase-card.featured .card-overlay h5 { font-size: 1.8rem; }
.program-showcase-card .card-overlay p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}
.program-showcase-card .card-overlay .badge-category {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    backdrop-filter: blur(4px);
}
.program-showcase-card .learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    text-decoration: none;
}
.program-showcase-card:hover .learn-more-link {
    opacity: 1;
    transform: translateY(0);
}

/* ── 3.6  Recent Impacts Horizontal Scroll ── */
.impacts-horizontal {
    padding: 100px 0;
    background: #fff;
}
.impacts-scroll-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0 30px;
    scrollbar-width: none;
}
.impacts-scroll-track::-webkit-scrollbar { display: none; }
.impact-scroll-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 400px;
    background: #000;
    transition: transform 0.3s ease;
}
.impact-scroll-card:hover { transform: scale(1.03); }
.impact-scroll-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.impact-scroll-card:hover img { transform: scale(1.08); }
.impact-scroll-card .impact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}
.impact-scroll-card .impact-overlay h5 {
    color: #fff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.impact-scroll-card .impact-overlay p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}
.impact-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(var(--secondary-color-rgb,26,188,156),0.9);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: 16px;
    left: 16px;
    backdrop-filter: blur(6px);
}
.impact-report-cta {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb,46,134,193),0.08), rgba(var(--secondary-color-rgb,26,188,156),0.08));
    border-radius: 16px;
    padding: 30px 40px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.impact-report-cta h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    margin: 0;
    color: var(--header-color, #212529);
}
.impact-report-cta p {
    margin: 4px 0 0;
    color: #6c757d;
    font-size: 0.92rem;
}

/* ── 3.7  Testimonial Carousel ── */
.testimonial-carousel-section {
    padding: 100px 0;
    background: #f8f9fa;
    overflow: hidden;
}
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-slide {
    display: none;
    text-align: center;
    padding: 0 40px;
}
.testimonial-slide.active { display: block; }
.testimonial-slide .quote-mark {
    font-size: 4rem;
    color: var(--primary-color, #2E86C1);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -10px;
    font-family: Georgia, serif;
}
.testimonial-slide blockquote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 24px;
    border: none;
    padding: 0;
}
.testimonial-slide .author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    border: 3px solid var(--primary-color, #2E86C1);
    display: block;
}
.testimonial-slide .author-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--header-color, #212529);
}
.testimonial-slide .author-program {
    font-size: 0.85rem;
    color: #6c757d;
}
.testimonial-slide .star-rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-top: 8px;
}
.testimonial-slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.testimonial-slider-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color, #2E86C1);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;
}
.testimonial-slider-nav button.active {
    background: var(--primary-color, #2E86C1);
}
.testimonial-slider-arrows {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}
.testimonial-slider-arrows button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
}
.testimonial-slider-arrows button:hover {
    background: var(--primary-color, #2E86C1);
    color: #fff;
    border-color: var(--primary-color, #2E86C1);
}

/* ── 3.8  Partners Marquee ── */
.partners-marquee-section {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
}
.marquee-track {
    display: flex;
    gap: 60px;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 80px;
}
.marquee-item img {
    max-height: 60px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}
.marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.marquee-item .marquee-placeholder {
    color: #adb5bd;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: color 0.3s ease;
}
.marquee-item:hover .marquee-placeholder { color: var(--primary-color, #2E86C1); }
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.become-partner-card {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb,46,134,193),0.08), rgba(var(--secondary-color-rgb,26,188,156),0.08));
    border: 2px dashed rgba(var(--primary-color-rgb,46,134,193),0.3);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
    transition: all 0.3s ease;
}
.become-partner-card:hover {
    border-color: var(--primary-color, #2E86C1);
    background: rgba(var(--primary-color-rgb,46,134,193),0.12);
}

/* ── 3.9  Events with Countdown ── */
.events-countdown-section {
    padding: 100px 0;
    background: #f8f9fa;
}
.event-card-v2 {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}
.event-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.event-card-v2 .event-image-header {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.event-card-v2 .event-image-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.event-card-v2 .event-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 8px 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    line-height: 1.2;
}
.event-date-badge .day-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color, #2E86C1);
}
.event-date-badge .month-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #6c757d;
    letter-spacing: 1px;
}
.event-card-v2 .card-body { padding: 20px; }
.event-card-v2 h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--header-color, #212529);
}
.event-card-v2 .event-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 12px;
}
.event-card-v2 .event-meta i { color: var(--primary-color, #2E86C1); margin-right: 4px; }
.countdown-timer {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}
.countdown-timer .cd-unit {
    background: rgba(var(--primary-color-rgb,46,134,193),0.08);
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
    min-width: 50px;
}
.countdown-timer .cd-unit .cd-num {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color, #2E86C1);
    line-height: 1;
}
.countdown-timer .cd-unit .cd-label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.5px;
}

/* ── 3.10  Gallery Masonry Grid ── */
.gallery-masonry-section {
    padding: 100px 0;
    background: #fff;
}
.gallery-masonry-grid {
    columns: 3;
    column-gap: 20px;
}
.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery-masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-masonry-item:hover img { transform: scale(1.08); }
.gallery-masonry-item .masonry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}
.gallery-masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay i { font-size: 1.8rem; margin-bottom: 8px; }
.masonry-overlay span { font-size: 0.85rem; font-weight: 600; }

/* ── 3.11  Newsletter Enhanced ── */
.newsletter-v2 {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color, #2E86C1) 0%, var(--secondary-color, #1ABC9C) 50%, var(--accent-color, #198754) 100%);
    color: #fff;
    overflow: hidden;
}
.newsletter-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h80v80H0V0zm20 20v40h40V20H20zm20 35a15 15 0 1 0 0-30 15 15 0 0 0 0 30z'/%3E%3C/g%3E%3C/svg%3E");
}
.newsletter-v2 .newsletter-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}
.newsletter-v2 .newsletter-form-enhanced .input-group {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
}
.newsletter-v2 .newsletter-form-enhanced .form-control {
    background: transparent;
    border: none;
    color: #fff;
    padding: 14px 20px;
    font-size: 1rem;
}
.newsletter-v2 .newsletter-form-enhanced .form-control::placeholder {
    color: rgba(255,255,255,0.6);
}
.newsletter-v2 .newsletter-form-enhanced .form-control:focus {
    box-shadow: none;
    background: rgba(255,255,255,0.05);
}
.newsletter-v2 .newsletter-form-enhanced .btn {
    background: #fff;
    color: var(--primary-color, #2E86C1);
    border: none;
    padding: 14px 28px;
    font-weight: 700;
    border-radius: 50px;
    margin: 4px;
}
.newsletter-v2 .newsletter-form-enhanced .btn:hover {
    background: #f8f9fa;
}
.newsletter-social-proof {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.85;
}
.newsletter-social-proof .avatars {
    display: inline-flex;
    margin-right: 8px;
}
.newsletter-social-proof .avatars span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 2px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    margin-left: -8px;
}

/* ── 3.12  Contact CTA Parallax ── */
.contact-cta-v2 {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    color: #fff;
    text-align: center;
}
.contact-cta-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.6)),
                url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
}
.contact-cta-v2 .cta-content {
    position: relative;
    z-index: 1;
}
.contact-cta-v2 h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}
.contact-cta-v2 p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}
.contact-cta-v2 .cta-buttons-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.contact-cta-v2 .cta-buttons-row .btn-hero-primary,
.contact-cta-v2 .cta-buttons-row .btn-hero-outline {
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.contact-cta-v2 .cta-buttons-row .btn-hero-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border: 2px solid transparent;
}
.contact-cta-v2 .cta-buttons-row .btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.7);
}
.contact-cta-v2 .cta-buttons-row .btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.45);
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #ec6555, #d64b3b);
}
.contact-cta-v2 .cta-buttons-row .btn-hero-outline:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}
.floating-decor {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    animation: floatUpDown 4s ease-in-out infinite;
}
.floating-decor:nth-child(1) { width: 120px; height: 120px; top: 20%; left: 10%; animation-delay: 0s; }
.floating-decor:nth-child(2) { width: 80px; height: 80px; bottom: 20%; right: 15%; animation-delay: 1s; }
.floating-decor:nth-child(3) { width: 60px; height: 60px; top: 40%; right: 25%; animation-delay: 2s; }

/* ── Phase 3 Responsive ── */
@media (max-width: 991px) {
    .hero-caption-title { font-size: 2.4rem; }
    .hero-carousel .carousel-caption { max-width: 90%; }
    .program-showcase-grid { grid-template-columns: 1fr; }
    .program-showcase-card.featured { grid-row: auto; }
    .gallery-masonry-grid { columns: 2; }
    .welcome-content { padding-left: 0; margin-top: 30px; }
}
@media (max-width: 768px) {
    .hero-carousel .carousel-item { min-height: 450px; height: 80vh; }
    .hero-caption-title { font-size: 1.8rem; }
    .hero-caption-text { font-size: 1rem; }
    .hero-caption-btns .btn-hero-primary,
    .hero-caption-btns .btn-hero-outline { padding: 12px 24px; font-size: 0.9rem; }
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next { display: none; }
    .scroll-down-indicator { bottom: 16px; font-size: 1.2rem; }
    .welcome-section-v2 { padding: 60px 0; }
    .vmv-section { padding: 60px 0; }
    .impact-counters-v2 { padding: 60px 0; }
    .counter-ring { width: 110px; height: 110px; }
    .counter-ring svg { width: 110px; height: 110px; }
    .counter-ring .counter-value .counter { font-size: 1.5rem; }
    .programs-showcase { padding: 60px 0; }
    .impact-scroll-card { flex: 0 0 280px; height: 340px; }
    .testimonial-slide { padding: 0 16px; }
    .testimonial-slide blockquote { font-size: 1rem; }
    .events-countdown-section { padding: 60px 0; }
    .gallery-masonry-grid { columns: 1; }
    .gallery-masonry-section { padding: 60px 0; }
    .newsletter-v2 { padding: 60px 0; }
    .contact-cta-v2 { padding: 80px 0; }
    .contact-cta-v2 h2 { font-size: 1.8rem; }
    .impact-report-cta { flex-direction: column; text-align: center; padding: 24px; }
    .section-wave-divider svg { height: 50px; }
    .marquee-item { width: 120px; }
}

/* ================================================================
   PHASE 4 — INNER PAGE REDESIGNS
   ================================================================ */

/* ── Shared: Page Hero Banner ── */
.page-hero-banner {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--primary-color, #2E86C1) 0%, var(--secondary-color, #1ABC9C) 50%, var(--accent-color, #198754) 100%);
    color: #fff;
    overflow: hidden;
    text-align: center;
}
.page-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-banner h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}
.page-hero-banner p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.page-hero-banner .breadcrumb-nav {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}
.page-hero-banner .breadcrumb-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.page-hero-banner .breadcrumb-nav a:hover { color: #fff; }
.page-hero-banner .breadcrumb-nav .separator {
    color: rgba(255,255,255,0.4);
    margin: 0 8px;
    font-size: 0.85rem;
}
.page-hero-banner .breadcrumb-nav .current {
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ── About Page: Timeline ── */
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color, #2E86C1), var(--secondary-color, #1ABC9C));
    border-radius: 3px;
}
.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 20px 0;
    width: 50%;
    position: relative;
}
.timeline-item:nth-child(odd) {
    align-self: flex-end;
    margin-left: 50%;
    justify-content: flex-start;
    padding-left: 40px;
}
.timeline-item:nth-child(even) {
    padding-right: 40px;
}
.timeline-item::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color, #2E86C1);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.timeline-item:nth-child(odd)::after { left: -8px; }
.timeline-item:nth-child(even)::after { right: -8px; }
.timeline-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    max-width: 400px;
    transition: transform 0.3s ease;
}
.timeline-content:hover { transform: translateY(-4px); }
.timeline-content .year-badge {
    display: inline-block;
    background: var(--primary-color, #2E86C1);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.timeline-content h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--header-color, #212529);
}
.timeline-content p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* ── About Page: Approach Steps ── */
.approach-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.approach-step {
    text-align: center;
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    padding: 20px;
    position: relative;
}
.approach-step .step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color, #2E86C1), var(--secondary-color, #1ABC9C));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
}
.approach-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -20px;
    width: 40px;
    height: 3px;
    background: rgba(var(--primary-color-rgb, 46,134,193), 0.3);
    z-index: 1;
}
.approach-step h6 {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--header-color, #212529);
}
.approach-step p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}
.approach-step .step-number .approach-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.approach-step:hover .step-number .approach-icon-img {
    transform: scale(1.15);
}

/* ── Donate Page: Enhanced ── */
.donate-hero {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(231,76,60,0.9), rgba(192,57,43,0.9)),
                url('../images/hero-bg.jpg') center/cover;
    color: #fff;
    text-align: center;
}
.donate-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}
.donate-hero p { opacity: 0.9; font-size: 1.1rem; max-width: 500px; margin: 0 auto; }
.donation-card-v2 {
    border-radius: 16px;
    border: 2px solid #e9ecef;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    background: #fff;
    position: relative;
}
.donation-card-v2:hover {
    border-color: var(--primary-color, #2E86C1);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.donation-card-v2.popular {
    border-color: var(--primary-color, #2E86C1);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb,46,134,193),0.2);
}
.donation-card-v2.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color, #2E86C1);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.donation-card-v2 .donation-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb,46,134,193),0.1);
    color: var(--primary-color, #2E86C1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
}
.donation-card-v2 h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: var(--header-color, #212529);
    margin-bottom: 8px;
}
.donation-card-v2 p { font-size: 0.9rem; color: #6c757d; margin-bottom: 16px; }
.donation-card-v2 .btn { border-radius: 50px; font-weight: 600; }
.trust-signal-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 24px;
    background: rgba(var(--primary-color-rgb,46,134,193),0.04);
    border-radius: 16px;
    margin-top: 40px;
}
.trust-signal-bar .trust-item {
    text-align: center;
}
.trust-signal-bar .trust-item i {
    font-size: 1.5rem;
    color: var(--primary-color, #2E86C1);
    display: block;
    margin-bottom: 6px;
}
.trust-signal-bar .trust-item span {
    font-size: 0.82rem;
    color: #6c757d;
    font-weight: 600;
}
.monthly-giving-banner {
    background: linear-gradient(135deg, var(--primary-color, #2E86C1), var(--secondary-color, #1ABC9C));
    border-radius: 16px;
    padding: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.monthly-giving-banner h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    margin-bottom: 8px;
}
.monthly-giving-banner p { opacity: 0.9; margin: 0; }
.monthly-giving-banner .btn-cta-light {
    display: inline-block;
    background: #fff;
    color: var(--primary-color, #2E86C1);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.monthly-giving-banner .btn-cta-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    background: #f0f0f0;
    color: var(--primary-dark, #1a6da3);
    text-decoration: none;
}
.monthly-giving-banner .btn-cta-light .fa-heart {
    color: #e74c3c;
}

/* ── Programs: Filter Tabs ── */
.program-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.program-filter-tabs .filter-tab {
    padding: 8px 20px;
    border-radius: 50px;
    border: 2px solid #dee2e6;
    background: #fff;
    color: #495057;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}
.program-filter-tabs .filter-tab:hover {
    border-color: var(--primary-color, #2E86C1);
    color: var(--primary-color, #2E86C1);
}
.program-filter-tabs .filter-tab.active {
    background: var(--primary-color, #2E86C1);
    color: #fff;
    border-color: var(--primary-color, #2E86C1);
}
.program-card-v2 {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    background: #fff;
}
.program-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.program-card-v2 .card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.program-card-v2 .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.program-card-v2:hover .card-img-wrapper img { transform: scale(1.08); }
.program-card-v2 .card-img-wrapper .hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    font-weight: 600;
}
.program-card-v2:hover .card-img-wrapper .hover-overlay { opacity: 1; }
.program-card-v2 .category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.9);
    color: var(--primary-color, #2E86C1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* ── News: Featured Article ── */
.news-featured-article {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    background: #000;
    margin-bottom: 40px;
}
.news-featured-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.news-featured-article .featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: #fff;
}
.news-featured-article .featured-overlay .badge-featured {
    display: inline-block;
    background: var(--primary-color, #2E86C1);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    width: fit-content;
}
.news-featured-article .featured-overlay h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.news-featured-article .featured-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    max-width: 600px;
}
.news-card-v2 {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    background: #fff;
}
.news-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.news-card-v2 .card-img-top {
    height: 180px;
    object-fit: cover;
}
.news-card-v2 .card-body { padding: 20px; }
.news-card-v2 .meta-info {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 8px;
}
.news-card-v2 .meta-info i { color: var(--primary-color, #2E86C1); }

/* ── Contact: Floating Labels & Animated Cards ── */
.contact-info-card-v2 {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}
.contact-info-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.contact-info-card-v2 .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: #fff;
}
.contact-info-card-v2 .card-icon.icon-address { background: linear-gradient(135deg, #667eea, #764ba2); }
.contact-info-card-v2 .card-icon.icon-phone { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); }
.contact-info-card-v2 .card-icon.icon-email { background: linear-gradient(135deg, #f093fb, #f5576c); }
.contact-info-card-v2 .card-icon.icon-hours { background: linear-gradient(135deg, #fa709a, #fee140); }
.open-closed-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}
.open-closed-badge.is-open { background: rgba(25,135,84,0.1); color: #198754; }
.open-closed-badge.is-closed { background: rgba(220,53,69,0.1); color: #dc3545; }
.form-floating-label {
    position: relative;
}
.form-floating-label .form-control {
    padding-top: 24px;
    padding-bottom: 8px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}
.form-floating-label .form-control:focus {
    border-color: var(--primary-color, #2E86C1);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb,46,134,193),0.1);
}
.form-floating-label label {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.95rem;
    color: #6c757d;
    transition: all 0.2s ease;
    pointer-events: none;
    background: #fff;
    padding: 0 4px;
}
.form-floating-label .form-control:focus ~ label,
.form-floating-label .form-control:not(:placeholder-shown) ~ label {
    top: -2px;
    font-size: 0.75rem;
    color: var(--primary-color, #2E86C1);
    font-weight: 600;
}

/* ── Volunteer: Opportunity Cards & FAQ Accordion ── */
.volunteer-opportunity-card {
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    height: 100%;
    background: #fff;
}
.volunteer-opportunity-card:hover {
    border-color: var(--primary-color, #2E86C1);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.volunteer-opportunity-card .opp-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(var(--primary-color-rgb,46,134,193),0.1);
    color: var(--primary-color, #2E86C1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
}
.volunteer-faq .accordion-item {
    border: none;
    border-radius: 12px !important;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.volunteer-faq .accordion-button {
    font-weight: 600;
    color: var(--header-color, #212529);
    background: #fff;
    box-shadow: none;
    padding: 16px 20px;
}
.volunteer-faq .accordion-button:not(.collapsed) {
    background: rgba(var(--primary-color-rgb,46,134,193),0.05);
    color: var(--primary-color, #2E86C1);
}
.volunteer-faq .accordion-body {
    color: #6c757d;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ── Impacts: Enhanced Cards ── */
.impact-card-v2 {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    background: #fff;
}
.impact-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.impact-card-v2 .impact-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.impact-card-v2 .impact-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.impact-card-v2:hover .impact-img-wrapper img { transform: scale(1.06); }
.impact-card-v2 .impact-stat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    display: flex;
    gap: 16px;
}
.impact-card-v2 .impact-stat-overlay .stat-item {
    text-align: center;
}
.impact-card-v2 .impact-stat-overlay .stat-num {
    font-size: 1.3rem;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}
.impact-card-v2 .impact-stat-overlay .stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

/* ── Stories: Enhanced Cards ── */
.story-card-v2 {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    background: #fff;
}
.story-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.story-card-v2 .story-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.story-card-v2 .story-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.story-card-v2:hover .story-img-wrapper img { transform: scale(1.06); }
.story-card-v2 .story-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color, #2E86C1);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* ── Testimonials: Enhanced Card ── */
.testimonial-card-v2 {
    border: none;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    background: #fff;
    position: relative;
}
.testimonial-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.testimonial-card-v2 .quote-icon-v2 {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb,46,134,193),0.1);
    color: var(--primary-color, #2E86C1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
}
.testimonial-card-v2 .stars {
    color: #f1c40f;
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.testimonial-card-v2 blockquote {
    font-size: 0.92rem;
    color: #495057;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
}
.testimonial-card-v2 .author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.testimonial-card-v2 .author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
}

/* ── Partners: Enhanced Card ── */
.partner-card-v2 {
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
}
.partner-card-v2:hover {
    border-color: var(--primary-color, #2E86C1);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    color: inherit;
}
.partner-card-v2 .partner-logo {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb,46,134,193),0.06);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    color: var(--primary-color, #2E86C1);
    transition: all 0.3s ease;
}
.partner-card-v2:hover .partner-logo {
    background: var(--primary-color, #2E86C1);
    color: #fff;
}
.partner-card-v2 .partner-type {
    display: inline-block;
    background: rgba(var(--primary-color-rgb,46,134,193),0.08);
    color: var(--primary-color, #2E86C1);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 8px;
}

/* ── Gallery: Enhanced Group Card ── */
.gallery-group-card-v2 {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
}
.gallery-group-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    color: inherit;
}
.gallery-group-card-v2 .group-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.gallery-group-card-v2 .group-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-group-card-v2:hover .group-img-wrapper img { transform: scale(1.08); }
.gallery-group-card-v2 .img-count-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.gallery-group-card-v2 .group-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff; font-size: 2rem;
}
.gallery-group-card-v2:hover .group-hover-overlay { opacity: 1; }

/* ── Phase 4 Responsive ── */
@media (max-width: 991px) {
    .page-hero-banner h1 { font-size: 2.2rem; }
    .timeline::before { left: 20px; }
    .timeline-item,
    .timeline-item:nth-child(odd) {
        width: 100%;
        margin-left: 0;
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }
    .timeline-item::after,
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 12px;
        right: auto;
    }
    .approach-step:not(:last-child)::after { display: none; }
    .approach-steps { gap: 20px; }
    .monthly-giving-banner { text-align: center; justify-content: center; }
}
@media (max-width: 768px) {
    .page-hero-banner { padding: 60px 0 50px; }
    .page-hero-banner h1 { font-size: 1.8rem; }
    .donate-hero { padding: 50px 0; }
    .donate-hero h1 { font-size: 1.8rem; }
    .donation-card-v2 { padding: 20px; }
    .news-featured-article { min-height: 280px; }
    .news-featured-article .featured-overlay { padding: 24px; }
    .news-featured-article .featured-overlay h2 { font-size: 1.3rem; }
    .contact-info-card-v2 { padding: 20px; }
    .monthly-giving-banner { padding: 28px; }
    .trust-signal-bar { gap: 16px; }
    .impact-card-v2 .impact-img-wrapper { height: 180px; }
    .story-card-v2 .story-img-wrapper { height: 160px; }
    .gallery-group-card-v2 .group-img-wrapper { height: 180px; }
}

/* ═══════════════════════════════════════════════════
   Phase 5: Floating & Global UI Elements
   ═══════════════════════════════════════════════════ */

/* ── Floating Donate Button ── */
.floating-donate-btn {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--secondary-color, #E74C3C), #c0392b);
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(231, 76, 60, 0.4);
    transform: translateY(120px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, box-shadow 0.3s ease;
}
.floating-donate-btn.visible {
    transform: translateY(0);
    opacity: 1;
}
.floating-donate-btn:hover {
    color: #fff;
    box-shadow: 0 8px 32px rgba(231, 76, 60, 0.55);
    transform: translateY(-2px);
}
.floating-donate-btn .heart-icon {
    display: inline-flex;
    font-size: 1.1rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}
.floating-donate-btn .btn-label { white-space: nowrap; }

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.2); }
    28% { transform: scale(1); }
    42% { transform: scale(1.2); }
    56% { transform: scale(1); }
}

/* ── WhatsApp Floating Button ── */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 32px;
    right: 100px;
    z-index: 9998;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floating-whatsapp-btn:hover {
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}
.floating-whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.3);
    animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ── Cookie Consent Banner ── */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(23, 32, 42, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ecf0f1;
    padding: 20px 0;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cookie-consent-banner.visible {
    transform: translateY(0);
}
.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-consent-text {
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.6;
    min-width: 280px;
}
.cookie-consent-text i {
    color: var(--accent-color, #F39C12);
    margin-right: 8px;
    font-size: 1.1rem;
}
.cookie-consent-text a {
    color: var(--primary-color, #2E86C1);
    text-decoration: underline;
}
.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-accept-btn {
    background: var(--primary-color, #2E86C1);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}
.cookie-accept-btn:hover {
    background: var(--secondary-color, #1ABC9C);
    transform: translateY(-1px);
}
.cookie-decline-btn {
    background: transparent;
    color: #adb5bd;
    border: 1px solid rgba(173, 181, 189, 0.3);
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.cookie-decline-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

/* ── Enhanced Reading Progress Bar (Phase 5 upgrade) ── */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color, #2E86C1), var(--accent-color, #F39C12), var(--secondary-color, #1ABC9C));
    z-index: 10002;
    transition: width 0.08s linear;
    pointer-events: none;
    border-radius: 0 2px 2px 0;
}

/* ── Phase 5 Responsive ── */
@media (max-width: 768px) {
    .floating-donate-btn {
        left: 50%;
        transform: translateX(-50%) translateY(120px);
        bottom: 24px;
        padding: 12px 20px;
        font-size: 0.82rem;
    }
    .floating-donate-btn.visible {
        transform: translateX(-50%) translateY(0);
    }
    .floating-donate-btn:hover {
        transform: translateX(-50%) translateY(-2px);
    }
    .floating-whatsapp-btn {
        right: 20px;
        bottom: 90px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .cookie-consent-text { min-width: auto; }
    .cookie-consent-actions { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   Phase 6: Accessibility Enhancements
   ═══════════════════════════════════════════════════ */

/* Focus-visible indicators for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--primary-color, #2E86C1);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Skip-to-content link (enhanced) */
.visually-hidden-focusable:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 99999;
    padding: 12px 24px;
    background: var(--primary-color, #2E86C1);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* High contrast mode improvements */
@media (forced-colors: active) {
    .btn, .nav-link, .dropdown-item {
        border: 1px solid currentColor;
    }
}

/* ═══════════════════════════════════════════════════
   Phase 7: Visual Assets — Shape Dividers & Patterns
   ═══════════════════════════════════════════════════ */

/* Section Shape Dividers */
.section-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
}
.section-divider svg {
    display: block;
    width: 100%;
    height: auto;
}
.section-divider.divider-top { margin-bottom: -1px; margin-top: 0; }
.section-divider.divider-flip svg { transform: scaleY(-1); }
.section-divider.divider-rotate svg { transform: rotate(180deg); }

/* Background Patterns (using CSS backgrounds) */
.bg-pattern-dots {
    background-image: url('../images/svg/pattern-dots.svg');
    background-repeat: repeat;
}
.bg-pattern-lines {
    background-image: url('../images/svg/pattern-lines.svg');
    background-repeat: repeat;
}
.bg-pattern-geometric {
    background-image: url('../images/svg/pattern-geometric.svg');
    background-repeat: repeat;
}

/* ── Icon Hover Animations ── */
.icon-hover-bounce {
    transition: transform 0.3s ease;
}
.icon-hover-bounce:hover {
    animation: iconBounce 0.5s ease;
}
@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

.icon-hover-spin {
    transition: transform 0.4s ease;
}
.icon-hover-spin:hover {
    transform: rotate(360deg);
}

.icon-hover-pulse {
    transition: transform 0.3s ease;
}
.icon-hover-pulse:hover {
    transform: scale(1.2);
}

.icon-hover-shake {
    transition: transform 0.3s ease;
}
.icon-hover-shake:hover {
    animation: iconShake 0.4s ease;
}
@keyframes iconShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
    75% { transform: rotate(-5deg); }
}

/* Social link icon hover enhancement */
.social-links-enhanced a {
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.social-links-enhanced a:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Feature card icon animation */
.feature-icon-wrap {
    transition: transform 0.3s ease;
}
.feature-icon-wrap:hover {
    transform: scale(1.08);
}
.feature-icon-wrap:hover .feature-icon {
    animation: iconPulse 0.6s ease infinite alternate;
}
@keyframes iconPulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
