/* =====================================================
   SPECTRUM TECHNICALS
   PREMIUM NAVY + ORANGE FOOTER
===================================================== */

:root {

    --st-navy: #071521;
    --st-navy-light: #0d202e;
    --st-navy-card: #101f2c;

    --st-orange: #ff6500;
    --st-orange-light: #ff8a3d;

    --st-white: #ffffff;
    --st-text: #c4cdd3;
    --st-muted: #77848d;

    --st-border: rgba(255,255,255,0.10);

}


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

.st-footer {

    position: relative;

    overflow: hidden;

    padding: 80px 0 25px;

    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(255,101,0,0.10),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #06131f 0%,
            #081824 50%,
            #07131e 100%
        );

    color: var(--st-white);

}


/* subtle technical grid */

.st-footer::before {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    opacity: .035;

    background-image:

        linear-gradient(
            90deg,
            #ffffff 1px,
            transparent 1px
        ),

        linear-gradient(
            #ffffff 1px,
            transparent 1px
        );

    background-size: 70px 70px;

}


.st-footer-container {

    position: relative;

    z-index: 2;

    width: min(
        1200px,
        calc(100% - 50px)
    );

    margin: auto;

}


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

.st-footer-cta {

    position: relative;

    display: grid;

    grid-template-columns:
        1.35fr
        .65fr;

    gap: 35px;

    padding: 42px;

    margin-bottom: 75px;

    overflow: hidden;

    border: 1px solid
        rgba(255,255,255,.12);

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #f7f4ff 0%,
            #eeebfa 100%
        );

    color: #101820;

    box-shadow:
        0 30px 80px
        rgba(0,0,0,.25);

}


/* orange glow */

.st-footer-cta::after {

    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -120px;
    bottom: -170px;

    border-radius: 50%;

    background:
        rgba(255,101,0,.12);

    filter: blur(5px);

}


.st-cta-content {

    position: relative;

    z-index: 2;

}


.st-cta-avatars {

    display: flex;

    margin-bottom: 18px;

}


.st-cta-avatars span {

    width: 32px;
    height: 32px;

    display: flex;

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

    margin-right: -6px;

    border: 2px solid #f7f4ff;

    border-radius: 50%;

    color: white;

    background:
        var(--st-orange);

    font-size: 13px;

    font-weight: 800;

}


.st-cta-avatars span:nth-child(2) {

    background: #172b3a;

}


.st-cta-avatars span:nth-child(3) {

    background: #334d60;

}


.st-cta-content h2 {

    max-width: 600px;

    margin: 0 0 25px;

    font-size: clamp(
        30px,
        4vw,
        48px
    );

    line-height: 1.03;

    letter-spacing: -2px;

}


.st-cta-button {

    display: inline-flex;

    align-items: center;

    gap: 25px;

    padding: 11px 15px 11px 18px;

    border-radius: 6px;

    color: white;

    background: var(--st-orange);

    font-size: 15px;

    font-weight: 800;

    transition:
        transform .25s ease,
        background .25s ease;

}


.st-cta-button span {

    width: 25px;
    height: 25px;

    display: flex;

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

    border-radius: 50%;

    background: rgba(255,255,255,.18);

}


.st-cta-button:hover {

    transform: translateY(-2px);

    background:
        #e95700;

}


/* =====================================================
   CTA ACTION BOXES
===================================================== */

.st-cta-actions {

    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 10px;

}


.st-action-box {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 17px;

    border: 1px solid
        rgba(20,30,40,.08);

    border-radius: 7px;

    background:
        rgba(255,255,255,.35);

    transition:
        background .25s ease,
        transform .25s ease;

}


.st-action-box:hover {

    background:
        rgba(255,255,255,.8);

    transform:
        translateX(4px);

}


.st-action-box strong {

    display: block;

    margin-bottom: 5px;

    font-size: 15px;

}


.st-action-box p {

    max-width: 220px;

    margin: 0;

    color: #7d858b;

    font-size: 14px;

    line-height: 1.5;

}


.st-action-arrow {

    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: flex;

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

    border: 1px solid
        rgba(0,0,0,.12);

    border-radius: 50%;

    color: var(--st-orange);

    font-size: 18px;

}


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

.st-footer-main {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1fr
        1.15fr;

    gap: 45px;

    padding-bottom: 60px;

}


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

.st-logo {

    display: inline-flex;

    flex-direction: column;

    margin-bottom: 18px;

}


.st-logo-main {

    color: white;

    font-size: 30px;

    font-weight: 800;

    letter-spacing: 2px;

}


.st-logo-sub {

    margin-top: 2px;

    color: var(--st-orange);

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 5px;

}


.st-footer-brand p {

    max-width: 250px;

    margin: 0 0 25px;

    color: var(--st-muted);

    font-size: 14px;

    line-height: 1.8;

}


.st-footer-enquiry {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: white;

    font-size: 14px;

    font-weight: 700;

    transition:
        color .2s ease;

}


.st-footer-enquiry span {

    color: var(--st-orange);

    transition:
        transform .2s ease;

}


.st-footer-enquiry:hover {

    color: var(--st-orange);

}


.st-footer-enquiry:hover span {

    transform:
        translateX(5px);

}


/* =====================================================
   FOOTER COLUMNS
===================================================== */

.st-footer-column {

    display: flex;

    flex-direction: column;

    gap: 11px;

}


.st-footer-column h4 {

    margin: 0 0 10px;

    color: white;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 2px;

}


.st-footer-column a {

    width: fit-content;

    color: #82909a;

    font-size: 10px;

    transition:
        color .2s ease,
        transform .2s ease;

}


.st-footer-column a:hover {

    color: var(--st-orange);

    transform:
        translateX(3px);

}


