@charset "UTF-8";

@font-face {
  font-family: 'BebasNeue';
  src: url("/assets/fonts/BebasNeue-Regular.ttf");
}

@import url('https://fonts.cdnfonts.com/css/avenir');


/************
1.GLOBALS
************/

*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-width: 320px;
  min-height: 100vh;
  position: relative;
  box-sizing: border-box;
  overflow-x: hidden;
  box-sizing: border-box;
  font-family: 'Avenir', sans-serif;
  background-color: var(--black);
}

body::-webkit-scrollbar {
  display: none;
}

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


:root {
  /* Colors */
  --light-red: #df2a19;
  --dark-red: #b91202;
  --white: #ffffff;
  --grey: #707070;
  --soft-black: #2d2d31;
  --black: #141416;

  /* Gradients */
  /* --gradient-white: radial-gradient(); */

  /* Fonts */
  --title-font: 'BebasNeue', sans-serif;

  /* Layout */
  --laptop-header-height: 110px;
  --mobile-header-height: 65px;
}

.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}
/**************************/


/**************************
3. Typos
**************************/

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--title-font);
}
h1, h2 { color: var(--white) }

h1 {
  text-transform: uppercase;
  font-weight: 900;
}

p {
  color: rgba(190, 190, 190, 1);
  line-height: 30px;
}

ol,
ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
  z-index: 1;
  color: var(--white);
}

a {
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
}

span {
  color: var(--white);
}

.strong {
  font-weight: bold;
}

.overline {
  background-color: var(--light-red);
}

.mt-7 {
  margin-top: 1,75rem;
}

/**************************
3. Heading
**************************/

.heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 1rem;
}

.heading span {
  font-family: var(--title-font);
  color: var(--dark-red);
  text-transform: uppercase;
}

.heading h2 {
  text-transform: uppercase;
}


/**************************
4. Buttons
**************************/

.cta-btn h3 {
  color: var(--white);
  padding-right: 5px;
  font-family: var(--title-font);
}

.cstm-btn,
.cstm-contact-btn {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: var(--white);
  font-size: 1.1rem;
  padding: 25px 20px;
  font-family: 'BebasNeue';
  border-radius: 5px;
  width: fit-content;
  text-transform: uppercase;
}

.cstm-btn:hover {
  color: var(--dark-red);
  cursor: pointer;
}

.cstm-btn {
  background-color: var(--black);
}

.cstm-contact-btn {
  border: 1px solid var(--dark-red);
  background-color: rgba(255,255,255, 0.3);
}

.cstm-contact-btn:hover {
  color: var(--dark-red);
  border: 3px solid var(--dark-red);
  cursor: pointer;
  transform: scale(1.1);
}


/* link btn */

.link-btn img {
  width: 1.1rem;
  height: 1.1rem;
}

/* contact-btn */

.contact-btn {
  flex-direction: row-reverse;
  border: 1px solid var(--dark-red);
}

.contact-btn img {
  width: auto;
  height: 43px;
}


/**************************
4. Cards
**************************/

.cstm-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  background-color: var(--soft-black);
  transition: transform 0.3s ease;
}

.cstm-card:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--dark-red);
  transition: width 0.3s ease;
}

.cstm-card:hover {
  transform: translateY(-10px) !important;
}

.cstm-card:hover .cstm-btn {
  border: 1px solid var(--dark-red);
}

.cstm-card:hover:after {
  width: 100%;
  left: 0;
}


/**************************
4. Navigation
**************************/

header {
  position: fixed;
  min-width: 100%;
  z-index: 10000;
}

.navbar {
  padding: 10px 20px;
  background-color: transparent;
  transition: background-color 0.3s ease;
}
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.8);
}
.navbar {
  width: 100%;
}

/* Centrer le menu */
.navbar-menu {
  margin-left: auto;
  margin-right: auto;
}

.navbar-logo img {
  height: 50px;
}

.active {
  color: var(--grey);
}

.menu {
  display: flex;
  list-style: none;

  padding: 0;
}

.menu-link {
  position: relative;
  margin: 0 15px;
}

.menu-item {
  position: relative;
  color: var(--white);
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.25rem;
}

.menu-item:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--dark-red);
  transition: width 0.3s ease;
}

