body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    max-width: 900px;
    margin: auto;
    line-height: 1.6;
    position: relative;
}

.header {
    text-align: center;
    /* padding: 40px 20px; */
    top: 20px;
    position: relative;
}

.header img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* toc start */
.toc {
    position: fixed;
    top: 50px;
    right: 20px;
    width: 250px;
    background: #f6f6f6;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.9em;
    overflow-y: auto;
    max-height: 80vh;
    transition: transform 0.3s ease-in-out;
}

.toc h3 {
    margin: 0 0 10px;
    font-size: 1.1em;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.toc a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 4px 0;
}

.toc ul {
    list-style: none;
    padding-left: 0;
}

.toc ul ul {
    padding-left: 15px;
}

.toc a:hover,
.toc .active {
    color: #007bff;
    font-weight: bold;
}

h2,
h3 {
    scroll-margin-top: 80px;
}

.toc-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2748fee3;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1002;
}

/* toc end */

/* page start start */
.page-start {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* page start end */

/* default topic start */
.default-topic-text {
    font-family: "Inter", "Arial", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #373737;

}

.default-headline-text {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.3;
    color: #444444;
}

h3.default-headline-text {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.3;
    color: #444444;
}

/* default topic end */


/* video handel start */
.vid_content {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding-top: 56.25%;
}

.vid_content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* video handel end */

/* topic image container start */
.topic-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    /* max-width: 80%; */
    /* object-fit: contain; */
    position: relative;
}

.topic-image-container img {
    max-width: 100%;
    /* Limit the width */
    max-height: 400px;
    /* Limit the height */
    object-fit: contain;
    /* Maintain aspect ratio */
}

/* topic image container end */

/* modern hyperlink start */
.stylish-link {
    text-decoration: none;
    /* font-weight: bold; */
    color: #00499c;
    position: relative;
    transition: color 0.3s ease-in-out;
}

.stylish-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #0078ff;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.stylish-link:hover {
    color: #0056b3;
}

.stylish-link:hover::after {
    transform: scaleX(1);
}

/* modern hyperlink end */

/* carousel start */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #0f1010;
    transform: scale(1.2); 
}
/* carousel stop */


/* dark mode start */

/* toc dark mode start */
.dark-mode .toc {
    background: #313131;
}

.dark-mode .toc a {
    color: #eeeeee;
}

.dark-mode .toc a:hover,
.dark-mode .toc .active {
    color: #0068d8;
    font-weight: bold;
}

/* toc dark mode end */

/* default topic start */
.dark-mode .default-topic-text {
    color: #eeeeee;

}

.dark-mode .default-headline-text {
    color: #eeeeee;
}

/* default topic end */

/* dark mode end */
@media (max-width: 1350px) {

    /* toc start */
    .toc {
        transform: translateX(120%);
        right: 0;
        top: 50px;
        width: 250px;
        height: 70vh;
        background: white;
        padding: 15px;
        z-index: 1000;
        box-shadow: -3px 0px 10px rgba(0, 0, 0, 0.1);
    }

    .toc.show {
        transform: translateX(0);
    }

    .toc-toggle {
        display: block;
    }

    /* toc end */

}


@media (max-width: 768px) {

    /* page start start */
    .page-start {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* page start end */
}

pre {
    padding: 10px;
    border-radius: 6px;
    background: #282c34;
    color: white;
    overflow-x: auto;
}