/* Start custom CSS for text-editor, class: .elementor-element-feb1989 *//* ==========================
   CASE STUDIES HEADER
========================== */

.case-studies-header{
    position:relative;
    max-width:1200px;
    margin:0 auto 100px;
    text-align:center;
    padding:40px 20px;
}

/* Badge */

.case-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:12px 24px;

    background:#f5f2ff;

    border-radius:100px;

    color:#6c4cff;

    font-size:13px;
    font-weight:700;
    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:25px;

    transition:.4s ease;
}

.case-badge:hover{
    transform:translateY(-3px);
}

/* Heading */

.case-studies-header h1{
    font-size:clamp(48px,6vw,82px);

    line-height:1.05;

    font-weight:800;

    letter-spacing:-3px;

    color:#111;

    margin-bottom:25px;

    animation:fadeUp .8s ease;
}

/* Gradient Text */

.case-studies-header h1 span{

    background:linear-gradient(
        90deg,
        #7b61ff,
        #ff4fd8
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* Description */

.case-studies-header p{
    max-width:850px;

    margin:0 auto;

    color:#666;

    font-size:20px;

    line-height:1.8;

    animation:fadeUp 1s ease;
}

/* Stats */

.header-stats{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;

    margin-top:60px;
}

.stat-item{
    min-width:220px;

    background:#fff;

    padding:30px;

    border-radius:24px;

    border:1px solid #ececec;

    transition:.5s cubic-bezier(.22,1,.36,1);

    box-shadow:
    0 10px 30px rgba(0,0,0,.04);
}

.stat-item:hover{

    transform:
    translateY(-12px);

    border-color:#d9d1ff;

    box-shadow:
    0 25px 50px rgba(123,97,255,.12);
}

.stat-item h3{

    font-size:42px;

    font-weight:800;

    color:#6c4cff;

    margin-bottom:8px;
}

.stat-item span{

    color:#666;

    font-size:15px;

    font-weight:600;
}

/* Floating Background Glow */

.case-studies-header::before{

    content:"";

    position:absolute;

    width:450px;
    height:450px;

    top:-180px;
    left:50%;

    transform:translateX(-50%);

    background:
    radial-gradient(
        rgba(123,97,255,.08),
        transparent 70%
    );

    z-index:-1;
}

/* Animation */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* Responsive */

@media(max-width:991px){

.case-studies-header h1{
    font-size:56px;
}

.case-studies-header p{
    font-size:18px;
}

}

@media(max-width:767px){

.case-studies-header{
    margin-bottom:60px;
}

.case-studies-header h1{
    font-size:38px;
    letter-spacing:-1px;
}

.case-studies-header p{
    font-size:16px;
}

.stat-item{
    width:100%;
}

}




.case-study-card{
    position:relative;
    background:#fff;
    border-radius:30px;
    padding:45px;
    border:1px solid #e9e9e9;
    overflow:hidden;
    transition:.5s cubic-bezier(.23,1,.32,1);
    box-shadow:0 15px 40px rgba(0,0,0,.05);
}

/* Animated Gradient Border */

.case-study-card::before{
    content:"";
    position:absolute;
    inset:0;
    padding:2px;
    border-radius:30px;
    background:linear-gradient(
        135deg,
        #7b61ff,
        #ff4fd8,
        #7b61ff
    );

    background-size:300% 300%;

    animation:borderMove 6s linear infinite;

    -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;
    mask-composite:exclude;

    opacity:0;
    transition:.5s;
}

.case-study-card:hover::before{
    opacity:1;
}

@keyframes borderMove{
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

/* Hover Lift */

.case-study-card:hover{
    transform:translateY(-15px);
    box-shadow:
    0 40px 80px rgba(123,97,255,.15);
}

/* Floating Glow */

.case-study-card::after{
    content:"";
    position:absolute;
    width:300px;
    height:300px;
    top:-150px;
    right:-150px;

    background:
    radial-gradient(
        rgba(123,97,255,.15),
        transparent 70%
    );

    opacity:0;
    transition:.6s;
}

.case-study-card:hover::after{
    opacity:1;
}

/* Number */

.project-no{
    font-size:90px;
    font-weight:800;
    line-height:1;
    color:#f1f1f1;
    position:absolute;
    right:30px;
    top:20px;
    transition:.5s;
}

.case-study-card:hover .project-no{
    transform:scale(1.15);
    color:#ece8ff;
}

/* Industry Badge */

.industry{
    display:inline-block;
    padding:10px 18px;
    border-radius:50px;
    background:#f5f2ff;
    color:#7b61ff;
    font-weight:600;
    margin-bottom:20px;
}

/* Title */

.case-study-card h2{
    font-size:34px;
    color:#111;
    margin-bottom:10px;
    transition:.4s;
}

.case-study-card:hover h2{
    color:#7b61ff;
}

/* Sections */

.case-section{
    margin-top:25px;
    padding:20px;
    background:#fafafa;
    border-radius:18px;
    transition:.4s;
}

.case-study-card:hover .case-section{
    background:#f8f5ff;
}

/* Challenge */

.challenge{
    border-left:4px solid #ff4fd8;
}

/* Solution */

.solution{
    border-left:4px solid #7b61ff;
}

/* Lists */

.case-section ul{
    margin:15px 0 0;
    padding-left:20px;
}

.case-section li{
    margin-bottom:10px;
    transition:.3s;
}

.case-section li:hover{
    transform:translateX(8px);
}

/* Technologies */

.tech-stack{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px;
}

.tech-stack span{
    padding:10px 16px;
    border-radius:50px;
    background:#f4f4f4;
    transition:.3s;
}

.tech-stack span:hover{
    background:#7b61ff;
    color:#fff;
    transform:translateY(-4px);
}

/* Results */

.results{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-top:25px;
}

.results div{
    background:#f8fff9;
    border:1px solid #dff7e8;
    padding:18px;
    border-radius:14px;
    transition:.3s;
}

.results div:hover{
    transform:scale(1.05);
}

/* Services */

.services{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:25px;
}

.services span{
    padding:12px 16px;
    background:#111;
    color:#fff;
    border-radius:12px;
    transition:.3s;
}

.services span:hover{
    background:#7b61ff;
    transform:translateY(-4px);
}/* End custom CSS */