:root {
    --primary_color: #005886;
    --second_color: #03859D;
  }
  
  body {
    font-family: 'Cairo', sans-serif;
  }
  
  
  p {
    line-height: 30px;
  }
  
  .page_color {
    background-color: var(--primary_color);
  }
  
  .nav_bgc {
    background-color: var(--second_color);
  }
  
  .nav-link:hover {
    color: #ffffff98 !important;
  }
  
  .active {
    color: #ffffff98 !important;
  }
  
  .cyan_bg {
    background-image: url(/images/Vector.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .orange_square {
    content: url(/images/orange_sqaure.png);
  }
  
  .girl_bg_blue {
    content: url(/images/girl1.png);
    right: 30px;
    top: 30px;
  }
  
  
  .titles {
    margin-top: -160px;
    margin-bottom: 90px;
  }
  
  .rectangle_postion {
    margin-top: 80px;
    margin-bottom: 100px;
  }
  
  .school_text {
    font-size: 40px;
    width: 400px;
    margin-top: -130px;
  
  }
  
  .square_box {
    background-color: white;
    min-height: 300px;
    margin-top: -50px;
    margin-bottom: 100px;
  
    /* حركة hover فقط */
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  
    /* تحسين الأداء: المتصفح يجهز العنصر للحركة */
    will-change: transform, box-shadow;
  }
  
  /* حركة hover مستقلة وسريعة */
  .square_box:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  .underline {
    width: 60px;
    height: 3px;
    background-color: #E74040;
    border-radius: 2px;
    margin-top: -6px;
    margin-inline: auto;
    /* يجعل العنصر في الوسط في الاتجاهين */
    transition: width 0.3s ease;
  }
  
  
  /* حركة صعود وهبوط */
  @keyframes bouncee {
  
    0%,
    100% {
      transform: translateY(0);
    }
  
    50% {
      transform: translateY(-15px);
    }
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  
  .animate-spin {
    animation: spin 8s linear infinite;
    transform-origin: center center;
  }
  
  /* تطبيق الحركات */
  .animate_bounce {
    animation: bouncee 3s ease-in-out infinite;
  }
  
  .bounce-top {
    -webkit-animation: bounce-top 0.9s both;
    animation: bounce-top 0.9s both;
  }
  
  .typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(30, end) forwards, blink 0.7s step-end infinite;
    direction: rtl;
    /* للحفاظ على اتجاه اللغة العربية */
  }
  
  @keyframes typing {
    from {
      width: 0
    }
  
    to {
      width: 100%
    }
  }
  
  
  /* section 3 */
  
  .sec3_pink_Rectangle {
    margin-top: -190px;
    margin-bottom: 40px;
  }
  
  .sec3_small_Rectangle {
    margin-inline-start: -50px;
    margin-bottom: 50px;
  }
  
  .section3_cards {
    /* padding: 50px 0; */
    text-align: center;
  }
  
  
  .image_slider {
    overflow: hidden !important;
    max-width: 1600px;
    margin: 0 auto;
  }
  
  .image_slider .swiper-wrapper {
    overflow: unset !important;
  }
  
  .image_slider .swiper-slide {
    width: 400px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .card_sec3 {
    background-color: #ffffff27;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: 300px;
    overflow: hidden;
    transition: opacity 0.3s ease;
  }
  
  .img_card_sec3 {
    width: 100%;
    margin-top: 5px;
    height: 220px;
    object-fit: cover;
  }
  
  .card_sec3 .stars {
    color: #ffd700;
    font-size: 25px;
  }
  
  
  .card_sec3 .title {
    font-size: 23px;
    color: #888;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 1;
    }
  
    50% {
      transform: scale(2.0);
      opacity: 0.8;
    }
  
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  .star_pulse {
    animation: pulse 100s infinite ease-in-out;
  }
  
  .image_slider .swiper-button-prev,
  .image_slider .swiper-button-next {
    width: 45px;
    height: 45px;
    background-color: #ffffffb9;
    color: #03869dbd;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .image_slider .swiper-button-prev:hover,
  .image_slider .swiper-button-next:hover {
    background-color: #ffffff;
    color: #03869dbd;
  }
  
  .image_slider .swiper-button-prev::after,
  .image_slider .swiper-button-next::after {
    font-size: 25px !important;
    /* أو أي حجم مناسب مثل 10px */
  }
  
  /* section 3 end */
  
  /* section 4 */
  .cyan2_bg {
    background-image: url(/images/bg_up_bottom.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 0;
    height: 1300px;
    animation: waveMove 6s ease-in-out infinite alternate;
  
  }
  
  
  @keyframes waveMove {
    0% {
      background-position: 0 0;
    }
  
    100% {
      background-position: -200px 60px;
      /* ← مقدار التحرك */
    }
  }
  
  .sec4_squares {
    margin-left: 300px;
  }
  
  .sec4_yellow_Rectangle {
    margin-top: 100px;
    margin-bottom: 20px;
  }
  
  .sec4_small_Rectangle {
    margin-inline-end: -50px;
    margin-bottom: 20px;
  }
  
  .section4_video {
    /* padding: 100px 0 !important; */
    text-align: center;
  
  }
  
  .video_slider {
    overflow: hidden !important;
    max-width: 1600px;
    margin: 0 auto;
  }
  
  .video_slider .swiper-wrapper {
    overflow: unset !important;
  }
  
  .video_slider .swiper-slide {
    width: 550px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .card_sec4 {
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    overflow: hidden;
    transition: opacity 0.3s ease;
  }
  
  .video_slider .swiper-button-prev,
  .video_slider .swiper-button-next {
    width: 45px;
    height: 45px;
    top: 50%;
    background-color: #ffffff93;
    color: #03859D;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .video_slider .swiper-button-prev:hover,
  .video_slider .swiper-button-next:hover {
    background-color: #ffffffda;
    color: #03869dbd;
  }
  
  .video_slider .swiper-button-prev::after,
  .video_slider .swiper-button-next::after {
    font-size: 25px !important;
  
  }
  
  /* section 4 end */
  
  
  /* section 5 */
  .sec5_pink_Rectangle {
    margin-top: -250px;
    margin-bottom: 40px;
  }
  
  .sec5_small_Rectangle {
    margin-inline-start: -50px;
  }
  
  .overlay-container {
    position: relative;
    overflow: hidden;
  }
  
  .overlay-container img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .overlay-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    /* طبقة سوداء شفافة */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
  }
  
  .overlay-container:hover .overlay-layer {
    opacity: 1;
  }
  
  .custom_btn {
    position: relative;
    width: 150px;
    height: 50px;
    color: white;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
    border: none;
    z-index: 1;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.24);
  }
  
  .custom_btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2px;
    background: linear-gradient(270deg,
        #fff,
        #ffe88a,
        #fa96ca,
        #fff);
    background-size: 400% 400%;
    animation: gradientBorder 6s ease infinite;
    border-radius: 5px;
  
    /* دعم المتصفحات التي تعتمد WebKit */
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
  
    /* دعم المتصفحات الأخرى (Firefox وغيره) */
    mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    mask-composite: exclude;
  
    z-index: -1;
    pointer-events: none;
  }
  
  @keyframes gradientBorder {
    0% {
      background-position: 0% 50%;
    }
  
    50% {
      background-position: 100% 50%;
    }
  
    100% {
      background-position: 0% 50%;
    }
  }
  
  .custom_btn:hover {
    background-color: rgba(255, 255, 255, 0.151);
  }
  
  /* section 5  end*/
  
  /* section 6  */
  .cyan2_bg_sec6 {
    background-image: url(/images/bg_up_bottom.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 1500px;
  }
  
  .sec6_box_postion {
    margin-inline-end: 300px;
  }
  
  .sec6_yellow_Rectangle {
    margin-top: 140px;
    margin-bottom: 20px;
  }
  
  .sec6_small_Rectangle {
    margin-inline-end: -50px;
    margin-bottom: 20px;
  }
  
  .sec6_cards{
    width: 100%;
    min-height: 400px;
    border-radius: 0%;
  background-color: #ffffff27;
  }
  
  .sec6_cards_img {
    height: 370px;
    object-fit: cover;
  }
  
  .sec6_card_prize {
    margin-top: -140px;
  }
  
  .sec6_cards:hover .img_prize {
    --animate-duration: 1s;
    animation-name: tada;
    animation-duration: var(--animate-duration);
    animation-fill-mode: both;
  }
  
  
  .blue_text {
    color: #ffffff;
  }
  
  /* section 6 end  */
  
  /* section 7  */
  .sec7_pink_Rectangle {
    margin-top: -300px;
    margin-bottom: 40px;
  }
  
  .sec7_small_Rectangle {
    margin-inline-start: -50px;
  }
  
  .section7_cards {
    text-align: center;
  }
  
  .slider_7 {
    overflow: hidden !important;
    max-width: 1600px;
    margin: 0 auto;
  }
  
  .slider_7 .swiper-wrapper {
    overflow: unset !important;
  }
  
  .slider_7 .swiper-slide {
    width: 550px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .card_sec7 {
    transition: opacity 0.3s ease;
  }
  .card_sec7 .card{
     border-radius: 0%;
     background-color: #ffffff27;
  }
  
  .card_sec7 .stars {
    color: #ffd700;
    font-size: 25px;
  
  }
  
  .nav-prev-7,
  .nav-next-7 {
    width: 45px;
    height: 45px;
    background-color: #ffffff93;
    color: #03859D;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .nav-prev-7:hover,
  .nav-next-7:hover {
    background-color: #ffffffda;
    color: #03869dbd;
  }
  
  .nav-prev-7::after,
  .nav-next-7::after {
    font-size: 25px !important;
  }
  
  /* section 8 */
  .cyan2_bg_sec8 {
    background-image: url(/images/Vector_top.svg);
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: 0 0;
    animation: waveScroll 6s linear infinite alternate;
    height: 1150px;
  }
  
  /* 🔁 تحريك الموج ذهابًا وإيابًا */
  @keyframes waveScroll {
    0% {
      background-position: 0 0;
    }
  
    100% {
      background-position: -200px 60px;
      /* ← مقدار التحرك */
    }
  }
  
  .sec8_box_postion {
    margin-left: 300px;
  }
  
  .sec8_yellow_Rectangle {
    margin-top: 100px;
    margin-bottom: 20px;
  }
  
  .sec8_small_Rectangle {
    margin-inline-end: -50px;
    margin-bottom: 20px;
  }
  
  .map_box {
    background-color: #005886;
    height: 100px;
    width: 350px;
    position: absolute;
    z-index: 1;
    left: 0%;
    top: 0%;
    border-bottom-right-radius: 20px;
  }
  
  /* section 8 end*/
  .footer_bgc {
    background-color: var(--primary_color);
  }
  
  /* education page  */
  .edu_page_color {
    background-color: var(--second_color);
  }
  
  .page_title_container {
    border-bottom: 1px solid var(--primary_color);
    border-right: 4px solid var(--primary_color);
    margin-bottom: 100px;
  }
  
  .icon_container {
    position: absolute;
    z-index: 1;
    left: 0%;
    bottom: 0%;
    height: 34px;
    width: 150px;
    border-bottom-left-radius: 150px;
    border-bottom-right-radius: 100px;
    border-top-right-radius: 100px;
    background-color: rgba(255, 255, 255, 0.479);
  }
  
  /* grades query page  */
  
  /* حاوية القسم */
  .grades_section {
    margin-bottom: 100px;
  }
  
  /* الصندوق الأبيض */
  .grades_box {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 700px;
    height: auto;
    margin: 0 auto;
    border: none;
  }
  
  /* العنوان */
  .grades_title {
    margin-bottom: 2rem;
    color: var(--primary_color);
    font-weight: bold;
  }
  
  /* نموذج الإدخال */
  .grades_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  /* غلاف الإدخال */
  .grades_input_wrapper {
    position: relative;
    width: 80%
  }
  
  /* الحقل */
  .grades_input {
    height: 70px;
    padding-right: 50px;
    border: 2px solid var(--second_color);
    border-radius: 0%;
  }
  
  .grades_input::placeholder {
    color: var(--second_color);
    opacity: 0.7;
  }
  
  /* الأيقونة */
  .grades_icon {
    position: absolute;
    inset-inline-start: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary_color);
    transition: transform 0.3s ease;
  }
  
  /* ميلان الأيقونة عند تركيز المستخدم في الحقل */
  .grades_input:focus+.grades_icon {
    transform: translateY(-50%) rotate(20deg);
    transition: transform 0.3s ease;
  }
  
  
  
  .btn_query {
    background-color: var(--primary_color);
    border: none;
    color: #fff;
  }
  
  /* contuct us page  */
  
  .contact_box {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 500px;
    margin: 0 auto;
    border: none;
  }
  
  /* العنوان */
  .contact_title {
    color: var(--primary_color);
    font-weight: bold;
  }
  
  /* نموذج الإدخال */
  .contact_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  /* غلاف الإدخال */
  .contact_input_wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
  }
  
  /* الحقول */
  .contact_input {
    height: 60px;
    padding-right: 50px;
    border: 2px solid var(--second_color);
    border-radius: 0%;
  }
  
  .contact_input::placeholder {
    color: var(--second_color);
    opacity: 0.7;
  }
  
  .email_placeholder {
    text-align: right;
  }
  
  /* الأيقونات */
  .contact_icon {
    position: absolute;
    inset-inline-start: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary_color);
    transition: transform 0.3s ease;
  }
  
  .contact_icon_textarea {
    top: 20px !important;
  
  }
  
  .contact_input:focus+.contact_icon {
    transform: translateY(-50%) rotate(20deg);
  }
  
  
  /* زر الإرسال */
  .contact_btn {
    background-color: var(--primary_color);
    border: none;
    color: #fff;
  }
  
  .contact_input_wrapper {
    position: relative;
    width: 500px;
  }
  
  /* حقل textarea خاص */
  .contact_textarea {
    padding-top: 20px;
    padding-right: 50px;
    resize: none;
    /* إن أردت منع تغيير الحجم */
    line-height: 1.8;
  }
  
  .custom_btn_contact {
    width: 220px;
    padding: 20px 20px;
    height: 50px;
    border: 2px solid white;
    border-radius: 5px;
    color: white;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* مسافة بين الأيقونة والنص */
    font-weight: bold;
    text-decoration: none;
  }
  
  /* jop_application  */
  
  .jop_application_box {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 700px;
    height: auto;
    margin-bottom: 100px;
    border: none;
  }
  
  /* نموذج الإدخال */
  .jop_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  /* غلاف الإدخال */
  .jop_input_wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
  }
  
  /* الحقول */
  .jop_input {
    height: 60px;
    padding-right: 50px;
    border: 2px solid var(--second_color);
    border-radius: 0%;
  }
  
  .jop_input::placeholder {
    color: var(--second_color);
    opacity: 0.7;
  }
  
  .email_placeholder {
    text-align: right;
  }
  
  /* الأيقونات */
  .jop_icon {
    position: absolute;
    inset-inline-start: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary_color);
    transition: transform 0.3s ease;
  }
  
  .jop_icon_textarea {
    top: 10px !important;
  
  }
  
  .jop_input:focus+.jop_icon {
    transform: translateY(-50%) rotate(20deg);
  }
  
  .jop_btn {
    background-color: var(--primary_color);
    border: none;
    color: #fff;
  }
  
  .jop_input[type="file"] {
    padding-top: 15px;
    padding-bottom: 10px;
  }
  
  input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    cursor: pointer;
    z-index: 10;
  }
  
  input[type="date"] {
    color: var(--second_color);
    font-size: 16px;
    text-align: right;
    direction: rtl;
    padding-right: 25px;
    color: var(--second_color);
  }
  
  select.jop_input {
    color: var(--second_color);
  }
  
  /* لتغيير شكل أول خيار (المعطل) */
  select.jop_input option[disabled] {
    color: var(--second_color);
  }
  
  /* جميع الخيارات (تنطبق على بعض المتصفحات فقط مثل Firefox) */
  select.jop_input option {
    color: var(--second_color);
  }
  
  .file_lebal {
    width: 200px;
    color: #005886;
  }