/**
* Template Name: Squadfree
* Updated: Sep 18 2023 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/squadfree-free-bootstrap-template-creative/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  text-decoration: none;
  color: #004ea8;
}

a:hover {
  color: #8ec4dd;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

h5 {
  color: rgb(0, 130, 202);
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  height: 100%;
}

h6 {
  display: flex;
  align-items: center;
  text-align: center;
  height: 100%;
}

.d-flex {
  display: flex;
  align-items: center;
  /* This will vertically center the child div */
  justify-content: center;
  /* This centers horizontally if needed */
}

.head_nav {
  position: relative;
  right: 10%;
}


.centered-title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.centered-text {
  position: relative;
  display: inline-block;
  color: #004ea8;
  text-align: center;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  font-weight: bold;
  font-size: 50px;
  font-family: "Roboto", sans-serif;
}

.centered-text::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
  width: 50%;
  height: 1px;
  background-color: #c00d1e;
}

.image-container.banner {
  margin: 0% 0% 5% 0%;
  font-size: 40px;
  background-image: linear-gradient(to bottom, white, white);
  /* Additional styles to ensure the container has dimensions and the text is visible */
  min-height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #004ea8;
}

#about .image-container.banner {
  margin-bottom: 0%;
}

.border_top_b {
  border-top: #004ea8;
  border-style: ridge;
  border-bottom: none;
  border-left: none;
  border-right: none;
}

.justify {
  text-align: justify;
}

a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}

.tab {
  font-family: "Roboto", sans-serif;
}

.tab .nav-tabs {
  background-color: transparent;
  border: none;
}

.tab .nav-tabs li a {
  color: #222;
  background: transparent;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
  padding: 15px 15px 10px;
  margin: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease 0s;
}

.tab .nav-tabs li:last-child a {
  margin-right: 0;
}

.tab .nav-tabs li a:hover {
  color: #c00d1e;
  background: #fff;
  border: none;
}

.tab .nav-tabs li.active a {
  color: #004ea8;
  background: #fff;
  border: none;
}

.tab .nav-tabs li a:before,
.tab .nav-tabs li a:after {
  content: "";
  background-color: #d1d1d1;
  height: 3px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all 0.2s ease 0s;
}

.tab .nav-tabs li a:after {
  background-color: #004ea8;
  height: 100%;
  opacity: 0;
}

.tab .nav-tabs li.active a:before,
.tab .nav-tabs li a:hover:before {
  height: 100%;
  opacity: 0;
}

.tab .nav-tabs li a.active:before {
  height: 100%;
  opacity: 0;
}

.tab .nav-tabs li.active a:after {
  height: 3px;
  opacity: 1;
  background-color: #004ea8;
}

.tab .nav-tabs li a.active:after {
  height: 3px;
  opacity: 1;
  background-color: #004ea8;
}

.tab .nav-tabs li a:hover:after {
  height: 3px;
  opacity: 1;
}

.tab .tab-content {
  color: #555;
  background: #fff;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 23px;
  padding: 20px;
}

.tab .tab-content h3 {
  color: #004ea8;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 7px 0;
}

.height-max {
  height: 100%;
}

@media only screen and (max-width: 479px) {
  .tab .nav-tabs li {
    width: 100%;
  }

  .tab .nav-tabs li a {
    margin: 0 0 10px;
  }

  .tab .tab-content h3 {
    font-size: 18px;
  }
}

.container .row .tab .tab-content .tab-pane {
  margin: 5% 2% 5% 2%;
}

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

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

.back-to-top:hover {
  background: #86c0da;
  color: #fff;
}

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

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

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

#header.header-scrolled {
  background: white;
  padding: 12px;
}

#header .navbar {
  margin-right: 15px;
}

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

#header .logo {
  display: flexbox;
  align-items: center;
  justify-content: start;
  gap: 10px;
}

.nav_ml {
  margin-left: 10%;
}

