/* =========================================================
   Company About - Closing Banner Styles
   ملف مستقل تمامًا عن باقي السكاشن
   ========================================================= */

:root {
    --ca-main: #222168;
    --ca-second: #6bbdcd;
    --ca-white: #ffffff;
    --ca-font: 'Plus Jakarta Sans', sans-serif;
}

.ca-closing * {
    box-sizing: border-box;
}

.ca-closing {
    direction: ltr;
    font-family: var(--ca-font);
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, var(--ca-main), var(--ca-second));
    padding: 160px 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.ca-closing__shape {
    position: absolute;
    border-radius: 32px;
}

.ca-closing__shape--top {
    top: -100px;
    right: 120px;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(35deg);
}

.ca-closing__shape--bottom {
    bottom: -140px;
    left: 80px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.06);
    transform: rotate(20deg);
}

.ca-closing__inner {
    position: relative;
    z-index: 1;
    max-width: 740px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 40px;

    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.ca-closing.ca-in-view .ca-closing__inner {
    opacity: 1;
    transform: scale(1);
}

.ca-closing__rule {
    width: 56px;
    height: 3px;
    background: var(--ca-white);
    opacity: 0.6;
    border-radius: 2px;
}

.ca-closing__heading {
    font-size: 36px;
    font-weight: 800;
    color: var(--ca-white);
    margin: 0;
}

.ca-closing__sub {
    font-size: 20px;
    font-weight: 600;
    color: var(--ca-white);
    opacity: 0.9;
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .ca-closing {
        padding: 64px 0;
    }

    .ca-closing__shape--top {
        width: 160px;
        height: 160px;
        top: -70px;
        right: -40px;
    }

    .ca-closing__shape--bottom {
        width: 140px;
        height: 140px;
        bottom: -90px;
        left: -40px;
    }

    .ca-closing__inner {
        padding: 0 24px;
    }

    .ca-closing__heading {
        font-size: 24px;
    }

    .ca-closing__sub {
        font-size: 15px;
        line-height: 1.5;
    }
}
