.section-goal .goal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: solid 1px var(--normal-black);
    border-radius: 1rem;
    height: 100%;
}

.section-goal .goal-wrapper {
    padding: 1.5rem;
}

.section-goal .goal .img-wrapper {
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}

.section-goal .goal img {
    border-radius: 1rem 1rem 0 0;
    width: 100%;
    transform: scale(1);
    transition: transform 0.3s ease-in;
}

.section-goal .goal img:hover {
    transform: scale(1.2);
}

.section-goal .goal h2 {
    margin-top: 1.5rem;
    text-align: center;
}

.section-goal .goal p {
    padding: 1rem;
    margin: 0;
}

.section-about {
    background-image: url("../images/about_us.webp");
    background-size: 50% 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.section-about .about-us {
    /* background-color: rgba(240, 240, 240, 0.8); */
    background-color: var(--normal-white);
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
}

.section-about .about-us p {
    font-size: 1.125rem;
    color: var(--dark-gray);
}

.section-about .about-us .about-item {
    padding: 0.5rem 0.5rem 0;
}

.section-categories-wrapper {
    /* margin-top: 10rem !important; */
    position: relative;
    background-image: url("../images/pattern.webp");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 8rem 0;
}

.section-categories-wrapper .section-categories-overlay {
    background-color: var(--normal-black);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.05;
    /* background: linear-gradient(to bottom, var(--light-gray), var(--dark-gray)); */
}

.section-categories-wrapper .title {
    position: relative; 
    text-align: center;
    margin-bottom: 3rem;
}

.section-categories-wrapper .slider {
    position: absolute;
    top: 50%;
    height: 100%;
    height: calc(100% - 8rem);
    background-color: transparent;
    border: none;
    padding: 0;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    height: auto;
    padding: 0.5rem 1rem !important;
}

.section-categories-wrapper .slider i {
    color: var(--normal-black);
}

.section-categories-wrapper .slider {
    transform: scale(1);
    transition: all 0.3s ease-in;
}

.section-categories-wrapper .slider:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.section-categories-wrapper .slider-left {
    left: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.25rem;
}

.section-categories-wrapper .slider-right {
    right: 1rem;
    padding-left: 0.25rem;
    padding-right: 0.5rem;
}

.section-categories {
    overflow: hidden;
    margin-left: 4.5rem;
    margin-right: 4.5rem;
    padding: 2rem 0 0.5rem;
}

.categories {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    transform: translateX(0);
}

.categories.sliding-transition {
    transition: transform 0.3s ease-in;
}

.categories .category {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.categories .category-wrapper {
    flex: 0 0 25%;
}

.categories .category .img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    cursor: pointer;
    border: outset 0.5rem var(--normal-blue);
    transition: all 0.3s ease-in;
}

.categories .category img {
    border-radius: 50%;
    width: 180px;
    height: 180px;
    transform: scale(1);
    transition: transform 0.3s ease-in;
}

.categories .category .img-wrapper .img-wrapper-overlay {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-color: rgba(204, 41, 54, 0.9);
    border-radius: 50%;
    transform: scale(0);
    color: var(--normal-white);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in;
}

.categories .category .img-wrapper:hover img {
    transform: scale(1.2);
}

.categories .category .img-wrapper:hover .img-wrapper-overlay {
    transform: scale(1);
}

.categories .category h3 {
    margin-top: 1rem;
    text-align: center;
    margin-bottom: 0;
    color: var(--normal-blue);
}

.categories .category p {
    padding: 1rem;
    margin: 0;
}

.clients {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    grid-gap: 2rem;
    justify-content: center;
}

.clients .client-item-wrapper {
    height: 250px;
}

.client-item-wrapper .client-item {
    padding: 1rem;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(#ddd, #aaa);
    border-radius: 1rem;
}

.client-item-wrapper .client-item img {
    max-width: 200px;
}

.client-item-wrapper .client-item span {
    text-align: center;
    font-size: 1.75rem;
}

@media screen and (max-width: 991px){ 
    header .header-text {
        width: 80%;
    }

    .section-goal .goal-wrapper {
        padding: 0.5rem;
    }
   
    .section-about {
        background-size: cover;
    }

    .section-about .about-us {
        background-color: rgba(0, 0, 0, 0.6);

    }

    .section-about .about-us p, 
    .section-about .about-us h2, 
    .section-about .about-us h3 {
        color: var(--normal-white);
    }

    .categories .category-wrapper {
        flex: 0 0 calc(100% / 3);
    }

    .clients {
        grid-template-columns: repeat(auto-fit, 200px);
    }
    
    .clients .client-item-wrapper {
        height: 200px;
    }
    
    .client-item-wrapper .client-item img {
        max-width: 170px;
    }
    
}

@media screen and (max-width: 767px){

    header .header-text {
        top: 30%;
        width: 100%;
        padding: 0 1rem;
    }

    .section-goal .goal-wrapper {
        padding: 1rem 4rem;
    }

    .categories .category-wrapper {
        flex: 0 0 50%;
    }

    .clients {
        grid-template-columns: repeat(auto-fit, 150px);
        grid-gap: 1rem;
    }
    
    .clients .client-item-wrapper {
        height: 150px;
    }
    
    .client-item-wrapper .client-item {
        padding: 0.5rem;
    }
    
    .client-item-wrapper .client-item img {
        max-width: 130px;
    }
    
    .client-item-wrapper .client-item span {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 575px){
    .section-goal .goal-wrapper {
        padding: 1rem 3rem;
    }

    .categories .category-wrapper {
        flex: 0 0 100%;
    }
}

@media screen and (max-width: 330px){

    .section-goal .goal-wrapper {
        padding: 1rem 2rem;
    }

    .categories .category img {
        width: 140px;
        height: 140px;
    }

    .clients {
        grid-template-columns: repeat(auto-fit, 130px);
        grid-gap: 0.5rem;
    }
    
    .clients .client-item-wrapper {
        height: 130px;
    }
    
    .client-item-wrapper .client-item {
        padding: 0.5rem;
    }
    
    .client-item-wrapper .client-item img {
        max-width: 110px;
    }
    
    .client-item-wrapper .client-item span {
        font-size: 1.25rem;
    }

}
