/* =========================================================
   SIGMAEQI FOOTER
   Modern • Professional • Responsive
========================================================= */


/* =========================================================
   ROOT FOOTER
========================================================= */

.site-footer {
    position: relative;
    width: 100%;
    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 8% 10%,
            rgba(50, 91, 155, 0.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 92% 25%,
            rgba(183, 31, 67, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #071a35 0%,
            #0a2347 55%,
            #081a35 100%
        );
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.footer-main {
    position: relative;
    padding: 72px 0 65px;
    isolation: isolate;
}


/* subtle decorative glow */

.footer-main::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    top: -260px;
    left: -230px;

    border-radius: 50%;

    background: rgba(56, 99, 166, 0.10);

    filter: blur(15px);

    pointer-events: none;

    z-index: -1;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.footer-container {
    width: min(1240px, calc(100% - 80px));

    margin: 0 auto;

    display: grid;

    /*
       Brand | Navigation | Services | Contact
    */

    grid-template-columns:
        1.35fr
        0.85fr
        1.25fr
        1.05fr;

    gap: 55px;

    align-items: start;
}


/* =========================================================
   ALL COLUMNS
========================================================= */

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


/* =========================================================
   BRAND
========================================================= */

.footer-brand {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 22px;

    text-decoration: none;
}


.footer-logo {
    display: block;
    width: 190px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
}

/* =========================================================
   TAGLINE
========================================================= */

.footer-tagline {
    max-width: 390px;

    margin: 0 0 16px;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    line-height: 1.65;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.footer-description {
    max-width: 425px;

    margin: 0;

    color: #aebed8;

    font-size: 14px;

    line-height: 1.85;
}


/* =========================================================
   LOCATION
========================================================= */

.footer-location {
    display: flex;

    align-items: center;

    gap: 13px;

    max-width: 390px;

    margin-top: 25px;

    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);

    color: #d7e2f2;

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   GENERAL FOOTER ICON
========================================================= */

.footer-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        rgba(40, 94, 167, 0.24);

    border:
        1px solid rgba(121, 167, 225, 0.18);
}


.footer-icon svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: #ffffff;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* =========================================================
   FOOTER HEADINGS
========================================================= */

.footer-heading {
    margin: 0;

    color: #ffffff;

    font-size: 19px;

    font-weight: 700;

    line-height: 1.3;
}


/* red underline */

.footer-heading-line {
    display: block;

    width: 42px;
    height: 3px;

    margin-top: 13px;
    margin-bottom: 20px;

    border-radius: 20px;

    background: #d02046;
}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.footer-links {
    list-style: none;

    margin: 0;
    padding: 0;
}


.footer-links li {
    margin: 0;
    padding: 0;
}


.footer-links a {
    display: flex;

    align-items: center;

    gap: 8px;

    width: fit-content;

    padding: 5px 0;

    color: #b9c8dc;

    font-size: 14px;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-links a:hover {
    color: #ffffff;

    transform: translateX(4px);
}


/* =========================================================
   RED ARROW
========================================================= */

.footer-arrow {
    color: #d02046;

    font-size: 20px;

    line-height: 1;

    transition:
        transform 0.25s ease;
}


.footer-links a:hover .footer-arrow {
    transform: translateX(3px);
}


/* =========================================================
   SERVICES
   IMPORTANT:
   Two-column service layout keeps the footer compact.
========================================================= */

.footer-service-links {
    display: grid;

    grid-template-columns: 1fr 1fr;

    column-gap: 20px;

    row-gap: 0px;
}


.footer-service-links li {
    min-width: 0;
    
}


.footer-service-links a {
    width: 100%;

    gap: 8px;

    padding: 2px 0;
}


/* =========================================================
   SERVICE ICON
========================================================= */

.service-icon {
    width: 21px;
    height: 21px;

    flex: 0 0 21px;

    display: inline-flex;

    align-items: center;
    justify-content: center;
}


.service-icon svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: #8da6c8;

    stroke-width: 1.5;

    stroke-linecap: round;

    stroke-linejoin: round;

    transition:
        stroke 0.25s ease,
        transform 0.25s ease;
}


.footer-service-links a:hover .service-icon svg {
    stroke: #ffffff;

    transform: scale(1.08);
}


/* =========================================================
   CONTACT COLUMN
========================================================= */

.footer-contact-intro {
    max-width: 335px;

    margin: 0 0 24px;

    color: #aebed8;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   CONTACT ITEMS
========================================================= */

.footer-contact-item {
    display: flex;

    align-items: center;

    gap: 13px;

    width: fit-content;

    max-width: 100%;

    margin-bottom: 17px;

    color: #ffffff;

    text-decoration: none;
}


/* =========================================================
   CONTACT ICON
========================================================= */

.footer-contact-icon {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #205a9f,
            #214778
        );

    border:
        1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.footer-contact-item:hover .footer-contact-icon {
    transform: translateY(-2px);

    background:
        linear-gradient(
            145deg,
            #2672c5,
            #a91e40
        );
}


/* contact SVG */

/* WhatsApp footer icon */
.footer-contact-icon.whatsapp-icon {
    background: #1f5b91;
    color: #ffffff;
    border-radius: 50%;
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.footer-contact-icon.whatsapp-icon i {
    font-size: 21px;
    color: #ffffff;
}

.footer-contact-item:hover .whatsapp-icon {
    background: #25D366;
    transform: translateY(-2px);
}

.footer-contact-icon svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: #ffffff;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* LinkedIn */

.linkedin-icon svg {
    fill: #ffffff;

    stroke: none;
}


/* =========================================================
   CONTACT TEXT
========================================================= */

.footer-contact-text {
    display: flex;

    flex-direction: column;

    gap: 3px;

    min-width: 0;
}


.footer-contact-text small {
    color: #8ea4c4;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.10em;

    text-transform: uppercase;
}


.footer-contact-text strong {
    color: #ffffff;

    font-size: 13px;

    font-weight: 500;

    line-height: 1.45;

    overflow-wrap: anywhere;
}


/* =========================================================
   CTA SECTION
========================================================= */

.footer-cta {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            105deg,
            #173e76 0%,
            #214b87 48%,
            #702442 100%
        );

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}


/* decorative circles */

.footer-cta::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -270px;
    top: -285px;

    border-radius: 50%;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    pointer-events: none;
}


.footer-cta::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -180px;
    bottom: -245px;

    border-radius: 50%;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    pointer-events: none;
}


/* =========================================================
   CTA CONTAINER
========================================================= */

.footer-cta-container {
    width: min(1240px, calc(100% - 80px));

    min-height: 135px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    position: relative;

    z-index: 1;
}


/* =========================================================
   CTA CONTENT
========================================================= */

.footer-cta-content {
    min-width: 0;
}


.footer-cta-label {
    display: block;

    margin-bottom: 7px;

    color: #ff9aad;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.16em;
}


.footer-cta-content h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(24px, 3vw, 34px);

    font-weight: 700;

    line-height: 1.25;
}


