/* =====================================
   TOOLS CATEGORY PAGE FINAL DESIGN
===================================== */



/* HERO */


.tools-hero{

    padding:45px 0 35px;

    text-align:center;

}



.tools-hero h1{

    font-size:42px;

    font-weight:800;

    color:#0f172a;

    margin-bottom:10px;

}



.tools-hero p{

    font-size:17px;

    color:#64748b;

    max-width:650px;

    margin:auto;

}






/* SEARCH */


.tool-search{

    position:relative;

    max-width:500px;

    margin:25px auto 0;

}



.tool-search input{

    width:100%;

    height:48px;

    border-radius:15px;

    border:1px solid #d1d5db;

    padding:0 50px 0 18px;

    font-size:15px;

    outline:none;

}



.tool-search i{

    position:absolute;

    right:18px;

    top:16px;

    color:#2563eb;

}







/* GRID */


.tool-grid{


    display:grid;

    grid-template-columns:

    repeat(4,1fr);


    gap:18px;


}







/* CARD */


.tool-card{


    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:20px;

    padding:18px;

    text-align:center;

    transition:.3s;


}



.tool-card:hover{


    transform:translateY(-6px);


    box-shadow:

    0 15px 35px rgba(0,0,0,.12);


}






/* ICON */


.tool-card .tool-icon{


    width:65px;

    height:65px;

    margin:0 auto 15px;


    border-radius:18px;


    display:flex;

    justify-content:center;

    align-items:center;


    background:#dbeafe;


}



.tool-card .tool-icon i{


    font-size:30px;

    color:#2563eb;


}







/* DIFFERENT ICON COLORS */


.tool-card:nth-child(2n) .tool-icon{

background:#fee2e2;

}


.tool-card:nth-child(2n) .tool-icon i{

color:#ef4444;

}




.tool-card:nth-child(3n) .tool-icon{

background:#dcfce7;

}


.tool-card:nth-child(3n) .tool-icon i{

color:#16a34a;

}







/* TEXT */


.tool-card h3{


font-size:17px;

font-weight:800;

color:#111827;

margin-bottom:8px;


}



.tool-card p{


font-size:14px;

color:#64748b;

line-height:1.5;

min-height:42px;


}



.tool-card a{


display:inline-block;

margin-top:10px;

color:#2563eb;

font-weight:700;

font-size:14px;


}







/* TABLET */


@media(max-width:1100px){


.tool-grid{

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

}


}







/* MOBILE */


@media(max-width:700px){


.tool-grid{

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

}



.tools-hero h1{

font-size:32px;

}


}
