@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
html,body{
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}
body{
    background: var(--primary);
    font-family: "Inter", serif;
}
.main-nav > li{
    position: relative;
    min-height: 50px;
    display: grid;
    align-content: center;
}
.main-nav > li > ul{
    position: absolute;
    top: 100%;
    min-width: 420px;
    line-height: 1;
    padding: 35px 25px 25px;
    display: grid;
    color: black;
    gap: 9px;
    text-transform: none;
    font-size: 1rem;
    transition: all 0.3s ease-out;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}
.main-nav > li:hover > ul{
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
}
.main-nav > li > ul:before{
    content: "";
    background: white;
    position: absolute;
    top: 10px;
    z-index: -1;
    right: 0px;
    bottom: 0;
    left: 0;
    border-radius: 0.5rem;
    box-shadow: 0 0 16px 0 rgba(0 0 0 /10%);
}
.main-nav > li > ul a{
    transition: all 0.3s ease-out;
}
.main-nav > li > ul > li > a{
    display: block;
    padding:4px;
    font-size: 1.1rem;
    font-weight: 600;
}
.main-nav > li > ul > li > ul{
    font-size: 0.95rem;
    display: grid;
    gap: 9px;
    margin: 8px 0 0 4px;
    color: rgba(0 0 0 /60%);
}
.main-nav > li > ul > li > ul a{
    display: block;
}
.main-nav > li > ul > li > ul a:before{
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144'/%3E%3C/svg%3E");
    line-height: 0;
    width: 12px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 7px;
    filter: brightness(0) saturate(100%) invert(50%) sepia(60%) saturate(3896%) hue-rotate(170deg) brightness(98%) contrast(85%);
}
.main-nav > li > ul a:hover{
    color: var(--secondary);
}
.main-nav > li > a{
    position: relative;
}
.main-nav > li > a:before{
    content: "";
    width: 0;
    height: 1px;
    background: white;
    transition: all 0.3s ease-out;
    position: absolute;
    bottom: -5px;
    left: 0;
}
.main-nav > li:hover > a:before{
    width: 100%;
}

.hero-slider .splide__pagination{
    display: grid;
    gap: 5px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    left: auto;
    padding:0;
}
.values h3{
    font-weight: 800;
}
.values img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(14%) hue-rotate(217deg) brightness(105%) contrast(100%);
}
.mask-image{
    mask-image: url('images/mask.png');
    mask-size: 100%;
    mask-position: top;
    mask-repeat: no-repeat;
}
.services a:before{ 
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease-out;
    width: 0;   
}
.services a:hover:before{
    width: 100%;
}
.clear-text{
    -webkit-text-stroke: 1px white;
}
.service-text a{
    text-decoration: underline;
}
.content-page h2{
    font-size: 1.6rem;
    border-bottom: 3px solid rgba(255 255 255 / 30%);
    padding-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}
.content-page ul{
    display: grid;
    gap: 5px;
}
.content-page ul li{
    padding-left: 30px;
    position: relative;
}
.content-page ul li:before{
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M268 112l144 144-144 144M392 256H100'/%3E%3C/svg%3E");
    width: 20px;
    display: inline-block;
    margin-right: 5px;
    line-height: 0;
    position: absolute;
    left: 0;
    top: 4px;
}
.listed li{
    position: relative;
    padding-left: 30px;
}
.listed li:before{
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M268 112l144 144-144 144M392 256H100'/%3E%3C/svg%3E");
    width: 20px;
    display: inline-block;
    margin-right: 5px;
    line-height: 0;
    position: absolute;
    left: 0;
    top: 4px;
}
@media(max-width:1024px){
    .content-page h2{
        font-size: 1.3rem;
    }
}