/* Reset Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font Face Declarations */
/* [Your font-face declarations remain unchanged] */

/* Root Variables */
:root {
    --primary-color: #76b900;
    /* Brand primary color */
    --secondary-color: #5f9500;
    /* Brand secondary color */
    --text-color: #000000;
    /* Change to black */
    --background-color: #FFFFFF;
    /* Change to white */
    --font-family: 'NVIDIASans', sans-serif;
}

/* Global Styles */
html {
    background-color: #FFFFFF !important;
}

body {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 20px;
    color: var(--text-color);
    background-color: #FFFFFF !important;
    line-height: 1.6;
    margin: 0;
}

/* Main Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1em;
}

/* Headings */
h1 {
    font-size: 48px;
    font-weight: 700;
    color: #76b900;
    line-height: 1.5em;
    /* Adjusted 60px to 1.5em*/
    margin-top: 0;
    /* Adjusted */
    margin-bottom: 0.5em;
    /* Reduced */
    text-align: center;
}

h2 {
    font-size: 40px;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
    margin-top: -20px;
    /* Reduced from 1.5em */
    margin-bottom: 0.5em;
    /* Reduced */
    line-height: 1.3;
}

h3 {
    font-size: 30px;
    font-weight: 300;
    color: var(--text-color);
    text-align: center;
    margin-top: 0.75em;
    /* Reduced from 1em */
    margin-bottom: 0.5em;
    /* Reduced */
    line-height: 1.3;
}

h5 {
    font-size: 18px;
    font-weight: 300;
    color: #666;
    text-align: center;
    margin-bottom: 0.5em;
    line-height: 1.4;
}

/* Paragraphs */
p {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
    text-align: justify;
    margin-bottom: 0.5em;
    /* Reduced from 1.5em */
}

/* Links */
a:link,
a:visited {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.7em 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
    background-color: var(--primary-color);
}

/* Introduction Section Styles */
.introduction {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.5em 0em;
    /* Reduced padding-bottom */
    background-color: #FFFFFF !important;
    color: var(--text-color);
    text-align: center;
}

/* Section Styles */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.5em 0em;
    /* Reduced from 2em to 0.5em */
    background-color: #FFFFFF !important;
    color: var(--text-color);
    text-align: left;
}

/* Solutions Sections */
#solutions\ 1,
#solutions\ 2,
#solutions\ 3,
#solutions\ 4,
#solutions\ 5,
#solutions\ 6,
#solutions\ 7,
#solutions\ 8,
#solutions\ 9,
#solutions\ 10 {
    max-width: 1100px;
    width: 100px;
    margin: 0 auto;
    padding: 0.5em 0em;
    /* Reduced from 2em to 0.5em */
    /* Consistent padding */
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: left;
}

/* Solutions Sections - Light Grey Treatment
#solutions-3,
#solutions-5 {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0.5em 0;
    background-color: #f0f0f0;
    color: var(--text-color);
    text-align: left;
}*/

.subsection {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.2em 0;
    /* Smaller padding than sections */
    color: var(--text-color);
    text-align: left;
}

h4 {
    font-size: 24px;
    /* Smaller than h3's 30px */
    font-weight: 300;
    color: var(--text-color);
    text-align: center;
    margin: 1.5em 0 0.6em 0;
    line-height: 1.3;
}

/* Hero Section */
.hero {
    background: none;
    background-size: cover;
    height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    position: relative;
    width: 100%;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    padding: 0 1em;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 55px;
    font-weight: 300;
    margin-bottom: 0.5em;
}

.hero p {
    font-size: 20px;
    margin-bottom: 0.5 em;
    text-align: justify;
    color: #f0f0f0;
}

.article-link {
    font-size: 20px;
    color: #76b900;
    /* link color similar to bootstrap default */
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
    margin-right: 5px;
    /* spacing between links */
    padding-bottom: 2px;
}

.article-link:hover {
    text-decoration: underline;
    /* add underline on hover for better UX */
}