.menu-item:hover::after {
  width: 100%;
}

.menu-item:hover {
  font-weight: bolder;
  color: var(--light-red);
}

.menu-icon {
  height: 50px;
}

.menu-call {
  display: flex;
  align-items: center;
  gap: 1.25rem
}

.menu-info {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.info-item {
  color: var(--white);
  font-family: 'BebasNeue';
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: bolder;
  margin-bottom: 0;
}

/* MeanMenu Overlay Styles for Mobile */
.mean-bar {
  display: none;
}

/**************************
4. Footer
**************************/


.f-title {
  font-family: 'BebasNeue';
  text-decoration: none;
  font-weight: bold;
}

footer button {
  border: none;
  background: transparent;
  text-align: start;
}

.contact-info-list,
.quick-nav-list {
  list-style-type: none;
}

@media screen and (min-width: 768px) {
  .contact-info-list ul li {
    display: flex;
    align-items: start;
  }
}

/**************************
4. HOMEPAGE
**************************/


/* HERO */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero .container-fluid,
.hero .row,
.hero .col-12 {
  height: 100%;
  padding: 0;
}

.hero .swiper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .swiper-wrapper,
.hero .swiper-slide {
  padding: 0;
  margin: 0;
}

.hero .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.swiper-slide .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
}

.swiper-slide .overlay {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  background-color: #141416;
  opacity: 0.7;
  width: 100%;
  height: 100%;
}

.shapes-wraper {
  position: absolute;
  z-index: 3;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.shapes-wraper .shape-5 {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 319px;
}

.shapes-wraper .line-left,
.shapes-wraper .line-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
}

.shapes-wraper .line-left {
  left: 0;
}

.shapes-wraper .line-right {
  right: 0;
}

.swiper-text {
  position: absolute;
  z-index: 4;
  color: var(--white);
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  z-index: 5;
  color: var(--dark-red) !important;
} 

.swiper-slide p {
  font-weight: bold;
}


/* Partners */

.partners .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.partners .grid-item {
  flex: 0 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  text-align: center;
}

.partners .grid img {
  height: auto;
  max-width: 250px;
  object-fit: contain;
}


/* QUALITIES */

.qualities .col-sm-12 {
  display: flex;
  justify-content: center;
}

.qualities .cc-top img,
.services-list .cc-top img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.qualities .cstm-card:hover .cc-top img,
.services-list .cc-top img {
  transform: scale(0.9);
  filter: brightness(0) saturate(100%) invert(26%) sepia(87%) saturate(3283%) hue-rotate(356deg) brightness(94%) contrast(92%);
}

.qualities .cc-top,
.services-list .cc-top {
  min-height: 90px;
  display: flex;
  align-items: center;
}

.qualities .cc-top img,
.cc-top h3,
.services-list .cc-top img,
.services-list h3 {
  padding: 10px;
}

.qualities .cc-top h3,
.services-list .cc-top h3 {
  color: var(--white);
}

.qualities .cc-top img {
  max-width: 130px;
}
/* ABOUT */

 .about-img-ctr {
   position: relative;
   overflow: hidden;
   max-width: 580px;
   margin: 0 auto;
   text-align: center;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 10px;
   width: 80%;
   height: 90%;
 }

 .img-wrapper {
   position: relative;
   overflow: hidden;
 }

 .img-rounded {
   border-radius: 60px 0 0 0;
   width: 195px;
   height: 132px;
   object-fit: cover;
   object-position: top;
 }

 .pattern {
   position: absolute;
   bottom: -55%;
   left: 42px;
   width: 383px;
   height: 246px;
   z-index: 1;
 }

 .img-rounded-small {
   border-radius: 80px 10px;
   width: 312px;
   height: 304px;
   object-fit: cover;
 }

 .img-rounded-large {
   border-radius: 50px 10px;
   width: 250px;
   height: 265px;
   object-fit: cover;
 }

 .center-icon {
   position: absolute;
   top: 41%;
   left: 41%;
   transform: translate(-50%, -50%);
   z-index: 4;
   display: grid;
   place-items: center;
   width: 100px;
   height: 100px;
   border: 12px solid white;
   border-radius: 50%;
   background-color: var(--dark-red);
   color: white;
   font-size: 30px;
 }

