@charset "UTF-8";

/* =====================
  Vendor
===================== */
@import url(../vendor/bootstrap/bootstrap-5.3.8.css);
@import url(../vendor/fontawesome-6.7.1/fontawesome-6.7.1.css);
/* @import url(animate.css); */
@import "../vendor/aos/aos.css";

/* =====================
   Fonts
===================== */
@import "fonts/TanseekModProArabic-Bold.css";
@import "fonts/Nunito/Nunito.css";
@import "fonts/Cairo/Cairo.css";
/* =====================
   Variables
===================== */
:root {
  --primary: #2a2d7e;
  --primary-opacity: #6A76A3;
  --secondary: #ee8b26;
  --bg-body: #f0eff7;
  --light-blue: #cbcddb;
  --bluish-gray: #EBEBF5;
  --white: #ffffff;
  --table-bg: #DBDCE8;
  --color: hsla(0, 0%, 100%, .5);
  --Cool-LightGray: #E1E2E9;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 6px 14px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 35px rgba(0, 0, 0, 0.18);

  --gradient-1: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
  --gradient-2: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
  --gradient-3: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
/* =====================
   Dark Theme (Bootstrap 5.3)
===================== */
[data-bs-theme="dark"] {
  --primary: #2a2d7e;
  --primary-opacity: #6A76A3;
  --secondary: #ee8b26;

  --bg-body: var(--bs-body-bg);
  --light-blue: #1a1d2e;
  --bluish-gray: #1e2238;
  --table-bg: #1b1f33;

  --white: #ffffff;
  --color: hsla(0, 0%, 100%, 0.75);
  --Cool-LightGray: #bfc3d6;

  --shadow-sm: 0 6px 14px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 35px rgba(0, 0, 0, 0.75);
}

/* =====================
   Reset
===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1rem;
  background: var(--bg-body) url(../img/Bg.svg);
  transition: background-color 0.3s, color 0.3s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
[data-bs-theme="dark"] body {
  background: var(--bg-body);
  color: var(--bs-heading-color);
}
[data-bs-theme="dark"] .table {
  --bs-table-bg: var(--table-bg);
  --bs-table-color: #e6e6f0;
  --bs-table-border-color: #2a2f55;
}
[data-bs-theme="dark"] .modal-content {
  background-color: var(--bluish-gray);
  color: #fff;
}
#themeToggle {
  cursor: pointer;
}
[data-bs-theme=dark] #themeToggle .fa-moon::before {
  content: "\e0ca"
}
[dir="rtl"] html,
[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  /* font-family: 'Tanseek Mod Pro Arabic' !important; */
  font: 500 0.9rem / 1.86 Cairo, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fs-xl {
  font-size: 1.2rem;
}
[dir="rtl"] ol {
  padding-right: 1rem;
  padding-left: 0;
}

.primary-text {
  color: var(--primary);
}

.text-LightGray {
  color: var(--Cool-LightGray);
}

fieldset {
  min-width: 0;
  padding: 0 10px;
  margin: 0px;
  border: solid 1px var(--primary-opacity) !important;
  width: 100%;
  border-radius: 8px;
}

legend {
  width: auto;
  font-size: 1rem !important;
  color: var(--primary);
  font-weight: bold;
}

.required:after {
  content: "*";
  color: red;
  font-size: 16px;
  top: 0px;
  left: 0px;
  margin-left: 9px;
  position: relative !important;
}

/* Radio Button */

/*TS & HS */
.btn-ts {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary-opacity);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.18), 0 2px 5px 0 rgba(0, 0, 0, 0.15) !important;
}

.btn-ts:hover {
  color: #fff;
  background-color: var(--secondary);
  border-color: var(--primary);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.18), 0 2px 5px 0 rgba(0, 0, 0, 0.15) !important;
}

.ts-thead {
  color: var(--white);
  border-color: transparent !important;
  background-color: var(--primary) !important;
  background: -webkit-linear-gradient(left, rgb(213, 184, 111), #d0a15e);
}

/* =====================
   Header
===================== */
.bg-header {
  background: var(--primary);
  position: -webkit-sticky;
  position: sticky;
  top: 2px;
  z-index: 1020;
}
[data-bs-theme="dark"] .bg-header {
  background: var(--table-bg);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
#navbar-logo, .enjaz {
  width: 4rem;
}

/* =====================
   Footer
===================== */
.footer-bg {
  position: relative;
  background: var(--primary);
  overflow: hidden;
  flex-shrink: 0;
  margin-top: auto; /* This pushes footer to bottom */
}
[data-bs-theme="dark"] .footer-bg {
  background: var(--gradient-3);
}
.footer-bg>* {
  position: relative;
  z-index: 1;
}

.footer-bg::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 120px;
  background: url("../img/footer.svg") repeat-x bottom left / 600px auto;
  opacity: 0.8;
  mask-image: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}

