
/* --- Modern Section Styles & Animations --- */

/* General Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Modern Section Titles */
.modern-section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.modern-section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
}

.modern-section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.modern-section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Who We Are - Modern Layout */
.who-we-are-modern {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.who-we-are-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Default to side-by-side */
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .who-we-are-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.who-img-wrapper {
    position: relative;
}

.who-main-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
}

.who-shape-1 {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.who-shape-2 {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border: 5px solid var(--accent-color);
    border-radius: 20px;
    opacity: 0.2;
    z-index: 1;
    animation: float 5s ease-in-out infinite reverse;
}

.who-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
}

.who-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.who-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.who-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

.stat-item span {
    color: #777;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
}


/* Mission & Vision - Modern Cards */
.mission-vision-modern {
    padding: 100px 0;
    background: #f8f9fa;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mv-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transition: height 0.4s;
    z-index: -1;
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mv-card:hover::before {
    height: 100%;
}

.mv-card:hover h3, 
.mv-card:hover p, 
.mv-card:hover .mv-icon {
    color: white;
}

.mv-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: 0.4s;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    transition: 0.4s;
}

.mv-card p {
    color: #666;
    line-height: 1.7;
    transition: 0.4s;
}


/* Real Impact Section */
.real-impact-modern {
    padding: 100px 0;
    background: white;
}

.impact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .impact-wrapper {
        grid-template-columns: 1fr;
    }
}

.impact-content-modern {
    padding-right: 20px;
}

.impact-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.impact-box {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.impact-box i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.impact-box h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 700;
}

.impact-box p {
    color: #777;
    font-size: 0.95rem;
    margin-top: 5px;
}

/* Why Support Us - Pattern BG */
.why-support-modern {
    padding: 100px 0;
    background-color: var(--secondary-color);
    color: white;
    background-image: 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.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");
}

.why-support-modern .modern-section-title h2 {
    color: white;
}

.why-support-modern .modern-section-title p {
    color: rgba(255,255,255,0.7);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-card {
    background: rgba(255,255,255,0.05); /* Transparent white */
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    text-align: left;
    transition: 0.3s;
}

.why-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.why-icon-circle {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
}

.why-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.why-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Upcoming Events - Clean List */
.events-modern {
    padding: 100px 0;
    background: #fff;
}

.event-card-modern {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.event-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.event-card-modern:hover .event-img-wrapper img {
    transform: scale(1.1);
}

.event-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.event-date-badge span {
    display: block;
    line-height: 1;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.date-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #333;
    margin-top: 5px;
}

.event-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.event-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.event-body h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.event-body p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.event-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    transition: 0.3s;
}

.event-link i {
    margin-left: 8px;
    transition: 0.3s;
}

.event-link:hover i {
    margin-left: 12px;
}


/* Volunteers - Profile Cards */
.volunteers-modern {
    padding: 100px 0;
    background: #f9f9f9;
}

.volunteer-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
    position: relative;
    padding-bottom: 30px;
}

.volunteer-card:hover {
    transform: translateY(-10px);
}

.volunteer-img-box {
    height: 200px; /* Reduced height for header bg */
    background: linear-gradient(135deg, #eee, #ddd);
    position: relative;
}

.volunteer-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: #fff;
}

.volunteer-info {
    padding: 0 20px;
    margin-top: 70px; /* Space for the overlapping image */
}

.volunteer-info h4 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--secondary-color);
}

.volunteer-info span {
    display: block;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: 500;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

