@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');


body {
    margin: 0;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    color: #333;
    background-color: #f4f4f4;
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

a {
    text-decoration: none;
    color: inherit;
}





/* خلفية الشاشة */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}


/* الحروف */
.letters span {
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
    opacity: 0;
    animation: fadeInScale 1.5s forwards;
    margin: 0 10px;
    text-shadow: 0 0 15px #6a5acd, 0 0 30px #8a2be2;
}

    .letters span:nth-child(1) {
        animation-delay: 0s;
    }

    .letters span:nth-child(2) {
        animation-delay: 0.5s;
    }

    .letters span:nth-child(3) {
        animation-delay: 1s;
    }

/* حركة الحروف */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.3);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Header */
header {
    background-color: #2c3e50;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: #1a252f;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    
}

    .logo img {
        width: 165px;
        height: 130px;
        /* object-fit: cover; */
        border-radius: 29px;
    }

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    font-size: 17px;
}

.nav-menu li {
    margin-inline-end: 1.5rem;
}

.nav-menu li a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, snow, #fdfdfd);
    color: black;
    font-weight: bold;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.nav-menu li a::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, rgba(255,255,255,0.7), transparent 30%, transparent 70%, rgba(255,255,255,0.7));
    animation: spin 6s linear infinite;
    z-index: 1;
}

.nav-menu li a span {
    position: relative;
    z-index: 2; /* عشان النص يظهر فوق اللمعة */
}

.nav-menu li a:hover {
    color: #ff00cc;
    background: linear-gradient(135deg, #fff, #ffe6f7);
    box-shadow: 0 0 20px rgba(255,0,204,0.7), 0 0 40px rgba(255,0,204,0.5);
    transform: scale(1.05);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/*========================================= end of nav bar============================================= */


/* .nav-menu li a:hover {
    color: #18bc9c;
} */


section#home {
    margin-top: 135px;
}


/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}



.hero-content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    z-index: 4;
    max-width: 80%;
    padding: 3rem;

    background: rgba(0, 0, 0, 0.55);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 0, 200, 0.4), 
                0 0 80px rgba(0, 200, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}



.waves {
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: conic-gradient( from 0deg, rgba(133, 242, 242, 0.15), /* #85F2F2 */
    transparent 60%, rgba(4, 196, 217, 0.15) /* #04C4D9 */
    );
    border-radius: 45%;
    animation: waves 15s linear infinite;
    z-index: 1;
}

    .waves::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: conic-gradient( from 180deg, rgba(21, 57, 89, 0.1), /* #153959 */
        transparent 70%, rgba(242, 242, 242, 0.15) /* #F2F2F2 */
        );
        border-radius: 45%;
        animation: waves 25s linear infinite reverse;
    }


/* الموجات السحرية */

/*
.waves {
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: conic-gradient(from 0deg, rgba(255,0,200,0.15), transparent 60%, rgba(0,200,255,0.15));
    border-radius: 45%;
    animation: waves 15s linear infinite;
    z-index: 1;
}

.waves::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 180deg, rgba(0,255,200,0.1), transparent 70%, rgba(255,200,0,0.15));
    border-radius: 45%;
    animation: waves 25s linear infinite reverse;
}

*/



.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient( 90deg, #85F2F2, /* فيروزي فاتح */
    #04C4D9, /* سماوي داكن */
    #153959 /* كحلي داكن */
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowText 3s ease-in-out infinite;
    text-shadow: 0 0 25px rgba(242, 242, 242, 0.9), /* أقوى وأفتح */
    0 0 50px rgba(133, 242, 242, 0.8); /* إضافة توهج فيروزي فاتح */
}




/* النص */
/*.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ff00cc, #00ffff, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowText 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255,255,255,0.6);
}*/

.hero-content p {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 2rem;
    animation: fadeIn 2s ease forwards;
}



.hero_one_word {
    display: inline-block;
    background: linear-gradient(90deg, #85F2F2, #04C4D9); /* من نفس الهوية */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none; /* إزالة الشادو */
    font-weight: 900;
}



.hero-content .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    background: linear-gradient(135deg, #ff00cc, #00ffff);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(0,255,255,0.4);
    position: relative;
    overflow: hidden;
}

.hero-content .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255,0,200,0.7), 0 0 50px rgba(0,255,255,0.5);
}

/* الحركات */
@keyframes waves {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.05); }
}

