@font-face {
  font-family: cairo;
  src: url('../fonts/cairo.ttf'); 
}
/* قاعدة عامة لتصميم استجابة */
* {
    box-sizing: border-box; /* تأكيد حساب الحشوة والهامش ضمن العرض الكلي */
    margin: 0;
    padding: 0;
}

body {
    font-family: cairo, Arial, sans-serif;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    color: white;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    direction: rtl;
    overflow-x: hidden; /* لمنع تجاوز المحتوى من العرض */
}

header, .apps, .support, footer {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

h1 {
    font-size: 48px;
}

p {
    font-size: 18px;
}

.apps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 50px 0;
}

.app-box {
    background: white;
    color: black;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.app-box img {
    width: 200px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 20px;
}

button {
    background: #2196F3;
    border: none;
    padding: 10px 20px;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    margin: 10px 0;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-family: cairo, Arial, sans-serif;
}

button:hover {
    background: #4CAF50;
}

.support {
    background-color: #333;
    padding: 20px;
    margin-top: 50px;
    box-sizing: border-box;
}

.support h2, .support p {
    color: white;
    text-align: center;
}

footer {
    background: #333;
    color: white;
    padding: 10px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    p {
        font-size: 16px;
    }

    .app-box {
        width: 80%;
    }

    .support {
        padding: 15px;
    }

    .support h2 {
        font-size: 18px;
    }

    .support p {
        font-size: 14px;
    }

    button {
        padding: 8px;
    }
}
