/* 
#FFB30A
#FABC3F
#1A3962 
#FEFDED */

@font-face {
    font-family: "ConcettaKalvaniSignature";
    src: url('fonts/ConcettaKalvaniSignature.ttf') format('truetype');
}

@font-face {
    font-family: "Against";
    src: url('fonts/againstregular.ttf') format('truetype');
}

@font-face {
    font-family: "Quicksand";
    src: url('fonts/Quicksand_Light.otf') format('opentype');
}

body, html {
    margin: 0;
    padding: 0;
    color: #FEFDED !important;
    background: #1A3962; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #0e1b3b, #1A3962, #25324f); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #0e1b3b, #1A3962, #25324f);
    /* font-family: "arial"; */
}

h1 {
    font-family: "Against";
    color: #FEFDED !important;
    align-items: center;
    text-align: center;
}

h2 {
    font-size: 2rem;
    font-family: 'Arial', sans-serif;
    color: #1A3962 !important;
    letter-spacing: 2px;
}

p {
    text-align: justify;
    font-family: "Quicksand";
    color: #FEFDED !important;
}

li{
    font-family: "Quicksand";
}

.liste{
    font-family: "Quicksand";
    padding: 30px;
}

.navbar {
    display: flex;
    align-items: center;
    background: #FEFDED; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #e3ddd3, #FEFDED, #e3ddd3);
    background: linear-gradient(to right, #e3ddd3, #FEFDED, #e3ddd3);
    border-bottom: 1px solid #1A3962;
}

.logo {
    font-family: "ConcettaKalvaniSignature";
    font-weight: 500;
    color: #1A3962;
}

.navbar .menu {
    align-items: center;
}

.navbar a {
    text-decoration: none;
    color: #1A3962;
    position: relative;
    font-family: "Against";
}

.navbar a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: #1A3962; 
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.navbar .menu a:hover::after {
    width: 100%;
}

.navbar .language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1A3962;
    top: 50%;
    font-size: 0.9em;
    padding-right: 20px;
}

.navbar .language-switcher a {
    text-decoration: none;
    color: #1A3962;
}

.navbar .menu-toggle {
    font-size: 1.5em;
    color: #1A3962;
    cursor: pointer;
}

/* style index.html */

.background-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.img-background {
    height: auto;
    object-fit: cover; 
}

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

.imgRomain1 {
    height: auto;
    filter: drop-shadow(5px 5px 40px #0e2139);
}

.container-form {
    max-width: 1200px;
    background-color: #FEFDED !important;
    filter: drop-shadow(5px 5px 40px #0e2139);
    overflow: hidden;
}

.image-right {
    width: 100%;
    border-radius: 290px;
    height: auto;
    object-fit: cover;
    box-shadow: grey 5px 5px 50px 3px;
}

.hero-text h1 {
    font-family: 'Against', sans-serif;
    margin: 0;
    letter-spacing: 2px;
    color: rgba(254, 253, 237, 0.9) !important;
}

.hero-text p {
    align-items: center;
    text-align: center;
    letter-spacing: 1.5px;
}

.hero-text {
    position: absolute;
    text-shadow: 8px 0px 10px rgba(0, 0, 0, 0.6);
}

.image-section {
    flex: 1;
}

.form-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #FEFDED !important;
}

.form-title {
    text-align: center;
    margin-bottom: 20px;
}

.form-label {
    font-size: 1rem;
    color: #333 !important;
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid #1A3962 !important;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    background-color:#FEFDED !important;
    color: #1A3962 !important;
}

.form-control:focus {
    border-color: #1A3962 !important;
    box-shadow: none;
}

.btn-submit {
    background-color: #1A3962 !important;
    color: #FEFDED !important;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #14476e !important;
}

.hero-section {
    position: relative;
    text-align: center;
    color: white;
}

.hero-image {
    width: 100%;
    height: auto;
}

/* style services.html */

.services-section1 {
    display: flex;
    align-items: center;
    padding: 50px 20px;
}

.img-services1 {
    height: auto;
    border-radius: 50%;
    box-shadow: #0e2139 5px 5px 50px 3px;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55), filter 0.4s ease;
    border: 8px solid transparent;
}

.img-services1:hover {
    transform: scale(1.2) rotate(-3deg);
    box-shadow: #0e2139 15px 15px 80px 10px;
}

.services-section2{
    display: flex;
    align-items: center;
    padding: 50px 20px;
}

.img-services2 {
    height: auto;
    border-radius: 50%;
    box-shadow: #0e2139 5px 5px 50px 3px;
    border: 3px solid transparent; 
    transition: transform 0.4s ease, filter 0.4s ease, border-color 0.4s ease;
    filter: grayscale(100%); 
}

.img-services2:hover {
    transform: scale(1.05); 
    filter: grayscale(0%) brightness(1.1); 
    border: 3px solid transparent; 
}

.services-section3 {
    display: flex;
    align-items: center;
    padding: 50px 20px;
}

.img-services3 {
    height: auto;
    border-radius: 50%; 
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 16px; 
    border: 5px solid #1A3962; 
    transition: transform 0.6s ease, filter 0.6s ease, box-shadow 0.6s ease;
}

.img-services3:hover {
    transform: rotate(5deg) scale(1.1); 
    filter: brightness(1.1); 
    box-shadow: rgba(0, 0, 0, 0.35) 0px 12px 24px; 
    border-color: #f5c07d;
}

.services-text {
    padding: 30px 30px;
    font-size: 1.4rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
}

.services-text:hover {
    text-shadow: 0 0 10px;
}

.services-text:hover::after {
    transform: translateX(0);
}

.services-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 3px;
    width: 0;
    background-color: #1A3962;
    transition: width 0.4s ease;
}

