* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #3498db;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: #3498db;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #2980b9;
}

.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: #f8f9fa;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.section p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

a {
    color: blue;
    /* Initial link color */
    text-decoration: none;
    /* Remove underline */
    transition: color 0.3s ease;
    /* Smooth color transition */
}

a:hover {
    color: rgb(241, 34, 69);
    /* Hover color */
}

.methods .column {
    color: rgb(241, 34, 69);
}

.line {
    border-bottom: 1px solid #d5d5d5;
    margin: 30px 0;
}

.column i {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 100%;
    position: relative;
    cursor: pointer;
    transition: max-height 0.5s ease, -webkit-line-clamp 0.5s ease, color 0.3s ease;
    max-height: 3em;
    /* Adjust according to the line height to fit 2 lines */
    color: black;
    /* Initial text color */
}

.column i.full-text {
    display: block;
    -webkit-line-clamp: unset;
    white-space: normal;
    max-height: 10em;
    /* Adjust according to the expected height of the full text */
}

.column i:hover {
    color: rgb(241, 34, 69);
    /* Change text color on hover */
}

.text-bold {
    font-weight: bold;
}

.text-italic {
    font-style: italic;
}

.rotate-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

/* Table color */
.tabfirst {
    background-color: #78c3789c;
}

/* Green!25 */
.tabsecond {
    background-color: #efdf77a1;
}

/* RGB (1, 0.96, 0.7) */
.tabthird {
    background-color: #fcc290c9;
}

/* RGB (1, 0.85, 0.7) */
table {
    border-collapse: collapse;
    width: 100%;

}

th,
td {
    border: 1px solid black;
    padding: 5px;
    text-align: center;
}

th {
    background-color: #ddd;
}

table.no-border td,
table.no-border th {
    border: none;
}

.comparison-table img {
    width: 250px;
    /* Set a fixed width */
    /* height: 150px; */
    object-fit: cover;
    /* Ensures images maintain aspect ratio and fit within the set dimensions */
}

.color-red {
    color: rgb(197, 24, 24);
}

/* Navigation tabs for render comparison */
.nav-item {
    overflow: hidden;
    text-align: center;
    width: 100%;
    background-color: inherit;
    float: left;
    border: 1px solid #ddd;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.nav-item:hover {
    background-color: #c7dc94;
}

.nav-tabs .nav-link.active {
    background-color: #5c7f17;
    color: white;
    font-weight: 500;
}

.nav a {
    color: #000;
    text-decoration: none;
}

.nav a:hover {
    color: #000;
    font-weight: 500;
    text-decoration: none;
}

/* DICS slider styles */
.b-dics__slider {
    color: #f0f0f0;
}

.b-dics__slider:after {
    width: 2px;
}

/* Render comparison section */
.render-comparison {
    margin: 20px 0;
}

.render-comparison .b-dics {
    width: 100%;
    font-weight: 600;
    margin: 10px 0;
}

/* Scene navigation */
.scene-nav {
    margin-bottom: 15px;
}

.scene-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.scene-nav li {
    margin: 2px;
    cursor: pointer;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}