body{
    scroll-behavior: smooth;
}

nav.navbar.bg-primary {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: linear-gradient(135deg, rgba(75, 139, 255, 0.95), rgba(28, 63, 207, 0.95));
    box-shadow: 0 10px 24px rgba(17, 45, 105, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

body {
    padding-top: 72px;
}

nav.navbar.bg-primary .navbar-brand,
nav.navbar.bg-primary .nav-link {
    color: #f8f9fa !important;
}

nav.navbar.bg-primary .nav-link:hover,
nav.navbar.bg-primary .nav-link.active {
    color: #e2efff !important;
}

nav.navbar.bg-primary .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.55);
}

nav.navbar.bg-primary .navbar-toggler-icon {
    filter: brightness(1.3) invert(0.9);
}

section{
    height: auto;
}
/*
     la section hero
*/

#hero_section
{
    /*background-image: url("../Images/work.png");*/
    background-size: cover;
    background-position: center;
    height: 100vh;
    align-items: center;
    text-align: center;
    justify-content: center;
}

#hero_section h1
{
    color: rgb(37, 145, 223);
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 20px;
}

#hero_section p
{
    color: green;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    line-height: 1.4;
    margin-bottom: 30px;
}

h3
{
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
    color: #333;
    text-transform: capitalize;
}

h4
{
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    letter-spacing: 0.3px;
    text-transform: capitalize;
}

h6
{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.1);
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

h5{
    text-transform: capitalize;
}

/* fin section hero*/

/* la div de deco*/
.deco_div
{

    height:50vh ;
    background-image: url(/Assets/Images/villa-house-model-key-drawing-retro-desktop-real-estate-sale-concept.jpg);
    background-origin: initial;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.deco_div1
{

    height:50vh ;
    background-image: url(/Assets/Images/villa-house-model-key-drawing-retro-desktop-real-estate-sale-concept.jpg);
    background-origin: initial;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.deco_div2
{

    height:50vh ;
    background-image: url(/Assets/Images/villa-house-model-key-drawing-retro-desktop-real-estate-sale-concept.jpg);
    background-origin: initial;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
/*fin div de deco*/

/*
    ajout des images e bg sur les div de services
*/

.nettoyage{
    
    border-radius: 10px;
    overflow: hidden;
}

.froid{
    
    border-radius: 10px;
    overflow: hidden;
}

.informatique{
    
    border-radius: 10px;
    overflow: hidden;
}

.immo{
    border-radius: 10px;
    overflow: hidden;
}




/*le slignes*/
hr{
    height: 6px;
    background-color:rgb(37, 145, 223);
}


/*
    les differents points de chaque service
*/

.nettoyage_services
{
    border-right: 3px solid rgb(221, 211, 70);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(221, 211, 70, 0.1));
    color: #333;
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(221, 211, 70, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    line-height: 1.4;
}

.nettoyage_services:hover
{
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(221, 211, 70, 0.25);
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(221, 211, 70, 0.15));
    border-right-color: rgb(255, 193, 7);
}

.froid_service
{
    border-right: 3px solid rgb(76, 175, 80);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(76, 175, 80, 0.1));
    color: #333;
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    line-height: 1.4;
}

.froid_service:hover
{
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.25);
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(76, 175, 80, 0.15));
    border-right-color: rgb(25, 135, 84);
}

.informatique_service
{
    border-right: 3px solid rgb(37, 145, 223);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(37, 145, 223, 0.1));
    color: #333;
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(37, 145, 223, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    line-height: 1.4;
}

.informatique_service:hover
{
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 145, 223, 0.25);
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(37, 145, 223, 0.15));
    border-right-color: rgb(13, 110, 253);
}

.immo_service
{
    border-left: 4px solid rgb(37, 145, 223);
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(37,145,223,0.14));
    color: #212529;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    border-radius: 1rem 0.8rem 0.8rem 1rem;
    box-shadow: 0 14px 28px rgba(13, 45, 80, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    line-height: 1.6;
    font-weight: 600;
}