/* Common styles for both slideshow gallery */
.slideshow-container {
    position: relative;
    width: 1100px;
    height: 800px;
    margin: 1.5em auto;
    overflow: hidden;
    background-color: #FFFFFF;
}

.slideshow-container.vertical {
    width: 600px;
    height: 800px;
}

.mySlides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mySlides.active {
    opacity: 1;
    z-index: 1;
}

.mySlides img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    /* Adjust for consistent size of slideshow for all size of images*/
    height: 100%;
    /* Adjust for consistent size of slideshow for all size of images*/
    object-fit: cover;
    /* User cover for image to fill slideshow*/
    object-position: center;
}

.slideshow-container.vertical .mySlides img {
    object-fit: cover;
    /* User cover for image to fill slideshow*/
}

.mySlides img.align-left {
    object-position: left;
}

.mySlides img.align-bottom {
    object-position: bottom;
}

.mySlides img.align-right {
    object-position: right;
}

.mySlides img.align-top {
    object-position: top;
}

.mySlides img.align-center {
    object-position: center;
}

.caption-text {
    font-size: 17px;
    color: #000;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 2;
}

.dot-container {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: rgba(204, 204, 204, 0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: rgba(118, 185, 0, 0.8);
}

/* Ensure consistent image sizing for both orientations */
.slideshow-container.horizontal .mySlides img,
.slideshow-container.vertical .mySlides img {
    max-width: 100%;
    max-height: 100%;
}

/* Adjust caption for vertical layout */
.slideshow-container.vertical .caption-text {
    bottom: 60px;
    /* Increased bottom space for vertical layout */
}

/* Video Grid Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}


.video-grid1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
    justify-content: center;
    align-items: center;
    align-self: center;
    align-content: center;
}

.video-grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}


.video-grid4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

.video-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-item video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.video-item video::-webkit-media-controls-panel,
.video-item video::-webkit-media-controls-play-button,
.video-item video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

.video-item2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-item2 video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.video-item2 video::-webkit-media-controls-panel,
.video-item2 video::-webkit-media-controls-play-button,
.video-item2 video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

.video-prompt {
    font-size: 17px;
    color: var(--text-color);
    text-align: center;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .video-grid {
        width: 90%;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Slideshow title */
.slideshow-title {
    font-size: 30px;
    font-weight: 300;
    color: var(--text-color);
    text-align: left;
    margin-bottom: 0.5em;
}

/* Side by side Comparisons */
.side-by-side-comparisons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.comparison-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.comparison-column {
    position: relative;
    text-align: center;
    background-color: #ffffff;
    border: none;
    box-shadow: none;
    padding: none;
    box-sizing: border-box;
    border-radius: 0%;
}

/* Titles */
.comparison-column h2 {
    font-size: 17px;
    margin-bottom: 10px;
    color: #000000;
    /* Darker text for better readability */
}

/* Images */
.comparison-column img {
    width: 100%;
    height: auto;
    margin-bottom: none;
    border-radius: 0%;
    /* Optional: Adds slight rounding to images */
}

/* Captions */
.comparison-column .caption {
    font-size: 17px;
    color: #666666;
}

/* Responsive Design for Tablets and Mobile Devices */
@media only screen and (max-width: 768px) {
    .side-by-side-comparisons {
        flex-direction: column;
        width: 90%;
        padding: 10px;
    }

    .comparison-column {
        max-width: 100%;
        flex: 1 1 100%;
        margin-bottom: none;
    }

    .comparison-column h2 {
        font-size: 17px;
    }

    .comparison-column .caption {
        font-size: 17px;
    }
}

#section-7 {
    width: 1100px;
    /* Changed from 1000px to 960px */
    margin: 0 auto;
    padding: 0.5em 0;
    /* Changed from 1.5em 1em to 1.5em 0 */
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: left;
}

/* 4 Columns with Image and Caption */
.row-4-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0 em;
    /* Remove the following lines */
    /* width: 960px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
    /* margin-bottom: change from 1.5em to 0em */
}

.column-4 {
    flex-basis: 25%;
    /* Adjusted from 23% to 24% */
    text-align: center;
}

