/**
* Template Name: DevFolio - v4.3.0
* Template URL: https://bootstrapmade.com/devfolio-bootstrap-portfolio-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background-color: #ffffff;
  color: #000000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #f98b2d;
}

a {
  color: #161617;
  text-decoration: none;
  transition: all 0.5s ease-in-out;
}

a:hover {
  color: #0078ff;
  text-decoration: none;
  transition: all 0.5s ease-in-out;
}

.p-r {
  position: relative;
}

.color-a {
  text-decoration: none;
  color: #0078ff;
}

.color-d {
  color: #f5f5f5;
}


.color-text-a {
  text-decoration: none;
  color: #4e4e4e;
}

.box-shadow, .paralax-mf, .service-box, .work-box, .card-blog {
  box-shadow: 0 13px 8px -10px rgba(0, 0, 0, 0.1);
}

.box-shadow-a, .button:hover {
  text-decoration: none;
  box-shadow: 0 0 0 4px #cde1f8;
}

.display-5 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.1;
}

.display-6 {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.1;
}

.avatar {
  width: 32px;
  height: 32px;
  margin-right: 4px;
  overflow: hidden;
}

.bg-image {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
}

@media (max-width: 1024px) {
  .bg-image {
    background-attachment: scroll;
  }
}

/* .overlay-mf {
  background-color: #0078ff;
} */

.overlay-mf {
  position: absolute;
  top: 0;
  left: 0px;
  padding: 0;
  height: 100%;
  width: 100%;
  opacity: .7;
}



.paralax-mf {
  position: relative;
  padding: 8rem 0;
}

.display-table {
  width: 100%;
  height: 100%;
  display: table;
}

.table-cell {
  display: table-cell;
  vertical-align: middle;
}

/*--/ Sections /--*/
.sect-4 {
  padding: 4rem 0;
}

.sect-pt4 {
  padding-top: 4rem;
}

.sect-mt4 {
  margin-top: 4rem;
}


/*--/ Title s /--*/
.title-s {
  font-weight: 600;
  color: #f98b2d;
  font-size: 1.5rem;
}

p{
 
  font-size: 20px;
}

/*--/ Title A /--*/
.title-box {
  margin-bottom: 4rem;
}

.title-a {
  text-decoration: none;
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
}

.subtitle-a {
  text-decoration: none;
  color: #4e4e4e;
}

.line-mf {
  width: 40px;
  height: 5px;
  background-color: #0078ff;
  margin: 0 auto;
}

/*--/ Title Left /--*/
.title-box-2 {
  margin-bottom: 3rem;
}

.title-left {
  font-size: 2rem;
  position: relative;
  margin-bottom: 2rem;
  color: #ff8c00;
}

.title-left:before {
  content: "";
  position: absolute;
  height: 3px;
  background-color: #ff8c00;
  width: 100px;
  bottom: -12px;
  left: 0;
}

/*------/ Box /------*/
.box-pl2 {
  padding-left: 2rem;
}

.box-shadow-full {
  padding: 3rem 1.25rem;
  position: relative;
  background-color: #fff;
  margin-bottom: 3rem;
  z-index: 2;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.06), 0 2px 5px 0 rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .box-shadow-full {
    padding: 3rem;
  }
}

/*------/ Socials /------*/
.socials {
  padding: 1.5rem 0;
}

.socials ul {
  display: flex;
  gap: 1rem;
}

.socials .ico-circle {
  width: 45px;
  height: 45px;
  background: linear-gradient(145deg, #f98b2d, #ff9d49);
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: none;
}

.socials .ico-circle:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(249, 139, 45, 0.3);
}

/*------/ Ul resect /------*/
.ul-resect, .socials ul, .list-ico, .blog-wrapper .post-meta ul, .box-comments .list-comments, .widget-sidebar .list-sidebar, .widget-tags ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.list-ico {
  margin-bottom: 2rem;
}

