@import url('home.css');

/* Animations */
.service-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

body {
    background-color: var(--white);
}

.page-banner {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 50px;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

.banner-tag {
    animation: fadeInUp 0.6s ease-out;
}

.banner-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.banner-ar {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.page-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.banner-tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 999px;
    background-color: rgba(250, 203, 35, 0.18);
    color: var(--accent-color) !important;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-size: 13px;
}

.banner-title {
    font-size: 44px;
    font-family: var(--font-heading-en);
    line-height: 1.05;
    color: var(--white) !important;
    margin-top: 4px;
}

.banner-ar {
    font-family: var(--font-body-ar);
    font-size: 22px;
    direction: rtl;
    text-align: center;
    color: var(--white) !important;
    margin-top: 2px;
}

.services-overview {
    padding: 90px 0;
}

.services-intro {
    max-width: 780px;
    margin: 0 auto 44px;
    font-size: 18px;
    color: var(--text-gray);
    text-align: center;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 24px 28px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    min-height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: rgba(250, 203, 35, 0.18);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 8px;
}

.service-card h3 {
    font-size: 20px !important;
    font-family: var(--font-heading-en);
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    margin: 0;
}

.service-card h3 span {
    display: block;
    font-family: var(--font-body-ar);
    font-size: 16px !important;
    color: var(--text-gray);
    margin-top: 8px !important;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .page-banner {
        padding: 90px 0 70px;
    }

    .banner-title {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 80px 0 60px;
    }

    .banner-title {
        font-size: 30px;
    }

    .banner-ar {
        font-size: 18px;
    }

    .services-intro {
        font-size: 18px;
        margin-bottom: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 28px 20px 24px;
        min-height: 180px;
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .service-card h3 {
        font-size: 18px !important;
    }
    
    .service-card h3 span {
        font-size: 15px !important;
    }
}