.st-contact-column a {

    color: #9ba7ae;

}


.st-contact-column p {

    margin: 3px 0;

    color: #75828b;

    font-size: 14px;

    line-height: 1.7;

}


.st-contact-column .st-whatsapp {

    margin-top: 5px;

    color: var(--st-orange);

    font-weight: 700;

}


/* =====================================================
   DIVIDER
===================================================== */

.st-footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding-top: 22px;

    border-top:
        1px solid var(--st-border);

}


/* =====================================================
   COPYRIGHT
===================================================== */

.st-copyright {

    color: #63717b;

    font-size: 14px;

}


/* =====================================================
   LEGAL
===================================================== */

.st-legal {

    display: flex;

    align-items: center;

    gap: 22px;

}


.st-legal a {

    color: #63717b;

    font-size: 14px;

    transition:
        color .2s ease;

}


.st-legal a:hover {

    color: white;

}


/* =====================================================
   SOCIAL
===================================================== */

.st-social {

    display: flex;

    gap: 7px;

}


.st-social a {

    width: 27px;
    height: 27px;

    display: flex;

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

    border:
        1px solid
        rgba(255,255,255,.15);

    border-radius: 50%;

    color: #9aa5ad;

    font-size: 14px;

    font-weight: 700;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;

}


.st-social a:hover {

    border-color:
        var(--st-orange);

    color: white;

    background:
        var(--st-orange);

    transform:
        translateY(-3px);

}


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

@media (max-width: 1050px) {

    .st-footer-main {

        grid-template-columns:
            1.5fr 1fr 1fr;

    }

}




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

@media (max-width: 750px) {

    .st-footer {

        padding-top: 50px;

    }


    .st-footer-container {

        width:
            calc(100% - 32px);

    }


    .st-footer-cta {

        grid-template-columns: 1fr;

        padding: 28px;

        margin-bottom: 55px;

    }


    .st-cta-content h2 {

        font-size: 34px;

        letter-spacing: -1.5px;

    }


    .st-footer-main {

        grid-template-columns: 1fr 1fr;

        gap: 40px 25px;

    }


    .st-footer-brand {

        grid-column:
            1 / -1;

    }


    .st-footer-bottom {

        flex-direction: column;

        align-items: flex-start;

    }


    .st-legal {

        flex-wrap: wrap;

    }

}


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

@media (max-width: 480px) {

    .st-footer-main {

        grid-template-columns: 1fr;

    }


    .st-footer-column {

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

        padding-top: 25px;

    }


    .st-footer-bottom {

        gap: 18px;

    }


    .st-legal {

        gap: 12px;

    }

}

/* =====================================================
   FOOTER TYPOGRAPHY OVERRIDE
===================================================== */

.st-footer {
    font-size: 16px;
}

/* CTA heading */
.st-cta-content h2 {
    font-size: clamp(32px, 4vw, 48px);
}

/* CTA button */
.st-cta-button {
    font-size: 16px;
}

/* CTA action boxes */
.st-action-box strong {
    font-size: 16px;
}

.st-action-box p {
    font-size: 15px;
    line-height: 1.6;
}

/* Footer brand */
.st-logo-main {
    font-size: 30px;
}

.st-logo-sub {
    font-size: 14px;
}

.st-footer-brand p {
    font-size: 16px;
    line-height: 1.8;
}

.st-footer-enquiry {
    font-size: 16px;
}

/* Footer column headings */
.st-footer-column h4 {
    font-size: 15px;
}

/* Footer links */
.st-footer-column a {
    font-size: 15px;
    line-height: 1.6;
}

/* Contact information */
.st-contact-column p {
    font-size: 15px;
    line-height: 1.7;
}

.st-contact-column a {
    font-size: 15px;
}

/* Bottom section */
.st-copyright {
    font-size: 14px;
}

.st-legal a {
    font-size: 14px;
}

.st-social a {
    font-size: 14px;
}


/* CTA button */
.st-cta-button {
    transition:
        transform .25s ease,
        background .25s ease;
}

/* Action boxes */
.st-action-box {
    transition:
        background .25s ease,
        transform .25s ease;
}

/* Social links */
.st-social a {
    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


/* =========================================
   SOCIAL MEDIA ICONS — CENTERED & VISIBLE
========================================= */

.st-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.st-social {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 15px auto 0;
    position: relative;
    z-index: 5;
    visibility: visible !important;
    opacity: 1 !important;
}

.st-social a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: #f75c03;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    visibility: visible !important;
    opacity: 1 !important;
    transition: transform 0.25s ease, background 0.25s ease;
}

.st-social a:hover {
    background: #ff7a2f;
    transform: translateY(-3px);
}

/* Mobile alignment */
@media (max-width: 768px) {
    .st-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .st-social {
        margin-top: 10px;
    }
}


/* Footer bottom: all items on one line */
.st-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
}

/* Copyright and privacy policy */
.st-copyright,
.st-legal {
    flex: 0 0 auto;
    margin: 0;
}

/* Social icons */
.st-social {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto;
    position: relative;
    z-index: 5;
}

.st-social a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin: 0 !important;
}

/* Keep everything readable on smaller screens */
@media (max-width: 768px) {
    .st-footer-bottom {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .st-social {
        width: 100% !important;
        justify-content: center;
    }
}


/* Center copyright and social icons */
.st-footer-bottom-centered {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    text-align: center;
}

.st-footer-bottom-centered .st-copyright {
    width: 100%;
    text-align: center;
    margin: 0;
}

.st-footer-bottom-centered .st-social {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0;
}

.st-footer-bottom-centered .st-legal {
    display: none !important;
}

