*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:#f5f5f5;
    color:#333;
    line-height:1.6;
}

/* Header */

header{
    background:#2E7D32;
    color:white;
    padding:15px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.logo h1{
    font-size:30px;
}

nav{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

nav a:hover{
    color:#FFD54F;
}

/* Hero Section */

.hero{
    text-align:center;
    padding:80px 20px;
    background:linear-gradient(
        135deg,
        #2E7D32,
        #4CAF50
    );
    color:white;
}

.hero h2{
    font-size:42px;
    margin-bottom:15px;
}

.hero p{
    font-size:18px;
    margin-bottom:15px;
}

.btn{
    display:inline-block;
    margin:10px;
    padding:12px 25px;
    background:#FF9800;
    color:white;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
}

.btn:hover{
    background:#F57C00;
}

/* Sections */

.about,
.categories,
.services,
.stats,
.contact{
    padding:60px 20px;
    text-align:center;
}

.about h2,
.categories h2,
.services h2,
.stats h2,
.contact h2{
    margin-bottom:20px;
}

/* Grid */

.grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-top:20px;
}

.card{
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:
    0 2px 10px rgba(0,0,0,0.1);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
}

/* Services */

.services ul{
    list-style:none;
}

.services li{
    margin:10px 0;
    font-size:18px;
}

/* Login & Register */

.login-container{
    max-width:450px;
    margin:50px auto;
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:
    0 2px 10px rgba(0,0,0,0.1);
}

.login-container input,
.login-container select{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ccc;
    border-radius:6px;
}

.login-container button{
    width:100%;
    padding:12px;
    background:#2E7D32;
    color:white;
    border:none;
    border-radius:6px;
    cursor:pointer;
}

.login-container button:hover{
    background:#1B5E20;
}

/* Marketplace */

.products{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    padding:20px;
}

.product-card{
    background:white;
    padding:15px;
    border-radius:10px;
    box-shadow:
    0 2px 10px rgba(0,0,0,0.1);
    text-align:center;
}

.product-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:8px;
}

.product-card h3{
    margin:10px 0;
}

.product-card button{
    background:#2E7D32;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:5px;
    cursor:pointer;
}

/* Footer */

footer{
    background:#222;
    color:white;
    text-align:center;
    padding:20px;
    margin-top:30px;
}

/* Mobile */

@media(max-width:768px){

header{
    flex-direction:column;
    text-align:center;
}

nav{
    justify-content:center;
    margin-top:10px;
}

.hero h2{
    font-size:30px;
}

.hero p{
    font-size:16px;
}

}
.card{
  background:#fff;
  padding:15px;
  margin:10px;
  border-radius:10px;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
}

.card img{
  max-width:100%;
  border-radius:10px;
}

.card button{
  padding:10px;
  width:100%;
  margin-top:10px;
}