* {
    box-sizing: border-box;
}

body {
    direction: ltr;
    margin: 0;
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    background-color: #000000e3;


}

.roboto-slab {
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}


.video-background {
    position: fixed;
    /* ثابت في الخلفية */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(5px);
    overflow: hidden;
    z-index: -1;
    /* يخليه ورا المحتوى */
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* يخلي الفيديو يغطي الصفحة بالكامل */
}


::-webkit-scrollbar {
    width: 10px;
    /* عرض الاسكرول */
    color: #263273;
}

::-webkit-scrollbar-track {
    background: #000000;
    /* خلفية المسار */

}

::-webkit-scrollbar-thumb {
    background: #263273;
    border-radius: 10px;
}

.navbar {
    background-color: #000000;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: row;
    align-content: stretch;
    justify-content: flex-start;
    z-index: 1;
    width: 100%;
    height: 60px;
    margin: 0 auto;
    padding: 12px;
    transition: transform 0.5s ease-in-out;
}

.links {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: row;
    height: 37px;
    transition: transform 0.5s ease-in-out;
}

.links a {
    position: relative;
    text-decoration: none;
    padding: 0px 10px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
}

.links a::after {
    transform: scaleX(0);
    content: "";
    position: absolute;
    font-weight: bold;
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    color: white;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: white;
}


.links a:hover::after {
    transform: scaleX(1);
}

.navbar img {
    width: 60px;
    height: 40px;
    transition: transform 0.5s ease-in-out, box-shadow 0.7s ease-in-out;

}

.navbar img:hover {
    transform: scale(1.1);
}


.sections {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.section-one {
    background-image: url(/media/AN.png);
    text-align: center;
    background-size: cover;
    background-position: center;
    margin-bottom: 30px;
    height: 36rem;
    font-size: 30px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom-style: groove;
}

/* سكشن 2 - خلفية لون */
.section-two {
    text-align: left;
    padding: 60px 20px;
    background-size: cover;
    position: relative;
    width: 79rem;
    border-radius: 15px;
    box-shadow: 5px 6px 13px black;
    transform: scale(0.5);
    transition: opacity 1.8s ease, transform 0.8s ease;
    justify-items: center;
    font-size: 24px;
    height: 32rem;
}

.section-two.show {
    opacity: 1;
    transform: scale(1);
}

.section-two p {
    margin-bottom: 40px;
    direction: rtl;
    text-align: start;
    color: #bdbdbd;
    font-weight: bolder;
    font-size: 25px;
}

#serv {
    text-align: start;
    width: 100%;
    direction: ltr;
}

i.fa-solid,
#serv i.fa-brands {
    color: #2c92f1;
    font-size: 30px;
    padding: 10px 0px;
}

p {
    margin-bottom: 40px;
    text-align: center;
}

li {
    text-align: start;
    color: #0077ff;
    font-weight: bolder;
}

