/** *********
    Home
*************/

.home {
  min-height: 100vh;
  width: 100vw;
  background-image: url(../assets/laserbg.png);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  overflow: hidden !important;
}

.home h1 {
  color: #fff;
  font-size: 4rem;
}

.home h2 {
  color: #fff;
  font-size: 2rem;
  margin-top: 8rem;
}
@media (max-width: 768px) {
  .home h1 {
    font-size: 3rem; 
  }

  .home h2 {
    font-size: 1.5rem; 
  }
}


@media (max-width: 576px) {
  .home h1 {
    font-size: 2rem; 
  }

  .home h2 {
    font-size: 1rem; 
  }
}
.home .wave {
  position: absolute;
  bottom: -.5rem;
  left: 0;
  height: 9rem;
  width: 100%;
  background: url(../assets/wave.png);
  background-size: 100rem 9rem;
  animation: waves 8s linear infinite;
  background-repeat: repeat-x;
}

.home .wave2 {
  animation-direction: reverse;
  animation-duration: 6s;
  opacity: .3;
}

.home .wave3 {
  animation-duration: 4s;
  opacity: .5;
}

@keyframes waves {
  0% {
    background-position-x: 0;
  }

  100% {
    background-position-x: 100rem;
  }
}

/** *********
    Home
*************/

/* ******************************************************************* */

/****************
    Footer Waves
****************/

.footerwave {
  width: 100vw;
  margin-top: -5rem;
  bottom: 0px
  
}

.footerwave {
  position: relative;
}


svg {
  width: 100%;
}

.arrow {
  stroke-width: .3px;
  stroke: rgb(255, 255, 255);
}

.topball {
  -webkit-animation: ball 1.5s ease-in-out;
  -moz-animation: ball 1.5s ease-in-out;
  animation: ball 1.5s ease-in-out;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  -moz-animation-direction: alternate;
  animation-direction: alternate;
  -webkit-animation-delay: 0.3s;
  -moz-animation-delay: 0.3s;
  animation-delay: 0.3s;
  cursor: pointer;
}

.wave {
  -webkit-animation: wave 3s linear;
  -moz-animation: wave 3s linear;
  animation: wave 3s linear;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  fill: #c73a3a;
}

.drop {
  fill: transparent;
  -webkit-animation: drop 5s ease infinite normal;
  -moz-animation: drop 5s ease infinite normal;
  animation: drop 5s ease infinite normal;
  stroke: #c73a3a;
  stroke-width: 0.5;
  opacity: .6;
  -webkit-transform: translateY(80%);
  -moz-transform: translateY(80%);
  -ms-transform: translateY(80%);
  transform: translateY(80%);
}

.drop1 {
  -webkit-transform-origin: 20px 3px;
  -moz-transform-origin: 20px 3px;
  -ms-transform-origin: 20px 3px;
  transform-origin: 20px 3px;
}

.drop2 {
  -webkit-animation-delay: 3s;
  -moz-animation-delay: 3s;
  animation-delay: 3s;
  -webkit-animation-duration: 3s;
  -moz-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-transform-origin: 25px 3px;
  -moz-transform-origin: 25px 3px;
  -ms-transform-origin: 25px 3px;
  transform-origin: 25px 3px;
}

.drop3 {
  -webkit-animation-delay: -2s;
  -moz-animation-delay: -2s;
  animation-delay: -2s;
  -webkit-animation-duration: 3.4s;
  -moz-animation-duration: 3.4s;
  animation-duration: 3.4s;
  -webkit-transform-origin: 16px 3px;
  -moz-transform-origin: 16px 3px;
  -ms-transform-origin: 16px 3px;
  transform-origin: 16px 3px;
}

