:root{
    --gradient: linear-gradient(90deg, #166534cc, #036aa1cc) center center, url('./images/mains.png');
}
.hero .img-container
{
    height: 400px;
    background-position-y: 35%;
}

.hero .img-container .wrapper
{
    top: 40%;
}

.hero .img-container .wrapper .content .title
{
    margin: 0 auto;
    text-align: center;
    max-width: 70%;
    letter-spacing: -1.2%;
}

.hero .img-container .wrapper .content .explain
{
    max-width: 50%;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 768px) {
   
    .hero .img-container .wrapper .content .title
    {
        text-align: start;
        max-width: 90%;
        margin-left: 0;
        line-height: 40px;
    }

    .hero .img-container .wrapper .content .explain
    {
        text-align: start;
        margin: 0 unset;
        max-width: unset;   
    }

    .hero .img-container .wrapper
    {
        top: 30%;
    }

}



.partners-section {
    margin-top: 60px;
    width: 100%;
    padding: 50px 0;
    overflow-x: clip;
}

.partners-content-container {
    max-width: var(--max-cont_size);
    margin: 0 auto;
    width: 92%;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-direction: row;
}

.partners-image-wrapper {
    flex: 1;
    min-width: 0; /* Empêche le débordement sur les petits écrans */
    position: relative;
    overflow: hidden;
    border-radius: 10px; /* Bordures légèrement arrondies */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Ombre pour donner du relief */
}

.partners-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transform: scale(1.1); /* Prépare l'image pour un effet de zoom avec GSAP */
    transition: transform 0.3s ease-in-out; /* Ajoute une transition pour l'effet de survol */
}

.partners-image-wrapper:hover .partners-image {
    transform: scale(1);
}

.partners-text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.partners-heading-wrapper {
    overflow: hidden; /* Prépare pour l'animation du titre */
}

.partners-title {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    background: var(--simple-gradient);
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    transform: translateY(100%); /* Masque le titre pour l'animation GSAP */
}

.partners-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563; /* Couleur de texte plus foncée */
    opacity: 0; /* Masque les descriptions pour l'animation GSAP */
}

/* --- Responsivité pour les écrans plus petits --- */
@media (max-width: 768px) {
    .partners-content-container {
        flex-direction: column;
    }
    
    .partners-image-wrapper {
        width: 100%;
    }
}

.partners-strategic-section {
    width: 100%;
    padding: 80px 0;
    overflow-x: clip;
    background: var(--second-part-gradient); /* Fond clair pour la section */
}

.partners-strategic-container {
    max-width: var(--max-cont_size);
    margin: 0 auto;
    text-align: center;
    width: 92%;
}

.partners-strategic-title {
    font-size: 36px;
    margin-bottom: 50px;
    font-size: 28px;
    font-weight: 600;
    background: var(--simple-gradient);
    background-clip: text;
    color: transparent;
    opacity: 0; /* Caché pour l'animation */
    transform: translateY(20px); /* Décalé pour l'animation */
}

.partners-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.partner-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Add a transition for both properties */
    text-align: left;
}

.partner-card:hover {
    transform: translateY(-5px); /* Lifts the card up by 5 pixels */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Makes the shadow more pronounced */
}

.partner-card-image-wrapper {
    height: 150px;
    overflow: hidden;
    position: relative;
}

.partner-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.partner-card-content {
    padding: 25px;
}

.partner-card-title {
    font-size: 1.25rem;
    color: #10555C; /* Vert vif */
    margin-bottom: 10px;
}

.partner-card-description {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.partner-card-link {
    display: inline-block;
    color: #10555C;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.partner-card-link:hover {
    color: #004d40;
}

.partners-strategic-footer {
    font-size: 1rem;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto;
}


.join-partners-section {
    width: 100%;
    padding: 80px 0;
    overflow-x: clip;
    background: var(--light-bg);
}

.join-partners-container {
    max-width: var(--max-cont_size);
    margin: 0 auto;
    text-align: center;
    width: 92%;
}

.join-partners-title {
    font-size: clamp(28px, 4vw, 32px);
    font-weight: 600;
    background: var(--simple-gradient);
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.join-partners-description {
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
    color: var(--text-color);
    max-width: 1000px;
    margin: 0 auto 50px;
}

.join-partners-content {
    display: flex;
    gap: 30px;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
}

.join-partners-benefits-card,
.join-partners-form-card {
    flex: 1;
    min-width: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    background-color: white;
}

.join-partners-benefits-card .card-title,
.join-partners-form-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--simple-gradient);
    background-clip: text;
    color: transparent;
    margin-bottom: 25px;
}



.benefit-item {
    display: grid;
    grid-template-columns: 1fr 6fr;
    margin-bottom: 20px;
}

.benefit-text
{
    display: flex;
    align-items: start;
    flex-direction: column;
}


.i-container
{
    padding: 5px;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(16, 84, 92, 0.1);
}

.benefit-icon {
    font-size: 25px; /* Définir la taille de la police */
    background: var(--simple-gradient); /* Appliquer la couleur */
    background-clip: text;
    color: transparent;
    width: 60px; /* S'assurer d'une largeur fixe */
    text-align: center;
}
.benefit-title {
    font-size: 1.15rem;
    color: var(--main-green);
    margin-bottom: 5px;
}

.benefit-description {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
    align-self: start;
}




.join-partners-form-card {
    background: var(--simple-gradient);
    color: white;
}
.join-partners-form-card .card-title {
    color: var(--white-bg);
}

.form-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: auto; /* Pousse le bouton vers le bas */
}

.join-partners-button {
    background: var(--second-part-gradient);
    border: none;
    color: #10555C;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    margin-top: 25px;
    width: max-content;
    align-self: center;
}

.join-partners-button:hover {
    transform: scale(1.05);
}

/* Initial state for GSAP animations */
.join-partners-benefits-card {
    transform: translateX(-100px);
    opacity: 0;
}

.join-partners-form-card {
    transform: translateX(100px);
    opacity: 0;
}

/* Responsivité pour les écrans plus petits */
@media (max-width: 768px) {
    .join-partners-content {
        flex-direction: column;
        gap: 20px;
    }
}

.partners-contact-section {
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
    background: var(--second-part-gradient);
    text-align: center;
}

.partners-contact-container {
    max-width: 800px;
    margin: 0 auto;
    width: 92%;
}

.partners-contact-title {
    font-size: clamp(28px, 4vw, 32px);
    font-weight: 600;
    background: var(--simple-gradient);
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.partners-contact-description {
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
    color: var(--text-color);
    max-width: 1100px;
    margin: 0 auto 30px;
    opacity: 0;
    transform: translateY(30px);
}

.contact-us-button {
    background-color: #10545ca2;
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.contact-us-button:hover {
    background-color: #10555C;
}