*{
    /* border: 1px solid red; */
    box-sizing: border-box;
    font-weight: 300;
    /* letter-spacing: 1px; */
    font-size: 16px;
    scroll-behavior: smooth;
    font-family: var(--font-family-sans);
}

:root {
    --primary-offset-color: #A5ADC4;
    --primary-color: #D8DEE1;
    --light-primary-color: #FFF;

    --secondary-color: #0B2240;
    --dark-secondary-color: #345DAE;

    --font-family-sans: "Work Sans", serif;
}
/* services Intro */

.services-intro{
    width: 100%;
    height: auto;
    padding: 60px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}

.services-intro-details{
    width: 70%;
    height: auto;
}

.services-intro-details h2, 
.services-intro-details p{
    width: 100%;
    text-align: center;
    color: var(--secondary-color);
}


.services-intro-overview{
    width: 50%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.services-intro-overview-card{
    width: 100%;
    margin: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.services-intro-overview-card i{
    width: 50px;
    height: 50px;
    font-size: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.services-intro-overview-card p{
    width: 100%;
    text-align: center;
    color: var(--secondary-color);
}


.services-holder{
    width: 90%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.services-card{
    width: 100%;
    width: 25vw;
    height: auto;
    margin: 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light-primary-color);
    text-decoration: none;
}

.services-card-img-holder{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.services-card-img{
    width: 100%;
    height: 50vh;
    background-color: var(--dark-secondary-color);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.services-card:hover .services-card-img{
    transform: scale(1.2);
}

.services-card-name{
    width: 90%;
    height: auto;
    text-align: center;
    padding: 16px 0;
    font-weight: 500;
    color: var(--secondary-color);
}


/* Mobile */
@media screen and (max-width: 900px) {
    
    .services-intro-details,
    .services-intro-overview{
        width: 100%;
    }

    .services-intro-details p,
    .services-intro-overview-card p{
        font-size: 14px;
    }

    .services-holder{
        width: 100%;
        flex-direction: column;
    }

    .services-card{
        width: 100%;
        max-width: none;
        margin: 16px auto;
    }

    .services p,
    .services-topbar a,
    .services-card-name{
        font-size: 14px;
    }
}

/* services-steps */

.services-steps{
    width: 100%;
    height: auto;
    padding: 60px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
}

.services-steps h2,
.services-steps h1{
    width: 70%;
    text-align: center;
    color: var(--light-primary-color);
}

.services-steps p{
    width: 70%;
    text-align: center;
    color: var(--primary-color);
}

.services-steps-holder{
    width: 90%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.services-steps-card{
    width: 100%;
    max-width: 25vw;
    height: 50vh;
    margin: 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light-primary-color);
    transition: all 0.3s ease-in-out;
}


.services-steps-card:hover{
    background-color: var(--primary-color);
}

.services-steps-card h3{
    width: 100%;
    color: var(--secondary-color);
    text-align: center;
    font-weight: 600;
}

.services-steps-card i{
    width: 50px;
    height: 50px;
    font-size: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
    color: var(--secondary-color);
    background: linear-gradient(to bottom right, var(--dark-secondary-color), transparent 60%);
}

.services-steps-name{
    width: 90%;
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
}

.services-steps-card p{
    width: 90%;
    text-align: center;
    color: var(--secondary-color);

}

/* Mobile */
@media screen and (max-width: 900px) {
    
    .services-steps h2,
    .services-steps h1,
    .services-steps p{
        width: 100%;
    }
    .services-steps-holder{
        width: 100%;
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .services-steps-card{
        width: 100%;
        max-width: none;
        margin: 16px auto;
    }

}

/* Blogs */
.blogs{
    width: 100%;
    padding: 60px 16px;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.blogs p{
    width: 70%;
    text-align: center;
    color: var(--secondary-color);
}

.blogs-topbar{
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.blogs-topbar h3{
    color: var(--secondary-color);
    text-align: left;
}

.blogs-topbar a{
    width: 15%;
    padding: 16px 16px;
    text-decoration: none;
    color: var(--secondary-color);
    text-align: center;
    border: 1px solid var(--primary-offset-color);
    transition: all 0.3s ease-in-out;
}

.blogs-topbar a:hover{
    border: 1px solid var(--secondary-color);
}

.blogs-holder{
    width: 90%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.blogs-card{
    width: 100%;
    height: auto;
    margin: 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light-primary-color);
    text-decoration: none;
}

.blogs-card-img-holder{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blogs-card-img{
    width: 100%;
    height: 50vh;
    background-color: var(--dark-secondary-color);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.blogs-card:hover .blogs-card-img{
    transform: scale(1.2);
}

.blogs-card-name{
    width: 100%;
    height: auto;
    text-align: left;
    padding: 16px 16px 0 16px;
    font-weight: 500;
    color: var(--secondary-color);
}

.blogs-card p{
    width: 90%;
    height: 80px;
    max-height: 80px; 
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    color: var(--secondary-color);
    margin: 16px auto;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Mobile */
@media screen and (max-width: 900px) {
    .blogs-topbar{
        width: 100%;
    }

    .blogs-topbar a{
        width: 50%;
    }

    .blogs-topbar h3{
        width: 50%;
    }

    .blogs-holder{
        width: 100%;
        flex-direction: column;
    }

    .blogs p,
    .blogs-topbar a,
    .blogs-card-name{
        font-size: 14px;
    }

    .blogs-card p{
        width: 90%;
    }
}
