﻿/* أساسي */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
}
html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    overflow-x: hidden;
}
.main-content {
    max-width: 1100px;
  
    padding: 0 15px;
    text-align: center;
    position: relative;
 
}
.navbar-toggler {
    display: none !important;
}



/* ترويسة */
.main-heading {
    text-align: right;
    display: flex;
    flex-direction: column;
   
}

    .main-heading h2,
    .main-heading h3 {
        font-size: 20px; /* بدلاً من 14 أو 18 */
        margin: 0;
        line-height: 1.6;
        font-weight: bold;
        color: #2e7d32;
    }

h4.text-success {
    font-size: 1.5rem;
    font-weight: bold;
}

.main-logo {
    width: 80px;
}

/* كرت الخيار */
.card-option {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .card-option i {
        font-size: 42px;
        color: #2e7d32;
        margin-bottom: 15px;
        transition: color 0.3s ease;
    }

    .card-option h6 {
        font-weight: 700;
        margin-bottom: 8px;
        color: #1b5e20;
        font-size: 1.1rem;
    }

    .card-option small {
        color: #4caf50;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .card-option:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
    }

        .card-option:hover i {
            color: #388e3c;
        }

/* الفوتر */
footer {
    margin-top: 50px;
    text-align: center;
    color: #1b5e20;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
}

/* 🌐 رسبونسف للموبايل */
@media (max-width: 767.98px) {
    .header-box {
        display: flex;
        justify-content: flex-start;
        padding: 10px 30px;
        gap: 15px;
        font-size: 12px;
        z-index: 100;
        flex-direction: column;
        align-items: center;
    }

    .main-logo {
        width: 100px;
    }

    .main-heading h2,
    .main-heading h3 {
        font-size: 14px;
    }

    .card-option {
        height: auto;
        padding: 20px 10px;
    }

        .card-option i {
            font-size: 36px;
        }

        .card-option h6 {
            font-size: 1rem;
        }
}

/* تابلت */
/*@media (min-width: 768px) and (max-width: 991.98px) {
    .header-box {
        right: 100px;
    }
}
@media (max-width: 767.98px) {
    .main-logo {
        width: 100px !important;
    }

    .main-heading h2,
    .main-heading h3 {
        font-size: 12px !important;
    }

    

    .main-heading {
        align-items: center;
    }

    .main-content {
        padding-top: 90px;
    }
}
@media (max-width: 767.98px) {
    .main-content {
        margin-top: 10px;
        padding-top: 30px;
    }

    .main-heading h2,
    .main-heading h3 {
        font-size: 16px !important;
    }
}*/
@media (max-width: 767.98px) {
    .header-box {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 10px 0;
        text-align: left;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .vertical-line {
        display: none;
    }

    .main-heading {
        align-items: center;
        text-align: center;
    }

        .main-heading h2,
        .main-heading h3 {
            font-size: 14px !important;
        }
}

.header-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    text-align: left;
}

.vertical-line {
    width: 2px;
    height: 60px;
    background-color: #2e7d32;
}
