.main-container {
  min-height: 100vh;
  background-color: var(--white-color);
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-gray {
  background-color: var(--light-gray);
}

.section-white {
  background-color: var(--white-color);
}

.grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.section h2 {
  color: var(--text-title);
  margin-bottom: 1.5rem;
}

.section-text {
  color: var(--text-description);
  line-height: 1.75;
}

.section-text p {
  margin-bottom: 1.5rem;
}

.section-text p:last-child {
  margin-bottom: 0;
}

.image-container {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Order utilities for responsive layout */
@media (min-width: 1024px) {
  .lg-order-1 {
    order: 1;
  }

  .lg-order-2 {
    order: 2;
  }
}

/* Responsive text sizing */
@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }


  .grid {
    gap: 2rem;
  }
}

.timeline-section {
  padding-top: 5rem;
}

.timeline-header {
  text-align: center;
  margin-bottom: 4rem;
}

.timeline-header h2 {
  color: var(--text-title);
  margin-bottom: 2rem;
}

.timeline-header p {
  color: var(--text-description);
  text-align: center;
}

.timeline-items {
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background-color: var(--primary-color);
  opacity: 0.2;
  z-index: 0;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5rem;
  position: relative;
}

.timeline-item .dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--border-radius-rounded);
  background-color: var(--primary-color);
  border: 4px solid var(--white-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.timeline-item .content {
  background: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 40%;
  position: relative;
  z-index: 1;
}

.timeline-item.left .content {
  text-align: right;
}

.timeline-item.right .content {
  margin-left: auto;
  text-align: left;
}

.timeline-year {
  color: var(--primary-color);
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.arabic-version .timeline-year {
    font-size: 2rem;
}
.timeline-title {
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--text-title);
  margin-bottom: 0.75rem;
}

.timeline-description {
  color: var(--gray-color);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-item .content {
    width: 100%;
    text-align: left !important;
  }

  .timeline-line {
    left: 20px;
    transform: none;
  }

  .timeline-item .dot {
    left: 10px;
    top: 0;
    transform: translateY(-50%);
  }
}

/* Section styles */
.leadership-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

/* Header styles */
.leadership-header {
  text-align: center;
  margin-bottom: 64px;
}

.leadership-title {
  color: var(--text-title);
  margin-bottom: 24px;
}

.leadership-description {
  color: var(--text-description);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Team card */
.team-card {
  display: flex;
  flex-direction: column;
  background: var(--white-color);
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.member-name {
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}

.member-position {
  color: var(--primary-color);
  font-weight: 600;
}

.member-bio {
  color: var(--gray-color);
  margin-bottom: 0;
}

/* Navigation buttons */
.nav-buttons {
  margin-top: 48px;
  text-align: center;
}

.buttons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Section styles */
.values-section {
  padding: 80px 0;
  background-color: var(--white-color);
}

/* Header styles */
.values-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.values-section-title {
  color: var(--text-title);
  margin-bottom: 24px;
}

.values-section-description {
  color: var(--text-description);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Value item */
.value-item {
  text-align: center;
}

.value-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: var(--primary-color);
  margin-bottom: 24px;
  border-radius: var(--border-radius-rounded);
  transition: transform 0.3s ease;
}

.value-item:hover .value-icon-container {
  transform: scale(1.1);
}
.value-icon-container img{
    width: 2.7rem !important;
}
.value-icon {
  font-size: 2rem;
  color: var(--white-color);
}

.value-title {
  color: var(--text-title);
  margin-bottom: 16px;
}

.value-description {
  color: var(--gray-color);
  line-height: 1.625;
}

/* RTL Timeline Adjustments */
.arabic-version .timeline-line {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

.arabic-version .timeline-item.right .content {
  margin-left: 0;
  margin-right: auto;
}

/* Mobile RTL Timeline Adjustments */
@media (max-width: 768px) {
  .arabic-version .timeline-line {
    left: auto;
    right: 20px;
    transform: none;
  }

  .arabic-version .timeline-item .dot {
    left: auto;
    right: 10px;
  }

  .arabic-version .timeline-item .content {
    text-align: right !important;
  }
}

.arabic-version .business-btn .btn-icon,
.arabic-version .careers-btn .btn-icon {
  transform: rotate(180deg);
  margin-left: 0;
  margin-right: 8px;
}




/* Owl Carousel Custom Styling */
.owl-carousel .owl-stage-outer {
  padding: 2rem 0;
}

.owl-carousel .owl-stage {
  display: flex;
}

.owl-carousel .owl-item {
  display: flex;
}

.owl-carousel .owl-nav {
  margin: 0;
}

.owl-carousel .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: var(--white-color) !important;
  border-radius: var(--border-radius-rounded) !important;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}

.owl-carousel .owl-nav button:hover {
  background: var(--primary-color) !important;
  color: var(--white-color) !important;
}

.owl-carousel .owl-nav button.owl-prev {
  left: -3.5rem;
}

.owl-carousel .owl-nav button.owl-next {
  right: -3.5rem;
}

.owl-carousel .owl-nav button.owl-prev.disabled {
  color: var(--text-description) !important;
  cursor: not-allowed !important;
}

.owl-carousel .owl-nav button.owl-prev.disabled:hover {
  background: var(--white-color) !important;
  color: var(--text-description) !important;
}

.owl-carousel .owl-nav button.owl-next.disabled {
  color: var(--text-description) !important;
  cursor: not-allowed !important;
}

.owl-carousel .owl-nav button.owl-next.disabled:hover {
  background: var(--white-color) !important;
  color: var(--text-description) !important;
}

.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 2rem;
}

.owl-carousel .owl-dot {
  display: inline-block;
  margin: 0 0.25rem;
}

.owl-carousel .owl-dot span {
  background: var(--text-description);
  margin: 0 !important;
  border-radius: var(--border-radius-rounded);
  display: block;
  transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active span {
  background: var(--primary-color) !important;
}

.owl-carousel .owl-dot.active:hover span {
  background: var(--primary-color) !important;
}

.owl-carousel .owl-dot:hover span {
  background-color: #9ca3af !important;
}

@media (max-width: 768px) {
  .values-section {
    padding: 3rem 0;
  }

  .owl-carousel .owl-nav button.owl-prev {
    left: -1rem;
  }

  .owl-carousel .owl-nav button.owl-next {
    right: -1rem;
  }
}


.arabic-version .owl-carousel .owl-nav button.owl-prev {
  right: -2rem !important;
  left: auto;
}

.arabic-version .owl-carousel .owl-nav button.owl-next {
  left: -2rem !important;
  right: auto;
}

.arabic-version .owl-carousel .owl-nav button.owl-prev i {
  transform: rotate(180deg) !important;
}

.arabic-version .owl-carousel .owl-nav button.owl-next i {
  transform: rotate(180deg) !important;
}

@media (max-width: 768px) {
  .arabic-version .owl-carousel .owl-nav button.owl-prev {
    right: -1rem !important;
  }

  .arabic-version .owl-carousel .owl-nav button.owl-next {
    left: -1rem !important;
  }
}
