/* --- Base Styles (Keep As Is) --- */

.video-header-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.video-background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding: 20px;
}

.main-title-text {
    color: white;
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
    margin-bottom: 0.5rem;
}

.sub-title-text {
    color: white !important;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}


/* --- General Header Styles --- */
.navbar-nav .nav-link {
    padding-right: .8rem;
    padding-left: .8rem;
    white-space: nowrap;
    font-size: .9rem;
}

.dropdown-item {
    font-size: 0.8rem;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    margin-top: 0;
}

/* --- General Spacing and Layout --- */
.topCulture, .topInterview, .topData, .topJobList {
    margin-bottom: 60px;
}

.interview-container {
    max-width: 1400px;
}


/* === INTERVIEW CARD - FINAL & WORKING SOLUTION (v1.9) === */

/* 1. The main container. Positioning and hover context. */
.interviewImage {
    position: relative !important;
    height: 100%;
    overflow: hidden;
}

/* 2. The background image. */
.interviewImage .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

/* 3. The overlay link. Hidden by default using opacity and pointer-events. */
.interviewImage .interview-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    transition: opacity 0.35s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding-bottom: 20px !important;
    text-decoration: none !important;
}

/* 4. On hover, make the overlay visible and clickable. */
.interviewImage:hover .interview-overlay {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* 5. Also on hover, zoom the background image for a dynamic effect. */
.interviewImage:hover .img-fluid {
    transform: scale(1.1);
}

/* 6. Styles for the content within the overlay. */
.interview-overlay h5 {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7) !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-weight: bold !important;
}

.interview-overlay .interview-button {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* === ABSOLUTE FINAL FIX FOR MODAL VISIBILITY === */
/* This rule overrides any conflicting styles from app.min.css that might be hiding the modal. */
.modal.fade.show {
    display: block !important;
}

.cardInterview .card-body {
    padding: 1.3rem 1.6rem;
}

.cardInterview .card-body .year {
    font-size: 1.5rem;
    font-weight: bold;
}

.cardInterview .card-body h5 {
    font-size: 1.4rem;
}

.cardInterview .card-body .engName {
    font-size: 1.3rem;
}
