@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 ;
    display: flex;
    align-items: center;  /* يجعل الأيقونات والزر على نفس الخط عموديًا */
    gap: 10px;           /* مسافة بين كل عنصر والتالي */
  
}
.ab_text{
width: 550px;
}
.ab_main{
    width: 1130;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;

}

.btn3 {
    display: inline-block;
    padding: 10px 30px;
    background: #62d3ff;
    border: 2px solid #ffffff;
    border-radius: 50px;
    box-shadow: 0 0 10px #62d3ff;
    color: #1f3d4b !important; /* سماوي غامق */
    font-weight: 600;
    text-decoration: none; /* لإزالة الخط */
   
    font-size: 16px !important;

}


.zaq {
  display: inline-block;
  padding: 10px 30px;
  color: #005881 !important; /* سماوي غامق */
  font-weight: 600;
  text-decoration: none; /* لإزالة الخط */
 
  font-size: 16px !important;

}


.tab_titls{
    display: flex;
    margin: 20px 0 40px;
    background-color: rgb(0, 18, 43);
}
.tab-links{
    margin-right: 50px;
    font-size: 75px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: #4E9EFF;
}
.ski-cont{
    color: #f0f0f0;
}
.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/final1.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: 3em;
    font-weight: 600;
}

.main h3 {
    color: #fff;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.main-btn {
    color: #fff;
    background-color: #0032bb;
    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.9s ease;
}

.main-btn:hover {
    background-color: #0601579a;
    transform: scale(1.1);
}

.social-icons a {
    color: #ffffff;
    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;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}
.aboutme{
    display: flex;
    align-items: center;
    background: url(images/q03.jpg) no-repeat;
    background-size: cover;
}
.ab_text h2{
    color: rgb(255, 255, 255);
    font-size: 85px;
    text-transform: capitalize;
    margin-bottom: 20px;
}
.ab_text h5{
    color: #fbff00 ;
    letter-spacing: 1px;
    line-height: 32px;
    font-size: 18px;
    margin-bottom: 15px;
}
.ab_text p{
    color: rgb(233, 203, 185);
    font-size: 25px;
    text-transform: capitalize;
    margin-bottom: 15px;
}



.tab_titls{

    
   
    background: url(images/00001\ copy.jpg) no-repeat;
    background-position: center;

}

.tab-links{
    font-size: 150px;
}

.ski-cont{
    font-size: 25px;
}

.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);
}

.card .icon {
    color: #3a6cf4;
    font-size: 8em;
    text-align: center;
}

.info {
    text-align: center;
}

.info h3{
    color: #3a6cf4;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}


.small-icon {
  width: 80px;   /* عدّل القيم على حسب حجم الأيقونات التانية */
  height: 80px;  /* عدّل القيم على حسب حجم الأيقونات التانية */
  object-fit: contain; /* يحافظ على تناسق أبعاد الصورة */
}

.skill-icon9 {
  width: 130px;       /* اضبط الحجم حسب رغبتك */
  height: 130;
  display: block;
  margin: 0 auto 10px;  /* توسيط الصورة وإضافة مسافة تحتها */
}



.certificate{
    background-color: #1f045e;
}

.certificate .contact{
    margin-top: 30px;
}

.ccertificate-card{
background-color: #fff;
border: 1px solid #fff;
min-height: 14em;
width: 23em;
overflow: hidden;
border-radius: 10px;
margin: 20px;
transition: 0.7s ease;
}
.ccertificate-card:hover{
    transform: scale(1.1);

}

.ccertificate-image img{
    width: 100%;
}

.ccertificate-card:hover .ccertificate-image {
    opacity: 0.8;
}

.ccertificate-info{
    padding: 1em;

}
.ccertificate-category{
    font-size: 0.8em;
    color: #000;
}
.ccertificate-title{
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 850;
    margin-top: 10px;
}
.more-details101{
    text-decoration: none;
    color: #3a6cf4;
}

.more-details101:hover{
    color: #601cfc;
}




.projects {
    background-color: #000016;
}

.projects .content{
    margin-top: 30px;
}

.project-card {
    background-color: #fff;
    border: 1px solid #fff;
    min-height: 14em;
    width: 23em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;
}

.project-card:hover {
   transform: scale(1.1);
}

.project-card:hover .project-image {
    opacity: 0.9;
 }

.project-image img{
    width: 100%
}

.project-info {
    padding: 1em;
}

.project-category {
    font-size: 0.8em;
    color: #000;
}

.project-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
}

.more-details {
    text-decoration: none;
    color: #3a6cf4;
}

.more-details:hover {
    color: #601cfc;
}

.contact .icon{
    font-size: 4.5em;
}

.contact .info h3 {
    color: #000;
}

