@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro');



@keyframes slide-from-right {
    from {
        top: 50px;
      right: -250px;
      opacity: 0;
    }
    to {
        top: 50px;
      right: 0px;
      opacity: 100%;
    }
  }
  
  @keyframes slide-to-right {
    from {
        top: 50px;
      right: 0px;
      opacity: 80%;
    }
    to {
        top: 50px;
        right: -250px;
        opacity: 0;
      display: none;
    }
}

*{
    padding: 0;
    margin: 0;
}

body{
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

#container{
    width: 100vw;
    height: 100%;
    position: relative;
}

/* keyframe queries */
@keyframes horizontal-movement {
    0%{transform:translateZ(0deg) translateY(20vh)}
    20%{transform: translateY(40vh);}
    50%{transform: translateZ(360deg);}
    100%{transform: translateY(60vh);}
}

@keyframes move-up-down {
    0%{transform: translateY(0px) ;}
    50%{transform: translateY(140px) rotateZ(-360deg);}
    0%{transform: translateY(0px) ;}
}

/* header styles */
#container nav{
    width: 100vw;
    display: flex;
    position: fixed;
    justify-content:flex-end;
    align-items:center;
    z-index: 999;
    height: 70px;
    background: linear-gradient(180deg, #5796fa, #9dbef5, #c2d9fc,#e3edfc,#f7faff, white );
}
#container nav a img{
    width: 15%;
    height: auto;
    margin: 0;
}
#container nav a{
    text-decoration: none;
    color: rgb(0, 0, 52);
    font-size: 18px;
    padding-bottom: 3px;
    margin: 3vh 3vw;
    transition: 0.03s ease;
}

a.active{
    color: #f224f2;
    border-bottom: 2px solid #f224f2;
  }

#container nav a:hover{
    color: #f224f2;
    border-bottom: 2px solid #f224f2;
}

#container nav a#logo{
    border: none;
}


/* toggler */
#togler-button {
    display: none;
  }
  #togler-button button {
    position: absolute;
    top: 10px;
    right: 5px;
    padding: 3px 3px;
    background-color: var(--lblue);
    border: none;
    z-index: 999;
  }
  #togler-button button i {
    color: #f224f2;
    font-size: 20px;
  }
  
  #togler-links {
    display: none;
    position: absolute;
    right: 0px;
    background-color: #9dbef5;
    padding: 40px 2px;
    z-index: 999;
    animation: slide-to-right 0.5s ease 1 forwards;
  }
  
  #togler-links.animate {
    display: block;
    position: absolute;
    background-color: #b8d6fc;
    padding: 40px 2px;
    z-index: 999;
    animation: slide-from-right 0.5s ease 1 forwards;
  }
  
  #togler-links div {
    display: flex;
    flex-direction: column;
  }
  #togler-links div a {
    text-decoration: none;
    color: #3281ff;
    font-family: Arial, Helvetica, sans-serif;
    padding: 5px 7px;
    margin: 7px 5px;
    width: 160px;
    text-align: center;
    transition: 0.03s ease;
  }
  #togler-links div a:hover {
    color: #f224f2;
    border-radius: 50px;
    background-color: var(--lblue);
  }

/* landing introduction */
#landing-content{
    width: 100vw;
    height: auto;
    display: flex;
}
#landing-content .intro-text{
    color: rgb(0, 0, 52);
    height: 100vh;
    width: 50vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#landing-content .intro-text div{
    border-left: solid 2px #5796fa;
    padding-left: 5vw;
}
#landing-content .intro-text h1{
    font-size: 50px;
}
#landing-content .intro-text h2{
    color: #f224f2;
}
#landing-content .intro-text div button{
    background-color: #5796fa;
    border-radius: 10px;
    margin-top: 2vh;
    padding: 2vh 2vw;
    color: white;
    font-size: 3vh;
    border: none;
    transition: 0.03s ease;
}
#landing-content .intro-text div button:hover{
    opacity: 60%;
    cursor: pointer;
}

#landing-content .intro-image{
    box-sizing: border-box;
    width: 50%;
    padding-left: 5%;
}
#landing-content .intro-image img{
    margin-top: 20vh;
    height: 70vh;
    width: auto;
}


