* {
   
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    
}
.navbar-expand-lg .navbar-nav .nav-link{
    color: #212121;
    display: grid;
    justify-items: center;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1rem;
    margin-top: 5px;
    background-color: #eaeaea;
}
.navbar .nav-link{
  font-family: 'Times New Roman', Times, serif;
  font-weight: 200;
}
.navbar-expand-lg .navbar-nav a:hover{
  background-color: rgb(99, 117, 215);
}

/* slider */

.img-slider{
    position: relative;
    height: 65vh;
    margin: px;
    
   
  }
  
  .img-slider .slide{
    z-index: 1;
    position: absolute;
    width: 100%;
    clip-path: circle(0% at 0 50%);
  }
  
  .img-slider .slide.active{
    clip-path: circle(150% at 0 50%);
    transition: 2s;
    transition-property: clip-path;
  }
  
  .img-slider .slide img{
    z-index: 1;
    width: 100%;
    height: 60vh;
    object-fit:fill;
  }
  
  .img-slider .slide .info{
    position: absolute;
    top: 0;
    padding: 15px 30px;
  }
  
  .img-slider .slide .info h2{
    color: #fff;
    font-size: 45px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
  }
  
  .img-slider .slide .info p{
    color: #fff;
    font-size: 14px;
    width: 50%;
    padding-TOP: 75px;
    border-radius: 4px;
    font-weight: 100;
    font-family:Georgia, 'Times New Roman', Times, serif;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}
  
  .img-slider .navigation{
    z-index: 2;
    position: absolute;
    display: flex;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .img-slider .navigation .btn{
  
    width: 0px;
    height: 0px;
    
   border: none;
    cursor: pointer;
  }
  
/*  .img-slider .navigation .btn.active{
   /* background: #29333b;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
  }*/
  
  @media (max-width: 820px){
    .img-slider{
      
      height: 60vh;
    }
  
    .img-slider .slide .info{
      padding: 10px 25px;
    }
  
    .img-slider .slide .info h2{
      font-size: 35px;
    }
  
    .img-slider .slide .info p{
      width: 60%;
      font-size: 13px;
      margin: 10%;
    }
  
    .img-slider .navigation{
      bottom: 25px;
    }
  
    /*.img-slider .navigation .btn{
      width: 2px;
      height: 2px;
      margin: 8px;
    }*/
  }
  
  @media (max-width: 620px){
    .img-slider{
      
      height: 60vh;
    }
  
    .img-slider .slide .info{
      padding: 10px 20px;
    }
  
    .img-slider .slide .info h2{
      font-size: 30px;
    }
  
    .img-slider .slide .info p{
      width: 80%;
      font-size: 13px;
    }
  
    .img-slider .navigation{
      bottom: 15px;
    }
  
   /* .img-slider .navigation .btn{
      width: 5px;
      height: 5px;
      margin: 6px;
    }*/
  }
  
  @media (max-width: 420px){
    .img-slider{
     
      height: 60vh;
    }
  
    .img-slider .slide .info{
      padding: 5px 10px;
    }
  
    .img-slider .slide .info h2{
      font-size: 25px;
    }
  
    .img-slider .slide .info p{
      width: 70%;
      font-size: 9px;
    }
  
    .img-slider .navigation{
      bottom: 10px;
    }

  }





.section {
    display: flex;
    justify-content: space-between; /* Ensures space between text and image */
    align-items: center; /* Vertically centers the text and image */
    margin: 20px;
  }
  
  .text {
    flex-basis: 40%; /* Text takes 40% of the width */
    margin-top: 40px;
  }
  
  .image {
    flex-basis: 50%; /* Image takes 50% of the width */
  }
  
  .image img {
    max-width: 90%;
    height:50%; /* Ensures the image scales properly */
  }
  .section {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /*** */

  .section {
    opacity: 0;
    /*Starthidden*/transform: translateY(px);
    /*Startposition*/transition: opacity 1s ease-out, transform 0.6s ease-out;
    -webkit-transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    -moz-transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    -ms-transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    -o-transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
  


  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .animate {
    animation: fadeInUp 0.6s ease-out forwards;
  }
  

  /*               */
  @media (max-width: 800px) {
    .section {
        flex-direction: column;
        text-align: center;
    }

    .text {
        margin-bottom: 40px;
    }
}


.section {
    overflow:hidden; /* Ensures that the scaled image does not overflow its container */
  }
  
  .section .image img {
    transition: transform 0.3s ease; /* Smooth scaling effect */
  }
  
  .section:hover .image img {
    transform: scale(1.1);
    /*Scaletheimageto110%onhover*/-webkit-transform: scale(1.5);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    -webkit-transform: scale(1.1);
}
  
.text {
  font-size: 18px;
  color: #333;
  transition: all 0.3s ease;
  text-align: end;
    word-spacing: normal;
  /*background-color: #f5f5f5;*/
  padding: 20px;
  border-radius: 5px;
}

.text:hover {
  color: #0073e6;
  /*Textcolorchangesonhover*/transform: scale(1.05);
  /*Slightlyincreasessize*//*background-color: #e0f0ff;
  /*Changesbackgroundcolor*/box-shadow: 0 4px 8px rgba(63, 61, 61, 0.1);
   /* Adds a subtle shadow */
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
}



.links-section ul li a:visited {
  color: #007bff !important; /* Force visited link to retain the same color */
}

.links-section ul li a:active {
  color: #0056b3 !important; /* Optional: Change color when the link is clicked */
}


/* Initial state of the image */

  
/*footer*/
  .text-white{
    font-size: 12px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-decoration: none;
    -webkit-text-fill-color: #1D212B;
    
  }
  p a:hover{
   background-color: rgb(166, 170, 198);
  }
  p{
    padding:8px
  }
  .p-2 a{
    font-size: 12px;
    color: #1D212B;
    text-decoration: none;
  }
  .p-2 a:hover{
    background-color: rgb(128, 139, 225);
    font-size: 0.8rem;
    font-weight: 300;
    
  }
  
  .m-1{
    font-size: 20px;
    color: #1D212B;
    text-decoration: none;
  }



  .col-md-4 p:hover{
    background-color: rgb(166, 170, 198);
    font-size: 0.8rem;
    font-weight: 300;
    
   }
   #card .container .card .card-img-top:hover{
    height: 120px;
    width: 250px;
   }
   #card .container .card-body .card-title:hover{
    color: #8064a0;
    font-size: 2.2rem;
  
   }
  
   /*for footer */
   .container{
    text-align: center;
  
  }







  
  
  
  
  .search {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    padding: 20px;
    justify-content: center;

  }
  
  /* Links section */
  .links-section {
   /*  flex: 0 0 20%; 25% width for the links section on larger screens */
   
    /*padding: 15px;*/
    border-radius: 8px;
    text-align: right;
    text-emphasis-color:unset;
  }
  
  .links-section ul {
    list-style-type: none; /* Removes bullet points from the list */
  }
  
  .links-section li {
    margin: 30px 0; /* Adds space between list items */
  }
  
  .links-section a {
    text-decoration: none;
    color: #723bb6;
    font-size:20px;
  }


  .links-section ul li a:visited {
    color: #007bff; /* Ensure visited links keep the same color */
}
  
  /* Cards section */
  .cards-section {
    flex: 0 0 75%; /* 75% width for the cards section on larger screens */
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
  }
  
  .card {
    width: calc(50% - 20px); /* Responsive width for the cards */
    background-color: #fff;
    border: 1px solid #534646;
    border-radius: 8px;
    /*padding: 15px;*/
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .card img {
    width: 100%;
    /*height:25vh;*/
    border-radius: 8px;
  }
  
  .card h3 {
    margin: 10px 0;
    font-size: 1.2em;
    text-align: center;
  }
  
  .card p {
    color: #666;
    text-align: right;
    padding-right: 10PX;
  }
  
  /* Responsive adjustments for smaller screens */
  @media (max-width: 768px) {
   
  
    .card {
      width: calc(50% - 20px); /* Adjust card width for smaller screens */
    }
  }
  
  @media (max-width: 480px) {
    .card {
      width:90%; /* Cards take full width on very small screens */
    }
      p{
        padding:8px
      }
    }
  

  h1{
    padding: 10px;
  }






  .partners-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8f8f8;
}

.partners-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    animation: typing 3s steps(15, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-right-color: #333; }
}

.partners-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ffcc00;
    animation: underline-grow 1s ease-in-out forwards;
}

@keyframes underline-grow {
    from { width: 0; }
    to { width: 100%; }
}

.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partners-logos img {
    max-width: 170px;
    height: auto;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partners-logos img:hover {
    transform: scale(1.8) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    -webkit-transform: scale(1.8) rotate(5deg);
    -moz-transform: scale(1.8) rotate(5deg);
    -ms-transform: scale(1.8) rotate(5deg);
    -o-transform: scale(1.8) rotate(5deg);
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
    .partners-logos {
        justify-content: center;
    }

    .partners-logos img {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .partners-logos {
        flex-direction: column;
        align-items: center; /* توسيط اللوغوهات */
    }

    .partners-logos img {
        max-width: 150px;
    }
}


.m-1:hover{
  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Safari 3-8 */
  transform: scale(1.5); 

}
.m-1{
  font-size: 20px;
  box-shadow: #00b371;
  background-color: #aacdea;
  width: 70px;
}
