/*====================================
    Mission & Vision Section
====================================*/

.mission-vision-section {
    padding: 60px 0;
    background: #ffffff;
}

.mv-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 32px;
    height: 100%;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03), 0 1px 3px rgba(15, 23, 42, 0.01);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated Card Outer Borders on Hover */
.mv-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 24px;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.45s ease;
}

/* Mission Card (Saffron/Gold theme) */
.card-mission::before {
    background: linear-gradient(135deg, #ffd60a, #ff9f0a, #ffd60a);
}

.card-mission:hover::before {
    opacity: 1;
}

.card-mission:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 159, 10, 0.3) !important;
    box-shadow: 0 25px 50px rgba(255, 159, 10, 0.12), 0 4px 10px rgba(255, 159, 10, 0.03);
}

/* Vision Card (Emerald Green theme) */
.card-vision::before {
    background: linear-gradient(135deg, #30d158, #34c759, #30d158);
}

.card-vision:hover::before {
    opacity: 1;
}

.card-vision:hover {
    transform: translateY(-10px);
    border-color: rgba(48, 209, 88, 0.3) !important;
    box-shadow: 0 25px 50px rgba(48, 209, 88, 0.12), 0 4px 10px rgba(48, 209, 88, 0.03);
}

/* Decorative Background Circle */
.mv-card::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.02);
    top: -130px;
    right: -100px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.mv-card:hover::after {
    transform: scale(1.3);
    background: rgba(15, 23, 42, 0.03);
}

/*====================
Icon Styling
====================*/
.mv-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    font-size: 26px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.02);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}

/* Mission Icon colors */
.card-mission .mv-icon {
    color: #ff9f0a; /* Saffron Gold */
}

.card-mission:hover .mv-icon {
    background: #ff9f0a;
    color: #ffffff;
    border-color: #ff9f0a;
    transform: rotate(12deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 159, 10, 0.25);
}

/* Vision Icon colors */
.card-vision .mv-icon {
    color: #30d158; /* Emerald Green */
}

.card-vision:hover .mv-icon {
    background: #30d158;
    color: #ffffff;
    border-color: #30d158;
    transform: rotate(12deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(48, 209, 88, 0.25);
}

/*====================
Heading
====================*/
.mv-card h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
    transition: color 0.4s ease;
    position: relative;
    z-index: 1;
}

.card-mission:hover h3 {
    color: #ff9f0a;
}

.card-vision:hover h3 {
    color: #30d158;
}

/*====================
Paragraph
====================*/
.mv-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 0;
    transition: color 0.4s ease;
    position: relative;
    z-index: 1;
}

.mv-card:hover p {
    color: #1e293b;
}

/*====================
Floating Shine Effect
====================*/
.shine {
    position: absolute;
    top: -120%;
    left: -40%;
    width: 30%;
    height: 300%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    transition: left 1.2s ease-in-out;
    z-index: 2;
}

.mv-card:hover .shine {
    left: 140%;
}

/*====================
Responsive
====================*/
@media(max-width: 991px) {
    .mv-card {
        padding: 28px 24px;
    }

    .mv-card h3 {
        font-size: 22px;
    }
}

@media(max-width: 576px) {
    .mv-card {
        padding: 24px 20px;
    }

    .mv-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .mv-card h3 {
        font-size: 20px;
    }

    .mv-card p {
        font-size: 14px;
    }
}