/* decoration ========== */
#decoration-bg-left{
    position: absolute;
    background-color: #fcdefc;
    width: 350px;
    height: 350px;
    z-index: -1;
    transform: translateX(-3vw) translateY(-70vh) rotateZ(-45deg);
}
#decoration-bg-left-skew{
    position: absolute;
    background-color: #fcdefc;
    width: 350px;
    height: 350px;
    z-index: -1;
    transform: translateX(5vw) translateY(-70vh) rotateZ(-45deg);
}

#decoration-bg-right{
    position: absolute;
    background-color: #b8d6fc;
    width: 350px;
    height: 350px;
    z-index: -1;
    transform: translateX(80vw) translateY(20vh) rotateZ(-45deg);
}
#decoration-bg-right-skew{
    position: absolute;
    background-color: #b8d6fc;
    width: 350px;
    height: 350px;
    z-index: -1;
    transform: translateX(73vw) translateY(20vh) rotateZ(-45deg);
}

#container span{
  display: absolute;
}

/* website summary */
#pages-link, .about-section{
    width: 100vw;
    /* height: 100vh; */
    display: flex;
    padding-top: 0;
}
#pages-link .summary-image, .about-section .summary-image{
    width: inherit;
    height: inherit;
}
#pages-link .summary-image img, .about-section .summary-image img{
    width: 100%;
    height: 100%;
}
#pages-link .summary-text, .about-section .summary-text{
    width: inherit;
    height: inherit;
    padding: 10vh 10vw;
    color: rgb(0, 0, 52);
}
#pages-link .summary-text h2, .about-section .summary-text h2{
    font-size: 32px;
    margin-top: 10vh;
    z-index: 1;
}
#pages-link .summary-text h4, .about-section .summary-text h4{
    line-height: 30px;
    font-size: 18px;
    color: #3281ff;
    margin-top: 2vh;
    mix-blend-mode: difference;
}
#pages-link .summary-text button, .about-section .summary-text button{
    background-color: rgb(0, 0, 52);
    border-radius: 10px;
    margin-top: 2vh;
    margin-left: 5vw;
    padding: 2vh 2vw;
    color: white;
    font-size: 3vh;
    border: none;
    transition: 0.03s ease;
}
#pages-link .summary-text button, .about-section .summary-text a:hover{
    opacity: 60%;
    cursor: pointer;
}


/* footer styles */
#footer{
    width: 100%;
    height: auto;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    background: linear-gradient(50deg,#5796fa, #9dbef5, #c2d9fc,#fcdefc,#ffb0ff, #fc88fc  );
}
#footer .footer-content div{
    display: flex;
}

#footer .pill-anime{
    margin-inline: auto;
    margin-top: 15vh;
    position: relative;
    justify-self: center;
    z-index: 1;
    width: 117px;
    height: 46px;
    background-size: cover;
    background-image: url('./images/pill-one.webp');
    background-size: cover;
    animation: move-up-down 4s ease-in-out 0s infinite;
}

#about{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    margin: 0px 20px;
    margin-top: 30px;
    z-index: 2;
}
#about ul li h4, #about_connected ul li h4{
    color: rgb(0, 0, 52);
    font-size: 3.1vh;
}

#about li{
    list-style: none;
    list-style-type: none;
    margin-top: 1vh;
}

#about_connected{
    display: flex;
    padding: 30px;
    margin: 0px 20px;
    margin-top: 35px;
}

#about_connected li{
    list-style: none;
    list-style-type: none;
}

#about_connected table{
    padding: 20px;
}

#about_connected td{
    padding-right:  20px;
}

#about_connected a{
    color: #3281ff;
}

#about_connected img{
    size: 30px 100px;
    height: 40px;
    width: 120px;
}

/* rights section */
#footer hr{
    width: 80vw;
    height: 1px;
    background-color: white;
    margin-left: 10vw;
    z-index: 20;
    border-radius: 10px;
}

#footer .rights{
    color: black;
    font-size: 16px;
    margin-top: 2vh;
    margin-left: 42vw;
    z-index: 20;
    padding-bottom: 20px;
}




