body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: white;
    overflow-x: hidden; /* Previne lățirea paginii peste ecran */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background-color: #111;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box; /* Asigură că padding-ul nu mărește dimensiunea headerului */
}

.logo img {
    height: 50px;
    max-width: 100%;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center; /* Centrează meniul */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
}

.hero {
    text-align: center;
    padding: 120px 20px;
    background: url('../images/ai-background.jpg') no-repeat center center/cover;
    max-width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #2575fc;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    border-radius: 5px;
}

.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 50px;
    flex-wrap: wrap; /* Permite ca elementele să se aranjeze corect pe ecrane mici */
}

.feature {
    text-align: center;
    background: #222;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
}

.feature img {
    width: 80px;
    height: 80px;
}

.learn-more {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: #2575fc;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 20px;
    background: #111;
    margin-top: 50px;
}

/* Asigură că totul se adaptează corect pe mobil */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px 20px;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }
}
