:root {
    --primary-color: #FFD600;
    --secondary-color: #4a5568;
    --accent-color: #FFD600;
    --background-color: #ffffff;
    --body-bg-color: #f8f9fa;
    --border-color: #e2e8f0;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --txtaccent: #fff;
    --txtaccent1: #9D9D9F;
    --textaccent2: #73757E;
    --textaccent3: #484848;
    --txtaccent4: #000;
    --txtaccent5: #E5E5E5;
    --haccent: #FFCB0F;
}

body {
    background-color: #3D3B30;
    /* 3D3B30 575761 */
}

main .container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item {
    position: relative;
    border: none;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    transition: all 0.3s ease;
}

/* Corner accents */
.service-item::before,
.service-item::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.service-item::before {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.service-item::after {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.service-item:hover::before,
.service-item:hover::after {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
}

/* Number styling */
.service-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: absolute;
    top: 20px;
    left: 20px;
}

/* Title styling */
.service-title {
    text-align: center;
    color: #DBD5B5;
    width: 100%;
    margin: 0;
    font-family: Vazir;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0 15px;
    line-height: 1.6;
}

/* Hover effects */
.service-item:hover .service-number {
    opacity: 0;
    transform: translateY(-10px);
}

.service-item:hover .service-title {
    transform: translateY(-10px);
}

/* Animations */
@keyframes itemEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-list li {
    animation: itemEntrance 0.6s ease-out forwards;
    opacity: 0;
}