@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;500;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; 
}
.navmenu {
    display: flex;

}
section {
    margin-block-start: 50px;
}
body {
    position: relative;
    animation: fadeInFromTop 0.5s ease-in-out;
    background-color: #eaf1fc;
}
.main-home{
    width: 100%;
    height: 100vh;
    background-image:url('C:/xampp/htdocs/Ycama/YakoutMédicale/images/homepic.jpg');
    background-position: center;
    background-size: cover;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
}
.main-btn{
    display: inline-block;
    color: black;
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    padding: 12px 25px;
    transition: all .42s ease;
}
.background-image {
    background-image: url('C:/xampp/htdocs/Ycama/YakoutMédicale/images/homepic.jpg'); /* Remplacez par le chemin de votre image */
    background-size:cover; /* Couvre toute la section */
    background-position: center; /* Centre l'image */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    padding: 50px 0; /* Ajoute du padding pour le contenu */
    color: rgb(37, 27, 118); /* Texte en blanc pour contraster avec l'arrière-plan */
}

.background-image .left {
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent pour améliorer la lisibilité du texte */
    padding: 20px;
    border-radius: 10px; /* Coins arrondis */
}

#home .left {
    width: 40%;
}
#home .left h1 {
    font-size: 35px;
    margin-bottom: 10px;
}
#home .left h1 span {
    color: rgb(73, 209, 206);
}
#home .left p {
    margin-bottom: 30px;
    color: #999;
    font-size: 13px;
}
#home .left a {
    background-color: rgb(73, 209, 206);
    padding: 10px 20px;
    font-size: 14px;
    color: #fff;
    transition: 0.5s;
}
#home .left a:hover {
    background-color: #000;
}
#home .right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#home .right img {
    width: 100%;
}
@keyframes fadeInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-50%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    block-size: 50px;
    padding: 0 10%;
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    background-color: white; /* changement ici */
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 10;
}
.menu {
    display: flex;
}
.logo {
    color: rgb(73, 209, 206); /* changement ici */
    font-weight: 700;
    font-size: 25px;
}
.logo span {
    color: #273e60;
}
.menu li {
   margin: 0 15px;
   list-style: none;
}
.menu li a {
    font-size: 14px;
    text-decoration: 0;
    color: #999;
    position: relative;
}
.menu li a::before {
    position: absolute;
    inset-block-start: -5px;
    inset-inline-start: 0;
    content: "";
    inline-size: 0;
    block-size: 2px;
    border-radius: 6px;
    background-color:rgb(73, 209, 206); /* changement ici */
    transition: 0.5s;
}
.menu li a:hover::before {
    inline-size: 100%;
}
.menu li a::after {
    position: absolute;
    inset-block-end: -5px;
    inset-inline-end: 0;
    content: "";
    inline-size: 0;
    block-size: 2px;
    border-radius: 6px;
    background-color: rgb(73, 209, 206); /* changement ici */
    transition: 0.5s;
}
.menu li a:hover::after {
    inline-size: 100%;
}
.menu li a:hover {
    color: #000;
}


/* animation image */

@keyframes animate {
    0%{opacity: 0;}
    100%{opacity: 1;}
}




/*Scrollbar CSS*/
::-webkit-scrollbar {
    inline-size: 8px;
}
::-webkit-scrollbar-thumb {
    background-color: rgb(73, 209, 206); /* changement ici */
}




/* footer CSS */

