/*=========================================
        SERVICES SECTION
=========================================*/

.services{
    position: relative;
    padding: 120px 0;
    background: #f8fbff;
}

.section-title{
    max-width: 700px;
    margin: 0 auto 70px;
    text-align: center;
}

.section-title span{
    display: inline-block;
    color: #39B54A;
    background: rgba(57,181,74,.12);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.section-title h2{
    font-size: 46px;
    color: #0A2B67;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-title p{
    font-size: 17px;
    color: #666;
    line-height: 1.8;
}


/*=========================================
        GRID
=========================================*/

.services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}/*=========================================
        CARD
=========================================*/

.service-card{

    position:relative;

    background:#fff;

    border-radius:20px;

    padding:40px;

    overflow:hidden;

    transition:.4s;

    border:1px solid #eee;

    box-shadow:0 15px 40px rgba(0,0,0,.05);

}

.service-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:5px;

    height:0;

    background:#39B54A;

    transition:.4s;

}

.service-card:hover::before{

    height:100%;

}

.service-card:hover{

    transform:translateY(-15px);

    box-shadow:0 30px 60px rgba(0,0,0,.12);

}

.service-icon{

    width:80px;

    height:80px;

    background:linear-gradient(135deg,#39B54A,#0A2B67);

    border-radius:20px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:32px;

    margin-bottom:30px;

    transition:.4s;

}

.service-card:hover .service-icon{

    transform:rotate(-10deg) scale(1.1);

}

.service-card h3{

    font-size:26px;

    color:#0A2B67;

    margin-bottom:18px;

}


.service-card p{

    color:#666;

    line-height:1.8;

    font-size:16px;

    margin-bottom:25px;

}

.service-card a{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:#0A2B67;

    text-decoration:none;

    font-weight:600;

    transition:.35s;

}

.service-card a i{

    transition:.35s;

}

.service-card:hover a{

    color:#39B54A;

}

.service-card:hover a i{

    transform:translateX(8px);

}

.service-card::after{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    border-radius:50%;

    background:rgba(57,181,74,.05);

    right:-70px;

    top:-70px;

    transition:.4s;

}

.service-card:hover::after{

    transform:scale(1.3);

}


/*=========================================
    SERVICE NUMBER
=========================================*/

.service-card .service-number{

    position:absolute;

    top:30px;

    right:30px;

    font-size:70px;

    font-weight:800;

    color:rgba(10,43,103,.05);

    transition:.4s;

    user-select:none;

}

.service-card:hover .service-number{

    color:rgba(57,181,74,.12);

    transform:scale(1.1);

}


/*=========================================
    GLASS OVERLAY
=========================================*/

.service-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
    135deg,
    rgba(57,181,74,.04),
    rgba(10,43,103,.04)
    );

    opacity:0;

    transition:.4s;

}

.service-card:hover::before{

    opacity:1;

}

.service-icon{

    position:relative;
    
    overflow:hidden;
    
    }
    
    .service-icon::before{
    
    content:"";
    
    position:absolute;
    
    width:180%;
    
    height:180%;
    
    background:rgba(255,255,255,.18);
    
    transform:rotate(45deg);
    
    left:-180%;
    
    transition:.6s;
    
    }
    
    .service-card:hover .service-icon::before{
    
    left:120%;
    
    }


    .service-card h3{

        transition:.35s;
        
        }
        
        .service-card:hover h3{
        
        color:#39B54A;
        
        }

        .service-card a{

            position:relative;
            
            }
            
            .service-card a::after{
            
            content:"";
            
            position:absolute;
            
            bottom:-6px;
            
            left:0;
            
            width:0;
            
            height:2px;
            
            background:#39B54A;
            
            transition:.35s;
            
            }
            
            .service-card:hover a::after{
            
            width:100%;
            
            }

            .service-card:hover{

                box-shadow:
                
                0 30px 60px rgba(0,0,0,.12),
                
                0 0 30px rgba(57,181,74,.18);
                
                }

                .service-card{

                    border:1px solid transparent;
                    
                    background:
                    
                    linear-gradient(#fff,#fff) padding-box,
                    
                    linear-gradient(135deg,#39B54A,#0A2B67) border-box;
                    
                    }

                    .service-card{

                        transform:translateY(0) scale(1);
                        
                        }
                        
                        .service-card:hover{
                        
                        transform:translateY(-12px) scale(1.02);
                        
                        }


                        /*=========================================
SCROLL ANIMATION
=========================================*/

.service-card{

    opacity:0;
    
    transform:translateY(60px);
    
    transition:.8s;
    
    }
    
    .service-card.show{
    
    opacity:1;
    
    transform:translateY(0);
    
    }
    .service-card{

        cursor:pointer;
        
        }
        
        .service-card:hover{
        
        transform:
        
        translateY(-15px)
        
        rotateX(2deg)
        
        rotateY(-2deg);
        
        }

        .services{

            position:relative;
            
            overflow:hidden;
            
            }
            
            .services::before{
            
            content:"";
            
            position:absolute;
            
            width:350px;
            
            height:350px;
            
            background:#39B54A15;
            
            border-radius:50%;
            
            top:-180px;
            
            right:-180px;
            
            }
            
            .services::after{
            
            content:"";
            
            position:absolute;
            
            width:250px;
            
            height:250px;
            
            background:#0A2B6710;
            
            border-radius:50%;
            
            left:-120px;
            
            bottom:-120px;
            
            }

            .service-card:hover .service-icon{

                animation:rotateIcon .6s ease;
                
                }
                
                @keyframes rotateIcon{
                
                0%{
                
                transform:rotate(0);
                
                }
                
                25%{
                
                transform:rotate(-15deg);
                
                }
                
                50%{
                
                transform:rotate(15deg);
                
                }
                
                100%{
                
                transform:rotate(0);
                
                }
            }

                .service-card a{

                    font-size:16px;
                    
                    }
                    
                    .service-card:hover a{
                    
                    letter-spacing:.5px;
                    
                    }




                    .service-heading{

                        margin:70px 0 35px;
                    
                    }
                    
                    .service-heading h3{
                    
                        display:flex;
                    
                        align-items:center;
                    
                        gap:15px;
                    
                        color:#0A2B67;
                    
                        font-size:34px;
                    
                        font-weight:700;
                    
                    }
                    
                    .service-heading i{
                    
                        width:65px;
                    
                        height:65px;
                    
                        display:flex;
                    
                        justify-content:center;
                    
                        align-items:center;
                    
                        border-radius:16px;
                    
                        background:linear-gradient(135deg,#39B54A,#0A2B67);
                    
                        color:#fff;
                    
                        font-size:26px;
                    
                    }
                    
                    .home-heading{
                    
                        margin-top:100px;
                    
                    }