@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
    position: relative;
}
root {
    --background-color: #ffffff;
    --default-color: #444444;
    --heading-color: #2c4964;
    --accent-color: #1977cc;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}
body{
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.container{
    width: min(90%, 1150px);
    margin-inline:auto;
}
/* HEADER  */
header{
    height:7.0275rem;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: white;
}
/* CONTACT PART */
.nav-contact{
    height:2.493rem;
    color: white; 
    background-color: #1977cc;
    border: 1px solid #ffff ;
    padding: 1rem ;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.nav-contact .contact{
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    align-items: center;
}

.contact .contact-numbers span{
    padding: 1rem;

} 
.contact .contact-links i{
    font-size: 1rem;
    color: rgba(245, 245, 245, 0.3);
}
.contact .contact-links i:hover{
    color: #fff;
}

/* NAVIGATION MENU */
.flex-nav{
    height: 4.528rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding-inline: 1rem;
    overflow: hidden;
}
h1{
    color:#2c4964; 
 font-family:Poppins, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.9rem;
  line-height: 2.2rem;
}
.menu-links{
    display: flex;
    padding: 15px;
    flex-wrap: wrap;
    overflow: hidden;
}
.menu-links li{
    list-style: none;
    padding: 15px;
}
.menu-links li a{
    text-decoration: none;
    color:#444444;
    font-family: Raleway, sans-serif;
     font-weight: 400;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.5rem;
}
 .menu-links li a:hover{
     text-underline-offset: 5px;
    color: #1977cc;
    text-decoration: underline;
}
 .menu-links .active{
     text-underline-offset: 5px;
    color: #1977cc;
    text-decoration: underline;
}
/* dropdown */
.menu-links .dropdown {
  position: relative;
}

.menu-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  padding: 0;
  margin: 0;
  list-style: none;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  z-index: 1000;
  border-radius: 8px;
}

.menu-links .dropdown-menu li a {
  display: block;
  padding-inline: 10px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s;
}

.menu-links .dropdown-menu li a:hover {
  background: #f0f0f0;
  color: #1977cc;
}

/* Show dropdown on hover */
.menu-links .dropdown:hover .dropdown-menu {
  display: block;
}

/* Optional: adjust arrow spacing */
.menu-links .dropdown > a i {
  margin-left: 5px;
  font-size: 0.8rem;
}

 .flex-nav button {
    height: 2rem;
    display: flex;
    align-items: center;
    text-align: center;
    background-color:#1977cc;
    color: white;
     padding: 0rem 1rem;
    border-radius: 50px;
    border: none;
    font-size: 14px;
    line-height: 21px;
     font-weight: normal;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.humberger{
    display: none;
}
/* HERO SACTION */
  .hero{
    background: url('https://themewagon.github.io/MediLab/assets/img/hero-bg.jpg') top/cover no-repeat;
    width: 100%;
    height: 70%;
    gap: 3rem;
    overflow-x: hidden;
  }
  .hero .hero-saction{
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }
  .hero-saction .hero-text{
  display: block;
  margin-top: 3rem;
  margin-left: 1rem;

  }
  .hero-saction .hero-text h1{
     margin-top: 2rem;
     font-size: 3rem;
     line-height: 3.625rem;
     color: #2c4964;
     font-weight: 700;
     font-family: Poppins, sans-serif;
    }
    .hero-saction .hero-text p{
        font-size: 1.5rem;
     line-height: 2.25rem;
     color: #444;
     font-weight: 400;
     font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    }

.hero .hero-saction .hero-box{
    display: grid;
    grid-template-columns: repeat(3,1fr);
   gap: 1rem;
 
}
/* BIG BOX ONE */
.hero .hero-saction .hero-box #box1{
    height: 430px;
    display: grid;
    grid-template-columns: 1fr;
    grid-column: 1 /span 1;
    margin:1rem;
    padding: 1rem;
    text-align: flex;
    background-color: #1977cc;
    color:#fff;
      border-radius: 10px;
}
.hero .hero-saction .hero-box #box1 h1{
    font-size: 2.1rem;
    font-weight: 700;
    font-weight: bolder;
    line-height: 2.5625rem;
    color: #fff;
    font-family: Poppins, sans-serif;
}
.hero .hero-saction .hero-box #box1 p{
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35rem;
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.hero .hero-saction .hero-box #box1 button{
    width: 9.9375rem;
    height: 2.43rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border:none;
    align-content: center;
    margin-inline: auto;
    background-color: rgba(255, 255, 255,0.3);
    color: #ffffff;
    font-size: 1rem;
}
.hero .hero-saction .hero-box #box1 button i{
    font-size: 0.8rem;

}
.hero .hero-saction .hero-box #box1 button:hover{
    background-color: #ffffff;
    color:#1977cc;
}
/* THREE SMALL BOXES */
.hero .hero-saction .hero-box .boxes{
    margin-block: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-column: 2 /span 2;
    gap:1rem;
    padding: 0.5rem;
}
.hero .hero-saction .hero-box .boxes .box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:1rem;
    padding: 1.5rem;
    background-color: #f8fafb;
    color: #2c4964;
    border-radius: 10px;

}
.hero .hero-saction .hero-box .box i{
    font-size: 3rem;
    color:#1977cc;
}
.hero .hero-saction .hero-box .box h2{
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4rem;
    color: #2c4964;
    font-family: Poppins, sans-serif;
    text-align: center;
    align-self: center;
}
.hero .hero-saction .hero-box .box p{
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.35rem;
    color: #444444b3;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
}

 @media (max-width:768px){
    header{
        width: 100%;
        display: block;
         background-color: #ffffff;
    }
.contact .contact-links {
    display: none;
}
     .contact .contact-numbers span{
        padding: 0.2rem;
     }

     .humberger i {
        z-index: 11111;
    }
     .menu-links[ data-visible="false"]{
        transform: translateX(100%);
    }
    .humberger i[ data-visible="false"]{
        display: none;
    }
    .humberger i[ data-visible="true"]{
        display: block;
    }
    .flex-nav{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .menu-links{
        display: flex;
        flex-direction: column;
        margin: 1rem;
        text-align: flex-start;
        position: absolute;
        left: 0;
        top:2.68rem;
        background-color: #ffffff;
        justify-content: flex-start;
        z-index:222;
        transform: translateX(0%);
        inset: 0 0 0 0;
        height: 100vh;
        overflow-y: auto;
    }
    .menu-links li a{
           color: #121212;
    }
    .humberger{
          display: flex;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        top: 5%;
        right: 5%;
        font-size: 1rem;
        color:#444444;
    }
   
    .flex-nav button{
        display: none;
    }
    .flex-nav h1{
    display: flex;
    justify-content: center;
    color:#2c4964; 
    font-weight: 600;
    font-style: normal;
    font-size: 1.5rem;
    right: 5%;
    }
  
    /* hero section  */
  .hero{
    width: 100%;
    display: grid;
  }
    .hero-saction {
        display: grid;
            grid-template-columns: 1fr;
    }
         .hero .hero-saction .hero-text p{
    color:#2c4964; 
 font-family:Poppins, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.35rem;
  line-height: 2.1rem;
}
   .hero .hero-saction .hero-box{
    display: flex;
    flex-direction: column;
    }
    .hero .hero-saction .hero-box #box1{
  grid-template-columns: 1fr;
}
 
    .hero .hero-saction .hero-box .boxes {
    grid-template-columns: 1fr;
}
    .hero .hero-saction .hero-box .boxes .box{
    display: flex;
    flex-direction: column;
}
}