footer {
    background-color: rgba(0,0,0,0.05);
}
footer .services_list {
    padding: 10px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.service img {
    inline-size: 40px;
    background-color: rgb(73, 209, 206); /* changement ici */
    padding: 10px;
    border-radius: 50%;
    margin-block-end: 10px;

}
.service {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 25px auto;
}
.service  p {
    color: #333;
} 
hr {
    background-color: #ccc;
    border: 0;
    block-size: 2px;
    inline-size: 100%;
}
.footer_text {
    text-align: center;
    font-size: 15px;
    padding: 8px 0;
}
.footer_text span {
    color: rgb(73, 209, 206); /* changement ici */
}
.toggle_menu {
    display: none;
}
/* Responsive */
@media (max-inline-size:964px) {
    header .menu {
        display: none;
    }
    header {
        padding: 0 20px;
    }
   
    .toggle_menu {
        display: flex;
        block-size: 40px;
        inline-size: 40px;
         display: flex;
         align-items: center;
         justify-content: center;
         position: relative;
         cursor: pointer;
    }
    .toggle_menu::before {
        position: absolute;
        content: "";
        block-size: 3px;
        inline-size: 28px;
        background-color: rgb(73, 209, 206); /* changement ici */
        border-radius: 6px;
        box-shadow: 0 10px 0 rgb(73, 209, 206); /* changement ici */
        transform: translateY(-10px);
        transition: 0.5s;
    }
    .toggle_menu.active::before {
        transform: translateY(0) rotate(135deg);
        box-shadow: 0 0 0 ; /* changement ici */
    }
    .toggle_menu::after {
        position: absolute;
        content: "";
        block-size: 3px;
        inline-size: 28px;
        background-color: rgb(73, 209, 206); /* changement ici */
        border-radius: 6px;
        transform: translateY(10px);
        transition: 0.5s;
    }
    .toggle_menu.active::after {
        transform: translateY(0) rotate(-135deg);
      
    }
    header .menu.responsive {
        display: flex;
        position: absolute;
        inset-block-start: 50px;
        inset-inline-start: 0;
        inline-size: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        flex-direction: column;
    }
    header .menu.responsive li {
        margin: 15px 0;
    }

}


section{
    padding: 5% 10%;
}





#contact {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 0 12%;
    
}
.localisation_contact_div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 100px 0;
    height: 80vh;
}
.localisation {
    width: 49%;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.localisation iframe {
    width: 100%;
    border-radius: 6px;
}

.localisation_contact_div .form_contact {
    width: 49%;
    height: 100%;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 6px;
}
.localisation_contact_div h3 {
    margin-bottom: 10px;
    font-size: 18px;
}
.localisation_contact_div .form_contact form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}
.form_contact form input , textarea {
    border: 1px solid #ccc;
    width: 100%;
    margin-bottom: 15px;
    padding: 5px;
    outline: 0;
    border-radius: 6px;
    font-size: 15px;
    resize: none;
}
.form_contact form input[type="submit"]{
    margin-bottom: 0;
    background-color: rgb(73, 209, 206);
    color: #fff;
    border: 0;
}

.menu_toggle {
    display: none;
}

/*Responsive*/
@media (max-width:682px) {
   
    #contact {
        height: auto;
    }
    .localisation_contact_div {
        height: auto;
        flex-direction: column;
        width: 100%;
    }
    .localisation{
        width: 100%;
        margin-bottom: 30px;
    }
    .localisation_contact_div .form_contact {
        width: 100%;
        
    }
    .menu_toggle {
        height: 50px;
        width: 50px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .menu_toggle span {
       width: 35px;
       background-color: rgb(73, 209, 206);
       height: 5px;
       border-radius: 6px;
       transition: 0.5s;
    }
    .menu_toggle span.active {
        width: 0px;
    }
    .menu_toggle::before {
        position: absolute;
        content: "";
        width: 20px;
        height: 5px;
        background-color:rgb(73, 209, 206);
        transform: translateY(10px);
        border-radius: 6px;
        transition: 0.5s;
    }
    .menu_toggle.active::before {
        width: 28px;
        transform: rotate(45deg);
    }
    .menu_toggle::after {
        position: absolute;
        content: "";
        width: 20px;
        height: 5px;
        background-color:rgb(73, 209, 206);
        transform:translateY(-10px);
        border-radius: 6px;
        transition: 0.5s;
    }
    .menu_toggle.active::after {
        width: 28px;
        transform: rotate(-45deg);
    }
    header .menu.responsive {
        position: absolute;
        top: 50px;
        left: 0;
        display: flex;
        width: 100%;
        height: 50px;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        z-index: 2;
        background-color: #fff;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
    }
}
.section_title {
    text-transform: uppercase;
    position: relative;
    font-size: 25px;
}
.section_title:before {
    position: absolute;
    left: 10px;
    bottom: 0;
    content: "";
    background-color: rgb(73, 209, 206);
    width: 100%;
    height: 5px;
    border-radius: 6px;
}
.section_title:after {
    position: absolute;
    top: 0;
    left: -10px;
    content: "";
    background-color: rgb(73, 209, 206);
    width: 100%;
    height: 5px;
    border-radius: 6px;
}
.contact1{
    background-color: rgb(212, 239, 237);
    padding: 20px;

}
.contact-info{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, auto));
    gap:3rem;
}
.contact-info h4{
    color: #212529;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.contact-info p{
    color: #565656;
    font-size: 14px;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 1.5;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all .42s;
}
.contact-info p:hover{
    color: rgb(73, 209, 206);
}
.social-icon i{
    color: #565656;
    margin-right: 10px;
    font-size: 20px;
    transition: all .42s;    
}
.social-icon i:hover{
    transform: scale(1.3);
}
@keyframes fadeInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-50%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}











