﻿.ak-home {
    padding: 18px;
    direction: rtl;
}

.ak-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 25px;
}

.ak-hero-logo {
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.ak-services-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.ak-service-card {
    background: #fff;
    border-radius: 22px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid #ececec;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
    transition: .25s ease;
}

    .ak-service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(0,0,0,.08);
    }

.ak-service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: .25s ease;
}

.ak-service-card:hover .ak-service-icon {
    transform: scale(1.05);
}

.ak-service-card h4 {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
}

.ak-service-btn {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 14px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: .2s;
}

    .ak-service-btn:hover {
        opacity: .92;
    }

.ak-service-blue .ak-service-icon {
    background: #e8f0ff;
    color: #2563eb;
}

.ak-service-blue .ak-service-btn {
    background: #2563eb;
}

.ak-service-gold .ak-service-icon {
    background: #fff3d9;
    color: #b7791f;
}

.ak-service-gold .ak-service-btn {
    background: #b7791f;
}

.ak-service-green .ak-service-icon {
    background: #e7f7ee;
    color: #11804f;
}

.ak-service-green .ak-service-btn {
    background: #11804f;
}

@media (max-width: 768px) {

    .ak-home {
        padding: 12px;
    }

    .ak-hero {
        padding: 5px 0 20px;
    }

    .ak-hero-logo {
        width: 150px;
    }

    .ak-services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ak-service-card {
        padding: 20px 16px;
    }

        .ak-service-card h4 {
            font-size: 20px;
        }
}
.ak-service-family .ak-service-icon {
    background: #eef8f1;
    color: #2f855a;
}

.ak-service-family .ak-service-btn {
    background: #2f855a;
}