.contact .info p {
    font-size: 1.5em;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
.rev{
    background-color: #0030b4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 150px;
}

.boxer{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.box-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.comment:hover{
    margin-top: 12px;
}
.comment{
    width: 500px;
    background: white;
    padding: 20px;
    margin: 15px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 3px 3px 25px rgba(0,0,0,0.3);
}

.profile{
    display: flex;
    align-items: center;
}

.profile-image{
    width: 70px;
    height: 70px;
    box-shadow: 2px 2px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    border-radius: 50%;
    margin-right: 10px;
}

.profile-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.Name{
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.Name strong{
    color: black;
    font-size: 18px;
}

.Name span{
    color: gray;
    margin-top: 2px;
}

.com p{
    color: black;
}


.contact .icon{
    font-size: 4.5em;
}

.contact .info h3 {
    color: #000;
}

.contact .info p {
    font-size: 1.5em;
}

.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;
}

.footer .social-icons a{
    font-size: 1.3em;
    padding: 0 12px 0 0;
}

@media (max-width:1023px){
    header{
        padding: 5px 10px;
    }

    .navigation a{
        padding-left: 5px;
    }

    .title{
        font-size: 1.8em;
    }

    section{
        padding: 80px 20px;
    }

    .main-content h2{
        font-size: .5em;
    }

    .main-content h3{
        font-size: 1em;
    }

    .content{
        flex-direction: column;
        align-items: center;
    }

    .ski-cont{
        font-size: 18px;
    }
    .ab_main{
        flex-direction: column;

    }
    .ab_text{
       font-size: 10px;
       
    }

    .ab_main {
       
        display: flex;
        align-items: center;
        background-position: center;
        background-attachment: fixed;
        display: flex;
        height: auto;
        width: 100px;
        
    }

    .ab_main{
        border-image-width: 10em;

    }

    .main{
        background: url(images/backrec2.jpg) no-repeat;

    }
    .main h2 {
        color: #ffffff;
        font-size: 1.4em;
        font-weight: 500;
    }
    .main h2 span {
        display: inline-block;
        margin-top: 10px;
        color: #00d9ff;
        font-size: 3em;
        font-weight: 600;
    }
    
    .main h3 {
        color: #ffffff;
        font-size: 2em;
        font-weight: 700;
        letter-spacing: 1px;
        margin-top: 10px;
        margin-bottom: 30px;
    }
    
}

@media (max-width:641px){
    body{
        font-size: 12px;
    }

    .main-content h2{
        font-size: 0.8em;
    }

    .main-content h3{
        font-size: 1.4em;
    }
}

@media (max-width:300px){
    body{
        font-size: 10px;
     
    }
    .ski-cont{
        font-size: 18px;
    }
    .ab_main{
        flex-direction: column;

    }
    .ab_text{
       font-size: 10px;
       
    }

    .ab_main {
       
        display: flex;
        align-items: center;
        background-position: center;
        background-attachment: fixed;
        display: flex;
        height: auto;
        width: 100px;
        
    }


    .main{
        background: url(images/backrec2.jpg) no-repeat;

    }
}




  

/* القسم الرئيسي للخبرات */
.experience {
  background-color: #12143f;
  width: 100%;
  margin: 0 auto;
  font-family: sans-serif;
  color: #000;
  padding: 40px 0;
  position: relative;
  text-align: center;
  min-height: 100vh; 
}

/* عنوان القسم */
.section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #007bff;
  margin: 8px auto 0;
}

/* الخط الزمني */
.timeline {
  position: relative;
  margin-top: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: #007bff;
  border-radius: 2px;
}

/* عناصر الخط الزمني */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px;
  box-sizing: border-box;
  margin-bottom: 60px;
}

/* العناصر الفردية تظهر يمين */
.timeline-item:nth-child(odd) {
  left: 50%;
  text-align: left;
}
/* العناصر الزوجية تظهر يسار */
.timeline-item:nth-child(even) {
  left: 0;
  text-align: right;
}

