/*#region  **** General Var  ****/
:root {
  --trading-h-txt: #1a1a1a;
  --trading-p-txt: #1a1a1a99;
  --trading-overlay: linear-gradient(180deg, #2c35a5 0%, #d9d9d9 100%);
  --trading-sec-p: rgba(26, 26, 26, 0.6);
  --liveAccount-card: #ebebeb;
  --liveAccount-h6: #1a1a1a;
  --liveAccount-p1: #323234;
  --accountType-big-box: #0c0c0c;
  --accountType-txt: rgba(26, 26, 26, 0.6);
  --accountType-desc-2: rgba(26, 26, 26, 0.9);
  --tieredMargin-table: unset;
}

html[data-bs-theme='dark'] {
  --trading-h-txt: #e0e0e0;
  --trading-p-txt: #e0e0e099;
  --trading-overlay: linear-gradient(180deg, #2c35a5 0%, #121212 100%);
  --trading-sec-p: rgba(224, 224, 224, 0.6);
  --liveAccount-card: #3d3d3d;
  --liveAccount-h6: #ffffff;
  --liveAccount-p1: #e0e0e0;
  --accountType-big-box: #242424;
  --accountType-txt: rgba(224, 224, 224, 0.9);
  --accountType-desc-2: rgba(224, 224, 224, 0.9);
  --tieredMargin-table: #ffffff;
}

#technology-whyRoyce-section,
#security-whyRoyce-section,
#executionSpeed-whyRoyce-section,
#liquidity-whyRoyce-section,
#advantage-whyRoyce-section,
#executionPerformance-condtion-section,
#marginTier-condtion-section,
#leverage-condtion-section,
#spread-condtion-section,
#trading-managedAccount,
#trading-privateAccount,
#trading-signatureAccount,
#trading-professionalAccount,
#trading-demoAccount-section,
#trading-accounttype,
#trading-depositwithdrawal,
#trading-mt5m-section,
#trading-mt5D-section,
.trading-hero {
  padding: 0 30px;
}

/*#endregion*/

/*#region  **** trading Hero  ****/
.trading-hero {
  position: relative;
  height: 700px;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  border: unset;
  box-shadow: unset;
}

.trading-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url(../image/faq-bg.png);
  border: unset;
  box-shadow: unset;
  height: 100%;
  background-size: contain;
  background-repeat: repeat;
  background-position: center;
  z-index: 1;
}

.trading-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--trading-overlay);
  pointer-events: none;
}

.trading-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 100px;
}

.trading-hero-content h1 {
  color: #fff;
  text-align: center;
  font-size: 45px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  height: 43px;
  align-self: stretch;
}

.trading-hero-content p {
  color: #fff;
  text-align: center;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  align-self: stretch;
  margin-top: 40px;
  margin-bottom: 40px;
}

.btn-trading-hero-content {
  max-width: 300px;
  padding: 15px 20px 10px 20px;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}

.trading-menu {
  position: relative;
  display: flex;
  margin-top: 60px;
  justify-content: center;
}

.pill-menu {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  list-style: none;
  /* justify-content: center; */
}
.pill-menu::-webkit-scrollbar {
  display: none;
}

.pill-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 22px 24px 18px 24px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  color: #1a1a1a;
  text-decoration: none;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
  transition:
    transform 0.15s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
  /* backdrop-filter: blur(6px); */
  line-height: 30px;
}
.pill-item:hover {
  transform: translateY(-1px);
}
.pill-item.active {
  background: rgba(255, 255, 255, 0.62);
}

/* .pill-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #111;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  z-index: 2;
}
.pill-nav-btn.left {
  left: 4px;
}
.pill-nav-btn.right {
  right: 4px;
}
.pill-nav-btn:hover {
  background: rgba(255, 255, 255, 0.28);
} */

@media (prefers-reduced-motion: reduce) {
  .pill-item,
  .pill-nav-btn {
    transition: none !important;
  }
}

/*#endregion*/

/*#region  **** trading section  ****/