/* 3 Columns with Image and Caption */
.row-3-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0 em;
    gap: 1%;
}

.column-3 {
    flex-basis: cal(33.33%-1%);
    text-align: center;
}

/* Extended styles for 2 Columns */
.row-2-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0 em;
}

.column-2 {
    flex-basis: 48%;
    text-align: center;
}

/* General Responsive Styles */
@media (max-width: 768px) {

    .row-4-columns,
    .row-3-columns,
    .row-2-columns {
        flex-direction: column;
    }

    .column-4,
    .column-3,
    .column-2 {
        flex-basis: 100%;
        margin-bottom: 1em;
    }
}

/* Single Column Layout */
.row-1-column {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 0 em;
}

.column-1 {
    flex-basis: 100%;
    text-align: center;
}

.image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.column-4 img,
.column-3 img,
.column-2 img,
.column-1 img {
    width: 100%;
    height: auto;
    margin-bottom: 0 em;
    /* margin-bottom: change from 1.5em to 0em */

}

.column-4-title,
.column-3-title {
    font-size: 17px;
    color: var(--text-color);
    margin-bottom: 0.5em;
    min-height: 1.6em;
}

/* Hide Empty Titles but Keep Space */
.column-4-title:empty {
    visibility: hidden;
}

.column-4 .image-caption,
.column-3 .image-caption,
.column-2 .image-caption,
.column-1 .image-caption {
    text-align: center;
    font-size: 17px;
    color: var(--text-color);
    margin-top: auto;
}

/* New Component for Image Pair Wrapper */
.image-pair-wrapper {
    text-align: center;
    margin-bottom: 0.5em;
    /* Chane 2em to 0.5em */
    width: 100%;
}

.image-pair-title {
    font-size: 17px;
    color: var(--text-color);
    margin-bottom: 0.5em;
}

.image-pair {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}

.image-pair .column-4 {
    flex-basis: 50%;
}

.image-pair img {
    width: 100%;
    height: auto;
}

/* Responsive Adjustment for Smaller Screens */
@media (max-width: 768px) {
    .image-pair {
        flex-direction: column;
        width: 100%;
    }

    .image-pair .column-4 {
        flex-basis: 100%;
        margin-bottom: 1em;
    }
}


/* Two-Column Comparison Section in Solutions 3 */
.column-container {
    display: flex;
    flex-direction: column;
    /* Stack columns vertically */
    justify-content: center;
    /* Center content vertically if needed */
    gap: 1.5em;
    /* Space between columns */
    margin-top: 1.5em;
    width: 1100px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.column {
    background-color: #d3d3d3;
    padding: 1em;
    flex: 1;
    min-width: 300px;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: none;
}

.column-heading {
    background-color: #ffffff;
    color: #000000;
    padding: 0.5em 1em;
    text-align: center;
    font-size: 1.2em;
    font-weight: 500;
    border-radius: 4px;
    margin-bottom: 1em;
}

.column-content {
    font-family: 'NVIDIASans', sans-serif;
    font-size: 17px;
    color: #666666;
    white-space: pre-wrap;
    text-align: justify;
    overflow-x: hidden;
}

/* Preformatted Text Styling */
.column-content pre {
    background-color: #f0f0f0;
    padding: 1em;
    border-radius: 4px;
    overflow: auto;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .column-container {
        flex-direction: column;
    }

    .column {
        max-height: none;
    }
}

/* Inline Link Styles */
a.inline-link {
    color: #000000;
    text-decoration: underline;
    text-decoration-color: #76b900;
}

a.inline-link:hover {
    text-decoration-color: #000000;
}

/* Image Section Styles */
.image-container {
    width: 1100px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.7em;
    /* Reduced gap */
    margin-top: 1.5em;
    /* Reduced from 2em */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.image-item {
    text-align: center;
    width: 45%;
    /* Adjusted width to fit two images side by side */
}

.image-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* For img-fluid effect */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Adjust image sizes based on classes */
.xxlarge-image {
    width: 140%;
}

.xlarge-image {
    width: 120%;
}

.large-image {
    width: 100%;
}

.medium-image {
    width: 75%;
}

.small-image {
    width: 50%;
}

.xsmall-image {
    width: 45%;
}

.xxsmall-image {
    width: 30%;
}

.tiny-image {
    width: 25%;
}

/* For z-depth-1 effect - remove shadow 0 2px 2px rgba(0, 0, 0, 0.2) to none*/
.z-depth-1 {
    box-shadow: none;
}

/* Center captions */
.image-caption {
    margin-top: 0.5em;
    font-size: 17px;
    text-align: center;
}

.image-caption.center {
    text-align: center;
}

.image-caption.justify {
    text-align: justify;
}

/* Features Section */
.features-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    flex: 1 1 300px;
    margin: 1em;
    padding: 1.5em;
    /* Reduced padding */
    background-color: #f9f9f9;
    border-radius: 10px;
}

.feature-item h3 {
    font-size: 30px;
    margin-bottom: 0.5em;
    text-align: left;
}

.feature-item p {
    font-size: 17px;
    text-align: justify;
}

/* Table Container Styles */
.table-container {
    width: 100%;
    max-width: 800px;
    margin: 1em auto;
    padding: 0.75em;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 17px;
}

.custom-table th,
.custom-table td {
    border: 1px solid #cccccc;
    padding: 0.75em;
    text-align: justify;
}

.custom-table th {
    font-weight: normal;
    background-color: #f0f0f0;
}

.custom-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}


