body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
* { box-sizing: border-box; }

section#faq {
    min-height: 300px;
}

@media (max-width: 768px) {
    section#contact .logo img {
        height: 120px;
    }


}
    h1, h2, h3 {
        font-size: 2rem;
    }
/*!* لأجهزة الكمبيوتر الكبيرة *!*/
/*@media (min-width: 1200px) {*/
/*    h1, h2, h3 {*/
/*        font-size: 2rem;*/
/*    }*/
/*}*/

header {
    background-color: #003366;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}
header nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    padding: 8px 15px;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

header nav a:hover,
header nav a.active {
    background-color: #FFC107;
    color: #003366;
}


header nav a:hover {
    background-color: #FFC107; /* برتقالي */
    color: #003366; /* أزرق داكن للنص */
}
header nav a.active {
    border-bottom: 2px solid #FFC107;
    padding-bottom: 5px;
}

/* Hero */
section#hero {
    /*background-image: url('/images/1.jpg');  !* صورة افتراضية *!*/

    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
    opacity: 1;
    transition: opacity 1s ease-in-out; /* ✅ */
}


section#hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

section#hero * {
    position: relative;
    z-index: 2;
}

section#hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #003366;
}

section#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #003366;
}

section#hero .btn {
    background-color: #FFC107;
    color: #003366;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

section#hero .btn:hover {
    background-color: #e0a800;
}


section {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
}
section:nth-of-type(even) { background-color: #f9f9f9; }
section h2 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 20px;
}


.stats-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.stats-container .stat {
    background-color: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 150px;
}
.stats-container .stat h2 {
    font-size: 2rem;
    color: #28a745;
    margin: 0;
}
.stats-container .stat p {
    margin: 5px 0 0;
    color: #555;
}

.video-wrapper iframe {
    width: 80%;
    height: 400px;
    border-radius: 12px;
    border: none;
}

.contact-links a {
    display: inline-block;
    margin: 10px;
    padding: 10px 15px;
    background-color: #FFC107;
    color: #003366;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
}
.contact-links a:hover {
    background-color: #e0a800;
}

footer {
    background-color: #003366;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.6;
    margin-top: auto;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    header nav { margin-top: 10px; }
    .feature-cards, .stats-container {
        flex-direction: column;
        align-items: center;
    }
    .video-wrapper iframe {
        width: 100%;
        height: 250px;
    }


}

/* تحسين مظهر بطاقات الأسعار */
.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.pricing-cards .card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 300px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}



.pricing-cards .card-header.bg-dark {
    background-color: #333;
    color: #fff;
}

.pricing-cards .card-body {
    padding: 20px;
    text-align: center;
}

.pricing-cards .card-body h2 {
    color: #003366;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.pricing-cards .card-body ul {
    text-align: right;
    padding: 0 20px;
    margin-bottom: 20px;
}

.pricing-cards .card-body ul li {
    list-style: none;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
}

.pricing-cards .btn-orange {
    background-color: #FFC107;
    color: #003366;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    display: inline-block;
}

.pricing-cards .btn-orange:hover {
    background-color: #e0a800;
    color: #003366;
}

.shake-on-hover {
    display: inline-block;
    transition: transform 0.3s;
}
.shake-on-hover:hover {
    animation: shake 0.5s;
    animation-iteration-count: 1;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}

/* تصميم القسم */
#contact1 {
    background-color: #ffffff;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    text-align: center;
    padding: 20px 0;
    width: 100%;
}

/* صف الدفع */
.payment-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* للسماح باللف في الشاشات الصغيرة */
    gap: 15px;
}

/* عنوان الدفع */
.payment-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #003366;
    font-family: 'Tajawal', sans-serif;
}

/* أيقونات الدفع */
.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-icons img {
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    padding: 5px;
    border-radius: 6px;
}

.payment-icons img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}





.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.feature-cards .card {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: calc(25% - 20px);
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-cards .card:hover {
    transform: translateY(-5px);
}

@media (max-width: 1200px) {
    .feature-cards .card {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .feature-cards .card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .feature-cards .card {
        width: 100%;
    }
}

#about-us details {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}
#about-us details:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#about-us summary {
    cursor: pointer;
    font-weight: bold;
    color: #003366;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
#about-us summary i {
    color: #FFC107;
}
#about-us details[open] summary::after {
    content: "▲";
    font-size: 0.8rem;
    margin-right: 5px;
    color: #003366;
}
#about-us summary::after {
    content: "▼";
    font-size: 0.8rem;
    margin-right: 5px;
    color: #003366;
}
#about-us ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}
#about-us ul li {
    margin-bottom: 8px;
    font-size: 1.05rem;
}
#about-us ul li i {
    color: #28a745;
    margin-left: 5px;
}

#value details {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}
#value details:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#value summary {
    cursor: pointer;
    font-weight: bold;
    color: #003366;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
#value summary i {
    color: #FFC107;
}
#value details[open] summary::after {
    content: "▲";
    font-size: 0.8rem;
    margin-right: 5px;
    color: #003366;
}
#value summary::after {
    content: "▼";
    font-size: 0.8rem;
    margin-right: 5px;
    color: #003366;
}

