@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", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
header {
    background-color: #f0f0f0;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px;
}
.logo{
    text-decoration: none;
    color: #3a6cf4;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;

}
.navigation a{
    color: #3a6cf4;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    padding-left: 30px;
}
.navigation a:hover{
    color:#601cfc;

}
section{
    padding: 100px 200px;
}
.main{
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(images/osamah.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


.main h2{
    color: #fff;
    font-size: 1.4em;
    font-weight: 500;
}
.main h2 span{
    display:inline-block;
    margin-top: 10px;
    color: #4e9eff;
    font-size: 2em;
    font-weight: 600;

}
.main h3{
    color: #fff;
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;


}

.main-btn {
    color: #fff;
    background-color: #3a6cf4;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    padding:0.9375em 2.1875em;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-bottom: 40px;
    transition: 0.7s ease;

}
.main-btn:hover{
    background-color: #0a49f6;
    transform: scale(1.1,1.1);

}
.social-icons a {
    color: #fff;
    font-size: 1.7em;
    padding-right: 30px;

}
.title {
    display: flex;
    justify-content: center;
    color: #3a6cf4;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
}

.about-card {
    min-height: 50vh;       /* يغطي طول الشاشة */
    width: 100%;             /* ياخذ العرض كامل */
    background: #fff;        /* أبيض */
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%); /* شادو بسيط */
    padding: 120px 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  /* العنوان */
  .title {
    font-size: 2.8em;
    font-weight: 700;
    color: #3a6cf4;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  
  .title i {
    color: #0077ff;
  }
  
 
  .about-content p {
    font-size: 1.3em;
    line-height: 2;
    color: #333;
    margin: 20px auto;
    max-width: 900px;
    text-align: center;
  }
  
  /* تمييز الكلمات */
  .highlight {
    color: #0077ff;
    font-weight: 700;
  }
  
  .bold {
    font-weight: 600;
    color: #222;
  }
  
  /* أنيميشن */
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .fade-in {
    opacity: 0;
    animation: fadeInUp 1.5s forwards;
  }
  
  @keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
  }
  
  .zoom-in {
    opacity: 0;
    animation: zoomIn 1.5s forwards;
  }
  
  .delay1 { animation-delay: 1.0s; }
  .delay2 { animation-delay: 1.2s; }
  .delay3 { animation-delay: 1.3s; }
  
.content {
display: flex;
justify-content: center;
flex-direction: row;
flex-wrap: wrap;

}
.card{
    background-color: #fff;
    width: 21.25em;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
    


}
.card:hover{
    transform: scale(1.1);
}

.icon {
    color: #3a6cf4;
    font-size: 8em;
    text-align: center;
}

.info h3{
    color: #3a6cf4;
    font-size: 1.12em;
    font-weight: 700;
    margin: 10px;

}
.info{
    text-align: center;
}
.Achievements {
background-color: #000016;

}
.Achievements .content{
    margin-top: 30px;

}
.Achievements-card{
    background-color: #fff;
    border: 1px solid #fff;
    min-height: 20em;
    width: 29em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;

}
.Achievements-card:hover {
    transform: scale(1.1);

}
.Achievements-card:hover .project-image{
    opacity: 0.9;
    

}
.Achievements-image img{
    width: 100%;

}
.Achievements-info{
    padding: 1em;
}
.Achievements-category{
    font-size: 1em;
    color: #000;
    font-weight:600;
    margin-top: 3px;
    text-align: center;
}


.contact .icon{
    font-size: 4.5em;

}
.contact .info h3 {
color: #000;
}
.contact .info p{
    font-size: 1.1em;
  

}
.footer{
    background-color: #000016;
   
    color: #fff;
    padding: 2em;
    display: flex ;
    justify-content: space-between;
   
  
}
.footer-title{
    font-size: 1.3em;
    font-weight: 600;
}
.footer-title span {
    color: #3a6cf4;
}

.inform{
    color: #3a6cf4;
    font-size: 2em;
    font-weight: 700;
    
}
/* ====== الميديا ====== */

/* الشاشات الكبيرة والمتوسطة */
@media (max-width: 1024px) {
    header {
        padding: 10px 20px;
        flex-direction: row; /* الهيدر جنب بعض */
        
    }

    .navigation a {
        margin-left: 15px;
        font-size: 16px;
    }

    section {
        padding: 80px 5%;
    }

    .main {
        background-size: cover; /* الصورة تغطي كامل القسم */
        background-position: center;
    }

    footer {
        font-size: 14px;
        padding: 20px 5%;
        text-align: center;
    }
}

@media (max-width:1023px){
    header{
        padding: 10px 20px;
      
    }
    
    .navigation{
        padding-left: 5px;
    }
    .title{
        font-size: 1.8em;
    }
    section{
        padding: 80px 20px;
    
    }
    .main-content h2{
        font-size: 1em;
    }
    .main-content h3{
        font-size: 1.6em;
    }
    .content{
        flex-direction: column;
        align-items: center;
    }
    .logo{
        font-size: 1.6em;
    }
    .navigation a{
        font-size: 1em;
        padding-left: 10px;
    }




}
@media (max-width: 745px){
    .navigation a{
        font-size: 1em;
        padding-left: 3.5px;
    }
  
    body{
        font-size: 12px;

    }

    .main-content h2{
        font-size: 0.8em;
    }
    .main-content h3{
        font-size: 1.4em;
    }


}
@media (max-width: 1023px) {

    .footer {
        flex-direction: column; 
        align-items: center;
        padding: 2em 10px; 
    }

    .footer-title {
        text-align: center; 
    }

    .social-icons {
        margin-top: 10px;
    }
}

@media (max-Width:300px){
  .navigation{
    padding-left: 3px;
  }
    body{
        font-size: 10px;
    }
}
@media (max-width: 1023px) {
    .Achievements-card {
        width: 100%; 
        margin: 10px 0; 
    }
}

@media (max-width: 641px) {
    .navigation{
        padding-left: 3.5px;
    }
    body {
        font-size: 12px;
    }

    .main h2 {
        font-size: 1.2em;
    }

    .main h3 {
        font-size: 1.4em;
    }

    .title {
        font-size: 1.5em;
    }

    .card {
        width: 100%; 
        margin: 10px 0;
    }

    .social-icons a {
        font-size: 1.5em; 
        padding-right: 15px;
    }

    .contact .icon {
        font-size: 3.5em; 
    }

    .contact .info h3 {
        font-size: 1.2em;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        padding: 1.5em;
    }

    .footer-title {
        text-align: center;
    }

    .Achievements-card {
        width: 100%;
        margin: 15px 0;
    }
}