@font-face {
    font-family: 'mm';
    src: url(./kk.ttf) format(truetype);
}
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
h1,h2,h3,
h4,h5,h6,
p, a{
    font-family: 'mm';
}
.spp {
    margin: 35px auto;
}
body {
    line-height: 1.6;
  }
  .carousel-item img {
    height: 600px;
    object-fit: cover;
  }
  .services .card {
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .projects img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  .counter {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
  }
  footer  {
    padding: 20px 0;
    text-align: center;
  }
/* nav */
nav {
    min-height: 100px;
}
.nav-link:hover{
    color: #c21717;
}
.navbar-brand:hover{
    color: #c21717;
}
/* mainCarousel */
#mainCarousel .carousel-inner h5 , #mainCarousel .carousel-inner p {
  background-color:rgba(205, 204, 204, 0.8);
  width: fit-content;
  color: #000;
  text-align: center;
  margin: 7px auto;
  padding: 5px 10px;
  border: 0;
  border-radius: 10px;
}
/* alert */
.al_al{
    display: flex;
    justify-content: space-around;
    flex-direction: row-reverse;
    align-items: center;
}
.al_im{
    width: 45%;
    max-height: 300px;
    border-radius: 10px;
    border: none;
}
.al_txt{
    width: 40%;
}
@media screen and (max-width: 800px) {
    .al_al{
        justify-content: center;
        flex-direction: column;
    }
    .al_im{
        width: 100%;
        max-height: 300px;
        border-radius: 10px;
        border: none;
    }
    .al_txt{
        margin-top: 20px;
        width: 100%;
    }
    #quoteCarousel1 p {
        min-height: 250px !important;
        display: flex;
        align-items: center;
    }
}
/* card */
.card1 .card{
    width: 100% !important;
    text-align: right !important;
}

/* about */
.services img{
    height: 200px; 
    object-fit: cover; 
    width: 100%; 
}
/* quote */
#quoteCarousel1, 
#quoteCarousel2{
    background-color: #1B4F72;
}
#quoteCarousel1 p,
#quoteCarousel2 p {
    width: 80%;
    min-height: 120px;
}
#quoteCarousel1 .carousel-inner ,
#quoteCarousel2 .carousel-inner 
{
    max-width: 800px;
    margin: auto;
  }
  
  /* Style for the quote icon */
  #quoteCarousel1 .carousel-item .bg-warning, 
  #quoteCarousel2 .carousel-item .bg-warning 
  {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; /* Ensure the background is a circle */
  }
  #quoteCarousel1 .carousel-indicators button, 
  #quoteCarousel2 .carousel-indicators button 
  {
    width: 15px;
    height: 15px;
    background-color: #eee; /* اللون الثابت */
    border: none;
    margin: 5px;
    transition: transform 0.2s ease-in-out;
  }
  
  #quoteCarousel1 .carousel-indicators .active ,
  #quoteCarousel2 .carousel-indicators .active 
  {
    background-color: #dbdbdb; /* لون عند التفعيل */
  }
  
  #quoteCarousel1 .carousel-indicators button:hover ,
  #quoteCarousel2 .carousel-indicators button:hover 
  {
    transform: scale(1.2); /* تأثير التكبير عند التمرير */
    background-color: #555; /* نفس اللون للحفاظ على الثبات */
  }
  
  #quoteCarousel1 .carousel-indicators button.rounded-circle ,
  #quoteCarousel2 .carousel-indicators button.rounded-circle 
  {
    border-radius: 50%; /* لتحويل الأزرار إلى دوائر */
  }
/* counters */
.counters .counter {
font-size: 2rem;
font-weight: bold;
color: #007bff;
}
/* acc */
.accordion-button::after{
  margin-right: 10px;
}
/* aliat */
.aliat img {
  width: 70%;
  max-width: 500px; 
  height: auto;
}
.aliat {
  background-color: #4e4e4e61;
  padding: 20px 0;
}
.aliat h4 {
  background-color: rgba(255, 255, 255, .8);
  width: fit-content;
  padding: 5px 15px;
  margin: 10px auto;
  border: 0;
  border-radius: 10px;
}
.aliat .carousel-control-prev-icon,
.aliat .carousel-control-next-icon{
  display: inline-block;
  width: 1.2rem !important;
  height: 1.2rem !important;
  background-size: 100% 100%;
  background-color: #393939 !important;
  padding: 20px !important;
  border-radius: 15px !important;
}
/* .aliat .carousel-item h4 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.aliat .carousel-item img {
  border: 2px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
} */

/* ---- whatsapp ------ */
@keyframes move {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.wa {
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 1%;
  right: 1%;
  animation: move 2s infinite ease-in-out;
}
.wa img {
  width: 50px;
  height: 50px;
}