*{
    margin:0;
    padding:0;
}

#header{
    height: 70px;
    background-color: rgba(255, 255, 255, 0.117);
    padding: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header img{
    height: 70px;
    width: auto;
    box-shadow: 1px 1px 1px black;
}
#header p{
     color: rgb(65,88,208);
     font-size: 30px;
     font-weight: bolder;
}
.up{
     color: rgb(228, 19, 47);
     font-size: 30px;
     font-weight: bolder;
}

@media screen and (max-width: 768px) {
    #header{
        height: 70px;
        background-color: rgba(255, 255, 255, 0.117);
        padding: 7px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #header img{
        height: 50px;
        width: auto;
        box-shadow: 1px 1px 1px black;
    }
    #header p{
         color: rgb(65,88,208);
         font-size: 15px;
         font-weight: bolder;
    }
    #header up{
         color: rgb(65, 208, 132);
         font-size: 20px;
         font-weight: bolder;
    }
}

#nav {
    background-color: rgb(65, 88, 208);
    padding: 15px 0;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1100;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.menu-toggle .hamburger {
    width: 30px;
    height: 3px;
    background: #fff;
    position: relative;
    transition: all 0.3s;
}

.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: #fff;
    transition: all 0.3s;
}

.menu-toggle .hamburger::before {
    top: -10px;
}

.menu-toggle .hamburger::after {
    top: 10px;
}

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.main-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-menu li {
    position: relative;
    margin: 0 15px;
    list-style: none;
}

.main-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 5px;
}

.main-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.main-menu a.active {
    background-color: #FFD700;
    color: #ffffff;
    border-radius: 2px;
}

.has-submenu ul {
    display: none;
    position: absolute;
    background-color: rgb(65, 88, 208);
    padding: 10px 0;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    top: 100%;
    left: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.has-submenu:hover ul {
    display: flex;
    flex-direction: column;
    opacity: 1;
    align-items: flex-start;
    transform: translateY(0);
}

.has-submenu ul li {
    margin: 0;
    padding: 0;
    text-align: left;
}

.has-submenu ul a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 25px;
}

.has-submenu ul a.active {
    background-color: #FFD700;
    color: #ffffff;
}

.has-submenu ul a {
    padding: 12px 5px 12px 20px;
    font-size: 0.95em;
    border-radius: 0;
    text-align: left !important;
    display: block;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .main-menu li {
        margin: 0 10px;
    }

    .main-menu a {
        padding: 8px 12px;
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1100;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }
    .menu-toggle .hamburger {
        width: 30px;
        height: 3px;
        background: #fff;
        position: relative;
        transition: all 0.3s;
    }
    .menu-toggle .hamburger::before,
    .menu-toggle .hamburger::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 3px;
        background: #fff;
        transition: all 0.3s;
    }
    .menu-toggle .hamburger::before { top: -10px; }
    .menu-toggle .hamburger::after { top: 10px; }

    .main-menu:not(.mobile-only) {
        display: none !important;
    }

    .main-menu.mobile-only {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #4356d8;
        z-index: 1000;
        padding-top: 10px;
        box-sizing: border-box;
        opacity: 0;
        transform: translateY(-30px);
        transition: opacity 0.4s cubic-bezier(.4,0,.2,1), transform 0.4s cubic-bezier(.4,0,.2,1);
        align-items: center;
        justify-content: center;
        min-height: 60vh;
    }
    .main-menu.mobile-only.active {
        display: flex !important;
        opacity: 1;
        transform: translateY(0);
        width: 100%;
    }

     .main-menu.mobile-only li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: center;
    }
    .main-menu.mobile-only li:last-child {
        border-bottom: none;
    }
    .main-menu.mobile-only a {
        padding: 18px 0;
        color: #fff;
        font-size: 1.2em;
        text-align: center;
        display: block;
        width: 100%;
    }

    body {
        overflow-x: hidden !important;
    }
 }

@media (max-width: 480px) {
    .main-menu {
        padding: 15px;
    }

    .main-menu li {
        margin: 4px 0;
    }

    .main-menu a {
        padding: 10px;
        font-size: 1em;
    }

    .has-submenu ul {
        padding: 5px 0;
    }

    .has-submenu ul a {
        padding: 8px 15px;
    }

    .menu-toggle {
        right: 15px;
    }
}

