@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {

    font-family: "Poppins", system-ui;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* اقرا عن هذل لبموضوع */

    scroll-behavior: smooth;

}

header {
    background-color: #ffffff00;
    width: 100%;
    position: fixed;
    z-index: 999;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 150px;
    /* راجع هذه المعلوومة  */


}

.logo {
    text-decoration: none;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.9em;
    /* افهم معلومةة الفونت سايز  */

}

.logoo {
    color: #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logoo h3 {
    display: flex;

    text-decoration: none;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.7em;
}

.shaky:hover {
    animation: shake 0.3s;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    50% {
        transform: translateX(3px);
    }

    75% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(0);
    }
}

.navigation a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 500;
    padding-left: 30px
}



section {

    padding: 50px 80px
}

.main {
    position: relative;
    /* مهم لخلي الفيديو داخلها */
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* لمنع ظهور أشرطة التمرير بسبب الفيديو */
}

.mainn {
    position: fixed;
    /* مهم لخلي الفيديو داخلها */
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;

}

.mainn .video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* الفيديو يغطي العنصر بالكامل */
    z-index: -1;
    /* نضعه خلف المحتوى */
}

/* ضبط الفيديو ليكون خلفية */
.main .video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* الفيديو يغطي العنصر بالكامل */
    z-index: -1;
    /* نضعه خلف المحتوى */
}


.main h2 {
    color: rgb(255, 255, 255);
    font-size: 1.4em;
    font-weight: 700;

}

.main h2 span {

    margin-top: 10px;
    color: #ffffff;
    font-size: 2em;
    font-weight: 600;

}

.main h3 {
    font-size: 1em;
    color: rgb(255, 255, 255);
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px
}

.main-btn {

    color: rgb(255, 255, 255);
    background-color: #0d4919;
    text-decoration: none;
    padding: 0.9375em 2.1875em;
    font-weight: 500;
    font-size: 1.1em;
    display: inline-block;
    letter-spacing: 1px;
    border-radius: 15px;
    transition: 0.7s ease;
    margin-bottom: 20px
}

/* .main-btn:hover {
    background-color: red;
    transform: scale(1.1)
} */

.social-icons a {
    display: inline-block;
    color: rgb(255, 255, 255);
    font-size: 1.7em;
    margin-right: 30px;
    /* لإضافة مسافة بين الأيقونات */
}


.title {

    display: flex;
    justify-content: center;
    color: #ffffff;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 30px
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap
}

.card {

    background-color: #fff;
    width: 15em;
    box-shadow: 0 10px 10px rgb(255, 255, 255);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
    display: inline-block;


}

.card:hover {

    transform: scale(1.1);
}

.icon {
    color: #ffffff;
    font-size: 8em;
    text-align: center
}

.info {
    text-align: center;


}

.info a {
    text-decoration: none;


}

.info h3 {
    color: #000000;
    font-size: 1.2em;
    font-weight: 700;
    margin: 5px;
    text-align: center;
    letter-spacing: 1.5px;
    text-transform: capitalize;
    overflow: hidden;
    text-overflow: ellipsis;
}

.projects {

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
    /* 30px يمين ويسار */

    /* دعم Safari */
}

.projects .content {
    margin-top: 30px;
}

.project-card {


    background-color: #f0f0f0;
    border: 5px solid #fff;
    min-height: 14em;
    width: 15em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;
    box-shadow: 5px 5px 5px 5px rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;

}

.project-card:hover {
    transform: scale(1.1);

}

.project-image img {
    width: 100%;
}

.project-card:hover .project-image {
    opacity: 0.9;
}

.project-info {
    padding: 0.5em;

}

.project-category {
    font-size: 0.8em;
    color: #000;

}

.project-title {

    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    margin-top: 5px;

}

.more-details {
    text-decoration: none;
    color: #0d4919;
    transition: 0.7s ease;

}

.more-details:hover {
    color: #0d4919;
    transform: scale(1.1)
}

.tit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    color: white;
    position: relative;
    z-index: 2;
    width: 100%;
    /* عشان يظهر فوق الفيديو */
}

.tit h2 {
    font-size: 24px;
    margin: 0;
    color: #fff;
}

.pho img {
    width: 400px;
    height: auto;
}


.footer {
    position: relative;
    background-color: #0d491900;
    color: #fff;
    font-size: 20px;
    padding: 0 60px 0 30px;
    display: flex;
    justify-content: space-between;
    z-index: 5000;

}

.footer span {
    color: #ffffff;
    font-weight: 100
}

.footer .social-icons a {
    color: #f0f0f0
}

@media (max-width:1023px) {

    header {
        padding: 12px 20px;

    }

    .navigation a {
        padding-left: 10px;
    }

    .titel {
        font-size: 1.8em;
    }

    section {
        padding: 80px 20px;
    }

    .main-cintent h2 {
        font-size: 1em;
    }

    main-content h3 {
        font-size: 1.6em;
    }

    .content {
        flex-direction: column;
        align-items: center;
    }

}

@media (max-width:641px) {
    body {

        font-size: 12px;

    }

    .amin-content h3 {
        font-size: 1.4em;

    }



}

@media(max-widt:300px) {
    body {
        font-size: 10px;
    }
}

/* .tech-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 900px;
    margin: auto;
    font-family: 'Segoe UI', sans-serif;
}

.tech-columns div {
    background-color: #f9f9f9;
    padding: 10px;
    border-left: 4px solid #8ea359;
    font-size: 1em;
} */
.tech-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
    gap: 20px;

    /* مهم: حتى يظهر السكروول */
    width: 100%;
    white-space: nowrap;
}

.tech-item {
    min-width: 220px;
    /* مهم: حتى تتجاوز عرض الحاوية */
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    flex-shrink: 0;
    /* ما يخلي العنصر يصغر */
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
}


.divider {
    border: none;
    height: 2px;
    background-color: #ccc;
    margin: 40px auto;
    width: 80%;
}

.locations-section {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
    text-align: center;
}

.location-image img {
    width: 50%;
    max-width: px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}


/* carjavascrpt */

/* للخلفية الشفافة */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* عند الضغط: الكرت يكبر */
.card.enlarged {
    transform: scale(1.2);
    transition: transform 0.3s ease;
    z-index: 1100;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    cursor: default;
}

/* افتراضي الكرت */
.card {
    transition: transform 0.3s ease;
    cursor: pointer;
}



/* .whatsapp */

.whatsapp-button {
    position: fixed;
    /* ثبته في مكانه مهما الصفحة تتحرك */
    bottom: 20px;
    /* 20 بكسل من تحت */
    right: 20px;
    /* 20 بكسل من اليمين */
    width: 60px;
    /* حجم الأيقونة */
    height: 60px;
    z-index: 1000;
    /* يكون فوق كل شيء */
    cursor: pointer;
    /* شكل المؤشر */
    transition: transform 0.3s ease;
}

.whatsapp-button img {
    width: 100%;
    height: 100%;
    color: #ccc;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    /* تكبير بسيط عند المرور */
}


/* emile */
.email-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: auto;
}

.email-form label {
    color: wheat;
}

.email-form input,
.email-form textarea {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #000000;
}

.email-form button {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

/* Responsive for tablets and smaller devices */
@media (max-width: 992px) {
    .container {
        width: 95%;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .hero-section h2 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .btn {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Responsive for mobile phones */
@media (max-width: 576px) {
    .navbar .logo {
        font-size: 1.4rem;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .hero-section h2 {
        font-size: 1.6rem;
    }

    .hero-section p {
        font-size: 0.9rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .footer {
        font-size: 0.8rem;
    }
}