#footer-logo {
  width: 10rem;
}

/* =====================
   Utility Icons
===================== */
.appStore {
  width: 6rem;
  transition: transform 0.25s ease;
}

.appStore:hover {
  transform: translateY(-2px);
}

.brand-icon {
  width: 6.95rem;
  object-fit: contain;
}

.text-color {
  color: var(--color);
}

/* Social Icons */
.social-w-20,
.social-w-40 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-w-20 {
  width: 20px;
  height: 20px;
}

.social-w-40 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.social-w-20 img,
.social-w-40 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-w-20:hover img,
.social-w-40:hover img {
  transform: scale(1.1);
  opacity: 0.85;
}
.data_table {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--primary-opacity);
}

.table-pd {
  padding: 1rem;
  border: 1px solid var(--primary);
  background-color: var(--table-bg);
  border-radius: var(--radius-lg);
}
[data-bs-theme=dark] .table-pd {
  border: 1px solid var(--bs-highlight-color);
}
.table {
  margin-bottom: 0;
  --bs-table-bg: var(--table-bg);
  border: none !important;
  font-size: 0.875rem;
}
.table td, .table tr {
  border-color: var(--primary)
}
.table tbody tr td {
  vertical-align: middle;
}

.table tbody tr td p {
  margin-bottom: 0;
}
[data-bs-theme=dark] .table td, [data-bs-theme=dark] .table tr {
  border-color: var(--bs-heading-color);
}
.table .table-iconBox {
  width: 45px;
  height: 45px;
  display: flex;
  flex-shrink: 0;
}

.table .table-iconBox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}
[data-bs-theme="dark"] .table .table-iconBox img {
  filter: brightness(0) invert(1);
}
/* =====================
   Login Button
===================== */
.login-btn {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  transition: transform 0.3s ease;
}

.login-btn a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
}

.login-btn img {
  width: 24px;
  height: 24px;
}

.login-btn:hover {
  transform: scale(1.08);
}

/* =====================
   Services Section
===================== */
.services-section,
.service-tabs1 {
  padding: 15px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.service-title {
  font-weight: 600;
  position: relative;
  padding-bottom: 6px;
  font-size: 1.02rem;
}

[dir="rtl"] .service-title {
  font-size: 1.02rem;
}
[dir="rtl"] .card-overlay p {
  font-size: 0.825rem;
}

.service-title::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 99px;
  height: 3px;
  background: var(--secondary);
}

/* =====================
   Service Cards
===================== */
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 90, 0.9);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover .card-overlay {
  opacity: 0.75;
}

.card-overlay p {
  line-height: 1.3;
  margin-bottom: 0;
}

.btn-more {
  position: absolute;
  bottom: 9px;
  inset-inline-start: 9px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

[dir="rtl"] .btn-more {
  font-size: 0.825rem;
  inset-inline-start: auto;
  inset-inline-end: 9px;
}

.service-card:hover .btn-more {
  background: var(--secondary);
  transform: translateY(-4px);
}

.text-justify {
  text-align: justify;
}

/* =====================
  SERVICE TABS
===================== */
.service-container {
  background-color: var(--light-blue);
  padding: 25px;
  border-radius: var(--radius-lg);
}

/* =====================
  NAV TABS
===================== */
.service-tabs .nav-tabs {
  border: none;
  gap: 12px;
  justify-content: space-between;
}

.hServices .nav-tabs {
  justify-content: start;
}

/* CARD */
.service-tabs .nav-tabs .nav-item {
  background-color: var(--bluish-gray);
  box-shadow: 0 2px 40px 8px rgba(15, 15, 15, 0.15);
  border-radius: var(--radius-md);
  width: 165px;
  height: 140px;
  transition: all 0.35s ease;
}

.hServices .nav-tabs .nav-item {
  width: 175px;
}

/* LINK */
.service-tabs .nav-tabs .nav-link {
  height: 100%;
  width: 100%;
  padding: 12px;
  border: none;
  background: transparent;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONTENT WRAPPER */
.service-tabs .nav-tabs .nav-link span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
}

/* =====================
  ICON NORMALIZATION (IMPORTANT)
===================== */
.service-tabs .icon-box {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* FORCE SAME VISUAL SIZE */
.service-tabs .icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}

/* =====================
  TEXT
===================== */
.service-tabs .nav-tabs .nav-link h4 {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--primary);
  text-align: center;
}