/*@keyframes glowText {
    0%, 100% { text-shadow: 0 0 20px rgba(255,255,255,0.7), 0 0 40px rgba(255,0,200,0.5); }
    50% { text-shadow: 0 0 40px rgba(0,255,255,0.8), 0 0 80px rgba(255,200,0,0.6); }
}*/



@keyframes glowText {
    0%, 100% {
        text-shadow: 0 0 20px rgba(133, 242, 242, 0.7), /* #85F2F2 */
        0 0 40px rgba(4, 196, 217, 0.5); /* #04C4D9 */
    }

    50% {
        text-shadow: 0 0 40px rgba(21, 57, 89, 0.8), /* #153959 */
        0 0 80px rgba(242, 242, 242, 0.6); /* #F2F2F2 */
    }
}



@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}







.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn {
    background-color: #18bc9c;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    background-color: #2c3e50;
}

/* Swiper Slider */
.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}




.magic-particles::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: particles 20s linear infinite;
    opacity: 0.5;
}

/* Sections */
section {
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #18bc9c;
    margin: 1rem auto 0;
}

/* Services */
.services {
    background: linear-gradient(to bottom, #f4f4f4, #e0f7fa);
    position: relative;
    overflow: hidden;
}

.services .magic-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.services .service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.card {
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    padding: 2rem;
    margin: 1rem;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    animation: slideUp 1s ease-out;
    text-align: center;
}

.card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 12px 24px rgba(24,188,156,0.3);
    background: linear-gradient(135deg, #ffffff, #d1f2eb);
}

.card i {
    font-size: 3.5rem;
    color: #18bc9c;
    margin-bottom: 1rem;
    display: block;
    animation: magicPulse 2s infinite ease-in-out;
}

.card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.card p {
    color: #555;
}

/* Projects */

section#projects {
    margin-bottom: 70px;
}


.projects .project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44,62,80,0.8);
    color: #fff;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    text-align: right;
}



.more-link{
    color: #18bc9c;
    text-decoration:underline;
    background-color: #2c3e50;
    padding: 5px;
    border-radius: 10px;
    font-weight: bold;
}



.project-item:hover .overlay {
    transform: translateY(0);
}





#projects-details {
    position: relative;
/*    height: 111vh;*/
    height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

    #projects-details::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
        z-index: 1;
    }

    #projects-details .overlay {
        position: relative;
        z-index: 2;
        text-align: center;
        animation: fadeIn 2s ease-in-out;
        border-radius: 10px;
        top: -5em;
    }

    #projects-details h1 {
        font-size: 3rem;
        font-weight: bold;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 3px;
        text-shadow: 0 0 15px rgba(255,255,255,0.7), 0 0 30px rgba(0,0,0,0.8);
        animation: glow 2s ease-in-out infinite alternate;
    }


.category-design {
    background: url('../webImage/detailsImage.jpg') no-repeat center/cover;
    background-size: cover;
}







@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #00c6ff, 0 0 40px #00c6ff;
    }

    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #00c6ff, 0 0 60px #00c6ff;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}















#magic-design {
    position: relative;
    width: 100%;
    height: 80vh;
    background: url('../webImage/interoreD.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    #magic-design .magic-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.45);
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0 20px;
        z-index: 2;
    }

    #magic-design .magic-text h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
        color: #fff;
        font-weight: 900;
        margin-bottom: 15px;
        line-height: 1.2;
        text-shadow: 0 0 20px rgba(0,0,0,0.7);
    }

    #magic-design .magic-text p {
        font-size: 1.25rem;
        color: #f0f0f0;
        max-width: 650px;
        margin-inline: auto 0;
        margin-bottom: 25px;
        line-height: 1.6;
        text-shadow: 0 0 10px rgba(0,0,0,0.6);
        padding: 10px;
    }

.cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(90deg, #18bc9c, #1abc9c);
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    }

/* Responsive */
/*@media (max-width: 768px) {
    #magic-design .magic-text h1 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    #magic-design .magic-text p {
        font-size: 1rem;
    }
}*/






/*Projects Gallery*/


/* القسم العام */
.all-projects {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a2e, #162447);
    color: #fff;
    text-align: center;
    margin-top: 111px;
}

    .all-projects h2 {
        font-size: 3rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 0 0 15px rgba(255,255,255,0.6);
        color: #18bc9c;
        margin-bottom: 10px;
        animation: glow 2s ease-in-out infinite alternate;
    }

