/* =========================================================
   JOBADASSAM FOOTER
   Matches existing site color palette
========================================================= */

.jobad-footer {
    position: relative;

    background:
        radial-gradient(
            circle at 85% 90%,
            rgba(37, 99, 235, 0.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 20%,
            rgba(37, 99, 235, 0.08),
            transparent 30%
        ),
        #0F172A;

    color: #cbd5e1;

    padding: 0 22px 20px;

    overflow: hidden;
}


.jobad-footer-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
}


/* =========================================================
   TOP CTA
========================================================= */

.jobad-footer-cta {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    padding: 45px 48px;

    min-height: 190px;

    margin-bottom: 70px;

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 90% 45%,
            rgba(37, 99, 235, 0.35),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #172f63,
            #1E293B
        );

    border: 1px solid rgba(96, 165, 250, 0.20);

    box-shadow:
        0 20px 55px rgba(2, 6, 23, 0.35);
}


/* CTA label */

.jobad-cta-label {

    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 17px;

    color: #60A5FA;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.jobad-status-dot {

    width: 8px;

    height: 8px;

    display: inline-block;

    border-radius: 50%;

    background: var(--success);

    box-shadow:
        0 0 12px rgba(34, 197, 94, 0.75);
}


/* CTA heading */

.jobad-footer-cta h2 {

    margin: 0 0 12px;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 48px);

    font-weight: 500;

    line-height: 1.08;

    letter-spacing: -1.5px;
}


/* CTA description */

.jobad-footer-cta p {

    max-width: 760px;

    margin: 0;

    color: #A8B7CC;

    font-size: 15px;

    line-height: 1.8;
}


/* CTA button */

.jobad-cta-button {

    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-width: 205px;

    padding: 17px 27px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #3B82F6
        );

    color: #ffffff !important;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 12px 28px rgba(37, 99, 235, 0.30);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.jobad-cta-button:hover {

    color: #ffffff !important;

    transform: translateY(-3px);

    box-shadow:
        0 17px 35px rgba(37, 99, 235, 0.40);
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.jobad-footer-main {

    display: grid;

    grid-template-columns:
        1.55fr
        1fr
        1fr
        1fr
        1.45fr;

    gap: 45px;

    padding-bottom: 65px;
}


/* =========================================================
   BRAND
========================================================= */

.jobad-brand-logo {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 24px;
}


.jobad-logo-icon {

    width: 50px;

    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #4F46E5
        );

    color: #ffffff;

    font-size: 24px;

    box-shadow:
        0 8px 22px rgba(37, 99, 235, 0.28);
}


.jobad-brand-logo > span {

    color: #ffffff;

    font-size: 24px;

    font-weight: 800;

    letter-spacing: -0.5px;
}


.jobad-brand-description {

    max-width: 340px;

    margin: 0 0 26px;

    color: #94A3B8;

    font-size: 14px;

    line-height: 1.95;
}


/* Information badge */

.jobad-info-badge {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 14px;

    border-radius: 30px;

    background: rgba(34, 197, 94, 0.08);

    border: 1px solid rgba(34, 197, 94, 0.14);

    color: #86EFAC;

    font-size: 12px;

    font-weight: 600;
}


.jobad-info-badge span {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--success);

    box-shadow:
        0 0 10px rgba(34, 197, 94, 0.75);
}


/* =========================================================
   FOOTER COLUMN
========================================================= */

.jobad-footer-column h3 {

    position: relative;

    margin: 7px 0 28px;

    padding-bottom: 13px;

    color: #ffffff;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.jobad-footer-column h3::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 28px;

    height: 2px;

    border-radius: 5px;

    background: var(--primary);
}


/* Links */

.jobad-footer-column ul {

    list-style: none;

    margin: 0;

    padding: 0;
}


.jobad-footer-column li {

    margin-bottom: 18px;
}


.jobad-footer-column li a {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #94A3B8;

    text-decoration: none;

    font-size: 14px;

    transition:
        color .2s ease,
        transform .2s ease;
}


.jobad-footer-column li a i {

    color: #60A5FA;

    font-size: 12px;

    transition: transform .2s ease;
}


.jobad-footer-column li a:hover {

    color: #ffffff;

    transform: translateX(3px);
}


.jobad-footer-column li a:hover i {

    transform: translate(2px, -2px);
}


/* =========================================================
   SOCIAL
========================================================= */

