* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HERO */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    color: #fff;
    background-image: url(florian-olivo-4hbJ-eymZ1o-unsplash.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); /* overlay plus lisible */
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.btn {
    background: #fff;
    color: #2575fc;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    background: #2575fc;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* SECTION */
section {
    padding: 90px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.profile-img {
    width: 160px;
    border-radius: 50%;
    margin-top: 20px;
    border: 4px solid #2575fc;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

/* SERVICES */
.services {
    background: #f0f4ff;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    width: 260px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.card i {
    color: #2575fc;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

/* CONTACT */
.contact form {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.contact input,
.contact textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.contact input:focus,
.contact textarea:focus {
    border-color: #2575fc;
    box-shadow: 0 0 8px rgba(37,117,252,0.3);
    outline: none;
}

.contact button {
    padding: 12px;
    border: none;
    background: #2575fc;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.4s ease;
}

.contact button:hover {
    background: #6a11cb;
    transform: translateY(-3px);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 25px;
    background: #222;
    color: #fff;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media(max-width: 768px){
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
