/* Font sizing */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    font-family: 'IBM Plex Sans', sans-serif;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Focus outlines */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Body */
body {
    /*margin-bottom: 60px;*/
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Navbar positioning context */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030; /* Keeps navbar on top of other content */
}

.main-content {
    padding-top: 50px; /* Adjust this depending on the height of your navbar */
}

/* Full-width dropdown menu overlay */
.navbar .dropdown.position-static .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100% !important;
    z-index: 2000;
    margin: 0;
}

/* Ensure nav text uses IBM Plex Sans */
.navbar .nav-link,
.navbar .dropdown-toggle,
.dropdown-menu,
footer,
h1, h2, h3, h4, h5, h6,
p,
button,
input,
textarea {
    font-family: inherit;
}

/*video banner start*/
.video-banner {
    position: relative;
    width: 100%;
    height: 336px;
    overflow: hidden;
    /*margin-top: 40px;*/ /* Adds 80px space above the banner */
}

    .video-banner video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Align items to the start (left) */
    color: white;
    text-align: left; /* Align text to the left */
    padding: 0 2rem; /* Add horizontal padding as needed */
    background: rgba(0, 0, 0, 0.4); /* Optional: semi-transparent overlay for better readability */
}

.welcome-subheading {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background-color: rgba(96, 96, 96, 0.6); /* Semi-transparent background */
    color: white;
    padding: 0.5rem 1rem;
    display: inline-block;
    text-align: left; /* Align text to the left */
    border-radius: 4px;
}

.main-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.description {
    font-size: 1rem;
    max-width: 800px;
    text-align: left; /* Align text to the left */
}



/*video banner end*/


.toc-container {
    display: flex;
    margin-top: 2rem;
}

.toc-sidebar {
    width: 250px;
    position: sticky;
    top: 96px;
    height: fit-content;
    background-color: #f8f9fa;
    padding: 1rem;
    border-right: 1px solid #dee2e6;
    font-family: 'IBM Plex Sans', sans-serif;
}

    .toc-sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .toc-sidebar li {
        margin-bottom: 0.75rem;
    }

    .toc-sidebar a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
    }

        .toc-sidebar a:hover {
            color: #00b4a9;
        }

.toc-content {
    flex: 1;
    padding-left: 2rem;
    font-family: 'IBM Plex Sans', sans-serif;
}
