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

.cta {
    position: relative;
    padding: 120px 0;
    background: #fff;
    overflow: hidden;
}

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

.cta-box {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 90px 60px;
    border-radius: 36px;
    background: linear-gradient(135deg,#08111F,#13233C);
    box-shadow: 0 35px 80px rgba(0,0,0,.18);
    z-index: 2;
}

    .cta-box::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: rgba(200,155,60,.08);
        top: -180px;
        right: -120px;
    }

    .cta-box::after {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: rgba(255,255,255,.03);
        bottom: -140px;
        left: -100px;
    }

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

    .cta-box > * {
        position: relative;
        z-index: 2;
    }

.cta-subtitle {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    background: rgba(200,155,60,.12);
    border: 1px solid rgba(200,155,60,.30);
    color: #D8AF58;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-box h2 {
    color: #fff;
    font-size: 54px;
    font-weight: 900;
    margin-bottom: 22px;
}

.cta-box p {
    max-width: 760px;
    margin: auto;
    color: #D5DCE5;
    font-size: 20px;
    line-height: 2;
}
/*==================================================
                    BUTTONS
==================================================*/

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 45px;
    flex-wrap: wrap;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 42px;
    border-radius: 60px;
    border: 2px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    transition: all .35s ease;
    backdrop-filter: blur(10px);
}

    .btn-outline-light:hover {
        background: #fff;
        color: #08111F;
        border-color: #fff;
        transform: translateY(-5px);
    }

    .btn-outline-light i {
        font-size: 16px;
    }

/*==================================================
                GOLD LIGHT EFFECT
==================================================*/

.cta-box .light {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

    .cta-box .light::before {
        content: "";
        position: absolute;
        top: -120%;
        left: -35%;
        width: 40%;
        height: 300%;
        background: linear-gradient( transparent, rgba(255,255,255,.08), transparent );
        transform: rotate(25deg);
        animation: ctaLight 7s linear infinite;
    }

@keyframes ctaLight {

    from {
        left: -50%;
    }

    to {
        left: 150%;
    }
}

/*==================================================
                    ANIMATION
==================================================*/

.cta-box {
    animation: fadeUp .8s ease both;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:992px) {

    .cta {
        padding: 90px 0;
    }

    .cta-box {
        padding: 70px 40px;
    }

        .cta-box h2 {
            font-size: 42px;
        }

        .cta-box p {
            font-size: 18px;
        }
}

@media(max-width:768px) {

    .cta-box {
        padding: 55px 28px;
        border-radius: 26px;
    }

        .cta-box h2 {
            font-size: 34px;
        }

        .cta-box p {
            font-size: 16px;
            line-height: 1.9;
        }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-gold,
    .btn-outline-light {
        width: 100%;
        justify-content: center;
    }
}

@media(max-width:576px) {

    .cta {
        padding: 70px 0;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .cta-subtitle {
        font-size: 13px;
        padding: 8px 18px;
    }
}