* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}


header {
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s, backdrop-filter 0.3s;
}

header.blurred {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    letter-spacing: .5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #ddd;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    background: #fff;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    transition: all 0.3s;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links.active {
    display: block;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideInFade 12s infinite;
}

@keyframes slideInFade {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    10% {
        opacity: 1;
        transform: translateX(0);
    }

    33% {
        opacity: 1;
        transform: translateX(0);
    }

    40% {
        opacity: 0;
        transform: translateX(-100%);
    }

    100% {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

.hero-text h1 {
    font-size: 3rem;
    animation: fadeIn 2s ease-in;
}

.hero-text p {
    font-size: 1.5rem;
    margin-top: 1rem;
    animation: fadeIn 2s ease-in;
    animation-delay: 0.5s;
}

.modules,
.services,
.companies {
    text-align: center;
    margin: 2rem 0;
}

.services .service-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.module,
.service {
    flex: 1;
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 10px;
    transition: transform 0.3s;
}

section h2 {
    text-align: center;
    font-size: 2rem;
}

.module:hover,
.service:hover {
    transform: translateY(-10px);
}

#modules {
    width: 100%;
}

.module {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.module-content {
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    flex-wrap: wrap;
}

.module-content img {
    width: 50%;
    height: auto;
    max-height: 400px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.module-content p {
    line-height: 1.6;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-top: 0;
}

.module .left {
    flex-direction: row;
    justify-content: flex-start;
}

.module .right {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.description {
    padding: 1.5rem;
    font-size: 1.5rem;
}

.description-with-heading {
    width: 50%;
    align-self: center;
}

@media (max-width: 768px) {
    .module-content {
        flex-direction: column;
        padding: 1rem;
    }

    .module-content img {
        width: 100%;
        margin-bottom: 1rem;
    }

    .module-content p {
        width: 100%;
    }

    .description-with-heading {
        width: 100%;
    }
}

footer {
    text-align: center;
    background: #333;
    color: #fff;
    padding: 1rem 0;
    margin-top: 2rem;
    animation: fadeIn 2s ease-in;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    font-size: 1.5rem;
}

#back-to-top:hover {
    background-color: #555;
}

@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .module-container,
    .service-container {
        flex-direction: column;
    }
}


::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.heading {
    font-size: 1.8rem;
    font-weight: bold;
}

#back-to-top:hover {
    background-color: #555;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    font-size: 1.5rem;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 1000;
}

#back-to-top.show {
    display: block;
    opacity: 1;
}

#back-to-top.animate {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.6s ease-in, opacity 0.6s ease-in;
}

#back-to-top:hover {
    background-color: #555;
}

@keyframes logoBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

#services .service-container .service img {
    height: 15rem;
    margin: 0;
    padding: 0;
}
