.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: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 {
    position: relative;
    /* Parent pour le positionnement absolu */
    background-color: #2c3e50;
    /* Couleur de fond pour mieux voir */
    padding: 20px;
}

.footer .footer-about {
    text-align: left;
}

.footer .col-lg-4.col-md-5 {
    position: absolute;
    /* Position absolue pour placer le copyright */
    bottom: 10px;
    /* Position en bas */
    right: 10px;
    /* Position à droite */
    text-align: right;
}

.footer a {
    color: #fff;
    /* Pour que le lien reste bien visible */
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-copyright {
    position: absolute;
    bottom: 10px;
    right: 10px;
    text-align: center;
}

.footer-copyright h4 {
    margin: 0;
    padding-bottom: 5px;
    /* Un petit espacement entre le titre et le texte */
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    /* Taille de texte réduite si nécessaire */
}

/* 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;
}