.logo-left,
.logo-right {
  flex: 1;
  /* Allows each logo to take equal space */
}

.logo-left {
  text-align: left;
  margin-left: 2%;
}

.logo-right {
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.img-fluid-hero {
  max-width: 120%;
  height: auto;
}

@media (max-width: 768px) {
  #header.header-scrolled {
    padding: 15px 0;
  }
}

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

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

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  margin-left: 10px;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: black;
  white-space: nowrap;
}

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

.navbar .active,
.navbar .active:focus,
.navbar>ul>li:hover>a {
  color: #004ea8;
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  /* Remove the default underline */
  box-shadow: 0 2px #004ea8;
  /* Simulates an underline */
}



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

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

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 15px;
  text-transform: none;
  font-weight: 600;
  color: #2f4d5a;
}

.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: #004ea8;
}

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

.navbar .megamenu {
  position: static;
}

.navbar .megamenu ul {
  margin: 0;
  padding: 10px;
  display: block;
  position: absolute;
  top: 130%;
  left: 0;
  right: 0;
  visibility: hidden;
  opacity: 0;
  display: flex;
  transition: 0.3s;
  /* border-radius: 4px; */
  z-index: 99;
}

.navbar .megamenu ul li {
  flex: 1;
}

.navbar .megamenu ul li strong {
  padding: 10px 0 10px 20px;
  display: block;
}

.navbar .megamenu ul li a,
.navbar .megamenu ul li:hover>a {
  color: rgba(var(--color-white-rgb), 0.5);
  background: none;
  padding: 8px 10px;
}

.navbar .megamenu ul li a:hover,
.navbar .megamenu ul li .active,
.navbar .megamenu ul li .active:hover {
  color: #004ea8;
}

.navbar .megamenu: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;
}

.social-links a {
  font-size: 22px;
  display: inline-block;
  background: #004ea8;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.social-links a:hover,
.social-links a:focus {
  background: #fff;
  color: #004ea8;
  border: 1px solid #004ea8;
}

.menu-text p {
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-item {
  padding: 0 15px;
}

.menu-item .col-9 {
  max-width: 100%;
}

.menu-item .col-3 {
  position: relative;
  display: inline-block;
}

.menu-item .col-3:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 255, 0.1);
  pointer-events: none;
}

.location-link {
  text-decoration: none !important;
}

.megamenu>ul {
  display: flex;
  align-items: flex-start;
}

.megamenu>ul>li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

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

.mobile-nav-toggle.bi-x {
  color: white;
}

@media (max-width: 1080px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }

  .social-links a {
    color: white !important;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  width: 20rem;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(43, 111, 142, 0.9);
  transition: 0.3s;
}

.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 a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #2f4d5a;
}

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

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  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: #004ea8;
}

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

.navbar-mobile .megamenu ul li a,
.navbar-mobile .megamenu ul li:hover>a {
  color: rgba(var(--color-white-rgb), 0.5);
  background: none;
}

.navbar-mobile .megamenu ul li a:hover,
.navbar-mobile .megamenu ul li .active,
.navbar-mobile .megamenu ul li .active:hover {
  color: #004ea8;
}

.nav-tabs .nav-link {
  border-radius: 0%;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 640px;
  background: url("/assets/images/backgrounds/machaero_bg.jpg") top center;
  background-size: cover;
  position: relative;
}

/* Adjust background position for 1440p screens */
@media (min-width: 2560px) {
  #hero {
    background-position: center -130px;
    /* Move the background up by 50px */
  }
}

@media (min-width: 2560px) {
  .offset-left-1440p {
    margin-left: -500px;
    /* Adjust this value to move further left or right */
  }
}

/* @media (max-width:1000px) {
  #hero {
    width: 100%;
    height: 100vh;
    background: url(/assets/images/backgrounds/machaero_bg.jpg) top center;
    background-size: unset;
    position: relative;
    margin-bottom: unset;
  }
} */

