@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Poppins" , "serif";
}
/* الوضع الليلي: الخلفية سوداء والنص أبيض */
body {
    background: #111;
    color: #fff;
    transition: background 0.4s, color 0.4s;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px; /* مسافة بين الشعار والعبارة */
  }
  
  .logo {
    width: 60px;
    height: auto;
    border-radius: 50%;
    border: 2px solid #FFA500; /* برتقالي خفيف للتناسق */
  }
  
  .logo-slogan {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 18px;
    color: #FFA500;
    font-weight: bold;
    animation: glow 2s ease-in-out infinite alternate;
  }
  
  /* تأثير لمع خفيف */
  @keyframes glow {
    from {
      text-shadow: 0 0 5px #FFA500;
    }
    to {
      text-shadow: 0 0 15px #FFA500;
    }
  }
  

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 1200px;
  }
  
  
  .logo {
    height: 50px;
    transition: transform 0.3s ease;
  }
  
  .logo:hover {
    transform: scale(1.1);
  }
  
  .navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
  }
  
  .navigation a {
    text-decoration: none;
    font-family: 'Reem Kufi', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .navigation a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0%;
    height: 3px;
    background-color: #FF7D00;
    transition: width 0.3s ease;
    border-radius: 5px;
  }
  
  .navigation a:hover {
    color: #FF7D00;
  }
  
  .navigation a:hover::after {
    width: 100%;
    left: 0;
  }
  
hr{
    opacity: 10%;
}
.theme-toggle {
    position: relative;
    width: 70px;
    height: 36px;
    background: #FF7D00;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.3s ease;
  }
  
  .icon {
    width: 22px;
    height: 22px;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .sun-icon {
    opacity: 1;
    transform: scale(1);
  }
  
  .moon-icon {
    opacity: 0;
    transform: scale(0.5);
  }
  
  body.dark .sun-icon {
    opacity: 0;
    transform: scale(0.5);
  }
  
  body.dark .moon-icon {
    opacity: 1;
    transform: scale(1);
  }
  
  .toggle-thumb {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    transition: transform 0.4s ease;
    z-index: 0;
  }
  
  body.dark .toggle-thumb {
    transform: translateX(34px);
  }
  
.hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5rem auto;
    max-width: 1200px;
}

.heroSub {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
.name {
    font-size: 3rem;
    color: white;
    position: relative;
    font-family: 'Reem Kufi', sans-serif;
}
  
@keyframes shine {
    0% {
        text-shadow: 
            0 0 5px #fff, 
            0 0 10px #fff, 
            0 0 20px #00adb5, 
            0 0 40px #00adb5, 
            0 0 80px #00adb5;
    }
    50% {
        text-shadow: 
            0 0 10px #fff, 
            0 0 20px #fff, 
            0 0 30px #00fff0, 
            0 0 60px #00fff0, 
            0 0 100px #00fff0;
    }
    100% {
        text-shadow: 
            0 0 5px #fff, 
            0 0 10px #fff, 
            0 0 20px #00adb5, 
            0 0 40px #00adb5, 
            0 0 80px #00adb5;
    }
}

.title{
    font-size: 2.5rem;
    color: #FF7D00;
    font-family: 'Baloo Bhaijaan 2', sans-serif;
}
.heroBtns {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
@keyframes hireMeGlow {
    0% {
      box-shadow: 0 0 10px rgba(0, 173, 181, 0.3);
    }
    50% {
      box-shadow: 0 0 20px rgba(0, 173, 181, 0.7);
    }
    100% {
      box-shadow: 0 0 10px rgba(0, 173, 181, 0.3);
    }
  }


.heroImg {
    transition: transform 0.5s ease-in-out;
}

.heroImg:hover {
    animation: pulseEffect 1s ease-in-out infinite;
}

@keyframes pulseEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* تكبير الصورة عند 50% */
    }
    100% {
        transform: scale(1);
    }
}








.aboutMe {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5rem auto;
    padding: 2rem;
    max-width: 1200px;
    direction: rtl;
    font-family: 'Reem Kufi', sans-serif; /* إضافة الخط هنا */
}

.textContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    width: 100%;
    font-family: 'Reem Kufi', sans-serif; /* إضافة الخط هنا */
}

.textTitle {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 2.5rem;
    font-family: 'Reem Kufi', sans-serif; /* إضافة الخط هنا */
}

.aboutTitle {
    display: flex;
    gap: 1px;
    font-weight: bold;
    align-items: center;
    font-family: 'Reem Kufi', sans-serif; /* إضافة الخط هنا */
}

.titleBlue {
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 5px;
}

