* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Styles généraux */
/* Assurez-vous que le contenu prend toute la hauteur disponible moins la hauteur du footer */
.content {
padding-bottom: 80px;
}

/* Structure de base pour que le footer reste en bas de la page */

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #ffffff;
}

/* Navbar */
.navbar {
    background-color: #343a40 !important;
    padding: 0;
    z-index: 1000;
}

.navbar-dark .navbar-brand,
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #c0c0c0;
}

.navbar-brand img {
    width: 40px;
}

/* Header */
.header video {
    width: 100%;
    object-fit: cover; /* Cela garantit que la vidéo conserve son ratio d'aspect */
}
video::-webkit-media-controls {
    display: none !important;
}
/* Fixer le footer en bas de la page */
.footer {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1f1f1f;
    color: white;
    text-align: center;
    padding: 10px 0;
    z-index: 100;
}

@keyframes slideInDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Boutons dans le header */
.contactheader .btn-custom,
.btn-custom {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1.25em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contactheader .btn-custom:hover,
.btn-custom:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.contactheader .btn-email {
    background-color: #007bff;
}

.contactheader .btn-email:hover {
    background-color: #0056b3;
}

.contactheader .btn-phone {
    background-color: #28a745;
}

.contactheader .btn-phone:hover {
    background-color: #218838;
}

/* Informations de contact dans le header */
.contactheader .phone-number {
    font-size: 2em;
}

.contactheader .phone-link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contactheader .phone-link:hover {
    color: #0056b3;
}

/* Main Content */
.container {
    margin-top: 20px;
    padding: 0 15px;
}

.content {
    flex: 1;
}

.container h2 {
    color: #007bff;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.container p {
    font-size: 1.25em;
    line-height: 1.6;
}

.card-bg-reparation{
    background: linear-gradient(
        rgba(31, 31, 31, 0.8),
        rgba(31, 31, 31, 0.8)
    ), url('../img/ManettesBG.png') !important; 
}
.card-bg-maintenance{
    background: linear-gradient(
        rgba(31, 31, 31, 0.8),
        rgba(31, 31, 31, 0.8)
    ), url('../img/MaintenanceBG.png') !important; 
}
.card-bg-dev{
    background: linear-gradient(
        rgba(31, 31, 31, 0.8),
        rgba(31, 31, 31, 0.8)
    ), url('../img/DevBG.png') !important; 
    background-position: center; /* Centre l'image */
    background-size: cover;
}
.card-bg-reseau{
    background: linear-gradient(
        rgba(31, 31, 31, 0.8),
        rgba(31, 31, 31, 0.8)
    ), url('../img/ReseauBG.png') !important; 
}
.card-bg-support{
    background: linear-gradient(
        rgba(31, 31, 31, 0.8),
        rgba(31, 31, 31, 0.8)
    ), url('../img/SupportBG.png') !important; 
}
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 20;
    margin-left: auto;
    margin-right: auto;
}


@media (min-width: 992px) {
    .card-caca {
        width: 75% !important;
    }
}


.card:hover {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.card i {
    color: #007bff;
    font-size: 2.5em;
    margin-bottom: 15px;
}

/* Indicateurs du Carrousel */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-indicators {
    position: absolute; /* Positionnement absolu pour aligner par rapport au carrousel */
    display: flex; /* Utilise flexbox pour aligner les éléments horizontalement */
    justify-content: center; /* Centre les indicateurs horizontalement */
    list-style: none; /* Enlève les puces par défaut */
    padding-left: 0; /* Enlève le padding par défaut */
    margin-bottom: 0; /* Enlève la marge inférieure par défaut */
    z-index: 1050; /* Assure que les indicateurs sont au-dessus des autres éléments */
}

.carousel-indicators li {
    background-color: rgba(255, 255, 255, 0.5); /* Couleur de fond semi-transparente pour les indicateurs */
    border-radius: 50%; /* Rend les indicateurs ronds */
    width: 10px; /* Largeur des indicateurs */
    height: 10px; /* Hauteur des indicateurs */
    margin: 0 3px; /* Espacement entre les indicateurs */
    cursor: pointer; /* Curseur en forme de main */
    transition: background-color 0.3s ease; /* Transition pour le changement de couleur */
}

.carousel-indicators .active {
    background-color: #ffffff; /* Couleur de fond pour l'indicateur actif */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: black; /* Couleur de fond noire pour les icônes */
    border-radius: 50%; /* Arrondir les bords des icônes */
}

.carousel-control-prev,
.carousel-control-next {
    filter: invert(1); /* Inverse les couleurs pour rendre les flèches noires */
}
#carouselMenu {
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si nécessaire */
    justify-content: center; /* Centre les éléments horizontalement */
}
#carouselMenu .nav-link {
    cursor: pointer;
    font-weight: bold;
    text-align: center; /* Centrer le texte */
    border: 1px solid transparent;
}

#carouselMenu .nav-link.active {
    color: #007bff;
}

#carouselMenu2 {
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si nécessaire */
    justify-content: center; /* Centre les éléments horizontalement */
}

#carouselMenu2 .nav-link {
    cursor: pointer;
    font-weight: bold;
    text-align: center; /* Centrer le texte */
    border: 1px solid transparent;
}

#carouselMenu2 .nav-link.active {
    color: #007bff;
}

/* Media queries */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5em;
    }

    .header p {
        font-size: 1em;
    }

    .container h2 {
        font-size: 2em;
    }

    .container p {
        font-size: 1em;
    }

    .footer {
        font-size: 0.8em;
    }
}

/* Section des liens */

.link-section {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.link-section a {
    width: 60%;
    margin: 0 10px;
    text-align: center;
    font-size: 1.25em;
    padding: 10px 0;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.link-section a:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}
.link-realisations{
    font-size: 1.00em !important;
}

/* Liste des catégories pour mobile */
.category-list-container {
    display: none; /* Cacher par défaut sur mobile */
}


/* Positionner la flèche en bas de la section */
.scroll-down-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px; /* Ajuster la taille de la flèche */
    color: black; /* Couleur de la flèche */
    cursor: pointer;
    animation: bounce 1.5s infinite; /* Ajouter une animation pour attirer l'attention */
}

/* Animation de rebond pour attirer l'attention */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.bounce {
    position:fixed;
    bottom:0;
    background:white;
    -webkit-animation:bounce 2s infinite;
  }
  
  @-webkit-keyframes bounce {
    0%       { bottom:5px; }
    25%, 75% { bottom:15px; }
    50%      { bottom:25px; }
    100%     {bottom:0;}
  }