/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Header */
header {
    background: #0078d4;
    color: #fff;
    padding: 1rem 0;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}
header .site-title {
    font-size: 1.8rem;
    font-weight: bold;
}
header nav ul {
    display: flex;
    list-style: none;
}
header nav ul li {
    margin: 0 0.5rem;
}
header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease-in-out;
}
header nav ul li a:hover {
    color: #ffdf00;
}

/* Search Bar */
.search-bar {
    text-align: center;
    margin: 1rem 0;
}
.search-bar input {
    width: 90%;
    max-width: 500px;
    padding: 0.5rem;
    border: 2px solid #0078d4;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}
.search-bar input:focus {
    border-color: #005bb5;
}

/* Apps Section */
.apps-section {
    padding: 2rem 1rem;
    text-align: center;
}
.apps-section h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #0078d4;
}
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem;
}
.app-card {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.app-card img {
    max-width: 100px;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    animation: fadeIn 1s ease;
}
.app-card p {
    font-size: 1rem;
    font-weight: bold;
    color: #0078d4;
}
.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    text-align: center;
    background: #333;
    color: #fff;
    padding: 1rem;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .app-card img {
        max-width: 120px;
        border-radius: 30px;
    }
    .search-bar input {
        width: 95%;
    }
}
