.curricular-section {
    position: relative;
    height: 110vh;
    /* width: 100%;
    max-width: 900px; */
    /* height: 700px; */
}

.cur-imgs {
    position: absolute;
    top: 1%;
    width: 96%;
    height: 96%;
    padding: 10px;
    margin: auto;
    left: 2%;
    display: flex;
    justify-content: center;
    margin: 0px;
}

.curricular-section .curri-img {
    height: 100%;
    width: 100%;
}

.curricular-section .curri-img img {
    height: 100%;
    width: 100%;
}

.center-content {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 0;
}

.center-content h1 {
    font-size: 48px;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.center-content .cta-button {
    background-color: var(--blue);
    color: white;
    padding: 12px 28px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 32px;
    font-weight: 400;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Merriweather', serif;
    letter-spacing: 2px;
}

.center-content .cta-button:hover {
    background-color: #1e3a52;
}

.activity-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.activity-item:hover {
    transform: scale(1.05);
}

.activity-item:hover .popup {
    display: block;
}

.activity-icon {
    width: 50vh;
    height: 32vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.activity-label {
    font-size: 28px;
    font-weight: 600;
    color: var(--blue);
    text-align: center;
    max-width: max-content;
    font-family: 'Lato';
    letter-spacing: 1px;
}

.popup {
    display: none;
    position: absolute;
    background-color: #2c5282;
    color: white;
    border-radius: 30px;
    padding: 40px 40px;
    font-size: 14px;
    line-height: 1.6;
    width: 560px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 8px solid var(--secondary-color);
    z-index: 100;
    animation: fadeIn 0.3s ease;
    text-align: left;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Position adjustments for popups */
.activity-item.top-left .popup {
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}


.activity-item.top-right .popup {
    bottom: 150px;
    right: 50%;
    transform: translateX(50%);
}


.activity-item.bottom-left .popup {
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
}


.activity-item.bottom-center .popup {
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
}


.activity-item.bottom-right .popup {
    top: 150px;
    right: 50%;
    transform: translateX(50%);
}


/* Positioning for 5 items in circular layout */
.activity-item.top-left {
    top: 5%;
    left: 5%;
}

.activity-item.top-right {
    top: 5%;
    right: 5%;
}

.activity-item.bottom-left {
    bottom: 5%;
    left: 3%;
}

.activity-item.bottom-center {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.activity-item.bottom-right {
    bottom: 5%;
    right: 3%;
}

.curricular-section .heading-title {
    font-size: 6.6vw !important;
    margin-bottom: 0px;
    font-family: 'Merriweather', serif;
    letter-spacing: 3px;
    line-height: 0;
}

.popup-title {
    margin: 0 0 18px;
    color: #f0b24a;
    font-family: inherit;
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 400;
    font-family: 'Merriweather';
    letter-spacing: 1px;
}

.popup-text {
    margin: 0 0 18px;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Merriweather', serif;
    line-height: 1.85 !important;
}

@media (max-width: 768px) {
    .curricular-section {
        height: auto;
        /* min-height: 900px; */
    }

    .center-content h1 {
        font-size: 32px;
    }

    .activity-icon {
        width: 100px;
        height: 100px;
    }

    .activity-label {
        font-size: 14px;
    }

    .popup {
        width: 240px;
        font-size: 13px;
    }

    .activity-item.top-left {
        top: 50px;
        left: 10%;
    }

    .activity-item.top-right {
        top: 50px;
        right: 10%;
    }

    .activity-item.bottom-left {
        bottom: 50px;
        left: 10%;
    }

    .activity-item.bottom-center {
        bottom: 50px;
        left: 50%;
    }

    .activity-item.bottom-right {
        bottom: 50px;
        right: 10%;
    }
}




.absolute {
    position: unset;
}

.mumbai-career-page .banner {
    min-height: auto;
    height: 100vh;
}

@media (max-width: 991px) {
    .mumbai-career-page .gallery-section {
        padding: 20px;
    }

}

@media (max-width: 768px) {
    .mumbai-career-page .gallery-grid .Card {
        height: 180px !important;
    }

    .mumbai-career-page .gallery-grid,
    .mumbai-career-page .right-cards {
        gap: 3rem;
    }

    @keyframes localDrawLine_gallery {
        0% {
            width: 1px;
            height: 0;
        }

        50% {
            width: 1px;
            height: 100%;
        }

        100% {
            width: 106%;
            height: 106%;
        }
    }
    
}

@media (max-width:380px) {
    #career-cns-highlights .cns-career-panel {
        height: 70vh;
    }
}