/* ====================================
   MISSION PAGE SPECIFIC STYLES
==================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--accent-white) 0%, var(--accent-light) 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
    background: var(--background);
}

.mission-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    margin-bottom: 3rem;
}

.mission-statement {
    max-width: 900px;
    margin: 0 auto 4rem;
    background: var(--accent-light);
    padding: 3rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-medium);
}

.mission-statement .large-text {
    margin-bottom: 0;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.mission-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.pillar-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pillar-icon i {
    font-size: 2rem;
    color: white;
}

.pillar-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.pillar-card p {
    color: var(--text-medium);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Beliefs Section */
.beliefs-section {
    padding: 5rem 0;
    background: var(--background-alt);
}

.beliefs-content {
    max-width: 1200px;
    margin: 0 auto;
}

.beliefs-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.belief-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.category-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.category-card h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-pale);
}

.belief-points p {
    margin-bottom: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.belief-points p:last-child {
    margin-bottom: 0;
}

.belief-points strong {
    color: var(--primary-medium);
    font-weight: 600;
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background: var(--background);
}

.values-content {
    max-width: 1200px;
    margin: 0 auto;
}

.values-content h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.value-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 1.75rem;
    color: white;
}

.value-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.value-item p {
    color: var(--text-medium);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Resources Section */
.resources-section {
    padding: 5rem 0;
    background: var(--background);
}

.resources-content {
    max-width: 1200px;
    margin: 0 auto;
}

.resources-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.resource-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.resource-category {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.resource-category h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-pale);
}

.resource-category h3 i {
    color: var(--primary-medium);
    font-size: 1.5rem;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.resource-item h4 {
    color: var(--primary-medium);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.resource-item ul {
    list-style: none;
    padding: 0;
}

.resource-item ul li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--accent-warm);
}

.resource-item ul li:last-child {
    border-bottom: none;
}

.resource-item ul li::before {
    content: '📖';
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.resource-item ul li em {
    font-weight: 500;
    color: var(--text-dark);
}

/* Join Section */
.join-section {
    padding: 5rem 0;
    background: var(--background-alt);
}

.join-content {
    max-width: 1200px;
    margin: 0 auto;
}

.join-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.join-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.join-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.join-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.join-card i {
    font-size: 3.5rem;
    color: var(--primary-medium);
    margin-bottom: 1.5rem;
}

.join-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.join-card p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.join-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.join-card ul li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.join-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-medium);
    font-weight: bold;
    font-size: 1.2rem;
}

.join-card .btn-secondary {
    width: 100%;
    max-width: 200px;
}

/* Mission CTA Section */
.mission-cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.mission-cta-section .cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.mission-cta-section .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mission-cta-section .btn-primary {
    background: white;
    color: var(--primary-dark);
}

.mission-cta-section .btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.mission-cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.mission-cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-dark);
}

.mission-cta-section .btn-tertiary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.mission-cta-section .btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .mission-statement {
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    .mission-statement .large-text {
        font-size: 1.25rem;
    }
    
    .mission-pillars,
    .approach-methods,
    .belief-categories,
    .values-grid,
    .join-options {
        grid-template-columns: 1fr;
    }
    
    .resource-categories {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pillar-card,
    .method-card,
    .category-card,
    .value-item,
    .resource-category,
    .join-card {
        padding: 2rem;
    }
    
    .pillar-icon,
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .pillar-icon i,
    .value-icon i {
        font-size: 1.5rem;
    }
    
    .join-card i {
        font-size: 3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary,
    .cta-buttons .btn-tertiary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .mission-section,
    .approach-section,
    .beliefs-section,
    .values-section,
    .resources-section,
    .join-section {
        padding: 4rem 0;
    }
    
    .mission-statement {
        padding: 1.5rem;
    }
    
    .mission-statement .large-text {
        font-size: 1.125rem;
    }
    
    .pillar-card,
    .method-card,
    .category-card,
    .value-item,
    .resource-category,
    .join-card {
        padding: 1.5rem;
    }
    
    .mission-cta-section {
        padding: 4rem 0;
    }
    
    .resource-list {
        gap: 1.5rem;
    }
    
    .resource-item ul li {
        font-size: 0.9rem;
    }
}

/* Animation for scroll-triggered elements */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: slideInUp 0.8s ease forwards;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mission-statement,
    .pillar-card,
    .method-card,
    .category-card,
    .value-item,
    .resource-category,
    .join-card {
        border: 3px solid var(--text-dark);
    }
}

/* Print styles */
@media print {
    .mission-cta-section,
    .nav-container,
    .footer {
        display: none;
    }
    
    .page-hero,
    .mission-section,
    .approach-section,
    .beliefs-section,
    .values-section,
    .resources-section,
    .join-section {
        background: white !important;
        color: black !important;
        padding: 2rem 0 !important;
    }
    
    .pillar-card,
    .method-card,
    .category-card,
    .value-item,
    .resource-category,
    .join-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* Monthly Highlight Section */
.monthly-highlight-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.highlight-content h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.highlight-content .section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #5a6c7d;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.video-description {
    padding: 2rem;
}

    .video-description h3 {
        font-size: 1.5rem;
        color: #2c3e50;
        margin-bottom: 0.75rem;
    }

    .video-description p {
        font-size: 1rem;
        color: #5a6c7d;
        line-height: 1.6;
    }

@media (max-width: 768px) {
    .monthly-highlight-section {
        padding: 60px 0;
    }

    .highlight-content h2 {
        font-size: 2rem;
    }

    .video-description {
        padding: 1.5rem;
    }
}

/* Subtle glowing gold effect with seamless shine */
.highlight-gold {
    color: #D4A574; /* Warm gold color */
    font-weight: 700;
    position: relative;
    text-shadow: 0 0 8px rgba(212, 165, 116, 0.3), 0 0 12px rgba(212, 165, 116, 0.2);
    animation: subtleGlow 4s ease-in-out infinite alternate;
}

/* Very gentle glow animation */
@keyframes subtleGlow {
    from {
        text-shadow: 0 0 8px rgba(212, 165, 116, 0.3), 0 0 12px rgba(212, 165, 116, 0.2);
    }

    to {
        text-shadow: 0 0 12px rgba(212, 165, 116, 0.4), 0 0 16px rgba(212, 165, 116, 0.25);
    }
}

/* Moving shine effect - seamless with background */
.highlight-gold::after {
    content: '';
    position: absolute;
    top: -2px; /* Slightly extend beyond text */
    bottom: -2px; /* Slightly extend beyond text */
    left: -30%;
    width: 30%;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0.1) 80%, rgba(255, 255, 255, 0) 100% );
    animation: shineBackAndForth 5s infinite;
    pointer-events: none;
    border-radius: 2px; /* Soft rounded edges */
    mix-blend-mode: overlay; /* Blend with background seamlessly */
}

/* Back and forth shine animation */
@keyframes shineBackAndForth {
    0% {
        left: -30%;
    }

    25% {
        left: 100%;
    }

    50% {
        left: 100%;
    }

    75% {
        left: -30%;
    }

    100% {
        left: -30%;
    }
}

/* For users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .highlight-gold {
        animation: subtleGlow 4s ease-in-out infinite alternate;
    }

        .highlight-gold::after {
            animation: none;
            display: none;
        }
}

sup {
    /* Nudge the superscript up into the correct position */
    position: relative;
    top: -0.5em;
    /* Make the superscript text slightly smaller */
    font-size: 0.75em;
    /* Prevent the superscript from affecting the line's height */
    vertical-align: baseline;
}