/*=====================================================
        KHUYAY SERVICES
        Watercolor UI
======================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/*=========================================
    SECTION
=========================================*/

.services-section{

    position:relative;
    overflow:hidden;
    padding:50px 0;
}



/*=========================================
    DECORACIONES
=========================================*/

.shape{

    position:absolute;

    border-radius:50%;

    pointer-events:none;

    filter:blur(25px);

}

.shape-1{

    width:500px;

    height:500px;

    top:-180px;

    left:-220px;

    background:

    radial-gradient(

        circle,

        rgba(78,184,176,.20),

        rgba(78,184,176,.08),

        transparent 70%

    );

}

.shape-2{

    width:480px;

    height:480px;

    right:-180px;

    bottom:-150px;

    background:

    radial-gradient(

        circle,

        rgba(174,236,229,.25),

        rgba(174,236,229,.08),

        transparent 70%

    );

}



/*=========================================
    HEADER
=========================================*/

.section-header{
    margin:auto;
    text-align:center;
    margin-bottom:90px;
}

.section-tag{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:10px 22px;

    background:#EAFBF8;

    color:var(--primary-dark);

    border-radius:50px;

    font-size:.85rem;

    font-weight:600;

    letter-spacing:1px;

    text-transform:uppercase;

}

.section-header h2{

    margin-top:25px;

    margin-bottom:20px;

    font-size:3.4rem;

    color:var(--title);

    line-height:1.2;

    font-weight:700;

}

.section-header p{

    font-size:1.08rem;

    color:var(--text);

    line-height:1.9;

}



/*=========================================
    GRID
=========================================*/

.services-grid{

    display:grid;

    grid-template-columns:

        repeat(
        auto-fit,
        minmax(330px,1fr)
        );

    gap:40px;

    align-items:start;

}

/*-----card-----*/
.service-header{
    position:relative;
    height:130px;
}
.service-avatar{

    position:absolute;

    left:50%;

    top:18px;

    transform:translateX(-50%);

    width:115px;

    height:115px;

    background:#fff;

    border-radius:50%;

    padding:6px;

    box-shadow:

    0 10px 25px rgba(0,0,0,.12);

}
.service-avatar img{

    width:100%;

    height:100%;

    border-radius:50%;

    object-fit:cover;

}
.service-icon{

    position:absolute;

    left:50%;

    bottom:-12px;

    transform:translateX(-50%);

    width:42px;

    height:42px;

    border-radius:50%;

    background:white;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:

    0 8px 20px rgba(0,0,0,.12);

    color:#57B7AF;

    font-size:18px;

}
.service-card{

    position:relative;

    overflow:hidden;

    background:rgba(255,255,255,.85);

    backdrop-filter:blur(14px);

    border-radius:35px;

    box-shadow:var(--shadow);

    transition:.45s;

}

.service-card:hover{

    transform:

        translateY(-12px);

    box-shadow:

        var(--shadow-hover);

}



/*=========================================
    CARD DESTACADA
=========================================*/

.featured{

    transform:translateY(-18px);

    border:

    2px solid

    rgba(78,184,176,.10);

}

.featured:hover{

    transform:

    translateY(-28px);

}



/*=========================================
    PARTE SUPERIOR
=========================================*/

.service-top{

    position:relative;

    height:150px;

    overflow:visible;

}
/*===============================
        FOTO
================================*/

.avatar{

    position:absolute;

    left:50%;

    bottom:-82px;

    transform:translateX(-50%);

    width:170px;

    height:170px;

    border-radius:50%;

    background:white;

    padding:8px;

    box-shadow:

        0 20px 45px rgba(0,0,0,.15);

    z-index:5;

    transition:.45s;

}

.featured .avatar{

    width:185px;

    height:185px;

}

.avatar img{

    width:100%;

    height:100%;

    object-fit:contain;

    border-radius:50%;

    transition:.45s;

}
.service-card::after{

content:"";

position:absolute;

width:90px;

height:120px;

right:-20px;

bottom:40px;

background:

url("../img/decorations/leaf-right.svg")
no-repeat
center;

background-size:contain;

opacity:.35;

}
.service-card:hover .avatar{

    transform:

        translateX(-50%)

        scale(1.05);

}

.service-card:hover .avatar img{

    transform:scale(1.08);

}



/* aro blanco */

.avatar::before{

    content:"";

    position:absolute;

    inset:5px;

    border-radius:50%;

    border:3px solid rgba(255,255,255,.7);

}



/*===============================
        CUERPO
================================*/

.service-content{

    padding:70px 35px 35px;
    text-align:center;
    display:flex;
    flex-direction:column;
    height:100%;

}

.service-content span{

    display:inline-block;

    align-self:center;

    margin-bottom:18px;

    padding:9px 20px;

    background:#F2FCFB;

    color:var(--primary-dark);

    border-radius:30px;

    font-size:.78rem;

    letter-spacing:1px;

    text-transform:uppercase;

    font-weight:600;

}

