
/* Section Hero */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer horizontalement */
    justify-content: center; /* Centrer verticalement */
    text-align: center; /* Centrer le texte */
    padding: 50px 20px;
    background: linear-gradient(to bottom, #007bff, #00d4ff); /* Couleurs attractives */
    color: white; /* Contraste pour le texte */
    border-radius: 20px; /* Coins arrondis pour un style moderne */
    margin: 20px auto; /* Centrer horizontalement la section */
    max-width: 1200px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Ombre pour un effet de profondeur */
}

.hero-section header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    animation: fadeIn 1.5s ease-out;
}

.hero-section header p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-top: 5px;
    animation: fadeIn 1.8s ease-out;
}
/* Hero Section Content */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer horizontalement */
    justify-content: center; /* Centrer verticalement */
    padding: 20px 10px;
    animation: slideIn 2s ease-out;
    text-align: center; /* Centrer le texte */
}

.hero-text {
    margin-bottom: 5px;
}

.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.5;
}


/* Section Services */
.services {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, #4c63d2, #9563ff);
    color: #ffffff;
    border-radius: 20px;
    margin: 40px auto;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.5s ease-out;
}

.services h3 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    animation: slideInFromLeft 1.5s ease-out;
}

.service-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    width: 280px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: height 0.4s ease, top 0.4s ease;
}

.service-item:hover::before {
    height: 300%;
    top: -100%;
}

.service-item img {
    width: 80px;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.service-item:hover img {
    transform: scale(1.2) rotate(5deg);
}

.service-item p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.service-item .price {
    display: block;
    font-size: 1rem;
    color: #ffd700;
    font-weight: bold;
    margin-top: 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .services h3 {
        font-size: 2rem;
    }
    .service-item p {
        font-size: 1rem;
    }
    .service-item .price {
        font-size: 0.9rem;
    }
}



/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
