﻿@font-face {
    font-family: 'matnha';
    src: url(../font/Kalameh-SemiBold[@mimvid].ttf);
}

@font-face {
    font-family: 'sartitr';
    src: url(../font/Anjoman-UltraBold[@mimvid].ttf);
}
.section {
    padding: 100px 20px;
    text-align: center;
}

.title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    font-family:'sartitr';
}

.subtitle {
    font-size: 20px;
    color: #777;
    margin-top: 10px;
    font-family:'sartitr';
}

.description {
    max-width: 91%;
    margin: 20px auto;
    color: #555;
    font-size: 16px;
    direction: rtl;
    font-family: 'matnha';
}

.gradient-button {
    background: linear-gradient(to left, #00b4db, #0083b0);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.3s ease;
    font-family:'matnha';
}

    .gradient-button:hover {
        color: white;
        text-decoration: none;
        font-weight: bold;
        font-size: 18px;
        background-color: coral;
        padding: 12px 30px;
        text-align: center;
        font-family: 'matnha';
        border-radius: 10px;
    }

.image-container {
    margin-top: 40px;
}

    .image-container img {
        width: 300px;
        max-width: 100%;
        height: auto;
        border-radius: 10px;
    }

.features-section {
    padding: 120px 0px 26px 0px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    direction: rtl;
}

.features-text {
    flex: 1;
    min-width: 300px;
    margin-left: 40px;
}

    .features-text .tagline {
        color: #00bfa6;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .features-text .title {
        font-size: 28px;
        color: #222;
        margin-bottom: 15px;
        font-family: 'sartitr';
    }

    .features-text .description {
        color: #555;
        font-size: 16px;
        margin-bottom: 35px;
        max-width: 531px;
        text-align: justify;
        font-family: 'matnha';
    }
.change-link:hover {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    background-color: coral;
    padding: 7px 23px;
    text-align: center;
    font-family: 'matnha';
    border-radius: 10px;
}
.change-link {
    color: #f4fffe;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    background-color: #1712e377;
    padding: 7px 23px;
    text-align: center;
    font-family: 'matnha';
    border-radius: 10px;
    margin: 4px 40px 0px 0px;
}


.features-cards {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.card {
    width: 160px;
    padding: 20px;
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card h3 {
        margin-bottom: 5px;
        font-size: 15px;
        font-family: 'sartitr';
        line-height: 22px;
    }

    .card p {
        font-size: 12px;
        margin-bottom: 10px;
        font-family: 'matnha';
        text-align:right;
    }

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    display: inline-block;
}

.card-red {
    background-color: #f54e7e;
}

.card-blue {
    background-color: #007bff;
}

.card-purple {
    background-color: #5e4b8b;
}

.card-green {
    background-color: #00bfa6;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .features-text {
        margin: 0 0 30px 0;
        text-align: center;
    }

    .features-cards {
        justify-content: center;
    }
}
