/* خطوط وخلفيات */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}


body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    background: #f9fafb;
    color: #333;
    scroll-behavior: smooth;
    direction: rtl;
}

header {
    background: #081f5c;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}


.profile {
    
    width: 100px;
    height: 120px;
    border-radius: 50%;
    border: 0px solid #fff;
    transition: 0.2s ease-in-out;
    filter: grayscale(10%);
    margin-right: 00px;
}


.logo::after{
    content: "";
    margin-right: 20px;
    display: inline-block;
    top:10%;
    left: 20px;
    width: 15px;
    height: 20px;
    border-radius: 50%;
    background: rgb(245, 244, 248);
    box-shadow: 2px 10px 5px rgb(0, 244, 252);
    transform-origin: bottom center;
    animation: move 1.8s infinite ease-in-out;
}

@keyframes move {
    0% {
        transform: translateY(0) scaleX(1) scaleY(1);
        opacity: 1;
    }
    20% {
        transform: translateY(-70px) scaleX(0.9) scaleY(1.1);
        opacity: 0.9;
    }
    40% {
        transform: translateY(0) scaleX(1.3) scaleY(0.5);
        opacity: 1;
    }
    50% {
        transform: translateY(5px) scaleX(1) scaleY(0.8);
        opacity: 0.95;
    }
    60% {
        transform: translateY(-10px) scaleX(0.95) scaleY(1.05);
        opacity: 1;
    }
    80% {
        transform: translateY(0) scaleX(1.1) scaleY(0.9);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scaleX(1) scaleY(1);
        opacity: 1;
    }
}


.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    color: #fff;
}

.logo {
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 2px;
    cursor: default;
    text-shadow: 0px 2px 2px rgb(225, 225, 230);
margin-right: 0PX;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.3rem;
    filter: grayscale(10%);
    

}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  transition: 0.2s ease-in-out;
}

.nav-links:hover {
    filter: grayscale(2%);
    box-shadow: 5px 5px 40px rgb(4, 89, 248);
}


.nav-links li a:hover{
        background-color: #032fcf;


}
.active{
        background-color: #032fcf;

}
.nav-links li a.active {
    background-color: #032fcf;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

.home-section {
    height: 90vh;
    background: linear-gradient(135deg, #1736a8 0%, #011241 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-shadow: 0px 3px 1px rgb(6, 173, 214);
    color: rgb(242, 242, 243);
    padding: 0 1rem;
    animation: fadeInDown 1s ease forwards;
}

.home-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: slideInLeft 1.2s ease forwards;
}

.home-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    animation: slideInRight 1.5s ease forwards;
}

.btn-primary {
    background-color: #1766e4;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    color: white;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #1202f0;
    box-shadow: 2PX 2PX 20PX black;
}

section {
    max-width: 1000px;
    margin: 5rem auto 3rem;
    padding: 0 1rem;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #0616f0;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #7a73e4;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.about-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

.services-grid {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.service-card h3 {
    color: #3006ee;
    margin-bottom: 1rem;
}

.projects-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    transition: transform 0.3s ease;
}

.project-card:nth-child(2) {
    animation-delay: 0.6s;
}

.project-card:nth-child(3) {
    animation-delay: 0.9s;
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card h4 {
    padding: 1rem;
    color: #0c166d;
}

.contact-section {
    max-width: 600px;
    margin: 5rem auto 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.contact-section form {
    display: flex;
    flex-direction: column;
}

.contact-section label {
    margin: 0.8rem 0 0.3rem;
    font-weight: 600;
    color: #0715db;
}

.contact-section input,
.contact-section textarea {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    resize: vertical;
}

.contact-section input:focus,
.contact-section textarea:focus {
    border-color: #0759f3;
    outline: none;
}

.contact-section button {
    margin-top: 1.5rem;
}

.form-message {
    margin-top: 1rem;
    font-weight: 600;
    color: #3107ca;
    min-height: 24px;
    text-align: center;
}

footer {
    background-color: #081f5c;
    text-align: center;
    padding: 1rem 0;
    color: white;
    font-weight: 600;
    margin-top: 3rem;
}

/* أنيميشنات */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
        align-items: center;
    }

    .projects-grid {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #081f5c;
        position: absolute;
        top: 128px;
        right: 0;
        width: 200px;
        border-radius: 0 0 0 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        color: white;
    }

}
@media (max-width: 768px) {
    .map {
        width: 50%;
        justify-content: center;
    }

}


.map{
    flex:1 1 42rem;
width: 100%;
  
  padding:2rem;
    box-shadow: var(--box-shadow);
    border:var(--border);
    border-radius: 5rem;
    margin-top: 1px;
}

.pro {
   
    text-decoration: none;
    
}
.box{
       
    border-radius: 0.5rem;
    font-size: 1.6rem;
    
    border:var(--border);
    margin:.7rem 0;
    justify-content: start;
}
.box a{
    font-size: 2.2rem;
    padding:1rem 0;
    color:black;
    text-decoration: none;
}
.box a{
    display: inline-block;
    font-size: 1.4rem;
    padding:1rem 0;
    color:var(--light-color);
    transform: 1s ease-in-out;
}
.box a i{
    padding-right: 0.5rem;
    
}
.box a:hover i{
transition: rotate(12px);
color:  #18aaff;
text-shadow:2px 2px #0a0ae6;
}













