html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.backg {
    background-image: url('/images/back01.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 80vh;
    border-image:fill 0 linear-gradient(#0003,#000);
   
}
/*****back video*/
/**.hero-header {
    
    background-image: url('/images/back01.png'); 
    background-size: cover;
    color:antiquewhite;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-image: fill 0 linear-gradient(#0003,#000);
}

    .hero-header .overlay {
        background-color: rgba(0, 0, 0, 0); /* Assombrir pour lisibilité 
        width: 100%;
        height: 100%;
        display: flex;

        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 2rem;
    }


Sidebar fixe */

.hero-header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center; /* Centre vertical */
    justify-content: center; /* Centre horizontal */
   
    
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.7) saturate(1.2);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: -1;
}

/* Conteneur du texte */
.hero-header .container {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

/* Titre principal */
.hero-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    letter-spacing: 1px;
    animation: fadeInDown 1.2s ease-out;
}

/* Paragraphe */
.hero-header p.lead {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 700px;
    margin: 1rem auto 2rem;
    text-shadow: 0 3px 10px rgba(0,0,0,0.7);
    animation: fadeInUp 1.5s ease-out;
}

/* Bouton */
.hero-header .btn {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
   
}

    .hero-header .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    }

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}





.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 220px;
    z-index: 100;
    padding-top: 60px; /* ajuste si tu as un header */
    background-color: #343a40; /* ou une autre couleur */
    overflow-x: hidden;
    overflow-y: auto;
}

.main-content {
    margin-left: 220px; /* même largeur que la sidebar */
    padding: 20px;
}

body {
    overflow-x: hidden;
}

.sidebar {
    min-height: 100vh;
    background-color: #343a40;
}

    .sidebar .nav-link {
        color: #ddd;
        padding: 12px 20px;
        transition: all 0.3s;
    }

        .sidebar .nav-link:hover,
        .sidebar .nav-link.active {
            background-color: #495057;
            color: #fff;
        }

    .sidebar .dropdown-menu {
        background-color: #343a40;
        border: none;
    }

    .sidebar .dropdown-item {
        color: #ddd;
    }

        .sidebar .dropdown-item:hover {
            background-color: #495057;
            color: #fff;
        }

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 220px;
        z-index: 1040;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

        .sidebar.show {
            transform: translateX(0);
        }

    .main-content {
        margin-left: 0 !important;
        padding: 1rem;
    }

    #sidebarToggle {
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1050;
    }
}

.main-content {
    margin-left: 220px;
    padding: 2rem;
}

footer {
  
}

@media (max-width: 768px) {
    footer {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hero-header {
        height: 60vh; /* Ajuste la hauteur pour les écrans plus petits */
    }
}



.table-responsive {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .btn {
        font-size: 0.8rem;
    }

    .table th, .table td {
        white-space: nowrap;
    }
}


/* Mobile: réduire la hauteur du sidebar */
@media (max-width: 768px) {
    .border-end

{
    border-right: none !important;
    border-bottom: 1px solid #ddd;
}

.col-12.col-md-8 {
    max-height: 75vh;
}

}



/* Fin sidebar fixe */



.cleaning-offer {
    background: linear-gradient(135deg, #99a5ca, #f0f4f8);
}

.image-wrapper img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .image-wrapper img:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    }

.price-tag {
    background: linear-gradient(135deg, #1875D0, #4A90E2);
    color: white;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgb(84, 84, 247);
}

    .price-tag .small {
        font-size: 1rem;
        display: block;
    }

    .price-tag .amount {
        font-size: 2rem;
        padding: 5px;
    }

/***Alerte*/
/* Overlay sombre */
.promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    z-index: 1040;
}

/* Boîte promo */
.promo-box {
   
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    max-width: 400px;
    width: 100%;
    z-index: 1050;
    display: none;
    animation: popIn 0.5s ease forwards;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/*Temoignages*/
.review-stars {
    font-size: 1.6rem;
    color: #FFD700; /* Jaune doré */
    margin-bottom: 0.3rem;
    font-weight: bold;
    display: flex;
    align-content: center;
    justify-content: center;
}

.steps-item {
    border: 1px solid #eee;
    padding:0px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.steps-content h3, .steps-content h5 {
    margin-top: 0;
    font-weight: bold;
}

.steps-content p {
    margin-bottom: 0;
}

.expert {
    width: 10px;
    height: 3vh;
    color:white;
    
    display: flex;
    align-content: center;
    justify-content: center;
}
.expert-text {
    padding: 3px,3px;
    background-color: var(--contrast-color);
}


/***Acceuuil*/
.mon {
    min-height: 80vh;
    display: flex;
    align-items: center;
   
}

    .mon .text-section {
        padding: 0px;
        background: #fff;
    }

        .mon .text-section h1 {
            font-size: 100px;
            line-height: 1.3;
            font-weight: 500;
            margin-bottom: 20px;
        }

        .mon .text-section p {
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            margin: 5px 0 30px 0;
            font-size: 22px;
            line-height: 1.3;
            font-weight: 600;
        }

       

            .mon .text-section a:hover {
                color: #000;
                border-color: #000;
            }

.bg-video {
    z-index:5;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}
.video-wrapper {
    
    height: 100%;
    overflow: hidden;
}

    .video-wrapper video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Responsive */
@media (max-width: 991px) {
    .mon {
        flex-direction: column;
    }

        .mon .text-section {
            padding: 40px 20px;
        }

            .mon .text-section h1 {
                font-size: 32px;
            }

    .bg-video {
        height: 50vh;
    }
}


