.bg-sterom {
    background: linear-gradient(270deg, rgba(234, 178, 8, 0.742) 14.74%, #EAB308 70.82%) !important;
}

/* Icônes du processus de travail en blanc */
.icon-pourquoi img,
.work-process-items .icon img {
    filter: brightness(0) invert(1) !important;
    /* Alternative : color: #fff !important; pour les SVG avec currentColor */
}

/* Assurer que les icônes SVG héritent de la couleur blanche */
.work-process-items .icon svg {
    fill: #fff !important;
    stroke: #fff !important;
}

.devis-padding {
    padding: 70px 0 !important;
}

/* Custom CSS pour le dégradé jaune du slider */
.hero-3 .slider-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(234, 179, 8, 0) 14.74%, #EAB308 70.82%);
    opacity: 0.95;
    z-index: 1;
}

.gt-social {
    border-radius: 15px !important;
}

/* Custom CSS pour les services - icônes et texte */
.service-box-items .content .list li {
    margin-bottom: 10px !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-box-items .content .list li i {
    font-size: 20px !important;
    color: #384BFF !important;
    flex-shrink: 0;
    transition: color 0.3s ease !important;
}

.service-box-items:hover .content .list li i {
    color: #EAB308 !important;
}

.service-box-items .content .list li {
    font-size: 18px !important;
    font-weight: 500;
}

.fa-circle-check {
    font-weight: 900 !important;
}

/* Cartes de services */
.service-box-items {
    background-color: #EAB308 !important;
    transition: all 0.3s ease !important;
}

.service-box-items::before {
    background-color: #EAB308 !important;
}

.service-box-items:hover {
    background-color: #384BFF !important;
}

.service-box-items:hover::before {
    background-color: #384BFF !important;
}

/* Boutons Lire plus au hover */
.service-box-items:hover .content .theme-btn-2 {
    background-color: #EAB308 !important;
    border-color: #EAB308 !important;
    color: #fff !important;
}


/* Custom CSS pour la page active dans la navigation */
.main-menu ul li.active {
    background-color: transparent !important;
    border: none !important;
    position: relative !important;
}

.main-menu ul li.active a {
    color: #384BFF !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    position: relative !important;
}

.main-menu ul li.active a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #384BFF;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Custom CSS pour l'espacement équitable des réseaux sociaux */
.offer-items {
    margin: 0 15px !important;
    padding: 20px 15px !important;
}

.offer-items .icon {
    margin-bottom: 15px !important;
}

.offer-items .content h5 {
    margin: 0 !important;
    text-align: center !important;
}

/* Responsive spacing */
@media (max-width: 768px) {
    .offer-items {
        margin: 0 10px !important;
        padding: 15px 10px !important;
    }
}

@media (max-width: 576px) {
    .offer-items {
        margin: 0 5px !important;
        padding: 10px 5px !important;
    }
}

/* Sidebar des services - Page active */
.bg-sterom-active {
    background: #384BFF !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}

.bg-sterom-active a {
    color: #fff !important;
}

.bg-sterom-active a:hover {
    color: #fff !important;
    text-decoration: none !important;
}

/* Amélioration du style de la sidebar */
.widget-categories ul li {
    margin-bottom: 10px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.widget-categories ul li:hover {
    transform: translateX(5px) !important;
}

.widget-categories ul li a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 20px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.widget-categories ul li a i {
    transition: transform 0.3s ease !important;
}

.widget-categories ul li:hover a i {
    transform: translateX(5px) !important;
}

/* Section Nos Services - Taille des icônes et du texte */
.details-video-items .content h4 {
    font-size: 24px !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
}

.details-video-items .list li {
    font-size: 20px !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.details-video-items .list li i {
    font-size: 24px !important;
    color: #EAB308 !important;
    flex-shrink: 0 !important;
}


/* Nos Valeurs */
.service-card.style1 {
    background-color: #EAB308 !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}

.service-card.style1 h3,
.service-card.style1 h3 a,
.service-card.style1 p {
    color: #fff !important;
}

.service-card.style1 h3 a:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.service-card.style1:hover {
    background-color: #384BFF !important;
}

.service-card.style1 .icon {
    background-color: #fff !important;
}

.service-card.style1:hover .icon {
    background-color: #fff !important;
}

/* Style pour le select personnalisé hiérarchique */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    position: relative;
    background-color: #fff;
    border: 2px solid #666 !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select:hover {
    border-color: #EAB308 !important;
    box-shadow: 0 0 0 2px rgba(56, 75, 255, 0.1) !important;
}

.custom-select.open {
    border-color: #384BFF !important;
    box-shadow: 0 0 0 2px rgba(56, 75, 255, 0.2);
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 500;
    color: #333 !important;
    background-color: #fff;
    border-radius: 6px;
}

.custom-select__trigger span {
    flex: 1;
}

.arrow {
    position: relative;
    height: 10px;
    width: 10px;
    transition: transform 0.3s ease;
}

.arrow::before,
.arrow::after {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 0.15em;
    height: 100%;
    background-color: #333 !important;
    transition: all 0.3s ease;
}

.arrow::before {
    left: -4px;
    transform: rotate(45deg);
}

.arrow::after {
    left: 4px;
    transform: rotate(-45deg);
}

.custom-select.open .arrow {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #EAB308;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.custom-select.open .custom-options {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.custom-option {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option__text {
    display: block;
    padding: 18px 25px;
    background: linear-gradient(270deg, rgba(234, 178, 8, 0.742) 14.74%, #EAB308 70.82%) !important;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 8px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(234, 179, 8, 0.3);
    position: relative;
    overflow: hidden;
}

.custom-option__text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.custom-option__text:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(234, 179, 8, 0.4);
}

.custom-option__text:hover::before {
    left: 100%;
}

.custom-option__services {
    display: none;
    background-color: #fff;
}

.custom-option__services.show {
    display: block;
    animation: slideDown 0.2s ease-out;
}

.custom-option__service {
    padding: 15px 20px 15px 50px;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 12px;    
    font-weight: 500;
    margin: 8px 15px;
    position: relative;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.custom-option__service::before {
    content: '✓';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #EAB308;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.custom-option__service:hover {
    background-color: #f8f9fa;
    color: #384BFF;
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-option__service:hover::before {
    background-color: #384BFF;
    transform: translateY(-50%) scale(1.1);
}

.custom-option__service:last-child {
    border-bottom: none;
}

.custom-option__service.selected {
    background-color: #384BFF;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    margin: 8px 15px;
    box-shadow: 0 4px 12px rgba(56, 75, 255, 0.3);
    transform: translateX(5px);
}

.custom-option__service.selected::before {
    background-color: #fff;
    color: #384BFF;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nice-select:hover,
.nice-select.single-select:hover,
.nice-select.custom-nice-select:hover {
    border-color: #384BFF !important;
    box-shadow: 0 0 0 2px rgba(56, 75, 255, 0.1) !important;
}

.nice-select.open,
.nice-select.single-select.open,
.nice-select.custom-nice-select.open {
    border-color: #384BFF !important;
    box-shadow: 0 0 0 2px rgba(56, 75, 255, 0.2) !important;
}

/* Style pour le texte affiché */
.nice-select .current,
.nice-select.single-select .current,
.nice-select.custom-nice-select .current {
    color: #333 !important;
    font-weight: 500 !important;
    padding: 0 !important;
}

/* Style pour la flèche */
.nice-select .list,
.nice-select.single-select .list,
.nice-select.custom-nice-select .list {
    border: 2px solid #EAB308 !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    max-height: 300px !important;
    overflow-y: auto !important;
}

/* Style pour les options */
.nice-select .list li,
.nice-select.single-select .list li,
.nice-select.custom-nice-select .list li {
    padding: 12px 15px !important;
    background-color: #fff !important;
    color: #333 !important;
    font-weight: 400 !important;
    transition: all 0.2s ease !important;
}

.nice-select .list li:hover,
.nice-select.single-select .list li:hover,
.nice-select.custom-nice-select .list li:hover {
    background-color: #f8f9fa !important;
    color: #384BFF !important;
}

.nice-select .list li.selected,
.nice-select.single-select .list li.selected,
.nice-select.custom-nice-select .list li.selected {
    background-color: #EAB308 !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* Style pour les optgroup (catégories) */
.nice-select .list li.option,
.nice-select.single-select .list li.option,
.nice-select.custom-nice-select .list li.option {
    font-weight: 600 !important;
    color: #384BFF !important;
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #e9ecef !important;
    cursor: default !important;
}

.nice-select .list li.option:hover,
.nice-select.single-select .list li.option:hover,
.nice-select.custom-nice-select .list li.option:hover {
    background-color: #f8f9fa !important;
    color: #384BFF !important;
}

/* Style pour les options normales (pas les optgroup) */
.nice-select .list li:not(.option),
.nice-select.single-select .list li:not(.option),
.nice-select.custom-nice-select .list li:not(.option) {
    cursor: pointer !important;
}

/* Amélioration de l'apparence générale */
.nice-select .list,
.nice-select.single-select .list,
.nice-select.custom-nice-select .list {
    margin-top: -2px !important; /* Pour compenser la bordure */
}

/* Style pour l'état fermé */
.nice-select:not(.open) .list,
.nice-select.single-select:not(.open) .list,
.nice-select.custom-nice-select:not(.open) .list {
    display: none !important;
}

/* Animation d'ouverture */
.nice-select.open .list,
.nice-select.single-select.open .list,
.nice-select.custom-nice-select.open .list {
    animation: slideDown 0.3s ease-out !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.single-select:focus {
    outline: none !important;
    border-color: #EAB308 !important;
    box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.2) !important;
}

/* Style pour les optgroup */
.single-select optgroup {
    font-weight: 600 !important;
    color: #384BFF !important;
    background-color: #f8f9fa !important;
    padding: 8px 0 !important;
}

/* Style pour les options */
.single-select option {
    padding: 8px 15px !important;
    background-color: #fff !important;
    color: #333 !important;
    font-weight: 400 !important;
    margin: 2px 0 !important;
}

.single-select option:hover {
    background-color: #f0f0f0 !important;
}

/* Style spécifique pour le select dans le formulaire */
.col-md-12 .single-select {
    margin-bottom: 20px !important;
}

/* Amélioration de l'apparence sur différents navigateurs */
.single-select::-ms-expand {
    display: none !important;
}

/* Style pour Firefox */
@-moz-document url-prefix() {
    .single-select {
        color: #333 !important;
        background-color: #fff !important;
    }
}

/* Style uniforme pour tous les champs du formulaire */
input[type="text"],
input[type="email"],
textarea,
.form-control {
    border: 2px solid #666 !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    background-color: #fff !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
.form-control:focus {
    outline: none !important;
    border-color: #EAB308 !important;
    box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.2) !important;
}

input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover,
.form-control:hover {
    border-color: #EAB308 !important;
    box-shadow: 0 0 0 2px rgba(56, 75, 255, 0.1) !important;
}

/* Style spécifique pour le textarea */
textarea,
.form-control {
    resize: vertical !important;
    min-height: 120px !important;
}

/* Style pour les placeholders */
input::placeholder,
textarea::placeholder {
    color: #666 !important;
    font-weight: 400 !important;
}

/* Réduction de l'espacement des messages d'erreur */
.error-message {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Réduction de l'espacement des champs de formulaire */
.form-group {
    margin-bottom: 15px !important;
}

.col-md-6,
.col-md-12,
.col-12 {
    margin-bottom: 10px !important;
}

/* Ajustement de l'espacement des champs individuels */
input[type="text"],
input[type="email"],
textarea,
.form-control {
    margin-bottom: 5px !important;
}

/* Ajustement spécifique pour le select personnalisé */
.custom-select-wrapper {
    margin-bottom: 5px !important;
}

/* Styles pour le reCAPTCHA */
.g-recaptcha {
    margin: 10px 0;
    transform: scale(1);
    transform-origin: 0 0;
}

.g-recaptcha > div {
    margin: 0 auto;
}

/* Responsive pour le reCAPTCHA */
@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: 0 0;
    }
}

@media (max-width: 320px) {
    .g-recaptcha {
        transform: scale(0.8);
        transform-origin: 0 0;
    }
}

/* Style pour le logo avec texte STEROM */
.logo-container {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* Style spécifique pour le header principal */
.header-logo.logo-container {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    text-decoration: none !important;
}

.logo-container:hover {
    text-decoration: none !important;
    transform: scale(1.05) !important;
}

.logo-text {
    font-size: 28px !important;
    font-weight: 800 !important;
    background: linear-gradient(45deg, #EAB308 0%, #EAB308 50%, #384BFF 50%, #384BFF 100%) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-fill-color: transparent !important;
    letter-spacing: 2px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Style spécifique pour le header principal */
.header-logo .logo-text {
    font-size: 24px !important;
    font-weight: 800 !important;
    background: linear-gradient(45deg, #EAB308 0%, #EAB308 50%, #384BFF 50%, #384BFF 100%) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-fill-color: transparent !important;
    letter-spacing: 1.5px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.logo-text::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(45deg, #EAB308 0%, #EAB308 50%, #384BFF 50%, #384BFF 100%) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-fill-color: transparent !important;
    z-index: -1 !important;
    filter: blur(1px) !important;
    opacity: 0.7 !important;
}

.logo-container:hover .logo-text {
    background-position: 100% 0 !important;
    transform: translateY(-2px) !important;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Override des styles existants qui pourraient cacher le texte */
.header-left .logo a {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.header-left .logo img {
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Responsive pour le logo */
@media (max-width: 768px) {
    .logo-text {
        font-size: 20px !important;
        letter-spacing: 1px !important;
    }
    
    .logo-container {
        gap: 10px !important;
    }
    
    .header-logo .logo-text {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 18px !important;
        letter-spacing: 0.5px !important;
    }
    
    .logo-container {
        gap: 8px !important;
    }
    
    .header-logo .logo-text {
        font-size: 16px !important;
    }
}

/* Style pour l'icône WhatsApp cliquable */
.author-icon .icon a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.author-icon .icon a:hover {
    transform: scale(1.1) !important;
    color: #25D366 !important; /* Couleur WhatsApp */
}

.author-icon .icon a i {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    line-height: inherit !important;
} 