
.mission-section {
    padding: 60px 0;
}

.mission-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: #ffffff;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(114, 192, 44, 0.1);
    position: relative;
    overflow: hidden;
    /*width: 80%;*/
    margin: auto;
    text-align: center;
    box-sizing: border-box;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(114, 192, 44, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

/* Visual/Image Section */
.mission-visual {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mission-icon-wrapper {
    width: 180px;
    height: 180px;
    background: linear-gradient(145deg, #f0fbe8 0%, #e3f5d6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(114, 192, 44, 0.2);
    position: relative;
}

.mission-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed #72c02c;
    border-radius: 50%;
    opacity: 0.3;
    transform: scale(1.15);
}

.mission-icon-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ============================================
   Wheel Chart Styles
   ============================================ */
.wheel-chart-container {
    width: 550px;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wheel-chart {
    width: 100%;
    height: 100%;
}

/* Slow rotating animation for outer wheel */
@keyframes wheelRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes counterRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.wheel-rotating {
    transform-origin: 200px 200px;
    animation: wheelRotate 120s linear infinite;
}

/* Counter-rotate labels to keep them upright */
.label-counter-rotate {
    animation: counterRotate 120s linear infinite;
}

/* Pause rotation on hover for better interaction */
.wheel-chart:hover .wheel-rotating,
.wheel-chart:hover .label-counter-rotate {
    animation-play-state: paused;
}

.wheel-segment {
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: 200px 200px;
}

.wheel-segment:hover {
    filter: brightness(1.15) drop-shadow(0 0 8px rgba(0,0,0,0.3));
    transform: scale(1.05);
}

/* Center circle hover styles */
.center-circle-group {
    cursor: pointer;
    transform-origin: 200px 200px;
    transition: all 0.3s ease;
}

.center-circle {
    transition: all 0.3s ease;
}

.center-circle-hover {
    transition: opacity 0.3s ease;
}

.center-circle-group:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(38, 166, 154, 0.5));
}

.center-circle-group:hover .center-circle-hover {
    opacity: 1;
}

.center-circle-group text {
    transition: all 0.3s ease;
}

.center-circle-group:hover text:first-of-type {
    fill: #26a69a;
}

.center-circle-group:hover text:last-of-type {
    fill: #1a7a6d;
}

.wheel-content .segment-content text {
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    pointer-events: none;
}

/* Make icons and labels pass through hover to segments */
.wheel-chart > g[fill="white"] {
    pointer-events: none;
}

/* Responsive wheel chart */
@media only screen and (max-width: 992px) {
    .wheel-chart-container {
        width: 480px;
        height: 480px;
    }
}

@media only screen and (max-width: 768px) {
    .wheel-chart-container {
        width: 400px;
        height: 400px;
    }
}

@media only screen and (max-width: 480px) {
    .wheel-chart-container {
        width: 320px;
        height: 320px;
    }
}

.mission-decorative-line {
    width: 3px;
    height: 40px;
    background: linear-gradient(to bottom, #72c02c, transparent);
    border-radius: 2px;
}

/* Content Section */
.mission-content {
    text-align: center;
}

.mission-label {
    display: inline-block;
    background: linear-gradient(135deg, #72c02c 0%, #5a9a23 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.mission-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 20px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.mission-text {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    margin: 0 auto 25px auto;
    max-width: 700px;
}

.mission-text strong {
    color: #72c02c;
    font-weight: 600;
}

/* Nine Pillars Grid */
.mission-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.pillar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f9fdf6 0%, #f0f9e8 100%);
    border: 1px solid #e8f5e0;
    padding: 14px 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: default;
}

.pillar-item:hover {
    background: linear-gradient(135deg, #72c02c 0%, #5a9a23 100%);
    border-color: #72c02c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(114, 192, 44, 0.3);
}

.pillar-item:hover .pillar-text {
    color: white;
}

.pillar-item:hover .pillar-icon {
    transform: scale(1.1);
}

.pillar-icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.pillar-text {
    font-size: 13px;
    font-weight: 600;
    color: #4a7c1f;
    transition: color 0.3s ease;
}

/* Responsive */
@media only screen and (max-width: 900px) {
    .mission-pillars {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media only screen and (max-width: 768px) {
    .mission-card {
        padding: 30px 20px;
        gap: 25px;
    }

    .mission-title {
        font-size: 22px;
    }

    .mission-text {
        font-size: 15px;
    }

    .mission-icon-wrapper {
        width: 130px;
        height: 130px;
    }

    .mission-pillars {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .pillar-item {
        padding: 10px 12px;
    }

    .pillar-icon {
        font-size: 18px;
    }

    .pillar-text {
        font-size: 11px;
    }
}

@media only screen and (max-width: 480px) {
    .mission-pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillar-item {
        padding: 8px 10px;
        flex-direction: column;
        gap: 5px;
    }

    .pillar-text {
        font-size: 10px;
    }
}
