/* You CSS goes in here */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f4f7fb;
    text-align: center;
    overflow: hidden;
}

/* ===== HEADER ===== */
.header-container {
    margin-top: 20px;
}

.header-container h2 {
    font-size: 26px;
    color: #1e3a8a;
}

.underline {
    width: 250px;
    height: 4px;
    background-color: #ff7a00;
    margin: 10px auto 20px auto;
    border-radius: 2px;
}

/* ===== VERTICAL NAVIGATION ===== */
.vertical-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 40px;
}

.nav-item {
    text-align: center;
}

.cta-text {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.play-btn {
    background-color: #1e3a8a;
    color: white;
    border: none;
    padding: 10px 22px;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.play-btn:hover {
    background-color: #ff7a00;
    transform: scale(1.05);
}

/* ===== VIDEO OVERLAY ===== */
.video-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: flex-start;   /* changed from center */
    padding-top: 20px;         /* space from top */
    overflow-y: auto;          /* allow scrolling */
    z-index: 1000;
}

/* ===== VIDEO CARD ===== */
.video-card {
    background-color: #ffffff;
    width: 85%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.video-card h3 {
    margin-bottom: 15px;
    color: #1e3a8a;
}

.video-card video {
    width: 100%;
    height: auto;
    /* margin-bottom: 15px;
    border-radius: 6px; */
}

/* ===== DESCRIPTION BOX ===== */
.description-box {
    text-align: justify;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    background-color: #f8fafc;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #ff7a00;
}

/* ===== CLOSE BUTTON ===== */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: 0.3s;
}

.close-btn:hover {
    color: #ff0000;
}
