@font-face {
    font-family: LogoFont;
    src: url("../css/fonts/Poppins-SemiBold.ttf");
}
@font-face {
    font-family: LogoFont1;
    src: url("../css/fonts/Poppins-Regular.ttf");
}
html {
  scroll-behavior: smooth;
}
.purple-section{
    background: #8200b9!important;
    overflow: hidden;
}
.main{
    background: #8200b9
}
.navbar-light .navbar-toggler{
    background: #fff!important;
    color: #8200b9;
}
.logo1{
    font-family: LogoFont;
    font-size: 1.6em;
    color: #fff;
    letter-spacing: -1px;
}
.logo{
    font-family: LogoFont;
    font-size: 1.6em;
    color: #8404ba;
    letter-spacing: -1px;
}
.nav-link{
    text-align: center;
    color: #fff!important;
    width: 100%;
    font-family: LogoFont1;
}
.login{
    font-family: LogoFont;
    color: #fff !important;
    background: none;
    border-radius: 10px;
    border: 1.5px solid #fff;
    font-weight: normal;
}
.login:hover{
    color: #ffffff!important;
    background: #000;
    border: none;
}
.bg-background{
    /*background: url("https://images.unsplash.com/photo-1618588845382-4267677cfc11?q=80&w=1974&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");*/
    background-position: center;
    background-size: cover;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.nd-background{
    background: #eae8e1;
}
.nd-background p{
    color: #000000!important;
}
/*.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://img.freepik.com/free-photo/front-view-woman-holding-keys-her-new-house_23-2148814386.jpg?t=st=1742536909~exp=1742540509~hmac=3c134d5c52faf7a8bdcfa8a35fd51945ffc92d127f09614fcb08fe08d330ee87&w=1800");
    background-position: center;
    background-size: cover;
    overflow: hidden;
    opacity: 15%;
    filter: blur(0.5px);
    backdrop-filter: blur(0px);
    background: #ffffffe0;
    padding: 10px;
}*/
.log-sr h1{
    font-family: LogoFont;
    color: #fff;
    z-index: 1;
    position: relative;
}
.log-sr p{
    color: #000;
    z-index: 1;
    position: relative;
}
.log-sr{
    display: flex;
    justify-content: left;
    align-items: center;
    /*height: 100vh;*/
    z-index: 1;
    position: relative;
    text-align: center;
    /*background: url(../img/3dlogo1.png) top right 80px / 190px no-repeat, url(../img/3dlogo2.png) left 180px top 100px / 80px no-repeat, url(../img/3dlogo3.png) bottom left / 300px no-repeat;*/
    padding-top: 50px;
}
.log-sr h3{
    z-index: 1;
}
.log-sr h5{
    font-weight: normal;
}
.Personal{
    font-family: LogoFont;
    color: #ffffff;
    background: #6f009f;
    border:2px solid #6f009f;
    padding: 10px;
    display: block;
    margin-bottom: 10px;
    border-radius: 10px;
    text-align: center;
}
.Business{
    font-family: LogoFont;
    color: #6f009f;
    border:2px solid #6f009f;
    padding: 10px;
    display: block;
    border-radius: 10px;
    text-align: center;
}
.hero-nd-section{
    background: #d90368;
    margin-top: 4rem;
    padding-bottom: 4rem;
    text-align: center;
    color: #ffffff;
    border-radius: 10px;
    padding: 30px;
}
.hero-rd-section{
    background: #04A777;
    margin-top: 4rem;
    padding-bottom: 4rem;
    text-align: center;
    color: #ffffff;
}
.ing-5 h1{
    font-family: LogoFont;
}
.hero-nd-section.ing-5{
    display: block;
}
.hero-nd-section.ing-5 h5{
    color: white;
}
.hero-nd-section.ing-5 p{
    color: white;
}
.card{
    padding: 20px;
    margin-bottom: 15px;
    border: none;
    text-align: justify;
    transition: 0.3s;
}
.card:hover{
    box-shadow: 0 6px 7px 0 #00000025;
    transition: 0.4s;
}
.ing-5:nth-child(2){
    margin-top: 60px;
    background: ;
    border-radius: 10px;
    padding-bottom: 4rem;
}
.ing-5{
    padding-top: 4rem;
}
.ing-5 h5{
    color: #6f009f;
}
.ing-5 h2{
    font-weight: 700;
}
.ing-5 p{
    color: #696969;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5;
}
.ing-5{
    display: flex;
    justify-content: left;
    align-items: center;
}
.ing-5 .col-lg-12{
    text-align: center;
}
.ing-5:nth-child(3){
    margin-top: 60px;
    background: #6f009f0e;
    border-radius: 10px;
    padding-bottom: 4rem;
}
.float-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Carré responsive */
  max-width: 800px;    /* limite sur desktop */
  margin: auto;
  overflow: hidden;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0;
  z-index: 0;
  animation: float-fade 24s infinite;
  animation-timing-function: ease-in-out;
}