.gooeff {
  -webkit-filter: url(#goo);
  -moz-filter: url(#goo);
  -ms-filter: url(#goo);
  filter: url(#goo);
}

#wave2 {
  animation-duration: 5s;
  animation-direction: reverse;
  opacity: .6
}

#wave3 {
  animation-duration: 7s;
  opacity: .3;
}

@keyframes drop {
  0% {
    transform: translateY(80%);
    opacity: .6;
  }

  80% {
    transform: translateY(80%);
    opacity: .6;
  }

  90% {
    transform: translateY(10%);
    opacity: .6;
  }

  100% {
    transform: translateY(0%) scale(1.5);
    stroke-width: 0.2;
    opacity: 0;
  }
}

@keyframes wave {
  to {
    transform: translateX(-100%);
  }
}

@keyframes ball {
  to {
    transform: translateY(20%);
  }
}

/****************
    Footer Waves
****************/

/* *********************************************************** */

/****************
     Service 
****************/

.service-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 22%;
  min-height: 220px;
}

.service-content h2 {
  color: #fff;
  font-size: 3em;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  z-index: 1;
  white-space: nowrap;
}

.service-content h2:nth-child(1) {
  color: transparent;
  -webkit-text-stroke: 2px #c73a3a;
  text-stroke: 2px #c73a3a;
}

.service-content h2:nth-child(2) {
  color: #c73a3a;
}

@keyframes animate {

  0%,
  100% {
    clip-path: polygon(0% 45%,
        16% 44%,
        33% 50%,
        54% 60%,
        70% 61%,
        84% 59%,
        100% 52%,
        100% 100%,
        0% 100%);
  }

  50% {
    clip-path: polygon(0% 60%,
        15% 65%,
        34% 66%,
        51% 62%,
        67% 50%,
        84% 45%,
        100% 46%,
        100% 100%,
        0% 100%);
  }
}

@media (max-width: 767px) {
  .service-content {
    padding-left: 45%; 
  }
  
  .service-content h2 {
    font-size: 2.1em; /* Adjust font size for mobile */
  }
}




/****************
     Service 
****************/

/* ************************************************** */

/****************
     Quotes 
****************/
.typing {
  overflow: hidden;
  border-right: .15em solid #00C89E;
  white-space: pre-wrap;
  width: 0;
  animation: typing 3s steps(40) 1s forwards, blink-cursor 0.5s 3.5s infinite alternate, clear-typing 3s steps(40) 7s forwards, line-by-line-backspace 1s 8s forwards, fade-in-lines 1s 8s forwards, rotate-text 3s 8s forwards, scale-text 2s 9s forwards;
  max-height: 3em;
  overflow-y: hidden;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

@keyframes typing {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes blink-cursor {

  0%,
  100% {
    border-color: transparent;
  }

  50% {
    border-color: #00C89E;
  }
}

@keyframes clear-typing {
  0% {
    width: 100%;
  }

  100% {
    width: 0;
  }
}

@keyframes line-by-line-backspace {
  0% {
    max-height: 3em;
  }

  100% {
    max-height: 0;
  }
}

@keyframes fade-in-lines {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes rotate-text {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes scale-text {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/****************
     Quotes 
****************/

/* *********************************************************** */

/****************
 Contact in Footer
****************/

.icon-circle {
  background-color: #c73a3a;
  color: #ffffff;
  line-height: 1;
  padding: 8px 0px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  text-align: center;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
 
}

.icon-circle i {
  font-size: 18px;
  vertical-align: middle;
}

.icon-circle:hover {
  transform: scale(1.1);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  
}

.icon-circle.clicked {
  animation: bounce 0.5s ease infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
    
  }
}

.contact-link {
  color: rgb(97, 97, 97);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link:hover {
  color: #c73a3a;
}

/****************
 Contact in Footer
****************/

/* ***************************************************************** */

/****************************************
 CopyRights & socialLink in Waves Footer
*****************************************/
.copyright-container {
  position: absolute;
  bottom: 0; 
  left: 0;
  right: 0;
  background-color: transparent;
  padding: 10px;
  text-align: center;
  z-index: 1;
}

/* CSS for the copyright text */
.copyright-text {
  margin: 0;
  color: #fff;
}

.copyright-text::before {
  margin-right: 5px;
}


@media (max-width: 768px) {
  .copyright-container {
    bottom: 0.5rem;
    padding: 5px;
  }

  .copyright-text {
    font-size: 10px;
  }
}

/* Social links */
.social-links-footer {
  position: relative; 
  z-index: 0;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  bottom: 1rem;
}

/* Keyframes for the wave animation */
@keyframes socialwave {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}

.social-links-footer a {
  background-color: #ffffff;
  color: #c73a3a;
  line-height: 1;
  padding: 8px 0px;
  margin-right: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  text-align: center;
  font-size: 20px;
  transition: transform 0.3s ease-in-out;
}

.social-links-footer a:hover {
  animation: socialwave 0.5s ease infinite; 
  transform-origin: center;
  opacity: 80%;
  color: #c73a3a;
}

@media (max-width: 768px) {
  .social-links-footer {
    display: none;
  }
}



/****************************************
 CopyRights & socialLink in Waves Footer
*****************************************/

/****************************************
         About us heading
*****************************************/
.aboutus-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* right: -8em; */
  /* margin-left: 23%; */
  /* justify-content: center; */
  padding-left: 16%;
}

.aboutus-content h2 {
  color: #fff;
  font-size: 3em;
  position: absolute;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
}

.aboutus-content h2:nth-child(1) {
  color: transparent;
  -webkit-text-stroke: 2px #c73a3a;
}

.aboutus-content h2:nth-child(2) {
  color: #c73a3a;
}

@keyframes animate1 {

  0%,
  100% {
    clip-path: polygon(0% 45%,
        16% 44%,
        33% 50%,
        54% 60%,
        70% 61%,
        84% 59%,
        100% 52%,
        100% 100%,
        0% 100%);
  }

  50% {
    clip-path: polygon(0% 60%,
        15% 65%,
        34% 66%,
        51% 62%,
        67% 50%,
        84% 45%,
        100% 46%,
        100% 100%,
        0% 100%);
  }
}

@media (max-width: 767px) {
  .aboutus-content {
    padding-left: 35%; 
  }
  
  .aboutus-content h2 {
    font-size: 2.1em; /* Adjust font size for mobile */
  }
}

/****************************************
         About us heading
*****************************************/

/****************************************
         popup message
*****************************************/
.popup img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border-radius: 10px;
  transition: transform 1s, opacity 1s;
  animation: fadeIn 1s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.popup-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  padding: 10px;
  width: 80%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  transition: transform 1s, opacity 1s;
  opacity: 1;
  border-radius: 10px;
  perspective: 1000px;
  transform-style: preserve-3d;
  animation: fadeIn 1s;
}

.popup.active {
  display: block;
  z-index: 3;
  opacity: 1;
  transform: rotateY(0deg);
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  z-index: 4;
  background-color: #ff0000;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.close:hover {
  background-color: #c73a3a;
}

/* Media query for screens with a maximum width of 768px (typical for mobile devices) */
@media screen and (max-width: 768px) {
  .popup-content {
    width: 90%;
  max-width: 90%;
  padding: 5px;
  font-size: 14px;
  
  }

  .close {
    width: 16px;
    height: 16px;
    font-size: 16px;
   
  }
}

.certificat-img{
  border-radius: 10px;
}
