.mission-section {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
	    padding-top: 30px;
}
.card-container {
    flex: 1 1 300px;
}
.card-container .card {
    font-weight: bold;
    position: relative;
    width: 100%;
}

/* CARD BASE */
.card-container .card .missn,
.card-container .card .vsn {
    padding: 30px;
    width: 100%;
    height: 400px;
    border: 1px solid black;
    color: white;
    display: block;
    position: relative;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    transition: 0.3s ease;
}

/* BACKGROUND IMAGES */
.missn {
    background-image: url(https://demofirst.in/kia/wp-content/uploads/2026/05/mission-imgg.jpg);
}

.vsn {
    background-image: url(https://demofirst.in/kia/wp-content/uploads/2026/05/vision-imgg.jpg);
}

/* DEFAULT CONTENT */
.card--display {
    display: block;
}

.card--display h2 {
    margin: 20px 0 0;
    color: #f15a24;
    border-bottom: 1px solid #f15a24;
    display: inline-block;
}

.card--display p {
    font-size: 15px;
    color: #262626;
    font-weight: 500;
    padding-top: 19px;
}

/* HOVER CONTENT */
.card--hover {
    display: none;
}

.card--hover h2 {
    margin: 20px 0;
    color: #fff;
    border-bottom: 1px solid #ffffff;
    display: inline-block;
    font-size: 34px;
}

.card--hover p {
    font-weight: normal;
    line-height: 1.7;
    color: #fff;
    font-size: 15px;
}

/* DESKTOP HOVER EFFECT */
@media (min-width: 769px) {

    .card-container .card .missn:hover,
    .card-container .card .vsn:hover {
        transform: translate(-20px, -20px);
        box-shadow: inset 0 0 0 1000px rgb(0 0 0 / 60%);
    }

    .card-container .card .missn:hover .card--display,
    .card-container .card .vsn:hover .card--display {
        display: none;
    }

    .card-container .card .missn:hover .card--hover,
    .card-container .card .vsn:hover .card--hover {
        display: block;
    }
}

/* BORDER */
.card--border {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: 2px dashed black;
    z-index: -1;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

    .mission-section {
        flex-direction: column;
        gap: 20px;
			padding-top: 0px;
    }

    .card-container {
        margin: 0;
    }

    .card-container .card .missn,
    .card-container .card .vsn {
        height: 320px;
        padding: 25px 20px;
        box-shadow: inset 0 0 0 1000px rgb(0 0 0 / 60%);
    }

    /* SHOW CONTENT DIRECTLY ON MOBILE */
    .card--display {
        display: none;
    }

    .card--hover {
        display: block;
    }

    .card--border {
        display: none;
    }

    .card--hover h2 {
        font-size: 28px;
    }

    .card--hover p {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {

    .card-container .card .missn,
    .card-container .card .vsn {
        height: 280px;
        padding: 20px 18px;
    }

    .card--hover h2 {
        font-size: 24px;
    }

    .card--hover p {
        font-size: 13px;
    }
}