/* ============================================================================
   7. VOLUNTEER PAGE - page-volunteer.php
   ============================================================================ */

/* === Volunteer Page - Complete Redesign === */

/* === Hero Section - Matches Donate Page Pattern === */
.volunteer-hero {
    position: relative;
    height: clamp(360px, 52vh, 620px);
    min-height: 360px;
    margin-top: 100px; /* Account for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.volunteer-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.volunteer-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.volunteer-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.volunteer-hero-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.volunteer-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    color: var(--white);
}

/* === Content Sections - Matches Donate Page Pattern === */
.volunteer-content-section {
    padding: 6rem 6%;
}

.volunteer-content-section.alt-bg {
    background: var(--gray-50);
}

.volunteer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Text on left, images on right */
.volunteer-grid.text-left .volunteer-text {
    order: 1;
}

.volunteer-grid.text-left .volunteer-images {
    order: 2;
}

/* Images on left, text on right */
.volunteer-grid.text-right .volunteer-images {
    order: 1;
}

.volunteer-grid.text-right .volunteer-text {
    order: 2;
}

.volunteer-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.volunteer-text p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.volunteer-text p:last-child {
    margin-bottom: 0;
}

/* Four Images Grid */
.volunteer-images.four-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.volunteer-images.four-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.volunteer-images.four-grid img:hover {
    transform: scale(1.02);
}

/* === Testimonials Section === */
.volunteer-testimonials {
    padding: 6rem 6%;
    background: var(--gray-50);
    text-align: center;
}

.volunteer-testimonials h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.testimonials-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-quote {
    margin-bottom: 1.5rem;
}

.quote-mark {
    font-size: 3rem;
    font-family: Georgia, serif;
    color: var(--primary-green);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-quote p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Legacy page header - kept for backwards compatibility */
.page-header-volunteer {
    padding: 6rem 0 3rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    position: relative;
    margin-top: 100px; /* Account for fixed header */
}

.page-header-volunteer::before {
    display: none; /* Remove decorative pattern for cleaner look */
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 6%;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow:
        0 4px 15px rgba(34, 197, 94, 0.3),
        0 0 0 3px rgba(34, 197, 94, 0.1);
}

.header-badge .badge-icon {
    font-size: 1.3rem;
}

.page-header-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.header-intro {
    font-size: 1.15rem;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* === Volunteer Page - Stats Bar === */

.stats-bar-volunteer {
    padding: 3rem 6%; /* Full width padding pattern */
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-bar-volunteer .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stats-bar-volunteer .stat-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
}

.stats-bar-volunteer .stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

.stats-bar-volunteer .stat-item .stat-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.stats-bar-volunteer .stat-item .stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stats-bar-volunteer .stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
}

.stats-bar-volunteer .stat-item .stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Content Sections - Full Width Pattern (matches donate page) */
.content-section-volunteer {
    padding: 6rem 6%; /* Direct padding, no max-width containers */
    position: relative;
}

.content-section-volunteer.bg-light {
    background: var(--gray-50);
}

/* Override container-wide to not compress content */
.volunteer-page-redesigned .container-wide {
    max-width: none;
    margin: 0;
    padding: 0;
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Image Left Layout - default */
.content-section-volunteer.image-left .content-text {
    order: 2;
}

.content-section-volunteer.image-left .content-image {
    order: 1;
}

/* Image Right Layout */
.content-section-volunteer.image-right .content-text {
    order: 1;
}

.content-section-volunteer.image-right .content-image {
    order: 2;
}

/* Content Image Styling */
.content-image {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Volunteer Page Image Slideshow Styling */
.volunteer-slideshow {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    width: 100%;
    height: auto;
}

.volunteer-slideshow:hover {
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.08);
}

.volunteer-slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.volunteer-slideshow-wrapper .volunteer-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.volunteer-slideshow-wrapper .volunteer-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.volunteer-slideshow-wrapper .volunteer-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Fade animation */
@keyframes volunteerFadeIn {
    from {
        opacity: 0;
        visibility: hidden;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}

/* Volunteer Slideshow Navigation Buttons */
.volunteer-slideshow-prev,
.volunteer-slideshow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-green);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
}

.volunteer-slideshow:hover .volunteer-slideshow-prev,
.volunteer-slideshow:hover .volunteer-slideshow-next {
    opacity: 1;
}

.volunteer-slideshow-prev {
    left: 1rem;
}

.volunteer-slideshow-next {
    right: 1rem;
}

.volunteer-slideshow-prev:hover,
.volunteer-slideshow-next:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.volunteer-slideshow-prev:active,
.volunteer-slideshow-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* Volunteer Slideshow Indicators */
.volunteer-slideshow-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.volunteer-slideshow-indicators .volunteer-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.volunteer-slideshow-indicators .volunteer-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.volunteer-slideshow-indicators .volunteer-indicator.active {
    background: var(--white);
    width: 28px;
    border-radius: 5px;
}

/* Legacy image-wrapper support (if any remain) */
.content-section-volunteer .image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    width: 100%;
    height: auto;
}

.content-section-volunteer .image-wrapper:hover {
    transform: scale(1.02);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.08);
}

