/* =========================================================
   IPK GLOBAL CONSULTING
   FOOTER CSS
   ========================================================= */

:root {
    --ipk-footer-bg: #092b52;
    --ipk-footer-bg-dark: #061f3c;
    --ipk-footer-text: #dce7f3;
    --ipk-footer-muted: #aebed0;
    --ipk-footer-white: #ffffff;
    --ipk-footer-accent: #d49b32;
    --ipk-footer-border: rgba(255, 255, 255, 0.12);
}


/* =========================================================
   FOOTER
   ========================================================= */

.ipk-footer {
    position: relative;

    width: 100%;

    background: var(--ipk-footer-bg);

    color: var(--ipk-footer-text);

    font-family: "Poppins", sans-serif;
}


/* =========================================================
   FOOTER MAIN
   ========================================================= */

.ipk-footer-main {
    padding: 70px 0 55px;

    background:
        linear-gradient(
            135deg,
            #092b52 0%,
            #0d3767 55%,
            #092b52 100%
        );
}


/* =========================================================
   FOOTER CONTAINER
   ========================================================= */

.ipk-footer-container {
    width: min(100% - 40px, 1400px);

    margin: 0 auto;
}


/* =========================================================
   FOOTER GRID
   ========================================================= */

.ipk-footer-grid {
    display: grid;

    grid-template-columns:
        minmax(280px, 1.5fr)
        minmax(150px, 0.8fr)
        minmax(200px, 1fr)
        minmax(240px, 1fr);

    gap: 45px;
}


/* =========================================================
   COMPANY SECTION
   ========================================================= */

.ipk-footer-company {
    max-width: 390px;
}


/* =========================================================
   FOOTER LOGO
   ========================================================= */

.ipk-footer-logo {
    display: inline-flex;

    align-items: center;

    justify-content: flex-start;

    width: auto;

    text-decoration: none;

    line-height: 0;

    margin-bottom: 22px;
}


.ipk-footer-logo-image {
    display: block;

    width: 200px;

    height: auto;

    max-height: 72px;

    object-fit: contain;

    object-position: left center;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


/*
   If your logo image is dark and cannot be seen
   properly on the blue footer, uncomment this:

   filter: brightness(0) invert(1);
*/


.ipk-footer-logo:hover .ipk-footer-logo-image {
    opacity: 0.9;

    transform: translateY(-1px);
}


/* =========================================================
   FOOTER DESCRIPTION
   ========================================================= */

.ipk-footer-description {
    margin: 0 0 25px;

    color: var(--ipk-footer-muted);

    font-size: 13px;

    line-height: 1.9;
}


/* =========================================================
   CONSULTATION BUTTON
   ========================================================= */

.ipk-footer-consultation {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 11px 17px;

    border: 1px solid rgba(255, 255, 255, 0.22);

    border-radius: 6px;

    color: var(--ipk-footer-white);

    background: rgba(255, 255, 255, 0.06);

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.ipk-footer-consultation span {
    color: var(--ipk-footer-accent);

    font-size: 18px;

    line-height: 1;
}


.ipk-footer-consultation:hover {
    color: var(--ipk-footer-white);

    background: var(--ipk-footer-accent);

    border-color: var(--ipk-footer-accent);

    transform: translateY(-2px);
}


.ipk-footer-consultation:hover span {
    color: var(--ipk-footer-white);
}


/* =========================================================
   FOOTER COLUMNS
   ========================================================= */

.ipk-footer-column h3 {
    position: relative;

    margin: 0 0 23px;

    padding-bottom: 12px;

    color: var(--ipk-footer-white);

    font-size: 15px;

    font-weight: 600;
}


.ipk-footer-column h3::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 32px;

    height: 2px;

    background: var(--ipk-footer-accent);
}


/* =========================================================
   FOOTER LIST
   ========================================================= */

.ipk-footer-column ul {
    margin: 0;

    padding: 0;

    list-style: none;
}


.ipk-footer-column li {
    margin-bottom: 10px;
}


.ipk-footer-column li:last-child {
    margin-bottom: 0;
}


.ipk-footer-column li a {
    position: relative;

    display: inline-block;

    color: var(--ipk-footer-muted);

    font-size: 13px;

    line-height: 1.55;

    text-decoration: none;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}


.ipk-footer-column li a::before {
    content: "›";

    position: absolute;

    left: -13px;

    color: var(--ipk-footer-accent);

    opacity: 0;

    transition:
        opacity 0.2s ease,
        left 0.2s ease;
}


.ipk-footer-column li a:hover {
    color: var(--ipk-footer-white);

    padding-left: 13px;
}


.ipk-footer-column li a:hover::before {
    left: 0;

    opacity: 1;
}


/* =========================================================
   CONTACT
   ========================================================= */

.ipk-footer-contact {
    max-width: 300px;
}


.ipk-contact-item {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    margin-bottom: 20px;
}


.ipk-contact-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 36px;

    width: 36px;

    height: 36px;

    border: 1px solid rgba(255, 255, 255, 0.13);

    border-radius: 7px;

    color: var(--ipk-footer-accent);

    background: rgba(255, 255, 255, 0.05);
}