.hero_margin {
  margin-top: 5%;
}

.hero_height {
  max-height: 800px;
}

.image_hero {
  position: absolute;
  top: 90px;
  left: 14%;
  width: 400px;
  height: 300px;
}

#hero .hero-container {
  position: relative;
  bottom: 0;
  top: 22em;
  right: 27em;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

#hero h1 {
  margin: 0 0 0 0;
  font-family: "Open Sans", sans-serif;
  font-size: 50px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5em;
  /* text-transform: uppercase; */
  color: #004ea8;
}

.hero-h1 {
  background-image: url("/assets/images/nav/bord_top.png");
  background-position-x: 25%;
  background-position-y: bottom;
  background-size: initial;
  background-repeat: no-repeat;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
}

#hero h2 {
  color: #fff;
  margin-bottom: 50px;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: -1px 0 2px #2f4d5a;
}

#hero .btn-get-started {
  font-size: 36px;
  display: inline-block;
  padding: 4px 0;
  /* border-radius: 50px; */
  transition: 0.3s ease-in-out;
  margin: 10px;
  width: 64px;
  height: 64px;
  text-align: center;
  border: 2px solid #fff;
  color: #fff;
}

#hero .btn-get-started:hover {
  padding-top: 8px;
  background: rgba(255, 255, 255, 0.15);
}

/* @media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
} */

.carousel-item-hero {
  position: absolute;
  bottom: 0;
  right: 0;
  padding-left: 30px;
  background-color: rgba(0, 92, 169, .8);
  width: 574px;
  height: 141px;
}

.carousel-item-hero-p1 {
  font-weight: bold;
  text-align: left;
  line-height: 47px;
  font-size: 31px;
}

.carousel-item-hero-p2 {
  font-weight: 400;
}

.carousel-item-hero-a {
  z-index: 3;
}

@media (max-width: 1213px) {
  #hero h1 {
    font-size: 40px;
    line-height: 46px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

.standard-button-invert {
  color: #fff;
  display: inline-block;
  text-decoration: none;
  padding: calc(4px + 0.1vw) 0;
  border: none;
  border-bottom: 4px solid #fff;
  cursor: pointer;
  font-family: "Open Sans ExtraBold Italic", sans-serif;
  position: relative;
  line-height: 1;
  background-color: transparent;
  transition: all 0.5s ease-in-out;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  /* padding: 60px 0; */
  overflow: hidden;
  border-right: 2px solid #004ea8;
  border-left: 2px solid #004ea8;
  /* margin-left: 20px; */
  background-color: rgba(0, 0, 0, 0.06);
}

section,
.container,
.image-container {
  scroll-margin-top: 85px;
}

.section-bg {
  background-color: #f4f9fc;
}

.section-title {
  text-align: center;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  position: relative;
  margin-bottom: 30px;
  color: #2f4d5a;
  z-index: 2;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 122px;
  height: 66px;
  z-index: -1;
}

.section-title p {
  margin-bottom: 0;
}

.section-title2 {
  text-align: center;
}

.section-title2 h2 {
  font-size: 32px;
  font-weight: bold;
  position: relative;
  margin-bottom: 30px;
  color: #2f4d5a;
  z-index: 2;
}

.section-title2 h2::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 122px;
  height: 66px;
  background: url("/assets/images/section-title-bg.png") no-repeat;
  z-index: -1;
}

.section-title2 p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  /* padding: 0 0; */
  position: relative;
}

.products_menu {
  background-size: cover;
  /* padding: 60px 0; */
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.about .container {
  position: relative;
  z-index: 10;
}

.about .content {
  padding: 30px 30px 30px 0;
}



.responsive-img {
  max-width: 100%;
  /* Assure que l'image ne dépasse pas la largeur de la box */
  height: auto;
  /* Garde le ratio de l'image */
  display: block;
  /* Élimine tout espace blanc en dessous de l'image */
}

.about .content h3 {
  font-weight: 400;
  font-family: "Raleway", sans-serif;
  font-size: 34px;
  color: #004ea8;
  margin-bottom: 30px;
}

#products_menu .products_menu .content h3 {
  font-weight: 400;
  font-family: "Raleway", sans-serif;
  font-size: 34px;
  color: #004ea8;
  margin-bottom: 30px;
}

