/* CTA SECTION */
.cta-section{
    position:relative;
    width:100%;
    padding:30px 8%;
    overflow:hidden;
}

/* BACKGROUND IMAGE */
.cta-bg{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;

    transition:transform 8s ease;
}

/* SECTION SHOW */
.cta-section:hover 
.cta-bg{
    transform:scale(1.08);
}

/* DARK OVERLAY */
.cta-overlay{
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,0.82),
        rgba(15,0,30,0.65)
    );

    z-index:1;
}

/* CONTENT */
.cta-content{
    position:relative;
    z-index:2;
    text-align:center;
    max-width:900px;
    margin:auto;

    opacity:0;
    transform:translateY(80px);

    transition:
    opacity 1s ease,
    transform 1s ease;
}

/* SHOW */
.cta-content.show{
    opacity:1;
    transform:translateY(0);
}

/* MINI TITLE */
.cta-content p{
    background:linear-gradient(90deg, #B028D6, #3D46D4);
    background-clip:text;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    letter-spacing:4.5px;
    font-size:18px;
    font-weight:600;
    margin-bottom:5px;
}

/* TITLE */
.cta-content h2{
    color:#fff;
    font-size:32px;
    font-weight:500;
    margin-bottom:12px;
    line-height:1.3;

    transition:0.4s ease;
}

/* TEXT */
.cta-content span{
    max-width:800px;
    margin:auto;
    display:block;

    color:#fff;
    font-size:14px;
    line-height:1.4;
}

/* BUTTON AREA */
.hero-button{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:30px;
}

.cta-section:hover 
.cta-content h2{

    text-shadow:
    0 0 15px rgba(176,40,214,0.5),
    0 0 30px rgba(61,70,212,0.3);
}

/*------------------*/
/* WHY SECTION ANIMATION */
/*------------------*/

/* TITLE */
.why-title{
    opacity:0;
    transform:translateY(60px);

    transition:
    opacity 1s ease,
    transform 1s ease;
}

/* SHOW */
.why-title.show{
    opacity:1;
    transform:translateY(0);
}

/*------------------*/
/* FEATURE ITEMS */
/*------------------*/

.feature-item{
    opacity:0;
    transform:translateY(50px);

    transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    box-shadow 0.4s ease;
}

/* SHOW */
.feature-item.show{
    opacity:1;
    transform:translateY(0);
}

/* DELAY */
.feature-item:nth-child(1){
    transition-delay:0.1s;
}

.feature-item:nth-child(2){
    transition-delay:0.2s;
}

.feature-item:nth-child(3){
    transition-delay:0.3s;
}

.feature-item:nth-child(4){
    transition-delay:0.4s;
}

.feature-item:nth-child(5){
    transition-delay:0.5s;
}

.feature-item:nth-child(6){
    transition-delay:0.6s;
}

/*------------------*/
/* FEATURE HOVER */
/*------------------*/

.feature-item{
    padding:10px 15px;
    border-radius:12px;
}

/* HOVER */
.feature-item:hover{

    background:
    rgba(176,40,214,0.08);

    transform:
    translateY(-5px)
    scale(1.03);

    box-shadow:
    0 0 15px rgba(176,40,214,0.2);
}

/* ICON */
.feature-item i{
    transition:0.4s ease;
}

/* ICON HOVER */
.feature-item:hover i{

    transform:
    scale(1.2)
    rotate(-8deg);

    text-shadow:
    0 0 10px rgba(176,40,214,0.5);
}


/*------------------*/
/* CTA BUTTON EFFECT */
/*------------------*/

.hero-button a{
    transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* BUTTON HOVER */
.hero-button a:hover{

    transform:
    translateY(-5px)
    scale(1.04);

    box-shadow:
    0 0 15px rgba(176,40,214,0.4),
    0 0 30px rgba(61,70,212,0.3);
}

/*------------------*/
/* CTA SECTION */
/*------------------*/

/*------------------*/
/* MINI TITLE GLOW */
/*------------------*/

.why-title p,
.cta-content p{
    animation:miniGlow 3s ease infinite;
}

@keyframes miniGlow{

    0%{
        opacity:0.7;
        text-shadow:none;
    }

    50%{
        opacity:1;

        text-shadow:
        0 0 10px rgba(176,40,214,0.5),
        0 0 20px rgba(61,70,212,0.3);
    }

    100%{
        opacity:0.7;
        text-shadow:none;
    }

}



/* ===================================
   CTA - TABLET
=================================== */
@media (max-width: 1024px) {

    .cta-section{
        padding:60px 5%;
    }

    .cta-content p{
        font-size:16px;
        letter-spacing:3px;
    }

    .cta-content h2{
        font-size:28px;
    }

    .cta-content span{
        max-width:650px;
        font-size:14px;
    }

}



/* ===================================
   CTA - MOBILE
=================================== */
@media (max-width: 768px) {

    .cta-section{
        padding:55px 6%;
    }

    .cta-content p{
        font-size:14px;
        letter-spacing:2px;
    }

    .cta-content h2{
        font-size:26px;
        line-height:1.4;
        margin-bottom:15px;
    }

    .cta-content span{
        max-width:100%;
        font-size:14px;
        line-height:1.7;
    }

    .hero-button{
        gap:15px;
        margin-top:25px;
    }

}


/* ===================================
   CTA - SMALL MOBILE
=================================== */
@media (max-width: 480px) {

    .cta-section{
        padding:50px 20px;
    }

    .cta-content p{
        font-size:12px;
        letter-spacing:1.5px;
    }

    .cta-content h2{
        font-size:22px;
        line-height:1.4;
    }

    .cta-content span{
        font-size:13px;
        line-height:1.8;
    }

    .hero-button{
        align-items:center;
        gap:12px;
        margin-top:25px;
    }

    .hero-button .primary-btn,
    .hero-button .secondary-btn{
        width:140px;
        height:30px;
        font-size:13px;
    }

}