.content-section-volunteer .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* Volunteer Slideshow Fade In Animation */
@keyframes volunteerFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    padding: 1.25rem 1.75rem;
    border-radius: 20px;
    box-shadow:
        0 8px 25px rgba(34, 197, 94, 0.4),
        0 0 0 3px rgba(255, 255, 255, 0.9);
    text-align: center;
}

.image-badge .badge-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.image-badge .badge-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.95;
    font-weight: 600;
}

/* Content Text Styling */
.content-text {
    padding: 1rem 0;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.1));
    color: var(--primary-green);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    border: 2px solid rgba(34, 197, 94, 0.2);
}

.section-badge .badge-icon {
    font-size: 1.1rem;
}

.content-text h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.content-text p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Highlight Box */
.highlight-box {
    display: flex;
    gap: 1.25rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid rgba(34, 197, 94, 0.2);
    margin: 1.5rem 0;
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.highlight-content p {
    margin: 0;
    color: var(--gray-700);
    font-size: 0.975rem;
}

/* Mini Stats */
.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
    background: var(--white);
    border-radius: 12px;
    border: 2px solid rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
}

.mini-stat:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

.mini-stat-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.mini-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.25rem;
}

.mini-stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* === Volunteer Page - Roles Section === */

.roles-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.role-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    border: 2px solid rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
}

.role-item:hover {
    transform: translateX(10px);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

.role-item.featured {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: var(--primary-green);
}

.role-icon-small {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.1));
    border-radius: 16px;
}

.role-content h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.popular-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.role-content p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.role-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.role-meta span {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* === Volunteer Page - Benefits Section === */

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid rgba(34, 197, 94, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    border-color: rgba(34, 197, 94, 0.2);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.12);
}

.benefit-icon-small {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.1));
    border-radius: 12px;
}

.benefit-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.benefit-content p {
    margin: 0;
    font-size: 0.975rem;
    color: var(--gray-600);
}

/* === Volunteer Page - Steps/Process Section === */

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    border: 2px solid rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-green), var(--secondary-green));
    border-radius: 20px 0 0 20px;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.step-item:hover::before {
    transform: scaleY(1);
}

.step-item:hover {
    transform: translateX(10px);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

/* Volunteer Page - Step Number */
.step-item .step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 800;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.step-content h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.step-content p {
    margin-bottom: 1.25rem;
    color: var(--gray-600);
}

.step-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-inline .btn-icon {
    font-size: 1.1rem;
}

.step-info {
    margin-top: 0.5rem;
}

.info-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-green);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.info-badge.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.15));
}

/* === Volunteer Page - Testimonials Section === */

.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    border: 2px solid rgba(34, 197, 94, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.15);
}