/* services page */
       #container .services-nav{
        height: 50px;
        background-color: #3281ff;
        background: linear-gradient(180deg, #9dbef5,#9dbef5, #9dbef5 );
       }
       #container .services-nav a img{
        width: 13%;
       }

        

        .hero {
            background-image: url('./images/services-imgs/nurse-services.webp');
            background-size: cover;
            background-position: center;
            background-blend-mode: darken;
            background-color: #34495eb2;
            height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #fff;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .services {
            padding: 4rem 0;
            background-color: #ecf0f1;
        }

        .services h2 {
            text-align: center;
            margin-bottom: 2rem;
        }

        .service-grid {
            display: grid;
            padding: 0 20px;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-5px);
        }

        .service-card img {
            width: 90px;
            height: 90px;
            margin-bottom: 1rem;
        }

/* ------------------------- */
        #actual-services{
            position: relative;
            width: 100vw;
            padding: 20px 10px;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin: 5vh 0;
        }

        #actual-services h2{
            margin-top: 20px;
            margin-left: 10px;
            font-size: 1.5rem;
        }
        #actual-services .service-category{
            width: 100%;
            white-space: nowrap;
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            padding: 10px 0;
        }
        #actual-services .service-category::-webkit-scrollbar{
            height: 4px;
        }
        #actual-services .service-category::-webkit-scrollbar-thumb{
            background-color: #34495e;
            border-radius: 2px;
        }

        #actual-services .service-category .service-item{
            min-width: 250px;
            min-height: 150px;
            margin: 0 10px;
            box-shadow: 0 0 10px #5796fa;
            background-color: #c2d9fc;
            border-radius: 5px;
            display: inline-block;
            scroll-snap-align: start;
            white-space: normal;
            padding: 10px 10px;
            text-align: center;
        }
        #actual-services .service-category .service-item h3{
            font-size: 1.1rem;
            color: #34495e;
            margin-bottom: 10px;
        }
        #actual-services .service-category .service-item p{
            font-size: 0.9rem;
            text-align: left;
        }

        #actual-services .service-category .service-item button{
            background-color: #f224f2;
            color: white;
            padding: 5px 10px;
            margin-top: 10px;
            border: none;
            transition: 0.03s ease;
        }
        #actual-services .service-category .service-item button:hover{
            cursor: pointer;
            background-color: #3498db;
        }

        /* --------------------- */


        .features {
            margin-top: 5vh;
            width: 90vw;
            margin-inline: auto;
            padding: 4rem 0;
            background-color: #3498db;
            color: #fff;
        }

        .features h2 {
            text-align: center;
            margin-bottom: 2rem;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            
        }

        .feature {
            text-align: center;
            padding: 0 10px;
        }

        .feature img {
            width: 200px;
            height: 200px;
            margin-bottom: 1rem;
            border-bottom: 2px solid white;
        }

        .cta {
            width: 90vw;
            margin-inline: auto;
            padding: 4rem 0;
            background-color: #34495e;
            color: #fff;
            text-align: center;
        }

        .cta h2 {
            margin-bottom: 1rem;
        }

        .cta-button {
            display: inline-block;
            background-color: #f224f2;
            color: #fff;
            padding: 0.75rem 1.5rem;
            text-decoration: none;
            border-radius: 4px;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }

        .cta-button:hover {
            background-color: #fc88fc;
        }

        footer {
            background-color: #34495e;
            color: #ecf0f1;
            text-align: center;
            padding: 1rem 0;
        }

        @media (max-width: 768px) {
            .feature-grid {
                grid-template-columns: 1fr;
            }

            .container h1{
                font-size: 30px;
            }

            .features, .cta {
                width: 95vw;
            }
        }



/* media queries */
/* mobile tablet */
@media screen and (max-width:768px){
  #container{
    width: 100vw;
    overflow-x: hidden;
  }
  #container nav{
    justify-content: flex-start;
  }
  #container nav a img{
    display: absolute;
    left: 30px;
    margin-right: 10%;
    width: 100px;
  }

  #container nav a{
    display: none;
  }

  #container nav a#logo{
    display: block;
  }

  #container nav a button{
    background-color: #f224f2;
    border-radius: 20px 0 20px 0;
    width: 5vw;
    height: 5.5vh;
    transition: 0.03s ease;
    border: 2px solid #fc88fc;
}
#container nav a button:hover{
    cursor: pointer;
    background-color: #fc88fc;
    border: 2px solid #f224f2;
}


