/* =========================================================
   MISSION & VISION SECTION
========================================================= */

.mission-vision-section {
    position: relative;
    padding: 50px 0;
    background: var(--primary-dark);
    color: var(--white);
    overflow: hidden;
}


/* =========================================================
   BACKGROUND GLOW
========================================================= */

.mission-vision-section::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    top: -230px;
    right: -160px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(1, 87, 146, .35),
        transparent 70%
    );
    pointer-events: none;
}

.mission-vision-section::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -230px;
    left: -160px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255,255,255,.06),
        transparent 70%
    );
    pointer-events: none;
}


/* =========================================================
   BACKGROUND ICONS
========================================================= */

.mission-bg-icons {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.mission-bg-icon {
    position: absolute;
    color: var(--white);
    opacity: .035;
}

.icon-1 {
    top: 7%;
    left: 3%;
    font-size: 110px;
    animation: missionFloat 8s ease-in-out infinite;
}

.icon-2 {
    top: 35%;
    right: 3%;
    font-size: 130px;
    animation: missionRotate 28s linear infinite;
}

.icon-3 {
    bottom: 4%;
    left: 8%;
    font-size: 140px;
    animation: missionRotate 35s linear infinite reverse;
}

.icon-4 {
    top: 15%;
    left: 48%;
    font-size: 75px;
    animation: missionFloat 7s ease-in-out infinite reverse;
}

.icon-5 {
    bottom: 15%;
    right: 35%;
    font-size: 90px;
}

.icon-6 {
    bottom: 5%;
    right: 5%;
    font-size: 110px;
    animation: missionPulse 5s ease-in-out infinite;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.mission-section-heading {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto 32px;
}

.mission-label {
    display: inline-block;
    margin-bottom: 7px;
    color: #7fc5e8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.mission-section-heading h2 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
}

.mission-section-heading h2 span {
    color: #62b6df;
}

.mission-section-heading p {
    max-width: 520px;
    margin: auto;
    color: rgba(255,255,255,.62);
    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   CARDS CONTAINER
========================================================= */

.mission-vision-cards {
    position: relative;
    z-index: 2;
    align-items: stretch;
}


/* =========================================================
   MAIN CARDS
========================================================= */

.mission-card,
.vision-card {
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 15px 35px rgba(0,0,0,.22);
    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,.30);
}


/* =========================================================
   IMAGE
========================================================= */

.mission-image-wrapper,
.vision-image-wrapper {
    position: relative;
    width: 100%;
    height: 175px;
    overflow: hidden;
}

.mission-image-wrapper img,
.vision-image-wrapper img {
    width: 100%;
    height: 175px;
    display: block;
    object-fit: cover;
    transition: transform .7s ease;
}

.mission-card:hover .mission-image-wrapper img,
.vision-card:hover .vision-image-wrapper img {
    transform: scale(1.05);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.mission-image-overlay,
.vision-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(1,68,111,.08),
            rgba(1,68,111,.58)
        );
}


/* =========================================================
   IMAGE BADGE
========================================================= */

.mission-image-badge,
.vision-image-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;

    display: flex;
    align-items: center;
    gap: 6px;

    padding: 7px 10px;

    background: rgba(1,68,111,.92);

    border: 1px solid rgba(255,255,255,.20);

    border-radius: 6px;

    backdrop-filter: blur(7px);
}

.mission-image-badge i,
.vision-image-badge i {
    color: #7fc5e8;
    font-size: 12px;
}

.mission-image-badge span,
.vision-image-badge span {
    color: var(--white);
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 1.2px;
}


/* =========================================================
   CONTENT
========================================================= */

.mission-content,
.vision-content {
    position: relative;

    min-height: 270px;

    padding: 22px 25px;

    background: var(--white);

    color: var(--black);

    display: flex;
    flex-direction: column;
}


/* =========================================================
   SIDE ACCENT
========================================================= */

.mission-content::before {
    content: "";

    position: absolute;

    top: 15px;
    bottom: 15px;

    left: 0;

    width: 3px;

    border-radius: 0 4px 4px 0;

    background:
        linear-gradient(
            to bottom,
            var(--primary),
            #62b6df
        );
}

