/* Volunteer Activities Page Specific Styles */

/* Hero Section */
.volunteer-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    background: url('../images/volunteer-activities-01.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.volunteer-hero .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.volunteer-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.volunteer-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.volunteer-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

/* Activities Section */
.volunteer-activities {
    background: white;
    padding: 6rem 0;
}

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

.activity-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 107, 157, 0.2);
}

.activity-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.activity-card-link:hover {
    text-decoration: none;
}

.activity-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
    color: white;
}

.activity-card:hover .activity-icon {
    transform: scale(1.1);
}

.japanese-support-icon {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
}

.life-support-icon {
    background: linear-gradient(135deg, #ff8fab 0%, #ffb3c1 100%);
}

.cultural-icon {
    background: linear-gradient(135deg, #ffb3c1 0%, #fce4ec 100%);
}

.supporter-icon {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
}

.activity-card h3 {
    color: #b67a93;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.featured-training-container {
    grid-column: 1 / -1;
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.featured-training-container .activity-card {
    flex: 0 0 350px;
    margin: 0;
    text-align: left;
}

.training-image-box {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.training-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.activity-details p {
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.6;
    color: #666;
}

.activity-details strong {
    color: #ff6b9d;
    font-weight: 600;
}

/* Application Flow Section */
.application-flow {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    padding: 6rem 0;
}

.flow-subtitle {
    text-align: center;
    color: #b67a93;
    margin-bottom: 3rem;
    font-size: 1.5rem;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* Connection line between steps */
.flow-steps::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 80px;
    bottom: 80px;
    width: 3px;
    background: linear-gradient(to bottom, #ff6b9d, #ff8fab, #ffb3c1);
    transform: translateX(-50%);
    z-index: 1;
}

.step-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(255, 107, 157, 0.15);
    border: 2px solid rgba(255, 107, 157, 0.1);
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
    overflow: hidden;
}

/* Step card background decoration */
.step-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: rgba(255, 107, 157, 0.05);
    border-radius: 50%;
    z-index: -1;
}

.step-card:nth-child(1)::after {
    content: '📝';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    opacity: 0.1;
    z-index: 0;
}

.step-card:nth-child(2)::after {
    content: '💬';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    opacity: 0.1;
    z-index: 0;
}

.step-card:nth-child(3)::after {
    content: '🤝';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    opacity: 0.1;
    z-index: 0;
}

.step-card:nth-child(4)::after {
    content: '🎉';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    opacity: 0.1;
    z-index: 0;
}

/* Even cards decoration position adjustment */
.step-card:nth-child(even)::before {
    left: -20px;
    right: auto;
}

.step-card:nth-child(even)::after {
    left: 30px;
    right: auto;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 107, 157, 0.25);
    border-color: rgba(255, 107, 157, 0.3);
}

.step-card:nth-child(even) {
    flex-direction: row-reverse;
}

.step-card:nth-child(even) .step-content {
    text-align: right;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: #b67a93;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.step-content p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* Gradient accents for each step */
.step-card:nth-child(1) {
    background: linear-gradient(135deg, #ffffff 0%, #fff8fc 100%);
}

.step-card:nth-child(2) {
    background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
}

.step-card:nth-child(3) {
    background: linear-gradient(135deg, #ffffff 0%, #fff0f5 100%);
}

.step-card:nth-child(4) {
    background: linear-gradient(135deg, #ffffff 0%, #fffaf8 100%);
}

/* Enhanced background effects on hover */
.step-card:hover::before {
    background: rgba(255, 107, 157, 0.1);
    transform: scale(1.1);
}

.step-card:hover::after {
    opacity: 0.2;
    transform: scale(1.1);
}

/* FAQ Section */
.volunteer-faq {
    background: white;
    padding: 4rem 0;
}

.section-subtitle {
    text-align: center;
    color: #b67a93;
    margin-bottom: 3rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #ff6b9d;
}

.faq-question h4 {
    color: #b67a93;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.faq-answer p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.volunteer-cta {
    background: var(--gradient-primary);
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    color: white;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #ff6b9d;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #ff6b9d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .volunteer-hero {
        height: 50vh;
        min-height: 400px;
    }

    .volunteer-hero .hero-content {
        padding: 0 1rem;
    }

    .volunteer-hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .volunteer-hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .volunteer-activities {
        padding: 4rem 0;
    }

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .activity-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .activity-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .application-flow {
        padding: 4rem 0;
    }

    .flow-steps {
        gap: 2rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .flow-steps::before {
        display: none;
    }

    .step-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        margin: 0 1rem;
    }

    .step-card::before {
        top: -10px;
        right: 50%;
        transform: translateX(50%);
        width: 80px;
        height: 80px;
    }

    .step-card::after {
        top: 10px;
        right: 50%;
        transform: translateX(50%);
        font-size: 2rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .step-content h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .step-content p {
        font-size: 1rem;
    }

    .volunteer-faq {
        padding: 3rem 0;
    }

    .faq-list {
        padding: 0 1rem;
    }

    .faq-item {
        padding: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .volunteer-cta {
        padding: 3rem 0;
    }

    .cta-content {
        padding: 0 1rem;
    }

    .cta-content h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Featured Training Responsive */
    .featured-training-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .featured-training-container .activity-card {
        flex: 1 1 auto;
        width: auto;
    }

    .training-image-box {
        height: 300px;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .volunteer-hero h1 {
        font-size: 2rem;
    }

    .volunteer-hero p {
        font-size: 1rem;
    }

    .activity-card {
        padding: 1.2rem;
    }

    .activity-card h3 {
        font-size: 1.2rem;
    }

    .step-card {
        padding: 1.5rem 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .cta-content h3 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* CTA Buttons Wrapper */
.cta-buttons-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button-inquiry {
    background: transparent;
    border: 2px solid white;
    color: white;
    box-shadow: none;
}

.cta-button-inquiry:hover {
    background: white;
    color: #ff6b9d;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}