* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f4f8; /* Light neutral background */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the body takes full height */
    line-height: 1.5;
}

header {
    background-color: #0056b3;
    padding: 20px;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.6em;
    font-weight: bold;
}

header .nav-links {
    list-style: none;
    display: flex;
}

header .nav-links li {
    margin: 0 15px;
}

header .nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.1em;
}

header .nav-links a:hover {
    text-decoration: underline;
}

main {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.block {
    text-align: center;
    margin: 10px 0;
    width: 100%;
    max-width: 800px;
}

.block h2 {
    font-size: 2.9em;
    margin-bottom: 20px;
    color: #0056b3;
}

.app-cards, .service-cards {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
}

.app-card, .service-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: inline-block; /* Make cards inline */
    transition: box-shadow 0.3s ease;
}

/* Remove underline and set color to black on link text */
.app-card a, .service-card a {
    text-decoration: none;  /* Remove underline */
    color: black;           /* Set text color to black */
}

.block a {
    text-decoration: none;  /* Remove underline */
    color: black;           /* Set text color to black */
}

.contacts-link a {
    text-decoration: underline;  /* Remove underline */
    color: black;           /* Set text color to black */
}

.logo a {
    text-decoration: none;  /* Remove underline */
    color: white;           /* Set text color to black */
}
.logo a:hover {
    text-decoration: underline;
    color: white;
}

.logo a[href=""] {
    pointer-events: none; /* Make it non-clickable */
    text-decoration: none; /* No underline */
}

.app-card a:hover, .service-card a:hover {
    color: black; /* Keep the text black on hover */
    text-decoration: underline;
}

.block a:hover {
    color: black; /* Keep the text black on hover */
}

.app-card a h3, .app-card a p,
.service-card a h3, .service-card a p {
    margin: 0;
}

/* Optional: Add some padding to links for better layout */
.app-card a, .service-card a {
    padding: 10px;
    display: block; /* Ensure the link fills the card */
}

.service-card {
    width: 250px; /* Slightly wider for service cards */
}

footer {
    background-color: #0056b3;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.language-flag {
    display: none; /* Hide flag by default */
    margin-left: 10px; /* Space between text and flag */
}

#product-info {
    width: 100%;
    max-width: 800px;
    margin: 0;
    padding: 0px;
    text-align: left;
}

#product-info p {
    text-align: left;
}

#product-info h2 {
    color: #0056b3;
    margin-bottom: 20px;
    font-size: 2.2em;
    text-align: center;
}

#video-info {
    width: 100%;
    max-width: 800px;
    margin: 0;
    padding: 0px;
    text-align: left;
}

.product-details {
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    text-align: left;
}

.product-details h2, .block h2 {
    font-size: 1.8em;
    color: #0056b3;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.product-details p {
    text-align: left;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* .feature-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
} */

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.feature-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Use flexbox to align the icon and text horizontally */
    align-items: center; /* Vertically center the items */
    text-align: left;
}

.feature-icon {
    font-size: 2em;
    color: #0056b3;
    margin-right: 10px; /* Space between the icon and text */
}

.feature-item p {
    margin: 0; /* Remove extra margin for the paragraph */
}

.feature-item a {
    text-decoration: underline;
}

/* Add spacing between feature list items */
.feature-list .feature-item p {
    line-height: 1.5;
}

.processing-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* display: flex; Use flexbox to align the icon and text horizontally */
    align-items: center; /* Vertically center the items */
    /* text-align: left; */
}

.description {
    font-size: 1.1em; /* Slightly larger font size for readability */
    line-height: 1.8; /* Increase line height for better text flow */
    color: #333; /* Darker text color for better contrast */
    background-color: #f8f8f8; /* Light background to create a subtle contrast */
    padding: 20px; /* Add padding for breathing space */
    border-radius: 8px; /* Rounded corners for a softer look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin-top: 20px; /* Space above the paragraph */
    margin-bottom: 20px; /* Space below the paragraph */
    max-width: 800px; /* Limit width for readability */
    margin-left: auto;
    margin-right: auto; /* Center the paragraph */
    text-align: left;
}

/* Optional: Adding a hover effect for a more interactive feel */
.description:hover {
    /* background-color: #e8f0fe; Subtle hover effect with a blue tint */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Darker shadow on hover */
    transition: all 0.3s ease-in-out; /* Smooth transition */
}

.video-section {
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.video-section h2 {
    color: #0056b3;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;  /* Ensures responsiveness */
    width: 100%;      /* Forces the container to take full width */
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin: 0 auto;   /* Center the container */
}

/* Ensure the iframe covers the entire container */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Image container styling */
.image-container {
    text-align: center;
    margin-top: 20px;
}

/* Styling the screenshot */
.screenshot {
    width: 100%; /* Adjust for responsiveness */
    max-width: 800px; /* Set a max width */
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.3s ease; /* Smooth transition */
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999; /* High z-index to ensure it is on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black with opacity */
    display: flex; /* Use Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 20px;
    box-sizing: border-box;
}

/* Modal Content (Image) */
.modal-content {
    max-width: 98%; /* Limit image width */
    max-height: 98%; /* Limit image height */
    object-fit: cover; /* Ensure image fits within the container */
    border-radius: 8px; /* Optional: rounded corners */
    /* justify-self: center; Center horizontally */
    align-self: center; /* Center vertically */
}

/* Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 10000; /* Ensure the close button is on top */
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.block-content {
    display: flex;
    justify-content: center; /* Center content horizontally */
    gap: 20px; /* Space between images */
    flex-wrap: wrap; /* Allow content to wrap on smaller screens */
}

.image-content-1 {
    max-width: 200px; /* Set max width for images */
    height: auto;
    border-radius: 8px;
}

.image-content-2 {
    max-height: 220px; /* Set max width for images */
    height: auto;
    border-radius: 8px;
}

.image-content-3 {
    max-width: 300px; /* Set max width for images */
    height: auto;
    border-radius: 8px;
}

.arrow {
    font-size: 4em;
    color: #0056b3;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
}

/* Cookie Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333333d3;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    z-index: 1000; /* Ensure it's on top of all content */
    display: none; /* Hidden by default */
}

.cookie-banner p {
    margin: 0;
}

.cookie-banner button {
    margin-top: 10px;
    background-color: #0056b3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-banner button:hover {
    background-color: #03366d; /* Darker green on hover */
}


/* Mobile-specific styling */
@media (max-width: 768px) {
    /* Hide menu by default */
    header .nav-links {
        display: none; /* Menu is hidden */
    }

    .language-flag {
        display: inline-block; /* Show flag image link */
    }

    .language-flag img {
        width: 24px;
        height: auto;
    }

    .product-details h2, .block h2 {
        font-size: 1.3em;
    }

    .video-section h2 {
        font-size: 1.3em;
    }

    #product-info h2, #apps h2, #services h2, #contacts h2 {
        font-size: 1.4em;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .feature-item {
        font-size: 1.0em;
    }

    .description {
        font-size: 1.0em; /* Slightly smaller font size on smaller screens */
        padding: 15px; /* Reduce padding on small screens */
        text-align: left;
    }

    .block-content {
        flex-direction: column; /* Stack images vertically on smaller screens */
        align-items: center; /* Center images */
    }

    .image-content-2 {
        max-width: 300px; /* Set max width for images */
        height: auto;
        border-radius: 8px;
    }
}