:root {
  --main-color: #000000;
  --second-color: #ffffff;
  --third-color: #404040;
  --fourth-color: #808080;
  --fifth-color: rgb(192, 192, 192);
  --six-color: #17b99e;
  --background-color: rgba(192, 192, 192, 0.4);
  --background-color-filter: rgba(192, 192, 192, 0.4) !important;
  --placeholder-color: #a1a1a1;
}
@media (max-width: 576px) {
  .hero-slider .item {
    height: 50vh;
    object-fit: cover;
  }
}
@media (max-width: 992px) {

  .custom-logo img:nth-child(1) {
    position: absolute;
    width: 400px;
    height: 250px;
    object-fit: cover;
    left: 0;
    top: 275px;
    border: 5px solid;
  }
  .custom-logo img:nth-child(2) {
    position: absolute;
    width: calc(100% - 200px);
    height: 300px;
    object-fit: cover;
    right: 0;
    top: 0;
    border: 5px solid;
  }
  .custom-logo-two img:nth-child(1) {
    position: absolute;
    width: 400px;
    height: 250px;
    object-fit: cover;
    right: 0;
    top: 275px;
    border: 5px solid;
  }
  .custom-logo-two img:nth-child(2) {
    position: absolute;
    width: calc(100% - 200px);
    height: 300px;
    object-fit: cover;
    left: 0;
    top: 0;
    border: 5px solid;
  }
.dropdown-menu-list {
    position: static; /* إعادة الضبط للشاشات الصغيرة */
    box-shadow: none;
  }
  
  .second-level {
    left: 15px; /* تعديل الموضع للشاشات الصغيرة */
    width: calc(100% - 30px); /* عرض مناسب للشاشات الصغيرة */
  }
  
  /* إخفاء تأثير hover على الشاشات الصغيرة */
  .nav-item.dropdown:hover .first-level,
  .dropdown-submenu:hover .second-level {
    max-height: 0;
  }
  
  .nav-item.dropdown:hover .iconToggle,
  .dropdown-submenu:hover .iconToggle {
    transform: none;
  }
}
@media (max-width: 768px) {
  .custom-logo img:nth-child(1) {
    position: absolute;
    width: 250px;
    height: 250px;
    object-fit: cover;
    left: 0;
    top: 275px;
    border: 5px solid;
  }
  .custom-logo img:nth-child(2) {
    position: absolute;
    width: calc(100% - 100px);
    height: 300px;
    object-fit: cover;
    right: 0;
    top: 0;
    border: 5px solid;
  }
  .custom-logo-two img:nth-child(1) {
    position: absolute;
    width: 250px;
    height: 250px;
    object-fit: cover;
    right: 0;
    top: 275px;
    border: 5px solid;
  }
  .custom-logo-two img:nth-child(2) {
    position: absolute;
    width: calc(100% - 100px);
    height: 300px;
    object-fit: cover;
    left: 0;
    top: 0;
    border: 5px solid;
  }
  .hero-slider .text-slider h1 {
  text-wrap: wrap;
  font-size: 2.8rem !important;
  color: var(--second-color);
  text-align: center;
  font-weight: bold !important;
}
}

@media (min-width: 992px) {
  /* .hero-slider .item {
    position: relative;
    height: 60vh;
    width: 100% !important;
    margin: 0 auto;
  } */
  .custom-logo img:nth-child(1) {
    position: absolute;
    width: 300px;
    height: 300px;
    object-fit: cover;
    left: 0;
    bottom: 0;
    border: 5px solid;
  }
  .custom-logo img:nth-child(2) {
    position: absolute;
    width: calc(100% - 220px);
    height: 350px;
    object-fit: cover;
    right: 0;
    top: 0;
    border: 5px solid;
  }

  .custom-logo-two img:nth-child(1) {
    position: absolute;
    width: 300px;
    height: 300px;
    object-fit: cover;
    right: 0;
    bottom: 0;
    border: 5px solid;
  }
  .custom-logo-two img:nth-child(2) {
    position: absolute;
    width: calc(100% - 220px);
    height: 350px;
    object-fit: cover;
    left: 0;
    top: 0;
    border: 5px solid;
    z-index: 1;
  }
 nav .nav-link {


  position: relative;
}
nav .nav-link::before {
  content: "";
  position: absolute;
  height: 2px;
  width: 5px;
  border-radius: 50px;
  top: 100%;
  left: 50%;
  transition: all 0.6s ease;
  transform: translateX(-50%);
  background-color: var(--second-color);
}
nav .nav-link:hover::before {
  width: 100%;
}
nav .nav-link.active {
  position: relative;
  font-weight: 700 !important;
}
nav .nav-link.active::before {
  content: "";
  position: absolute;
  height: 2px;
  border-radius: 50px;
  top: 100%;
  left: 50%;
  transition: all 0.6s ease;
  transform: translateX(-50%);
  background-color: var(--second-color);
  width: 100%;
}
.fixed-top .nav-link::before {
  background-color: var(--main-color);
}
.fixed-top .nav-link.active::before {
  background-color: var(--main-color);
}
}
@media (max-width: 600px) {
  .experience-content h2 {
    font-size: 1.8rem;
  }
  .expertise-highlights {
    gap: 10px;
  }
}