.main-footer {
    background-color: #003f7d;
    color: #ffffff;
    padding: 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.main-footer > .container {
    flex: 0 0 auto;
    padding-top: 40px;
    padding-bottom: 30px;
}

.main-footer h4 {
    color: #ffffff;
    margin-bottom: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.main-footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #00a0df;
}

.main-footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00a0df;
    padding-left: 5px;
    text-decoration: none;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    margin-right: 10px;
    margin-top: 5px;
    color: #00a0df;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.contact-info a:hover {
    color: #00a0df;
    text-decoration: none;
}

.footer-social {
    margin-top: 20px;
}

.footer-social .social-icon {
    margin-left: 0;
    margin-right: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social .social-icon:hover {
    background-color: #00a0df;
    text-decoration: none;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    margin-top: auto;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #00a0df;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.text-right {
    text-align: right;
}

@media (max-width: 767.98px) {
    .main-footer {
        padding: 0;
        margin-top: 0;
    }

    .main-footer h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .main-footer h4:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .main-footer .row>[class*="col-"] {
        text-align: center;
        margin-bottom: 30px;
    }

    .main-footer .row>[class*="col-"]:last-child {
        margin-bottom: 0;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0 20px;
    }

    .footer-social {
        justify-content: center;
        margin-top: 25px;
    }

    .contact-info li {
        justify-content: center;
    }

    .text-right,
    .text-end {
        text-align: center !important;
        margin-top: 15px;
    }

    .footer-bottom {
        text-align: center;
        padding: 15px 0;
    }

    .footer-bottom .row>[class*="col-"] {
        text-align: center !important;
    }

    .footer-bottom p {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .main-footer {
        padding: 0;
    }

    .main-footer > .container {
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .contact-info li {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .contact-info li i {
        margin-top: 0;
    }

    .footer-social .social-icon {
        width: 44px;
        height: 44px;
    }
}