/* Visual Tokenizer Table */
#visual-tokenizers-table {
    margin: 20px 0;
}

#visual-tokenizers-table table {
    width: 100%;
    border-collapse: collapse;
}

#visual-tokenizers-table caption {
    margin-bottom: 10px;
    text-align: center;
    font-weight: normal !important;
}

#visual-tokenizers-table th,
#visual-tokenizers-table td {
    padding: 8px;
    text-align: center;
    font-weight: normal !important;
}

#visual-tokenizers-table th {
    background-color: #f2f2f2;
    border-bottom: 1px solid #ddd;
}

#visual-tokenizers-table td:first-child {
    text-align: left;
}

/* Add a bottom border to Edify Image row */
#visual-tokenizers-table .edify-image-row2 td {
    border-bottom: 2px solid #000;
    /* Make the border more prominent if desired */
}

/* Green check mark color */
#visual-tokenizers-table .check {
    color: green;
}

/* Red cross mark color */
#visual-tokenizers-table .cross {
    color: red;
}

/* First row styles */
#visual-tokenizers-table .first-row td {
    border-top: none;
    border-bottom: none;
}

/* Edify row styles */
#visual-tokenizers-table .edify-row td {
    border-top: 3px solid #ddd;
    border-bottom: 3px solid #ddd;
}

/* Remove borders from middle rows */
#visual-tokenizers-table tbody tr:not(.first-row):not(.edify-row) td {
    border: none;
}

/* Top row styles */
#visual-tokenizers-table .top-row td {
    border-top: 2px solid #000;
}


.loss-table-container {
    display: flex;
    justify-content: space-between;
    width: 1100px;
    gap: 20px;
    margin: 50px auto 0 auto;
}

.table-wrapper {
    width: calc(33.33% - 14px);
    position: relative;
    text-align: center;
}

.table-caption {
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    caption-side: top;
}

.loss-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    margin-bottom: 20px;
}

.loss-table th,
.loss-table td {
    padding: 0.2em;
    text-align: center;
    font-size: 14px;
}

.loss-table th:first-child,
.loss-table td:first-child {
    border-right: 1px solid #cccccc;
}

.loss-table th {
    font-weight: normal;
    background-color: #f2f2f2;
    text-align: center;
    border-top: none;
    border-bottom: 1px solid #cccccc;
}

.loss-table .input-views {
    font-weight: normal;
    text-align: left;
}

.loss-table .validation-views th {
    border-bottom: none;
}

.loss-table .input-views-border td {
    border-bottom: 1px solid #cccccc;
}

.loss-table .highlighted-cell {
    background-color: #f2f2f2;
}