.section-two h2 {
    color: #ffffff;
    text-align: center;
    background: linear-gradient(307deg, #1d8af0ef);
    box-shadow: 0px 0px 10px 5px #1158a8;
    height: 37px;
    text-shadow: 3px 5px 5px #000000;
    justify-items: center;
    font-size: 29px;
    position: relative;
    bottom: 30px;

    width: 15%;
    border-radius: 15px;
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out, text-shadow 0.6s ease-in-out;
}

.section-two h2:hover {
    transform: translateY(-5px);
    box-shadow: -2px -3px 18px 5px #1158a8;
    text-shadow: -3px -5px 5px #000000;

}


/* سكشن 3 - خلفية جريدينت */
.section-three {
    text-align: center;
    position: relative;
    justify-items: center;
    width: 79rem;
    border-radius: 15px;
    box-shadow: 5px 6px 13px black;
    transform: scale(0.5);
    transition: opacity 1.8s ease, transform 0.8s ease;
}

.section-three.show {
    opacity: 1;
    transform: scale(1);
    padding: 50px 0px;
}

.section-three h2 {
    color: #ffffff;
    background: linear-gradient(307deg, #1d8af0ef);
    box-shadow: 0px 0px 10px 5px #1158a8;
    height: 37px;
    text-shadow: 3px 5px 5px #000000;
    justify-items: center;
    position: relative;
    bottom: 30px;
    font-size: 29px;
    width: 15%;
    border-radius: 15px;
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out, text-shadow 0.6s ease-in-out;
}

.section-three h2:hover {
    transform: translateY(-5px);
    box-shadow: -2px -3px 18px 5px #1158a8;
    text-shadow: -3px -5px 5px #000000;

}

.section-four {
    text-align: center;
    padding: 60px 20px;
    justify-items: center;
    opacity: 0;
    /* border: white; */
    position: relative;
    /* background-color: #ffffffb0; */
    width: 79rem;
    border-radius: 15px;
    box-shadow: 0px 10px 26px #000000;
    transform: scale(0.5);
    transition: opacity 1.8s ease, transform 0.8s ease;
}


.section-four h2 {
    color: #ffffff;
    background: linear-gradient(307deg, #1d8af0ef);
    box-shadow: 0px 0px 10px 5px #1158a8;
    height: 37px;
    text-shadow: 3px 5px 5px #000000;
    justify-items: center;
    position: relative;
    bottom: 30px;
    font-size: 29px;

    width: 15%;
    border-radius: 15px;
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out, text-shadow 0.6s ease-in-out;
}

.section-four h2:hover {
    transform: translateY(-5px);
    box-shadow: -2px -3px 18px 5px #1158a8;
    text-shadow: -3px -5px 5px #000000;

}


.section-four.show {
    opacity: 1;
    transform: scale(1);
}


.section-five {
    text-align: center;
    padding: 60px 20px;
    justify-items: center;
    opacity: 0;
    /* border: white; */
    position: relative;
    /* background-color: #ffffffb0; */
    width: 79rem;
    border-radius: 15px;
    box-shadow: 0px 10px 26px #000000;
    transform: scale(0.5);
    transition: opacity 1.8s ease, transform 0.8s ease;
}


.section-five h2 {
    color: #ffffff;
    background: linear-gradient(307deg, #1d8af0ef);
    box-shadow: 0px 0px 10px 5px #1158a8;
    height: 37px;
    text-shadow: 3px 5px 5px #000000;
    justify-items: center;
    position: relative;
    bottom: 30px;
    font-size: 29px;

    width: 15%;
    border-radius: 15px;
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out, text-shadow 0.6s ease-in-out;
}

.section-five h2:hover {
    transform: translateY(-5px);
    box-shadow: -2px -3px 18px 5px #1158a8;
    text-shadow: -3px -5px 5px #000000;

}


.section-five.show {
    opacity: 1;
    transform: scale(1);
}



li a {
    text-align: start;
    color: #0077ff;
    font-weight: bolder;
    text-decoration: none;
}

.social-media {
    font-size: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    border-radius: 13px;
}


.social-media #face {
    color: blue;
    text-decoration: none;
}

.social-media #whats {
    color: #02ad02;
    text-decoration: none;
}

.social-media #insta {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 5px 15px rgb(0 0 0);
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* Hover Effect */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 35px #0077ff;

}

/* Card Title */
.card h3 {
    color: #0077ff;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: bolder;
}

/* Card Text */
.card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.card img {
    width: 100px;
    transition: transform 0.8s ease;
}

.card img:hover {
    transform: rotate(360deg);

}






.p1 {
    font-size: 20px;
    font-weight: bold;
}



.container {
    width: 100%;
    position: relative;
    display: flex;
    overflow: hidden;
    flex-wrap: nowrap;
    justify-content: center;
}

.gallery img {
    width: 20%;
    height: 50%;
    display: flex;
    border-radius: 27px;
    padding: 12px;
    flex-wrap: wrap;
}



.icons {
    display: flex;
    gap: 60px;
    margin: 0 auto;
    justify-content: center;
    padding: 10px;

}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    display: inline-flex;
    align-items: center;
    text-align: center;
    position: relative;
    top: 5px;
}

