* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* BODY //////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
body {
    background: #0f172a;
    color: white;
}

/* NAVBAR //////////////////////////////////////////////////////////////////////////////////////////////////////////// */
.navbar {

    display: flex;
    font-size: x-large;
    padding: 15px 50px;
    background: #030614;
}

.logo {
    font-size: 30px;
    cursor: pointer;
    transition: 0.4s;
}

.logo:hover {

    text-shadow:
        0 0 5px #0ff,
        0 0 10px #0ff,
        0 0 20px #0ff,
        0 0 40px #0ff,
        0 0 80px #0ff;




}

.logo-letter {
    font-size: 50px;
    color: rgb(244, 104, 4);
}

/*...............................................*/
.nav-links {
    left: 160px;
    list-style: none;
    display: flex;
    gap: 82px;
    justify-content: flex-end;
    padding: 10px 30px;
    position: relative;
    /* مهم للـ hover-box */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    text-decoration: none;
    color: #eae2e2;
    padding: 10px 15px;
    display: inline-block;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;

}

.nav-links li a:hover {
    color: #01f42a;
    text-shadow: 0 0 10px #074743, 0 0 20px #ff6b81;
}

.nav-links li a:hover::before {
    width: 100%;
    height: 100%;
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }
}

.hover-box {
    position: absolute;
    top: 0;
    height: 100%;
    background: rgba(241, 141, 1, 0.874);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
    width: 0;
    box-shadow: 0 0 15px rgba(255, 107, 129, 0.5);
}


/* FORMS ////////////////////////////////////////////////////////////////////////////////////// */

.form-box1 {
    margin: 200px;
    float: right;
    background: #020617;
    padding: 33px;
    width: 340px;
    border-radius: 10px;
    box-shadow: 0 0 25px rgb(14, 225, 158);

}

.form-box1 h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-box1 input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    outline: none;
}

.form-box1 button {
    width: 100%;
    padding: 10px;
    background: cyan;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.form-box1 button:hover {
    background: rgb(61, 231, 4);
    transform: scale(1.15);

}

.form-box2 {
    margin: 120px;
    float: left;
    background: #020617;
    padding: 36px;
    width: 360px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgb(14, 225, 158);

}

.form-box2 h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-box2 input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    outline: none;
}

.form-box2 button {
    width: 100%;
    padding: 10px;
    background: cyan;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.form-box2 button:hover {
    background: rgb(88, 230, 22);
    transform: scale(1.15);
}

.section {
    display: none;
    padding: 60px;
    text-align: center;
}

.section.active {
    display: block;
}

#home h1 {
    margin-top: 100px;
    font-size: 40px;
    text-shadow: 0 0 20px cyan;
}

h2 {
    color: rgb(90, 226, 27);
}

/* video Slider //////////////////////////////////////////////////////////////////////////////////*/
.video-slider {
    width: 98%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 5px;
}

.videos {
    display: flex;

    transition: transform 0.6s ease;
}

.videos video {
    width: 400px;
    height: 80%;
    object-fit: cover;
    opacity: 0.3;
    transform: scale(0.8);
    transition: all 1s ease;
    border-radius: 16px;
}

.videos video.active {
    opacity: 1;
    transform: scale(1.1);
    margin: 20%;
    position: relative;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #3a56e2;
    border: none;
    width: 60px;
    height: 60px;
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(224, 14, 14, 0.6);

    z-index: 10;
}

.prev {
    left: 30px;
    box-shadow: 0 0 60px rgb(225, 240, 3);

}

.next {
    right: 30px;
    box-shadow: 0 0 60px rgb(255, 124, 3);
}

/*الصوره ////////////////////////////////////////////////////////////////////////////////////////*/
.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;
    transition: opacity 0.4s ease;
    box-shadow: 0 0 20px greenyellow;

}

.profile-image:hover img {
    opacity: 0.7;
}


@keyframes float {
    0% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(-35px);
    }

    100% {
        transform: translateY(-50%) translateX(0);
    }
}

.profile-image {
    position: absolute;
    right: 200px;
    top: 39%;
    transform: translateY(-50%);
    width: 330px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;


    box-shadow:
        0 0 80px rgba(79, 235, 2, 0.45),
        0 0 80px rgba(231, 0, 0, 0.25);

    animation: float 4s ease-in-out infinite;
    background: #d18603;

}

.progress-section {

    margin: 40px;
    font-family: Arial, sans-serif;
    color: #fff;
}

.progress-section h2 {
    margin-bottom: 15px;

}

.progress-box {
    width: 40%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.progress-bar {
    width: 40%;
    background: #eeb8b8;
    border-radius: 20px;
    overflow: hidden;
    height: 14px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    border-radius: 20px;
    transition: width 0. ease;
    animation: loadProgress 1.5s ease;
}

@keyframes loadProgress {
    from {
        width: 0;
    }
}

/* الكلام من اليمين للشمال khaled mohamed ********************************************************/
body #mark1 {

    opacity: 0;
    transform: translateX(-50px);

    animation: slideInRight 2s forwards;

}

/* تأخير لكل عنصر حسب ترتيبه */
body *:nth-child(1) {
    animation-delay: 0.1s;
}

body *:nth-child(2) {
    animation-delay: 0.3s;
}

body *:nth-child(3) {
    animation-delay: 0.5s;
}

body *:nth-child(4) {
    animation-delay: 0.7s;
}

body *:nth-child(5) {
    animation-delay: 0.9s;
}

/* أضف أكثر إذا عندك عناصر أكتر */

/* تعريف الانيميشن */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-120px);
        /* من الشمال */
    }

    to {
        opacity: 1;
        transform: translateX(0);
        /* للمكان الطبيعي */
    }
}