[data-bs-theme="dark"] .service-tabs .icon-box img {
  filter: brightness(0.5) invert(1);
}

[data-bs-theme="dark"] .service-tabs .nav-tabs .nav-link h4 {
  color: var(--bs-heading-color);
}
/* [dir="rtl"] .service-tabs .nav-tabs .nav-link h4,
[dir="rtl"] .nav-pills .nav-link,
[dir="rtl"] .table {
  font-size: 1.1rem;
} */

[dir="rtl"] .form-select {
  padding: 0.375rem 0.75rem 0.375rem 2.25rem;
  background-position: left 0.75rem center;
}

[dir="rtl"] .form-floating>label {
  left: auto;
  right: 0;
}

/* =====================
  HOVER EFFECTS
===================== */
.service-tabs .nav-tabs .nav-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.service-tabs .nav-tabs .nav-item:hover img {
  transform: scale(1.12);
}

/* =====================
  ACTIVE TAB
===================== */
.service-tabs .nav-tabs .nav-link.active {
  background-color: var(--primary);
}

.service-tabs .nav-tabs .nav-link.active h4 {
  color: #fff;
}

.service-tabs .nav-tabs .nav-link.active img {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}

/* =====================
  TAB CONTENT
===================== */
.service-tabs .tab-content {
  /* background-color: var(--bg-body); */
  border-radius: var(--radius-md);
  /* box-shadow: var(--shadow-sm); */
  /* min-height: 300px; */
  margin-top: 20px;
}

.service-tabs .tab-content .tab-pane {
  padding: 0px var(--radius-lg);
}

.nav-pills .nav-link {
  color: var(--primary);
  background-color: var(--bluish-gray);
  text-align: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}
[data-bs-theme="dark"] .nav-pills .nav-link {
  color: var(--bs-emphasis-color);
}
.nav-pills .nav-link.active {
  color: var(--primary);
  background-color: var(--bluish-gray);
  border: 2px solid var(--primary);
  font-weight: 700;
}
[data-bs-theme="dark"] .nav-pills .nav-link.active {
  color: var(--bs-emphasis-color);
  background-color: rgba(var(--bs-secondary-bg-rgb));
  border: 2px solid var(--bs-emphasis-color);
  font-weight: 700;
}
[dir="rtl"] .list-inline-item:not(:last-child) {
  margin-left: 0.5rem;
  margin-right: 0;
}

[dir="rtl"] .fa-chevron-right {
  --fa: "\f053";
  --fa--fa: "\f053\f053";
}

/* =====================
  User profile
===================== */
.userProfile {
  display: flex;
  align-items: center;
  gap: var(--radius-md);
  margin-bottom: var(--radius-md);
}

