body { animation: fadein 3s;
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 2; }
}
  

.navbar {
  margin-bottom: 20px;
  margin-top: 10px; /* Adjust the margin-top value as needed */
  background-color: transparent !important;
  border-bottom: 1px solid #ccc;
}

.navbar::after {
  content: "";
  display: block;
  height: 2px; /* Adjust the height value to change the thickness */
  background-color: #ccc; /* Adjust the color as desired */
}

.navbar-brand img {
  margin-right: 5px;
  max-width: 80px;
  max-height: 40px;
}
#about {
  padding: 20px 0;
}

#about h1 {
  color: #333;  /* Change the color */
  font-weight: bold;  /* Make it bold */
  font-size: 2.5em;  /* Increase the size */
  margin-bottom: 20px;  /* Add some space below */

}

#about h4 {
  color: #333;  /* Change the color */
  font-weight: bold;  /* Make it bold */
  font-size: 1.8em;  /* Increase the size */
  margin-bottom: 20px;  /* Add some space below */
  text-decoration: underline;  /* Add an underline */

}

#about p {
  font-size: 1em;  /* Adjust the size of the paragraph text */
  line-height: 1.6;  /* Adjust the line height */
}


.navbar-nav .nav-item {
  border-right: 1px solid #ccc;
}

.navbar-nav .nav-item:last-child {
  border-right: none;
}

.navbar-nav .nav-link {
  font-weight: bold;
  transition: color 0.2s ease-in-out;
  color: inherit !important;
}

.navbar-nav .nav-link:hover {
  color: #cf2e2e !important;
}



/* Carousel */
.carousel {
  max-width: 70%; /* Reduces the width of the carousel */
  margin: 0 auto; /* Centers the carousel horizontally */
}
.carousel-item img {
    height: 60vh; /* Adjust this value to fit your needs */
    object-fit: cover;
    filter: blur(10px);
    transition: filter 2s;
}


.carousel-caption {
  top: 0; /* Position at the top of the carousel */
  bottom: auto; /* Override the bootstrap's default bottom property */
  transform: translateY(10%); /* Adjust this as needed */
  text-align: left;
  left: 15%;
}
.carousel-caption h1 {
  display: inline-block; /* New line */
  font-size: 2vw;
  font-weight: 700;
  letter-spacing: .1rem;
  color: #ffffff;
  background-color: rgba(0,0,0,0.5);
  padding: 2px;
}


.carousel-caption h1 span.ptt {
  color: #ffffff ;
}

.carousel-caption h1 span.iiot {
  color: #ffffff ;
}

.carousel-caption p {
  font-size: 1.25rem;
  max-width: 75%;
  margin-bottom: 2rem;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23cf2e2e' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
  transform: scale(1.5);
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23cf2e2e' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
  transform: scale(1.5);
}

.carousel-control-prev-icon:hover {
  transition: transform 0.5s ease-in-out;
  transform: scale(2.0);
}

.carousel-control-next-icon:hover {
  transition: transform 0.5s ease-in-out;
  transform: scale(2.0);
}

.carousel-control-prev {
  margin-left: -100px; /* Adjust the value as needed */
 
  
}

.carousel-control-next {
  margin-right: -100px; /* Adjust the value as needed */

}



/* Dropdown Menu */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: block !important; /* Add this to override Bootstrap's CSS */
    background-color: #fff; /* Set the background color */
    padding: 0.5rem 0; /* Adjust the padding as needed */
}

.dropdown-item {
    color: #000; /* Set the default text color */
    transition: background-color 0.2s ease-in-out; /* Add transition for color change */
}

.dropdown-item:hover {
    background-color: #cf2e2e; /* Change the background color on hover */
    color: #fff; /* Change the text color on hover */
}
 /* Customize button hover effect */
/*.btn:hover {
transform: scale(1.05);
transition: transform .3s;
}
.fixed-button {
position: absolute;
bottom: 2rem;
left: 15%;
top: 100px;   
left: 0px;  
}

/*#slide .fixed-button {
  background: #0c2e8a;
  border: 2px solid #0c2e8a;
}

#slide .btn:hover {
  background: none;
  color: #0c2e8a;
}
*/
/* Second Section */
.second-section {
padding: 5% 0;
background-color: #f8f9fa;
}

.second-section h2 {
margin-bottom: 2rem;
text-align: center;
text-transform: uppercase;
}
/* Objectifs Section
--------------------------------*/
#Objectifs {
  padding: 40px 0;
}
#Objectifs .section-header h4 {
  padding-bottom: 50px; 
  color: #333;  
  font-weight: bold; 
  font-size: 1.8em;  
  margin-bottom: 20px;  /* Add some space below */
  text-decoration: underline;  
}