/* First site ///////////////////////////////////////////////////////////////*/
body #mark3 {

    opacity: 0;
    transform: translateX(-50px);

    animation: slideInRight 7s forwards;

}

/* تأخير لكل عنصر حسب ترتيبه */
body *:nth-child(1) {
    animation-delay: 0.1s;
}

body *:nth-child(2) {
    animation-delay: 0.3s;
}

body *:nth-child(3) {
    animation-delay: 0.5s;
}

body *:nth-child(4) {
    animation-delay: 0.7s;
}

body *:nth-child(5) {
    animation-delay: 0.9s;
}

/* أضف أكثر إذا عندك عناصر أكتر */

/* تعريف الانيميشن */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-120px);
        /* من الشمال */
    }

    to {
        opacity: 1;
        transform: translateX(0);
        /* للمكان الطبيعي */
    }
}

/* كل العناصر تبدأ مخفية وأسفل مكانها 24 years old and graduted from elshrok academy/////////////////////////////////////////////////////*/
body #div66 {
    opacity: 0;
    transform: translateY(50px);
    /* يبدأ أسفل شوي */
    animation: slideInUp 3s forwards;
    /* مدة الحركة 0.8 ثانية */
}

/* تأخير لكل عنصر حسب ترتيبه */
body *:nth-child(1) {
    animation-delay: 0.1s;
}

body *:nth-child(2) {
    animation-delay: 0.3s;
}

body *:nth-child(3) {
    animation-delay: 0.5s;
}

body *:nth-child(4) {
    animation-delay: 0.7s;
}

body *:nth-child(5) {
    animation-delay: 0.9s;
}

/* أضف المزيد إذا عندك عناصر أكتر */

/* تعريف الانيميشن */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
        /* أسفل مكانه */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* المكان الطبيعي */
    }
}

/*بقيت البراجراف ///////////////////////////////////////////////////////////////////*/
body #p01 {
    opacity: 0;
    transform: translateY(100px);
    /* يبدأ أسفل شوي */
    animation: slideInUp 10s forwards;
    /* مدة الحركة 0.8 ثانية */
}

/* تأخير لكل عنصر حسب ترتيبه */
body *:nth-child(1) {
    animation-delay: 0.1s;
}

body *:nth-child(2) {
    animation-delay: 0.3s;
}

body *:nth-child(3) {
    animation-delay: 0.5s;
}

body *:nth-child(4) {
    animation-delay: 0.7s;
}

body *:nth-child(5) {
    animation-delay: 0.9s;
}

/* أضف المزيد إذا عندك عناصر أكتر */

/* تعريف الانيميشن */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
        /* أسفل مكانه */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* المكان الطبيعي */
    }
}

/* ال navbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaarrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr*/
.navbar {

    /* البداية مخفية وفوق الشاشة */
    transform: translateY(-100%);
    opacity: 0;

    /* الانيميشن */
    animation: slideDown 1s forwards;
    animation-delay: 2s;
    /* يظهر بعد 0.2 ثانية من فتح الصفحة */
}

/* تعريف الانيميشن */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* html csssssssssssssssssssssssssssssssssssssssssssssssssssss*/
body #mark4 {

    /* البداية مخفية وفوق الشاشة */
    transform: translateY(-300%);
    opacity: 0;

    /* الانيميشن */
    animation: slideDown 2s forwards;
    animation-delay: 1s;
    /* يظهر بعد 0.2 ثانية من فتح الصفحة */
}

/* تعريف الانيميشن */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* كل الحقوق محفوظاااااااااااااااااااااااااااااااااااااااااا */
.footer {
    font-size: xx-large;
    width: 100%;
    text-align: center;
    /* النص في المنتصف */
    padding: 20px 0;
    background-color: #02081f;
    /* لون الخلفية (اختياري) */
    color: #fff;
    /* لون النص */
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 -2px 10px rgba(187, 165, 165, 0.5);
    /* optional */
}


.footer p {
    margin: 0;
    font-size: x-large;
    /* خط أكبر */
    font-weight: bold;
    color: #fff;
    /* اللون الأساسي */
    transition: 0.3s ease-in-out;
    text-shadow: 0 0 5px #fff;
    /* لمسة أولية للنص */
}

/* Hover نيون قوي */
.footer p:hover {
    color: rgb(0, 255, 255);
    /* لون النيون */
    text-shadow:
        0 0 5px #0ff,
        0 0 10px #0ff,
        0 0 20px #0ff,
        0 0 40px #0ff,
        0 0 80px #0ff;
    /* توهج قوي جدًا */
}

/* ايقونااااااااااااااااااااااااااات الفيس والواتس والانستجرام */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

/* الدوائر الأساسية */
.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background-color: #020617;
    border-radius: 50%;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

/* انعكاس أسفل الأيقونة */
.icon::after {
    content: '';
    position: absolute;
    bottom: -15px;
    /* أسفل الأيقونة أكثر */
    width: 100%;
    height: 20px;
    /* أكبر */
    background: linear-gradient(to top, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    filter: blur(6px);
    /* توهج وضبابية أفضل */
    opacity: 0.9;
    /* زيادة وضوح الانعكاس */
}

/* Neon Hover + تكبير */
.icon:hover {
    color: #0ff;
    box-shadow:
        0 0 10px #0ff,
        0 0 20px #0ff,
        0 0 40px #0ff,
        0 0 80px #0ff;
    transform: scale(1.3);
}

/* ألوان مختلفة لكل أيقونة */
.facebook:hover {
    color: #3b5998;
}

.whatsapp:hover {
    color: #25D366;
}

.instagram:hover {
    color: #E1306C;
}

/* مربع خلف الماوس عند hover */


.icon:hover::before {
    width: 80px;
    height: 80px;
    background: rgba(0, 255, 255, 0.5);
}