.services-text:hover::before {
    width: 100%;
}

.services-text p {
    line-height: 1.6;
}

/* footer */

footer {
    background: #FEFDED; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #e3ddd3, #FEFDED, #e3ddd3);
    background: linear-gradient(to right, #e3ddd3, #FEFDED, #e3ddd3);
    color: #1A3962; /* Couleur du texte */
    padding: 20px 0; /* Espacement vertical */
}

footer a {
    font-size: 16px;
    color: #1A3962; /* Couleur des liens */
    text-decoration: none; /* Pas de soulignement */
}

footer a:hover {
    text-decoration: underline; /* Soulignement au survol */
}

footer h5 {
    font-size: 18px;
    font-family: "Against"; /* Police pour les titres */
    margin: 25px; /* Espace en bas des titres */
}

footer p {
    font-size: 16px;
    color: #1A3962 !important;
    padding: 0;
    margin: 5px 0; /* Espace autour des paragraphes */
}

.social-icons a {
    margin-right: 15px; /* Espacement entre les icônes sociales */
    font-size: 1.5em; /* Taille des icônes */
}

/* Responsive desktop */
@media (min-width: 1309px) {

    .navbar {
        padding: 20px 50px;
        font-size: 1.5em;
    }

    .logo {
        font-size: 1.5em;
        padding: 15px;
        margin-left: 10px;
        margin-top: 10px;
    }

    .navbar .menu {
        display: flex;
        gap: 50px;
    }

    .navbar .social-icons {
        display: flex;
        align-items: center;
        gap: 15px;
        color: #1A3962;
    }

    .navbar .social-icons a {
        text-decoration: none;
        color: #1A3962;
    }

    .navbar .language-switcher {
        right: 5%;
    }

    .navbar .menu-toggle {
        margin-right: 20px;
    }

    h1 {
        font-size: 3em !important;
        padding: 60px 0px 40px;
    }

    p {
        font-size: 1.5em;
        padding: 100px 0px;
    }

/* style index.html */

    .background-container {
        height: 800px; 
    }
    
    .img-background {
        width: 2100px;
        max-height: 800px; 
        object-position: center -200px; 
    }

    .separator {
        margin-bottom: 90px;
    }

    .imgRomain1 {
        width: 600px;
        border-top-right-radius: 10%;
        border-bottom-right-radius: 10%;
    }

    .aPropos-text {
        font-size: 1.5em;
        padding: 0px 150px;
        text-align: justify;
        font-family: "Quicksand";
    }

    .container-form {
        margin: 30px auto;
        border-top-left-radius: 30px;
        border-bottom-left-radius: 30px;
        border-top-right-radius: 290px;
        border-bottom-right-radius: 290px;
    }

    .hero-text h1 {
        font-size: 4rem !important;
    }
    
    .hero-text p {
        font-size: 2rem;
        margin-top: 10px;
    }

    .hero-text {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -35%);
    }

    /* style services.html */

    .services-section1 {
        flex-direction: row;
    }
    
    .img-services1 {
        width: 40%;
    }
    
    .services-section2{
        flex-direction: row;
    }
    
    .img-services2 {
        width: 40%;
    }
    
    .services-section3 {
        flex-direction: row;
    }
    
    .img-services3 {
        width: 40%;
    }

    .services-text {
        align-items: center;
        text-align: center;
        list-style: none;
    } 

    footer .col-md-4 {
        justify-content: space-between;
        flex: 0 0 auto;
        width: 25%;
    }
    
}