.list-ico li {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.list-ico span {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f98b2d, #ff9d49);
  color: #fff;
  border-radius: 50%;
  margin-right: 1rem;
  font-size: 1.2rem;
}

/*------/ Ico Circle /------*/
.ico-circle {
  height: 100px;
  width: 100px;
  font-size: 2rem;
  border-radius: 50%;
  line-height: 1.55;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 0 10px #0078ff;
  display: block;
}

/*------/ Owl Carousel /------*/
.owl-theme .owl-dots {
  text-align: center;
  margin-top: 18px;
}

.owl-theme .owl-dots .owl-dot {
  display: inline-block;
}

.owl-theme .owl-dots .owl-dot span {
  width: 18px;
  height: 7px;
  margin: 5px 5px;
  background: #cde1f8;
  border: 0px solid #cde1f8;
  display: block;
  transition: all 0.6s ease-in-out;
  cursor: pointer;
}

.owl-theme .owl-dots .owl-dot:hover span {
  background-color: #cde1f8;
}

.owl-theme .owl-dots .owl-dot.active span {
  background-color: #1B1B1B;
  width: 25px;
}

/*--/ Scrolltop s /--*/
.scrolltop-mf {
  position: relative;
  display: none;
}

.scrolltop-mf span {
  z-index: 999;
  position: fixed;
  width: 42px;
  height: 42px;
  background-color: #0078ff;
  opacity: .7;
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
  color: #fff;
  top: auto;
  left: auto;
  right: 30px;
  bottom: 50px;
  cursor: pointer;
  border-radius: 50%;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #0078ff;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #298eff;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*------/ Prelaoder /------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #0078ff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*------/ Button /------*/
.button {
  display: inline-block;
  padding: .3rem .6rem;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  font-size: 1rem;
  border-radius: .3rem;
  border: 1px solid transparent;
  transition: all 500ms ease;
  cursor: pointer;
}

.button:focus {
  outline: 0;
}

.button:hover {
  background-color: #0062d3;
  color: #fff;
  transition: all 500ms ease;
}

.button-a {
  text-decoration: none;
  background-color: #0078ff;
  color: #fff;
  border-color: #cde1f8;
}

.button-big {
  padding: .9rem 2.3rem;
  font-size: 1.2rem;
}

.button-rouded {
  border-radius: 5rem;
}

.btn-lg {
  padding: .5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: .3rem;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
}

#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  letter-spacing: 1px;
}

#header .logo a {
  color: #ff9d49;
}

#header .logo img {
  max-height: 40px;
}

#header.header-scrolled {
  background: rgba(0, 0, 0, 0.9);
  padding: 12px 0;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar > ul > li {
  white-space: nowrap;
  padding: 10px 0 10px 30px;
}

.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f98b2d;
  font-size: 16px;
  font-weight: 600;
  padding: 0;
  white-space: nowrap;
  transition: 0.3s;
  letter-spacing: 0.4px;
  position: relative;
  text-transform: uppercase;
}

.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar > ul > li > a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -6px;
  left: 0;
  width: 0;
  background-color: #fd580a;
  visibility: hidden;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before, .navbar li:hover > a:before, .navbar .active:before {
  visibility: visible;
  width: 80%;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: #ff9d49;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 30px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  color: #4e4e4e;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: #0078ff;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(78, 78, 78, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile > ul > li {
  padding: 0;
}

.navbar-mobile a:hover:before, .navbar-mobile li:hover > a:before, .navbar-mobile .active:before {
  visibility: hidden;
}

.navbar-mobile a {
  padding: 10px 20px;
  font-size: 15px;
  color: #4e4e4e;
}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: #0078ff;
}

.navbar-mobile .getstarted {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: #0078ff;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  background: linear-gradient(45deg, #1a1a1a 0%, #0a0a0a 100%);
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.code-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  font-family: 'Consolas', monospace;
  z-index: 1;
}

.code-line {
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  margin: 5px 0;
  white-space: pre;
  position: relative;
  overflow: hidden;
}

.code-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, transparent, #1a1a1a 50%);
  transform: translateX(-100%);
  animation: revealCode 2s forwards;
}

@keyframes revealCode {
  to {
    transform: translateX(100%);
  }
}

.hero-title {
  color: #f98b2d;
  font-weight: 600;
  font-size: 3rem;
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.hero-subtitle {
  color: #f98b2d;
  opacity: 0;
  animation: subtitleAppear 1s ease forwards 2s;
}

@keyframes subtitleAppear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#work {
  position: relative;
  overflow: hidden;
}

#contact {
  background: url("../img/overlay-bg.jpg") center center no-repeat;
  background-size: cover;
  position: relative;
  padding: 60px 0;
}

#contact:before {
  content: "";
background-image: url(../img/Fuseaux_horaires.jpg);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#contact .container {
  position: relative;
  background: #fff;
  padding: 60px;
  border-radius: 0;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

#contact h2 {
  color: #ff8c00;
  font-size: 32px;
  margin-bottom: 30px;
}

#contact h2:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #ff8c00;
  margin-top: 8px;
}

.form-control {
  height: 50px;
  border: 2px solid #000;
  padding: 10px 15px;
  border-radius: 0;
  width: 100%;
  margin-bottom: 20px;
}

