body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    height: auto;
    font-family: 'Outfit', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}


.hero-section {
    width: 100%;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4%;
    opacity: 0;
    transition: opacity 1.5s ease;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/nsbm.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 40%,
            rgba(255, 255, 255, 0.40) 70%,
            rgba(255, 255, 255, 0.10) 100%);
}

body.image-loaded .hero-bg {
    transform: scale(1);
}

body.image-loaded .hero-section {
    opacity: 1;
}


.hero-section .container {
    width: 90%;
    max-width: 800px;
    z-index: 10;
    text-align: left;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.hero-section .container.hero-content-wrapper {
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin-top: 200px;
}

.hero-left {
    flex: 1;
    max-width: 500px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

body.image-loaded .hero-right {
    opacity: 1;
    transform: translateY(0);
}

.hero-nsrsit-banner {
    width: 100%;
    max-width: 380px;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    display: block;
}

body.image-loaded .hero-section .container {
    opacity: 1;
    transform: translateY(0);
}


.hero-section h1 {
    font-size: clamp(3rem, 7vw, 8rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    max-width: 800px;
    text-align: left;
}

.highlight {
    color: #0054A6;
    display: block;
    margin-bottom: 0.5rem;
    text-align: left;
}

.green-text {
    color: #39B54A;
}

.hero-section .mentorship-tag {
    font-size: clamp(0.85rem, 1.5vw, 1.3rem);
    font-weight: 500;
    color: #39B54A;
    margin-top: 3rem;
    letter-spacing: 4px;
    word-spacing: 12px;
    text-transform: uppercase;
    text-align: left;
    padding-left: 20px;
}

.hero-section .collab-tag {
    margin-top: 1.2rem;
    color: #444;
    text-transform: none;
    letter-spacing: 1px;
}

.sandip-red {
    color: #ed1c24; /* A nice shade of red */
    font-weight: 700;
}


.firefly {
    z-index: 1 !important;
}


@media (max-width: 992px) {
    .hero-section {
        padding-top: 100px;
        min-height: auto;
    }

    .hero-bg::after {
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0.95) 0%,
                rgba(255, 255, 255, 0.85) 50%,
                rgba(255, 255, 255, 0.40) 100%);
    }

    .hero-section .container.hero-content-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
        text-align: center;
        margin: 90px auto 0;
        padding-bottom: 60px;
        width: 100%;
    }

    .hero-left, .hero-right {
        flex: none;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-section h1 {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    .hero-section .mentorship-tag {
        text-align: center;
        padding: 0;
        margin-top: 1.5rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
    }

    .hero-section h1 {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .hero-nsrsit-logo {
        height: 100px;
    }

    .hero-nsrsit-banner {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-section .mentorship-tag {
        font-size: clamp(0.85rem, 4vw, 1.1rem);
        letter-spacing: 3px;
        word-spacing: 6px;
    }

    .hero-section .collab-tag {
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: clamp(1.8rem, 12vw, 2.8rem);
    }

    .hero-nsrsit-logo {
        height: 80px;
    }

    .hero-nsrsit-banner {
        max-width: 280px;
    }
}

.hero-nsrsit-logo {

    height: auto;
    height: clamp(8rem, 8vw, 6rem);
    margin-bottom: 0.5rem;
    display: block;
}

@media (max-width: 768px) {
    .hero-nsrsit-logo {
        height: clamp(3rem, 11vw, 5rem);
        margin: 0 auto;
    }
}

/* ===== HERO BANNER INTERACTIVE STYLES ===== */
.hero-banner-clickable {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hero-banner-clickable:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

/* ===== LIGHTBOX MODAL STYLES ===== */
.hero-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1100px;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #ffffff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover {
    color: #39B54A;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
    }
    
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 40px;
    }
}