html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "BROLINK";
  src: url("Brolink-DEMO.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}

h1, h2, h3 {
  font-family: "BROLINK";
}

p, li, a {
  font-weight: 400;
  font-family: 'Raleway', Helvetica, sans-serif;
}

body {
  background: #ffffff;
  cursor: none;
}

header {
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #232323;
  background-color: #232323;
  background: #e83d45;
  background: linear-gradient(90deg,rgba(217, 61, 61, 1) 0%, rgba(0, 0, 0, 1) 35%, rgba(35, 35, 35, 1) 100%);
}

#logo{
  width: 450px;
}

nav {
  background: #131313;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center; 
  gap: 50px;
  align-items: center;
  height: 80px;
  max-width: 1763px;
  margin: 0 auto;
}

.nav-menu > li {
  position: relative;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 20px 10px;
  display: block;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #e83d45;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #232323;
    min-width: 266px;
    list-style: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);

    transition: opacity 0.2s ease, transform 0.2s ease;
    border-top: 3px solid #e83d45;
    z-index: 1000;

    transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0.2s;
}

.submenu a {
  padding: 16px 20px;
  font-size: 16px;
  text-transform: none;
  color: #fff;
  font-family: 'Raleway', Helvetica, sans-serif;
}

.submenu a:hover {
  background: #e83d45;
  color: #ffffff;
  transition: 0.2s ease;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

footer {
  background: #000000;
  color: #bbb;
  font-family: 'Raleway', Helvetica, sans-serif;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #bbb;
  text-decoration: none;
  font-size: 13px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #222;
  text-align: center;
  padding: 16px;
  font-size: 12px;
  color: #777;
  background: #131313;
}

.btn-connexion {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  cursor: none;

  display: inline-flex;
  align-items: center;
  background-color: #fafafa;
  border-radius: 40px;
  padding: 6px 20px 6px 6px;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
}

.btn-connexion:hover {
  background-color: #171717;
  color: white;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  margin-left: 13px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.btn-icon span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
}

.btn-text {
  font-size: 14px;
} 

.contact-section {
  width: 100%;
  background: #232323;
  background: linear-gradient(214deg,rgba(35, 35, 35, 1) 26%, rgba(0, 0, 0, 1) 65%, rgba(232, 61, 69, 1) 100%);
  padding: 40px 0;
  font-family: 'Raleway', Helvetica, sans-serif;
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.ContactTitle {
  color: #ffffff;
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-section p {
  text-align: center;
  color: #ffffff;
  margin-bottom: 50px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 6px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e83d45;
  box-shadow: 0 0 0 2px rgba(255, 0, 13, 0.15);
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 20px;
  background: #e83d45;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 14px 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  cursor: none;
}

.contact-form button:hover {
  background: #d3373f;
  transition: color 0.3s ease;
}

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #e83d45;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  cursor: none;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

#back-to-top:hover {
  background-color: #d3373f;
  transition: color 0.3s ease;
}

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #e83d45;
  border: 1px solid #232323;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

::selection {
  background: #e83d45;
  color: white;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.4);
}

::-moz-selection {
  background: #e83d45;
  color: white;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.4);
}

.welcome {
  position: relative;
  height: 60vh;
  overflow: hidden;
  background: black;
}

.welcome video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.welcome::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.658);
}

.hero-text {
  position: relative;
  z-index: 2;
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  font-size: 30px;
}

.hero-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 40px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;  
  background: #e83d45;
  color: #fff;
  text-decoration: none;
  border-radius: 40px;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background: #d3373f;
}

.hero-paragraph{
  font-size: 20px;
}

.SectionServices{
  background-color: #131313 ;
  color: #fff;
  padding: 40px;
}

.services {
  background-color: #131313 ;
  color: #fff;
  padding: 40px;
  display: flex;
  gap: 10px;
}

.service {
    flex: 1;
    height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }

.title-container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 40px;
}

.title-container h1 {
  margin: 0;
}

.title-container .line {
  flex-grow: 1;
  height: 2px;
  background-color: #e83d45;
}

  .service-text {
    position: absolute;
    font-size: 25px ;
    font-weight: bold;
    padding: 20px; 
    color: rgb(0, 0, 0);
  }

.Services-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 40px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;  
  background: #e83d45;
  color: #fff;
  text-decoration: none;
  border-radius: 40px;
  transition: background-color 0.3s ease;
}

.Services-btn:hover {
  background: #d3373f;
}

.InfoServices {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1px;
}

.email {
  font-weight: 600;
}

.EKR{
  background-color: #131313 ;
  color: #fff;
  padding: 40px;
}

.EMT{
  background-color: #131313 ;
  color: #fff;
  padding: 40px;
}

.EMT{
  background-color: #131313 ;
  color: #fff;
  padding: 40px;
}

.partenaires{
  background-color: #131313 ;
  color: #fff;
  padding: 40px;
}
