/* Social Media Section Styles */
.overlay-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    /* stays above overlay */
    background-color: #fff;
    border-radius: 10px;
}

.overlay-image img {
    width: 200px;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

/* Main overlay styles */
.y-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #00000078;
    height: 200px;
    position: relative;
    top: -100%;
    border-radius: 10px;
}

.m-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 76%;
    background: #00000078;
    height: 321px;
    position: relative;
    top: -80%;
    border-radius: 10px;
}

.m-overlay a {
    font-size: 60px;
    color: red;
}

.y-overlay a {
    font-size: 60px;
    color: red;
}

/* Image card styles */
.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.m-overlay img:hover {
    transform: scale(1.05);
}

.center-img {
    height: 400px;
}

.small-img {
    height: 200px;
}

/* Responsive styles for social section */
@media (max-width: 768px) {
    /* .center-img {
        height: 300px;
    } */

    .small-img {
        height: 180px;
    }

    .ddf {
        margin-left: 0%;
        margin-top: 0%;
    }

    .ffv {
        width: 100%;
        height: 80%;
    }
}

/* My social media responsive styles */
@media screen and (max-width: 320px) {
    .my-social-media {
        margin-left: 13%;
    }
}

.advisory {
    position: relative;
    overflow: hidden;
}

.social {
    position: relative;
    z-index: 0;
}

/* Overlay layer */
.global-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 60, 99, 0.884);
    /* semi-transparent color */
    z-index: 1;
    /* under the image but above background */
}

.ddf {
    margin-left: 19%;
    margin-top: 18%;
}

.ffv {
    width: 76%;
    height: 80%;
}