/* ==========================================
   TEMPLATES
========================================== */

#templates{

    padding:140px 0;

    background:#f8f7f5;

}

#templates .container{

    max-width:1450px;

    margin:auto;

}

/* ==========================================
   GRID
========================================== */

.templates-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

/* ==========================================
   CARD
========================================== */

.template-card{

    background:#ffffff;

    border:1px solid #edf2f7;

    border-radius:18px;

    overflow:hidden;

    transition:.35s;

    cursor:pointer;

    box-shadow:
        0 8px 30px rgba(0,0,0,.04);

}

.template-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 25px 60px rgba(0,0,0,.10);

}

/* ==========================================
   IMAGE
========================================== */

.template-card img{

    width:100%;

    /*height:265px;*/

    object-fit:cover;

    display:block;

    transition:.45s;

}

.template-card:hover img{

    transform:scale(1.04);

}

/* ==========================================
   CONTENT
========================================== */

.template-content{

    padding:22px;

}

.template-content h3{

    font-size:28px;

    font-weight:700;

    color:#111827;

    margin-bottom:12px;

}

.template-content p{

    color:#6b7280;

    font-size:18px;

    line-height:1.8;

}

/* ==========================================
   BUTTON
========================================== */

.templates-footer{

    margin-top:70px;

    display:flex;

    justify-content:center;

}

.btn-outline{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    min-width:320px;

    height:66px;

    border:2px solid #2563eb;

    border-radius:16px;

    text-decoration:none;

    color:#2563eb;

    font-size:21px;

    font-weight:600;

    transition:.30s;

}

.btn-outline:hover{

    background:#2563eb;

    color:#ffffff;

}

/* ==========================================
   ICON
========================================== */

.btn-outline i{

    transition:.30s;

}

.btn-outline:hover i{

    transform:translateX(5px);

}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:1200px){

    .templates-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:768px){

    .templates-grid{

        grid-template-columns:1fr;

    }

}