.navbar-custom,
.offcanvas {
  backdrop-filter: blur(10px);
}
.aboutus-title,
.btn-custom,
.btn-gold,
.card-title,
.clients-section h2,
.section-title,
.text-box h2,
h1,
h2,
h3 {
  font-weight: 700;
}
#aboutus-section,
.card,
.clients-slider,
.hero-section,
.img-container,
.navbar-custom .nav-link,
.stat-card,
.stat-content,
.stats-section,
.stats-title {
  position: relative;
}
#aboutus-section,
.btn-gold,
.card,
.clients-section,
.footer,
.offcanvas-footer,
.stat-content,
.stats-title,
body {
  text-align: center;
}
h1,
h2,
h3 {
  font-family: "IBM Plex Sans Arabic", sans-serif;
}
p {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
}
.btn-primary {
  background-color: var(--light-gray);
  color: var(--gold);
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
}
.navbar-custom {
  background: linear-gradient(
    180deg,
    rgba(255, 215, 0, 0.05),
    rgba(255, 255, 255, 0.8)
  );
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 215, 0, 0.5);
  min-height: 90px;
  padding: 10px 20px;
}
.navbar-custom:hover {
  background: linear-gradient(
    180deg,
    rgba(255, 215, 0, 0.2),
    rgba(255, 255, 255, 0.9)
  );
}
.navbar-custom .navbar-brand {
  color: var(--dark-blue);
  font-size: 1.5rem;
  font-weight: 700;
  transition: 0.3s;
}
.navbar-custom .navbar-brand img {
  width: 120px;
  max-height: 60px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  border: none;
  padding: 0;
  margin: 0;
  position: relative;
  left: 20px;
  display: block;
}
.navbar-custom .nav-link {
  color: var(--dark-blue);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.7rem 1rem;
  transition: color 0.3s, background-color 0.3s;
  border-radius: 8px;
}
.navbar-custom .nav-link:hover {
  color: var(--gold);
  background-color: rgba(255, 215, 0, 0.1);
}
.navbar-custom .nav-link.active {
  color: var(--gold);
}
.navbar-custom .navbar-toggler {
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  padding: 8px;
  transition: transform 0.3s;
}
.navbar-custom .navbar-toggler:hover,
.offcanvas-header .btn-close:hover {
  transform: rotate(90deg);
}
.navbar-toggler:focus {
  outline: 0;
  box-shadow: none;
}
.navbar-custom .search {
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--gold);
  border-radius: 30px;
  padding: 0.4rem 1rem;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.navbar-custom .search input {
  border: none;
  outline: 0;
  width: 100%;
  font-size: 1rem;
}
.navbar-custom .search input::placeholder {
  color: var(--charcoal-gray);
  font-style: italic;
}
.navbar-custom .search button {
  background-color: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50%;
  padding: 0.5rem;
  transition: background-color 0.3s;
}
.navbar-custom .search button:hover {
  background-color: gold;
}
.offcanvas {
  height: 100vh !important;
  background: linear-gradient(
    135deg,
    rgba(248, 251, 255, 0.9),
    rgba(230, 214, 129, 0.9)
  );
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
  width: 300px;
  transition: transform 0.3s ease-in-out;
}
.offcanvas-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.offcanvas-header .btn-close {
  font-size: 1.5rem;
  color: var(--dark-blue);
  transition: transform 0.3s;
}
.offcanvas-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}
.card,
.clients-section,
.clients-slider,
.hero-section,
.img-container,
.stat-card,
.stats-section {
  overflow: hidden;
}
.offcanvas-body .navbar-nav {
  margin-top: 1rem;
}
.offcanvas-body .nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark-blue);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: 0.3s;
  text-align: right;
}
.offcanvas-body .nav-link:hover {
  background-color: rgba(255, 215, 0, 0.1);
  color: var(--gold);
}
.offcanvas-footer {
  padding: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.offcanvas-footer .social-icon {
  color: var(--dark-blue);
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: 0.3s;
}
.offcanvas-footer .social-icon:hover {
  color: var(--gold);
  transform: translateY(-3px);
}
@media (max-width: 991.98px) {
  .navbar-custom .nav-link {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  .navbar-custom .search {
    margin-top: 1rem;
    max-width: 100%;
  }
  .offcanvas-body {
    padding-top: 2rem;
  }
}
@media (max-width: 767.98px) {
  .offcanvas {
    width: 250px;
  }
  .offcanvas-footer .social-icon {
    font-size: 1.2rem;
  }
  .navbar-custom {
    padding: 0.5rem 1rem;
  }
  .navbar-custom .nav-link {
    font-size: 0.9rem;
  }
  .navbar-custom .search button {
    padding: 0.4rem;
  }
  .offcanvas-body .nav-link {
    font-size: 1rem;
    padding: 0.6rem;
  }
}
@keyframes slideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.card,
.img-container img,
.text-box {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.hero-section {
  height: 60vh;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}
.about-section {
  background-color: #fff;
  padding: 3rem 0;
}
.container {
  max-width: 1200px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.about-section h2 {
  font-size: 1.8rem;
  color: #c42d2d;
  margin-bottom: 1rem;
}
.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}
.text-box {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
}
.text-box h2 {
  color: #01538d;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.text-box p {
  color: #6c757d;
  font-size: 1.1rem;
  line-height: 1.8;
}
:root {
  --gold: #d4af37;
  --dark-blue: #01538d;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --charcoal-gray: #333333;
  --ack: #cad7df33;
  --blow: #a1cfec33;
  --custom-text-body: #01538d;
  --gold-gradient: linear-gradient(135deg, #ffd700, #d4af37, #b8860b);
  --text-color: #1a237e;
  --hover-color: rgba(0, 0, 50, 0.9);
  --transition-speed: 0.4s;
}
.text-body {
  color: var(--dark-blue) !important;
}
.img-container {
  display: inline-block;
  border-radius: 15px;
}
.img-container img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.img-container.show img {
  opacity: 1;
  transform: scale(1);
}
#aboutus-section {
  background: linear-gradient(135deg, #002b5c, #fff 80%);
  padding: 60px 20px;
  overflow: hidden;
}
.aboutus-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.aboutus-subtitle {
  font-size: 1.4rem;
  color: #fff;
  background-color: rgba(0, 43, 92, 0.8);
  padding: 15px 20px;
  border-radius: 8px;
  max-width: 700px;
  margin: 0 auto 40px;
}
.section-divider {
  border: none;
  height: 5px;
  background: var(--charcoal-gray);
  margin: 60px auto;
  width: 100%;
}
body {
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  direction: rtl;
  background: var(--white);
  font-family: "IBM Plex Sans Arabic", sans-serif;
  direction: rtl;
}
.section-title {
  margin-bottom: 20px;
  color: var(--text-color);
  font-size: 2.5rem;
}
.card {
  border: none;
  border-radius: 15px;
  background: #053d62;
  color: var(--white);
  transition: transform var(--transition-speed) ease-in-out;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.card .icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #b8860b;
}
.card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.card ul {
  list-style-type: none;
  padding: 0;
  text-align: right;
}
.card ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.btn-custom {
  background: linear-gradient(135deg, gold, #d4af37, #b8860b);
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  transition: var(--transition-speed) ease-in-out;
  margin-top: 20px;
}
.btn-custom:hover {
  background: linear-gradient(to right, #007bff, #00c6ff);
  transform: scale(1.05);
}
.btn-gold,
.main-title .gold-line,
.stats-title::after {
background: linear-gradient(135deg, #d4af37, gold, #b8860b);
}
.main-title .gold-line {
  width: 200px;
  height: 3px;
  margin: 5px auto 0;
}
.btn-gold {
  color: var(--dark-blue);
  border-radius: 20px;
  padding: 0.75rem 1.5rem;
  transition: 0.3s;
  display: inline-block;
  margin-top: 1rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.stat-number,
.stats-title {
  font-size: calc(1.5rem + 1.5vw);
  font-weight: 800;
  color: #2a5c82;
}
.clients-section {
  background-color: #fff;
  padding: 50px 20px;
  direction: ltr;
  background: var(--white);
  border-top: 5px solid #e6e3e3;
}
.clients-section h2 {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 2rem;
}
.footer a:hover,
.footer h5,
.footer p:hover {
  color: #d4af37;
}
.clients-slider {
  max-width: 100%;
  margin: 0 auto;
  white-space: nowrap;
  direction: ltr;
}
.footer,
[dir="rtl"] .clients-slider {
  direction: rtl;
}
.slider-track {
  display: inline-flex;
  gap: 30px;
  animation: 50s linear infinite infiniteScroll;
}
[dir="rtl"] .slider-track {
  animation: 50s linear infinite infiniteScrollRtl;
}
@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes infiniteScrollRtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}
.client-logo {
  flex-shrink: 0;
  width: 180px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.client-logo:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.client-logo img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}
.stats-section {
  padding: 5rem 1rem;
  background: #fff;
  background: linear-gradient(135deg, #fff 0, #fff 100%);
}
.stats-title {
  margin-bottom: 3rem;
  line-height: 1.3;
}
.stats-title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.stat-card.visible {
  animation: 0.5s forwards fadeInUp;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.stat-content {
  z-index: 1;
}
.stat-number {
  margin: 0.5rem 0;
  transition: color 0.3s;
}
.stat-label {
  color: #4a5568;
  font-size: calc(0.9rem + 0.3vw);
  margin: 0;
  line-height: 1.5;
}
.stat-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
 background: linear-gradient(135deg, #d4af37, gold, #b8860b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.stat-card:hover .stat-decoration {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .stats-section .stat-card,
  .stats-section .stat-card.visible,
  .stats-section .stat-decoration {
    transition: none !important;
    animation: none !important;
  }
}
.footer {
  background-color: #053d61;
  color: #fff;
  padding: 50px 20px;
}
.footer img {
  width: 120px;
  max-height: 60px;
  object-fit: contain;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  display: block;
}
.footer a,
.footer h5,
.footer p {
  margin-bottom: 1rem;
  text-align: center;
}
.footer img:hover {
  transform: scale(1.1) rotate(5deg);
  transition: transform 0.3s;
}
.footer .info img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}
@media (min-width: 992px) {
  .navbar-custom {
    background: linear-gradient(
      180deg,
      rgba(255, 215, 0, 0.05),
      rgba(255, 255, 255, 0.8)
    );
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 215, 0, 0.5);
  }
  .navbar-custom .navbar-nav {
    margin-left: auto;
  }
  .navbar-custom .nav-link {
    padding: 0.7rem 1rem;
    border-radius: 8px;
    transition: 0.3s;
  }
  .footer .info img {
    margin-left: -1000px;
  }
}
.footer h5 {
  font-size: 1.5rem;
}
.footer a,
.footer p {
  font-size: 1rem;
  line-height: 1.8;
  color: #ccc;
  text-decoration: none;
}
.contact ul a i,
.footer .social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
}
.footer .social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-right: 0;
}
.footer .social-icons a {
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
}
.contact .btn :hover,
.footer .social-icons a:hover {
  color: #d4af37;
  transform: scale(1.1);
  background-color: rgba(212, 175, 55, 0.2);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}
.footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
}
.footer .col {
  flex: 1 1 300px;
  margin-bottom: 20px;
  text-align: center;
}
@media (max-width: 768px) {
  .section-divider {
    width: 100%;
    margin: 40px auto;
  }
  .card {
    height: auto;
    margin-bottom: 20px;
    padding: 15px;
  }
  .clients-section h2,
  .section-title {
    font-size: 2rem;
  }
  .card-title,
  .footer h5 {
    font-size: 1.3rem;
  }
  .card ul li {
    font-size: 0.8rem;
  }
  .btn-custom {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .main-title h1 {
    font-size: 1.8rem;
  }
  .main-title p {
    font-size: 1rem;
  }
  .gold-line {
    width: 150px;
  }
  .client-logo {
    width: 140px;
    height: 100px;
  }
  .slider-track {
    gap: 20px;
  }
  .stats-section {
    padding: 3rem 1rem;
  }
  .stats-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat-card {
    padding: 1.2rem;
    margin: 0 0.5rem;
  }
  .footer img {
    width: 100px;
    margin-left: -15px;
  }
  .footer .social-icons {
    gap: 10px;
  }
  .footer .social-icons a {
    font-size: 1.2rem;
    padding: 8px;
  }
  .footer .info img {
    width: 100px;
    height: 100px;
  }
  .footer a,
  .footer p {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .client-logo {
    width: 120px;
    height: 80px;
  }
  .clients-section h2 {
    font-size: 1.8rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stat-label {
    font-size: 1rem;
  }
  .stats-title::after {
    width: 80px;
    height: 3px;
  }
  .footer img {
    width: 90px;
    margin-left: -10px;
  }
  .footer .social-icons {
    gap: 8px;
  }
  .footer .social-icons a {
    padding: 6px;
    font-size: 1.1rem;
  }
  .footer {
    padding: 30px 15px;
  }
  .footer h5 {
    font-size: 1.2rem;
  }
  .footer a,
  .footer p {
    font-size: 0.8rem;
  }
}
.contact ul {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}
.contact ul li {
  margin: 0 5px;
}
.contact ul a i {
  display: flex;
  justify-content: center;
  align-items: center;
}
.breaking-news {
  font-size: 1.2rem;
  color: #141414;
  border: 2px solid #d4af37;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 1rem 2rem;
  background: #002b5c;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #d4af37, gold, #b8860b);
  font-weight: 700;
}
.contact .btn,
.custom-gradient {
  background: linear-gradient(135deg, #d4af37, gold, #b8860b);
  color: #002b5c;
  font-weight: 700;
  text-align: center;
}
.custom-gradient {
  padding: 20px;
  border-radius: 10px;
}
html[lang="ar"] body {
  direction: rtl;
  text-align: right;
}

/* للصفحات الإنجليزية */
html[lang="en"] body {
  direction: ltr;
  text-align: left;
}
html[lang="en"] .footer,
html[lang="en"] .footer .row {
  direction: ltr;
  text-align: left;
}