/* RUBRIQUE */

.rubrique1 {
    position: relative;
    padding: 10px;
    padding-bottom: 50px;
    background-color: #0A1624;
    z-index: 5;
}

.rubrique1::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, #0A1624);
    z-index: -1;
}

.rubrique1::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, transparent, #0A1624);
    z-index: -1;
}



.rubrique1 p,
.rubrique1 h5 {
    color: white;
}


.rubrique2{
    position: relative;
    background-color: #082a53;
    color: #a9a9a9;
    padding: 10px;
    background-image: url("../img/fonds/fond2.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* background-attachment: fixed; */
    padding-bottom: 70px;
}




.border_blur{
    width: 200px;
    height: 200px;
    background-color: #3498db; /* Couleur du contenu */
    box-shadow: 0 0 15px 15px rgba(0, 0, 0, 0.5); /* Ombre estompée */
    border-radius: 10px; /* Optionnel : coins arrondis */  
}





.my_titre{
    font-size: 2.5em;       /* taille typique h1 */
    text-align: center;
    vertical-align: middle;
    width: 100%;
    margin-top: 12%;
    color: #DADADA;
    text-shadow:
        0 0 5px #9370DB,
        0 0 10px #9370DB,
        0 0 15px #9370DB,
        0 0 20px #9370DB,
        0 0 25px #9370DB,
        0 0 30px #9370DB,
        0 0 35px #9370DB;
}

.accueil {
    background-image: url("../img/fonds/fond.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.titre {
    text-align: center;
    padding-top: 40px;
    background: linear-gradient(90deg, #33ccff, #ff00ff);
    -webkit-background-clip: text;
    color: transparent;
}

.titre2 {
    padding-top: 40px;
    background: linear-gradient(90deg, #33ccff, #ff00ff);
    -webkit-background-clip: text;
    color: transparent;
}

.subtitle{
    text-align: center;
    color: #71008b;
    font-size: 24px;
}

.soustitre {
    text-align: center;
    color: #DADADA;
    font-size: 24px;
    opacity: 0;
    transition: opacity 1s;
}



.urgence_btn:hover{
    box-shadow: 5px 5px 15px rgba(193, 0, 0, 0.5);
}


.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left; /* Pour s'assurer que le texte n'est pas centré */
}



.logo{
    max-width: 30%;
    transition: transform 0.5s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.logo-container{
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.fixed-logo {
    position: fixed;
    max-width: 150px; /* Ajustez cette valeur selon la taille souhaitée */
    top: 10px; /* Ajustez la position verticale */
    left: 10px; /* Ajustez la position horizontale */
    z-index: 1000; /* Assurez-vous que le logo est au-dessus des autres éléments */
}

.label {
    position: fixed;
    z-index: 1000;
    padding: 10px;
    bottom: 0;
    left: 0;
    max-width: 10%;
    transition: transform 0.5s ease;
}

.label:hover {
    transform: scale(1.1);
}

.logofix{
    position: fixed;
    z-index: 1000;
    padding: 10px;
    max-width: 8%;
    transition: transform 0.5s ease;
    opacity: 0; /* Rendre le logo invisible initialement */
    transition: opacity 0.3s; /* Ajouter une transition pour un effet fluide */
}

.logofix:hover {
    transform: scale(1.1);
}


@media (max-width: 768px) {
    .label {
        display: none;
    }
    .logofix{
        display: none;
    }
}





.card{
    background-image: url("../img/fonds/fond.png");
    color: white;
}

.card p, .card h4{
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}


.rubrique1 .card {
    /* background-color: rgba(255, 255, 255, 0.1); */
    border: 1px solid white;
    border-radius: 8px;
    margin: 10px;
    padding: 10px;
}




.separator {    
    display: block;
    width: 25%;
    height: 3px;
    background-color: rgb(0, 77, 177);
    border: none;
}

.separator-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.align{
    justify-content: center;
    text-align: center;
}


.lead{
    color: #b0b0b0;
}


.titre_align_left{
    text-align: left;
    padding-top: 40px;
    background: linear-gradient(90deg, #33ccff, #ff00ff);
    -webkit-background-clip: text;
    color: transparent;
}





.usage_container{
    border: 3px solid #ccc;
    border-radius: 20px;
    color: white;
    text-align: center;
    padding: 5px;
    background-image: url("../img/fonds/fond_boutons.png");
    transition: transform 0.3s ease-in-out;
}

.usage_container img{
    width: 15%;
}

.usage_container_description{
    border: 3px solid #ccc;
    border-radius: 20px;
    color: white;
    padding: 5px;
}

.usage_container_description h3{
    text-align: center;
}

p{
    font-family: 'Roboto', sans-serif;
}

.usage_container_description button {
    display: block;
    margin: 0 auto;
}

.usage_container:hover {
    transform: scale(1.2);
    text-decoration: none;
}

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

.besoin img{
    max-width: 80%;
    box-shadow: 5px 5px 15px rgba(16, 28, 194, 0.5);
    border-radius: 10px;
}

@media (max-width: 768px) {

    .besoin img{
        max-width: 80%;
        box-shadow: 5px 5px 15px rgba(16, 28, 194, 0.5);
        border-radius: 10px;
    }
    
    .section .col-md-6.besoin {
        margin-bottom: 20px;
        margin-top: -40px;
    }

}



.logo-container a {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.logo-container a:hover {
    text-decoration: none;
    color: #ffffff;
    transform: scale(1.1);
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

.logo-container a:active {
    text-decoration: none;
    color: #003d7a;
    transform: scale(1.05);
}



.resize .p-3{
    height: 100%;
}

.resize .p-4{
    height: 100%;
}




/* BARRE DE NAVIGATION */

/* Styles existants */
.nav_button {
    color: #ffffff;
    background-color: transparent;
    border-radius: 7px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    box-shadow: 0 1px 6px #467FF7;
    font-family: 'Roboto', sans-serif;
}

.nav_button:hover {
    color: white;
    transform: scale(1.05);
    border: 2px solid #ffcccc;
}

.nav_button.active {
    border: 2px solid #467FF7;
    color: #467FF7;
    box-shadow: 0 4px 6px #467FF7;
}

.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .nav_button {
        font-size: 12px !important;
        padding: 5px 10px !important;
        width: auto !important;
    }

    .phone_reshape {
        font-size: 25px;
    }

    .nav_center {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .navigation_button {
        color: #ffffff;
        background-color: #0A1624;
        border-radius: 7px;
        padding: 3px 20px;
        font-weight: bold;
        transition: all 0.3s ease-in-out;
        cursor: pointer;
        box-shadow: 0 1px 6px #0A1624;
        margin-right: 5px;
    }
    
    .menu-toggle {
        /* background: none; */
        border: none;
        font-size: 22px;
    }

    .dropdown-content {
        display: none;
        background-color: transparent;
        min-width: 160px;
        /* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); */
        z-index: 1;
    }

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .dropdown-content a:hover {
        background-color: #f1f1f1;
    }

    .dropdown-content.show {
        display: block;
    }


}

.nav_center_2 {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.border_nav {
    padding: 20px;
    border-radius: 10px;
    border-width: 3px;
}





.section {
    display: none;
}

.section.active {
    display: block;
}




















#progress-bar { 
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: #ffffff;
    width: 0;
    z-index: 9999;
}




#white {
    color: rgb(196, 196, 196);
}




.margin_bottom{
    margin-bottom: 30px;
}




.img3{
    background-image: url("../img/fonds/fond2.png");
}
.img4{
    background-image: url("../img/fonds/fond.png");
}
.img5{
    background-image: url("../img/fonds/fond5.png");
}
.img6{
    background-image: url("../img/fonds/fond6.png");
}
.img7{
    background-image: url("../img/fonds/fond7.png");
}

.square {
    position: relative;
    border: 3px solid #ccc;
    border-radius: 20px;
    color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 -4px 10px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    padding: 40px 20px 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    text-align: center;
    text-decoration: bold;
    height: 100%;
}

.no-underline a:hover {
    text-decoration: none;
}

.square p{
    text-align: justify;
    margin-top: 7%;
}

.square:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 81, 255, 0.3), inset 0 -4px 10px rgba(255, 255, 255, 0.15);
}

.corner-image {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 70px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;

}

.square:hover .corner-image {
    transform: rotate(-10deg) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.square-title {
    margin-top: 80px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.square-text {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
    color: #e0e0e0;
}

.square-link {
    text-decoration: none;
}

.square-link:hover {
    text-decoration: none;
}

select{
    background-color: #0A1624;
    color: white;
    border-radius: 3px;
    padding: 3px;
}




/* Style pour les toasts */
.toast2 {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    z-index: 1000;
    display: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.toast-success {
    background-color: #4CAF50; /* Vert */
}

.toast-error {
    background-color: #f44336; /* Rouge */
}