.projects-subtitle {
    font-size: 1.25rem;
    color: #f0f0f0;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    font-style: italic;
}

/* Grid Projects */
.our-project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* عمودين فقط */
    gap: 25px;
}

/* Project Item */
.our-project-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
}

    .our-project-item img {
        width: 100%;
        display: block;
        transition: transform 0.5s ease;
        border-radius: 15px;
    }

    .our-project-item:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    }

        .our-project-item:hover img {
            transform: scale(1.15);
        }

/* Overlay */
.por-projects-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(24,188,156,0.85);
    color: #fff;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.5s ease, background 0.5s ease;
    text-align: right;
    border-radius: 0 0 15px 15px;
}

.our-project-item:hover .por-projects-overlay {
    transform: translateY(0);
    background: rgba(24,188,156,0.95);
}

/* Titles & Description */
.por-projects-overlay h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255,255,255,0.7);
}

.por-projects-overlay p {
    font-size: 0.95rem;
    line-height: 1.5;
    max-height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* More Link */
/*.more-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(90deg, #ffd700, #ff6ec7);
    color: #fff;
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

    .more-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 25px rgba(255,255,255,0.8);
    }*/



.more-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    background: linear-gradient(90deg, #85F2F2, #04C4D9, #153959);
    color: #fff;
    box-shadow: 0 0 15px rgba(133, 242, 242, 0.6); /* فيروزي فاتح */
    transition: all 0.3s ease;
}

    .more-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 25px rgba(4, 196, 217, 0.9); /* توهج أزرق سماوي عند التحويم */
    }





/* Glow effect */
@keyframes glow {
    0% {
        text-shadow: 0 0 5px #18bc9c, 0 0 10px #1abc9c;
    }

    50% {
        text-shadow: 0 0 10px #18bc9c, 0 0 20px #1abc9c;
    }

    100% {
        text-shadow: 0 0 15px #18bc9c, 0 0 30px #1abc9c;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .all-projects h2 {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .projects-subtitle {
        font-size: 1rem;
    }

    .por-projects-overlay p {
        max-height: 100px;
    }
}


/*============================================Services=====================================*/


/* القسم العام */
.services-page-section {
    padding: 80px 20px;
    background: #f4f7f9;
    text-align: center;
}

/* Header */
.services-page-header h1 {
    font-size: 3rem;
    color: #18bc9c;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin-top: 100px;
}

.services-page-subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 750px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Cards Grid */
.services-page-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Card */
.services-page-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .services-page-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

    .services-page-card i {
        font-size: 3rem;
        color: #18bc9c;
        margin-bottom: 15px;
    }

    .services-page-card h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: #333;
    }

    .services-page-card p {
        font-size: 1rem;
        color: #666;
        line-height: 1.5;
    }















.certificates-page {
    padding: 60px 20px;
    background: #f8f9fa;
    text-align: center;
}

.certificates-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #222;
}

.certificates-header p {
    max-width: 750px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.certificates-header .highlight {
    color: #d4a017;
    font-weight: bold;
}

.certificates-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-content: center;
}

.certificate-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .certificate-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    }

    .certificate-card img {
        width: 100%;
/*        height: 180px;*/
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .certificate-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: #333;
    }

    .certificate-card p {
        font-size: 0.95rem;
        color: #666;
        line-height: 1.6;
    }












.about-page {
    padding: 60px 20px;
    background: #fff;
    color: #333;
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

    .about-header h2 {
        font-size: 2.3rem;
        margin-bottom: 15px;
        color: #222;
    }

    .about-header p {
        max-width: 800px;
        margin: 0 auto;
        font-size: 1.1rem;
        line-height: 1.8;
        color: #555;
    }

    .about-header .highlight {
        color: #d4a017;
        font-weight: bold;
    }

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.4rem;
    margin: 20px 0 10px;
    color: #222;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

    .about-text ul li {
        position: relative;
        margin: 10px 0;
        padding-left: 25px;
        font-size: 1rem;
        color: #555;
    }

        .about-text ul li::before {
            content: "✔";
            position: absolute;
            left: 0;
            color: #d4a017;
            font-weight: bold;
        }

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.about-cta {
    margin-top: 25px;
}

.btn-contact {
    display: inline-block;
    padding: 12px 25px;
    background: #d4a017;
    color: #fff;
    font-size: 1rem;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s ease;
}

    .btn-contact:hover {
        background: #b89012;
    }




















/* About */
    .about {
    position: relative;
    padding: 5rem 2rem;
    text-align: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #0f0f0f, #101820, #1c1c1c);
}

.about-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, rgba(0,255,200,0.15), transparent 60%, rgba(255,0,200,0.2));
    animation: spin 25s linear infinite;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, #ff00cc, #00ffff, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 3s ease-in-out infinite;
}