.vision-content::before {
    content: "";

    position: absolute;

    top: 15px;
    bottom: 15px;

    right: 0;

    width: 3px;

    border-radius: 4px 0 0 4px;

    background:
        linear-gradient(
            to bottom,
            #62b6df,
            var(--primary)
        );
}


/* =========================================================
   ICON
========================================================= */

.mission-icon,
.vision-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    border-radius: 10px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 17px;

    transition: all .35s ease;
}

.mission-content:hover .mission-icon,
.vision-content:hover .vision-icon {
    color: var(--white);
    background: var(--primary);

    transform:
        translateY(-3px)
        rotate(-5deg);
}


/* =========================================================
   LABEL
========================================================= */

.content-label {
    display: block;

    margin-bottom: 5px;

    color: var(--primary);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 2px;
}


/* =========================================================
   HEADING
========================================================= */

.mission-content h3,
.vision-content h3 {
    max-width: 390px;

    margin: 0 0 10px;

    color: var(--black);

    font-size: clamp(21px, 2.2vw, 27px);

    line-height: 1.12;

    font-weight: 800;

    letter-spacing: -.4px;
}

.mission-content h3 span,
.vision-content h3 span {
    display: block;
    color: var(--primary);
}


/* =========================================================
   TEXT
========================================================= */

.mission-content p,
.vision-content p {
    max-width: 450px;

    margin-bottom: 7px;

    color: var(--text);

    font-size: 10px;

    line-height: 1.65;
}


/* =========================================================
   HIGHLIGHT
========================================================= */

.mission-highlight,
.vision-highlight {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-top: auto;

    padding-top: 10px;

    border-top: 1px solid var(--border);
}

.mission-highlight i,
.vision-highlight i {
    color: var(--primary);
    font-size: 12px;
}

.mission-highlight span,
.vision-highlight span {
    color: var(--black);
    font-size: 8.5px;
    font-weight: 700;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes missionFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes missionRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes missionPulse {
    0%, 100% {
        transform: scale(1);
        opacity: .03;
    }

    50% {
        transform: scale(1.12);
        opacity: .07;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .mission-vision-section {
        padding: 45px 0;
    }

    .mission-section-heading {
        margin-bottom: 28px;
    }

    .mission-image-wrapper,
    .vision-image-wrapper {
        height: 155px;
    }

    .mission-image-wrapper img,
    .vision-image-wrapper img {
        height: 155px;
    }

    .mission-content,
    .vision-content {
        min-height: 250px;
        padding: 20px 22px;
    }

    .mission-content h3,
    .vision-content h3 {
        font-size: 23px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .mission-vision-section {
        padding: 45px 0;
    }

    .mission-section-heading {
        margin-bottom: 25px;
    }

    .mission-section-heading h2 {
        font-size: 29px;
    }

    .mission-section-heading p {
        font-size: 10px;
    }

    .mission-vision-cards {
        --bs-gutter-y: 20px;
    }

    .mission-image-wrapper,
    .vision-image-wrapper {
        height: 180px;
    }

    .mission-image-wrapper img,
    .vision-image-wrapper img {
        height: 180px;
    }

    .mission-content,
    .vision-content {
        min-height: auto;
        padding: 20px 22px;
    }

    .mission-content h3,
    .vision-content h3 {
        font-size: 23px;
    }

    .mission-content p,
    .vision-content p {
        font-size: 10px;
        line-height: 1.65;
    }

    .mission-icon,
    .vision-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {

    .mission-vision-section {
        padding: 40px 0;
    }

    .mission-section-heading h2 {
        font-size: 27px;
    }

    .mission-content,
    .vision-content {
        padding: 18px 20px;
    }

    .mission-content h3,
    .vision-content h3 {
        font-size: 22px;
    }

    .mission-content p,
    .vision-content p {
        font-size: 9.5px;
    }

    .mission-bg-icon {
        font-size: 65px !important;
    }
}