/* Vision Page - Premium Content Styles */
/* Scoped for use within standard subpage layout */

:root {
    --vision-primary: #004e92;
    --vision-secondary: #000428;
    --vision-accent: #00a8cc;
    --vision-text-light: #ffffff;
    --vision-text-dark: #333333;
    --vision-bg-light: #f8f9fa;
}

/* 2026 Motto Section */
.vision-motto-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(0, 78, 146, 0.05) 0%, rgba(0, 4, 40, 0.05) 100%);
    border-radius: 20px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.motto-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--vision-accent);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    display: block;
}

.motto-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--vision-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.motto-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

.motto-english {
    margin-top: 15px;
    font-weight: 600;
    color: var(--vision-secondary);
}

/* Core Values (4 Communities) */
.vision-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.vision-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vision-text-dark);
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}

.vision-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--vision-accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

.communities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.community-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.community-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 168, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vision-accent);
    margin-bottom: 20px;
}

.community-icon i {
    width: 28px;
    height: 28px;
}

.community-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--vision-secondary);
    margin-bottom: 10px;
}

.community-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Major Goals (5 Goals) - Optimized Layout */
.goals-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 80px;
}

.goal-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02), 0 10px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border instead */
    width: calc(33.333% - 16px);
    min-width: 280px;
    max-width: 350px;
    will-change: transform;
    /* Optimizer */
    display: flex;
    flex-direction: column;
}

.goal-card:hover {
    transform: translateY(-5px) translateZ(0);
    /* GPU */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Removed specific colored top borders */
.goal-card:nth-child(n) {
    border-top: none;
}

.goal-header {
    padding: 20px 24px;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #f1f1f1;
}

.goal-num {
    font-size: 2.2rem;
    font-weight: 800;
    opacity: 0.08;
    line-height: 1;
    color: var(--vision-text-dark);
}

.goal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--vision-text-dark);
}

.goal-body {
    padding: 24px;
    flex-grow: 1;
}

.goal-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Global Animation Optimization override */
.orb {
    will-change: transform;
    transform: translateZ(0);
}

/* Responsive adjustment for Flexbox grid */
@media (max-width: 992px) {
    .goal-card {
        width: calc(50% - 12px);
        max-width: none;
    }
}

@media (max-width: 768px) {
    .communities-grid {
        grid-template-columns: 1fr;
    }

    .goals-grid {
        grid-template-columns: 1fr;
    }

    .motto-title {
        font-size: 1.8rem;
    }
}