/* =========================================================
   CTA BUTTON
========================================================= */

.footer-cta-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 16px;

    flex-shrink: 0;

    min-width: 205px;

    padding: 14px 22px;

    border:
        1px solid rgba(255, 255, 255, 0.22);

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #1765c5,
            #c9234c
        );

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.16);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.footer-cta-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.25);
}


.footer-cta-button svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;

    transition:
        transform 0.25s ease;
}


.footer-cta-button:hover svg {
    transform: translateX(4px);
}


/* =========================================================
   BOTTOM BAR
========================================================= */

.footer-bottom {
    background: #06172f;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);
}


.footer-bottom-container {
    width: min(1240px, calc(100% - 80px));

    min-height: 65px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.footer-bottom p {
    margin: 0;

    color: #8095b4;

    font-size: 12px;

    line-height: 1.5;
}


.footer-bottom-tagline {
    text-align: right;
}


/* =========================================================
   LARGE TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1150px) {

    .footer-container {
        width: min(100% - 60px, 1000px);

        grid-template-columns:
            1.3fr
            0.9fr
            1.25fr
            1fr;

        gap: 35px;
    }


    .footer-service-links {
        column-gap: 15px;
    }


    .footer-service-links a {
        font-size: 13px;
    }


    .footer-cta-container {
        width: min(100% - 60px, 1000px);
    }


    .footer-bottom-container {
        width: min(100% - 60px, 1000px);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .footer-main {
        padding: 60px 0 55px;
    }


    .footer-container {
        width: min(100% - 50px, 760px);

        grid-template-columns: 1fr 1fr;

        gap: 50px 45px;
    }


    /* brand occupies first row */

    .footer-brand-column {
        grid-column: span 2;
    }


    .footer-brand-column .footer-description {
        max-width: 650px;
    }


    /* contact occupies full width */

    .footer-contact-column {
        grid-column: span 2;
    }


    .footer-contact-intro {
        max-width: 600px;
    }


    .footer-contact-item {
        display: inline-flex;

        margin-right: 28px;
    }


    .footer-cta-container {
        width: min(100% - 50px, 760px);

        min-height: auto;

        padding: 30px 0;
    }


    .footer-bottom-container {
        width: min(100% - 50px, 760px);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .footer-main {
        padding: 50px 0 45px;
    }


    .footer-container {
        width: calc(100% - 36px);

        display: flex;

        flex-direction: column;

        gap: 40px;
    }


    /* =====================================================
       BRAND
    ===================================================== */

    .footer-brand {
        gap: 9px;

        margin-bottom: 18px;
    }


    .footer-brand-symbol {
        width: 48px;
        height: 48px;

        padding: 4px;

        border-radius: 8px;
    }


    .footer-brand-name {
        width: 145px;
    }


    .footer-tagline {
        max-width: 350px;

        font-size: 14px;
    }


    .footer-description {
        max-width: 100%;

        font-size: 13px;

        line-height: 1.75;
    }


    /* =====================================================
       LOCATION
    ===================================================== */

    .footer-location {
        margin-top: 22px;

        padding-top: 18px;

        font-size: 13px;
    }


    /* =====================================================
       HEADINGS
    ===================================================== */

    .footer-heading {
        font-size: 18px;
    }


    .footer-heading-line {
        margin-top: 10px;

        margin-bottom: 17px;
    }


    /* =====================================================
       NAVIGATION
    ===================================================== */

    .footer-links a {
        font-size: 13px;

        padding: 5px 0;
    }


    /* =====================================================
       SERVICES
       Return to one column on mobile.
    ===================================================== */

    .footer-service-links {
        display: grid;

        grid-template-columns: 1fr;

        row-gap: 1px;

        column-gap: 0;
    }


    .footer-service-links a {
        padding: 5px 0;
    }


    /* =====================================================
       CONTACT
    ===================================================== */

    .footer-contact-intro {
        max-width: 100%;

        font-size: 13px;
    }


    .footer-contact-item {
        display: flex;

        width: 100%;

        margin-right: 0;

        margin-bottom: 14px;
    }


    .footer-contact-icon {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }


    .footer-contact-text strong {
        font-size: 13px;
    }


    /* =====================================================
       CTA
    ===================================================== */

    .footer-cta-container {
        width: calc(100% - 36px);

        padding: 34px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 22px;
    }


    .footer-cta-label {
        font-size: 10px;
    }


    .footer-cta-content h2 {
        font-size: 24px;
    }


    .footer-cta-button {
        width: 100%;

        min-width: 0;

        padding: 14px 20px;
    }


    /* =====================================================
       BOTTOM
    ===================================================== */

    .footer-bottom-container {
        width: calc(100% - 36px);

        min-height: auto;

        padding: 17px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 7px;
    }


    .footer-bottom p {
        font-size: 11px;
    }


    .footer-bottom-tagline {
        text-align: left;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .footer-brand-symbol {
        width: 44px;
        height: 44px;
    }


    .footer-brand-name {
        width: 130px;
    }


    .footer-tagline {
        font-size: 13px;
    }


    .footer-description {
        font-size: 12px;
    }


    .footer-cta-content h2 {
        font-size: 22px;
    }


    .footer-contact-text strong {
        font-size: 12px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.footer-brand:focus-visible,
.footer-links a:focus-visible,
.footer-contact-item:focus-visible,
.footer-cta-button:focus-visible {
    outline: 2px solid #ff6a86;

    outline-offset: 4px;

    border-radius: 4px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .footer-brand-symbol,
    .footer-links a,
    .footer-contact-icon,
    .footer-cta-button,
    .footer-cta-button svg,
    .service-icon svg,
    .footer-arrow {
        transition: none;
    }
}