.pagination span {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.pagination span:first-child {
  padding-left: 0;
}

.pagination span:last-child {
  padding-right: 0;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@media (max-width: 640px) {
  .whatsapp-button {
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-button svg {
    width: 28px;
    height: 28px;
  }
}

/* Styles */
body {
  font-family: 'Lexend', sans-serif;
}

body.font-arabic {
  font-family: 'Noto Kufi Arabic', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Animation Utilities */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

/* RTL Support for specific icons */
[dir="rtl"] .rtl-flip {
  transform: scaleX(-1);
}

[dir="rtl"] .rtl-rotate-180 {
  transform: rotate(180deg);
}

/* Carousel transition */
.testi-fade {
  transition: opacity 0.3s ease-in-out;
}

/* Infinite Marquee Styles */
.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 1) 15%,
      rgba(0, 0, 0, 1) 85%,
      rgba(0, 0, 0, 0) 100%);
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6rem;
  padding-right: 6rem;
  animation: scroll 40s linear infinite;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/* Adjust direction for RTL */
[dir="rtl"] .marquee-content {
  padding-right: 0;
  padding-left: 6rem;
  animation: scroll-rtl 40s linear infinite;
}

@keyframes scroll-rtl {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

.nav-container-box {
  background-color: rgba(0, 50, 159, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.hero-banner {
  /* Background image now handled by img tag for better LCP performance */
  position: relative;
}



/* Navigation container inherited */
.nav-container-box {
  background-color: rgba(0, 50, 159, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* RTL Support */
[dir="rtl"] .rtl-flip {
  transform: scaleX(-1);
}

[dir="rtl"] .rtl-rotate-180 {
  transform: rotate(180deg);
}

/* Animation Utilities */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

/* Filter specific styles */
.filter-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23204F94' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.2em;
}

[dir="rtl"] .filter-select {
  background-position: left 0.75rem center;
}

.course-row:hover {
  background-color: #f1f3f5;
}

/* Chip styling with requested 2px white border and #64CDF6 background */
.subcategory-red-chip {
  background-color: #64CDF6;
  color: white;
  border: 2px solid white;
  transition: all 0.3s ease;
  text-transform: none;
  /* As per image: Mixed Case */
}

.subcategory-red-chip:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  background-color: white;
  color: #64CDF6;
}

.form-underline-input {
  background: #f8fafc;
  border-bottom: 2px solid #204F94;
  transition: background 0.3s ease;
}

.form-underline-input:focus {
  background: #f1f5f9;
  outline: none;
}


.filter-btn {
  background-color: #f1f3f5;
  border-bottom: 3px solid #204F94;
  transition: all 0.3s ease;
  width: 100%;
}

.filter-btn:hover {
  background-color: #e9ecef;
}

.filter-btn.active {
  background-color: #e2e8f0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 50;
  border: 1px solid #e2e8f0;
  margin-top: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease-out;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
}

[dir="rtl"] .dropdown-item {
  text-align: right;
}

.dropdown-item:hover {
  background-color: #f7fafc;
  color: #204F94;
}

.city-card {
  background: white;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.city-card:hover {
  border-color: #22B7F2;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.region-btn-active {
  background-color: #204F94 !important;
  color: white !important;
  border-color: #204F94 !important;
}

.subcategory-link {
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.subcategory-link:hover {
  color: #22B7F2;
  transform: translateX(8px);
}

[dir="rtl"] .subcategory-link:hover {
  transform: translateX(-8px);
}

/* Breadcrumb Styles */
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.breadcrumb-item:hover:not(.active) {
  color: #204F94;
}

.breadcrumb-item.active {
  color: #0f172a;
  font-weight: 600;
}

.breadcrumb-separator {
  color: #cbd5e1;
  margin: 0 0.5rem;
}

[dir="rtl"] .breadcrumb-separator {
  transform: rotate(180deg);
}

.home-breadcrumb-icon {
  padding: 4px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.breadcrumb-item:hover .home-breadcrumb-icon {
  background-color: #f1f5f9;
}

.inhouse-hero-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("/assets/in-house-hero-bg-15c9b171.webp");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  position: relative;
}

.feature-card {
  background-color: #EAF9FF;
  border-top: 10px solid #204F94;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-input {
  background-color: #f8fafc;
  border-bottom: 2px solid #204F94;
  padding: 1rem 0.75rem;
  width: 100%;
  font-size: 0.875rem;
  color: #204F94;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-input:focus {
  outline: none;
  background-color: #f1f5f9;
  border-bottom-color: #22B7F2;
}

.contact-input::placeholder {
  color: #204F94;
  opacity: 0.7;
}

.instructor-form-input {
  background-color: #f8fafc;
  border-bottom: 2px solid #204F94;
  transition: all 0.3s ease;
}

.instructor-form-input:focus {
  background-color: #f1f5f9;
  border-bottom-color: #22B7F2;
  outline: none;
}

.benefit-icon-wrapper {
  background-color: #22B7F2;
  color: white;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.benefit-card:hover .benefit-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background-color: #204F94;
}

.client-logo-card {
  background: white;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.client-logo-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.client-logo-card img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.reg-card {
  background: white;
  border: 1px solid #edf2f7;
}

.input-field-container {
  position: relative;
  background-color: #f8fafc;
  border-bottom: 2px solid #204F94;
  transition: all 0.3s ease;
}

.input-field-container:focus-within {
  border-bottom-color: #22B7F2;
  background-color: #f1f5f9;
}

.input-field-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  display: block;
}

.input-field-icon {
  position: absolute;
  left: 1rem;
  top: 2.2rem;
  color: #94a3b8;
}

[dir="rtl"] .input-field-icon {
  left: auto;
  right: 1rem;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.5rem 1rem 0.75rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #204F94;
}

[dir="rtl"] .form-input {
  padding: 0.5rem 2.5rem 0.75rem 1rem;
}

.step-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f7ff;
  color: #204F94;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.opp-card {
  background: white;
  border: 1px solid #f3f4f6;
  border-radius: 0;
  padding: 2.5rem;
  transition: all 0.3s ease;
  text-align: left;
}

[dir="rtl"] .opp-card {
  text-align: right;
}

.opp-card:hover {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
  border-color: #22B7F2;
}

.opp-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.opp-icon-box.blue {
  background-color: #E6F7FF;
  color: #22B7F2;
}

.opp-icon-box.green {
  background-color: #E6FFFA;
  color: #38B2AC;
}

.opp-icon-box.purple {
  background-color: #F3F0FF;
  color: #805AD5;
}

.impact-quote {
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.accreditation-card {
  background-color: #EAF9FF;
  border-top: 8px solid #00529E;
  padding: 2rem 1.75rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.accreditation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -10px rgba(0, 82, 158, 0.15);
  background-color: #f5fcff;
}

.card-logo-container {
  height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  background: transparent;
}

.card-logo-container img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.accreditation-card:hover .card-logo-container img {
  transform: scale(1.05);
}

.accred-title {
  color: #00529E;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  text-align: left;
}

[dir="rtl"] .accred-title {
  text-align: right;
}

.divider-line {
  height: 2px;
  background-color: #00529E;
  width: 40px;
  margin-bottom: 1rem;
  transition: width 0.4s ease;
}

.accreditation-card:hover .divider-line {
  width: 100%;
}

.accred-desc {
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 2rem;
  flex-grow: 1;
  text-align: left;
}

[dir="rtl"] .accred-desc {
  text-align: right;
}

.view-link-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
}

.view-link {
  color: #00529E;
  font-weight: 800;
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.accreditation-card:hover .view-link {
  color: #22B7F2;
}

.arrow-svg {
  width: 32px;
  height: 32px;
  color: #00529E;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.accreditation-card:hover .arrow-svg {
  transform: translateX(8px);
  color: #22B7F2;
}

[dir="rtl"] .accreditation-card:hover .arrow-svg {
  transform: translateX(-8px);
}

/* Metadata Styles */
.sidebar-meta-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.sidebar-meta-item:last-child {
  border-bottom: none;
}

.meta-icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #204F94;
  flex-shrink: 0;
}

.meta-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  display: inline;
  margin-right: 0.25rem;
}

.meta-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  display: inline;
}

.material-symbols-outlined {
  font-variation-settings: 'wght' 300, 'opsz' 24;
  vertical-align: middle;
}

.testimonial-card {
  background-color: #f1f1f1;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background-color: #e9e9e9;
}

.notify-container {
  background-color: #EAF9FF;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bell-badge {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}