main{
    background-color: #f9f9f9;
    padding-bottom: 50px;
}


/* Accueil Section */
#accueil-container {
    height: 550px;
    background-image: url(../images/entreprise-ia.png);
    background-size: cover;
    background-position: center 70%;
}

#accueil-container h1 {
    font-size: 4rem;
    color: white;
    text-align: center;
    padding-top: 100px;
    transform: translateY(50px); /* Décalage initial */
    animation: fadeInUp 1s ease-out forwards; /* Animation */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}

/* Hero Section */
.hero {
    height: 400px; /* Hauteur définie */
    /*background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);*/
    background: white;
    display: flex; /* Utilisation de Flexbox */
    justify-content: center; /* Centrage horizontal */
    align-items: center; /* Centrage vertical */
    flex-direction: column; /* Aligner les éléments en colonne (empilés) */
    text-align: center; /* Centrer le texte à l'intérieur */
    opacity: 0; /* Invisible initialement */
    transform: translateY(20px); /* Légèrement décalé vers le bas */
    animation: fadeInUp 1s ease-out forwards;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 70%;
    margin-top: -180px;
    margin-left: 15%;
    margin-bottom: 30px;
    z-index: 10;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    color: #012a7d;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: #012a7d;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
}


/* Animation keyframes */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Notre Entreprise */
#notre-entreprise {
    padding: 350px 20px 130px;
    text-align: center;
    margin-top: -250px;
    position: relative;
}

#notre-entreprise h2 {
    font-size: 2.5rem;
    color: #012a7d;
    margin-bottom: 30px;
}

.company-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-card {
    background: linear-gradient(135deg, #012a7d 0%, #4183d7 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /*
    padding: 70px 50px;
    */
    padding-top: 35px;
    width: 60%;
    height: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.company-card i {
    font-size: 4rem;
    color: white;
    margin-bottom: 30px;
}

.company-card h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}

.company-card p {
    font-size: 1.2rem;
    color: white;
    line-height: 1.6;
    padding-left: 30px;
    padding-right: 30px;
}

.company-card a{
    text-decoration: none;
}

/* Offres Section */
#nos-offres {
    padding-bottom: 50px;
    overflow: visible;
    position: relative;
    z-index: 1;
}

#nos-offres h2 {
    text-align: center;
    color: #012a7d;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.services-track {
    display: flex;
    gap: 30px;
    padding: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: auto;
    scrollbar-width: none; /* Pour Firefox */
    -ms-overflow-style: none; /* Pour IE et Edge */
}

.services-track::-webkit-scrollbar {
    display: none; /* Pour Chrome, Safari et Opera */
}

.service-card {
    flex: 0 0 300px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e1e1e1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);

}

.service-card i {
    font-size: 3rem;
    color: #012a7d;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    color: #012a7d;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card a{
    text-decoration: none;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Position des flèches */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #012a7d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s ease;
}

.slider-button:hover {
    background: #0248b0;
}

.slider-button.prev {
    left: 10px;
}

.slider-button.next {
    right: 10px;
}

/* Section Partenaires */
#nos-partenaires {
    padding: 350px 20px 10px;
    text-align: center;
    margin-top: -250px;
    position: relative;
}

#nos-partenaires h2 {
    font-size: 2.5rem;
    color: #012a7d;
    margin-bottom: 30px;
}

#partenaires-contenair {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 70px 50px;
    width: 80%;
    text-align: center;
    margin: 0 auto;
}


#partenaires-contenair p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    padding-left: 30px;
    padding-right: 30px;
    max-width: 800px;
    margin: 0 auto 20px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    justify-items: center;
    align-items: center;
    padding-top: 30px;
}

.logo-item img {
    max-width: 200px;
    max-height: 150px;
    display: block;
    margin: 0 auto;
}

.cta-button {
    display: inline-block;
    background: #012a7d;
    color: #ffffff;
    padding: 12px 24px;
    margin-top: 30px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #014bb7;
}


/* Responsive Design */
@media screen and (max-width: 768px) {


    .hero h1 {
        font-size: 2rem;
    }

    .services-track {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}