.button {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
    background-color: rgb(49, 162, 238);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffff;
    gap: 10px;
    font-weight: bold;
    border: 3px solid #ffffff4d;
    outline: none;
    overflow: hidden;
    font-size: 15px;
  }

  .icon {
    width: 20px;
    height: 24px;
    transition: all 0.3s ease-in-out;
  }

  .button:hover {
    transform: scale(1.05);
    border-color: #fff9;
  }

  .button:hover .icon {
    transform: translate(4px);
  }

  .button:hover::before {
    animation: shine 1.5s ease-out infinite;
  }

  .button::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0) 70%
    );
    top: 0;
    left: -100px;
    opacity: 0.6;
  }

  @keyframes shine {
    0% {
      left: -100px;
    }

    60% {
      left: 100%;
    }

    to {
      left: 100%;
    }
  }

  .navbar-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
  }.slider-item {
  position: relative;
  background-size: cover;
  background-position: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Change overlay color here */
}

.link-btn {
          display: inline-block;
          padding: 10px 20px;
          font-size: 16px;
          color: white;
          background-color: rgb(0, 153, 255);
          border: none;
          border-radius: 5px;
          text-decoration: none;
          text-align: center;
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          transition: background-color 0.3s ease, box-shadow 0.3s ease;
      }

      .link-btn:hover {
          background-color: rgb(61, 155, 231);
          box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
          color: black;
          font-size: large;
      }

      .services {
 padding: 50px 0;
}

.services .heading {
 text-align: center;
 margin-bottom: 30px;
 font-size: 2rem;
}

.services .box-container {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
}

.services .box {
 background: #fff;
 border-radius: 10px;
 box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
 text-align: center;
 padding: 20px;
 margin: 10px;
 flex: 1;
 min-width: calc(33.333% - 20px); /* 3 cards per row with space in between */
}

.services .box img {
 width: 80px;
 height: 80px;
 margin-bottom: 20px;
}

.services .box h3 {
 font-size: 1.5rem;
 margin-bottom: 10px;
}

.services .box p {
 font-size: 1rem;
 color: #666;
}

.logo-image{
  width: 140px;
  top: 2%;
  margin-left: 0%;
}
/* Style de base pour le menu de navigation */
.navbar-nav .nav-item {
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-item .nav-link {
  display: inline-block;
  position: relative;
  color: #333;
  padding: 10px 15px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-item .nav-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 20px;
  left: 0;
  background-color: #09abb1;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

.navbar-nav .nav-item .nav-link:hover::before {
  visibility: visible;
  transform: scaleX(1);
}

.navbar-nav .nav-item .nav-link:hover {
  color: #09abb1; 
}
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.navbar-nav .nav-item {
  animation: fadeIn 0.5s ease-in-out;
}

.navbar-nav .nav-item:nth-child(1) {
  animation-delay: 0s;
}

.navbar-nav .nav-item:nth-child(2) {
  animation-delay: 0.1s;
}

.navbar-nav .nav-item:nth-child(3) {
  animation-delay: 0.2s;
}

.navbar-nav .nav-item:nth-child(4) {
  animation-delay: 0.3s;
}

.navbar-nav .nav-item:nth-child(5) {
  animation-delay: 0.4s;
}

.navbar-nav .nav-item:nth-child(6) {
  animation-delay: 0.5s;
}
.container-fluid.bg-primary {
  background-color: #007bff; /* Assurez-vous que cette couleur correspond à celle que vous souhaitez */
}

.container .row {
  align-items: center; /* Centrer verticalement le contenu de la ligne */
}

.bg-white.text-center.rounded.p-5 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.bg-white.text-center.rounded.p-5 img {
  max-width: 100%;
  height: auto; /* Assurer que l'image est bien proportionnée */
  border-radius: 10px; /* Ajouter des coins arrondis */
}