/* ============================================
   VISION & MISSION - BLUE PURPLE THEME
   WITH POP-UP EFFECTS
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f0f2f8;
    padding: 40px 20px;
    min-height: 100vh;
}

.vision-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    animation: fadeInPage 0.8s ease-out;
}

/* ============================================
   PAGE FADE IN ANIMATION
   ============================================ */
@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ============================================
   POP IN ANIMATION
   ============================================ */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(30px);
    }
    70% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes popInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes popInRight {
    0% {
        opacity: 0;
        transform: translateX(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes popInUp {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================
   BACK BUTTON - POP IN LEFT
   ============================================ */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.08);
    color: #6366f1;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(99, 102, 241, 0.1);
    margin-bottom: 30px;
    animation: popInLeft 0.7s ease-out 0.1s both;
}

.btn-back:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    transform: translateX(-5px) scale(1.03);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35);
}

/* ============================================
   HEADER - POP IN
   ============================================ */
.vision-header {
    text-align: center;
    margin-bottom: 40px;
    animation: popIn 0.8s ease-out 0.2s both;
}

.vision-header h2 {
    color: #1e1b4b;
    font-weight: 800;
    font-size: 36px;
}

.vision-header h2 i {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 12px;
}

.vision-header p {
    color: rgba(0, 0, 0, 0.4);
    font-size: 16px;
    margin-top: 5px;
}

/* ============================================
   VISION & MISSION CARDS - POP IN
   ============================================ */
.vision-card,
.mission-card {
    background: rgba(99, 102, 241, 0.03);
    border-radius: 20px;
    padding: 35px 30px;
    height: 100%;
    border: 1px solid rgba(99, 102, 241, 0.06);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.vision-card {
    animation: popInLeft 0.8s ease-out 0.3s both;
}

.mission-card {
    animation: popInRight 0.8s ease-out 0.4s both;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.15);
}

/* ============================================
   ICON - BOUNCE ON HOVER
   ============================================ */
.vision-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #6366f1;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vision-card:hover .vision-icon,
.mission-card:hover .vision-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.35);
    animation: bounceIcon 0.6s ease;
}

@keyframes bounceIcon {
    0% { transform: scale(1) rotate(0deg); }
    30% { transform: scale(1.2) rotate(-10deg); }
    60% { transform: scale(0.9) rotate(5deg); }
    100% { transform: scale(1.15) rotate(-8deg); }
}

.vision-card h3,
.mission-card h3 {
    color: #1e1b4b;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 10px;
}

.vision-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    margin: 0 auto 15px;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.vision-card:hover .vision-divider,
.mission-card:hover .vision-divider {
    width: 80px;
}

/* ============================================
   VISION TEXT
   ============================================ */
.vision-text {
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
    padding: 0 10px;
}

.vision-tagline {
    margin-top: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.06));
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #6366f1;
    border-left: 3px solid #6366f1;
    transition: all 0.4s ease;
}

.vision-card:hover .vision-tagline {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.12));
    transform: scale(1.02);
}

.vision-tagline i {
    color: #8b5cf6;
    font-size: 14px;
    margin: 0 8px;
}

/* ============================================
   MISSION LIST - STAGGERED POP IN
   ============================================ */
.mission-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    text-align: left;
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.6);
    font-size: 15px;
    line-height: 1.6;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    animation: popInUp 0.6s ease-out forwards;
}

.mission-list li:nth-child(1) { animation-delay: 0.5s; }
.mission-list li:nth-child(2) { animation-delay: 0.6s; }
.mission-list li:nth-child(3) { animation-delay: 0.7s; }
.mission-list li:nth-child(4) { animation-delay: 0.8s; }
.mission-list li:nth-child(5) { animation-delay: 0.9s; }

.mission-list li:last-child {
    border-bottom: none;
}

.mission-list li:hover {
    padding-left: 12px;
    color: #1e1b4b;
    background: rgba(99, 102, 241, 0.04);
    border-radius: 10px;
    transform: scale(1.01);
}

.mission-list li i {
    color: #6366f1;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.mission-list li:hover i {
    color: #8b5cf6;
    transform: scale(1.2) rotate(10deg);
}

/* ============================================
   CORE VALUES - POP IN
   ============================================ */
.core-values {
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.core-values h3 {
    text-align: center;
    color: #1e1b4b;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 30px;
    animation: popIn 0.7s ease-out 0.8s both;
}

.core-values h3 i {
    color: #6366f1;
    margin-right: 10px;
}

/* ============================================
   VALUE ITEMS - STAGGERED POP IN
   ============================================ */
.value-item {
    background: rgba(99, 102, 241, 0.03);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(99, 102, 241, 0.04);
    height: 100%;
    opacity: 0;
    animation: popInUp 0.6s ease-out forwards;
}

.value-item:nth-child(1) { animation-delay: 1.0s; }
.value-item:nth-child(2) { animation-delay: 1.1s; }
.value-item:nth-child(3) { animation-delay: 1.2s; }
.value-item:nth-child(4) { animation-delay: 1.3s; }

.value-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.15);
}

.value-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 12px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #6366f1;
    transition: all 0.5s ease;
}

.value-item:hover .value-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.25);
}

.value-item h5 {
    color: #1e1b4b;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 5px;
}

.value-item p {
    color: rgba(0, 0, 0, 0.5);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .vision-wrapper { padding: 30px; }
    .vision-header h2 { font-size: 30px; }
}

@media (max-width: 768px) {
    .vision-wrapper { padding: 20px; border-radius: 16px; }
    .vision-header h2 { font-size: 24px; }
    .vision-card, .mission-card { padding: 25px 20px; }
    .vision-text { font-size: 15px; }
    .mission-list li { font-size: 14px; padding: 10px 0; }
    .core-values h3 { font-size: 22px; }
    .value-item { padding: 20px 15px; }
}

@media (max-width: 480px) {
    .vision-wrapper { padding: 15px; }
    .vision-header h2 { font-size: 20px; }
    .vision-header p { font-size: 14px; }
    .vision-icon { width: 55px; height: 55px; font-size: 24px; }
    .vision-card h3, .mission-card h3 { font-size: 20px; }
    .vision-tagline { font-size: 14px; padding: 12px 15px; }
    .value-icon { width: 45px; height: 45px; font-size: 20px; }
    .btn-back { font-size: 12px; padding: 6px 16px; }
}