/* النقطة */
.timeline-dot {
  position: absolute;
  top: 20px;
  width: 22px;
  height: 22px;
  background-color: #007bff;
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-dot {
  left: -11px;
}
.timeline-item:nth-child(even) .timeline-dot {
  right: -11px;
}

/* صندوق المحتوى */
.timeline-content {
  background-color: #f9f9f9;
  box-shadow: 0 2px 4px rgba(211, 6, 6, 0.1);
  /* إزالة العرض والارتفاع الثابت */
  max-width: 550px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 15px 15px 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  transition: background-color 0.3s, color 0.3s;
}

/* الرمز (Bullet) داخل الصندوق */
.timeline-content::before {
  content: "•";
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 24px;
  color: #007bff;
}

/* تأثير hover */
.timeline-content:hover {
  background-color: #007bff;
  color: #00eeff;
}
.timeline-content:hover::before {
  color: #00eeff;
}

/* تنسيق العنوان والتواريخ */
.experience-title {
  font-size: 1.1rem;
  margin: 0;
  font-weight: bold;
}
.experience-date,
.experience-description {
  margin: 5px 0;
  color: #666;
  line-height: 1.4;
}
.timeline-content:hover .experience-date,
.timeline-content:hover .experience-description {
  color: #fff;
}

/* تفريغ التدفق */
.timeline::after {
  content: "";
  display: block;
  clear: both;
}

/* -------------- شاشة صغيرة -------------- */
@media screen and (max-width: 768px) {
  .timeline::before {
    left: 20px;
    transform: none;
    width: 2px;
  }
  .timeline-item {
    width: 100%;
    margin-bottom: 40px;
    left: 0 !important;
    text-align: left; /* أو center إذا أردت */
  }
  .timeline-dot {
    left: 0; 
    margin-left: -11px; 
    right: auto;
  }
  .timeline-content {
    margin-left: 40px; 
    max-width: calc(100% - 60px); 
    width: auto; 
    height: auto;
  }
}


  /*  تنسيق سكشن التعليم*/


/* القسم الرئيسي للتعليم (لا تغييرات جوهرية هنا) */
.education-section {
    width: 100%;
    background-color: #1A1A2E ;
    padding: 60px 0;
    text-align: center;
    font-family: sans-serif;
    margin: 0;
  }
  
  /* تنسيق عنوان القسم + الخط الأزرق تحته */
  .section-title {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    color: #ffffff;
  }
  .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007bff;
    margin: 8px auto 0;
  }
  
  /* الحاوية الداخلية للمحتوى */
  .education-content {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* البطاقة (Card) الخاصة بالمؤهل الدراسي */
  .education-card {
    /* الألوان الافتراضية */
    background-color: #fff;   /* لون الخلفية أبيض */
    color: #000;             /* لون النص أسود */
    
    /* زيادة العرض والارتفاع */
    width: 700px;  /* يمكنك تغيير هذه القيمة حسب رغبتك */
    height: 160px; /* يمكنك استخدام min-height بدلًا من height إذا أردت مرونة أكبر */
    
    /* تنسيق إضافي */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    
    /* تكبير الخط وجعله عريض */
    font-size: 1.2rem; 
    font-weight: bold;
    
    /* الانتقالات السلسة */
    transition: 
      background-color 0.3s ease, 
      color 0.3s ease,
      transform 0.3s ease, 
      box-shadow 0.3s ease;
  }
  
  /* التأثير عند تمرير مؤشر الماوس على البطاقة */
  .education-card:hover {
    background-color: #007bff; /* يتحول للون الأزرق */
    color: #fff;              /* يتحول النص للأبيض */
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }
  





    /* تنسق سكشن المهارات */


/* تنسيق عام للقسم */
.skills-section {
    width: 100%;
    padding: 60px 0;
    background-color: #060622;
    font-family: sans-serif;
    text-align: center;
    margin: 0;
  }
  
  /* عنوان رئيسي + خط أزرق تحته */
  .section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }
  .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007bff;
    margin: 8px auto 0;
  }
  
  /* حاوية النصفين (Technical & Soft) */
  .skills-split-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; /* للسماح بالتفاف العناصر على الشاشات الأصغر */
    gap: 30px;       /* مسافة بين النصفين */
  }
  
  /* كل نصف */
  .skills-half {
    flex: 1;            /* توزيع المساحة بالتساوي */
    min-width: 300px;   /* أقل عرض للنصف */
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
  }
  
  /* عنوان فرعي لكل نصف */
  .skills-subtitle {
    font-size: 1.6rem;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    padding-bottom: 8px;
  }
  
  /* الخط الرمادي تحت العنوان */
  .skills-subtitle::after {
    content: "";
    display: block;
    width: 80%;
    height: 2px;
    background-color: #ccc;
    margin: 8px auto 0;
  }
  
  /* ====== ألوان خلفيات الأقسام ====== */
  
  /* قسم Technical Skills مثل قسم Soft Skills */
  .technical-skills {
    background-color: #f9f9f9; /* نفس خلفية الـ Soft Skills */
  }
  
  /* قسم Soft Skills */
  .soft-skills {
    background-color: #f9f9f9; 
  }
  
  /* الشبكة الداخلية للبطاقات */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  /* بطاقات المهارات العامة */
  .skill-card {
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
  }
  
  /* تنسيق العناوين داخل البطاقات */
  .skill-card h4 {
    margin: 0 0 10px 0;
  }
  
  /* تنسيق القوائم */
  .skill-card ul {
    list-style: disc inside;
    margin: 0;
    padding: 0;
    line-height: 1.6;
  }
  .skill-card p {
    margin: 0 0 5px 0;
  }
  
  /* ====== ألوان البطاقات والتأثيرات (Hover) ====== */
  
  /* النصف الأول (Technical Skills) */
  .technical-skills .skill-card {
    background-color: #007bff; /* أزرق */
    color: #fff;
  }
  .technical-skills .skill-card:hover {
    background-color: #0056b3; /* درجة أغمق عند الـ hover */
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }
  
  /* النصف الثاني (Soft Skills) */
  .soft-skills .skill-card {
    background-color: #28a745; /* أخضر */
    color: #fff;
  }
  .soft-skills .skill-card:hover {
    background-color: #218838; /* درجة أغمق عند الـ hover */
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }
  
  /* تحسين العرض على الشاشات الصغيرة */
  @media screen and (max-width: 768px) {
    .skills-split-container {
      flex-direction: column;
      gap: 40px;
    }
  }
  
  /* ======== تعديل الشبكة داخل Technical Skills ======== */
  .technical-skills .skills-grid {
    grid-template-columns: repeat(2, 1fr); /* عدد الأعمدة 2 */
    gap: 25px;
  }
  
  /* زيادة عرض البطاقات */
  .technical-skills .skill-card {
    width: 100%;
    min-height: 180px;
  }
  
  /* تحسين المظهر على الشاشات الصغيرة في قسم Technical Skills */
  @media (max-width: 768px) {
    .technical-skills .skills-grid {
      grid-template-columns: 1fr; /* عمود واحد على الشاشات الصغيرة */
    }
  }
  
  /* تنسيقات أيقونات المهارات */
  .skill-icon1,
  .skill-icon2,
  .skill-icon3,
  .skill-icon4,
  .skill-icon5,
  .skill-icon6,
  .skill-icon7,
  .skill-icon8 {
    width: 50px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
  }
  