@media (max-width: 768px) {
    .loss-table-container {
        flex-direction: column;
    }

    .table-wrapper {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Equations Section Styles */
.equations {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5em 1em;
    /* Reduced from 2em */
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: left;
}

.equation-content {
    font-size: 17px;
    line-height: 1.6;
    text-align: justify;
}

.equation-content p {
    margin-bottom: 1em;
}

/* Pricing Section */
.pricing-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-plan {
    flex: 1 1 300px;
    margin: 1em;
    padding: 1.5em;
    /* Reduced padding */
    background-color: #333333;
    border-radius: 10px;
    border: 1px solid #444444;
    text-align: left;
}

.pricing-plan h3 {
    font-size: 30px;
    margin-bottom: 0.5em;
}

.pricing-plan .price {
    font-size: 2em;
    margin: 0.5em 0;
    color: var(--primary-color);
}

.pricing-plan ul {
    list-style: none;
    margin-bottom: 1em;
    text-align: justify;
}

.pricing-plan ul li {
    margin: 0.5em 0;
}

.pricing-plan a {
    text-decoration: none;
}

/* Styled Details Section */
.styled-details {
    margin: 1.5em auto;
    /* Reduced from 2em */
    padding: 1em 1.5em;
    /* Reduced padding */
    max-width: 1100px;
    background-color: #f0f0f0;
    border-left: 5px solid var(--primary-color);
    color: #333333;
    border-radius: 0;
    box-shadow: none;
    text-align: justify;
}

.styled-details summary {
    font-weight: 500;
    cursor: pointer;
    outline: none;
    text-align: left;
}

.styled-details summary::-webkit-details-marker {
    display: none;
}

.styled-details summary::before {
    content: "▼ ";
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.styled-details[open] summary::before {
    transform: rotate(180deg);
}

.styled-details p {
    margin-top: 1em;
    font-size: 1em;
}

/* Unordered List Styles */
ul {
    list-style-position: inside;
    margin: 1em 0;
    padding-left: 1.5em;
}

li {
    text-align: justify;
    margin-bottom: 0.5em;
}

/* Citations */
.citations {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.5em 0;
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: left;
}

.citations blockquote {
    margin: 0 auto;
    padding: 0.5em 0;
    font-style: italic;
    border-left: 5px solid var(--primary-color);
    background-color: #f0f0f0;
    color: #333333;
    text-align: justify;
}

.citations blockquote footer {
    margin-top: 1em;
    font-size: 0.9em;
    color: #555555;
    text-align: left;
}

.citations blockquote cite {
    font-style: normal;
}

/* Footnotes Section Styles */
.footnotes {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5em 1em;
    /* Reduced padding */
    background-color: #f9f9f9;
    color: #333333;
    text-align: left;
}

.footnotes h2 {
    color: #000000;
    margin-top: 0;
    /* Added for consistency */
    margin-bottom: 0.5em;
    /* Added for consistency */
}

.footnotes ol {
    margin: 1.5em auto;
    /* Reduced from 2em */
    padding-left: 1.5em;
    text-align: left;
}

.footnotes li {
    margin-bottom: 1em;
    font-size: 17px;
    line-height: 1.6;
    text-align: left;
}

a.footnote-ref {
    text-decoration: none;
    color: var(--primary-color);
}

a.footnote-back {
    text-decoration: none;
    margin-left: 5px;
    color: var(--primary-color);
}

/* References Section Styles */
.references {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5em 1em;
    /* Reduced padding */
    background-color: #e0e0e0;
    color: #333333;
    text-align: left;
}

.references h2 {
    color: #000000;
    margin-top: 0;
    /* Added for consistency */
    margin-bottom: 0.5em;
    /* Added for consistency */
}

.references ol {
    margin: 1.5em auto;
    /* Reduced from 2em */
    padding-left: 1.5em;
}

.references li {
    margin-bottom: 1em;
    font-size: 17px;
    line-height: 1.6;
    text-align: left;
}

.references li em {
    font-style: italic;
}

a.reference-ref {
    text-decoration: none;
    color: var(--primary-color);
}

a.reference-back {
    text-decoration: none;
    margin-left: 5px;
    color: var(--primary-color);
}

/* Remove hover effects for both footnotes and references */
a.footnote-ref:hover,
a.footnote-back:hover,
a.reference-ref:hover,
a.reference-back:hover {
    text-decoration: none;
}

/* Superscript Styles */
sup {
    font-size: 0.8em;
    vertical-align: baseline;
    position: relative;
    top: -0.4em;
}

/* Footnote Reference Styles */
a.footnote-ref {
    text-decoration: none;
    color: var(--primary-color);
}

a.footnote-ref:hover {
    text-decoration: underline;
}

/* Code Blocks */
pre {
    background-color: #f5f5f5;
    color: #4a4a4a;
    font-size: 0.875em;
    overflow-x: auto;
    padding: 1.25rem 1.5rem;
    white-space: pre;
    word-wrap: normal;
}

code {
    background-color: #f5f5f5;
    color: #000000;
    font-size: 0.875em;
    font-weight: normal;
    padding: 0.25em 0.5em;
}

span.smallcaps {
    font-variant: small-caps;
}

div.columns {
    display: flex;
    gap: min(4vw, 1.5em);
}

div.column {
    flex: auto;
    overflow-x: auto;
}

div.hanging-indent {
    margin-left: 1.5em;
    text-indent: -1.5em;
}

#breadcrumb {
    margin-top: 4em;
    background-color: #FFFFFF !important;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #FFFFFF !important;
    padding: 0;
    margin-bottom: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.breadcrumb ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 300;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin: 0 0.75rem;
    color: #666;
}

.breadcrumb a {
    color: var(--text-color);
    /* This will make it black */
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    /* This creates the green underline */
    font-weight: 300 !important;
    /* Force the font-weight */
}

.breadcrumb a:hover {
    color: var(--primary-color);
    /* This makes text green on hover */
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
}

.breadcrumb .current-page {
    color: var(--text-color);
    font-weight: 300;
}

ul,
ol {
    list-style-position: outside;
    margin: 1em 0;
    padding-left: 1.5em;
}

li {
    text-align: justify;
    margin-bottom: 0.5em;
    text-indent: none;
    padding-left: none;
}

ol li {
    padding-left: 0.5em;
}

/* Existing styles for task lists */
ul.task-list[class] {
    list-style: none;
}

ul.task-list li input[type="checkbox"] {
    font-size: inherit;
    width: 0.8em;
    margin: 0 0.8em 0.2em -1.6em;
    vertical-align: middle;
}

.divider {
    width: 1100px;
    height: 4px;
    background-color: #76b900;
    margin: 48px auto;
    /* Changed from margin: 16px 16px */
    border: none;
}

@media (max-width: 768px) {
    .divider {
        width: 90%;
        margin: 16px auto;
        /* Center on mobile */
    }
}

#back-to-top {
    position: fixed;
    bottom: 60px;
    right: 60px;
    display: flex;
    /* Add this */
    justify-content: center;
    /* Add this */
    align-items: center;
    /* Add this */
    background-color: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    line-height: 1;
    /* Add this */
    padding: 0;
    /* Add this */
}

#back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

#back-to-top:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(118, 185, 0, 0.3);
}

@media (max-width: 768px) {
    #back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Project and Product Styles */
/* [Include these styles if relevant to your page; otherwise, you can omit them] */

/* Media Queries */
@media (max-width: 768px) {

    /* Adjustments for mobile devices */
    .container {
        padding: 0 1em;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }

    p {
        font-size: 18px;
    }

    .hero {
        height: auto;
        padding: 2em 1em;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 17px;
    }
}

.mesh-container {
    width: 100%;
    height: 300px;
    position: relative;
}

.mesh-container canvas {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

.grid-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.column-label {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.mesh-container {
    width: 100%;
    height: 420px;
}

.item-label {
    margin-top: 0px;
    font-size: 16px;
    font-weight: normal;
}

button {
    margin-top: 5px;
    padding: 10px 20px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
}