:root {
    --primary-color: #333;
    --secondary-color: #444;
    --background-color: #f4f4f4;
    --text-color: white;
}
/* Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E9ECD4;
}

header {
    background-color: var(--primary-color);
    color: var(--text-color);
    text-align: center;
    padding: 1em;
}

nav {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 0 1em;
    text-align: center; /* Add this line to center the text */
}

nav button {
    bottom: 20px;
        right: 20px;
        background-color: transparent;
        color: #fff; /* Button text color */
        border: none;
        padding: 10px;
        font-size: 16px;
        cursor: pointer;
        outline: none; /* Remove outline when button is focused */
        transition: color 0.3s; /* Smooth transition for color change */
}

nav button:hover {
    background-color: #333;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #E9ECD4;
}

footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    text-align: center;
    padding: 1em;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.logo img {
    width: 200px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
}

.image-slider {
    position: relative;
}

.slider-image {
    background-size: cover;
    background-position: center; /* Center the background image */
    height: 600px;
    position: relative; /* Ensure proper positioning of child elements */
    transition: background-image 0.5s ease;
}

.slider-controls {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transform: translateY(-50%);
}

.prev,
.next {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    padding: 10px;
}

.prev {
    margin-left: 20px;
}

.next {
    margin-right: 20px;
}

.slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1; /* Ensure the text appears above the image */
    display: none; /* Hide .slider-text by default */
}

.slider-text.active {
    display: block;
}

.slider-text h2 {
    color: white; /* Set the text color to white */
    font-size: 56px; /* Set the font size to 28 pixels, adjust as needed */
}

.top-info {
    background-color: #333;
    color: white;
    position: relative;
    padding-right: 8px;
    display: flex;
    justify-content: flex-end; /* Align content to the right */
    border-bottom: 2px solid #000;
}

.contact-info {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px; /* Adjust as needed */
}

.forUsInfo {
    display: none;
}

.uslugiInfo {
    display: none;
}

.careersInfo {
    display: none;
}

.active {
    display: block;
}