.presentation {
    background: linear-gradient(to right, rgb(65,88,208), #3a506b);
    height: 200px;
    width:  95%;
    margin:30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .presentation {
        background: linear-gradient(to right, rgb(65,88,208), #3a506b);
        height: 400px;
        width:  94%;
        margin:15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: hidden;
        text-align: center;
    }
}
.content {
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

h1 {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    animation: slideIn 1.2s ease forwards;
    opacity: 0;
    text-align: center;
}

h1::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: #3498db;
    bottom: -8px;
    left: 20%;
    transition: width 0.5s ease;
    text-align: center;

}

h1:hover::after {
    width: 100%;
    left: 0;
    text-align: center;
}

h2 {
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    text-align: center;
    line-height: 1.5;
    margin-top: 10px;
    animation: fadeIn 1.5s ease forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

.accent-shape {
    position: absolute;
    background-color: rgba(52, 152, 219, 0.241);
    border-radius: 50%;
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
}

.accent-shape-2 {
    position: absolute;
    background-color: rgba(52, 152, 219, 0.246);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

typing-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #3498db;
  width: 0;
  animation: 
    typing 4s steps(60, end) 1.5s forwards,   
    blink-caret 0.75s step-end 6 forwards;    
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  0%, 100% { border-color: transparent; }
  50% { border-color: #3498db; }
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }

    #nav{
        height: auto;
        background-color: rgb(65,88,208);
        font-size: 17px;
        box-shadow: 1px 1px 1px black;
        padding: 7%;
    }
    #nav ul{
         display: flex;
         justify-content: center;
         align-items: baseline;
         flex-shrink: inherit;
         gap: 7%;
         margin: 5px;
         
    }
     #nav ul li ul{
        display: none;
        left: 0%;
        width: 200px;
        background-color: blue;
        font-weight: bolder;
     }
        
     #nav ul li ul li{
        width: 100%;
        border-top: #3498db;
     }
     #nav ul li:hover > ul{
        display: block;
     }
     
        
    #nav form>input{
         padding: 5%;
    }
    nav li{
         list-style: none;
         background-color: none;
         padding: 10px;
         width: 200px;
    }
    #nav li:hover{
        background-color: #ffbb00d4;
        transform: scaleX(1.1);
        transition: background-color 0.2s ease-in, transform 0.2s ease-in;
    }
        
    #nav a{
         text-decoration: none;
         color: rgb(255, 255, 255);
         font-weight: bolder 500;
    }
    


    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

body{
    font-family: 'Cambria', serif;
  width:100%;
}

@media screen and (max-width: 768px) {
    body{
        font-family: 'Cambria', serif;
        width: 50%;
    }  
}

#main{
  
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;  
}
 
