/* Samo consolidated styles (Dark Purple Theme) */

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', 'Inter', sans-serif;
    line-height: 1.6;
    color: #e4e4e4;
    background: linear-gradient(135deg, #1a0f1f 0%, #2d1a2d 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #c7a2d1;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(106, 13, 173, 0.4);
}

.subtitle {
    font-size: 1.2rem;
    color: #bdbdbd;
    max-width: 600px;
    margin: 0 auto;
}

.policy-content {
    margin-bottom: 40px;
}

.policy-card {
    background: #251b2b;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(87, 20, 114, 0.4);
    border: 1px solid rgba(160, 97, 173, 0.3);
    overflow: hidden;
}

.policy-section {
    padding: 32px;
    border-bottom: 1px solid rgba(160, 97, 173, 0.2);
    transition: all 0.3s ease;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section:hover {
    background: rgba(160, 97, 173, 0.08);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.section-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6a0dad 0%, #9b4d96 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(106, 13, 173, 0.5);
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #d4b0e6;
    margin: 0;
}

.policy-section p {
    color: #d6d6d6;
    line-height: 1.7;
    font-size: 1rem;
    margin-right: 56px; /* تعديل للغة العربية */
}

.footer {
    text-align: center;
    padding: 30px;
}

.footer-content {
    background: #1e1523;
    border-radius: 15px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.3);
    border: 1px solid rgba(160, 97, 173, 0.3);
}

.footer-content p {
    color: #cccccc;
    margin-bottom: 8px;
}

.footer-content p:last-child {
    margin-bottom: 0;
}

.footer-content strong {
    color: #d4b0e6;
}

/* ===== Dark Purple Theme Overrides (Samo) ===== */

/* Page background */
body {
    background: linear-gradient(135deg, #1e0f26 0%, #2e1b33 100%);
}

/* Header */
.main-title {
    color: #e5c3f0;
    text-shadow: 2px 2px 4px rgba(81, 17, 112, 0.5);
}
.subtitle {
    color: #c9c9c9;
}

/* Card and sections */
.policy-card {
    box-shadow: 0 20px 40px rgba(81, 17, 112, 0.5);
    border: 1px solid rgba(170, 120, 190, 0.35);
}
.policy-section {
    border-bottom: 1px solid rgba(170, 120, 190, 0.2);
}
.policy-section:hover {
    background: rgba(180, 130, 200, 0.08);
}
.section-header h2 {
    color: #e5c3f0;
}
.section-number {
    background: linear-gradient(135deg, #4b0082 0%, #7a3b76 100%);
    box-shadow: 0 4px 12px rgba(75, 0, 130, 0.5);
}

/* Footer */
.footer-content {
    box-shadow: 0 10px 30px rgba(75, 0, 130, 0.4);
    border: 1px solid rgba(170, 120, 190, 0.35);
}
.footer-content strong {
    color: #e5c3f0;
}

/* Links */
a {
    color: #d4b0e6;
    text-decoration: none;
}
a:hover {
    color: #f0d3ff;
}

/* Scrollbar accent */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #2e1b33;
}
::-webkit-scrollbar-thumb {
    background: #6a0dad;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9b4d96;
}

/* Hover accents */
.policy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(106, 13, 173, 0.5);
    transition: all 0.3s ease;
}
.section-number:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.policy-section {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container { padding: 15px; }
    .main-title { font-size: 2.5rem; }
    .subtitle { font-size: 1.1rem; }
    .policy-section { padding: 24px 20px; }
    .section-header h2 { font-size: 1.3rem; }
    .policy-section p { margin-right: 0; margin-top: 16px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
    .main-title { font-size: 2rem; }
    .policy-section { padding: 20px 16px; }
    .section-header h2 { font-size: 1.2rem; }
    .policy-section p { font-size: 0.95rem; }
}

html { scroll-behavior: smooth; }