.borderRightLeft {
  display: inline-block;
  color: #5a4c89;
  position: relative;
  text-decoration: none;
}

.borderRightLeft::after {
   content: '';
   position: absolute;
   width: 100%;
   transform: scaleX(1);
   height: 3px;
   bottom: 0;
   left: 0;
   background-color: #5a4c89;
   transform-origin: bottom left;
   transition: transform .1s ease-in-out;
}

.borderRightLeft:hover::after {
   transform: scaleX(0);
   transform-origin: bottom right;
}


.profil {
  display: block;
  max-width: 20%;
  min-width: 18%;
  height: auto;
  width: auto;
  border-radius: 300px;
  background-color: white;
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.03);
}


.block {
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 16px 28px 16px 28px;
  margin: 0rem 0rem 3rem 0rem!important;
  background-color: white;
}


a {
  font-weight: 600;
  text-decoration:none;
}

a:hover {
  cursor: pointer;
  cursor: hand;
}


.top {
  margin-top: 80px;
}

ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 24px;
}

.button {
  margin-top: 1rem;
  display: inline-block;
  height: fit-content;
  padding: 20px 24px 20px 24px;
  justify-content: left;
  align-items: center;
  border-radius: 16px;
  border: 3px solid var(--Dark, #1E1C24);
  background: #FFF;
  box-shadow: -5px 4px 0px 0px #1E1C24;
}


.button:hover {
  border: 3px solid var(--Dark, #FF9E71);
  box-shadow: -5px 4px 0px 0px #FF9E71;
}

a.button {
  font-weight: 800;
  font-size: 1.2rem;
}

h2 a {
  font-weight: 700;
}

.icn {
  vertical-align: middle;
  margin-left: 8px; 
  position: relative;
  top: -2px;
}


.contact {
  position: fixed;
  right: 10px;
  bottom: 10px;
}

.header {
  background-color: white;
  position: static;
  width: 100%;
  padding-bottom: 4rem;
  border-bottom: 2px solid #1E1C24;
}

::selection {
  background: #1E1C24;
  color: white;
}


.logos {
  display: flex;
  gap: 1.4rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ===== Current Status Block ===== */
.status-inline {
  padding: 14px 24px;
  background-color: #ece7fd;
  border: 0.5px solid rgba(217, 205, 251, 1);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.status-inline p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
}


.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #5a4c89;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.status-dot::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #5a4c89;
  animation: pulseClean 2.4s infinite;
  opacity: 0.6;
}

@keyframes pulseClean {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(3); opacity: 0; }
  100% { opacity: 0; }
}

.status-inline a {
  color: #1E1C24;
  font-weight: 400;

}

.status-inline .borderRightLeft {
  line-height: 1.4;
}

.status-inline .borderRightLeft::after {
  background-color: #1E1C24;
  height: 2px; 
}

/* ===== Mobile Status Block ===== */
/* ===== Mobile optimisation status ===== */

@media (max-width: 600px) {

  .status-inline {
    padding: 16px 18px;
  }

  .status-inline p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .status-dot {
    width: 8px;
    height: 8px;
    margin-right: 6px;
  }

  .status-dot::after {
    width: 8px;
    height: 8px;
    animation: pulseMobile 2.8s infinite;
    opacity: 0.5;
  }

  @keyframes pulseMobile {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(3); opacity: 0; }
    100% { opacity: 0; }
  }

}


#modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 28, 36, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#modal {
  background: white;
  border-radius: 16px;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
}

#modal h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

#modalClose {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #1E1C24;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 8px;
}

#modalClose:hover {
  background: rgba(0,0,0,0.06);
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contactForm label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  background: white;
  color: #1E1C24;
  box-sizing: border-box;
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.03);
}

#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: #FF9E71;
}

#contactForm button[type="submit"] {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 16px 24px;
  border-radius: 16px;
  border: 3px solid #1E1C24;
  background: #FFF;
  box-shadow: -5px 4px 0px 0px #1E1C24;
  color: #1E1C24;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

#contactForm button[type="submit"]:hover {
  border-color: #FF9E71;
  box-shadow: -5px 4px 0px 0px #FF9E71;
}

@media (max-width: 600px) {
  #modal {
    padding: 28px 20px;
  }
}
