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

.about-section{

    position:relative;

    background:#f7faf8;

    padding:30px 0;

    overflow:hidden;

}

/*==================================================
TOP CURVE
==================================================*/

.curve-top{

    position:absolute;

    top:0;

    left:50%;

    transform:translateX(-50%);

    width:170%;

    height:220px;

    background:white;

    border-radius:0 0 50% 50%;

}

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

.about-header{

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:1.2fr .8fr;

    gap:80px;

    align-items:end;

    margin-bottom:80px;

}

.about-badge{

    display:inline-flex;

    align-items:center;

    padding:8px 18px;

    border-radius:999px;

    background:#eaf9ef;

    color:#16a34a;

    font-size:13px;

    font-weight:600;

    margin-bottom:18px;

}

.about-header h2{

    font-size:clamp(42px,4vw,62px);

    line-height:1.05;

    color:#101828;

    max-width:650px;

    margin-bottom:0;

}

.about-header p{

    font-size:16px;

    line-height:1.9;

    color:#6b7280;

    max-width:450px;

}

/*==================================================
CARDS
==================================================*/


.about-cards{

    position:relative;

    z-index:2;

    display:grid;

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

    gap:30px;
     align-items:stretch;

}

.about-card{

    background:white;

    border-radius:28px;

    overflow:hidden;

    padding:30px;

    transition:
        transform .45s cubic-bezier(.22,1,.36,1),
        box-shadow .45s;

    border:1px solid #edf2ef;

    box-shadow:

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

        display:flex;

    flex-direction:column;

    height:100%;

}



.about-card:hover{

    transform:
        translateY(-10px)
        scale(1.02);

    box-shadow:
        0 30px 80px rgba(0,0,0,.12);

}

.card-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:18px;

}

.card-top h3{

    font-size:22px;

    color:#111827;

    margin:0;

}

.card-top span{

    width:34px;

    height:34px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#eefaf2;

    color:#16a34a;

    font-size:16px;

    transition:.35s;

}

.about-card:hover .card-top span{

    background:#16a34a;

    color:white;

    transform:rotate(45deg);

}

.about-card p{

    color:#6b7280;

    font-size:15px;

    line-height:1.8;

    margin-bottom:28px;

}

.about-card img{

    width:100%;

    height:240px;

    object-fit:cover;

    border-radius:18px;
    margin-top:auto;

}






/*==================================================
FEATURED CARD
==================================================*/

.featured{

    background:#071b11;

    color:white;

}

.featured h3{

    color:white;

}

.featured p{

    color:#d5ded8;

}

.featured .card-top span{

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

    color:#4ade80;

}

.featured:hover .card-top span{

    background:#22c55e;

    color:white;

}

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

.fade-up{

    opacity:0;

    transform:translateY(70px);

}

.fade-up.show{

    animation:fadeUp .9s cubic-bezier(.22,1,.36,1) forwards;

}

.delay-1.show{

    animation-delay:.15s;

}

.delay-2.show{

    animation-delay:.35s;

}

.delay-3.show{

    animation-delay:.55s;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(70px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*==================================================
LAPTOP (1200px)
==================================================*/

@media (max-width:1200px){

    .about-section{

        padding:160px 0 110px;

    }

    .about-header{

        gap:50px;

    }

    .about-header h2{

        font-size:52px;

    }

}


/*==================================================
TABLET (992px)
==================================================*/

@media (max-width:992px){

    .curve-top{

        width:220%;

        height:180px;

    }

    .about-section{

        padding:140px 0 90px;

    }

    .about-header{

        grid-template-columns:1fr;

        gap:25px;

        text-align:center;

        margin-bottom:60px;

    }

    .about-header h2{

        max-width:100%;

        font-size:46px;

    }

    .about-header p{

        max-width:700px;

        margin:auto;

    }

    .about-cards{

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

        gap:25px;

    }

    .featured{

        grid-column:span 2;

    }

}


/*==================================================
MOBILE (768px)
==================================================*/

@media (max-width:768px){

    .curve-top{

        width:260%;

        height:140px;

    }

    .about-section{

        padding:110px 0 70px;

    }

    .about-header{

        margin-bottom:45px;

    }

    .about-header h2{

        font-size:38px;

        line-height:1.15;

    }

    .about-header p{

        font-size:15px;

        line-height:1.8;

    }

    .about-cards{

        grid-template-columns:1fr;

        gap:24px;

    }

    .featured{

        grid-column:auto;

    }

    .about-card{

        padding:22px;

        border-radius:22px;

    }

    .about-card img{

        height:220px;

    }

    .card-top h3{

        font-size:20px;

    }

}


/*==================================================
SMALL MOBILE (480px)
==================================================*/

@media (max-width:480px){

    .curve-top{

        width:320%;

        height:120px;

    }

    .about-section{

        padding:90px 0 60px;

    }

    .about-header h2{

        font-size:32px;

    }

    .about-header p{

        font-size:14px;

    }

    .about-badge{

        padding:8px 16px;

        font-size:12px;

    }

    .about-card{

        padding:18px;

    }

    .about-card img{

        height:200px;

        border-radius:16px;

    }

    .card-top h3{

        font-size:18px;

    }

    .card-top span{

        width:32px;

        height:32px;

    }

}