#Objectifs .box {
  padding: 40px;
  box-shadow: 10px 10px 15px rgba(211, 9, 9, 0.1);
  background: #ffffffa4;
  transition: 0.4s;
  height: 100%;
}
#Objectifs .box .description {
  padding-top: 10px; /* Adjust as needed */
  padding-left: 80px; /* Increased padding to move content to the right */
  height: auto; /* Set to auto to allow content to take the necessary height */
  overflow: visible; /* Set to visible to show all content without hiding it */
}

#Objectifs .box .description p,
#Objectifs .box .description ol,
#Objectifs .box .description ul { 
  margin: 0;
  padding: 0;
}

#Objectifs .box .description p {
  padding-bottom: 10px;  /* Adjust as needed */
}

#Objectifs .box .description ol,
#Objectifs .box .description ul {
  padding-left: 15px; /* Adjust as needed */
}




#Objectifs .box .description,
#Objectifs .box .description ol,
#Objectifs .box .description ol li {
  font-size: 14px;
}

#Objectifs .box:hover {
  box-shadow: 0px 0px 30px rgba(190, 15, 15, 0.747);
  /* transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px); */
}

#Objectifs .box .icon {
  float: left;
}

#Objectifs .box .icon i {
  color: #444;
  font-size: 64px;
  transition: 0.5s;
  line-height: 0;
  margin-top: 34px;
}

#Objectifs .box .icon i:before {
  background: #0c2e8a;
  background: linear-gradient(45deg, #cf2e2e 0%, #cf2e2e 100%);
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#Objectifs .box h4 {
  margin-left: 100px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
  margin-top: 1px;
}

#Objectifs .box h4 a {
  color: #444;
}

#Objectifs .box p {
  font-size: 14px;
  margin-left: 100px;
  margin-bottom: 0;
  line-height: 24px;
}

@media (max-width: 767px) {
  #Objectifs .box .box {
    margin-bottom: 20px;
  }

  #Objectifs .box .icon {
    float: none;
    text-align: center;
    padding-bottom: 15px;
  }

  #Objectifs .box h4,
  #Objectifs .box p,
  #Objectifs .box .description ol {
    margin-left: 0;
    text-align: center;
  }
}

#Objectifs .box .description:hover {
  animation: slide-up 5s linear infinite;
}


#Partenaires {
  padding: 40px 0;
  position: relative; /* Add position relative to the section */
}

#Partenaires .container {
  position: relative; /* Add position relative to the container */
}

#Partenaires .swiper-container {
  max-width: 1200px; /* Set the maximum width */
  margin: 0 auto; /* Center the container horizontally */
  overflow: hidden; /* Hide any content that exceeds the container's width */
}

#Partenaires .swiper-pagination {
  position: relative;
  left: 0;
  right: 0;
  bottom: -400; /* Adjust the bottom spacing as needed */
  text-align: center;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #ffffff; /* Nouvelle couleur de fond */
  padding: 20px; /* Ajustement de l'espacement */
  font-size: 14px;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  color: #333333; /* Nouvelle couleur de texte */
  font-family: Arial, sans-serif; /* Nouvelle police de caractères */
}

#footer .credits a {
  color: #cf2e2e;
  transition: color 0.3s ease; /* Ajout d'une transition au survol */
}

#footer .credits a:hover {
  color: #ff0000; /* Nouvelle couleur au survol */
}

#footer .social-icons {
  text-align: center;
}

#footer .social-icons a {
  color: #555555;
  margin: 0 5px;
  transition: color 0.3s ease;
}

#footer .social-icons a:hover {
  color: #cf2e2e;
}


/* Contact Section
--------------------------------*/
#contact {
  padding: 30px 0;
}

#contact .contact-info {
  margin-bottom: 20px;
  text-align: center;
}

#contact .contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 10px;
  color: #cf2e2e;
}

#contact .contact-info address,
#contact .contact-info p {
  margin-bottom: 0;
  color: #000;
}

#contact .contact-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #999;
}

#contact .contact-info a {
  color: #000;
}

#contact .contact-info a:hover {
  color: #cf2e2e;
}

#contact .contact-address,
#contact .contact-phone,
#contact .contact-email {
  margin-bottom: 20px;
}

@media (min-width: 768px) {

  #contact .contact-address,
  #contact .contact-phone,
  #contact .contact-email {
    padding: 20px 0;
  }
}

@media (min-width: 768px) {
  #contact .contact-phone {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px; /* Add margin-bottom to create spacing */
}

.portfolio-wrap {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease-out;
}

.portfolio-item:hover .portfolio-wrap {
  transform: translateY(-10px);
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(207, 46, 46, 0.7);
  color: white;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.portfolio-info h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-info h4 a i {
  color: #000000;
}

.portfolio-item:hover .portfolio-info {
  opacity: 1;
}

.coming-soon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90%;
  background-color: #cf2e2e;
  color: white;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}