.en-savoir-plus {
  background-color: white;
  color: rgb(65,88,208);
  padding: 2%;
  width: 15%;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.action{
  background-color: white;
  color: #112ab7;
  padding: 10%;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.action:hover,
.en-savoir-plus:hover {
  background-color: #f0f0f0;
  transform: scale(1.05);
}

@media  (max-width: 1024px) {
  .deuxpartie {
    width: 90% ;
    margin-top:37%;
    margin-bottom:10%;
  }

  .enfants {
    flex-direction: column;
    align-items: center;
    width: 200% ;
  }
  .en-savoir-plus {
   width: 50%;
   padding: 3%;
 }
}

@media screen and (max-width: 768px) {
  .en-savoir-plus {
    width: 50%;
    padding: 3%;
    color: rgb(65,88,208);
    text-align: center;
  }
  .en-savoir-plus:hover{
     background-color: #f0f0f0;
    transform: scale(1.05);
  }
}


@media screen and (max-width: 480px) {
  .en-savoir-plus {
    font-size: 16px;
    color: rgb(65,88,208);
  }
}



 
.label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    text-align: center;
    padding: 15px;
    line-height: 2;
}

.label:hover {
    background-color: rgba(0, 0, 0, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.label p{
    color: white;
    position: absolute;
    margin-top: 1%;
    font-size: 20px;
}
.label a{
    color: rgb(249, 216, 28);
     text-decoration: none;
}
.label a:hover{
    color: rgb(249, 216, 28);
    text-decoration: underline;
     
}
 

@media (max-width: 768px) {
    .container0{
        background-color: none;
        height: auto;
        width: auto;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        padding: 30px;
    }

    .deuxpartie{
        height: auto;
        width: 90%;
    }

    .label {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        font-size: 13px;
        transition: all 0.3s ease;
        text-align: center;
        padding: 3px;
        line-height: 3;
     }
    

}


.valeurs p{
    color: rgb(0, 0, 0);
    text-align: center;
    font-size: 40px;
    font-weight: bolder;
    background-color: none;
    text-shadow: 1px 1px 1px black;
}

.container1 {
  display: flex;
  flex-wrap: wrap; /* Permet aux articles de passer à la ligne */
  justify-content: space-between;
  gap: 2%; /* Espace horizontal entre les colonnes */
  padding: 4%;
  max-width: 1400px;
  margin: 0 auto; /* Centre le conteneur */
}

.articles {
  position: relative;
  width: 48%; /* Moins que 50% pour laisser de l’espace entre */
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  margin-bottom: 2%;
}

.articles:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.articles img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.articles:hover img {
  transform: scale(1.1);
}

.articles .label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  box-sizing: border-box;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.articles:hover .label {
  transform: translateY(0%);
}

.articles .label p {
  margin: 0;
  font-size: 16px;
  text-align: center;
  line-height: 2;
  padding: 0 10px;
  margin-top: 5%;
  word-break: break-all;
}

   


@media (max-width: 768px){

    .container1 {
        display: flex;
        justify-content: center;
        flex-direction: row;
        gap: 25px;
        padding: 35px;
        max-width: 1400px;
        margin: 0 auto;
        flex-wrap: wrap;
      }

    .articles {
        position: relative;
        width: 100%;
        height: 300px;
        overflow: hidden;
        border-radius: 0;  
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
}


.separation{
    background-color: none;
    text-align: center;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1%;
}
.separation h2{
    font-weight: bolder;
    color: black;
    font-style: 40px;
}

#section {
    display: flex;
    justify-content: center;
    background: #f9f9f9;
    flex-wrap: wrap;
    gap: 5%;
  }
  
  .chiffres {
    text-align: center;
    width: 10%;
    margin: 20px;
  }
  
  .chiffres img {
    width: 60%;
    height: auto;
   }
  
  .chiffres h2 {
    font-size: 28px;
    color: #2E8B57;
    margin: 10px 0;
  }
  
  .chiffres p {
    font-size: 18px;
    color: #333;
  }
  

@media (max-width: 768px){
    .chiffres{
        width: 100%;
        background-color: none;
        margin : 5%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff;
    }

    .chiffres h2{
        font-size: 24px;
        font-weight: bold;
         color: #2E8B57;
    }
    
    .chiffres p{
        font-size: 16px;
        font-weight: lighter;
        margin-top: 10%;
        color: #2E8B57;
    }

    

    .chiffres img {
        width: 30%;
        height: auto;
       }

}


.marques {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
    background-color: #f4f4f4;
}

.marques-propose {
    flex: 1 1 120px;
    max-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.marques-propose:hover {
    transform: scale(1.05);
}

.marques-propose img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .marques {
        padding: 20px 10px;
        gap: 15px;
    }

    .marques-propose {
        flex: 1 1 40%;
        max-width: 45%;
    }

    .marques-propose img {
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .marques-propose {
        flex: 1 1 100%;
        max-width: 90%;
    }
}




.info{
    height: 100px;
    width: auto;
    background-color: none;
    padding: 1%;
    display: flex;
    justify-content: space-between;
 
}
.info img{
    height: 60px;
    margin-left: auto;
    position: sticky;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.info img:hover {
    transform: scale(1.1);
}

/*Le footer*/

#footer {
    background: linear-gradient(to right, #3a506b, rgb(65,88,208));
    color: white;
    padding: 10px 0 10px;
    height: auto;
    margin-top: 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    width: 30%;
    margin-bottom: 30px;
    padding: 1%;
}

.footer-section h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #ffbb00;
    bottom: 0;
    left: 0;
}

/* CONTACT INFO */
.contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
    font-size: 18px;
}

.footer-icon {
    width: 24px;
    height: 24px;
}

.contact-line span,
.contact-line a[href^="mailto:"] {
    color: white;
    text-decoration: none;
}

.contact-line .action {
    margin-left: auto;
    background-color: white;
    color: #3a506b;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-line .action:hover {
    background-color: #ffbb00;
    color: #fff;
}

/* SOCIAL MEDIA */
.social-media {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #ffbb00;
    transform: translateY(-5px);
}

.social-icon img {
    width: 20px;
    height: 20px;
}

/* LIENS RAPIDES */
.links ul {
    list-style: none;
    padding: 0;
}

.links ul li {
    margin-bottom: 12px;
}

.links ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.links ul li a:hover {
    color: #ffbb00;
    transform: translateX(5px);
}

/* BAS DE PAGE */
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.footer-bottom p {
    margin: 10px 0;
}

.legal-links a {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #ffbb00;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-section {
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-line {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-line .action {
        margin-left: 0;
        margin-top: 5px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        margin-top: 15px;
    }

    .legal-links a {
        margin: 0 10px;
        display: inline-block;
    }
}


/*Connection de l'admin*/

.formulaire {
    max-width: 450px;
    margin: 30px auto;
  }
  
  .login-form {
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: "Libre Bodoni", serif;
    position: relative;
  }
  
  .login-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 16px;
  }
  
  .login-form input[type="text"],
  .login-form input[type="date"],
  .login-form input[type="surface"],
  .login-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
  }
  
  .login-form input[type="text"]:focus,
  .login-form input[type="date"]:focus,
  .login-form input[type="surface"]:focus,
  .login-form select:focus {
    border-color: rgb(65,88,208);
    box-shadow: 0 0 5px rgba(65, 88, 208, 0.3);
    outline: none;
  }
  
  .login-form button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, rgb(65,88,208), #3a506b);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 4%;
  }

   
   
  @media (max-width: 768px) {
    .formulaire {
      width: 90%;
      margin: 20px auto;
    }
    
    .login-form {
      padding: 20px;
    }
  }

.modif {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0 20px 0;
}

.ajouter {
    background-color: royalblue;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(65,88,208,0.08);
    padding: 30px 40px;
    min-width: 220px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s, background 0.2s;
}
.ajouter:hover {
    box-shadow: 0 4px 24px rgba(65,88,208,0.18);
    background: #3a506b;
}
.ajouter a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 768px) {
    .modif {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .ajouter {
        min-width: 80vw;
        padding: 20px 10px;
    }
}

.ajout{
    text-align: center;
    font-size: 30px;
    margin: 4%;
    font-weight: bolder;
    text-shadow: black 7px 1px 18px;
}


  /*Page de réalisation*/

  .intro-section {
    background-color: #ffffff;
    padding: 5%;
    animation: fadeInUp 1.5s ease-in-out forwards;
    opacity: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.intro-section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    margin-left: 27%;
}

.intro-section p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .intro-section {
        background-color: #ffffff;
        padding: 5%;
        animation: fadeInUp 1.5s ease-in-out forwards;
        opacity: 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        text-align: center;
     }
    
    .intro-section h2 {
        font-size: 2rem;
        color: #2c3e50;
        margin-bottom: 20px;
        text-align: center;
        font-weight: 600;
        margin-right: 20%;
    }
    
    .intro-section p {
        font-size: 1.1rem;
        color: #555;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.7;
        text-align: center;
    }
}

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


