/* Couleurs principales */
body {
    font-family: 'Poppins', sans-serif !important;
    background-color: #121212 !important;
    color: white !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Section Hero */
.hero-section {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 1)), url('./BGimg/RB_Logo.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    position: relative;
}



.hero-content {
    z-index: 2;
}

.hero-section h1 {
    font-size: 6rem; /* Agrandir encore plus le texte */
    font-weight: 700;
    color: #e60000;
    animation: fadeInUp 1.5s ease-out;
}

.hero-section p {
    font-size: 2rem; /* Agrandir le paragraphe */
    font-weight: 300;
    margin: 20px 0;
    color: white;
    animation: fadeInUp 2s ease-out;
}

.hero-section .btn {
    background-color: #e60000;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInUp 2.5s ease-out;
}

.hero-section .btn:hover {
    background-color: white;
    color: #e60000;
}

.hero-section {
    height: 100vh; /* Plein écran sur les grands écrans */
    min-height: 600px; /* Hauteur minimale pour éviter l'écrasement */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

/* Gestion du titre pour éviter le chevauchement */
.hero-section h1 {
    font-size: clamp(2rem, 6vw, 6rem); /* Ajustement dynamique */
    font-weight: 700;
    color: #e60000;
    animation: fadeInUp 1.5s ease-out;
    margin-bottom: 20px; /* Ajoute de l'espace sous le titre */
}

/* Responsive pour petits écrans */
@media (max-width: 1150px) {
    .hero-section {
        height: auto; /* Ne force pas la hauteur sur petit écran */
        padding: 80px 20px; /* Ajoute du padding pour éviter le chevauchement */
        margin-bottom: 30px;
    }

    .hero-section h1 {
        font-size: 3rem; /* Réduction de la taille du titre */
    }

    .hero-section p {
        font-size: 1.5rem; /* Ajuste la taille du texte */
        text-align: center;
        margin-bottom: 20px;
    }
    .badge-text{
        text-align: center;
    }
    .hero-badge {
        text-align: center;  /* Centre le texte */
        background-color: #333;  /* Gris foncé */
        padding: 15px;  /* Ajoute un peu d'espace autour du texte */
        border-radius: 10px;  /* Arrondir les bords pour un effet plus propre */
        display: flex;
        justify-content: center; /* Centre horizontalement */
        align-items: center; /* Centre verticalement */
        text-align: center; /* Assure que le texte est bien centré */
        padding-right: 5%;
        margin-bottom: 20px;
    }
    .hero-badge span { 
        display: block; /* Force le texte à occuper toute la largeur */
        text-align: center; /* Centre le texte */
    }
}
 @media (min-width: 1151px){
    .hero-badge {
        position: absolute;
        top: 40px;
        right: 40px; /* Décalage plus grand */
        display: flex;
        align-items: center;
        gap: 20px;
        background: rgba(0, 0, 0, 0.7);
        padding: 20px 30px; /* Augmenter la taille de l'espace */
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
 }

.certified-logo {
    width: 120px; /* Agrandir encore plus le logo */
    height: auto;
}

.badge-text {
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: left;
}

.badge-text strong {
    font-size: 2rem; /* Agrandir encore plus le texte */
    color: #e60000;
}

.badge-text small {
    font-size: 1.5rem; /* Agrandir le texte des années */
    color: white;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections Produits et Services */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.item-card {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.item-card:hover {
    transform: translateY(-10px);
}

.item-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.item-card h4 {
    color: #e60000;
}

.item-card p {
    font-weight: 300;
}

.btn-view {
    background-color: #e60000;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-view:hover {
    background-color: white;
    color: #e60000;
}

.footer {
    background-color: #000;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer a {
    color: #e60000;
}