.mv-hero-section {
    background: #e0f2fe;
    /* min-height: 70vh; */
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.mv-hero-section-left p {
    font-size: 1rem;
    color: var(--gray);
    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;
    text-align: center;
    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 {
    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 {
    font-size: 1rem;
    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-row {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: stretch;
}

.corevalue-hex {
    position: relative;
    width: 300px;
    height: 300px;
    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;
}

.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;
}

.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 h5 {
    padding: 5px 0;
    margin-bottom: 5px;
    font-weight: 600;
    word-break: break-word;
}

.corevalue-hex p {
    margin-bottom: 20px;
    padding: 0 10px;
    font-size: 1rem;
    color: var(--gray);
}

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

.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-vision-card-row {
        align-items: center;
        gap: 0px;
    }

    .mission-vision-card {
        width: 380px;
        height: 380px;
        margin: 13px;
    }

    .corevalues-row {
        display: grid;
        grid-template-columns: repeat(3, 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 {
        text-align: start;
    }

    .mv-hero-section-left {
        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;
    }

    .timeline-connector {
        width: 54rem;
    }

    .timeline-connector::before {
        left: 7px;
    }

    .timeline-connector::after {
        right: 7px;
        top: 6px;
    }
}

@media(max-width: 992px) {
    .mv-hero-section {
        text-align: center;
    }

    
    .corevalues-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
      
    }

    .timeline-connector {
        display: none;
    }

    .timeline-connector::before {
        display: none;
    }

    .timeline-connector::after {
        display: none;
    }

    .timeline-arrow {
        display: none;
    }
}

@media (max-width: 576px) {
    .mission-vision-card {
        padding: 20px;
        width: 315px;
        height: 315px;
    }

    .mission-vision-image {
        margin-bottom: 10px;
    }

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

    .mission-vision-card .title {
        font-size: 12px;
    }

    .mission-vision-card p {
        font-size: 0.95rem;
        line-height: 1.4rem;
        color: var(--gray);
        padding: 5px 10px;
    }

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

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

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


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

    .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;

    }
}