/* Responsive tablette */
@media (min-width: 992px) and (max-width: 1308px) {

    .navbar {
        padding: 20px 50px;
        font-size: 1.2em;
    }

    .logo {
        font-size: 1.5em;
        padding: 15px;
    }

    .navbar .menu {
        display: flex;
        gap: 25px;
    }

    .navbar .social-icons {
        display: none;
    }

    .navbar .language-switcher {
        gap: 10px;
        margin-left: 30px;
        right: 10%;
    }

    .hidden {
        display: none;
    }

    .responsiveNav {
        display: flex;
        align-items: center;
        margin-left: 50%;
    }

    .navbar .menu-toggle {
        padding:0px 20px;
    }

    
    h1{
        font-size: 2em !important;
        padding: 40px 0px 10px;
    }

    p {
        font-size: 1.4em;
        padding: 30px;
    }

/* style index.html */

    .background-container {
        height: 600px; 
    }
    
    .img-background {
        width: 1308px;
        max-height: 600px; 
        object-position: center -100px; 
    }

    .imgRomain1 {
        width: 400px;
        border-top-right-radius: 10%;
        border-bottom-right-radius: 10%;
    }

    .container-form {
        margin: 10px auto;
        border-top-left-radius: 30px;
        border-bottom-left-radius: 30px;
        border-top-right-radius: 290px;
        border-bottom-right-radius: 290px;
    }

    .form-section {
        padding: 20px;
        margin-left: 20px;
    }
    
    .hero-text p {
        font-size: 1.5rem;
        padding: 40px 0px;
    }

    .hero-text {
        top: 40%;
        left: 50%;
        transform: translate(-50%, -35%);
    }

    /* style services.html */

.services-section1 {
    flex-direction: column-reverse;
}

.img-services1 {
    width: 60%;
}

.services-section2{
    flex-direction: column;
}

.img-services2 {
    width: 60%;
}

.services-section3 {
    flex-direction: column-reverse;
}

.img-services3 {
    width: 60%;
}

footer .col-md-4 {
    justify-content: space-between;
    flex: 0 0 auto;
    width: 50%;
    margin-top: 50px;
}
}

/* Responsive mobile */
@media (max-width: 991px) {

    .navbar {
        padding: 20px 20px;
        font-size: 1.2em;
        position: relative;
    }

    .logo {
        font-size: 1.5em;
        flex-grow: 1;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .navbar .menu {
        display: none;
        gap: 30px;
        margin-left: 6%;
    }

    .navbar a {
        font-size: 0.7em;
    }

    .hidden {
        display: none;
    }  

    .responsiveNav {
        display: flex;
        align-items: center;
        margin-right: 5%;
            }

    .navbar .language-switcher {
        right: 3%;
        gap: 5px;
    }
    
    h1{
        font-size: 1.5em !important;
        padding: 20px 0px;
    }
    
    p {
        position: 2;
        font-size: 1em !important;
        padding: 20px;
    }

    li {
        font-size: 1em !important;
    }

    ul {
        font-size: 1em !important;
    }

    /* style index.html */

    .background-container {
        height: 400px; 
    }
    
    .img-background {
        width: 1000px;
        max-height: 600px; 
        object-position: center -70px; 
    }

    .separator {
        flex-direction: column;
    }

    .imgRomain1 {
        position: 1;
        width: 400px;
        border-radius: 15px;
    }

    .container-form {
        margin: -10px auto;
        border-top-left-radius: 290px;
        border-bottom-left-radius: 30px;
        border-top-right-radius: 290px;
        border-bottom-right-radius: 30px;
    }

    .image-right {
        margin-bottom: 40px;
    }

    .hero-text h1 {
        margin-top: -75%;
        font-size: 2.2rem !important;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-top: -50px;
        padding: 40px 0px;
    }

    .hero-text {
        top: 40%;
        left: 50%;
        transform: translate(-50%, -45%);
    }

/* Style services.html */

    .services-section1 {
        flex-direction: column-reverse;
    }
    
    .img-services1 {
        width: 90%;
    }
    
    .services-section2{
        flex-direction: column;
    }
    
    .img-services2 {
        width: 90%;
    }
    
    .services-section3 {
        flex-direction: column-reverse;
    }
    
    .img-services3 {
        width: 90%;
    }

    footer .col-md-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (min-width: 600px) and (max-width: 991px) {
    .hero-text h1 {
        margin-top: -30% !important;
        font-size: 2.9rem !important;
    }
}




