body {
    font-family: Arial, sans-serif;
    /* background: #f9f9f9; */
    background: white;	
    color: #333;
    margin: 0;
    /* padding: 20px; */
}

.container {
    max-width: 1100px;
    margin: auto;
    background: white; /*White background */
    padding: 5px;
    position: relative;
}

/* Circuit overlay 
.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('circuit-pattern-light.png') repeat; /* Use a light circuit image */
    opacity: 0.15; /* Make it subtle 
    z-index: -1;
}*/

h1, h2, h3, h4, h5, b {
    color: #005b96;
}

b {
    color: #7d3f53;
}

ul {
    margin: 10px 0 20px 20px;
}

.section {
    margin-bottom: 23px;
}

/* .catalog - For the header of the page */
/* .catalog {
    background: #eef6fb;
    padding: 0px;
    border-right: 4px solid #005b96;
} */
.catalog {
    /*background: white;*/
	background: linear-gradient(to left, #004C99, white);
    padding: 0px;
    border-right: 4px solid #005b96;
}

.contact {
    /*background: #eef6fb;*/
	background: linear-gradient(to left, #004C99, white);	
    padding: 5px;
    border-left: 4px solid #005b96;
}

/* "a" tag is clashing with the entry for "div a" */
/*
a {
    color: #005b96;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
*/

.navbar {
    /*background-color: #005b96;*/
	background: linear-gradient(to left, #003366, #0099cc);
    padding: 10px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.navbar a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    font-weight: bold;
}

.navbar a:hover {
    text-decoration: underline;
}

.logo-container {
    display: flex;
    align-items: center;
    padding: 20px;
}

.logo-container img {
    height: 50px;
    margin-right: 15px;
}

.contact-info {
    font-size: 1rem;
    margin-top: 10px;
}

.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
}

.tab-button {
    background: #eef6fb;
    border: 1px solid #ccc;
    border-bottom: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-right: 5px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.tab-button.active {
    background: #ffffff;
    border-bottom: 2px solid white;
    font-weight: bold;
    color: #005b96;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Style for the solution table */
.solution-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

/* Table header */
.solution-table thead th {
    background-color: #eef6fb;
    color: #005b96;
    padding: 12px 8px;
    text-align: left;
    border: 1px solid #dee2e6;
}

/* Table body cells */
.solution-table tbody td {
    padding: 10px 8px;
    border: 1px solid #dee2e6;
    vertical-align: top;
    background-color: #f9f9f9;
}

/* Optional: hover effect */
.solution-table tbody tr:hover {
    background-color: #f1f1f1;
}

.footer {
    /*background-color: #005b96;*/
	background: linear-gradient(to left, #003366, #0099cc);	
    color: white;
    text-align: center;
    padding: 15px 10px;
    margin-top: 15px;
}

.hidden-keywords {
    display: none;
}

.acronym-list {
    max-width: 1100px;
    margin: auto;
    background: #fff;
    padding: 20px;
}

/* Container for scrolling text */
.scroll-container {
    height: 4em;
    overflow: hidden;
    position: relative;
}

/* Inner scrolling content */
.scroll-text {
    display: block;
    white-space: normal;
    animation: scrollUp 50s linear infinite;
}

@keyframes scrollUp {
    0% { transform: translateY(0%); }
    100% { transform: translateY(-100%); }
}

/* Each statement block */
.scroll-text > div {
    min-height: 4em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5%;
    width: 100%;
	color: black;
	/*color: #A64300;*/
    /*color: #CC5500;*/
    text-align: left;
    word-break: break-word;
}

/* Links inside the statements */
.scroll-text > div a {
    font-size: 1.2em;
	color: black;
    /*color: #A64300;*/
    /*color: #CC5500;*/
    text-decoration: none;
    white-space: normal;
    display: inline;
}

.scroll-text > div a:hover {
    text-decoration: underline;
}

/* Pause animation on hover */
.scroll-text:hover {
    animation-play-state: paused;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .scroll-text > div a {
        font-size: 1em;
    }
    .scroll-text > div {
        padding-left: 2%;
    }
}

/* For rotating the images in challenges.html*/
.rotating-banner {
    width: 100%;
    height: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    overflow: hidden;
}

.banner-icon {
    position: absolute;
    width: 90px;
    height: 90px;
    background-color: white;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /* filter: brightness(0.85) saturate(0.85); */
}

.banner-icon.active {
    opacity: 1;
}

/* For process diagram images */
.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    justify-content: center;
}

.image-container img {
    width: 100%;
    max-width: auto;
    height: auto;
}