#technology-whyRoyce-section,
#security-whyRoyce-section,
#executionSpeed-whyRoyce-section,
#liquidity-whyRoyce-section,
#advantage-whyRoyce-section,
#executionPerformance-condtion-section,
#marginTier-condtion-section,
#leverage-condtion-section,
#spread-condtion-section,
#trading-demoAccount-section,
#trading-accounttype,
#trading-depositwithdrawal,
#trading-mt5m-section,
#trading-mt5D-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

#technology-whyRoyce-section h3,
#security-whyRoyce-section h3,
#executionSpeed-whyRoyce-section h3,
#liquidity-whyRoyce-section h3,
#advantage-whyRoyce-section h3,
#executionPerformance-condtion-section h3,
#marginTier-condtion-section h3,
#leverage-condtion-section h3,
#spread-condtion-section h3,
#trading-demoAccount-section h3,
#trading-accounttype h3,
#trading-depositwithdrawal h3,
#trading-mt5m-section h3,
#trading-mt5D-section h3 {
  color: var(--platformCard-font2);
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}

#technology-whyRoyce-section p,
#security-whyRoyce-section p,
#executionSpeed-whyRoyce-section p,
#liquidity-whyRoyce-section p,
#advantage-whyRoyce-section p,
#executionPerformance-condtion-section p,
#marginTier-condtion-section p,
#leverage-condtion-section p,
#spread-condtion-section p,
#trading-demoAccount-section p,
#trading-accounttype p,
#trading-depositwithdrawal p,
#trading-mt5m-section p,
#trading-mt5D-section p {
  color: var(--trading-sec-p);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.108px;
  display: list-item;
  margin-left: 22px;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.rtl #technology-whyRoyce-section p,
.rtl #security-whyRoyce-section p,
.rtl #executionSpeed-whyRoyce-section p,
.rtl #liquidity-whyRoyce-section p,
.rtl #advantage-whyRoyce-section p,
.rtl #executionPerformance-condtion-section p,
.rtl #marginTier-condtion-section p,
.rtl #leverage-condtion-section p,
.rtl #spread-condtion-section p,
.rtl #trading-demoAccount-section p,
.rtl #trading-accounttype p,
.rtl #trading-depositwithdrawal p,
.rtl #trading-mt5m-section p,
.rtl #trading-mt5D-section p {
  margin-left: unset;
  margin-right: 22px;
}

#trading-mt5m-section a,
#trading-mt5D-section a {
  margin-top: 10px;
}

.trading-mt5-img {
  width: 80%;
  height: 80%;
  background-repeat: no-repeat;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}
/*#endregion*/

/*#region  **** trading Live Account section  ****/

.liveAccount-box {
  background-color: var(--surface-2);
  padding: 40px 80px;
}

.liveAccount-titl-1 p {
  color: var(--custom1-color);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.6px;
}

.liveAccount-titl-1 span {
  color: var(--custom2-color);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.6px;
}

.liveAccount-titl-2 {
  color: var(--stander-color);
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: -0.6px;
  margin: 12px 12px 40px;
}

.liveAccount-single-box {
  background-color: var(--liveAccount-card);
  border-radius: 10px;
  padding: 40px 35px 0;
  margin: auto;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  min-height: 495px;
}

.liveAccount-single-box::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0c0c0c;
  transition: top 0.8s ease;
  z-index: 1;
}

.liveAccount-paragraph {
  min-height: 145px;
}

.liveAccount-single-box:hover:before {
  /* background-color: #0c0c0c; */
  top: 0;
}

