.contact-outer-wrapper {
    padding: 50px 0 70px;

    &:nth-child(even) {
        background-color: #dfdfdf;
    }

}

.contact-us-wrapper {
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #F2A85D;
    box-shadow: 0px 0px 6px 0px #F2A85D inset;
    padding: 10px;
    border-radius: 12px;
    padding: 10px 30px;
    margin-block: 50px;

    ul {
        margin-top: 20px;

        li {
            margin-bottom: 15px;
            font-weight: 400;
            color: #7a7a7a;
            line-height: 25px;

            &:hover {
                h3 {
                    color: #9d7249;
                }
            }

            a {
                display: flex;
                align-items: center;
                justify-content: start;
                gap: 10px;
                font-size: 20px;
                font-weight: 400;
                color: #7a7a7a;
                line-height: 25px;
                width: fit-content;

                h3 {
                    font-size: clamp(1.0625rem, 0.858rem + 1.0227vw, 1.625rem);
                    font-weight: 600;
                }

                span {
                    place-content: center;
                }

                img {
                    width: 40px;
                    height: 40px;
                    flex-shrink: 0;
                }
            }
        }
    }
}

.logo-plus-media-list {
    text-align: center;

    img {
        width: 80%;
    }

    ul {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;

        li {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 36px;
            width: 36px;
            border-radius: 50%;
            transition: all 0.3s ease;

            /* Default background (fallback) */
            background-color: #f0f0f0;

            /* Social platform colors (customize as needed) */
            &:nth-child(1) {
                background-color: #4267B2;
            }

            /* Facebook blue */
            &:nth-child(2) {
                background-color: #000;
            }

            /* Instagram pink */
            &:nth-child(3) {
                background-color: #1DA1F2;
            }

            /* Twitter blue */
            &:nth-child(4) {
                background-color: #FF0000;
            }

            /* YouTube red */
            &:nth-child(5) {
                background-color: #0077B5;
            }

            /* LinkedIn blue */

            /* White icons for contrast */
            a {
                color: white;
            }

            /* Slightly darker on hover */
            &:hover {
                opacity: 0.9;
                transform: scale(1.05);
            }
        }
    }
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;

    .contact-box {
        border-radius: 10px;
        padding: 10px;
        text-align: center;
        background: #E5E5E5;
        border-radius: 10px;
        overflow: hidden;
        flex: 0 267px;




        img {
            max-width: 190px;
            border: 6px solid #dfdfdf;
        }

        h3 {
            font-size: 26px;
            font-weight: 600;
            margin-top: 5px;
            color: #525252;

            &:hover {
                color: #9d7249;
            }
        }

        p {
            margin-bottom: 15px;
        }

        a {
            color: #000;
            display: block;
            max-width: fit-content;
            margin-inline: auto;
            margin-bottom: 5px;

            svg {
                color: #b7a090;
                margin-left: 5px;
                font-size: 22px;
            }


        }

        ul {
            border-top: 1px solid #C8C8C8;
            margin-top: 20px;
            padding-top: 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;

            li {


                a {
                    color: #000;
                    display: flex;
                    justify-content: start;
                    align-items: center;
                    max-width: fit-content;
                    margin: 0;
                    gap: 10px;


                    &:hover {
                        color: #9d7249;
                    }

                    img {
                        width: 25px;
                        height: 25px;
                        border: 0;
                    }
                }
            }
        }
    }
}

.contact-us-heading {
    text-align: center;
    margin-block: 60px 30px;
    color: #9D7249;
    font-size: 36px;
    font-weight: 700;
    text-transform: capitalize;

    span {
        color: #4d4d4d;
    }
}



.contact-box:has(.logo) {
    width: 143px;
    min-width: 143px;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 203px;
    padding: 0;

    img {
        width: auto;
        height: 143px;
        border: 0;
        box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
        border-radius: 8px;
    }

}

.contact-box.border-0.bg-white {
    min-height: 143px;

    h3 {
        font-size: 26px;
    }
}

.no-li {
    .contact-us-heading {
        flex: 1 1 100%;
    }
}

.no-li .contact-box {


    a {
        svg {
            color: #b7a090;
        }

        &:hover {
            svg {
                color: #b7a090;
            }
        }
    }
}

svg.fa-linkedin {
    color: #929292 !important;
    margin-left: 5px;
    font-size: 22px;

    &:hover {


        color: #0A66C2 !important;


    }
}

.contact-numbers-wrapper {
    .contact-box {
        border-radius: 10px;
        padding: 24px 10px;
        text-align: center;
        background: #E5E5E5;
        border-radius: 10px;
        overflow: hidden;
        flex: 0 0 300px;
    }
}

@media (max-width:767px) {

    .contact-us-wrapper {
        ul {
            margin-top: 20px;

            li {
                margin-bottom: 15px;
                font-weight: 400;
                color: #7a7a7a;
                line-height: 25px;
                display: flex;
                justify-content: center;

                a {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    text-align: center;


                }
            }
        }
    }
}