/* Décalage pour chaque image */
.img1 { animation-delay: 0s; }
.img2 { animation-delay: 8s; }
.img3 { animation-delay: 16s; }

@keyframes float-fade {
  0%   { opacity: 0; transform: translateY(0); z-index: 0; }
  5%   { opacity: 1; z-index: 1; }
  15%  { transform: translateY(-6px); }
  25%  { transform: translateY(0); }
  30%  { opacity: 1; }
  35%  { opacity: 0; z-index: 0; }
  100% { opacity: 0; transform: translateY(0); }
}



.hidden {
    display: none;
}
.accordion-item{
    margin-bottom: 20px;
}
.accordion-button{
    font-family: LogoFont;
    background: none;
    border: none;
    border-bottom: 1px solid #fff;
    color: #fff;
    padding: 0;
}
.feedback img{
    border-radius: 15px;
}
.feedback .text-content:nth-child(1){
    padding: 10px;
    backdrop-filter: blur(30px);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}
.feedback .text-content:nth-child(2){
    padding: 10px;
    backdrop-filter: blur(30px);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}
footer{
    background: #111212;
}
footer h5, h2{
    font-family: LogoFont;
}
#registrationForm{
    width: 100%;
    border-radius: 10px;
}
#registrationForm .input-form label{
    width: 100%;
    padding-left: 10px!important;
    padding: 5px;
    border: 1px #c1c1c1 solid;
    border-radius: 10px;
    text-align: left;
    font-weight: 600;
}
#registrationForm input, select{
    margin-bottom: 5px;
    padding: 8px;
    width: 100%;
    border: none;
}
#registrationForm button{
    background: black;
    border: none;
    padding: 8px;
    width: 100%;
    color: white;
    border-radius: 10px;
}
#registrationForm a{
    width: 100%;
    display: block;
    padding: 4px;
    text-align: center;
    margin-top: 5px;
    color: #6f009f;
}

#registrationForm2{
    width: 100%;
    border-radius: 10px;
    margin-bottom: 50px;
}
#registrationForm2 .input-form label{
    width: 100%;
    padding-left: 10px!important;
    padding: 5px;
    border: 1px #c1c1c1 solid;
    border-radius: 10px;
    text-align: left;
    font-weight: 600;
}
#registrationForm2 input, select{
    margin-bottom: 5px;
    padding: 8px;
    width: 100%;
    border: none;
}
#registrationForm2 button{
    margin-bottom: 5px;
}
#registrationForm2 .create-atx, .btn-canceled{
    background: black;
    border: none;
    padding: 8px;
    width: 100%;
    color: white;
    border-radius: 10px;
}
#registrationForm2 .btn-canceled{
    background: none!important;
    border: none!important;
    color: #6f009f;
}

#webcam-container {
    width: 100%;
    max-width: 640px;
    border: 3px solid #4CAF50;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