.about .overlay {
  position: absolute;
  z-index: -1;
  bottom: 10px;
  right: 10px;
  width: 95%;
  height: 50%;
  background-color: var(--light-red);
  border-top-left-radius: 60px;
}

.about-one {
  position: absolute;
  width: 90%;
  bottom: 10px;
  right: 10px;
}

.about-four {
  position: absolute;
  width: 75%;
  height: auto;
  left: 0;
}

.about ul { 
  margin-bottom: 3rem;
}

.about ul li {
  list-style-type: disc;
  color: rgba(190, 190, 190, 1);
  margin-bottom: 0.75rem;

}

.about h3 {
  color: var(--white);
}

/* COUNTS AND PLUS SECTION */


.counts .col-sm-12,
.plus .col-sm-12 {
  display: flex;
  justify-content: center;
}

.counts .cstm-card {
  display: flex;
  align-items: center;
  width: 100%;
}

.award-img {
  height: 50px;
}

.plus .grid {
  display: grid;
}

.plus .cstm-card {
  width: 100%;
  display: flex;
  align-items: center;
}

.counts .cstm-card .cc-top {
  background-color: var(--light-red);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  height: 64px;
  width: 64px;
  position: absolute;
  top: 0;
  right: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px;
}


.counts .cc-content {
  display: flex;
  flex-direction: column;
}

.counts .cc-content span:first-child,
.plus span  {
  color: var(--white);
  font-weight: bolder;
}

.counts .cc-content span:first-child {
  font-size: 2.6rem;
}

.plus span  {
  font-size: 1.5rem;
  text-transform: uppercase;
  font-family: 'BebasNeue';
  color: var(--dark-red);
}

.counts .cc-content span:last-child {
  color: var(--white);
  font-size: 1.1rem;
}


/* SERVICES */

.services {
  margin: 3.25rem 0;
}

.services .row:nth-child(2) {
  display: flex;
  justify-content: center;
}

.services .grid {
  display: grid;
  gap: 20px;
  width: max-content;
  margin: 0 auto;
}

