/* Global styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f4f7fc;
    color: #333;
}

a {
    text-decoration: none;
}

/* Header styles */
header {
    background-color: #1565c0;
    color: #fff;
    padding: 20px 0;
    animation: fadeIn 2s ease-out;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header .contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #fff;
    gap: 20px;
    text-align: center;
    animation: slideIn 1s ease-out;
}

header .contact-info img {
    height: 40px;
    padding: 10px;
    background-color: white; /* White background for the frame */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow */
}

header .contact-info i {
    margin-right: 5px;
    color: #fff;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding: 0;
}

header nav ul li a {
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #ffe600;
}

header .btn {
    background-color: #ffe600;
    color: #1565c0;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

header .btn:hover {
    background-color: #0d47a1;
    color: #fff;
}

/* Footer styles */
.footer {
    background-color: #1565c0;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    animation: fadeIn 2s ease-out;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    text-align: center;
}


.footer h3 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.footer h3::after {
    content: '';
    width: 50px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #fff;
    font-size: 14px;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: #ffe600;
}

.footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}


.footer .social-icons img {
    width: 30px; /* Largeur de l'image */
    height: 30px; /* Hauteur de l'image */
    max-width: 100%; /* Empêche les images de dépasser la largeur de leur conteneur */
    display: inline-block; /* Permet un alignement horizontal */
    margin: 0 5px; /* Espacement entre les icônes */
}



.footer .newsletter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.footer .newsletter input {
    padding: 10px;
    width: 200px;
    border-radius: 5px;
    border: 2px solid #fff;
    font-size: 14px;
}

.footer .newsletter button {
    background-color: #ffe600;
    color: #1565c0;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.footer .newsletter button:hover {
    background-color: #0d47a1;
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    animation: fadeIn 3s ease-out;
}

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

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

















#HeaderMobile {
    display: none; /* Masqué par défaut sur les grands écrans */
}

/*Responsive Design Header*/

@media (max-width: 810px) {
    header {
        display: none;
    }

    #HeaderMobile {
        display: block; /* Visible uniquement en mode mobile */
    }

    #HeaderMobile .top-bar {
        background-color: #007bff;
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 20px;
        width: 100%;
        gap: 20px;
    }
    #HeaderMobile .top-bar span {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    #HeaderMobile .top-bar img {
        height: 16px;
    }
    #HeaderMobile .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        background-color: white;
        width: 100%;
    }
    #HeaderMobile .logo {
        height: 50px;
    }
    #HeaderMobile .menu-container {
        position: relative;
    }
    #HeaderMobile .toggle-btn {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 24px;
        padding: 10px;
    }
    #HeaderMobile .menu {
        display: none;
        position: absolute;
        top: 50px;
        right: 0;
        background: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 5px;
        width: 250px;
        overflow: hidden;
        transition: all 0.3s ease-in-out;
    }
    #HeaderMobile .menu a {
        display: flex;
        align-items: center;
        padding: 12px;
        text-decoration: none;
        color: #333;
        border-bottom: 1px solid #ddd;
        font-size: 16px;
        font-weight: bold;
        transition: background 0.3s, color 0.3s;
    }
    #HeaderMobile .menu a:hover {
        background-color: #007bff;
        color: white;
    }
    #HeaderMobile .menu a:last-child {
        border-bottom: none;
    }
    #HeaderMobile .close-btn {
        position: absolute;
        top: 15px;
        right: 35px;
        font-size: 24px;
        cursor: pointer;
        background: none;
        border: none;
        color: #333;
    }

    #HeaderMobile .top-bar {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    #HeaderMobile .header {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    #HeaderMobile .menu {
        width: 100%;
        right: 0;
        left: 0;
        text-align: left;
        border-radius: 0;
        position: fixed;
        top: 60px;
        z-index: 1000;
        display: none;
    }
    #HeaderMobile .menu.show {
        display: block;
    }
}





#FooterMobile {
    display: none; /* Masqué par défaut sur les grands écrans */
}


/* Responsive Design */
@media (max-width: 810px) {
   .footer .container {
        display: none;
    }

    #FooterMobile{
        display: block; /* Visible uniquement en mode mobile */
    }

    #FooterMobile .footer {
        text-align: center;
    }


    /* Footer */
    #FooterMobile .footer {
        background: #2D3E94;
        color: #F1F1F1;
        padding: 50px 20px;
        text-align: left;
        font-size: 15px;
    }

    #FooterMobile .footer .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
    }

    #FooterMobile .footer-section {
        flex: 1;
        min-width: 250px;
    }

    #FooterMobile .footer-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
        color: #FFD700;
    }

    #FooterMobile .footer-section ul {
        list-style-type: none;
        padding: 0;
    }

    #FooterMobile .footer-section ul li {
        margin-bottom: 10px;
    }

    #FooterMobile .footer-section ul li a {
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    #FooterMobile .footer-section ul li a:hover {
        color: #FFD700;
    }

    #FooterMobile .social-icons {
        display: flex;
        gap: 10px;
    }

    #FooterMobile .social-icons a img {
        width: 30px;
        height: 30px;
        transition: transform 0.3s ease;
    }

    #FooterMobile .social-icons a img:hover {
        transform: scale(1.1);
    }

    #FooterMobile .newsletter {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #FooterMobile .newsletter input {
        padding: 10px;
        width: 100%;
        max-width: 250px;
        border-radius: 5px;
        border: none;
        margin-bottom: 10px;
    }

    #FooterMobile .newsletter button {
        background-color: #FFD700;
        color: white;
        border: none;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        transition: background 0.3s ease;
        width: 100%;
        max-width: 250px;
    }

    #FooterMobile .newsletter button:hover {
        background-color: #E6C200;
    }

    #FooterMobile .footer-bottom {
        text-align: center;
        margin-top: 20px;
        font-size: 13px;
        color: white;
    }


    #FooterMobile .footer .container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    #FooterMobile .footer-section {
        min-width: 100%;
    }

    #FooterMobile .social-icons {
        justify-content: center;
    }

    #FooterMobile .newsletter {
        width: 100%;
        max-width: 300px;
    }
}
