.mv-hero-section {
    width: 100%;
    background: #e0f2fe;
    padding: 70px 20px;
    overflow: hidden;
}

.mv-hero-section-left {
    z-index: 2;
}

.mv-hero-section-left p {
    font-size: 1rem;
    color: var(--gray, #334155);
    margin-bottom: 30px;
}

.mv-hero-section-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    min-height: 400px;
}

.about-us-btn {
    background-color: var(--secondary) !important;
    color: var(--white) !important;
    border-radius: 20px;
    padding: 0.5rem 1.25rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.about-us-btn:hover {
    background-color: var(--primary-dark) !important;
    box-shadow: 0 4px 12px var(--primary-light);
}

.image-cluster {
    position: relative;
    width: 320px;
    height: 400px;
}

.image-wrapper {
    position: absolute;
    border-radius: 10%;
    overflow: hidden;
    border: 8px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: white;
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image {
    width: 215px;
    height: 260px;
    top: 62px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.left-image {
    width: 215px;
    height: 260px;
    top: 135px;
    left: -100px;
    z-index: 2;
}

.right-image {
    width: 215px;
    height: 260px;
    bottom: 140px;
    right: -60px;
    z-index: 1;
}

.mission-vision-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.mission-vision-image img {
    width: 80px;
    height: auto;
}

.timeline-connector {
    position: absolute;
    width: 56rem;
    height: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.timeline-connector::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
    left: 4px;
    top: 0;
    transform: translateY(-50%);
}

.timeline-connector::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--secondary);
    border-radius: 50%;
    right: 4px;
    top: 4px;
    transform: translateY(-50%);
}

.timeline-arrow {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    top: 50%;
    left: 50%;
    transform: translate(-53%, -50%) rotate(-90deg);
    z-index: 2;
}

.mission-vision-section {
    text-align: center;
    background: linear-gradient(0deg, #f8fafc, #e0f2fe);
}

.mission-vision-card-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 37px;
    flex-wrap: wrap;
    position: relative;
}

.mission-vision-card {
    width: 400px;
    height: 400px;
    background: white;
    border-radius: 50%;
    padding: 30px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.mission::before {
    content: '';
    position: absolute;
    top: -21px;
    right: -21px;
    width: 56%;
    height: 53%;
    border-top: 4px solid var(--primary);
    border-right: 4px solid var(--primary);
    border-top-right-radius: 1000px;
    box-sizing: border-box;
}

.mission::after {
    content: '';
    position: absolute;
    top: -21px;
    left: -21px;
    width: 56%;
    height: 53%;
    border-top: 4px solid var(--primary);
    border-left: 4px solid var(--primary);
    border-top-left-radius: 1000px;
    box-sizing: border-box;
}

.vision::before {
    content: '';
    position: absolute;
    bottom: -21px;
    right: -21px;
    width: 56%;
    height: 53%;
    border-bottom: 4px solid var(--secondary);
    border-right: 4px solid var(--secondary);
    border-bottom-right-radius: 1000px;
    box-sizing: border-box;
}

.vision::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: -21px;
    width: 56%;
    height: 53%;
    border-bottom: 4px solid var(--secondary);
    border-left: 4px solid var(--secondary);
    border-bottom-left-radius: 1000px;
    box-sizing: border-box;
}

.mission-vision-card .title {
    font-weight: bold;
    font-size: 18px;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.mission-vision-card p {
    line-height: 1.7rem;
    color: var(--gray);
    padding: 10px 20px;
}

.mission .title {
    background: var(--primary);
}

.vision .title {
    background: var(--secondary);
}

.mission {
    box-shadow: 0 10px 30px rgb(250 146 61 / 51%)
}

.vision {
    box-shadow: 0 0 30px rgb(39 176 229 / 51%)
}

.corevalues-section {
    background: #f8fafc;
    padding: 60px 20px;
    text-align: center;
}

.corevalues-row {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.corevalue-hex {
    position: relative;
    width: 270px;
    height: 270px;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    text-align: center;
    z-index: 1;
    cursor: default;
    transition: transform 0.3s ease;
    overflow: visible;
    filter: drop-shadow(0 0 15px rgba(39, 176, 229, 0.2));
    box-sizing: border-box;
}

/* Hexagon Border */
.corevalue-hex::before {
    content: "";
    position: absolute;
    inset: 1px;
    background: var(--secondary);
    clip-path: polygon(50% 0%,
            93% 25%,
            93% 75%,
            50% 100%,
            7% 75%,
            7% 25%);
    z-index: -2;
}

/* Inner Fill */
.corevalue-hex::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: #f8fafc;
    clip-path: polygon(50% 0%,
            93% 25%,
            93% 75%,
            50% 100%,
            7% 75%,
            7% 25%);
    z-index: -1;
}

.corevalue-hex h3 {
    padding: 5px 0;
    margin-bottom: 5px;
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    word-break: break-word;
}

.corevalue-hex p {
    margin-bottom: 20px;
    padding: 0 10px;
    font-size: 0.9rem;
    color: #334155;
}

.corevalues-icon img {
    width: 45px;
    height: 45px;
    margin: 5px 0;
}

/* Hover effect */
.corevalue-hex:hover {
    transform: translateY(-10px);
}


.corevalue-hex:nth-child(odd) {
    margin-top: 10px;
}

.corevalue-hex:nth-child(even) {
    margin-top: -30px;
}

@media (max-width: 1024px) {

    /* mission & vission page */
    .mission-vision-card-row {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .mission-vision-card {
        width: 380px;
        height: 380px;
        margin: 0 auto 30px;
    }

    .timeline-connector,
    .timeline-arrow {
        display: none;
    }

    .corevalues-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        justify-items: center;
        max-width: 900px;
        margin: 0 auto;
        width: 100%;
    }

    .corevalue-hex {
        width: 270px;
        aspect-ratio: 1 / 1;
    }

    .mv-hero-section {
        padding: 50px 20px;
    }

    .mv-hero-section-left {
        text-align: center;
        margin-bottom: 30px;
    }

    .mv-hero-section-right {
        justify-content: center;
    }

    .image-cluster {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        position: relative;
        height: 400px;
    }

    .main-image {
        width: 215px;
        height: 260px;
        top: 77px !important;
        left: 51% !important;
        transform: translateX(-50%) !important;
    }

    .left-image {
        width: 200px;
        height: 240px;
        top: 184px !important;
        left: -2% !important;
    }

    .right-image {
        width: 200px;
        height: 240px;
        bottom: 174px !important;
        right: -4% !important;
    }

    .corevalue-hex:nth-child(even) {
        margin-top: 0px;
    }
}

@media (max-width: 576px) {

    /* mission & vission page */
    .corevalues-section {
        padding: 20px 20px;
    }

    .mission-vision-card {
        padding: 20px;
    }

    .corevalues-row {
        grid-template-columns: 1fr;
    }

    .corevalue-hex {
        width: 100%;
        max-width: 270px;
    }

    .mv-hero-section {
        padding: 50px 15px;
    }

    .mv-hero-section-left p {
        font-size: 1rem;
        padding: 0 10px;
    }


    .mission::before,
    .mission::after,
    .vision::before,
    .vision::after {
        display: none;
    }

    .corevalue-hex h3 {
        font-size: 1.1rem;
    }

    .corevalue-hex p {
        font-size: 0.9rem;
    }

    .mv-hero-section-right {
        justify-content: center;
    }

    .image-cluster {
        width: 50%;
        max-width: 250px;
        margin: 0 auto;
        position: relative;
        height: 200px;
    }

    .main-image {
        width: 215px;
        height: 260px;
        top: 58px !important;
        left: 51% !important;
        transform: translateX(-50%) !important;
    }

    .left-image {
        width: 200px;
        height: 240px;
        top: 184px !important;
        left: -42% !important;
    }

    .right-image {
        width: 200px;
        height: 240px;
        bottom: -27px !important;
        right: -41% !important;

    }
}