
footer {
    background: #026874;
    /* background-color: rebeccapurple; */
    border-top-left-radius: 100px;
    position: relative; 
    width: 100%;
    margin-top: auto;
    color: white; 
    /* border:  2px solid red; */
}


footer *{
    color: white;
}

.container-three{
    display: flex;
    justify-content: space-between;
    padding: 50px 7%;
}

.footer-col{
    width: 25%;
}

.footer-col h2{
    font-optical-sizing: 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;
}

.footer-col p{
    font-size:16px;
}

.footer-col ul li a{
    margin: 10px;
    text-decoration: none;
    /* border: 2px solid red; */
    gap: 10px;
}
.footer-col ul li a:hover{
    color: yellow;
    /* text-decoration: none; */
}
.footer-col form{
    margin-top: 20px;
    border-bottom: 1px solid white;
    padding-bottom: 10px;
    display: flex;
    text-decoration: none;
}

.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;
}

.footer-col .social-icons{
    margin-top: 20px;
}

.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 img {
    height: 76px;
    width: 86px;
}
/* Apply the hover effect to text elements like headings, paragraphs, or links */
.footer-col h2, 
.footer-col ul li, 
p.email, 
p.phone, 
.footer-para {
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

/* 3D hover effect */
.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; 
}

/* Add styles for the copyright section */
.footer-bottom {
    text-align: center;
    padding: 10px 0;
    background-color: #026874; /* Optional: match or complement footer colors */
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Adds a separator line */
    color: #ccc; /* Lighter text color */
}

.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;
        text-align: center;
    }

    .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;
    }
}
