footer {
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    justify-content: space-around;
    z-index: 1000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons {
    display: flex;
    margin-left: 100px;
}

.social-icon {
    margin: 0 10px;
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #212D54;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icon img {
    object-fit: cover;
    width: 40px;
    height: 40px;
}

.social-icon:hover{
    transform: translateY(-2px);
}

.footer-text {
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    text-align: center;
    flex: 1;
    margin-right: 250px;
}

.scroll-top {
    position: fixed;
    bottom: 10px;
    right: 80px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    border: 2px solid #212D54;
    border-radius: 50%;
    width: 36px;
    height: 36px;
}

.scroll-top img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    animation: bounce 2s infinite;
}

/* Media query for small screens */
    @media (max-width: 768px) {
        footer {
            flex-direction: row; 
            height: auto; 
        }

        .footer-content {
            flex-direction: column;
            align-items: center; 
            padding: 10px 0;
        }

        .social-icons {
            margin-left: 0; 
            margin-bottom: 10px; 
        }

        .social-icon {
            margin: 0 5px;
            display: inline-block;
            width: 30px;
            height: 30px;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            transition: background-color 0.3s;
        }
        
        .social-icon img {
            object-fit: cover;
            width: 30px;
            height: 30px;
        }
        
        .footer-text {
            margin-right: 0; 
            font-size: 7px;

        }
        
        .scroll-top {
            bottom: 50px;
            right: 10px;
            z-index: 1002;
            transition: 2s ease-in-out ;
            width: 30px;
            height: 30px;        
        }
        .scroll-top img {
            width: 35px;
            height: 35px;
            cursor: pointer;
            animation: bounce 2s infinite;
        }
    }