@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Braah+One&family=Be+Vietnam+Pro:wght@400;600&display=swap');

/* 🔥 SCOPED VARIABLES (Elementor Safe) */
.nv-hero-section {
    --bg-color: #121212; 
    --primary-blue: #1C2E5A; 
    --primary-gold: #c2911c;
    --hover-gold: #a97c14;
    --text-light: #ffffff;
    --quote-bg: rgba(18, 18, 18, 0.75);

    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--bg-color);
    font-family: 'Inter', sans-serif;
}

/* Reset inside widget */
.nv-hero-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- SLIDES --- */
.nv-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.nv-slide.active {
    opacity: 1;
    z-index: 2;
}

/* --- BACKGROUND FIXED --- */
.nv-bg-gradient-mixer {
    position: absolute;
    inset: 0;
    width: 100%; /* 🔥 FIXED */
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-color);
    z-index: 1;
}

/* 🔥 IMAGE FIX (IMPORTANT) */
.nv-bg-gradient-mixer > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient overlays */
.nv-bg-gradient-mixer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        var(--bg-color) 0%, 
        var(--bg-color) 15%, 
        rgba(28, 46, 90, 0.75) 100%
    );
    z-index: 2;
}

.nv-bg-gradient-mixer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        var(--bg-color) 0%, 
        var(--bg-color) 20%, 
        rgba(28, 46, 90, 0.4) 60%, 
        var(--primary-blue) 100%
    );
    mix-blend-mode: hard-light;
    opacity: 0.8;
    z-index: 3;
}

/* --- QUOTE --- */
.nv-quote-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 45vh;
    padding-left: 5%;
    padding-right: 5%;
    z-index: 5;
}

.quote-box {
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-left: 4px solid var(--primary-gold);
    background: var(--quote-bg);
    backdrop-filter: blur(12px);
    border-radius: 0 16px 16px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.quote-text {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.quote-author {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 13px;
}

/* --- PERSON --- */
.nv-nidhi-group {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
}

.nv-person {
    height: 85vh;
    max-height: 900px;
    object-fit: contain;
}

/* Labels */
.nv-hero-labels {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.role-text {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    color: var(--text-light);
    font-size: 15px;
    letter-spacing: 3px;
}

.name-text {
    font-family: 'Braah One', sans-serif;
    font-size: clamp(40px, 3vw, 72px);
    color: var(--text-light);
}

/* 🔥 GOLD COLOR FIX */
.name-text .gold {
    color: var(--primary-gold);
}

/* --- SOCIAL --- */
.nv-social-links {
    position: absolute;
    bottom: 30px;
    right: 5%;
    display: flex;
    gap: 20px;
    z-index: 20;
}

.nv-social-links a {
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.nv-social-links a:hover {
    background: var(--primary-gold);
    color: #000;
}

/* --- MOBILE --- */
@media (max-width: 1024px) {

    .nv-bg-gradient-mixer {
        width: 100%;
    }

    .nv-quote-container {
        width: 100%;
        padding-top: 100px;
    }

    .quote-box {
        width: 80%;
        margin: 0 auto;
        padding: 25px 20px;
        text-align: center;
        border-left: none;
        border-top: 3px solid var(--primary-gold);
        border-radius: 0 0 12px 12px;
    }

    .quote-text {
        font-size: 16px;
    }

    .nv-nidhi-group {
        width: 100%;
        height: 60vh;
    }

    .nv-person {
        height: 55vh;
        width: 100%;
    }

    .name-text {
        font-size: 32px;
    }

    .role-text {
        font-size: 10px;
    }

    .nv-social-links {
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        flex-direction: column;
    }
}