.about p {
    font-size: 1.3rem;
    line-height: 1.9;
    color: #f0f0f0;
    animation: fadeIn 2s ease forwards;
}

    .about p .highlight {
        color: #00ffff;
        font-weight: bold;
        text-shadow: 0 0 10px rgba(0,255,255,0.6);
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 15px rgba(255,255,255,0.7), 0 0 30px rgba(255,0,200,0.5);
    }

    50% {
        text-shadow: 0 0 30px rgba(0,255,255,0.9), 0 0 60px rgba(255,200,0,0.6);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}












.team {
    position: relative;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.team-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, rgba(255,0,200,0.15), transparent 60%, rgba(0,200,255,0.2));
    animation: spin 30s linear infinite;
    z-index: 0;
}

.team-content {
    position: relative;
    z-index: 2;
}

.team h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #ff00cc, #00ffff, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 3s ease-in-out infinite;
}

.team p {
    color: #ddd;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    -webkit-font-smoothing: antialiased; /* ثبات النص */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.team-member {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

    .team-member img {
        width: 100%;
/*        height: 240px;*/
         height:auto;
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 1rem;
        box-shadow: 0 0 20px rgba(0,255,255,0.2);
    }

    .team-member h3 {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
        color: #fff;
    }

    .team-member span {
        font-size: 18px;
        font-weight:bold;
        color: #aaa;
    }

    .team-member:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 0 25px rgba(255,0,200,0.4), 0 0 40px rgba(0,255,255,0.3);
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255,255,255,0.7), 0 0 40px rgba(255,0,200,0.5);
    }

    50% {
        text-shadow: 0 0 40px rgba(0,255,255,0.8), 0 0 80px rgba(255,200,0,0.6);
    }
}













/* Contact */
.contact form {
    max-width: 500px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.contact input, .contact textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: inherit;
}

.contact button {
    justify-self: center;
}

/* Footer */
.footer {
    position: relative;
    padding: 3rem 1.5rem;
    color: #fff;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, #0f0f0f, #1c1c1c, #111);
}

.footer-overlay {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, rgba(255,0,200,0.2), transparent 40%, rgba(0,200,255,0.25));
    animation: rotateBg 30s linear infinite;
    z-index: 0;
}

.footer-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about h2,
.footer-location h2,
.footer-social h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ff00cc, #00ffff, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-about p,
.footer-location p {
    line-height: 1.7;
    color: #eee;
}

.map iframe {
    border-radius: 15px;
    margin-top: 1rem;
    box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        border-radius: 50%;
        background: rgba(255,255,255,0.05);
        border: 2px solid rgba(255,255,255,0.2);
        transition: 0.3s;
        box-shadow: 0 0 15px rgba(255,255,255,0.1);
    }

        .social-icons a:hover {
            transform: scale(1.15) rotate(10deg);
            box-shadow: 0 0 20px rgba(255,0,200,0.7), 0 0 40px rgba(0,255,255,0.5);
        }

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    position: relative;
    z-index: 2;
}

    .footer-bottom p {
        font-size: 0.9rem;
        color: #ccc;
    }

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes particles {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

@keyframes magicPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes sparkle {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}






/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 0;
        background-color: #2c3e50;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 1rem 0;
        padding: 0 2rem;
        text-align: right;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        max-width: 90%;
    }

    .hero-content {
        width: 100%;
        padding: 1rem;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: 300px;
        margin: 1rem auto;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .contact form {
        width: 90%;
    }

    .swiper-slide img {
        width: 100%;
        height: 305px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {

    .hero-content {
        width: 100%;
        top: 39%;
        height: 245px;
    }



        .hero-content h1 {
            font-size: 20px;
            margin-top: 53px;
        }

    .hero-content p {
        font-size: 15px;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }



    .about-overlay, .team-overlay{

    width:10%;
    height:10%
    }


    .our-project-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }


}