/* إعدادات عامة */
html {
  overflow: hidden;
  scroll-behavior: smooth;
}
body {
  font-family: "Amiri", serif;
  font-weight: 400;
  font-style: normal;
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  overflow: hidden;
  background: #ffffff;
  background: linear-gradient(
    35deg,
    #08172b 0%,
    #154584 30%,
    #81ace4 60%,
    #ffffff 100%
  );
  overflow-x: hidden;
  overflow-y: auto;

  background-attachment: fixed;
  background-size: 100% 100vh;
  background-repeat: no-repeat;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
}

#vanta-globe {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 1;
}
/* النافبار */
.navbar-brand {
  font-size: 1.8rem;
  color: #2c3e50 !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #34495e !important;
  transition: all 0.3s ease;
  padding: 0.8rem 1rem !important;
  border-radius: 5px;
  margin: 0 2px;
}

.navbar-nav .nav-link:hover {
  color: #007bff !important;
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: #007bff !important;
  background-color: #e3f2fd;
}

/* Hero Section */
.hero-section {
  color: white;
  padding: 5rem 0;
  min-height: 75vh;
  display: flex;
  align-items: center;

  flex-direction: column;
  justify-content: space-between;
}
.footer-container {
  position: sticky;
  bottom: 0;
  color: white;
  padding: 10px;
}
.hero-title {
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.service {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  padding: 5rem 0;
}
/* Buttons */
.btn {
  border-radius: 25px;
  padding: 0.7rem 2rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link {
  transition: all 0.3s ease;
  display: inline-block;
}

.social-link:hover {
  transform: translateY(-3px);
  color: #007bff !important;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons .btn {
    margin-bottom: 1rem;
    width: 100%;
  }

  .section-title::after {
    right: 50%;
    transform: translateX(50%);
  }
}

.min-vh-75 {
  min-height: 75vh;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.fade-in {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .service-hero {
    text-align: center;
  }

  .hero-actions .btn {
    margin-bottom: 1rem;
    width: 100%;
  }

  .service-item:hover {
    transform: none;
  }

  .process-step {
    margin-bottom: 2rem;
  }
}

.card {
  background: rgba(255, 255, 255, 0.699); /* أبيض مع شفافية 70% */
  backdrop-filter: blur(2px);
  border: none;
}
footer {
  position: relative;
  z-index: 10;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  min-height: 95vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1 0 auto;
  width: 100%;
  padding: 20px 0;
}

.footer {
  flex-shrink: 0;
  width: 100%;
  padding: 20px 0;
  margin-top: auto;
}

.card {
  transition: transform 0.2s ease-in-out;
  background: rgba(255, 255, 255, 0.589);
}

.card:hover {
  transform: translateY(-5px);
}
pre {
  font-family: "Amiri", serif;
  font-size: 1.1rem;
  line-height: 1.8;
}
.table th {
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.05);
}
.table td {
  white-space: pre-wrap;
}
pre {
  font-family: "Amiri", serif;
  font-size: 1.1rem;
  line-height: 1.8;
}
.table th {
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.05);
}
.table td {
  white-space: pre-wrap;
}

/* للشاشات الصغيرة (أقل من 480px) */
@media screen and (max-width: 480px) {
  .container {
    padding: 10px 5px;
    width: 100% !important;
  }

  /* تصغير الخط */
  body {
    font-size: 14px;
  }
}

/* للشاشات المتوسطة (481px - 768px) */
@media screen and (max-width: 768px) {
  .row {
    flex-direction: column;
  }
}

.header-title {
  font-size: 2.5rem; /* أو أي حجم تريده للديسكتوب */
}
@media screen and (max-width: 768px) {
  .header-title {
    font-size: 1.5rem !important; /* حجم أصغر للموبايل */
  }
}