/* ======== تعديل الشبكة داخل Technical Skills ======== */
.technical-skills .skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* تغيير عدد الأعمدة إلى 2 */
    gap: 25px; /* زيادة المسافات بين البطاقات */
}

/* زيادة عرض البطاقات */
.technical-skills .skill-card {
    width: 100%; /* البطاقة ستأخذ العرض الكامل داخل الـ Grid */
    min-height: 180px; /* ارتفاع مناسب */
}

/* تحسين المظهر عند الشاشات الصغيرة */
@media (max-width: 768px) {
    .technical-skills .skills-grid {
        grid-template-columns: 1fr; /* عمود واحد فقط على الشاشات الصغيرة */
    }
}










.skill-icon1 {
    width: 50px;       /* اضبط الحجم حسب رغبتك */
    height: auto;
    display: block;
    margin: 0 auto 10px;  /* توسيط الصورة وإضافة مسافة تحتها */
  }

.skill-icon2 {
    width: 50px;       /* اضبط الحجم حسب رغبتك */
    height: auto;
    display: block;
    margin: 0 auto 10px;  /* توسيط الصورة وإضافة مسافة تحتها */
  }
  .skill-icon3 {
    width: 50px;       /* اضبط الحجم حسب رغبتك */
    height: auto;
    display: block;
    margin: 0 auto 10px;  /* توسيط الصورة وإضافة مسافة تحتها */
  }
  .skill-icon4 {
    width: 50px;       /* اضبط الحجم حسب رغبتك */
    height: auto;
    display: block;
    margin: 0 auto 10px;  /* توسيط الصورة وإضافة مسافة تحتها */
  }
  .skill-icon5 {
    width: 50px;       /* اضبط الحجم حسب رغبتك */
    height: auto;
    display: block;
    margin: 0 auto 10px;  /* توسيط الصورة وإضافة مسافة تحتها */
  }


  .skill-icon6 {
    width: 50px;       /* اضبط الحجم حسب رغبتك */
    height: auto;
    display: block;
    margin: 0 auto 10px;  /* توسيط الصورة وإضافة مسافة تحتها */
  }


  .skill-icon7 {
    width: 50px;       /* اضبط الحجم حسب رغبتك */
    height: auto;
    display: block;
    margin: 0 auto 10px;  /* توسيط الصورة وإضافة مسافة تحتها */
  }


  .skill-icon8 {
    width: 50px;       /* اضبط الحجم حسب رغبتك */
    height: auto;
    display: block;
    margin: 0 auto 10px;  /* توسيط الصورة وإضافة مسافة تحتها */
  }







  .projects {
    margin-bottom: 0; /* أو padding-bottom: 0 */
  }
  
  .rev {
    margin-top: 0; /* أو padding-top: 0 */
  }
  



  