.services .cstm-card {
  width: 320px;
  height: 215px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.services img {
  height: 40%;
}

.services span {
  color: var(--dark-red);
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: bolder;
}

.services .cstm-btn {
  border: 1px solid var(--dark-red);
}

/* LES PLUS */

.plus img {
  height: 84px;
}

.plus .cstm-card {
  justify-content: space-evenly;
}


/* EQUIPMENTS AND PROJECTS SECTIONS */
.equipments,
.projects {
  margin: 3.25rem 0;
}

.equipment-item,
.project-item {
  flex: 0 1 calc(25% - 40px);
  max-width: calc(25% - 40px);
  position: relative;
  text-align: center;
  overflow: hidden; 
  transition: transform 0.3s ease; 
}

.equipment-item:hover,
.project-item:hover {
  transform: translateY(-10px);
}

.equipment-item img,
.project-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.equipment-item:hover img,
.project-item:hover img {
  transform: scale(1.1);
}

.equipment-item .overlay,
.project-item .overlay {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  bottom: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.5s ease;
  padding: 20px;
}

.equipment-item:nth-child(2),
.equipment-item:nth-child(4),
.project-item:nth-child(2),
.project-item:nth-child(4) {
  margin-top: 20px;
}

.equipment-item:hover .overlay,
.project-item:hover .overlay {
  transform: scaleY(1);
  top: 0;
  bottom: 0;
}

.equipment-item .separator,
.project-item .separator {
  width: 50%;
  height: 2px;
  background: var(--light-red);
  margin: 15px 0;
}

.equipment-item .overlay p,
.project-item .overlay p {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--white);
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.equipment-item:hover .overlay p,
.project-item:hover .overlay p {
  opacity: 1;
  transform: translateY(0);
}

.eq-swiper-container,
.pr-swiper-container {
  padding: 20px;
}

.swiper-pagination {
  text-align: center;
  margin-top: 10px;
  position: relative;
}

.banner {
  width: 100%;
  background-image: url('../imgs/content/banner.webp');
  background-position: center center;
  background-repeat: no-repeat;
}

/**************************
4. SERVICES PAGE
**************************/

.service-banner,
.contact-banner {
  position: relative;
  display: flex;
  align-items: center;
  height: 50vh;
  overflow: hidden;
  background-image: url('../imgs/content/banner2.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 7.5rem 0;
}

.breadcrumb-wrapper {
  display: flex;
  justify-content: end;
}

.service-banner h1,
.contact-banner h1,
.breadcrumb-wrapper li,
.breadcrumb-wrapper li a {
  color: var(--white);
}

.strong {
  color: var(--dark-red);
}

.breadcrumb-wrapper li,
.breadcrumb-wrapper li a {
  font-weight: 500;
}

.banner img {
  position: absolute;
  z-index: -10;
}

.services-list {
  margin-top: 120px;
}

.service-menu {
  padding: 2.5rem;
  background-color: var(--soft-black);
  width: 100%;
  margin-bottom: 3rem;
}

.service-menu h3 {
  color: var(--dark-red);
  padding-left: 0;
  font-size: 2rem;
}

.service-menu li {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}

.service-menu li a {
  text-decoration: none;
  color: var(--white);
}

.call-menu {
  height: 45%;
  width: 100%;
}

.phone-number-box {
  position: relative;
  background-image: url('../imgs/content/sidebar-phone-number-box-bg.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  font-weight: bold;
  margin-bottom: 3rem;
}

.phone-number-box .icon {
  background-color: var(--light-red);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.phone-number-box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(185, 18, 2, 0.7), rgba(185, 18, 2, 0.5));
}
.phone-number-box span:last-child {
  font-weight: bolder;
  font-size: 2rem;
}
.phone-number-box span {
  position: relative;
  z-index: 1;
}

.colored-column {
  background-color: var(--dark-red);
  opacity: 0.7;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.back-to-top {
  position: fixed;
  bottom: 10%;
  right: 5%;
  z-index: 10;
  border: 1px solid red;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  animation: float 3s ease-in-out infinite;
  /* Animation pour le mouvement flottant */
  transition: transform 0.3s, background-color 0.3s;
  /* Transition pour un effet fluide au survol */
}

.back-to-top:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-15px) scale(1.2);
  /* Décalage vers le haut et agrandissement au survol */
}

.service-banner-end {
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
 background: linear-gradient(to bottom, var(--dark-red) 0%, #88180d 100%);
}


.portfolio-grid {
  position: relative;
}
.portfolio-item {
  width: calc(33.333% - 15px);
  margin-bottom: 15px;
  float: left;
  box-sizing: border-box;
  padding-left: 7.5px;
  padding-right: 7.5px;
}

@media (max-width: 992px) {
  .portfolio-item {
    width: calc(50% - 15px);
  }
}

@media (max-width: 576px) {
  .portfolio-item {
    width: 100%;
  }
}


/**************************
4. CONTACT
**************************/

.transition {
  position: absolute;
  z-index: 100;
  bottom: -10%;
  height: 110px;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0, 0.4), var(--black) 75%);
}

.help-text {
  color: var(--white);
}

.contact-reaseon-list p {
  margin-bottom: 3rem;
}

.contact-reaseon-list li {
  list-style: circle;
  margin-bottom: 0.7rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.contact-list li span {
  width: 50px;
  height: 50px;
  position: relative;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--light-red);
  color: var(--white);
}

.contact ul li a {
  color: var(--white);
}

.contact input {
  height: 60px;
}

.contact input::placeholder {
  color: white;
}


.contact input,
.contact textarea {
  background-color: var(--soft-black);
  border: none;
  color: var(--white);
}

.contact textarea {
  height: 200px;
}

.contact .form-check {
  height: 25px;
  display: flex;
  align-items: center;
  color: var(--white);
  gap: 1rem;
}

.contact input[type="checkbox"] {
  color: var(--white);
  height: 20px;
  width: 20px;
}

.send-btn {
  font-family: 'BebasNeue';
  font-size: 25px;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  background-color: var(--light-red);
  padding: 10px 40px;
  transition: transform 0.3s ease;
}

.send-btn:hover {
  background-color: var(--dark-red);
  cursor: pointer;
  color: var(--white);
}

.form-check-input:checked {
  background-color: var(--light-red);
}