/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Banner Styles */
.banner-container {
  overflow: hidden;
  max-height: 500px;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
}

.banner-title {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-text {
  color: #fff;
  font-size: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  max-width: 600px;
}

/* Card Styles */
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Tab Styles */
.nav-tabs .nav-link {
  border: none;
  color: #495057;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
}

.nav-tabs .nav-link.active {
  color: #0d6efd;
  background-color: transparent;
  border-bottom: 3px solid #0d6efd;
}

/* Carousel Styles */
.carousel-caption {
  border-radius: 5px;
  padding: 10px;
}

/* Form Styles */
.form-control, .form-select {
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.btn-primary {
  background-color: #0d6efd;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
}

/* RTL Support for Arabic */
[dir="rtl"] .lang-toggle,
[dir="rtl"] .navbar-nav {
  text-align: right;
}

[dir="rtl"] .me-1 {
  margin-right: 0 !important;
  margin-left: 0.25rem !important;
}

[dir="rtl"] .me-2 {
  margin-right: 0 !important;
  margin-left: 0.5rem !important;
}

[dir="rtl"] .me-3 {
  margin-right: 0 !important;
  margin-left: 1rem !important;
}

[dir="rtl"] .ms-auto {
  margin-right: auto !important;
  margin-left: 0 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .banner-title {
      font-size: 2rem;
  }
  
  .banner-text {
      font-size: 1.2rem;
  }
  
  .card-img-top {
      height: 150px;
  }
}