/* Conteneur pour les cartes de projets */
 .project-card {
    display: inline-block;
    width: 354px;
    height: auto;
    margin: 24px;
    padding: 10px;
    background-color: #f9f9f9;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 2%;
    transition: transform 0.3s ease-in-out;
    border: 1px solid #e0e0e0;  
    line-height: 15px;
    margin-left: 3%;
  }
  
  .project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .project-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50; /* Couleur du texte pour les titres */
    margin-top: 10px;
  }
  
  .project-card ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
  }
  
  .project-card ul li {
    font-size: 17px;
    color: #7f8c8d;  
    margin-bottom: 8px;
    line-height: 20px;

  }
  
  .project-card ul li strong {
    color: rgb(65,88,208);  
  }
  
   .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background-color: rgba(65, 89, 208, 0.043);  
  }
  
  /* Styles responsives */
  @media (max-width: 768px) {
    .project-card {
      width: 80%;
      max-width: 400px;
      margin: 8%  ;
    }
  }
  

  .project-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .retour{
    height: 50px;
    width: 100%;
    background-color: none;
    padding: 5%;
  }
  .retour a{
    font-size: 30px;
    color: rgb(65,88,208);
  }

.top-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 30px 20px;
    background-color: #f9f9f9;
    gap: 20px;
}
.info-box {
    display: flex;
    align-items: flex-start;
    max-width: 300px;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    font-family: 'Labrada', serif;
}
.info-box img {
    width: 50px;
    margin-right: 15px;
}
.info-box strong {
    font-size: 16px;
    color: #333;
}
.info-box a {
    display: inline-block;
    margin-top: 5px;
    color: #007BFF;
    text-decoration: none;
    font-size: 14px;
}
.info-box a:hover {
    text-decoration: underline;
}