#togler-button {
    display: block;
    position: absolute;
    color: var(--lightblue);
    right: 15px;
    background-color: red;
  }

/* =============== */


    #landing-content{
        flex-direction: column;
        margin-top: 5vh;
        padding: 0 20px;
        margin-top: 0;
    }

    #landing-content .intro-text, #landing-content .intro-image{
      width: 100vw;
      margin-top: 15vh;
      height: auto;
      margin-bottom: 0;
  }
  #landing-content .intro-image{
    height: 40vh;
    margin-top: 5vh;
  }

    #landing-content .intro-text h1{
      font-size: 45px;
  }
  
  #landing-content .intro-text div button{
    padding: 1vh 1vw;
    font-size: 2vh;
  }
    
    #landing-content .intro-image img{
      margin-top: 0px;
      height: 35vh;
      width: auto;
      margin-left: 50px;
      margin-bottom: 0;
  }
   

  /* ============= */
    #decoration-bg-left, #decoration-bg-left-skew{
        width: 200px;
        height: 200px;
        background-color: rgba(255, 255, 255, 0.356);
        border: 3px solid #fcdefc;
    }
    #decoration-bg-left{
        transform: translateX(-3vw) translateY(-70vh) rotateZ(-45deg);
  }
  #decoration-bg-left-skew{
        transform: translateX(5vw) translateY(-70vh) rotateZ(-45deg);
  }

  #decoration-bg-right, #decoration-bg-right-skew{
    width: 170px;
    height: 170px;
    background-color: rgba(255, 255, 255, 0.356);
    border: 3px solid #b8d6fc;
  }
  #decoration-bg-right{
        transform: translateX(70vw) translateY(15vh) rotateZ(-45deg);
  }
  #decoration-bg-right-skew{
        transform: translateX(63vw) translateY(15vh) rotateZ(-45deg);
  }

  /* ============= */
    #pages-link{
        flex-direction: column-reverse;
        margin-top: 20px;
        margin: 0 0;
        height: auto;
    }
    .about-section{
        height: auto;
      flex-direction: column;
      margin-bottom: 0;
    }
    #pages-link .summary-image, .about-section .summary-image{  
        width: 100vw;
        margin-top: 0;
        margin-bottom: 10vh;
    }
    #pages-link .summary-image, .about-section .summary-image img{
        height: auto;
    }
    
    #pages-link .summary-text, .about-section .summary-text{
      width: auto;
      padding: 0 20px;
      margin-bottom: 20px;
      height: auto;
    }
    #pages-link .summary-text h2, .about-section .summary-text h2{
      font-size: 22px;
      text-decoration: underline;
      margin-top: 0;
      text-align: center;
      margin-left: -40px;
    } 
    #pages-link .summary-text h4, .about-section .summary-text h4{
      font-size: 16px;
      line-height: 25px;
    } 

    #pages-link .summary-text button, .about-section .summary-text button{
      margin: 0;
      margin-top: 10px;
      padding: 7px 8px;
      font-size: 16px;
    }

    #footer{
        height: auto;
        padding-bottom: 20px;
        margin-bottom: 0;
    }
    #footer .footer-content{
        flex-direction: column;
    }
    #footer .footer-content div{
       display: grid;
       grid-template-columns: auto auto;
       column-gap: 20px;
       row-gap: 20px;
       margin-left: 10px;
    }
    #footer .pill-anime{
        margin-inline: unset;
    }

    #about, #about_connected{
      margin: 0;
      padding: 0;
      width: auto;
      white-space: wrap;
    }
    
    #about ul li h4, #about_connected ul li h4{
      font-size: 16px;
    }
    #about_connected ul table{
      padding: 0;
      margin: 10px 0;
    }
    #about_connected td{
      padding-right:  0px;
  }
  #about_connected a{
    font-size: 16px;
    margin: 10px 4px;
  }


    #about ul li p{
      font-size: 16px;
    }

    #footer hr{
      display: block;
      margin-top: 20px;
      position: relative;
    }
    #footer .rights{
      position: relative;
      margin-left: 0;
      text-align: center;
      margin-bottom: 0;
    }

    #container nav{
        display: flex;
    }

    #container #services-container .service-line{
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
    }
}
