body {
  padding-top: 80px;
  color: #001433;
}

/* ضبط تصميم الناف */
.navbar {
  direction: rtl;
  height: 70px;
  display: flex;
  align-items: center;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* تعديل الكونتينر الخاص بالناف */
.navbar-container {
  width: 100%;
  max-width: 1200px; /* تحديد عرض أقصى */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}

/* تحسين مظهر اللوجو */
.logo img {
  height: 50px;
}

/* زر القائمة */
.navbar-toggler {
  font-size: 1.5rem;
  border: none;
  padding: 5px 10px;
}

/* تحسين القائمة في الشاشات الصغيرة */
@media (max-width: 991px) {
  .navbar {
      height: 60px;
  }

  .logo img {
      height: 40px;
  }

  .navbar-collapse {
      background: white;
      position: absolute;
      top: 100%;
      right: 0;
      width: 100%;
      padding: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 10px 0;
  }

  .nav-item {
      width: 100%;
      text-align: center;
      padding: 5px 0;
  }
}

/* home */

.home{
    /* padding-top: 100px; */
        direction: rtl; 

}
.home img{
    width: 10
    .03+0%;
    height: 250px;
}
.home button{
    background-color: #002966;
    color: #fff;
    font-size: 25px;
    padding: 5px 20px;
    border-radius: 10px;
}
.home button:hover{
    background-color: #13448d;
    color: #fff;
}

.home-footer p{
    border-right: 5px solid #001433;
    border-radius: 5px;
}
/*  */



.sec1{
    
    margin-bottom: 20px;
        direction: rtl; 

}
.headsec{
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.col-md div{
    background-color: #CCE0FF;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}
#textsec{
    display: flex;
    justify-content: center;
    align-items: center;
}
#textsec a{
    background-color: #001E4C;
    text-decoration: none;
    color: white;
    padding: 5px 15px;
    border-radius: 10px;
    margin: 20px;
}
#imgsec img{
    width: 100%;
    height: 300px;
    border-radius: 10px;
    margin-bottom: 10px;
}
pre{
    padding: 20px 10px;
    margin: 20px 0;
    background-color: #CCE0FF;
    border-radius: 10px;
}
.sec1 p{
    padding: 20px 10px;
    margin: 20px 0;
    background-color: #CCE0FF;
    border-radius: 10px;
}
.sec2 p{
    padding: 20px 10px;
    margin: 20px 0;
    background-color: #CCE0FF;
    border-radius: 10px;
}
b{
    font-size: larger;
    font-weight:bolder;
    display: block;
}
.sec2{
    direction: rtl;
}



/*  */

.divider {
    height: 2px;
    background-color: rgba(0, 30, 76, 1); 
    margin-top: 5px;
  }

  .badge-primary {
    background-color: rgba(0, 30, 76, 1); 
    color: #fff; 
    padding: 10px 15px;
    border-radius: 10px;
    font-size: larger;
    width: 150px;
  }
  
.box {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 30, 76, 1);
  text-align: center;
  margin: 10px;
  min-height: 300px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 300px;
  }

  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: rgba(0, 30, 76, 1); 
    border-radius: 50%; 
    padding: 10px;
  }
  .footer 
  {
    background-color: rgba(0, 30, 76, 1);
    justify-content: flex-start;
  }

  .logo{
    width: 60px;
    height: 60px;
  }
 .box{
  background-color: white;
 }
 .carousel-inner {
  padding: 20px;
}

.box p {
  font-size: 14px;
  color: rgba(0, 30, 76, 1);;
  margin-bottom: 10px;
}

.box .author {
  font-weight: bold;
  color: rgba(0, 30, 76, 1);
}

.box .icon {
  font-size: 24px;
  color: #002244;
}

























.kiry h2, .kiry h3, .kiry h4{
    color: #001433;
    padding: 20px 0;
}
.kiry i{
    color: rgb(246, 186, 5);
}
.kiry button{
    background-color: #002966;
    color: #fff;
}
.kiry button:hover{
    background-color: #13448d;
    color: #fff;
}

@media (max-width: 700px){
  .box{
    width: 100%;
  }
}


/*  */