.liveAccount-single-box * {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.liveAccount-single-box:hover .liveAccount-ul span,
.liveAccount-single-box:hover .liveAccount-ul p,
.liveAccount-single-box:hover h6,
.liveAccount-single-box:hover .liveAccount-p1 {
  color: #f4f4f4;
}

.liveAccount-single-box:hover .liveAccount-p2 {
  color: #fff9ea;
}

.liveAccount-txt-box {
  margin: 20px 0;
}

.liveAccount-logo-container {
  position: relative;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.liveAccount-logo {
  height: 40px;
}

.logo-default,
.logo-hover {
  position: absolute;
  top: 0;
  left: 50px;
  transform: translateX(-50%);
  max-height: 60px;
  transition: all 0.6s ease;
  opacity: 1;
}

.logo-hover {
  opacity: 0;
  transform: translate(-50%, 10px);
}

.liveAccount-single-box:hover .logo-default {
  opacity: 0;
  transform: translate(-50%, -10px);
}

.liveAccount-single-box:hover .logo-hover {
  opacity: 1;
  transform: translate(-50%, 0);
}

.liveAccount-single-box h6 {
  color: var(--liveAccount-h6);
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.6px;
}

.liveAccount-p1 {
  color: var(--liveAccount-p1);
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.6px;
}

.liveAccount-ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.liveAccount-single-ul-p1,
.liveAccount-ul-p1 {
  color: var(--liveAccount-p1);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.6px;
  margin-bottom: 5px;
  margin-left: 5px;
}

.liveAccount-single-ul-p1 {
  color: #f4f4f4;
}

.rtl .liveAccount-single-ul-p1,
.rtl .liveAccount-ul-p1 {
  margin-left: unset;
  margin-right: 5px;
}

.liveAccount-p2 {
  color: var(--liveAccount-h6);
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.6px;
  margin-bottom: 0;
}

.liveAccount-span {
  font-size: 17px;
  color: var(--custom2-color);
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.6px;
  margin-bottom: 0;
}

.btn-liveAccount {
  max-width: 150px;
  font-size: 16px !important;
  padding: 15px 20px 10px 20px;
  background-color: var(--brand-gold);
  color: #fff;
  text-align: center;
  font-style: normal;
  font-weight: 500;
  border-radius: 15px;
}

.btn-liveAccount:hover,
.btn-liveAccount:focus,
.btn-liveAccount:active {
  background-color: var(--brand-gold) !important;
  color: #fff !important;
  border-color: var(--brand-gold) !important;
}

/*#endregion*/

/*#region  **** trading Demo Account section  ****/

.demoAccount-hint h6 {
  color: var(--platformCard-font2);
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}

.demoAccount-hint p {
  color: var(--trading-sec-p) !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 25px !important;
  letter-spacing: -0.108px !important;
  display: list-item !important;
  margin-left: 60px !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.rtl .demoAccount-hint p {
  margin-left: unset;
  margin-right: 60px !important;
}

/*#endregion*/

/*#region  **** professional account section  ****/

.professionalAccount-box {
  /* background-color: var(--surface-2); */
  padding: 40px 80px;
}

.accountType-big-box {
  background-color: var(--accountType-big-box);
  border-radius: 10px;
  padding: 40px 40px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.accountType-big-box img {
  height: 50px;
}

.accountType-txt-box h6 {
  color: #f4f4f4;
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.6px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.accountType-p1 {
  color: #f4f4f4;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.6px;
  margin-bottom: 20px;
}

.accountType-p2 {
  color: #fff9ea;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: normal;
  margin-bottom: unset;
}

.accountType-span {
  color: #ffc72c;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
}

.accountType-desc-1 {
  margin-bottom: 20px;
}

.acc-single-page h3,
.accountType-desc-1 h3 {
  color: var(--platformCard-font2);
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: -0.6px;
  margin-bottom: 20px;
}

.accountType-desc-1 p {
  color: var(--accountType-txt);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.108px;
  display: list-item;
  margin-left: 22px;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.rtl .accountType-desc-1 p {
  margin-left: 0;
  margin-right: 22px;
}

.accountType-desc-2 p {
  color: var(--accountType-desc-2);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: -0.108px;
  display: list-item;
  margin-left: 22px;
  padding: 0 10px;
  margin-top: 10px;
  margin-bottom: 0;
}

.rtl .accountType-desc-2 p {
  margin-left: 0;
  margin-right: 22px;
}

.accountType-desc-2 span {
  color: var(--accountType-txt);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.108px;
  display: list-item;
  margin-left: 50px;
  padding: 5px 0;
  margin-bottom: 0;
}

.rtl .accountType-desc-2 span {
  margin-left: 0;
  margin-right: 50px;
}

.acc-single-page span {
  padding: 5px 0 0 0;
}

/*#endregion*/

/*#region  **** Tiered Margin  ****/

.table-card {
  background: var(--tieredMargin-table);
  border-radius: 12px;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); */
  padding: 10px;
  margin: 40px auto;
  width: 100%; /* عرض مقارب للصورة */
}

.table-title {
  font-weight: 600;
  text-align: center;
  font-size: 40px;
  letter-spacing: 0.3px;
  margin-top: 40px;
  margin-bottom: 50px;
  color: #1a1a1a !important;
}

.table-dark-head thead th {
  background-color: #2f2842;
  color: #fff;
  border-color: #2f2842;
  text-align: center !important;
}

.table-clean tbody tr {
  border-bottom: 1px solid #eee;
  text-align: center;
}

.table-clean tbody td {
  font-weight: 700;
}

.fw-range {
  font-weight: 700;
}

/*#endregion*/

/*#region  **** Responsiveness  ****/

@media (min-width: 1320px) {
  .pill-menu {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    padding: 8px 0;
  }
}

@media (max-width: 1260px) {
  .liveAccount-p2 {
    font-size: 15px;
  }

  .liveAccount-span {
    font-size: 15px;
  }

  .btn-liveAccount {
    padding: 15px 18px 10px 18px;
  }
}

@media (max-width: 1199px) {
  /* .liveAccount-single-box {
    min-height: unset;
  } */
}

@media (max-width: 991px) {
  .liveAccount-box {
    padding: 40px 30px;
  }

  .liveAccount-single-box {
    min-height: unset;
    padding: 20px 35px;
  }

  .liveAccount-paragraph {
    min-height: 80px;
  }
}

@media (max-width: 767px) {
  .trading-hero {
    min-height: unset;
    height: 600px;
  }

  .trading-hero-content h1 {
    font-size: 25px;
    line-height: 35px;
    margin-top: 30px;
  }

  .trading-hero-content p {
    font-size: 18px;
  }

  .pill-item {
    font-size: 18px;
  }

  .acc-single-page h3,
  .accountType-desc-1 h3,
  #trading-accounttype h3,
  #trading-depositwithdrawal h3,
  #trading-mt5m-section h3,
  #trading-mt5D-section h3 {
    font-size: 30px;
    line-height: 30px;
  }

  .liveAccount-titl-2 {
    font-size: 25px;
    line-height: normal;
  }

  .demoAccount-hint p {
    margin-left: 22px !important;
  }

  .rtl .demoAccount-hint p {
    margin-left: unset !important;
    margin-right: 22px !important;
  }

  .accountType-desc-1 p,
  .accountType-desc-2 p,
  .accountType-desc-2 span {
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .liveAccount-titl-2 {
    font-size: 20px;
  }

  .liveAccount-logo {
    height: 30px;
  }

  .liveAccount-single-box h6 {
    font-size: 16px;
  }

  .liveAccount-single-ul-p1,
  .table-clean tbody tr,
  .table-dark-head thead th,
  .liveAccount-span,
  .liveAccount-p1,
  .liveAccount-ul-p1,
  .liveAccount-p2 {
    font-size: 12px;
  }

  .btn-liveAccount {
    max-width: 120px;
    font-size: 12px !important;
    padding: 13px 10px 10px 10px;
  }

  .liveAccount-single-box {
    padding: 15px 25px;
  }

  .logo-default,
  .logo-hover {
    left: 38px;
  }
}

@media (max-width: 460px) {
  .trading-hero {
    height: 500px;
  }

  .trading-hero-content h1 {
    font-size: 18px;
    line-height: 35px;
    margin-top: 30px;
  }

  .trading-hero-content p {
    font-size: 12px;
    margin-top: unset;
  }

  .pill-item {
    font-size: 12px;
    padding: 10px;
  }

  .acc-single-page h3,
  .accountType-desc-1 h3,
  #technology-whyRoyce-section h3,
  #security-whyRoyce-section h3,
  #executionSpeed-whyRoyce-section h3,
  #liquidity-whyRoyce-section h3,
  #advantage-whyRoyce-section h3,
  #executionPerformance-condtion-section h3,
  #marginTier-condtion-section h3,
  #spread-condtion-section h3,
  #leverage-condtion-section h3,
  #trading-demoAccount-section h3,
  #trading-accounttype h3,
  #trading-depositwithdrawal h3,
  #trading-mt5m-section h3,
  #trading-mt5D-section h3 {
    font-size: 18px;
    line-height: 21px;
  }

  #technology-whyRoyce-section p,
  #security-whyRoyce-section p,
  #executionSpeed-whyRoyce-section p,
  #liquidity-whyRoyce-section p,
  #advantage-whyRoyce-section p,
  #executionPerformance-condtion-section p,
  #marginTier-condtion-section p,
  #leverage-condtion-section p,
  #spread-condtion-section p,
  #trading-demoAccount-section p,
  #trading-accounttype p,
  #trading-depositwithdrawal p,
  #trading-mt5m-section p,
  #trading-mt5D-section p {
    font-size: 12px;
    line-height: 20px;
    display: unset;
    margin-right: 0;
    margin-left: 0;
    padding: 0;
  }

  #trading-demoAccount-section p {
    display: list-item;
    margin-left: 16px;
  }

  .rtl #trading-demoAccount-section p {
    margin-right: 16px;
    margin-left: 0;
  }

  .rtl #technology-whyRoyce-section p,
  .rtl #security-whyRoyce-section p,
  .rtl #executionSpeed-whyRoyce-section p,
  .rtl #liquidity-whyRoyce-section p,
  .rtl #advantage-whyRoyce-section p,
  .rtl #executionPerformance-condtion-section p,
  .rtl #marginTier-condtion-section p,
  .rtl #leverage-condtion-section p,
  .rtl #spread-condtion-section p,
  .rtl #trading-demoAccount-section p,
  .rtl #trading-accounttype p,
  .rtl #trading-depositwithdrawal p,
  .rtl #trading-mt5m-section p,
  .rtl #trading-mt5D-section p {
    margin-right: 0;
    margin-left: 0;
  }

  .liveAccount-titl-2 {
    font-size: 14px;
    margin-top: 3px;
  }

  .accountType-desc-2 p,
  .accountType-desc-2 span,
  .accountType-desc-1 p,
  .liveAccount-titl-1 span,
  .liveAccount-titl-1 p {
    font-size: 12px;
  }

  .accountType-desc-1 p,
  .accountType-desc-2 p,
  .accountType-desc-2 span {
    margin-left: 16px;
    margin-right: unset;
  }

  .rtl .accountType-desc-1 p,
  .rtl .accountType-desc-2 p,
  .rtl .accountType-desc-2 span {
    margin-left: unset;
    margin-right: 16px;
  }

  .acc-single-page span {
    margin-left: 35px;
    margin-right: unset;
  }

  .rtl .acc-single-page span {
    margin-left: unset;
    margin-right: 35px;
  }

  .demoAccount-hint h6 {
    font-size: 18px;
  }

  .demoAccount-hint p {
    margin-left: 16px !important;
    font-size: 12px !important;
  }

  .rtl demoAccount-hint p {
    margin-left: unset !important;
    margin-right: 16px !important;
  }

  .accountType-big-box {
    padding: 20px 20px;
  }

  .accountType-txt-box h6 {
    font-size: 16px;
  }

  .accountType-p1 {
    font-size: 12px;
  }

  .accountType-p2 {
    font-size: 13px;
  }

  .accountType-span {
    font-size: 12px;
  }
}

@media (max-width: 320px) {
  .liveAccount-span {
    font-size: 11px;
  }
}
/*#endregion*/
