/* ====== SECTION WRAPPER ====== */
.front-info {
    width: 90%;
    max-width: 1000px;
    margin: 100px auto 50px auto;
    padding-bottom: 50px;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

/* ====== MAIN TITLE ====== */
.front-info h1 {
    font-size: 60px;
    text-align: center;
    margin-bottom: 40px; /* space under title */
}

/* ====== INTRO TEXT ====== */
.intro-text {
    text-align: left;                                 
    font-size: 18px;                                         
    line-height: 30px;  /* space between lines */           
    margin-bottom: 30px; /* space under text */
    color: #ddd;
}

/* ======  questions ====== */
.qa-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.qa-card {
    background: linear-gradient(135deg, #4a0d8c 0%, #2a0066 100%);
    padding: 32px 28px;
    border-radius: 16px;
    transition: all 0.4s ease;
    min-height: 220px;
}

.qa-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(106, 13, 221, 0.5);
}

.qa-question {
    font-size: 23px;
    font-weight: bold;
    color: #e6c3ff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.qa-answer {
    font-size: 16px;
    color: #d4bbff;
    line-height: 1.75;
    
}




.front-info h2 {
    font-size: 32px;
    margin: 30px 0 10px 0;
    color: #d7baff;
}

.languages-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.lang-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
    transition: 0.3s ease;
    width: 220px;
}

.lang-card:hover {
    transform: translateY(-7px);
     border-color: #a855f7; /* اللون بتاع الحوف لما ادوس */
}

.lang-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.lang-card h3 {
    color: #a855f7;
    margin-bottom: 10px;
    font-size: 22px;
}

.lang-card p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.more-btn {
    padding: 8px 15px;
    background: #a855f7;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.more-btn:hover {
    background: #c084fc;
}

.info-card {
    background: rgba(255, 255, 255, 0.08);
    border-left: 4px solid #6a0dad;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    line-height: 1.8;
    font-size: 18px;
}

.info-card ul {
    margin: 10px 0 0 25px;
}

.info-card ul li {
    margin-bottom: 8px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
    .qa-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .qa-card {
        min-height: 200px;
        padding: 28px 24px;
    }
    .qa-question { font-size: 21px; }
}

@media (max-width: 600px) {
    .front-info h1 { font-size: 40px; }
    .front-info h2 { font-size: 26px; }
    .intro-text, .info-card { font-size: 16px; }
    .qa-question { font-size: 20px; }
    .qa-answer { font-size: 15.5px; }
    .lang-card { width: 180px; }
}