
/* ==========================================================
 *   ExotElectronics
 *   Featured Projects Stylesheet
 *   File: /assets/css/featured-projects.css
 *   ========================================================== */


/* ==========================================================
 *   Section
 *   ========================================================== */

.featured-projects{

    padding:90px 20px;

    background:#f8fafc;

}


/* ==========================================================
 *   Projects Grid
 *   ========================================================== */

.projects-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

    margin-top:50px;

}


/* ==========================================================
 *   Card
 *   ========================================================== */

.project-card{

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:18px;

    overflow:hidden;

    transition:.3s;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.project-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}


/* ==========================================================
 *   Image
 *   ========================================================== */

.project-image{

    overflow:hidden;

}

.project-image img{

    width:100%;

    height:220px;

    display:block;

    object-fit:cover;

    transition:.4s;

}

.project-card:hover .project-image img{

    transform:scale(1.08);

}


/* ==========================================================
 *   Content
 *   ========================================================== */

.project-content{

    padding:28px;

}

.project-content h3{

    margin:0 0 15px;

    font-size:1.35rem;

    line-height:1.3;

}

.project-content h3 a{

    color:#111827;

    text-decoration:none;

}

.project-content h3 a:hover{

    color:#2563eb;

}

.project-content p{

    margin:0 0 25px;

    color:#6b7280;

    line-height:1.7;

}


/* ==========================================================
 *   Link
 *   ========================================================== */

.project-link{

    display:inline-block;

    color:#2563eb;

    text-decoration:none;

    font-weight:700;

}

.project-link:hover{

    color:#1d4ed8;

}


/* ==========================================================
 *   Footer
 *   ========================================================== */

.section-footer{

    margin-top:55px;

    text-align:center;

}


/* ==========================================================
 *   Button
 *   ========================================================== */

.btn-secondary{

    display:inline-block;

    padding:14px 30px;

    border:2px solid #2563eb;

    border-radius:10px;

    color:#2563eb;

    text-decoration:none;

    font-weight:700;

    transition:.25s;

}

.btn-secondary:hover{

    background:#2563eb;

    color:#ffffff;

}


/* ==========================================================
 *   Responsive
 *   ========================================================== */

@media (max-width:992px){

    .projects-grid{

        grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    }

}

@media (max-width:768px){

    .featured-projects{

        padding:70px 20px;

    }

    .projects-grid{

        grid-template-columns:1fr;

        gap:25px;

    }

    .project-image img{

        height:200px;

    }

}