.quote-icon {
    font-size: 4rem;
    color: rgba(34, 197, 94, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.quote-text {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(34, 197, 94, 0.1);
}

.author-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.1));
    border-radius: 50%;
    font-size: 1.75rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-info strong {
    font-size: 1.05rem;
    color: var(--gray-900);
    font-weight: 700;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* CTA Section - Final Call to Action */
.cta-section-volunteer {
    padding: 6rem 6%; /* Full width padding pattern */
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #f0fdf4 100%);
    position: relative;
}

.cta-section-volunteer::before {
    display: none; /* Remove decorative pattern for cleaner look */
}

.cta-content-wrapper {
    position: relative;
    z-index: 1;
}

.cta-header {
    text-align: center;
    margin-bottom: 4rem;
}

.cta-header .cta-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.cta-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--gray-800);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cta-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    border: 2px solid rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 20px 50px rgba(34, 197, 94, 0.2);
}

.contact-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.contact-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--gray-800);
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-contact span {
    color: var(--white) !important;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-contact .btn-icon {
    font-size: 1.2rem;
}

.cta-final-message {
    text-align: center;
}

.final-message-box {
    background: var(--white);
    padding: 2.5rem 3rem;
    border-radius: 20px;
    border: 2px solid rgba(34, 197, 94, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.final-message-box p {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.final-message-sub {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin: 0;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .volunteer-hero {
        height: clamp(340px, 48vh, 520px);
        min-height: 340px;
        margin-top: 95px;
    }

    .content-row {
        gap: 3rem;
    }

    .content-text h2 {
        font-size: 2rem;
    }

    .mini-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .stats-bar-volunteer .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .container-wide {
        padding: 0 1.5rem;
    }
}

/* Force Single Column on Tablet and Below */
@media (max-width: 900px) {
    .volunteer-hero {
        height: clamp(320px, 45vh, 460px);
        min-height: 320px;
        margin-top: 92px;
    }

    .content-row {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .content-section-volunteer.image-left .content-image,
    .content-section-volunteer.image-right .content-image {
        order: 1 !important;
    }

    .content-section-volunteer.image-left .content-text,
    .content-section-volunteer.image-right .content-text {
        order: 2 !important;
    }

    .content-image,
    .content-text {
        width: 100% !important;
        max-width: 100% !important;
    }

    .stats-bar-volunteer .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
        overflow: hidden;
    }

    .stats-bar-volunteer .stat-item {
        min-width: 0;
    }
}

/* === Green Divider (matches donate page) === */
.volunteer-divider {
    height: 80px;
    background: var(--primary-green);
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    /* Hero - Mobile */
    .volunteer-hero {
        height: clamp(250px, 40vh, 340px);
        min-height: 250px;
        margin-top: 90px;
    }

    .volunteer-hero h1 {
        font-size: 2rem;
    }

    /* Content Sections - Mobile */
    .volunteer-content-section {
        padding: 3rem 5%;
    }

    .volunteer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .volunteer-grid.text-left .volunteer-text,
    .volunteer-grid.text-right .volunteer-text {
        order: 1;
    }

    .volunteer-grid.text-left .volunteer-images,
    .volunteer-grid.text-right .volunteer-images {
        order: 2;
    }

    .volunteer-images.four-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .volunteer-images.four-grid img {
        height: 150px;
    }

    /* Testimonials - Mobile */
    .volunteer-testimonials {
        padding: 3rem 5%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .volunteer-divider {
        height: 60px;
    }

    /* Page Header - Mobile Optimized */
    .page-header-volunteer {
        padding: 3rem 5%;
        margin-top: 90px;
    }

    .page-header-content {
        padding: 0;
    }

    .page-header-content h1 {
        font-size: 1.875rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .header-intro {
        font-size: 0.975rem;
        line-height: 1.6;
    }

    .header-badge {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    /* Stats Bar - Mobile */
    .stats-bar-volunteer {
        padding: 1.5rem 5%;
    }

    .stats-bar-volunteer .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .stats-bar-volunteer .stat-item {
        padding: 0.875rem 0.5rem;
        gap: 0.375rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-width: 0;
    }

    .stats-bar-volunteer .stat-item .stat-icon {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }

    .stats-bar-volunteer .stat-item .stat-content {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .stats-bar-volunteer .stat-item .stat-number {
        font-size: 1.35rem;
        white-space: nowrap;
    }

    .stats-bar-volunteer .stat-item .stat-label {
        font-size: 0.65rem;
        text-align: center;
        line-height: 1.3;
    }

    /* Content Sections - Mobile with correct padding */
    .content-section-volunteer {
        padding: 3rem 5%;
    }

    .cta-section-volunteer {
        padding: 3rem 5%;
    }

    .content-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem;
        width: 100%;
    }

    /* Image always first on mobile */
    .content-section-volunteer.image-left .content-image,
    .content-section-volunteer.image-right .content-image {
        order: 1 !important;
        width: 100% !important;
    }

    .content-section-volunteer.image-left .content-text,
    .content-section-volunteer.image-right .content-text {
        order: 2 !important;
        width: 100% !important;
    }

    .volunteer-divider {
        height: 60px;
    }

    /* Image Styling - Mobile */
    .content-image {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* Volunteer Slideshow Mobile Styles */
    .volunteer-slideshow {
        border-radius: 20px;
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
        box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(0, 0, 0, 0.05);
    }

    .volunteer-slideshow-wrapper .volunteer-slide img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
        aspect-ratio: 16/10;
        object-fit: cover;
        display: block;
    }

    /* Mobile Navigation Buttons - Always Visible */
    .volunteer-slideshow-prev,
    .volunteer-slideshow-next {
        opacity: 1;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .volunteer-slideshow-prev {
        left: 0.75rem;
    }

    .volunteer-slideshow-next {
        right: 0.75rem;
    }

    /* Mobile Indicators */
    .volunteer-slideshow-indicators {
        bottom: 1rem;
    }

    .volunteer-slideshow-indicators .volunteer-indicator {
        width: 8px;
        height: 8px;
    }

    .volunteer-slideshow-indicators .volunteer-indicator.active {
        width: 24px;
    }

    /* Legacy image-wrapper mobile support */
    .content-section-volunteer .image-wrapper {
        border-radius: 20px;
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
        box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(0, 0, 0, 0.05);
    }

    .content-section-volunteer .image-wrapper:hover {
        transform: scale(1.01);
    }

    .content-section-volunteer .image-wrapper img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
        aspect-ratio: 16/10;
        object-fit: cover;
        display: block;
    }

    .image-badge {
        bottom: 0.875rem;
        right: 0.875rem;
        padding: 0.75rem 1rem;
        border-radius: 12px;
    }

    .image-badge .badge-number {
        font-size: 1.35rem;
    }

    .image-badge .badge-label {
        font-size: 0.75rem;
    }

    /* Text Content - Mobile */
    .content-text {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .section-badge {
        padding: 0.5rem 1.125rem;
        font-size: 0.8rem;
        margin-bottom: 1rem;
        border-radius: 30px;
    }

    .content-text h2 {
        font-size: 1.625rem;
        margin-bottom: 1rem;
        line-height: 1.25;
    }

    .lead-text {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }

    .content-text p {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
        line-height: 1.65;
    }

    /* Mini Stats - Hidden on Mobile */
    .mini-stats {
        display: none !important;
    }

    /* Highlight Box - Mobile */
    .highlight-box {
        flex-direction: row;
        padding: 1.25rem;
        gap: 1rem;
        margin: 1.25rem 0;
        border-radius: 16px;
        background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    }

    .highlight-icon {
        font-size: 2rem;
        flex-shrink: 0;
    }

    .highlight-content h4 {
        font-size: 1.0625rem;
        margin-bottom: 0.5rem;
    }

    .highlight-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Lists - Mobile Optimized */
    .roles-list,
    .benefits-list {
        gap: 0.75rem;
        margin-top: 1.25rem;
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        flex-direction: unset;
    }

    .steps-list,
    .testimonials-list {
        gap: 1rem;
        margin-top: 1.25rem;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .role-item,
    .benefit-item {
        padding: 1rem;
        border-radius: 16px;
        transition: all 0.3s ease;
        width: 100%;
        display: flex;
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    .step-item,
    .testimonial-item {
        padding: 1.25rem;
        border-radius: 16px;
        transition: all 0.3s ease;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }

    .role-item:active,
    .benefit-item:active,
    .step-item:active {
        transform: scale(0.98);
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    }

    .role-icon-small,
    .benefit-icon-small {
        width: 48px;
        height: 48px;
        font-size: 1.75rem;
        flex-shrink: 0;
        margin: 0 auto;
    }

    .step-number {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .role-content,
    .benefit-content {
        flex: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-content {
        flex: 1;
        width: 100%;
    }

    .role-content h4,
    .benefit-content h4 {
        font-size: 0.9375rem;
        margin-bottom: 0.375rem;
        line-height: 1.3;
        font-weight: 700;
        position: relative;
        padding-right: 1.25rem;
    }

    /* Info icon indicator */
    .role-content h4::after,
    .benefit-content h4::after {
        content: 'ℹ️';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.875rem;
        opacity: 0.6;
        animation: pulse-info 2s ease-in-out infinite;
    }

    @keyframes pulse-info {
        0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
        50% { opacity: 1; transform: translateY(-50%) scale(1.1); }
    }

    /* Hide info icon when tooltip is active */
    .role-item.active .role-content h4::after,
    .benefit-item.active .benefit-content h4::after {
        opacity: 0;
    }

    .step-content h4 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .role-content p,
    .benefit-content p {
        font-size: 0.8125rem;
        margin-bottom: 0.5rem;
        line-height: 1.5;
        /* Tooltip/Popup styling for mobile */
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        background: var(--white);
        padding: 0.875rem;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        border: 2px solid var(--primary-green);
        z-index: 100;
        width: 200px;
        max-width: 90vw;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
        text-align: left;
    }

    /* Tooltip arrow */
    .role-content p::after,
    .benefit-content p::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid var(--primary-green);
    }

    /* Show tooltip on hover (desktop) */
    .role-item:hover .role-content p,
    .benefit-item:hover .benefit-content p {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    /* Show tooltip on click/active (mobile) */
    .role-item.active .role-content p,
    .benefit-item.active .benefit-content p {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    /* Make parent relative for absolute positioning */
    .role-item,
    .benefit-item {
        position: relative;
        overflow: visible;
        cursor: pointer;
        user-select: none;
    }

    /* Hover effect to indicate interactivity */
    .role-item:hover,
    .benefit-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(34, 197, 94, 0.2);
    }

    /* Active state */
    .role-item.active,
    .benefit-item.active {
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
        border-color: var(--primary-green);
        box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
    }

    .step-content p {
        font-size: 0.9375rem;
        margin-bottom: 0.75rem;
        line-height: 1.6;
    }

    .role-meta {
        flex-direction: column;
        gap: 0.375rem;
        font-size: 0.75rem;
        width: 100%;
        align-items: center;
    }

    .role-meta-item {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .popular-tag {
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .role-meta span {
        font-size: 0.875rem;
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
    }

    .popular-tag {
        display: inline-block;
        margin-left: 0;
        margin-top: 0.625rem;
        padding: 0.375rem 0.875rem;
        font-size: 0.75rem;
    }

    /* Step Actions - Mobile */
    .step-actions {
        flex-direction: row !important;
        gap: 0.5rem;
        margin-top: 1rem;
        flex-wrap: nowrap;
    }

    .btn-inline {
        flex: 1;
        min-width: 0;
        justify-content: center;
        padding: 0.875rem 0.75rem;
        font-size: 0.85rem;
        border-radius: 12px;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .btn-inline .btn-icon {
        font-size: 1rem;
    }

    .btn-inline:active {
        transform: scale(0.97);
    }

    /* Testimonials - Mobile */
    .quote-icon {
        font-size: 2.75rem;
        margin-bottom: 0.875rem;
        opacity: 0.15;
    }

    .quote-text {
        font-size: 1rem;
        margin-bottom: 1.25rem;
        line-height: 1.7;
    }

    .author-avatar {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .author-info strong {
        font-size: 1.0625rem;
    }

    .author-info span {
        font-size: 0.8125rem;
    }

    /* CTA Section - Mobile */
    .cta-section-volunteer {
        padding: 2.5rem 0;
    }

    .cta-header {
        margin-bottom: 2rem;
    }

    .cta-header .cta-icon {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        animation: bounce 2s infinite;
    }

    .cta-header h2 {
        font-size: 1.875rem;
        margin-bottom: 0.875rem;
        line-height: 1.25;
        color: var(--gray-900);
        font-weight: 800;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .cta-subtitle {
        font-size: 1.125rem;
        line-height: 1.6;
        color: var(--gray-900);
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        padding: 0 1rem;
    }

    .cta-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
        margin-bottom: 2rem;
        width: 100%;
    }

    .contact-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        transition: all 0.3s ease;
        width: 100%;
    }

    .contact-card:active {
        transform: scale(0.98);
    }

    .contact-card-icon {
        font-size: 3.25rem;
        margin-bottom: 1.25rem;
    }

    .contact-card h4 {
        font-size: 1.5rem;
        margin-bottom: 0.625rem;
        color: var(--gray-900);
        font-weight: 700;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .contact-card p {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
        color: var(--gray-900);
        font-weight: 600;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .contact-actions {
        flex-direction: row !important;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .btn-contact {
        flex: 1;
        min-width: 0;
        padding: 0.875rem 0.5rem;
        font-size: 0.875rem;
        border-radius: 12px;
        white-space: nowrap;
        color: var(--white) !important;
        font-weight: 700;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .btn-contact span {
        color: var(--white) !important;
        font-weight: 700;
    }

    .btn-contact .btn-icon {
        font-size: 1.1rem;
    }

    .btn-contact:active {
        transform: scale(0.97);
    }

    .final-message-box {
        padding: 1.75rem 1.5rem;
        border-radius: 16px;
        background: var(--white);
        border: 2px solid rgba(34, 197, 94, 0.3);
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
    }

    .final-message-box p {
        font-size: 1.125rem;
        line-height: 1.6;
        color: var(--gray-900);
        font-weight: 700;
    }

    .final-message-box p strong {
        color: var(--primary-green);
    }

    .final-message-sub {
        font-size: 1rem;
        color: var(--gray-700);
        font-weight: 500;
    }
}

/* Small Mobile - matches donate page pattern */
@media (max-width: 480px) {
    .volunteer-hero {
        height: clamp(220px, 35vh, 290px);
        min-height: 220px;
        margin-top: 80px;
    }

    .volunteer-hero-label {
        font-size: 0.75rem;
    }

    .volunteer-hero h1 {
        font-size: 1.75rem;
    }

    .page-header-volunteer {
        padding: 2.5rem 4%;
        margin-top: 80px;
    }

    .stats-bar-volunteer {
        padding: 1.25rem 4%;
    }

    .content-section-volunteer {
        padding: 2.5rem 4%;
    }

    .cta-section-volunteer {
        padding: 2.5rem 4%;
    }

    /* Content Sections - Small Mobile */
    .volunteer-content-section {
        padding: 2.5rem 4%;
    }

    .volunteer-grid {
        gap: 1.5rem;
    }

    .volunteer-text h2 {
        font-size: 1.5rem;
    }

    .volunteer-images.four-grid img {
        height: 120px;
    }

    /* Testimonials - Small Mobile */
    .volunteer-testimonials {
        padding: 2.5rem 4%;
    }

    .testimonials-subtitle {
        margin-bottom: 2rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }

    .quote-mark {
        font-size: 2.5rem;
    }

    .volunteer-divider {
        height: 50px;
    }
}

/* Mobile Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}