.about .content p {
  margin-bottom: 30px;
}

.about-main-top {
  padding: 30px 24px 30px 400px;
  color: white;
}



.contents {
  cursor: pointer;
  color: white;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
  transition: justify-content 0.5s ease;
  /* Smooth transition for vertical centering */
}

.details {
  transform: translateY(100%);
  /* Initially push the details down so they are not visible */
  opacity: 0;
  /* Make details invisible initially */
  transition: transform 0.5s ease, opacity 0.5s ease;
  /* Smooth transition for moving and fading in details */
}

.contents:hover .details {
  transform: translateY(0);
  /* Move details back to original position */
  opacity: 1;
  /* Make details visible */
}

.contents .centered-title {
  top: 0%;
  /* Center vertically */
  transform: translate(0%, 50%);
  /* Adjust to exact center */
  transition: transform 0.5s ease;
  /* Smooth transition for moving h3 */
}

.contents:hover .centered-title {
  transform: translate(0%, -50%);
  /* Move h3 upwards on hover */
}

.contents:hover {
  background-color: rgba(0, 78, 168, 0.5);
  background-blend-mode: overlay;
}

.contents .details::before {
  position: absolute;
  display: block;
  content: "";
  left: 50%;
  background: #c00d1e;
  height: 1px;
  width: 36px;
  margin-left: -18px;
  transition: all 0.3s ease;
  opacity: 1;
  top: -20%;
}

/* Additional styling for centered title and hover button */
.centered-title h3 {
  color: white;
  font-weight: bold;
  font-size: 45px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hover-button {
  /* Style for the hover button */
  text-decoration: none;
  color: white;
  /* Example color */
}

.about .content .about-btn {
  display: inline-block;
  background: #004ea8;
  padding: 6px 44px 8px 30px;
  color: #fff;
  /* border-radius: 50px; */
  transition: 0.3s;
  position: relative;
}

.about_main {
  background-color: #004ea8;
  height: 727px;
}

.about .content .about-btn i {
  font-size: 18px;
  position: absolute;
  right: 18px;
  top: 9px;
}

.about .content .about-btn:hover {
  background: #7bbad7;
}

.about .icon-boxes .icon-box {
  margin-top: 50px;
}

.about .icon-boxes .icon-box i {
  font-size: 40px;
  color: #004ea8;
  margin-bottom: 10px;
}

.about .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.about .icon-boxes .icon-box p {
  font-size: 15px;
  color: #848484;
}







/* Styles for about description */
.about-description {
  font-size: 80px;
  line-height: 110%;
}

/* Styles for about text container */
.about-text-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Styles for about quality text */
.about-quality {
  font-size: 30px;
  flex-grow: 1;
  margin-bottom: 0;
}

/* Bold text style */
.bold-text {
  font-weight: 600;
}

/* Styles for about carousel */
.about_carousel {
  padding: 0 24px;
  overflow: hidden;
  height: 727px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  position: relative;
}

.about_carousel img {
  height: 100%;
  width: auto;
  object-fit: cover;
  position: absolute;
}

.about_carousel img:nth-child(3) {
  height: auto;
  width: 1300px;
  object-fit: unset;
  opacity: 0;
}

/* Styles for detail content container */
#detailContent {
  background-color: white;
  margin-bottom: 95px;
  margin-top: 95px;
}

/* Styles for content inside detail content */
#detailContent .content {
  padding: 0 24px;
}













.about_red {
  position: relative;
  /* Ensure ::before positions relative to this element */
  font-size: 100px;
  margin-bottom: 20px;
}