video, canvas {
    width: 100%;
    height: auto;
}
.bckgrnd{
    height: 90px;
    background: #6f009f;
    margin-bottom: -45px;
}
.data-h{
    margin-left: auto;
    margin-right: auto;
}
.history{
    background: #6f009f0e;
    padding: 13px;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    margin-bottom: 15px;
}
.history h6{
    text-align: left;
}
.history li{
    list-style: none;
    color: black;
    padding: 10px;
}
.history p{
    margin: 0;
    font-weight: 600;
}
.history li:hover{
    /*background: #b4b4b43b*/
    background: #fff;
    border-radius: 10px;
    text-decoration: none;
}
.div-e-s {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.div-e-s h6{
    margin: 0;
}
.add-btn{
    color: #2b2b2b;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 2rem;
    cursor: pointer;
    position: relative;
    top: -10px;
}
a:hover{
    text-decoration: none;
}
.history li span{
    font-weight: 600;
    color: #00ad00;
}
.btn-logout{
    width: 100%!important;
    color: #dc143c;
    display: block;
    padding: 8px;
    border-radius: 10px;
}
.btn-logout:hover{
    background: #dc143c;
    color: #fff;
}
.since-badge{
    background: #6f009f;
    color: #fff;
    font-weight: 600;
    width: max-content;
    padding-left: 10px;
    padding-right: 10px;
    border-radius:5px;
    margin-left: auto;
    margin-right: auto;
  }
.payment-operator {
  display: flex;
  gap: 1rem; /* espace entre les boutons */
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-operator li {
  position: relative;
}

.payment-operator input[type="radio"] {
  display: none; /* on cache le radio brut */
}

.payment-operator .payment-method-cb {
  display: block;
  width: 100px!important;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.payment-operator .payment-method-cb img {
  width: 100%;
  height: 70%;
  object-fit: contain; /* garde les proportions du logo */
  padding: 2px;
}

.payment-operator .payment-method-cb span {
  display: block;
  font-size: 0.85rem;
  margin-top: 4px;
}

.payment-operator input[type="radio"]:checked + .payment-method-cb {
  border: 2px solid #6f009f!important;
  transition: 0s;
}

.payment-operator .payment-method-cb:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.payment-operator .unactive {
  opacity: 0.5; /* grisé */
  cursor: not-allowed;
}

.payment-operator .unactive:hover {
  transform: none;
  box-shadow: none!important;
}

@media screen and (min-width: 768px) {
    #registrationForm{
        width: 35%;
        border-radius: 10px;
        margin-left: auto;
        margin-right: auto;
    }

    #registrationForm2{
        width: 50%;
        border-radius: 10px;
        margin-left: auto;
        margin-right: auto;
    }

    .background-overlay {
        position: absolute;
        top: 0;
        left: 0;
        /*background: url("https://img.freepik.com/free-photo/front-view-woman-holding-keys-her-new-house_23-2148814386.jpg?t=st=1742536909~exp=1742540509~hmac=3c134d5c52faf7a8bdcfa8a35fd51945ffc92d127f09614fcb08fe08d330ee87&w=1800");
        background-position: center;
        background-size: cover;
        overflow: hidden;
        opacity: 15%;
        border-radius: 10px;
        filter: blur(0px);*/
    }
    .log-sr .Personal{
        display: inline;
    }
    .log-sr .Business{
        display: inline;
    }
    .log-sr{
        margin-top: 0;
        height: 80vh;
        text-align: left;
        padding-top: 0;
    }
    .data-h{
        width: 40%;
    }
    .feedback .text-content:nth-child(1){
        position: relative;
        bottom: -45px;
        left: -55px;
        z-index: 1;
        padding: 10px;
        backdrop-filter: blur(30px);
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
    }
    .feedback .text-content:nth-child(2){
        position: relative;
        bottom: -18px;
        left: -30px;
        z-index: 1;
        padding: 10px;
        backdrop-filter: blur(30px);
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
    }
}

  .fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  .fade-in.visible {
    opacity: 1;
  }
  .slide-in-left {
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
  }
  .slide-in-right {
    transform: translateX(20px);
    opacity: 0;
    transition: transform 1.3s ease-out, opacity 1.3s ease-out;
  }
  .slide-in-left.visible {
    transform: translateY(0);
    opacity: 1;
  }
  
  .slide-in-right.visible {
    transform: translateX(0);
    opacity: 1;
  }
  
  .scalable {
    transition: transform 0.3s ease; /* Animation douce lors de la mise à l'échelle */
    transform: scale(0.85); /* Échelle de base */
  }  