.intro-produits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    background-color: #e9f5ff;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.intro-left {
    max-width: 60%;
}
.intro-left h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #004080;
}
.intro-left p {
    font-size: 16px;
    color: #444;
}
.intro-right select {
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.produits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
}
.produit {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.3s;
}
.produit:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.produit img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
}
.produit h3 {
    font-size: 18px;
    margin: 15px 0;
    color: #222;
}
.produit p {
    font-size: 14px;
    color: #666;
}

/* Conteneur pour les cartes de produuits */


 .product-card {
    display: inline-block;
    width: 270px;
    height: auto;
    margin: 1%;
    padding: 2%;
    background-color: #fdfdfd;  
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
    border: 1px solid #e0e0e0;  
  }
  
  .product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 9px;
  }
  
  .product-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;  
    margin-top: 15px;
  }
  
  .product-card ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
  }
  
  .product-card ul li {
    font-size: 15px;
    color: #7f8c8d;  
    margin: 7%;
    margin-bottom: 5px;
  }
  
  .product-card ul li strong {
    color: rgb(65,88,208);  
  }
  
   .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    background-color: rgba(65, 89, 208, 0.043);  
  }
  
   @media (max-width: 768px) {
    .product-card {
      width: 70%;
      max-width: 400px;
      margin: 14% ;
      height: auto;
    }
  }
  
   .product-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .aff{
    background-color: none;
    padding: 3%;
  }
  .aff p{
    background-color: rgb(65,88,208);
    padding: 5px;
    color: white;
    width: 95%;
    height: 70px;
  }
  .aff a{
     color: white;
     background-color: #3498db;
     text-decoration: none;
     padding: 1%;
     border-radius: 5%;
  }

 .main-menu.mobile-only {
  display: none !important;
  box-sizing: border-box;
}


@media (max-width: 768px) {
  .main-menu:not(.mobile-only) {
    display: none !important;
  }
  .main-menu.mobile-only {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #4356d8;
    z-index: 1000;
    padding-top: 10px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.4s cubic-bezier(.4,0,.2,1), transform 0.4s cubic-bezier(.4,0,.2,1);
    align-items: center;
    justify-content: center;
    min-height: 60vh;
  }
  .main-menu.mobile-only.active {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
    width: 100%;
  }
  .main-menu.mobile-only li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
  }
  .main-menu.mobile-only li:last-child {
    border-bottom: none;
  }
  .main-menu.mobile-only a {
    padding: 18px 0;
    color: #fff;
    font-size: 1.2em;
    text-align: center;
    display: block;
    width: 100%;
  }
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

@media screen and (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100vw;
    }
}

/* Styles pour la navigation de admin_dashboard.php */
#nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

#nav ul li a {
    color: white;  
    text-decoration: none;  
    padding: 10px 15px;  
    display: block;
}

/* Cache le div .burger non utilisé dans la nav d'admin_dashboard.php */
#nav .burger {
    display: none;
}

@media (max-width: 768px) {
  #nav ul {
    flex-direction: column;  
    align-items: center;  
  }
  #nav ul li {
    width: 100%; 
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);  
  }
  #nav ul li:last-child {
    border-bottom: none;  
  }
  #nav ul li a {
    padding: 15px 0;  
  }
}

@media (min-width: 769px) {
    .main-menu:not(.mobile-only) {
        display: flex !important;  
    }
    .main-menu.mobile-only {
        display: none !important;  
    }
}


.modif-style {
  max-width: 600px;
  margin: 4px auto;
  background-color: rgb(65, 88, 208);
  color: white;
  padding: 30px 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;}



.modif-style label {
  font-weight: bold;
  font-size: 16px;
  display: block;
}

.modif-style input[type="number"],
.modif-style textarea[type="text"],
.modif-style input[type="text"] {
  width: 100%;
  height: 40px;
  padding: 0 7px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  color: #333;
  box-sizing: border-box;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}