.ipk-contact-icon svg {
    width: 18px;

    height: 18px;
}


.ipk-contact-item strong {
    display: block;

    margin-bottom: 3px;

    color: var(--ipk-footer-white);

    font-size: 12px;

    font-weight: 600;
}


.ipk-contact-item p {
    margin: 0;

    color: var(--ipk-footer-muted);

    font-size: 12px;

    line-height: 1.6;
}


.ipk-contact-item p a {
    color: var(--ipk-footer-muted);

    text-decoration: none;

    transition: color 0.2s ease;
}


.ipk-contact-item p a:hover {
    color: var(--ipk-footer-accent);
}


/* =========================================================
   SOCIAL LINKS
   ========================================================= */

.ipk-footer-social {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 8px;
}


.ipk-footer-social a {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 34px;

    height: 34px;

    border: 1px solid rgba(255, 255, 255, 0.17);

    border-radius: 6px;

    color: var(--ipk-footer-white);

    background: rgba(255, 255, 255, 0.05);

    font-family: Arial, sans-serif;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.ipk-footer-social a:hover {
    background: var(--ipk-footer-accent);

    border-color: var(--ipk-footer-accent);

    transform: translateY(-2px);
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.ipk-footer-bottom {
    background: var(--ipk-footer-bg-dark);

    border-top: 1px solid var(--ipk-footer-border);
}


.ipk-footer-bottom-container {
    width: min(100% - 40px, 1400px);

    min-height: 65px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.ipk-footer-bottom p {
    margin: 0;

    color: #9fb1c6;

    font-size: 11px;

    line-height: 1.6;
}


.ipk-footer-bottom-links {
    display: flex;

    align-items: center;

    gap: 9px;
}


.ipk-footer-bottom-links a {
    color: #9fb1c6;

    font-size: 11px;

    text-decoration: none;

    transition: color 0.2s ease;
}


.ipk-footer-bottom-links a:hover {
    color: var(--ipk-footer-white);
}


.ipk-footer-bottom-links span {
    color: rgba(255, 255, 255, 0.25);

    font-size: 10px;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.ipk-back-to-top {
    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 9990;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 43px;

    height: 43px;

    border: 0;

    border-radius: 7px;

    color: var(--ipk-footer-white);

    background: var(--ipk-footer-accent);

    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.2);

    font-size: 20px;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.2s ease;
}


.ipk-back-to-top.visible {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


.ipk-back-to-top:hover {
    background: #b77e1e;

    transform: translateY(-2px);
}


/* =========================================================
   LARGE TABLET
   ========================================================= */

@media (max-width: 1150px) {

    .ipk-footer-grid {
        grid-template-columns:
            1.4fr
            0.8fr
            1fr;

        gap: 40px;
    }


    .ipk-footer-company {
        grid-row: span 2;

        max-width: 360px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .ipk-footer-main {
        padding: 55px 0 45px;
    }


    .ipk-footer-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 40px 35px;
    }


    .ipk-footer-company {
        grid-row: auto;

        max-width: 100%;

        grid-column: span 2;
    }


    .ipk-footer-contact {
        max-width: 100%;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .ipk-footer-container {
        width: calc(100% - 30px);
    }


    .ipk-footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .ipk-footer-company {
        grid-column: auto;

        max-width: 100%;
    }


    .ipk-footer-column {
        max-width: 100%;
    }


    .ipk-footer-bottom-container {
        width: calc(100% - 30px);

        padding: 18px 0;

        min-height: auto;

        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }


    .ipk-footer-bottom-links {
        flex-wrap: wrap;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    .ipk-footer-main {
        padding: 45px 0 40px;
    }


    .ipk-footer-logo-image {
        width: 175px;

        max-height: 62px;
    }


    .ipk-footer-description {
        font-size: 12px;

        line-height: 1.8;
    }


    .ipk-footer-column h3 {
        font-size: 14px;
    }


    .ipk-footer-column li a {
        font-size: 12px;
    }


    .ipk-back-to-top {
        right: 15px;

        bottom: 15px;

        width: 40px;

        height: 40px;
    }

}