.jobad-social-column h4 {

    margin: 32px 0 15px;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.jobad-social-icons {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}


.jobad-social-icons a {

    width: 43px;

    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(148, 163, 184, 0.12);

    color: #94A3B8;

    text-decoration: none;

    font-size: 16px;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease,
        border-color .25s ease;
}


.jobad-social-icons a:hover {

    background: rgba(37, 99, 235, 0.18);

    border-color: rgba(37, 99, 235, 0.35);

    color: #ffffff;

    transform: translateY(-3px);
}


/* =========================================================
   JOB SEEKER DESK
========================================================= */

.jobad-seeker-item {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 21px;
}


.jobad-seeker-icon {

    flex: 0 0 40px;

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(148, 163, 184, 0.12);

    color: #60A5FA;

    font-size: 15px;
}


.jobad-seeker-item h4 {

    margin: 1px 0 4px;

    color: #F8FAFC;

    font-size: 13px;

    font-weight: 700;
}


.jobad-seeker-item p {

    margin: 0;

    color: #7F8EA3;

    font-size: 11px;

    line-height: 1.55;
}


/* =========================================================
   FEATURE STRIP
========================================================= */

.jobad-footer-features {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    padding: 30px 0;

    border-top: 1px solid rgba(148, 163, 184, 0.10);

    border-bottom: 1px solid rgba(148, 163, 184, 0.10);
}


.jobad-feature {

    text-align: center;

    padding: 0 20px;

    border-right: 1px solid rgba(148, 163, 184, 0.10);
}


.jobad-feature:last-child {

    border-right: none;
}


.jobad-feature h3 {

    margin: 0 0 7px;

    color: #F8FAFC;

    font-size: 18px;

    font-weight: 800;

    letter-spacing: -0.3px;
}


.jobad-feature span {

    color: #64748B;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .5px;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.jobad-footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 28px;
}


.jobad-copyright {

    color: #64748B;

    font-size: 12px;
}


.jobad-bottom-links {

    display: flex;

    align-items: center;

    gap: 14px;

    color: #475569;

    font-size: 12px;
}


.jobad-bottom-links a {

    color: #64748B;

    text-decoration: none;

    transition: color .2s ease;
}


.jobad-bottom-links a:hover {

    color: #ffffff;
}


/* =========================================================
   SCROLL TOP
========================================================= */

#scrollTopBtn {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #4F46E5
        );

    color: #ffffff;

    font-size: 16px;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform: translateY(15px);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;

    z-index: 999;
}


#scrollTopBtn.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


#scrollTopBtn:hover {

    transform: translateY(-3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .jobad-footer-main {

        grid-template-columns:
            1.5fr
            1fr
            1fr;

        row-gap: 50px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .jobad-footer {

        padding: 0 12px 15px;
    }


    .jobad-footer-cta {

        flex-direction: column;

        align-items: flex-start;

        padding: 32px 25px;

        gap: 25px;

        margin-bottom: 50px;

        border-radius: 20px;
    }


    .jobad-footer-cta h2 {

        font-size: 34px;
    }


    .jobad-footer-cta p {

        font-size: 14px;

        line-height: 1.7;
    }


    .jobad-cta-button {

        width: 100%;
    }


    .jobad-footer-main {

        grid-template-columns: 1fr;

        gap: 42px;

        padding-bottom: 50px;
    }


    .jobad-brand-description {

        max-width: 100%;
    }


    .jobad-footer-features {

        grid-template-columns: 1fr 1fr;

        row-gap: 25px;
    }


    .jobad-feature {

        border-right: none;
    }


    .jobad-feature:nth-child(1),
    .jobad-feature:nth-child(2) {

        padding-bottom: 25px;

        border-bottom:
            1px solid rgba(148, 163, 184, 0.10);
    }


    .jobad-footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        padding: 25px 5px 10px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .jobad-footer-cta {

        padding: 28px 20px;
    }


    .jobad-footer-cta h2 {

        font-size: 30px;
    }


    .jobad-cta-label {

        font-size: 10px;

        letter-spacing: 1px;
    }


    .jobad-brand-logo > span {

        font-size: 22px;
    }


    .jobad-logo-icon {

        width: 45px;

        height: 45px;
    }


    .jobad-footer-features {

        grid-template-columns: 1fr;
    }


    .jobad-feature {

        padding: 15px 10px;

        border-bottom:
            1px solid rgba(148, 163, 184, 0.10);
    }


    .jobad-feature:last-child {

        border-bottom: none;
    }


    .jobad-feature h3 {

        font-size: 17px;
    }


    .jobad-bottom-links {

        flex-wrap: wrap;

        gap: 10px;
    }


    #scrollTopBtn {

        right: 15px;

        bottom: 15px;
    }

}