.immo_service:hover
{
    transform: translateY(-4px);
    box-shadow: 0 20px 34px rgba(13, 45, 80, 0.16);
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(37,145,223,0.2));
}

/**/
marquee
{
    font-size: 1.5em;
    font-weight: 600;
}

/* Améliorations des cartes */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Fonds accentués pour chaque service */
.nettoyage .card {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 235, 59, 0.25));
}

.immo .card {
    background: linear-gradient(135deg, rgba(37, 145, 223, 0.15), rgba(100, 181, 246, 0.25));
}

.froid .card {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(129, 199, 132, 0.25));
}

.informatique .card {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15), rgba(186, 104, 200, 0.25));
}

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

.nettoyage .card:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.25), rgba(255, 235, 59, 0.35));
}

.immo .card:hover {
    background: linear-gradient(135deg, rgba(37, 145, 223, 0.25), rgba(100, 181, 246, 0.35));
}

.froid .card:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(129, 199, 132, 0.35));
}

.informatique .card:hover {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.25), rgba(186, 104, 200, 0.35));
}

.card-body {
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.card .bi {
    transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover .bi {
    transform: scale(1.1);
    color: #2591df !important;
}

.card-title {
    margin-top: 1rem;
    font-weight: 600;
    color: #333;
}

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

/* Styles pour les cartes des partenaires */
.partenaie_div {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 15px;
    min-height: 200px;
}

.partenaie_div:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../Images/black-businessman-happy-expression.jpg");
    background-size: cover;
    background-position: center;
}

.partenaie_div:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../Images/work.png");
    background-size: cover;
    background-position: center;
}

.partenaie_div:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../Images/close-up-hvac-system-manometers.jpg");
    background-size: cover;
    background-position: center;
}

.partenaie_div:nth-child(4) {
    background-image: linear-gradient(135deg, rgba(37, 145, 223, 0.4), rgba(255, 193, 7, 0.2));
    background-size: cover;
    background-position: center;
}

.partenaie_div:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.partenaie_div .card-body {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 10px;
    position: relative;
    z-index: 2;
}

.partenaie_div .partner-icon {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Boules de décoration pour la section contact */
#section_contact {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#section_contact::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #2591df, #4dabf7);
    border-radius: 50%;
    opacity: 0.25;
    animation: float 6s ease-in-out infinite;
}

#section_contact::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    border-radius: 50%;
    opacity: 0.25;
    animation: float 8s ease-in-out infinite reverse;
}

.contact-decoration-1 {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #28a745, #20c997);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 7s ease-in-out infinite;
}

.contact-decoration-2 {
    position: absolute;
    top: 60%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #dc3545, #e83e8c);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 9s ease-in-out infinite reverse;
}

.contact-decoration-3 {
    position: absolute;
    bottom: 30%;
    left: 20%;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #6f42c1, #e91e63);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 5s ease-in-out infinite;
}

.contact-decoration-4 {
    position: absolute;
    top: 40%;
    right: 5%;
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #17a2b8, #28a745);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Loader de la page */
body.loading {
    overflow: hidden;
}

.loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loader-spinner {
    width: 70px;
    height: 70px;
    border: 8px solid rgba(37, 145, 223, 0.2);
    border-top-color: #2591df;
    border-radius: 50%;
    animation: spin 1.1s linear infinite;
}

.loader-text {
    margin: 0;
    font-weight: 700;
    color: #2591df;
    letter-spacing: 0.1em;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Style pour le formulaire de contact */
#section_contact .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

#section_contact .form-control:focus {
    border-color: #2591df;
    box-shadow: 0 0 0 0.2rem rgba(37, 145, 223, 0.25);
}

#section_contact .btn-primary {
    background: linear-gradient(45deg, #2591df, #4dabf7);
    border: none;
    border-radius: 25px;
    padding: 10px 30px;
    transition: all 0.3s ease;
}

#section_contact .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 145, 223, 0.4);
    background: linear-gradient(45deg, #1e7bb6, #3d9bf0);
}