.modif-style textarea[type="text"] {
  width: 100%;
  height: 100px;
  padding: 0 7px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  color: #333;
  box-sizing: border-box;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}


.modif-style button {
  height: 45px;
  background-color: white;
  color: rgb(65, 88, 208);
  border: none;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 18px;
  margin-top: 1px;
}

.modif-style button:hover {
  background-color: #e6e6e6;
}




.body-section{
    background-color:none;
    display:flex;
    padding: 4%;
    gap: 5%;
}

.point-fort {
    width: 250px;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 40px;
    box-shadow: #4357d836 1px 0px 14px 1px;
}
.point-fort:hover{
    cursor: pointer;
    transform: translateY(-10px);
    transition: ease-in-out 0.5s;
}

.point-fort img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.point-fort p {
    font-size: 16px;
    color: #333;
    margin-bottom: 5%;
}


@media screen and (max-width: 768px) {
    .body-section{
    background-color:none;
    display:flex;
    padding: 14%;
    gap: 5%;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

.point-fort {
    width: 250px;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 40px;
    box-shadow: #4357d836 1px 0px 14px 1px;
    margin: 5%;
}

.point-fort img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.point-fort p {
    font-size: 16px;
    color: #333;
    margin: 0;
}
}


/*CSS pour les boutons de modification*/

/* CORRECTED */
.action {
  background-color: rgb(224, 238, 238);
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: blue;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 35%;
}

.action:hover {
  background-color: rgb(65, 88, 208);
  color: white;
}



/*CSS pour la page service*/
.pourquoi-nous-choisir{
    height: 300px;
    width: 100%;
    background-color: none;
    padding: 1%;
    color: black;
    font-weight: bolder;
    font-size: xx-large;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.393) 1px 2px 4px ;
 }

.avantages{
    height: 200px;
    width: 96%;
    padding: 1%;
    display: flex;
    justify-content: center;
}
 

.description{
    background-color: rgb(65, 88, 208);
    height: auto;
    width: 30%;
    margin: 3%;
    padding: 3%;
    box-shadow: rgba(65, 89, 208, 0.384) 1px 0px 14px 1px ;
 }
.description li{
     margin-bottom: 9%;
     font-size: medium;
     list-style: inside;
     color: white;
 }


 /*CSS pour la page En savoir plus*/

 .tête{
    font-weight: bolder;
    font-size: 30px;
    text-align: center;
    margin: 2%;
    text-shadow: rgba(65, 89, 208, 0.418) 2px 2px 7px;
 }
.info-ensavoir-plus {
  max-width: 1000px;
  margin: 50px auto;
  padding: 40px;
  background: #f9f9f9;
  border-radius: 12px;
  font-family: 'Lexend', sans-serif;
}
 

.savoir-plus-blocs {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.savoir-plus-blocs .bloc {
  background: white;
  padding: 20px;
  border-left: 5px solid #2E8B57;
  border-radius: 8px;
}

.savoir-plus-blocs .bloc h2 {
  color: #112ab7;
  margin-bottom: 10px;
}

.savoir-plus-blocs .bloc p {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}


.text-presentation {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 30px;
    background-color: #f9f9f9;
    border-top: 5px solid rgb(65, 88, 208); 
    border-left: 5px solid rgb(65, 88, 208); 
    border-right: 5px solid rgb(65, 88, 208); 
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
	text-align: left;
}

.text-du-contenu {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: left;
}


@media screen and (max-width: 768px) {

    .text-presentation {
    max-width: 800px;
    margin: 5%;
    padding: 20px 30px;
    background-color: #f9f9f9;
    border-left: 5px solid rgb(65, 88, 208); 
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    }

}

/*Le CSS pour la page Application*/


  .carousel-simple {
  position: relative;
  width: 100%;
  margin: 2rem auto;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  background: #fff;
  height:500px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  display: none;
  text-align: center;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0 0 10px 10px;
}

.slide p {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 1rem 0 0.5rem;
}

.carousel-simple button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 3%;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 1;
}

.prev { left: 10px; }
.next { right: 10px; }

@media screen and (max-width: 600px) {
  .slide img {
    height: 200px;
  }

  .slide p {
    font-size: 1rem;
  }
  .carousel-simple button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 3%;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 1;
  margin-top: -25%;
 }
}
