/* General Styling */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f4f6;
    text-align: center;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 10px 15px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 200;
}

.title {
    font-size: 20px;
    font-weight: bold;
}

.lang-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}
.lang-btn:hover {
    background: #005fcc;
}

/* Search Box */
.search-box {
    display: flex;
    padding: 10px;
    background: white;
    position: sticky;
    top: 50px;
    z-index: 150;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.07);
}

.search-box input {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px 0 0 8px;
    outline: none;
}

.search-btn {
    padding: 12px 18px;
    font-size: 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: 0.2s;
}
.search-btn:hover {
    background: #005fcc;
}

/* Category Grid */
h2 {
    margin-top: 20px;
    font-size: 22px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
    max-width: 600px;
    margin: auto;
}

.item {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    text-decoration: none;
    color: #333;
    transition: .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item:hover {
    transform: scale(1.05);
    background: #007bff;
    color: white;
}

.icon {
    font-size: 35px;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 480px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
