.about .content ul i {
  font-size: 30px;
}
.light-background {
  background-color: #f8f9fa;
}
#about.section {
  padding: 80px 0;
}
.section-title h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1b263b;
  margin-bottom: 1rem;
}
.section-title p {
  color: #6c757d;
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 3rem;
}
.service-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}
.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}
.icon i {
  color: white;
  font-size: 1.5rem;
}
.title {
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.description {
  color: #6c757d;
  line-height: 1.7;
  font-size: 1rem;
}
.description ul li {
  margin-bottom: 0.8rem;
  color: #6c757d;
}
.description strong {
  color: #2c3e50;
}

/* Remove margin-bottom from last element in each row */
.row > .col-lg-6:last-child .service-item:last-child {
  margin-bottom: 0;
}

/* Ensure equal heights on larger screens ONLY */
@media (min-width: 992px) {
  .service-item {
    height: 100%;
  }

  .row.gy-4 {
    display: flex;
    align-items: stretch;
  }

  .vision-mission-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .vision-mission-col .service-item {
    margin-bottom: 0;
    flex: 1;
  }

  /* Center the values section vertically on large screens only */
  .values-container {
    display: flex;
    align-items: center;
    height: 100%;
  }
}

/* Mobile and Tablet responsiveness */
@media (max-width: 991px) {
  .featured-services .service-item {
    height: auto !important;
  }
  .service-item {
    display: block;
    margin-bottom: 2rem;
    height: auto;
  }

  .vision-mission-col {
    display: block;
  }

  .values-container {
    display: block;
    height: auto;
  }

  .col-lg-6 .service-item:last-child {
    margin-bottom: 2rem;
  }

  .row > .col-lg-6:last-child .service-item:last-child {
    margin-bottom: 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  #about.section {
    padding: 40px 0;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-title p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .service-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    height: auto;
    display: block;
  }

  .icon {
    width: 45px;
    height: 45px;
    margin-right: 0.5rem;
  }

  .icon i {
    font-size: 1.2rem;
  }

  .title {
    font-size: 1.1rem;
  }

  .description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .values-container,
  .vision-mission-col {
    display: block;
    height: auto;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 991px) {
  .section-title h2 {
    font-size: 2rem;
  }

  .service-item {
    padding: 1.8rem;
    margin-bottom: 2rem;
    height: auto;
    display: block;
  }

  .icon {
    width: 50px;
    height: 50px;
  }

  .icon i {
    font-size: 1.3rem;
  }

  .values-container,
  .vision-mission-col {
    display: block;
    height: auto;
  }
}

.images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  height: 500px;
}

.images-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.left-image {
  grid-row: span 2;
}

.right-images {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 15px;
}

/* Responsive on mobile */
@media (max-width: 768px) {
  .images-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .left-image {
    grid-row: auto;
  }
}
.lang-switcher {
  display: flex;
  gap: 10px;
  margin-right: 15px;
}

.lang-btn {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 5px 10px;
  border: 1px solid #fff;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.lang-btn:hover {
  background-color: #fff;
  color: #000;
}

/* تنسيق قسم النموذج */
#order-form {
  padding: 60px 0;
  /* background-color: #f8f9fa; */
}

/* تنسيق النموذج */
.order-form .form-control {
  border: 1px solid #415a77; /* اللون الثانوي */
  border-radius: 5px;
  padding: 10px;
  font-size: 16px;
  background-color: #fff;
  color: #1b263b; /* اللون الأساسي */
}

.order-form .form-control:focus {
  border-color: #1b263b; /* اللون الأساسي */
  box-shadow: 0 0 5px rgba(27, 38, 59, 0.3);
  outline: none;
}

/* تنسيق زر الإرسال */
.order-form .btn-primary {
  background-color: #1b263b; /* اللون الأساسي */
  border-color: #1b263b;
  padding: 12px 30px;
  font-size: 18px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.order-form .btn-primary:hover {
  background-color: #415a77; /* اللون الثانوي */
  border-color: #415a77;
}

/* تنسيق العنوان */
#order-form h3 {
  color: #1b263b; /* اللون الأساسي */
  font-size: 28px;
  margin-bottom: 20px;
}

/* جعل النموذج متجاوب */
@media (max-width: 768px) {
  .order-form .btn-primary {
    width: 100%;
    padding: 12px;
  }
}