:root {
    --main-color: #001e4c;
  }
  
  .container {
    padding: 36px 0;
  }
  
  .heading {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding: 12px 0;
  }
  
  .heading a {
    width: 180px !important;
    font-weight: bold;
  }
  
  .heading h2 {
    margin: 0;
    font-size: 32px;
    vertical-align: middle;
    font-weight: bold;
  }
  
  hr {
    background-color: var(--main-color);
    margin: 0;
    margin-bottom: 18px;
    opacity: 1;
  }
  
  .main-content {
    height: 360px;
    position: relative;
  }
  
  .details {
    position: absolute;
    bottom: 0;
    left: 25%;
  }
  
  .slick-next:before,
  .slick-prev:before {
    color: var(--main-color);
    font-size: 28px;
    opacity: 1;
  }
  
  .slick-next:before {
    position: relative;
    left: -7px;
  }
  
  .center,
  .partners {
    text-align: center;
    width: 90%;
    margin: auto;
  }
  
  .course {
    margin: 0 6px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.07);
  }
  
  .course .image img {
    width: 100%;
    border-radius: 8px 8px 0 0;
  }
  
  .course .details,
  .heading a {
    background-color: var(--main-color);
    color: #fafafa;
    display: inline-block;
    width: 50%;
    padding: 6px 0;
  }
  
  .partners div img {
    width: 100%;
    border-radius: 8px;
  }
  
  .partners .slick-next:before,
  .partners .slick-prev:before {
    color: transparent;
    cursor: none;
  }
  
  .heading-sec-partners {
    text-align: center;
  }
  
  .heading-sec-partners h2 {
    margin-bottom: 24px;
  }
  
  .heading-sec-partners div {
    background-color: #e5f0ff;
    width: 450px;
    padding: 16px 0;
    margin: auto;
    margin-bottom: 38px;
    border-radius: 8px;
    font-weight: 500;
  }
  
  .heading-sec-partners div p {
    width: 60%;
    margin: auto;
  }
  
  .heading-pre-work {
    padding: 12px 10px;
    background-color: #001e4c;
    color: #e5f0ff;
    border-radius: 28px;
    font-size: 22px;
  }
  ul {
    list-style-type: none;
    padding: 0;
    font-weight: 600;
  }
  ul li:not(ul li:last-child) {
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.325);
  }
  
  .desc-of-pre-work li {
    margin: 6px 0;
  }
  
  .the-work,
  .content-pre-work {
    padding: 0 6px;
  }
  
  .pic-pre-work {
    width: 100%;
    height: 250px;
    border-radius: 6px 6px 0 0;
    background-size: cover;
    background-position: center;
  }
  
  .content-pre-work {
    margin-top: 2px;
    padding-bottom: 2px;
    border-radius: 0 0 6px 6px;
    text-align: center;
    border-top: none;
  }
  
  .FAITC {
    direction: rtl;
  }
  
  .pic_one {
    background-image: url(../images/previous_work/Picture1.jpg);
  }
  .pic_two {
    background-image: url(../images/previous_work/Picture2.jpg);
  }
  .pic_three {
    background-image: url(../images/previous_work/Picture3.jpg);
  }
  .pic_four {
    background-image: url(../images/previous_work/Picture4.jpg);
  }
  .pic_five {
    background-image: url(../images/previous_work/Picture5.jpg);
  }
  .pic_six {
    background-image: url(../images/previous_work/Picture6.jpg);
  }
  .pic_seven {
    background-image: url(../images/previous_work/Picture7.jpg);
  }
  .pic_eight {
    background-image: url(../images/previous_work/Picture8.jpg);
  }
  .pic_nine {
    background-image: url(../images/previous_work/Picture9.jpg);
  }
  .pic_ten {
    background-image: url(../images/previous_work/Picture10.jpg);
  }
  .pic_eleven {
    background-image: url(../images/previous_work/Picture11.jpg);
  }
  .pic_twelve {
    background-image: url(../images/previous_work/Picture12.jpg);
  }
  .pic_thirteen {
    background-image: url(../images/previous_work/Picture13.jpg);
  }
  .pic_fourteen {
    background-image: url(../images/previous_work/Picture14.jpg);
  }
  .pic_fifteen {
    background-image: url(../images/previous_work/Picture15.jpg);
  }
  .pic_sixteen {
    background-image: url(../images/previous_work/Picture16.jpg);
  }
  
  @media only screen and (max-width: 480px) {
    .heading h2 {
      font-size: 22px;
    }
    .heading a {
      width: 150px !important;
    }
    .heading-sec-partners div {
      width: 375px;
    }
  }
  
  /* viseos */


  .video ul{
    list-style-type: initial;
  } 



  ul li:not(ul li:last-child) {
    padding-bottom: 12px;
    border-bottom: none;
}
  

@media (max-width: 768px) {
  /* تحسين تباعد الصفحة بالكامل */
  body {
      padding-top: 60px;
      padding-left: 10px;
      padding-right: 10px;
  }

  /* تعديل شريط التنقل */
  .navbar {
      height: 60px;
      padding: 5px 10px;
  }

  .navbar-container {
      padding: 0 10px;
  }

  .logo img {
      height: 35px; /* تصغير اللوجو للشاشات الصغيرة */
  }

  .navbar-toggler {
      font-size: 1.2rem;
      padding: 8px 12px;
  }

  /* تحسين قائمة التنقل */
  .navbar-collapse {
      width: 100%;
      padding: 15px;
  }

  .navbar-nav {
      flex-direction: column;
      align-items: center;
  }

  .nav-item {
      width: 100%;
      text-align: center;
      padding: 8px 0;
  }

  /* تحسين الأقسام */
  .home img {
      width: 100%;
      height: auto;
      border-radius: 8px;
  }

  .home button {
      font-size: 20px;
      padding: 8px 15px;
  }

  .sec1, .sec2 {
      margin-bottom: 15px;
  }

  .sec1 p, .sec2 p, pre {
      padding: 15px 10px;
  }

  .box {
      width: 100%;
      min-height: auto;
      padding: 15px;
      margin: 10px 0;
  }

  .carousel-inner {
      padding: 10px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
      padding: 8px;
  }

  /* تحسين عرض النصوص */
  .heading h2 {
      font-size: 24px;
  }

  .heading a {
      width: 140px !important;
      font-size: 14px;
  }

  .heading-sec-partners div {
      width: 100%;
      padding: 12px 5px;
  }

  .partners div img {
      width: 100%;
  }

  .pic-pre-work {
      height: 200px;
  }

  /* تحسين الفيديوهات */
  .video ul {
      padding-left: 15px;
  }
  #courseVideo {
    width: 100% !important;
    height: auto !important;
}
}


