/* Header/Footer above video */
header, footer {
    position: relative;
    z-index: 10;
}

/* ========== HERO (VIDEO + IMAGE) ========== */
.video-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Common base for hero media */
.video-bg {
    width: 100%;
    height: 50vh;              /* desktop height */
    object-fit: cover;
    filter: brightness(60%);
    display: block;
}

/* Default desktop behaviour: video on, image off */
.hero-video { 
    display: block;
}
.hero-image { 
    display: none;
}

/* Heading text overlay box  (MOBILE DEFAULT / GENERAL) */
.video-overlay {
    position: absolute;
    top: 75%;                      /* 👈 thoda niche */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0.65);
    padding: 20px 26px;
    border-radius: 16px;
    width: 90%;                       /* 👈 thoda wide, almost full */
    max-width: 520px;
}

.video-overlay h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.video-overlay p {
    font-size: 0.95rem;
    margin: 0;
}

/* Desktop pe overlay thoda upar + fixed width */
@media (min-width: 992px) {
    .video-overlay {
        top: 75%;
        width: auto;
        max-width: 420px;
        padding: 20px 30px;
    }

    .video-overlay h3 {
        font-size: 2rem;
    }

    .video-overlay p {
        font-size: 1rem;
    }
}

/* Content below video */
.content-wrapper {
    margin-top: 30px;
    padding-bottom: 50px;
}

/* Glass-style cards with fade-in animation */
.card-glass {
    background: rgba(212, 170, 45, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #090909ff;
    transition: 0.5s ease, transform 0.3s ease;
    opacity: 0; /* start invisible */
    transform: translateY(20px); /* initial position */
}

.card-glass.show {
    opacity: 1;
    transform: translateY(0);
}

.card-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 30px rgba(0,0,0,0.4);
}

a.card-glass {
    text-decoration: none;
}

h5.card-title {
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
}

/* Optional: image in card */
.card-img-top {
    border-radius: 12px 12px 0 0;
    object-fit: cover;
    height: 150px;
}

/* ===== BREADCRUMB STYLE (agar future me use karna ho) ===== */
.breadcrumb-bar {
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.breadcrumb {
    background: transparent;
    margin: 0;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #2f58eb;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #000;
    font-weight: 600;
}
