.flash-container {
    margin-top: 70px;
    /* Hauteur exacte de ta navbar */
}

/* En mobile, la navbar peut être légèrement plus petite */
@media (max-width: 576px) {
    .flash-container {
        margin-top: 56px;
        /* Hauteur navbar mobile Bootstrap par défaut */
    }
}

.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    transition: background-color 0.3s ease;
}

nav.navbar.navbar-expand-lg.bg-body-tertiary.fixed-top.navbar-scrolled {
    background-color: #37517e !important;
}

.navbar-scrolled .navbar-nav .nav-link,
.navbar-scrolled .navbar-brand {
    color: white !important;

}

.navbar-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-scrolled .navbar-toggler {
    border-color: white !important;
}

.tracking-in-expand {
    -webkit-animation: tracking-in-expand 4s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-expand 4s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@-webkit-keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

@keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}


@keyframes rotateIcon {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(90deg);
    }
}

.navbar-toggler-icon {
    animation: rotateIcon 10s infinite;
}

/* Hero section */
.hero {
    padding-top: 70px;
    background-color: #37517e;
}

@media (max-width: 576px) {
    .hero {
        padding-top: 56px;
    }
}

.btn {
    color: white;
    background: #47b2e4;
    font-weight: bold;
}

.text-blue {
    color: #37517e;
}

.icon {
    font-size: 36px;
    color: #47b2e4;
}

/* Custom btn styles au survol */
.btn-custom {
    color: #37517e;
}

.btn-custom:hover {
    background-color: #37517e;
    color: #fff;
}

.hr-blue {
    border: none;
    height: 3px;
    width: 50%;
    margin: 20px auto;
    background-color: #47b2e4;
}

.ask {
    background: #eeeeee;
    margin-top: 6rem;
}

/* Contact */
.map-height-sm-300 {
    height: 300px;
}

@media (min-width: 992px) {
    .map-height-lg-600 {
        height: 600px !important;
    }
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #fff;
}

.hover-white:hover {
    color: #fff !important;
    padding-left: 5px;
}

.transition-colors {
    transition: all 0.3s ease;
}


/* Domotique */
.domotique {
    margin-top: 7rem;
}

@media (max-width: 800px) {
    .image-domotique {
        width: 300px;
        height: 300px;
    }
}

@media (min-width: 801px) {
    .image-domotique {
        width: 200px;
        height: 200px;
    }
}

.service-item {
    background-color: white;
    box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
    padding: 50px 30px;
    transition: all ease-in-out 0.4s;
    height: 100%;
}

/* Dépannage */

.custom-rounded {
    border-radius: 30px;
}

@media (max-width: 575.98px) {
    .mt-sm-only {
        margin-top: 3rem;
    }
}


/* Styles pour les cartes */
.card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 1rem;
    color: #555;
}

.card h4 {
    font-size: 1.25rem;
    color: #37517e;
    margin-top: 1.5rem;
}

/* Mentions légales */
.mention-legales {
    margin-top: 10rem;
}

/* Assistaance */
.assistance {
    margin-top: 3rem;
    margin-bottom: 50px;
}

.no-bullets {
    list-style-type: none;
    padding-left: 0;
    font-weight: bold;
}

.icon-green {
    color: #28a745;
}

.img-assistance {
    border-radius: 25px;
    margin-top: 30px;
}

@media (max-width: 800px) {
    .img-assistance {
        margin-top: 0px;
        border-radius: 25px;
    }

    .no-bullets {
        margin-top: 30px;
        font-weight: bold;
    }
}

@keyframes hautBas {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animation-haut-bas {
    animation: hautBas 4s infinite;
}

/* Depannage */
.img-depannage {
    border-radius: 25px;
    width: 300px;
    height: 300px;
}

@media (max-width: 800px) {
    .img-depannage {
        width: 200px;
        height: 200px;
    }
}

/* web */
.img-service-web {
    border-radius: 25px;
}

/* Avatar avec initiales pour les avis Google */
.review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Animation au survol */
.card:hover .review-avatar {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Shared Hover Effects & Transitions */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

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

.transition-all {
    transition: all 0.3s ease;
}

.object-fit-cover {
    object-fit: cover;
}

.card-hover-effect:hover {
    background: linear-gradient(135deg, #3e5b8d 0%, #47b2e4 100%) !important;
}

.card-hover-effect:hover .title-transition,
.card-hover-effect:hover .text-transition {
    color: white !important;
}

.card-hover-effect:hover .icon-transition {
    color: white !important;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(55, 81, 126, 0.95) 0%, rgba(71, 178, 228, 0.8) 100%);
    z-index: 0;
}

/* Service Icons */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Blue (PC) */
.icon-circle-blue {
    background-color: rgba(71, 178, 228, 0.1);
}

.icon-circle-blue .icon {
    color: #47b2e4;
}

.card-hover-effect:hover .icon-circle-blue {
    background-color: #47b2e4;
}

/* Green (Formation) */
.icon-circle-green {
    background-color: rgba(40, 167, 69, 0.1);
}

.icon-circle-green .icon {
    color: #28a745;
}

.card-hover-effect:hover .icon-circle-green {
    background-color: #28a745;
}

/* Purple (Web) */
.icon-circle-purple {
    background-color: rgba(111, 66, 193, 0.1);
}

.icon-circle-purple .icon {
    color: #6f42c1;
}

.card-hover-effect:hover .icon-circle-purple {
    background-color: #6f42c1;
}

/* Orange (Video) */
.icon-circle-orange {
    background-color: rgba(253, 126, 20, 0.1);
}

.icon-circle-orange .icon {
    color: #fd7e14;
}

.card-hover-effect:hover .icon-circle-orange {
    background-color: #fd7e14;
}

.card-hover-effect:hover .icon-circle .icon {
    color: white !important;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: #fff;
    border-radius: 15px;
}

/* Process Section */
.process-icon {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    transform: scale(1.1);
    background-color: #37517e !important;
    color: white !important;
}

.process-icon-wrapper {
    width: 80px;
    position: relative;
}

.step-number {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #47b2e4 !important;
}