.resources{
    & .resources-wrapper{
        display: flex;
        flex-direction: column;
        width: 100%;
        & .top-section{
            display: flex;
            justify-content: space-between;
            width: 100%;
            align-items: baseline;
            margin-bottom: 4rem;
                @media screen and (max-width:992px) {
                    flex-direction: column;
                }
            & .left-side{
                width: 70%;
                padding-right: 9rem;
                @media screen and (max-width:992px) {
                    width: 100%;
                    padding-right: 0;
                    max-width: 100% !important;
                }
                & p{
                    color:#6B6B6B;
                    & strong{
                        color:#408EC6;
                    }
                }
                & h2, & h3, & h4, & h5, & a, & li, & span {
                    color: var(--blue);
                }
            }

            & .right-side{
                display: flex;
                justify-content: flex-end;
                width: 30%;
                @media screen and (max-width:992px) {
                    width: 100%;
                    justify-content: flex-start;
                    margin-top: 2rem;
                }
            }
        }

        & .bottom-section{
            display: grid;
            grid-template-columns: repeat(3, 1fr); 
            gap: 8rem; 
                @media screen and (max-width:992px) {
                    grid-template-columns: repeat(2, 1fr);
                    gap: 4rem; 
                }
                @media screen and (max-width:768px) {
                    grid-template-columns: repeat(1, 1fr);
                    gap: 2rem; 
                }
            & .block{
                & .block-wrapper{
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    background-color: var(--white);
                    box-shadow: 5px 5px 14px 0px #cfcfcf;
                    padding: 5rem;
                    border-radius: 10px;
                    height: 100%;
                    & .image-wrapper{
                        height: 125px;
                        & img{
                        object-fit: contain;
                        }
                    }
                    & .text-area{
                        text-align: center;
                        & h2, & h3, & h4, & h5, & span {
                            color: var(--black);
                            font-size: 22.5px;
                            text-align: center;
                            font-weight: 600;
                        }
                        & p{
                            font-size: 14px;
                            color: var(--grey);
                            text-align: center;
                            margin: 2rem 0;
                        }
                        & a{
                            color: var(--lightBlue);
                            font-size: 16px;
                            text-transform: capitalize;
                        }
                    }
                    &:hover{
                        background-color: var(--blue) ;
                        & .text-area{
                            & h2, & h3, & h4, & h5, & p, & span, & a {
                                color: var(--white);
                                
                            }
                        }
                    }

                }
            }

            @media (max-width: 768px) {
                & .bottom-section {
                    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
                }
            }
            
            @media (max-width: 480px) {
                & .bottom-section {
                    grid-template-columns: 1fr; /* 1 column on mobile */
                }
            }


        }

        & .call_to_action_buttons {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 4rem;
            & a:last-child {
                margin-bottom: 0;
            }
            @media (min-width: 992px) {
                flex-direction: row;
                & a:not(:last-child) {
                    margin-right: 2rem;
                }
            }
            @media (max-width: 991px) {
                flex-direction: column;
                & a {
                    margin-bottom: 2rem;
                }
            }
        }

    }


}

.lightblue-colour-scheme {
    background-color: var(--lightblue);
    & .right_side{
        & .text_area {
            & h2, & h3, & h4, & h5, & p, & a, & li, & span {
                color: var(--blue );
            }
            p{
                color: #6B6B6B;
            }
        }
    }
}

.blue-colour-scheme {
    background-color: var(--blue);
    & .right_side{
        & .text_area {
            & h2, & h3, & h4, & h5, & p, & a, & li, & span {
                color: var(--white);
            }
        }
    }
}