@keyframes glowing {
    0% {
      text-shadow: 0 0 5px #FF7D00, 0 0 10px #FF7D00, 0 0 15px #FF7D00;
    }
    50% {
      text-shadow: 0 0 20px #FF7D00, 0 0 30px #FF7D00, 0 0 40px #FF7D00;
    }
    100% {
      text-shadow: 0 0 5px #FF7D00, 0 0 10px #FF7D00, 0 0 15px #FF7D00;
    }
  }
  
  .titleCyan {
      color: #FF7D00;
      padding: 5px 15px;
      animation: glowing 1.5s ease-in-out infinite; /* تطبيق الحركة */
  }
  

.aboutMePar {
    font-size: 1.2rem;
    color: #eeeeee;
    line-height: 2.2rem;
    max-width: 1000px;
    text-align: right;
    font-family: 'Reem Kufi', sans-serif; /* إضافة الخط هنا */
}
.aboutMe,
.textContainer,
.textTitle,
.aboutTitle,
.titleBlue,
.titleCyan,
.aboutMePar {
    font-family: 'Reem Kufi', sans-serif;
}



.swiper {
    width: 100%;
    padding: 2rem 0;
  }
  
  .swiper-slide {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
    animation: none; /* نبدأ بدون أنيميشن */
    
  }
  
  .swiper-slide-active {
    animation: bubbleIn 0.6s ease;
  }
  
  @keyframes bubbleIn {
    0% {
      transform: scale(0.8);
      opacity: 0;
    }
    60% {
      transform: scale(1.1);
      opacity: 1;
    }
    100% {
      transform: scale(1);
    }
  }
  
  
  .school-img {
    width: 250px;
    height: auto;
    border-radius: 12px;
    margin: 1rem auto;
    display: block;
  }
  
  
  .school-name {
    font-size: 1.5rem;
    color: #FF7D00;
    margin-bottom: 0.5rem;
    font-family: 'Baloo Bhaijaan 2', sans-serif;
  }
  
  .contact-number {
    color: #eee;
    font-size: 1.1rem;
  }
  .schools-title {
    text-align: center;
    font-size: 2.5rem;
    color: #FF7D00;
    margin-bottom: 2rem;
    font-family: 'Reem Kufi', sans-serif;
    animation: fadeInTitle 1s ease-in-out;
  }
  
  /* حركة دخول العنوان */
  @keyframes fadeInTitle {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

    

.light {
    animation: glow 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px #f9e64f); /* توهج مبدئي */
}

  
  /* تعريف حركة التكبير والتوهج */
  @keyframes scaleGlowAnimation {
    0% {
      transform: scale(1); /* الحجم العادي */
      box-shadow: 0 0 8px rgba(41, 169, 234, 0.5); /* توهج خفيف */
    }
    100% {
      transform: scale(1.1); /* الحجم المكبر */
      box-shadow: 0 0 20px rgba(41, 169, 234, 1); /* توهج أقوى */
    }
  }
  
@keyframes glow {
    0% {
        filter: drop-shadow(0 0 5px #f9e64f);
    }
    50% {
        filter: drop-shadow(0 0 20px #fff176);
    }
    100% {
        filter: drop-shadow(0 0 5px #f9e64f);
    }
}

.AboutMeImg {
    transition: transform 0.2s ease-in-out;
}

.AboutMeImg:hover {
    animation: shakeLoop 0.5s ease-in-out infinite;
}

@keyframes shakeLoop {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-3px, 2px); }
    50% { transform: translate(3px, -2px); }
    75% { transform: translate(-2px, 1px); }
    100% { transform: translate(0, 0); }
}
.opinions-section {
    text-align: center;
    padding: 4rem 1rem;
  }
  
  .section-title {
    font-size: 2.5rem;
    color: #FF7D00;
    margin-bottom: 2rem;
    font-family: 'Reem Kufi', sans-serif;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(to right, #FF7D00, #ffaf40);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
  }
  @keyframes glow {
    0% {
      text-shadow: 0 0 5px #ffaf40, 0 0 10px #ffaf40;
    }
    100% {
      text-shadow: 0 0 20px #FF7D00, 0 0 30px #FF7D00;
    }
  }
  
  
  .studentSwiper {
    padding: 2rem 0;
  }
  
  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;
  }
  
  .swiper-slide-active {
    transform: scale(1.05);
  }
  
  .student-opinion-img {
    width: 300px;
    max-width: 90%;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
  }
  
  .student-opinion-img:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
  }
  

.Works{

    background-image: url("assets/svg/background.svg");
    padding: 10rem 10rem;
    margin: 5rem 0rem;
}

.projectTitle {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    font-size: 2rem;
    width: 100%;         /* مهم باش ياخذ العرض كامل */
    margin-left: 0;      /* نتاكد بلي ما يتزحزحش */
  }
  .WorksContainer {
    width: 100%;
    display: block; /* أو flex مع justify-content: flex-start */
  }  
  section.Works {
    text-align: left;
  }
  
  

.person {
    animation: glowEffect 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px #00ffff); /* اللون الأزرق الفاتح */
}


@keyframes glowEffect {
    0% {
        filter: drop-shadow(0 0 5px #00ffff);
    }
    50% {
        filter: drop-shadow(0 0 20px #00ffff);
    }
    100% {
        filter: drop-shadow(0 0 5px #00ffff);
    }
}

.contactTitle {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.contactTitle h1 {
    font-size: 42px;
    font-weight: 800;
    color: #FFA500; /* اللون البرتقالي */
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding: 10px;
}

/* تنسيق الأيقونات */
.contact img {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

/* تنسيق البريد الإلكتروني والهاتف */
.emailAndPhone {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

.emailAndPhone h3 {
    font-size: 18px;
    color: #fff;
    margin-left: 0px;
    font-weight: 500;
}

/* تنسيق وسائل التواصل الاجتماعي */
.socialMedia {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socialMedia a {
    display: inline-block;
    text-decoration: none;
}

.socialMedia img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.socialMedia img:hover {
    transform: scale(1.2);
}

/* إضافة التأثيرات على hover */
.socialMedia a:hover img {
    transform: scale(1.3);
}
.map-button {
    background-color: #FFA500; /* اللون البرتقالي */
    color: #fff;
    font-size: 16px; /* حجم الخط أصغر */
    font-weight: bold;
    font-family: 'Reem Kufi', sans-serif; /* الخط الخرافي */
    padding: 10px 20px;
    border-radius: 25px; /* الزوايا أكثر نعومة */
    text-decoration: none;
    text-align: center;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-transform: uppercase; /* جعل النص بحروف كبيرة */
}

.map-button:hover {
    background-color: #ff4500; /* تغيير اللون عند التمرير */
    transform: translateY(-3px); /* حركة رفع الزر بشكل أقل */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* تأثير الظل المكثف عند التمرير */
}

.map-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.map-button:hover::before {
    transform: scaleX(1); /* ظهور خط أسفل الزر عند التمرير */
}


.footer {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-family: 'Arial', sans-serif;
}

.footer p {
    font-size: 16px;
    margin: 0;
}

.footer-link {
    color: #FFA500; /* اللون البرتقالي */
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding: 5px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #FFA500;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-link:hover {
    color: #ff4500; /* تأثير التدرج */
    transform: scale(1.1); /* تكبير النص عند التمرير */
}

.footer-link:hover::after {
    transform: scaleX(1); /* تفعيل خط تحت النص عند التمرير */
}

.aboutNameWorks{
    color: #eeeeee;
    text-align: left;
}

.aboutTitleWorks{
    color: #54cfe8;
    text-align: left;
}
@media (max-width: 1250px) {

    .aboutMePar{
        margin-left: 10px;
        margin-right: 10px;
    }
    header {
      margin-left: 1rem;
      margin-right: 1rem;
    }
    .hero {
      flex-direction: column;
      align-items: center;
      gap: 2rem;
    }
    .heroImg {
      width: 400px;
    }
    .name,
    .title {
      font-size: 2rem;
    }
    .aboutMe {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* لضمان أن الحاوية ستكون في المنتصف عموديًا */
        gap: 10rem;
        width: 102%; /* عرض الحاوية */
        margin: 10PX auto; /* لجعل الحاوية في المنتصف أفقيًا */
        padding: 0px; /* مسافة إضافية من الحواف */
    }
    
    .textContainer {
      align-items: center;
      margin: 0rem 5rem;
      gap: 1rem;
      margin-left: 20px;
    }
    .aboutName {
      font-size: 2rem;
      margin-right: 10px;
      margin-left: 15px
      
    }
    .aboutTitle{
        font-size: 2rem;
        
    }
    .person{
        width: 60px;
        margin-right: 50px;
    }

    .light {
      width: 60px;
    }

    .worksTitle {
        display: flex;
        flex-direction: column;
        align-items: left;
        font-size: 1.5rem;
        gap: 0.5rem;
        text-align: left;
      }
    
      .worksTitle .icon {
        width: 40px;
        height: auto;
        
      }
      
    
      .worksContainer {
        padding: 2rem 1rem;
      }
    .projectTitle {
      margin-left: 1rem;
    }
    .works ul {
      flex-direction: column;
      gap: 1rem;
    }

    
  }