body {
    font-family: 'Vazirmatn', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header {
    background-color: #5857FF;
    color: white;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.container {
    padding: 2rem;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.project {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    flex: 1 1 calc(33.333% - 1.5rem);
    transition: transform 0.3s ease;
    text-align: center;
}

.project:hover {
    transform: translateY(-10px);
}

.project h3 {
    margin-top: 0;
    color: #5857FF;
}

.project p {
    margin: 0.5rem 0;
    color: #555;
}

.project a {
    color: #5857FF;
    text-decoration: none;
    font-weight: bold;
}

.project a:hover {
    text-decoration: underline;
}

.category-filter {
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-filter button {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #5857FF;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0.25rem;
}

.category-filter button:hover {
    background-color: #5857FF;
}

.category-filter button.active {
    background-color: #5857FF;
}

.project i {
    font-size: 2rem;
    color: #5857FF;
    margin-bottom: 0.5rem;
}

.floating-contact-button {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #5857FF;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.floating-contact-button i {
    font-size: 1.8rem;
}

.floating-contact-button:hover {
    background-color: #4646cc;
    transform: scale(1.1);
}