.mcp-footer {
    --footer-blue: #0038b2;
    --footer-light-blue: #8fb1ff;

    width: 100%;
    margin-top: 50px;
    padding: 50px 7% 20px;
    background: linear-gradient(135deg, #3042cf, #060b18);
    color: #b1b0b0;
    font-family: Arial, Helvetica, sans-serif;
}

/* Main footer layout */

.footer-content {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.2fr;
    gap: 45px;
    align-items: start;
}

/* Brand and description */

.footer-group {
    min-width: 0;
}

.footer-group h4 {
    color: #729bf4;
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 15px;
}

.footer-group p {
    max-width: 300px;
    font-size: 14px;
    line-height: 1.7;
    color: #9fa0a3;
    margin: 0 0 20px;
}

/* Contact section */

.footer-contact {
    border-top: 1px solid #304568;
    padding-top: 15px;
    margin-top: 12px;
}

.footer-contact h4 {
    font-size: 14px;
    color: var(--footer-light-blue);
    margin: 0 0 10px;
}

.footer-contact a {
    display: inline-block;
    font-size: 13px;
    overflow-wrap: anywhere;
}

/* Social links and icon images */

.footer-social h4 {
    color: var(--footer-light-blue);
}

.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.mcp-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    transition: background-color 0.2s ease;
}

.footer-social img {
    display: block;
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.mcp-footer .footer-social a:hover {
    background-color: var(--footer-blue);
    border-color: var(--footer-blue);
}

/* Quick Links and Resources */

.footer-column {
    min-width: 0;
}

.footer-column h3,
.input-container h3 {
    color: var(--footer-light-blue);
    font-size: 16px;
    margin: 5px 0 18px;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px;
    font-size: 14px;
}

.mcp-footer a {
    color: #dedede;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mcp-footer a:hover {
    color: var(--footer-light-blue);
}

.footer-column li a {
    font-size: 14px;
}

/* Newsletter */

.input-container {
    min-width: 0;
}

.input-container p {
    font-size: 13px;
    line-height: 1.7;
    color: #c5d4f5;
    margin: 0 0 18px;
}

.footer-form {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    border: 1px solid var(--footer-blue);
    border-radius: 30px;
    background: rgba(11, 27, 58, 0.5);
}

.footer-form input {
    flex: 1;
    min-width: 0;
    width: 100%;
    position: static;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 13px;
    padding: 10px;
}

.footer-form input::placeholder {
    color: #b7c8ed;
}

.footer-form button {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--footer-blue);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.footer-form button:hover {
    background-color: #2563eb;
}

.footer-form button img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Copyright */

.footer-bottom {
    max-width: 1250px;
    margin: 35px auto 0;
    padding-top: 18px;
    border-top: 1px solid #304568;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: #c5d4f5;
}

@media (max-width: 550px) {

    .mcp-footer {
        padding: 35px 22px 20px;
        margin-top: 30px;
    }

    .footer-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .footer-group,
    .footer-contact,
    .footer-social,
    .footer-column,
    .input-container {
        width: 100%;
        min-width: 0;
    }

    .footer-group p {
        max-width: 100%;
    }

    .footer-social {
        gap: 10px;
    }

    .footer-form {
        width: 100%;
    }

    .footer-form input {
        min-width: 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}