* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

/* إعدادات المتغيرات والألوان */
:root {
    --main-color: #f5d908;
    --dark-bg: #323330;
    --text-color: #333;
    --code-bg: #282c34;
    --code-text: #9ba3b3;
    --code-textt: #5e5b4e;
}



#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    

    /* Or any background color */
    background-image: url('');
    /* Optional: background image */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Cairo', sans-serif;
    background-color: #0f172a;
    color: var(--text-color);
    line-height: 1.8;
    
}

/* Header */
.header {
    text-align: center;
    padding: 40px 20px;
}

.header h1 {
    color: #facc15;
    font-size: 2.5rem;
}

.header p {
    margin-top: 10px;
    color: #94a3b8;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: #020617;
    padding: 15px;

}

.nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.nav a:hover {
    color: #facc15;
}

/* Main */
.main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
}

.card {
    background: #020617;
    padding: 30px;
    border-radius: 15px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}


.card h2 {
    color: #facc15;
    margin-bottom: 15px;
}

.card p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--code-textt)
}

/* Button */
button:not(.fab-main-btn):not(.fab-sub-btn)  {

    background: #facc15;
    color: #020617;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}

button:not(.fab-main-btn):not(.fab-sub-btn):hover {
    transform: scale(1.05);
    background: #fde047;
}



/* FOOTER */
/* الحاوية الرئيسية للفوتر */
.footer {
    /* تدرج لوني فخم */
    padding: 60px 20px 30px;
    margin-top: auto;
    border-top: 1px solid rgba(24acc15, 0.1);
    /* خط ذهبي خفيف جداً */
    position: relative;
    z-index: 10;
    color: #e2e8f0;
}

/* الجزء السفلي (الأيقونات والحقوق) */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* تنسيق أزرار التواصل الاجتماعي */
.social-footer {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    /* حواف ناعمة بدل الدائرة */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

/* ألوان الأيقونات عند التمرير (Hover) */
.social-btn.tiktok:hover {
    background: #000000;
    color: #ff0050;
    border-color: #00f2ea;
}

.social-btn.youtube:hover {
    background: #ff0000;
}

.social-btn.linkedin:hover {
    background: #0a66c2;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.facebOok:hover {
    background: #1877f2;
}

.social-btn:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* حقوق النشر */
.footer-copyright {
    color: #64748b;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}


/* ================================
   Navbar
================================ */

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    z-index: 999;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    color: #facc15;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
}

/* Hover underline */
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: #facc15;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Menu icon */
.menu-icon {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #facc15;
}



/* ================================
   Notification System
================================ */

#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification {
    min-width: 300px;
    background: #020617;
    color: #e5e7eb;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.4s ease forwards;
    position: relative;
}

.notification .icon {
    font-size: 1.4rem;
}

.notification .close-btn {
    margin-right: auto;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.notification .close-btn:hover {
    color: #f87171;
    transform: scale(1.2);
}

.notification.success {
    border-left: 5px solid #22c55e;
}

.notification.error {
    border-left: 5px solid #ef4444;
}

.notification.info {
    border-left: 5px solid #3b82f6;
}

.notification.warning {
    border-left: 5px solid #facc15;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(50px);
    }
}

/* ================================
   Responsive
================================ */

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: #020617;
        width: 100%;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: 0.4s ease;
    }

    .nav-links.active {
        max-height: 300px;
        padding: 15px 0;
    }

    .menu-icon {
        display: block;
    }
}
