* {
    box-sizing: border-box;
}

html, body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #cccccc;
}

.container {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: visible;
    min-height: 100%;
    margin: 0;
    padding: 0;
    z-index: 0;
}

.section {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.content {
    max-width: 90%;
    width: 100%;
    max-height: 70%;
    position: relative;
    z-index: 600;
    text-align: center;
    overflow: hidden;
}

.section#home {
    background: linear-gradient(25deg, #16054A, #C8A6B4);
}

.section#customers {
    background: linear-gradient(25deg, #1A3C34, #A8D5BA);
}

.section#software {
    background: linear-gradient(25deg, #4A0E4E, #D8A7CA);
}

.section#methodology {
    background: linear-gradient(25deg, #2F4F4F, #B0C4DE);
}

.section#other-solutions {
    background: linear-gradient(25deg, #3B2F2F, #D2B48C);
}

.section#markets {
    background: linear-gradient(25deg, #1C2526, #A9BA9D);
}

.particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500; /* Above content, below navbar */
    overflow: hidden;
}

.particles-js-canvas-el {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.contacts {
    position: relative;
    margin: 10px 0;
    width: 100%;
    max-height: 20%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    overflow: hidden;
    z-index: 600;
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000; /* Above particles */
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.navbar.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(-100px);
    pointer-events: none;
}

.navbar .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar .nav li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .nav li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 50px;
    height: 50px;
    font-size: 0;
    text-decoration: none !important;
    transition: background-color 0.3s ease;
}

.navbar .nav li a i {
    font-size: 24px;
    color: black;
    line-height: 50px;
    text-decoration: none !important;
}

.navbar .nav li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none !important;
}

.navbar .nav li a:hover i {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none !important;
}

.navbar .nav li a span {
    display: none;
}

.customer-logos, .software-solutions, .other-solutions, .markets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-height: 60%;
    overflow: hidden;
    z-index: 600;
}

.customer-logos img, .software-solutions img {
    max-width: 150px;
    height: auto;
    border-radius: 70px;
    object-fit: contain;
    padding: 10px;
}

.other-solutions img {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
    padding: 10px;
}

.methodology {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-height: 60%;
    overflow: hidden;
    z-index: 600;
}

.methodology-step {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 120px;
}

.methodology-step img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.market-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
    max-height: 20%;
    overflow: hidden;
    z-index: 600;
}

.market-stats div {
    text-align: center;
}

.market-stats h3 {
    font-size: 1.8em;
    margin: 0;
}

h1 .txt-rotate {
    display: inline-block;
    min-height: 0.76em;
    line-height: 0.76em;
    font-size: 60px;
}

@media (max-width: 768px) {
    .navbar {
        width: 80%;
    }

    .section {
        padding: 10px;
    }

    .content {
        max-width: 95%;
        max-height: 60%;
    }

    .contacts {
        max-height: 15%;
    }

    .customer-logos img, .software-solutions img, .other-solutions img {
        max-width: 100px;
    }

    .methodology-step {
        min-width: 100px;
        padding: 10px;
    }

    .market-stats {
        gap: 20px;
    }
}