.contact-us-body {
    .container {
        max-width: 980px;
    }
}

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



}

.contact-us-wrapper {
    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;



    h4 {
        font-size: clamp(1.5625rem, 1.267rem + 1.4773vw, 2.375rem);
        font-weight: 700;
        color: #000;
    }

    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: stretch;
    gap: 15px;
    flex-wrap: wrap;










    .contact-box {
        border-radius: 15px;
        padding: 30px 10px;
        text-align: center;
        box-shadow: 0 5px 15px -2px rgba(14.708305027173921, 76.51334921939616, 168.75, .5);
        transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
        border-radius: 10px;
        overflow: hidden;
        flex: 0 306px;




        img {
            max-width: 230px;
            aspect-ratio: 1;
            overflow: hidden;
            object-fit: cover;
            object-position: top;
            border-radius: 50%;

        }

        h2 {
            font-size: 20px;
            font-weight: 600;
            margin-top: 5px;
            color: var(--primary-color);
            margin-block: 20px;


        }



        p {
            margin-bottom: 15px;
        }

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

            svg {
                color: var(--primary-color);
                margin-left: 5px;
                font-size: 22px;
            }


        }

        ul {
            margin-top: 20px;
            padding-top: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;

            li {


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


                    &:hover {
                        color: #54595f;
                    }

                    svg {
                        font-size: 20px;
                        color: var(--primary-color);
                    }
                }
            }
        }
    }
}

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

    span:not(:nth-child(1)) {
        text-transform: lowercase;
    }
}

.space {
    height: 57px;
    flex: 0 100%;
}

.img-div {
    text-align: center;
    flex: 0 100%;
}

h3.contact-us-heading {
    font-size: 31px;
    font-weight: 500;
    margin-top: 5px;
    margin-block: 15px;

    span {
        font-weight: 500;
    }

}

.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%;

        img {
            max-width: 226px;
        }
    }

    .contact-box {
        flex: 0 430px;

        a {
            word-break: break-all;
        }
    }

    .border-contact-box {
        border: 2px solid var(--secondry-color);
        box-shadow: none;
        border-radius: 15px;
        transition: all 0.3s;

        &:hover {
            border: 2px solid var(--primary-color);
            border-radius: 25px;
        }
    }


    svg.fa-linkedin {
        color: #fff !important;
        margin-left: 5px;
        font-size: 22px;
        background: #0077b5;
        border: 5px solid #0077b5;
        border-radius: 4px;
        padding-inline: 1px;

        &:hover {


            color: #fff !important;
            opacity: .9;


        }
    }

    .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) {
    .space {
        height: 57px;
        display: none;
    }

    .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;


                }
            }
        }
    }
}