﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* البطاقة الرئيسية */
.main-card {
    width: 100%;
    padding: 100px 20px;
    position: relative;
    flex-grow: 1;
    background: linear-gradient(rgba(15, 15, 26, 0.85), rgba(15, 15, 26, 0.85)), url('../img/Fbl1fmxlp8fHOfv0VlGUA.png') center/cover no-repeat;
}

.card-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(76, 201, 240, 0.3);
}

.main-card p {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.divider {
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    margin: 40px auto;
    width: 200px;
    border-radius: 3px;
}

.button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 18px 45px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(76, 201, 240, 0.3);
}

    .button:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 35px rgba(247, 37, 133, 0.4);
    }

    .button i {
        margin-right: 15px;
        transition: transform 0.3s ease;
    }

    .button:hover i {
        transform: translateX(-8px);
    }
/* البطاقة الثانية */
.secondary-card {
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #3d2a3e 100%);
    position: relative;
    color: #e2e2e2;
}

.card-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* تنسيق البطاقة مع الصورة */
.card-with-image {
    display: flex;
    align-items: center;
    gap: 50px;
}

.card-image {
    flex: 1;
    min-width: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(76, 201, 240, 0.3);
}

    .card-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

    .card-image:hover img {
        transform: scale(1.03);
    }

.card-text {
    flex: 1;
    padding: 20px;
}

    /* تنسيق النص داخل البطاقة */
    .card-text h2 {
        font-size: 2.2rem;
        color: #4cc9f0;
        margin-bottom: 15px;
    }

    .card-text h3 {
        font-size: 1.5rem;
        color: #f72585;
        margin-bottom: 20px;
    }

    .card-text p {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 30px;
        opacity: 0.9;
    }

.divider {
    height: 3px;
    background: linear-gradient(to left, transparent, #4cc9f0, transparent);
    margin: 25px 0;
    width: 100px;
}


/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .card-with-image {
        flex-direction: column;
        gap: 30px;
    }

    .card-image {
        min-width: 100%;
        order: -1; /* الصورة تظهر أولاً */
    }

    .card-text {
        text-align: center;
        padding: 0;
    }

    .divider {
        margin: 25px auto;
    }
}
/* حاوية البطاقات */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
}

/* تصميم البطاقة */
.feature-card {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    padding: 30px;
    text-align: right;
    transition: all 0.3s ease;
    border: 1px solid rgba(76, 201, 240, 0.2);
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }

.card-icon {
    font-size: 2.5rem;
    color: #f72585;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #4cc9f0;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #e2e2e2;
    line-height: 1.8;
    font-size: 1.1rem;
}



.testimonial p {
    font-style: italic;
    margin-bottom: 5px;
}

.testimonial span {
    color: #a1a1a1;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
}
