* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B1538;
    --secondary-color: #D4AF37;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.modal-icon.error {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.modal-icon.success {
    background: linear-gradient(135deg, #28a745, #2ecc71);
    color: white;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-message {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.modal-btn {
    min-width: 150px;
}

.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6B0F2A 100%);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 10px;
    width: auto;
}

.lang-toggle {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hero-slider {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    max-height: 500px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.slider-btn:hover {
    background: var(--primary-color);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.benefits-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, #e8e8e8 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 48px 25px 25px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    transition: var(--transition);
}

.card.platinum::before { background: linear-gradient(90deg, #E5E4E2, #C0C0C0, #E5E4E2); }
.card.gold::before { background: linear-gradient(90deg, #D4AF37, #FFD700, #D4AF37); }
.card.silver::before { background: linear-gradient(90deg, #C0C0C0, #A8A8A8, #C0C0C0); }
.card.fazaa-discount::before { background: linear-gradient(90deg, #FF6B6B, #FF8E53, #FF6B6B); }

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--secondary-color), #FFD700);
    color: var(--text-dark);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.card-image {
    margin-bottom: 20px;
}

.card-image img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: var(--transition);
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.card.platinum .card-title { color: #71797E; }
.card.gold .card-title { color: #D4AF37; }
.card.silver .card-title { color: #71797E; }
.card.fazaa-discount .card-title { color: #FF6B6B; }

.card-desc {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 10px;
}

.card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.btn {
    font-family: var(--font-dubai, "Dubai", system-ui, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-align: center !important;
    letter-spacing: -0.02em !important;
    
    background: rgba(245, 245, 247, 0.84) !important;
    color: #202020 !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12) !important;
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(200px, 60%) !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    
    margin: 0 0 12px 0 !important;
    align-self: center !important;
    
    cursor: pointer !important;
    flex: 0 0 auto !important;
}
.btn {
    font-family: var(--font-dubai, "Dubai", system-ui, sans-serif) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-align: center !important;
    letter-spacing: -0.02em !important;
    
    background: rgba(245, 245, 247, 0.84) !important;
    color: #202020 !important;
    
    border: 1px solid rgba(0, 0, 0, 0.1) !important; 
    border-radius: 999px !important;
    
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.5) inset, 
        0 4px 10px rgba(0, 0, 0, 0.1),            
        0 0 15px 2px rgba(0, 0, 0, 0.207) !important; 
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(200px, 40%) !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    
    margin: 0 0 12px 0 !important;
    align-self: center !important;
    
    cursor: pointer !important;
    flex: 0 0 auto !important;
}
.btn {
    
    position: relative !important;
    top: 20px !important; 
    
}

.btn {
    
    margin-right: auto !important; 
    margin-left: 0 !important;
    align-self: flex-end !important;
    
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(225, 218, 220, 0.4);
}

/* ===== Card Details ===== */
.card-details {
    margin-top: 20px;
    text-align: right;
}

.card-details summary {
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px;
    border-radius: 10px;
    transition: var(--transition);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.card-details {
    margin-top: 20px;
    text-align: right; 
    margin-right: auto; 
    margin-left: 0;    
    width: 100%;       
}

.card-details summary {
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px;
    border-radius: 10px;
    transition: var(--transition);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    gap: 8px;
    direction: rtl; 
}


.card-details summary::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: var(--transition);
}

.card-details[open] summary::after {
    transform: rotate(180deg);
}

.card-details summary:hover {
    background: rgba(139, 21, 56, 0.1);
}

.features-list {
    list-style: none;
    padding: 20px 0 10px;
    margin-top: 10px;
    border-top: 1px solid #eee;
}

.features-list li {
    padding: 10px 0;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li i {
    color: #4CAF50;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    margin-bottom: 25px;
}

.footer-brand .brand-name {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .card {
        padding: 25px 20px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .card-badge {
        font-size: 10px;
        padding: 4px 30px;
    }
}

.header {
    background-image: url('/images/header1.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    height: auto !important;
    min-height: 100px !important;
    padding: 10px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.header-content {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 0 30px !important;
    position: relative !important;
    z-index: 10 !important;
}

.logo {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.logo img {
    height: 70px !important;
    width: auto !important;
    display: block !important;
}

.nav {
    flex: 0 0 auto !important;
    margin: 0 !important;
}
.section-title-custom {
    float: none !important;
    position: static !important;
    padding: 0 !important;
    border: none !important;
    text-shadow: none !important;
    line-height: normal !important;

    font-size: 18px !important;
    text-align: right !important;
    margin-right: 20px !important;
    margin-left: auto !important;
    display: block !important;
    width: fit-content !important;
    
    margin-top: -20px !important;
    margin-bottom: -5px !important;
}

.section-title-custom::after, 
.section-title-custom::before {
    content: none !important;
    display: none !important;
}