.userProfile .name {
  background: linear-gradient(128.87deg, #512bd4 14.05%, #d600aa 89.3%);
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
  background-clip: text;
  -webkit-background-clip: text;
}

.userProfile .civilID {
  background: linear-gradient(96.2deg, var(--secondary) -3.08%, #d600aa 14.74%, var(--primary) 72.12%);
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
  background-clip: text;
  -webkit-background-clip: text;
}

/* =====================
   Login
===================== */
.login-title h1 {
  margin: 0 0 20px;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0;
  color: var(--primary)
}

/* Login card */
.login-form {
  min-height: 489px;
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid #556F79;
  border-radius: var(--radius-lg);
  background-color: var(--bluish-gray);
  padding: 1rem;
}

/* Content */
.login-form h5 {
  color: var(--primary);
  font-weight: bold;
}

.login-form img {
  height: 230px;
  max-width: 100%;
  object-fit: contain;
  padding: 10px;
}
[data-bs-theme="dark"] .login-form img {
  filter: brightness(0.5) invert(1);
}
/* Button always bottom */
.login-actions {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

/* Button */
.btn-login {
  height: 48px;
  width: 90%;
  max-width: 260px;
  border-radius: 0.5rem;
  border: 2px solid #575E68;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-login:hover {
  background-color: var(--secondary);
}
[data-bs-theme="dark"] .login-title h1,
[data-bs-theme="dark"] .login-form h5 {
  color: var(--bs-link-color);
}
[dir="rtl"] .fa-angle-double-right {
  --fa: "\f100";
  --fa--fa: "\f100\f100";
}

.modal-content {
  background: var(--bg-body);
}

.modal-footer {
  background: var(--light-blue);
}

[dir="rtl"] .modal-header .btn-close {
  margin-right: auto;
  margin-left: 0;
}

[dir="rtl"] .form-check {
  padding-left: 0;
  padding-right: 1.5em;
}

[dir="rtl"] .form-check .form-check-input {
  float: right;
  margin-left: 0;
  margin-right: -1.5em;
}

[dir="rtl"] .modal .fa-arrow-right {
  --fa: "\f060";
  --fa--fa: "\f060\f060";
}

[dir="rtl"] .rotate-180 {
  transform: rotate(180deg);
}

.arrow {
  animation: left-right 1.2s ease-in-out infinite;
}

@keyframes left-right {
  0% {
    transform: translateX(-10px) translateY(-50%);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateX(20px) translateY(-50%);
    opacity: 0;
  }
}

[dir="rtl"] .arrow {
  animation: right-left 1.2s ease-in-out infinite;
}

@keyframes right-left {
  0% {
    transform: translateX(10px) translateY(-50%);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateX(-20px) translateY(-50%);
    opacity: 0;
  }
}

/* =====================
   Responsive Breakpoints
===================== */

/* Extra Small Devices (≤ 400px) */
@media (max-width: 400px) {
  .service-card img {
    height: 180px;
  }

  .btn-more {
    font-size: 12px;
    padding: 4px 10px;
  }

  .appStore {
    width: 5rem;
  }
}

/* Small Mobiles (≤ 576px) */
@media (max-width: 576px) {
  body {
    font-size: 0.95rem;
    background-size: 300px auto;
  }

  /* Header */
  #navbar-logo, .enjaz {
    width: 3.4rem;
  }

  .services-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 1rem;
  }
  /* Services */
  .service-title {
    font-size: 1rem;
  }

  .service-card img {
    height: 200px;
  }

  .card-overlay p {
    font-size: 0.9rem;
  }

  /* Icons */
  .social-w-40 {
    width: 34px;
    height: 34px;
  }

  .brand-icon {
    width: 5.5rem;
  }

  /* Footer */
  #footer-logo {
    width: 8rem;
  }

  .footer-bg::after {
    height: 70px;
    background-size: 320px auto;
  }

  .service-tabs .tab-content .tab-pane {
    padding: 0px !important;
  }
}

/* Tablets & Mobiles (≤ 768px) */
@media (max-width: 768px) {
  #lnkDecrease,
  #lnkNormal,
  #lnkIncrease {
    display: none;
  }

  /* Service Tabs Mobile Scroll */
  .service-tabs .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }

  /* Hide scrollbar */
  .service-tabs .nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .service-tabs .nav-tabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
  }
  .service-tabs .nav-tabs .nav-item {
    flex: 0 0 auto;
    width: 110px;
    height: 115px;
    box-shadow: none;
  }

  .service-tabs .nav-tabs .nav-link {
    padding: 10px;
  }

  .service-tabs .icon-box {
    width: 42px;
    height: 42px;
  }

  .service-tabs .nav-tabs .nav-link h4 {
    font-size: 0.7rem;
  }
}

/* Large Tablets (≤ 992px) */
@media (max-width: 992px) {

  #navbar-logo, .enjaz {
    width: 3.5rem;
  }

  .services-section {
    padding: 32px 0;
  }

  .service-card img {
    height: 240px;
  }

  .card-overlay {
    padding: 16px;
  }

  /* Service Tabs */
  .service-tabs .nav-tabs .nav-item {
    width: 140px;
    height: 130px;
  }

  .service-tabs .icon-box {
    width: 56px;
    height: 56px;
  }
}

/* Desktop Scrollbar (≥ 1025px) */
@media (min-width: 1025px) {
  ::-webkit-scrollbar {
    width: 3px;
    height: 6px;
  }

  ::-webkit-scrollbar-thumb {
    background: var(--gradient-3);
    border-radius: 6px;
  }
  [data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
  }
}
/* Service TS and HS */
@media (min-width: 576px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
/* temp fix */
/* Place first item in column 2 */
.service-item:nth-child(1) {
  grid-column: 2;
}

/* Place second item in column 3 */
.service-item:nth-child(2) {
  grid-column: 3;
}

/* Place third item in column 4 */
.service-item:nth-child(3) {
  grid-column: 4;
}
.USB-login {
  filter: drop-shadow(6px 6px 3px rgba(100, 175, 187, 0.5));
}
/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #d32f2f;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: opacity .3s ease;
}
.toast.show { opacity: 1; }
.toast.hidden { display: none; }

/* ===== SKELETON ===== */
.skeleton {
  height: 14px;
  margin: 8px 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #eee, #f5f5f5, #eee);
  background-size: 200% 100%;
  animation: skeleton 1.2s infinite;
}

@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* scroll-progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 120;
  background: var(--gradient-1);
  box-shadow: 0 0 16px #9676ff99;
}