footer {
    background: hotpink;
    border-top-left-radius: 100px;
    position: relative;
    width: 100%;
    margin-top: auto;
    color: white;
}

footer * {
    color: white;
}

.container-three {
    display: flex;
    justify-content: space-between;
    padding: 50px 7%;
}

.footer-col {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center-align all content */
    text-align: center; /* Center-align text */
}

.footer-col h2 {
    font-size: 1.7em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.text-office p {
    font-size: 20px;
}

p.email {
    margin: 7px 0;
}

p.phone {
    font-size: 20px;
    font-weight: 400;
}

.footer-col .text-office {
    margin-bottom: 20px;
}

.underline {
    width: 70px;
    height: 3px;
    position: relative;
    background-color: rgb(255, 255, 255);
    margin-top: 5px;
    margin-bottom: 20px;
    border-radius: 3px;
    overflow: hidden;
}

.underline span {
    width: 7px;
    height: 100%;
    position: absolute;
    left: 10px;
    background-color: rgb(63, 63, 63);
    border-radius: 3px;
    animation: moving 1.5s linear infinite;
}

@keyframes moving {
    0% {
        left: -20px;
    }
    100% {
        left: 100%;
    }
}

.footer-col ul {
    list-style-type: none;
    padding-top: 10px;
    text-decoration: none;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

.footer-col p {
    font-size: 16px;
}

.footer-col ul li a {
    margin: 10px;
    text-decoration: none;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: yellow;
}

.footer-col form {
    margin-top: 20px;
    border-bottom: 1px solid white;
    padding-bottom: 10px;
    display: flex;
    text-decoration: none;
    width: 100%; /* Ensure form takes full width */
    justify-content: center; /* Center-align form items */
}

.footer-col form input {
    width: 70%;
    background: transparent;
    border: none;
    outline: none;
    padding-left: 10px;
}

.footer-col form i {
    font-size: 15px;
}

.footer-col img {
    width: 100px;
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 20px; /* Add spacing below the image */
}

.footer-col .social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center; /* Center-align social icons */
}

.footer-col .social-icons i {
    padding: 10px;
    background-color: white;
    color: #00093c;
    border-radius: 50%;
    margin: 5px;
}

.footer-col .social-icons i:hover {
    color: rgb(0, 150, 219);
}

.footer-para {
    max-width: 250px;
}

.footer-col h2,
.footer-col ul li,
p.email,
p.phone,
.footer-para {
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.footer-col h2:hover,
.footer-col ul li a:hover,
p.email:hover,
p.phone:hover,
.footer-para:hover {
    transform: translateY(-5px);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5), 0px 0px 10px rgba(255, 255, 255, 0.8);
    color: #ffcc00;
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
    background-color: hotpink;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #ccc;
}

.footer-bottom span a {
    color: #ffcc00;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .container-three {
        flex-direction: column;
        align-items: center;
        padding: 30px 5%;
    }

    .footer-col {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-col h2 {
        font-size: 1.5em;
    }

    .footer-col ul li {
        margin: 5px 0;
    }

    .footer-col form {
        flex-direction: column;
        align-items: center;
    }

    .footer-col form input {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-col .social-icons {
        justify-content: center;
    }

    .footer-col .social-icons i {
        margin: 5px;
    }
}

@media screen and (max-width: 480px) {
    .footer-col h2 {
        font-size: 1.2em;
    }

    .text-office p {
        font-size: 16px;
    }

    p.phone {
        font-size: 16px;
    }

    .footer-col p {
        font-size: 14px;
    }

    .footer-col form input {
        font-size: 14px;
    }

    .footer-col .social-icons i {
        padding: 8px;
        font-size: 14px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}