* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}



nav {
    display: flex; /* Aligne les éléments horizontalement */
    justify-content: space-around; /* Aligne les éléments à gauche */
    /* border:solid rgba(249, 235, 235, 0.207) 2px ; */
    /* Couleur de fond */
    padding: 15px 60px; /* Espacement interne */
}

nav a{
    position: relative;
    color: #999;
    text-decoration: none;
    font-size: 1.0em;
    z-index: 2;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    transition: 0.5s;
    top: -40px;
}

nav a :active{
    color: #222327;
}



.seo-h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}
@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
/* nav a pour cyber -------------------------------------- */
.box {
  /* width: 150px; 
  height: 50px;  */
  
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 2px 4px hsl(0 0% 0% / 25%);
  animation: border-angle-rotate 2s infinite linear;
  border: 2px solid transparent;
  
}

.box.a {
  background: transparent; /* Fond transparent */
  border-image: conic-gradient(
    from var(--border-angle),
    oklch(100% 100% 0deg),
    oklch(100% 100% 45deg),
    oklch(100% 100% 90deg),
    oklch(100% 100% 135deg),
    oklch(100% 100% 180deg),
    oklch(100% 100% 225deg),
    oklch(100% 100% 270deg),
    oklch(100% 100% 315deg),
    oklch(100% 100% 360deg)
  ) 1;
  border-image-slice: 1;
}

@keyframes border-angle-rotate {
  from { --border-angle: 0deg; }
  to { --border-angle: 360deg; }
}

/** boilerplate **/

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* nav a hover -------------------------------------------------------*/



a:hover{
  
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 2px 4px hsl(0 0% 0% / 25%);
  animation: border-angle-rotate 2s infinite linear;
  border: 2px solid transparent;
  background: transparent; /* Fond transparent */
  border-image: conic-gradient(
    from var(--border-angle),
    oklch(100% 100% 0deg),
    oklch(100% 100% 45deg),
    oklch(100% 100% 90deg),
    oklch(100% 100% 135deg),
    oklch(100% 100% 180deg),
    oklch(100% 100% 225deg),
    oklch(100% 100% 270deg),
    oklch(100% 100% 315deg),
    oklch(100% 100% 360deg)
  ) 1;
  border-image-slice: 1;
  padding-right: 20px;
}

@keyframes border-angle-rotate {
  from { --border-angle: 0deg; }
  to { --border-angle: 360deg; }
}

/** boilerplate **/

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;

}
/* Fond animé Three.js */
#threejs-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.05;
}

.header {
 
    color: white;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    position: relative;
    overflow: hidden;
    height: 100px;
}


.navbar-container{
  width: 100%;
  display: flex;

 
}

.menu-items{
  display: flex;
  justify-content: space-around;

}

input[type="checkbox"] {
  display: none;
}

.titre {
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
   
   
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
  
}

.service-card {
    border: 1px solid #ddd;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 51, 102, 0.1));
    transform: rotate(45deg);
    transition: 0.5s;
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card:hover::after {
    opacity: 1;
    top: -30%;
    left: -30%;
}

.sap-section, .erp-section {
    background: #f8f9fa;
    padding: 4rem 0;
    margin: 4rem 0;
}

.budget-section {
    background: linear-gradient(45deg, #0033669f, #0040806f);
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin: 4rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

input, textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 8px rgba(0, 51, 102, 0.2);
}

.btn{
    text-decoration: none;
    color: #f8f9fa;
}

.btn:hover{
   border: none; 
}

button {
    background: #003366;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

button:hover {
    background: #004080;
    transform: translateY(-2px);
}

footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 3rem;
    margin-top: 6rem;
}
/* media ---------------------------------------------------------- */


  /*       ------------------ -----------------------les media query------------------------------------------------------- */



/*  media query 1205px -------------------------------------------------------------------------------------------------------- */

@media (max-width: 1205px) {
  nav a {
    font-size: 0.7em;
    
  }
  /* .menu-items {
    width: 2px;
  } */
}


/* ......../ media query 968 -------------------------------------------------------------------------------------------- /.......... */
@media (max-width: 968px) {
  .navbar {
    opacity: 0.95 !important;
    z-index: 1000;
    position: relative;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block !important;
  }

  .navbar-container {
    display: block !important;
    position: relative !important;
    height: 64px !important;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute !important;
    display: block !important;
    height: 32px !important;
    width: 30px !important;
    top: 20px !important;
    left: 20px !important;
    z-index: 5 !important;
    opacity: 0 !important;
  }

  .navbar-container .hamburger-lines {
    display: block !important;
    height: 23px !important;
    width: 35px !important;
    position: absolute !important;
    top: 17px !important;
    left: 20px !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    
  }

  .navbar-container .hamburger-lines .line {
    display: block !important;
    height: 4px !important;
    width: 100% !important;
    border-radius: 10px !important;
    background: #333 !important;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0% !important;
    transition: transform 0.4s ease-in-out !important;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out !important;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100% !important;
    transition: transform 0.4s ease-in-out !important;
  }
 

  .navbar .menu-items {
    padding-top: 0px !important;
    /* background: #ffffff00; */
    height: 100vh !important;
    max-width: 300px !important;
    transform: translate(-150%) !important;
    display: flex !important;
    flex-direction: column !important;
    margin-left: -40px !important;
    padding-left: 50px !important;
    transition: transform 0.5s ease-in-out !important;
    /* box-shadow: 5px 0px 10px 0px #aaa; */
    z-index: 999 !important;
    position: relative;
    
 
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem !important;
    font-size: 2rem !important;
    font-weight: 200 !important;
    z-index: 999 !important;
    
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0) !important;
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg) !important;
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0) !important;
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg) !important;
  }

