html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    padding-top: 60px; /* Adjust based on your navbar height */
}

.container {
    flex: 1;
}

footer {
    background-color: #f8f9fa;
    color: #212529;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
    bottom: 0;
}

/* Style for the Help Bar */
.help-bar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #f1f1f1;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding-left: 0px; /* Make sure padding doesn't affect the width */
    padding-right: 0px; 
    box-sizing: border-box; /* Ensure padding doesn't increase width */
}


.help-bar h2 {
    margin: 0;
    padding-left: 20px;
    padding-right: 20px; 
    line-height: 1.6;
}

.help-bar p {
    margin-top: 20px;
    padding-left: 20px;
    padding-right: 20px; 
    line-height: 1.6;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    cursor: pointer;
}

/* #help-btn {
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
} */

#help-btn:hover {
    background-color: #45a049;
}

/* CSS file (e.g., styles.css) */
#benefits-table {
    border: 3px solid #000;
}

#benefits-table th, #benefits-table td {
    border-right: 2px solid #000;
    vertical-align: top;
}

#benefits-table .table-dark {
    font-weight: bold;
}

#benefits-table tr {
    border-top: 2px solid #000;
}

#benefits-table tr:nth-child(odd) {
    background-color: #e9f5ff;
}

#benefits-table td.rowspan, #benefits-table td.rowspan-1 {
    background-color: #d1e7f5;
}

.btn-primary, .btn-danger {
    margin: 2px;
}

.video-background {
    position: fixed; /* Fixes the position to stay in the background */
    top: 0;
    left: 0;
    height: 100vh; /* Full height of the viewport */
    width: 100vw; /* Full width of the viewport */
    overflow: hidden;
    z-index: -1; /* Places it behind other content */
}

video {
    min-width: 100%; /* Ensures it covers the width */
    min-height: 100%; /* Ensures it covers the height */
    height: auto;
    width: auto;
    position: absolute; /* Allows for better control of positioning */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the video */
    object-fit: cover; /* Makes the video cover the area without distortion */
}
/* Target only nav links inside #pills-tab */
#pills-tab .nav-link {
    position: relative; /* Ensure the close button is positioned relative to the tab */
    /*padding-right: 25px; /* Add extra padding to make space for the close button */
}

#pills-tab .close-tab {
    position: absolute;
    /*right: 5px;        /* Position it to the right inside the pill */
    /*top: 50%;          /* Center vertically */
    transform: translate(-50%, -50%); /* Correct vertical alignment */    
    color: red;
    cursor: pointer;
    font-size: 1em;  /* Adjust the size as needed */
    font-weight: bold;
}

/* Optional: Add hover effect to the close button */
#pills-tab .close-tab:hover {
    color: #bd2130; /* Darker red on hover */
}

.close-tab {
    margin-left: 5px;  /* Adjust spacing as necessary */
    margin-right: 5px;
    color: red;         /* Change color as necessary */
    cursor: pointer;    /* Change cursor on hover */
    font-weight: bold;  /* Make the close button bold */
    /* font-size: 1.2em; */
}

/* Optional: Add hover effect to the close button */
.close-tab:hover {
    color: #bd2130; /* Darker red on hover */
}

.question {
    opacity: 0.5; /* Set muted opacity */
    transition: all 0.3s ease; /* Smooth transition for opacity and font size */
}

.question.active {
    opacity: 1; /* Full opacity for the active question */
    font-size: 1.5em; /* Enlarge active question */
}

/* Apply glassmorphism effect */
.glass-div {
    background: rgba(195, 195, 195, 0.66);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(11.6px);
    -webkit-backdrop-filter: blur(11.6px);
    border: 3px solid rgba(195, 195, 195, 0.86);
    padding: 20px; /* Optional padding for spacing inside the div */
}

/* Custom Dropdown Style */
.custom-dropdown {
    display: none; /* Hidden by default */
    position: absolute;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ddd;
    padding: 0.5rem;
    border-radius: 0.25rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    opacity: 0; /* Set initial opacity for fade effect */
    transition: opacity 0.3s ease; /* Fade-in/out effect */
}

.custom-dropdown.show {
    display: block;
    opacity: 1;
}