textarea.form-control {
  height: 150px;
}

.button-submit {
  background: #ff8c00;
  border: none;
  padding: 12px 30px;
  color: #fff;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
}

.button-submit:hover {
  background: #ff9d1a;
}

.more-info p {
  margin: 0;
  font-size: 16px;
}

.more-info p i {
  font-size: 20px;
  color: #000;
  margin-right: 10px;
}

.map-container {
  margin-top: 20px;
  width: 100%;
  height: 300px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.work-box {
  background: #ffffff;
  transition: all 0.5s ease;
  border-radius: 0;
  padding: 0;
  margin-bottom: 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  animation: elegant-pulse 2s ease-in-out infinite;
}

@keyframes elegant-pulse {
  0% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.05) translateY(-5px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

.work-box:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(249, 139, 45, 0.2);
}

.work-img {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  padding-top: 66.67%; /* Ratio 3:2 pour les images */
}

.work-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-content {
  padding: 2rem 3% 1rem 4%;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 0;
}

.w-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f98b2d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.w-more {
  color: #4e4e4e;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.work-content .w-more .w-ctegory {
  color: #000000;
}

.work-content .w-like {
  font-size: 1rem;
  float: right;
}

.work-content .w-like a {
  display: inline-block;
  padding: 3px 10px;
  background: linear-gradient(45deg, #f98b2d, #ff9d49);
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.work-content .w-like a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(249, 139, 45, 0.3);
}

.work-content .w-like a span {
  display: none;
}

.work-content .w-like a:after {
  content: "Voir projet";
  font-size: 0.9rem;
  font-weight: 500;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #000000;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ff9d49;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(78, 78, 78, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.text-color{
color: #f98b2d;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonial-box {
  color: #fff;
  text-align: center;
}

.testimonial-box .author-test {
  margin-top: 1rem;
}

.testimonial-box .author-test img {
  margin: 0 auto;
}

.testimonial-box .author {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  margin: 1rem 0;
  display: block;
  font-size: 1.4rem;
}

.testimonial-box .comit {
  font-size: 2rem;
  color: #0078ff;
  background-color: #fff;
  width: 52px;
  height: 52px;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .testimonial-box .description {
    padding: 0 5rem;
  }
}

@media (min-width: 992px) {
  .testimonial-box .description {
    padding: 0 8rem;
  }
}

@media (min-width: 1200px) {
  .testimonial-box .description {
    padding: 0 13rem;
  }
}

.swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.swiper-pagination .swiper-pagination-bullet-active {
  background-color: #fff;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.footer-paralax {
  padding: 0;
  margin-bottom: 0;
}

.contact-mf {
  margin-bottom: 0;
}

.php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.php-email-form input, .php-email-form textarea {
  border-radius: 10px;
  border: 2px solid rgba(249, 139, 45, 0.1);
  padding: 12px 15px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.9);
}

.php-email-form input:focus, .php-email-form textarea:focus {
  border-color: #f98b2d;
  box-shadow: 0 0 15px rgba(249, 139, 45, 0.1);
}

.php-email-form button[type="submit"] {
  background: linear-gradient(45deg, #f98b2d, #ff9d49);
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.4s ease;
}

.php-email-form button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(249, 139, 45, 0.3);
  background: linear-gradient(45deg, #ff9d49, #f98b2d);
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
@media (min-width: 767px) {
  .card-blog {
    margin-bottom: 3rem;
  }
}

.card-blog .card-body {
  position: relative;
}

.card-blog .card-category-box {
  position: absolute;
  text-align: center;
  top: -16px;
  left: 15px;
  right: 15px;
  line-height: 25px;
  overflow: hidden;
}

.card-blog .card-category {
  display: inline-block;
  color: #fff;
  padding: 0 15px 5px;
  overflow: hidden;
  background-color: #0078ff;
  border-radius: 4px;
}

.card-blog .card-category .category {
  color: #fff;
  display: inline-block;
  text-transform: uppercase;
  font-size: .7rem;
  letter-spacing: .1px;
  margin-bottom: 0;
}

.card-blog .card-title {
  font-size: 1.3rem;
  margin-top: .6rem;
}

.card-blog .card-description {
  color: #4e4e4e;
}

.card-blog .post-author {
  display: inline-block;
}

.card-blog .post-date {
  color: #4e4e4e;
  display: inline-block;
  float:right;
}

/*--------------------------------------------------------------
# Blog Single
--------------------------------------------------------------*/
.post-box,
.form-comments,
.box-comments,
.widget-sidebar {
  padding: 2rem;
  background-color: #fff;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .post-box,
  .form-comments,
  .box-comments,
  .widget-sidebar {
    padding: 3rem;
  }
}

.blog-wrapper .article-title {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .blog-wrapper .article-title {
    font-size: 1.9rem;
  }
}

.blog-wrapper .post-meta {
  margin: 1rem 0;
}

.blog-wrapper .post-meta ul {
  border-left: 4px solid #0078ff;
  margin-top: 1rem;
}

.blog-wrapper .post-meta ul li {
  display: inline-block;
  margin-left: 15px;
}

.blog-wrapper .post-meta ul a {
  color: #0078ff;
}

.blog-wrapper .post-meta ul span {
  color: #1e1e1e;
}

.blog-wrapper .blockquote {
  border-left: 4px solid #0078ff;
  padding: 18px;
  font-style: italic;
}

/*------/ Comments /------*/
.box-comments .list-comments li {
  padding-bottom: 40px;
}

.box-comments .list-comments .comment-avatar {
  display: table-cell;
  vertical-align: top;
}

.box-comments .list-comments .comment-avatar img {
  width: 80px;
  height: 80px;
}

.box-comments .list-comments .comment-author {
  font-size: 1.3rem;
}

@media (min-width: 768px) {
  .box-comments .list-comments .comment-author {
    font-size: 1.5rem;
  }
}

.box-comments .list-comments .comment-details {
  display: table-cell;
  vertical-align: top;
  padding-left: 25px;
}

.box-comments .list-comments a {
  color: #0078ff;
}

.box-comments .list-comments span {
  color: #1e1e1e;
  font-style: italic;
}

.box-comments .comment-children {
  margin-left: 40px;
}

/*------/ Sidebar /------*/
.widget-sidebar .sidebar-title {
  font-size: 1.6rem;
  font-weight: 600;
  border-left: 5px solid #0078ff;
  padding-left: 15px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.widget-sidebar .list-sidebar li {
  position: relative;
  padding: 6px 0 6px 24px;
}

.widget-sidebar .list-sidebar li:before {
  position: absolute;
  content: "";
  width: 10px;
  height: 1px;
  left: 0;
  background-color: #0078ff;
  top: 20px;
}

.sidebar-search input {
  background-color: #fff;
  border-radius: 0;
  transition: all 0.5s ease-in-out;
}

.sidebar-search .btn-search {
  background-color: #0078ff;
  border-color: #0078ff;
  border-radius: 0;
  padding-left: 20px;
  padding-right: 20px;
}

.widget-tags ul li {
  display: inline-block;
  background-color: #0078ff;
  padding: .2rem .6rem;
  margin-bottom: .5rem;
  border-radius: 15px;
}

.widget-tags ul li a {
  color: #fff;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
  text-align: center;
  color: #fff;
  padding: 25px 0;
  background: #000000;
  position: relative;
  z-index: 1;
  margin-top: 0;
}

footer .copyright {
  margin-bottom: .3rem;
}

footer .credits {
  margin-bottom: 0;
}

footer .credits a {
  color: #fff;
}


.small {
  font-size: 80%;
} 



.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
} 




/* footer ajout */

/* .bg-light {
  background-color: #000000  !important;
} 



.pt-5,
.py-5 {
  padding-top: 3rem !important;
} 



.pb-5,
.py-5 {
  padding-bottom: 3rem !important;
} 


.text-center {
  text-align: center !important;
} 



.text-muted {
  color: #ffffff !important;
} 
 */

/* Ajustement de la grille pour un espacement uniforme */
.portfolio-mf .row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.portfolio-mf .col-md-4 {
  padding: 15px;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

@media (max-width: 768px) {
  .portfolio-mf .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.map-container {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  margin-top: 2rem;
}

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

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.coding-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

.code-line {
  position: absolute;
  width: 2px;
  height: 50px;
  background: linear-gradient(180deg, #f98b2d 0%, rgba(249, 139, 45, 0) 100%);
  animation: codingAnimation 2s infinite;
  opacity: 0;
}

.code-line:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
}

.code-line:nth-child(2) {
  left: 50%;
  animation-delay: 0.5s;
}

.code-line:nth-child(3) {
  left: 80%;
  animation-delay: 1s;
}

@keyframes codingAnimation {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* Couleurs de fond pour les sections */
#work {
  padding-bottom: 100px;
}

#contact {
  background: radial-gradient(circle at center, #f8f9fa, #e9ecef);
  color: #ffffff;
}

.work-box {
  background: #ffffff;
  transition: all 0.5s ease;
  border-radius: 0;
}

.work-box:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(249, 139, 45, 0.2);
}

.work-img {
  border-radius: 0;
}

.work-content {
  padding: 2rem 3% 1rem 4%;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 0;
}

.portfolio-details-slider .slide-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.portfolio-details-slider .swiper-button-next,
.portfolio-details-slider .swiper-button-prev {
  width: 45px;
  height: 45px;
  background: rgba(249, 139, 45, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.portfolio-details-slider .swiper-button-next:hover,
.portfolio-details-slider .swiper-button-prev:hover {
  background: rgba(249, 139, 45, 0.2);
}

.portfolio-details-slider .swiper-button-next:after,
.portfolio-details-slider .swiper-button-prev:after {
  font-size: 20px;
  color: #f98b2d;
}

.portfolio-details-slider .swiper-pagination-bullet {
  background: rgba(249, 139, 45, 0.2);
}

.portfolio-details-slider .swiper-pagination-bullet-active {
  background: #f98b2d;
}

.code-container {
  position: relative;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  border-radius: 8px;
  margin-top: 30px;
  font-family: 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.6;
}

.typed-code {
  white-space: pre-wrap;
  word-break: break-all;
  display: block;
}

.typed-cursor {
  color: #fff;
  font-weight: bold;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Couleurs de syntaxe standard */
.comment { color: #6A9955 !important; }
.string { color: #CE9178 !important; }
.number { color: #B5CEA8 !important; }
.keyword { color: #569CD6 !important; }
.function { color: #DCDCAA !important; }
.variable { color: #9CDCFE !important; }
.operator { color: #D4D4D4 !important; }
.constant { color: #4FC1FF !important; }
.punctuation { color: #D4D4D4 !important; }
.class { color: #4EC9B0 !important; }
.module { color: #C586C0 !important; }
.property { color: #9CDCFE !important; }
.parameter { color: #9CDCFE !important; }
.type { color: #4EC9B0 !important; }

.skill-mf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.skill-item {
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
}

.skill-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  box-shadow: 0 5px 15px rgba(249, 139, 45, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.skill-icon i {
  font-size: 2.5rem;
  color: #f98b2d;
  transition: all 0.5s ease;
  animation: elegant-pulse 2s ease-in-out infinite;
}

/* Modification de l'animation elegant-pulse sans transparence */
@keyframes elegant-pulse {
  0% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.05) translateY(-5px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

.skill-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(249, 139, 45, 0.2);
}

.skill-icon:hover i {
  transform: scale(1.2);
  color: #ff9d49;
}

.skill-name {
  font-weight: 500;
  color: #333;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation de code pour la section about */
.about-mf {
  position: relative;
  overflow: hidden;
  background: #fafafa;
}

.code-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.code-line {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #f98b2d;
  opacity: 0;
  white-space: nowrap;
  transform-origin: center;
  animation: fallDown 4s linear;
}

@keyframes fallDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  10% {
    opacity: 0.1;
  }
  90% {
    opacity: 0.1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

.about-content {
  position: relative;
  z-index: 1;
}

#work {
  position: relative;
  overflow: hidden;
}

.wave-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
}

.wave {
  position: absolute;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 30px,
    rgba(249, 139, 45, 0.1) 30px,
    rgba(249, 139, 45, 0.1) 60px
  );
  animation: waveMove 20s linear infinite;
}

@keyframes waveMove {
  0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
  100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

.work-content {
  position: relative;
  z-index: 1;
}

/* Application de l'animation aux liens du menu */
.navbar .nav-link {
  position: relative;
  animation: elegant-pulse 2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.2s);
}

/* Application aux titres de sections */
.section-title h2,
.section-title h3 {
  animation: elegant-pulse 2s ease-in-out infinite;
}

/* Garder l'animation float uniquement pour about */
#about .section-title h2 {
  animation: float 3s ease-in-out infinite;
}

/* Remplacer bounce-element par la nouvelle animation */
.bounce-element {
  animation: elegant-pulse 2s ease-in-out infinite !important;
}

/* Accélérer légèrement les animations existantes */
.work-box,
.skill-icon i {
  animation: elegant-pulse 2s ease-in-out infinite;
}

/* Ajouter l'animation aux titres des sections spécifiques */
#about .section-title h2,
#work .section-title h2,
#contact .section-title h2 {
  animation: elegant-pulse 2s ease-in-out infinite;
}

/* Remplacer l'animation de rebond par un effet de flottement */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(1deg);
  }
  50% {
    transform: translateY(0px) rotate(0deg);
  }
  75% {
    transform: translateY(8px) rotate(-1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