.about_red::before {
  position: absolute;
  display: block;
  content: "";
  background: white;
  /* The red color */
  height: 2px;
  /* Thickness of the underline */
  width: 50%;
  /* Width of the underline */
  transition: all 0.3s ease;
  opacity: 1;
  bottom: -10px;
  /* Distance below the heading */
}

.p-container-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.p-container-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.transition-visible {
  animation: appearFromBottom 0.5s forwards;
}

@keyframes appearFromBottom {
  from {
    transform: translateY(100%);
    /* Start from below the current view */
    opacity: 0;
  }

  to {
    transform: translateY(0);
    /* End at the normal position */
    opacity: 1;
  }
}


.transition-hidden {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s 0.5s;
  /* Delay hiding until after opacity transition */
}


.read-more {
  z-index: 1000;
  /* High z-index to ensure it's above other content */
  position: relative;
  /* Needed for z-index to take effect */
}

.standard-button-invert-2 {
  color: #004ea8;
  display: inline-block;
  text-decoration: none;
  padding: calc(4px + 0.1vw) 0;
  border: none;
  border-bottom: 4px solid #004ea8;
  cursor: pointer;
  font-family: "Open Sans ExtraBold Italic", sans-serif;
  position: relative;
  line-height: 1;
  background-color: transparent;
  transition: all 0.5s ease-in-out;
}


/* Animation for moving content up */
.move-up {
  animation: slideUp 1s forwards;
  /* Ensures the final state is retained after animation completes */
}

/* Animation for moving image to the right */
.move-right {
  animation: slideRight 1s forwards;
  /* Ensures the final state is retained after animation completes */
}

@keyframes slideUp {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes slideRight {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.fade-in-out {
  transition: opacity 2s ease-in-out;
  opacity: 0;
}

.fade-in-out.current {
  opacity: 1;
}

@media (max-width: 1200px) {
  .about .content {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .about {
    text-align: center;
  }
}


/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/



.carousel-inner {
  overflow: hidden;
}

.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
}

.carousel {
  height: 640px;
}

.carousel-indicators [data-bs-target] {
  background-color: #004ea8;
}

/* Style de base pour le <p> - initialement non visible */
.carousel-item .special-div {
  opacity: 0;
  transition: opacity 1s ease;
}

/* Lorsque .carousel-item est .active, le <p> devient visible */
.carousel-item.active .special-div {
  opacity: 1;
  color: white;
}


.special-content {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 640px;
  background-image: url("/assets/images/carousel/carousel1.jpeg");
}


/*--------------------------------------------------------------
# Products
--------------------------------------------------------------*/


.products .image-container,
.industry .image-container,
.quality .image-container {
  position: relative;
  width: 100%;
  max-height: 200px;
  /* overflow: hidden; */
}

.products .container h1 {
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
  color: #004ea8;
}

.nav-item {
  background-color: #dedede;
}

.tab_catalog .nav-item {
  background-color: white;
}

/* Create a grey overlay over the parent element */
.tab_catalog .nav-item.with-overlay {
  position: relative;
  /* Positioning context for the overlay */
}

/* General overlay rule */
.tab_catalog .nav-item.with-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(00, 78, 168, 0.4);
  /* Soft grey color with opacity */
  z-index: 2;
  /* Ensure the overlay is above the image */
  pointer-events: none;
  /* Allow interaction with underlying content */
  opacity: 1;
  /* Fully opaque overlay by default */
}

/* Remove the overlay on hover or when active */
.tab_catalog .nav-link:hover,
.tab_catalog .nav-link.active {
  z-index: 3;
  /* Bring hovered/active tab link above the overlay */
}

.tab_catalog .nav-link:hover+.with-overlay::before,
.tab_catalog .nav-link.active+.with-overlay::before {
  opacity: 0;
  /* Make the overlay fully transparent */
}

/* Style for unselected tabs */
.nav-tabs .nav-link {
  color: white;
  background-color: #004ea8;
  border: 1px solid transparent;
}

/* Style for the selected tab */
.nav-tabs .nav-link.active {
  color: #004ea8;
  background-color: white;
  border-color: #004ea8;
}


.industry .image-container {
  position: relative;
  text-align: center;
}

.quality .image-container img,
.industry .image-container img,
.products .image-container img {
  width: 100%;
  height: auto;
  display: block;
}

#products_menu .container .content .centered-content {
  height: 100%;
}


