/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Container for content */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

 }
  .component-list {
   margin-top: 20px;
   padding-left: 20px;
 }
  .component {
   margin-bottom: 15px;
 }
  .component-title {
  font-weight: bold;
  color: #2c3e50;
 }

/* Header styles */
header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 20px;
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
}

/* Submenu styles */
.menu-item {
    position: relative;
}

.submenu {
    display: none;
    background-color: #34495e;
    min-width: 150px;
    flex-direction: column;
    gap: 0;
}

.menu-item:hover .submenu {
    display: flex;
}

.submenu a {
    padding: 10px;
}

.submenu a:hover {
    background-color: #3d566e;
}

/* Main content for index page */
.main-content-index {
    padding: 2rem 0;
}

/* Main content */
.main-content {
    padding: 2rem 0;
    text-align: auto; /* justify */
    text-justify: inter-word; /* inter-word */
}

/* Grid layout for content */
.grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.card {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Footer link */
.footer-link {
    color: white;
    text-decoration: none;
}

a {
    color: black;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Mobile menu button */
.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* Media Queries */
@media screen and (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: flex;
    }
}

@media screen and (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr); /* 4 */
    }
}

@media screen and (max-width: 767px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .submenu {
        position: static;
        display: none;
        background-color: #34495e;
        width: 100%;
    }

    .submenu.active {
        display: flex;
    }

    .submenu a {
        padding: 10px 20px;
    }
}

.indented-list {
    margin-left: 20px;
    list-style-type: disc;
 }

/* Rest of your existing CSS remains unchanged */
.image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.content-image {
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

.zoom-controls {
    position: absolute;
    bottom: 0px;
    right: 110px;
    display: flex;
    gap: 15px;
}

.zoom-icon {
    background-color: white;
    padding: 5px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-in {
    width: 16px;
    cursor: zoom-in;
}

.zoom-out {
    width: 16px;
    cursor: zoom-out;
}

.zoom-icon:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.intro-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 95%;
}

.intro-text {
    flex: 1;
    margin-right: 20px;
    text-align: auto; /* justify */
    text-justify: inter-word;
}
</* Old content-wrapper
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    margin: 20px 0;
}
*/
.text-content {
    flex: 1;
    min-width: 300px;
    text-align: auto; /* justify */
    text-justify: inter-word;
}

.back-to-top {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 40px;
    background-color: #3d85c6;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #16a085;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 20px;
}

.pagination a {
    padding: 10px 20px;
    background-color: #3d85c6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination a:hover {
    background-color: #16a085;
}

.section {
    margin-bottom: 30px;
}

table.pros-cons {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

table.pros-cons thead tr {
    background-color: #f2f2f2;
    color: #333;
}

table.pros-cons th,
table.pros-cons td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

table.pros-cons tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

table.pros-cons tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.center {
    display: block;
    margin-left: 8%;
    margin-right: auto;
    width: 50%;
}

 /* Inline styles for specific word highlighting */
 .highlight-yellow { background-color: #FDD82D; padding: 2px 4px; border-radius: 3px; }
 .highlight-gray { background-color: #A39E9C;  padding: 2px 4px; border-radius: 3px; }
 .highlight-green { background-color: #65A969;  padding: 2px 4px; border-radius: 3px; }
 .highlight-blue { background-color: #43A5F4;  padding: 2px 4px; border-radius: 3px; }
 .highlight-purple { background-color: #B28BB8;  padding: 2px 4px; border-radius: 3px; }
 .highlight-red { background-color: #EF5350;  padding: 2px 4px; border-radius: 3px; }

 /* Styles for horizontal slim menu  added for embeddable_objects.html*/
        .horizontal-menu {
            display: flex;
            justify-content: center;
            background-color: #f5f5f5;
            padding: 7px 0;
            margin: 20px 0;
            border-radius: 5px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
			 -webkit-overflow-scrolling: touch; /* Smooth scrolling on touch devices */
        }
        .horizontal-menu ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            gap: 20px;
        }
        .horizontal-menu li {
            position: relative;
        }
        .horizontal-menu a {
            text-decoration: none;
            color: #333;
            font-size: 15px;
            padding: 8px 12px;
            transition: color 0.3s, background-color 0.3s;
        }
        .horizontal-menu a:hover {
            color: #3d85c6;
            background-color: #e0e0e0;
            border-radius: 3px;
        }
        .horizontal-menu .submenu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background-color: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            z-index: 1000;
        }
        .horizontal-menu li:hover .submenu {
            display: block;
        }
        .horizontal-menu .submenu a {
            display: block;
            padding: 10px 15px;
            font-size: 14px;
            color: #333;
            white-space: nowrap;
        }
        .horizontal-menu .submenu a:hover {
            background-color: #f0f0f0;
            color: #3d85c6;
        }
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .horizontal-menu ul {
                flex-wrap: wrap;
                gap: 10px;
                justify-content: center;
            }
            .horizontal-menu a {
                font-size: 14px;
                padding: 6px 8px;
            }
        }

		/* new content-wrapper */
        .content-wrapper {
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

		
        .step {
            margin-bottom: 30px;
        }
        .step h2 {
            font-size: 1.4em;
            color: black;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        .step h2::before {
            content: '';
            display: inline-block;
            width: 30px;
            height: 30px;
            background: black;
            color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 30px;
            margin-right: 10px;
            font-size: 0.8em;
        }
        .step:nth-child(1) h2::before { content: '1'; }
        .step:nth-child(2) h2::before { content: '2'; }
        .step:nth-child(3) h2::before { content: '3'; }
        .step:nth-child(4) h2::before { content: '4'; }
        .step:nth-child(5) h2::before { content: '5'; }
        .step:nth-child(6) h2::before { content: '6'; }
        .step:nth-child(7) h2::before { content: '7'; }
        .step:nth-child(8) h2::before { content: '8'; }
        .step:nth-child(9) h2::before { content: '9'; }
        .step:nth-child(10) h2::before { content: '10'; }		
        .step p {
            font-size: 1.0em;
            color: #444;
            margin: 0;
        }