﻿/* كود الـ CSS الجديد هنا */
:root {
    --dark-bg: #0f0f1a;
    --dark-card: #1a1a2e;
    --primary: #4cc9f0; /* اللون الأزرق المضيء */
    --secondary: #f72585; /* اللون الوردي المضيء */
    --text: #e2e2e2;
    --text-light: #a1a1a1;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: rgba(26, 26, 46, 0.9);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(76, 201, 240, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .logo img {
        background-image: url('../img/logo_header_250.png');
        height: 70px;
        width: auto;
    }

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

    nav a:hover {
        color: var(--primary);
    }

    nav a::after {
        content: "";
        position: absolute;
        bottom: -5px;
        right: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width 0.3s ease;
    }

    nav a:hover::after {
        width: 100%;
        left: 0;
    }

footer {
    background-color: var(--dark-card);
    padding: 40px 0;
    border-top: 1px solid rgba(76, 201, 240, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

    .footer-logo img {
        height: 30px;
    }

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.footer-about p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

    .social-links a {
        color: var(--text-light);
        font-size: 1.3rem;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            color: var(--primary);
            transform: translateY(-3px);
        }

.footer-links h3,
.footer-contact h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-links h3::after,
    .footer-contact h3::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 50px;
        height: 2px;
        background: var(--secondary);
    }

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .footer-links a:hover {
        color: var(--primary);
        padding-right: 10px;
    }

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-light);
}

    .contact-item i {
        color: var(--primary);
        width: 20px;
    }

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(76, 201, 240, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .main-card p {
        font-size: 1.2rem;
    }

    .button {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}