/* ----------------------------------------- */

/* nav a pour cyber -------------------------------------- */
.box {
    /* width: 150px; 
    height: 50px;  */
    
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0px 2px 4px hsl(0 0% 0% / 25%) !important;
    animation: border-angle-rotate 2s infinite linear !important;
    border: 2px solid transparent !important;
  }
  
  .box.a {
    background: transparent !important; /* Fond transparent */
    border-image: conic-gradient(
      from var(--border-angle),
      oklch(100% 100% 0deg),
      oklch(100% 100% 45deg),
      oklch(100% 100% 90deg),
      oklch(100% 100% 135deg),
      oklch(100% 100% 180deg),
      oklch(100% 100% 225deg),
      oklch(100% 100% 270deg),
      oklch(100% 100% 315deg),
      oklch(100% 100% 360deg)
    ) 1 !important;
    border-image-slice: 1 !important;
  }
  
  @keyframes border-angle-rotate {
    from { --border-angle: 0deg; }
    to { --border-angle: 360deg; }
  }
  
  /** boilerplate **/
  
  @property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  }
  
  /* nav a hover -------------------------------------------------------*/
  
  a:hover{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0px 2px 4px hsl(0 0% 0% / 25%) !important;
    animation: border-angle-rotate 2s infinite linear !important;
    border: 2px solid transparent !important;
    background: transparent !important; /* Fond transparent */
    border-image: conic-gradient(
      from var(--border-angle),
      oklch(100% 100% 0deg),
      oklch(100% 100% 45deg),
      oklch(100% 100% 90deg),
      oklch(100% 100% 135deg),
      oklch(100% 100% 180deg),
      oklch(100% 100% 225deg),
      oklch(100% 100% 270deg),
      oklch(100% 100% 315deg),
      oklch(100% 100% 360deg)
    ) 1 !important;
    border-image-slice: 1 !important;
    padding-right: 20px !important;
  }
  
  @keyframes border-angle-rotate {
    from { --border-angle: 0deg; }
    to { --border-angle: 360deg; }
  }
  
  /** boilerplate **/
  
  @property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  }

nav a{
    color: green;
    z-index: 999 !important;
  }
}

/*  media query  500px --------------------------------------- */

@media (max-width: 500px) {
  html {
    font-size: 65% !important;
  }

  .navbar .menu-items li{
      font-size: 2rem !important;
  }

  .testimonial-container {
    flex-direction: column !important;
    text-align: center !important;
  }

  .food-menu-container img {
    margin: auto !important;
  }

  .food-menu-item {
    flex-direction: column !important;
    text-align: center !important;
  }

  .form-container {
    width: 90% !important;
  }

  .contact-container {
    display: flex !important;
    flex-direction: column !important;
  }

  .contact-img {
    width: 90% !important;
    margin: 3rem auto !important;
  }

  .logo {
    position: absolute !important;
    top: 06px !important;
    right: 15px !important;
    font-size: 3rem !important;
  }

  .navbar .menu-items li {
    margin-bottom: 2.5rem !important;
    font-size: 1.8rem !important;
    font-weight: 500 !important;
  }
}

/*  media query  769px --------------------------------------- */

@media (min-width: 769px) and (max-width: 1200px) {
  .img-container h3 {
    font-size: 1.5rem !important;
  }

  .img-container .btn {
    font-size: 0.7rem !important;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .showcase-area {
    height: 50vmax !important;
  }
}