/* Styles for tab panels to keep their contents navigable */
.tab_catalog .tab-content .tab-pane {
  opacity: 0.7;
  pointer-events: all;
  /* Allow navigation through all tab panels */
  transition: opacity 0.3s ease;
}

.tab_catalog .tab-content .tab-pane.show.active {
  opacity: 1;
}

/* Custom style for the "Learn More" button */
.learn-more-button {
  display: block;
  width: 25%;
  /* Set the button width to 25% of the parent container */
  align-self: center;
  /* Vertically center the button */
  margin-bottom: 10px;
  /* Add a margin to align it at the bottom */
}





.container-custom {
  background-color: white;
  margin-bottom: 40px;
}

.prod1-bg {
  background-image: linear-gradient(rgba(211, 211, 211, 0.2), rgba(211, 211, 211, 0.2)), url('/assets/images/products/navbar_left.jpg');
  background-position: 20%;
  background-size: cover;
  background-repeat: no-repeat;
}

.prod2-bg {
  background-image: linear-gradient(rgba(151, 151, 151, 0.4), rgba(151, 151, 151, 0.4)), url('/assets/images/products/hero_rotu.jpg');
  background-position: 20%;
  background-size: cover;
  background-repeat: no-repeat;
}

.prod3-bg {
  background-image: linear-gradient(rgba(211, 211, 211, 0.2), rgba(211, 211, 211, 0.2)), url('/assets/images/products/cat2.jpg');
  background-position: 20%;
  background-size: cover;
  background-repeat: no-repeat;
}

.product-container {
  margin-bottom: 50px;
}

.padding-bottom {
  padding-bottom: 10%;
}

.with-overlay {
  height: 500px;
}

.width-max {
  width: 100%;
}



/*--------------------------------------------------------------
# INDUSTRY 4.0
--------------------------------------------------------------*/

.industry-section {
  padding-bottom: 5%;
}

.industry-banner {
  margin-bottom: 5%;
}

.industry-container {
  background-color: white;
}

.industry-row {
  margin: 2%;
  padding-top: 3%;
}


/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  width: 100%;
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
  transition: all 0.3s ease-in-out;
  /* border-radius: 8px; */
  z-index: 1;
}

.services .icon-box::before {
  content: "";
  position: absolute;
  background: white;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.services .icon-box:hover::before {
  background: #004ea8;
  top: 0;
  border-radius: 0px;
}

.services .bg_grey_sub:hover::before {
  background: #004ea8;
  top: 0;
  opacity: 20%;
  border-radius: 0px;
}

.services .icon {
  margin-bottom: 15px;
}

.icon_1 {
  margin-bottom: 15px;
}

.services .icon i {
  font-size: 48px;
  line-height: 1;
  color: #004ea8;
  transition: all 0.3s ease-in-out;
}

.icon_1 i {
  font-size: 48px;
  line-height: 1;
  color: #004ea8;
  transition: all 0.3s ease-in-out;
}

.services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .title a {
  color: #111;
}

.services .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}

.services .description_2 {
  font-size: 17px;
  line-height: 28px;
  margin-bottom: 0;
}

.services .icon-box:hover .title a,
.services .icon-box:hover .description {
  color: #fff;
}

.services .icon-box:hover .description_2 {
  color: #fff;
}

.services .icon-box:hover h4 {
  color: #fff;
}

