.jumbotron {
    background-color: #000;
    color: #fff;
    padding: 4rem 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.jumbotron-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}
.jumbotron h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.jumbotron p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
.jumbotron ul {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.jumbotron-image {
    max-width: 100%;
    height: auto;
}
.yellow-bar {
    height: 5px;
    background-color: #ffc107;
    width: 50px;
    margin-bottom: 1rem;
}
.carousel-control-prev, .carousel-control-next {
    width: 5%;
}
.carousel-indicators {
    bottom: -50px;
}
.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffc107;
}

.main-site-btn {
    background-color: #ffc107;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}
.main-site-btn:hover {
    background-color: #ffca2c;
    color: #000;
}
.navbar {
    padding: 0;
}
.bg-light {
    background-color: #ede9e3!important;
}

.caption {
    border-left: 6px solid #ffc107 !important;
}

.side-bk {
    background-color: #f9f6ef;
}

.chapter-nav .nav-link {
    color: #333;
    padding: 0.5rem 1rem;
}
.chapter-nav .nav-link:hover {
    background-color: #f8f9fa;
}
.chapter-nav .nav-link[data-bs-toggle="collapse"]::after {
    content: "\25BC";
    float: right;
    transition: transform 0.3s;
}
.chapter-nav .nav-link[data-bs-toggle="collapse"][aria-expanded="true"]::after {
    transform: rotate(-180deg);
}
.chapter-nav .sub-menu {
    padding-left: 1.5rem;
}
.bottom-nav {
    background-color: #fffbef;
    padding: 10px 0;
}
.bottom-nav a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}
.bottom-nav .next {
    text-align: right;
}


.chapter-nav .nav-link {
    color: #333;
    padding: 0.5rem 1rem;
}
.chapter-nav .nav-link:hover {
    background-color: #f8f9fa;
}
.chapter-nav .nav-link[data-bs-toggle="collapse"]::after {
    content: "\25BC";
    float: right;
    transition: transform 0.3s;
}
.chapter-nav .nav-link[data-bs-toggle="collapse"][aria-expanded="true"]::after {
    transform: rotate(-180deg);
}
.chapter-nav .sub-menu {
    padding-left: 1.5rem;
}
.chapter-nav .nav-link.active {
    font-weight: bold;
    color: #2d2200;
    border-left: 3px solid #007bff;
    background-color: #f8f9fa;
}

/* Update link styles */
a {
    color: #000; /* Black text color */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make text bold */
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

a:hover {
    color: #ffc107; /* Yellow color on hover, matching the design accent */
}

/* Update primary button style */
.btn-primary {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
    font-weight: bold;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #ffca2c;
    border-color: #ffca2c;
    color: #000;
}

/* Ensure consistency in navigation */
.nav-link {
    color: #000;
}

.nav-link:hover {
    color: #ffc107;
}

/* Update active state for navigation items */
.nav-link.active {
    color: #ffc107;
    background-color: transparent;
}

/* Ensure chapter navigation consistency */
.chapter-nav a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.chapter-nav a:hover {
    color: #ffc107;
}

.chapter-nav a.active {
    color: #ffc107;
    border-left-color: #ffc107;
}

/* Update bottom navigation */
.bottom-nav a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.bottom-nav a:hover {
    color: #ffc107;
}

h3 {
    font-size: 1.5em;
}

.nav-item {
    margin-top: 0.8rem;
}

h1,h2,h3,h4,h5,h6 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Update btn-link style to match website brand */
.btn-link {
    color: #000;
    text-decoration: none;
    font-weight: bold;
    padding: 0.375rem 0.75rem;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.btn-link:hover, .btn-link:focus {
    color: #ffc107;
    text-decoration: none;
    background-color: rgba(255, 193, 7, 0.1); /* Light yellow background on hover */
}

/* Ensure consistency with btn-primary for size and shape if needed */
.btn-link {
    display: inline-block;
    border-radius: 0.25rem;
}

/* If you want to remove the button-like appearance entirely, use this instead:
.btn-link {
    padding: 0;
    border: none;
    background: none;
    color: #000;
    font-weight: bold;
    transition: color 0.3s ease;
}

.btn-link:hover, .btn-link:focus {
    color: #ffc107;
    text-decoration: none;
}
*/

p {
    text-align: justify;
}

.table thead th {
    background-color: #fff3cd;
    color: black;
}

.question {
    margin-bottom: 40px;
}
.sortable-list {
    list-style-type: none;
    padding: 0;
}
.sortable-item {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    margin: 5px 0;
    cursor: move;
    border-radius: 5px;
    transition: background-color 0.2s;
}
.sortable-item:hover {
    background-color: #d6d8db;
}
.ghost {
    opacity: 0.5;
}
.ranking-info {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 10px;
}
.word-count {
    font-size: 0.8em;
    color: #6c757d;
    text-align: right;
    margin-top: 5px;
}