body {
  font-family: "El Messiri", sans-serif;
  background-color: #f0f0f0;
  color: #333;
  line-height: 1.7;
  padding: 0;
  margin: 0;
}

.container {
  width: 100%;
}

.swiper {
  width: 100%;
  /*height: 300px;*/
}

.swiper-slide {
  position: relative;
  background-position: center;
  background-size: cover;
  transition: transform 1s ease;
}

.swiper-slide img {
  width: 100%;
  height: 250px;
  object-fit: fill;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.05);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* .custom-navbar {
        background: linear-gradient(to left, #000000, #838485);
        padding: 10px 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
        z-index: 1000;
      } */

.custom-navbar {
  background: linear-gradient(to left, #0f2354 70%, #0f52ba 100%);
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 1000;
}

.custom-navbar .navbar-brand {
  font-size: 1.4rem;
}

.custom-navbar .nav-link {
  color: #fff !important;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

/* .custom-navbar .nav-link:hover,
      .custom-navbar .nav-link.active {
        color: #FF6500!important;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        padding: 8px 12px;
      }  */

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: #cb9e49 !important;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 12px;
}

@media (max-width: 767px) {
  .custom-navbar .navbar-collapse {
    text-align: center;
  }

  .custom-navbar .nav-link {
    display: block;
    margin: 10px 0;
  }
}

.navbar-nav .nav-item {
  margin-left: 15px;
}

.services-section {
  background-color: #eeedeb;
  color: #2f3645;
}

.service-card {
  /* background: linear-gradient(to top left, #2f3645 5%, #e6b9a6 95%); */
  background: linear-gradient(to top left, #e97132 5%, #e6b9a6 95%);
  /* background:#E97132; */
  border-radius: 12px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-card .icon img {
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
}

.service-link {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.service-link:hover {
  color: #ffd5a5;
}

.read-more-link {
  color: #fff;
  text-decoration: underline;
  font-size: 0.9rem;
}

.read-more-link:hover {
  color: #e6b9a6;
}

.text-primary2 {
  color: #0043a5 !important;
}

.main-footer {
  background: linear-gradient(to left, #0f2354 70%, #0f52ba 100%);

  color: white;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #cb9e49;
  text-decoration: underline;
}

.footer-social {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social:hover {
  color: #cb9e49;
}

.newsletter-form .form-control {
  border-radius: 0;
}

.newsletter-form .btn {
  border-radius: 0;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.fade-in-up.appear {
  opacity: 1;
  transform: translateY(0);
}

.service-card .icon img {
  transition: transform 0.4s ease;
}

.service-card:hover .icon img {
  transform: scale(1.5);
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 4px;
  background: #e6b9a6;
  left: 25%;
  bottom: -10px;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.section-title:hover::after {
  width: 100%;
  left: 0;
}

/* تأخيرات متدرجة حسب الترتيب */
.fade-in-up.delay-1.appear {
  transition-delay: 0s;
}

.fade-in-up.delay-2.appear {
  transition-delay: 0.5s;
}

.fade-in-up.delay-3.appear {
  transition-delay: 1s;
}

.fade-in-up.delay-4.appear {
  transition-delay: 1.5s;
}

@keyframes bounceOnce {
  0% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(0);
  }
}

.bounce-once {
  animation: bounceOnce 0.6s ease;
}

a {
  text-decoration: none;
}

.subject {
  color: #cb9e49 !important;
}

h4.subject {
  background-color: #ffe6cc;
  /* لون خلفية فاتح برتقالي */
  padding: 5px;
  border-radius: 8px;
  font-weight: 700;
  color: #cb9e49;
  text-align: justify;
  line-height: 1.3;
}

.portfolio-detail-section {
  background-color: #fff3e0;
  /* لون خلفية فاتح */
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: rgb(17, 55, 161);
  margin-bottom: 20px;
  text-align: justify;
  line-height: 1.7;
}

.table th {
  background-color: #ffe6cc;
  color: #2f3645;
  font-size: 1.1rem;
}

.table td {
  font-size: 1.05rem;
  vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #fffaf5;
}

.table-striped tbody tr:nth-of-type(even) {
  background-color: #fff3e0;
}

.text-end {
  text-align: right !important;
}

label {
  text-align: right !important;
  direction: rtl !important;
}

/* كود التحقق */
.captcha-box {
  background: linear-gradient(135deg, #e0e7ff, #f3f4f6);
  border: 2px solid #105ac9;
  padding: 10px 0;
  font-size: 26px;
  font-weight: bold;
  /* font-family: 'Roboto Mono', monospace; */
  color: #1f2937;
  text-align: center;
  letter-spacing: 10px;
  border-radius: 12px;
  user-select: none;
  width: 220px;
  margin: auto;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.15);
  transition: all 0.3s ease-in-out;
}

.captcha-box:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 14px rgba(79, 70, 229, 0.25);
}

.captcha-box:active {
  transform: scale(0.98);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.select2-container .select2-selection--single {
  height: 45px !important;
  padding: 8px 5px;
  font-size: 1.3rem;
  line-height: 1.5;
  border-radius: 0.5rem !important;
  border: 1px solid #ced4da !important;
  background-color: #fff !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 25px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 45px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__placeholder {
  color: #43464b !important;
}

form label {
  color: #0043a5; /* الأزرق الأساسي لـ Bootstrap */
  font-weight: 500;
}
.payment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.payment-icon:hover {
  transform: scale(1.05);
}

.custom-link-group .link-card {
  transition: all 0.3s ease;
  border-right: 5px solid #0d6efd;
  background-color: #f8f9fa;
  text-align: right;
}

.custom-link-group .link-card:hover {
  background-color: #e9ecef;
  border-right: 5px solid #0b5ed7;
  transform: translateX(-5px);
}

.custom-link-group .link-card i {
  color: #0d6efd;
  margin-left: 8px;
}

/* button[type="submit"] {
    background-color: #0d6efd;
    border: none;
    font-weight: bold;
}
button[type="submit"]:hover {
    background-color: #0b5ed7;
} */