.services .icon-box h6 {
  color: #fff;
}

.services .icon-box:hover .icon i {
  color: #fff;
}

.services .icon-box:hover .icon_1 i {
  color: #fff;
}

.full-height-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}








.mb-5-percent {
  margin-bottom: 5%;
}

.mb-2px {
  margin-bottom: 2px;
}

.mt-3-percent {
  margin-top: 3%;
}

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

.font-small {
  font-size: 13px !important;
}

.mt-1-percent {
  margin-top: 1%;
}

.raw-material {
  height: 150px;
  background-image: url('/assets/images/savoirfaire/raw_mat.webp') !important;
}

.turning {
  height: 100%;
  background-image: url('/assets/images/savoirfaire/turning.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

.milling {
  height: 100%;
  background-image: url('/assets/images/savoirfaire/milling.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

.grinding {
  height: 150px;
  background-image: url('/assets/images/savoirfaire/grinding.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

.special-processes {
  height: 100%;
  background-image: url('/assets/images/savoirfaire/mpi.webp') !important;
  background-size: cover !important;
  background-position: center !important;
}

.painting {
  height: 100%;
  background-image: url('/assets/images/savoirfaire/painting.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

.assembly {
  height: 100%;
  background-image: url('/assets/images/savoirfaire/assembly.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

.heat-treatment {
  height: 100%;
  background-image: url('/assets/images/savoirfaire/heat.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}


/*--------------------------------------------------------------
# Quality
--------------------------------------------------------------*/

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

.quality .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #004ea8;
}

.quality .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #004ea8;
}

.bg_white {
  background-color: white;
  padding: 20px 0 20px 0;
}

.table_1 {
  margin: 30px;
}

.quality input {
  border-radius: 0;
}

.quality input:focus {
  box-shadow: none;
  border-color: #004ea8;
}


.header {
  border-bottom: 2px solid #004ea8;
}


tr,
thead {
  border-bottom: 1px solid #004ea8;
}

tr:last-child {
  border-bottom: none;
}

table.table_1 {
  table-layout: fixed;
  /* Ensure the table spans the full width of its container */
}

.quality-heading {
  text-align: center;
  color: #004ea8;
  margin-bottom: 2%;
  margin-left: 1%;
  margin-right: 1%;
}

.quality-container {
  margin-bottom: 50px;
}


/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  padding-bottom: 80px;
}

.contact .info-box {
  color: #444444;
  background: #fff;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact .info-box i {
  font-size: 32px;
  color: #004ea8;
  padding: 8px;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
  background: #fff;
}

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

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

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

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

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

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input::focus,
.contact .php-email-form textarea::focus {
  background-color: #004ea8;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #004ea8;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #004ea8;
}

.contact input:focus {
  border-color: #004ea8;
}

#contact.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#contact.nav-tabs {
  display: flex;
  height: 100%;
}

#contact .nav-item>a {
  height: 100%;
  display: flex;
}

/* Style for unselected tabs */
#contact .nav-tabs .nav-link {
  color: white;
  background-color: #004ea8;
  border: 1px solid transparent;
}

/* Style for the selected tab */
#contact .nav-tabs .nav-link.active {
  color: #004ea8;
  background-color: white;
}

.flex-fill {
  flex: 1 1 auto;
}

.google-map-iframe {
  border: 0;
  width: 100%;
  height: 384px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
  background: #004ea8;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
}


@media (min-width: 1080px) and (max-width: 1366px) {

  #hero .hero-container {
    right: 18em;
  }

  .image_hero {
    left: 0%;
  }

  .special-content {
    background-position-x: 10%;
  }
}

@media (max-width: 1485px) {

  /* Hide specific images in the header navbar */
  #header #navbar .head_nav {
    display: none;
  }

  /* Change col-8 to col-12 */
  #header #navbar .col-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


@media (max-width: 1784px) {
  .mro {
    display: none;
  }
}

@media (max-width: 1365px) {
  #about .about_carousel {
    display: none !important;
  }
}


/* Default styles for the right logo */
#right-logo {
  content: url('/assets/images/logo/logo-minebeamitsumi-aero.png');
}

/* Styles for screens up to 1080px */
@media (max-width: 1080px) {
  #right-logo {
    content: url('/assets/images/logo/logo-fused.svg');
  }

  .logo-left {
    display: none;
  }

  #hero .hero-container {
    right: 0em;
    top: 30em;
  }

  .image_hero {
    left: 0%;
    display: none;
  }

  .about-main-top {
    padding: 30px 24px 30px 40px;
  }

  .special-content {
    background-position-x: 10%;
  }







  .content .row {
    display: flex;
    flex-direction: column;
  }

  .content .col-12 {
    margin-bottom: 20px;
    /* Add spacing between blocks */
  }




}

