/* ===========================
   Google Font & Reset
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f7f8fa;
    color:#333;
}

/* ===========================
   Navbar
=========================== */

.navbar{
    background:#0b4d3d;
    padding:15px 0;
    transition:.4s;
}

.navbar-brand{
    color:#fff !important;
    font-size:30px;
    font-weight:700;
}

.nav-link{
    color:#fff !important;
    margin-left:20px;
    font-weight:500;
    transition:.3s;
}

.nav-link:hover,
.nav-link.active{
    color:#ffc107 !important;
}

/* ===========================
   Hero Section
=========================== */

.products-hero{
    position:relative;
    height:70vh;
    background:url("https://images.unsplash.com/photo-1521572267360-ee0c2909d518?w=1600") center center/cover no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.60);
}

.hero-content{
    position:relative;
    z-index:2;
    color:#fff;
}

.hero-content h1{
    font-size:58px;
    font-weight:700;
    margin-bottom:20px;
}

.hero-content p{
    max-width:750px;
    margin:auto;
    font-size:20px;
}

/* ===========================
   Search
=========================== */

.search-section{
    background:#fff;
}

#searchInput{
    border-radius:50px;
    padding:16px 25px;
    border:2px solid #0b4d3d;
    box-shadow:none;
}

#searchInput:focus{
    border-color:#ffc107;
}

/* ===========================
   Filter Buttons
=========================== */

.filter-btn{

    border:none;
    background:#e8ecef;
    padding:12px 25px;
    margin:8px;
    border-radius:30px;
    cursor:pointer;
    transition:.3s;
    font-weight:600;
}

.filter-btn:hover{

    background:#0b4d3d;
    color:#fff;
}

.filter-btn.active{

    background:#ffc107;
    color:#000;
}

/* ===========================
   Product Cards
=========================== */

.product-card{

    background:#fff;
    border-radius:18px;
    overflow:hidden;
    transition:.4s;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    height:100%;
}

.product-card:hover{

    transform:translateY(-12px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.product-card img{

    width:100%;
    height:260px;
    object-fit:cover;
    transition:.5s;
}

.product-card:hover img{

    transform:scale(1.08);
}

.product-body{

    padding:25px;
}

.product-body h4{

    color:#0b4d3d;
    font-weight:700;
    margin-bottom:15px;
}

.product-body p{

    color:#666;
    margin-bottom:20px;
    min-height:70px;
}

/* ===========================
   Button
=========================== */

.btn-success{

    background:#0b4d3d;
    border:none;
    border-radius:40px;
    padding:10px 24px;
    transition:.3s;
}

.btn-success:hover{

    background:#ffc107;
    color:#000;
}

/* ===========================
   Footer
=========================== */

.footer{

    background:#0b4d3d;
    color:#fff;
    padding:50px 0;
    margin-top:60px;
}

.footer h4{

    font-weight:700;
    margin-bottom:15px;
}

.footer p{

    margin-bottom:8px;
}

/* ===========================
   Responsive
=========================== */

@media(max-width:992px){

.hero-content h1{

font-size:46px;

}

.hero-content p{

font-size:18px;

}

}

@media(max-width:768px){

.products-hero{

height:60vh;

}

.hero-content h1{

font-size:34px;

}

.hero-content p{

font-size:16px;
padding:0 20px;

}

.nav-link{

margin-left:0;

}

.filter-btn{

margin:6px;
padding:10px 18px;

}

.product-card img{

height:220px;

}

}

@media(max-width:576px){

.hero-content h1{

font-size:28px;

}

.product-body{

padding:18px;

}

.product-body h4{

font-size:22px;

}

}