@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap');
        
* {
    font-family: 'Tajawal', sans-serif;
}

:root {
    --primary: #1e40af;
    --secondary: #3b82f6;
    --accent: #60a5fa;
    --light: #f0f9ff;
    --dark: #0f172a;
}

.banner-text {
    background: linear-gradient(45deg, #3b82f6, #1e40af, #60a5fa);
    background-size: 200% 200%;
    color: white;
    background-clip: text;
    -webkit-background-clip: text;
    animation: gradient 5s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.news-ticker {
    animation: ticker-rtl 20s linear infinite;
}

@keyframes ticker-rtl {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.qr-card {
    transition: all 0.3s ease;
}

.qr-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.qr-code {
    transition: all 0.3s ease;
}

.qr-card:hover .qr-code {
    transform: scale(1.1);
}

.copy-btn {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    cursor: pointer;
}

.copy-btn:hover {
    transform: translateY(-3px);
}

.copy-btn:active {
    transform: translateY(0);
}

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px) rotate(8deg);
}

.modal {
    transition: all 0.3s ease;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    transition: all 0.3s ease;
    transform: scale(0.7);
    opacity: 0;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    max-width: 90%;
    width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal.show {
    display: flex;
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
}

.sticky-nav.visible {
    transform: translateY(0);
    opacity: 1;
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.account-number {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

@media (min-width: 768px) {
    .account-number {
        max-width: 220px;
    }
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 1rem;
}

.faq-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.faq-question {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.faq-question:hover {
    background: linear-gradient(45deg, #dbeafe, #eff6ff);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding: 0 1.25rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 1.25rem;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.account-label {
    color: #4b5563;
}

.account-value-container {
    display: flex;
    align-items: center;
}

.faq-question-icon {
    width: 2rem;
    height: 2rem;
    background-color: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question-icon {
    background-color: #bfdbfe;
}

.payment-section {
    position: relative;
    overflow: hidden;
}

.payment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%233b82f6' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: -1;
}

.payment-row {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-row:nth-child(1) {
    animation-delay: 0.2s;
}

.payment-row:nth-child(2) {
    animation-delay: 0.4s;
}

.payment-row:nth-child(3) {
    animation-delay: 0.6s;
}

/* إضافة أنماط للصورة المكبرة */
.qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1050;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.qr-modal-content {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    max-width: 90%;
    width: auto;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
}

.qr-modal.show {
    display: flex;
}

.qr-modal.show .qr-modal-content {
    transform: scale(1);
    opacity: 1;
}

.qr-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #f3f4f6;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    line-height: 30px;
}

.qr-modal-close:hover {
    background-color: #e5e7eb;
}

.qr-large {
    width: 300px;
    height: 300px;
    margin: auto;
}