.service-content h3{

    color:var(--title);

    font-size:1.9rem;

    margin-bottom:8px;

    font-weight:700;

}

.service-content h5{

    color:var(--primary);

    margin-bottom:22px;

    font-size:1rem;

    font-weight:600;

}

.service-content p{

    color:var(--text);

    line-height:1.9;

    margin-bottom:30px;

}



/*===============================
        LISTA
================================*/

.service-content ul{

    list-style:none;

    padding:0;

    margin:0 0 35px;

    text-align:left;

}

.service-content li{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:16px;

    color:var(--text);

    font-size:.95rem;

}

.service-content li i{

    color:var(--primary);

    width:20px;

}



/*===============================
        BOTON
================================*/

.service-content a{

    margin-top:auto;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    padding:16px 30px;

    text-decoration:none;

    border-radius:50px;

    background:

    linear-gradient(
        135deg,
        #4EB8B0,
        #79D9D1
    );

    color:white;

    font-weight:600;

    transition:.35s;

}

.service-content a:hover{

    transform:translateY(-5px);

    color:white;

    box-shadow:

        0 18px 40px rgba(78,184,176,.30);

}

.service-content a i{

    transition:.35s;

}

.service-content a:hover i{

    transform:translateX(6px);

}



/*===============================
        ANIMACION BLOB
================================*/

@keyframes blobMove{

    0%{

        transform:
        rotate(0deg)
        scale(1);

    }

    50%{

        transform:
        rotate(10deg)
        scale(1.08);

    }

    100%{

        transform:
        rotate(0deg)
        scale(1);

    }

}
/*=====================================================
        PARTE 3
        PREMIUM EFFECTS
======================================================*/


/*=================================
    DECORACION HOJAS
==================================*/

.service-card::before{

    content:"🌿";

    position:absolute;

    top:18px;

    right:20px;

    font-size:26px;

    opacity:.18;

    transform:rotate(20deg);

    transition:.4s;

}

.service-card:hover::before{

    transform:
        rotate(40deg)
        scale(1.15);

    opacity:.35;

}


/*=================================
    BRILLO
==================================*/

.service-card::after{

    content:"";

    position:absolute;

    left:-180px;

    top:0;

    width:120px;

    height:100%;

    background:

    linear-gradient(

        120deg,

        transparent,

        rgba(255,255,255,.45),

        transparent

    );

    transform:skewX(-25deg);

    transition:1s;

}

.service-card:hover::after{

    left:520px;

}



/*=================================
    EFECTO GLASS
==================================*/

.service-card{

    border:

    1px solid

    rgba(255,255,255,.55);

}



/*=================================
    SOMBRA
==================================*/

.service-card:hover{

    box-shadow:

        0 35px 80px rgba(0,0,0,.15),

        0 10px 30px rgba(78,184,176,.18);

}



/*=================================
    ETIQUETA
==================================*/

.service-content span{

    box-shadow:

    0 8px 18px rgba(78,184,176,.12);

}



/*=================================
    BOTON
==================================*/

.service-content a{

    position:relative;

    overflow:hidden;

}

.service-content a::before{

    content:"";

    position:absolute;

    left:-100%;

    top:0;

    width:100%;

    height:100%;

    background:

    linear-gradient(

        120deg,

        transparent,

        rgba(255,255,255,.35),

        transparent

    );

    transition:.8s;

}

.service-content a:hover::before{

    left:100%;

}



/*=================================
    BOTON FINAL
==================================*/

.services-footer{

    margin-top:80px;

    text-align:center;

}

.btn-services{

    display:inline-flex;

    align-items:center;

    gap:14px;

    padding:18px 42px;

    border-radius:60px;

    text-decoration:none;

    background:

    linear-gradient(

        135deg,

        #4EB8B0,

        #6ED7CF

    );

    color:white;

    font-weight:600;

    transition:.35s;

    box-shadow:

    0 20px 45px rgba(78,184,176,.25);

}

.btn-services:hover{

    color:white;

    transform:translateY(-6px);

}

.btn-services i{

    transition:.35s;

}

.btn-services:hover i{

    transform:translateX(6px);

}



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

@media(max-width:1200px){

.services-grid{

grid-template-columns:
repeat(2,1fr);

}

.featured{

transform:none;

}

}



@media(max-width:768px){

.services-grid{

grid-template-columns:1fr;

gap:70px;

}

.section-header h2{

font-size:2.3rem;

}

.section-header p{

font-size:1rem;

}

.service-top{

height:180px;

}

.avatar{

width:140px;

height:140px;

bottom:-55px;

}

.featured .avatar{

width:150px;

height:150px;

}

.service-content{

padding:

95px
28px
35px;

}

.btn-services{

width:100%;

justify-content:center;

}

}



@media(max-width:576px){

.services-section{

padding:70px 0;

}

.section-header{

margin-bottom:60px;

}

.section-header h2{

font-size:1.9rem;

}

.service-content h3{

font-size:1.6rem;

}

.service-content p{

font-size:.95rem;

}

}