.fa-whatsapp {
    color: #02ad02;
    transition: transform 0.3s ease-in-out;
    font-size: 50px;

}

.fa-whatsapp:hover {
    transform: scale(1.1);
}

.fa-facebook {
    color: blue;
    transition: transform 0.3s ease-in-out;
    font-size: 50px;

}

.fa-facebook:hover {
    transform: scale(1.1);

}


.fa-instagram {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease-in-out;
    font-size: 50px;

}

.fa-instagram:hover {
    transform: scale(1.1);

}



footer {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    padding: 20px;
    margin-top: 10px;
    color: white;
    background-color: #000000db;
}

.hamburger {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* 📱 موبايل صغير (أقل من 576px) */
@media (max-width: 576px) {
    .navbar {
        flex-direction: column;
        height: auto;
        justify-content: center;
    }

    .section-two p {
        font-size: 15px;

    }

    .section-two,
    .section-three,
    .section-four,
    .section-five {
        width: 95%;
        height: auto;
        padding: 30px 15px;
        font-size: 20px;
    }

    .links {
        flex-direction: column;
        gap: 10px;
    }

    .links a {
        font-size: 16px;
        padding: 5px;
    }

    .navbar img {
        width: 50px;
        height: 35px;
        margin-bottom: 8px;
    }

    .section-one {
        height: 20rem;
        font-size: 20px;
        background-image: url('/media/2.png');
    }

    .section-two,
    .section-three,
    .section-four,
    .section-five{
        width: 100%;
        height: auto;
        padding: 20px;
        font-size: 18px;
    }

    .section-two h2,
    .section-three h2,
    .section-four h2,
    .section-five h2 {
        width: 60%;
        font-size: 22px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .gallery img {
        width: 90%;
        height: auto;
    }

    .icons {
        gap: 40px;
    }

    .social-media {
        font-size: 20px;
        display: flex;
        justify-content: center;
        gap: 15px;
        border-radius: 13px;
    }
    .links.open {
        height: 350px;
        border-radius: 15px;
        top: 68px;
    }
}

/* 💻 لابتوب (من 769px لحد 1200px) */
@media (max-width: 1200px) {

    .section-two,
    .section-three,
    .section-four {
        width: 90%;
        font-size: 22px;
    }

    .section-two h2,
    .section-three h2,
    .section-four h2 {
        width: 25%;
    }

    .gallery img {
        width: 30%;
    }
}

/* 🖥 شاشات كبيرة جداً (أكبر من 1600px) */
@media (min-width: 1600px) {
    .section-one {
        height: 45rem;
        font-size: 35px;
    }

    .section-two,
    .section-three,
    .section-four {
        width: 85%;
        font-size: 26px;
    }

    .section-two h2,
    .section-three h2,
    .section-four h2 {
        width: 20%;
        font-size: 32px;
    }

    .gallery img {
        width: 18%;
    }
}

@media (max-width: 768px) {
    .navbar {
        justify-content: space-between;
        padding: 10px;
        display: flex;
        flex-direction: row;
        direction: rtl;
    }

    .section-two p {
        font-size: 15px;

    }

    .links a {
        font-size: 18px;
        padding: 0 8px;
    }

    .section-two,
    .section-three,
    .section-four,
    .section-five {
        width: 95%;
        height: auto;
        padding: 30px 15px;
        font-size: 20px;
    }

    .section-two h2,
    .section-three h2,
    .section-four h2 {
        width: 40%;
    }

    .gallery img {
        width: 45%;
        height: auto;
    }

    .cards {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hamburger {
        display: block;
    }

    .links {
        height: 275px;
        border-radius: 15px;
        position: absolute;
        top: 68px;
        background: #000000;
        flex-direction: column;
        width: 200px;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }

    .links a {
        padding: 15px;
        border-bottom: 1px solid #555;
    }

    /* عند الفتح */
    .links.open {
        height: 350px;
        border-radius: 15px;
        top: 68px;
    }


}