@media (max-width: 991px) {

  .industry-banner {
    margin-bottom: 10px;
  }

  .prod1-bg,
  .prod2-bg,
  .prod3-bg {
    max-height: 20rem;
  }
}

@media (max-width: 1080px) {

  .navbar .active,
  .navbar .active:focus,
  .navbar>ul>li:hover>a {

    box-shadow: none;
  }

}

@media (max-width: 1080px) {

  .dropdown.megamenu>ul,
  .dropdown>ul {
    display: none;
  }

  .dropdown.megamenu>a .bi-chevron-down,
  .dropdown>a .bi-chevron-down {
    display: none;
  }

  .dropdown>ul.row.dropdown-active {
    display: none !important;
  }

  .dropdown>ul.dropdown-active {
    display: none !important;
  }

  .about-img-mob {
    display: none;
  }

  .industry-banner {
    display: none;
  }

}

@media (max-width: 1080px) and (min-width: 769px) {
  .offset-left-1440p {
    margin-top: -2rem;
  }

  #hero h1 {
    font-size: 30px;
  }

}

@media (max-width: 768px) {
  .special-content {
    background-image: url("/assets/images/carousel/carousel1_1.png");
  }
}

@media (max-width: 566px) {
  .special-content {
    background-image: url("/assets/images/carousel/carousel1_2.png");
  }
}

@media (max-width: 500px) {
  .special-content {
    background-image: url("/assets/images/carousel/carousel1_3.png");
  }
}

@media (max-width: 768px) {
  .centered-text {
    font-size: 30px;
  }

  .image-container.banner {
    min-height: 100px;
  }

  .mtc {
    margin-top: 16px;
  }
}

@media (max-width: 556px) {
  .carousel-item-hero {
    padding-left: 180px;
  }
}

@media (max-width: 544px) {
  .about_red {
    font-size: 60px;
  }

  .about-description {
    font-size: 40px;
  }

  .about-quality {
    font-size: 20px;
  }

  .about_red::before {
    display: unset;
  }

  .about {
    text-align: unset;
  }

  .centered-title h3 {
    font-size: 25px;
  }

  .centered-text {
    font-size: 25px;
  }

  .tab .nav-tabs li a {
    margin-bottom: 0%;
  }

  .tab .nav-tabs li a {
    font-size: 14px;
  }
}

@media (max-width: 304px) {
  #hero h1 {
    font-size: 25px;
  }
}

@media (max-width: 311px) {
  .navbar-mobile {
    width: 15rem;
  }
}

@media (max-width: 400px) {
  .carousel-item-hero {
    font-size: smaller;
    padding-left: 300px;
  }

  .carousel-item-hero-p1 {
    font-size: 20px;
  }
}



@media (max-width: 358px) {

  .table-responsive {
    overflow-x: auto;
  }

  #myTable,
  #myTable2 {
    display: block;
    width: 100%;
  }

  #myTable table,
  #myTable2 table {
    width: 100%;
  }

  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling for iOS */
  }
}