/* استيراد الخطوط */
@import url("https://fonts.googleapis.com/css2?family=Aref+Ruqaa&family=Tajawal&display=swap");
:root {
  --main-color: #a0051b;
  --light-color: #ffffff;
  --dark-color: #1c1a1a;
  --text-color: #1c1a1a;
}
::selection {
  background-color: #a0051b; /* لون خلفية النص عند التحديد */
  color: #ffffff; /* لون النص عند التحديد */
}
html {
  scroll-behavior: smooth;
}

.primary-color {
  color: var(--main-color);
}

.dark-color {
  color: var(--dark-color);
  font-weight: 700;
}

.light-color {
  color: var(--light-color);
}

.bg-primary {
  background-color: var(--main-color);
}
.rounded {
  border-radius: 10px;
}

/* أنماط عامة للصفحة */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Back to top Style  */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #a0051b; /* لون الدائرة */
  color: white; /* لون السهم */
  border: none;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  cursor: pointer;
  display: none; /* اجعل الزر مخفيًا افتراضيًا */
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
}

#back-to-top:hover {
  opacity: 0.8;
}

body {
  font-family: "Tajawal", sans-serif; /* الخط الأساسي */
  color: #1c1a1a; /* لون النص الأساسي */
  font-style: normal;
  line-height: 28.81px; /* ارتفاع السطر */
  direction: rtl;
  background: url(../images/paper.svg);
  background-size: cover;
  overflow-x: auto;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Tajawal", sans-serif;
  color: #a0051b;
  line-height: 28.81px;
}

a {
  color: #a0051b;
  text-decoration: none;
  line-height: 28.81px;
}

a:hover {
  color: #7a0416;
  text-decoration: underline;
}

.container {
  padding-inline: 1.5rem;
  max-width: 1200px;
  margin: auto;
}

/* Show case section  */
.showcase {
  background: url(../images/showcase.svg);
  background-size: cover;
  min-height: 811.89px;
}
.showcase-content .artboard {
  background: url(../images/Artboard.svg) no-repeat center center;
  height: 169.42px;
  background-size: 100%;
}

.showcase-content .artboard p {
  width: 253.35px;
  height: 70.37px;
  font-family: "Aref Ruqaa", serif;
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
  line-height: 117.5%;
  text-align: center;
  color: var(--main-color);
}
.showcase-content .name {
  max-width: 190.68px;
  height: 44.9px;
  background: rgba(160, 5, 27, 0.79);
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #ffffff;
}
.tap {
  position: absolute;
  width: 78.06px;
  height: 28.8px;
  left: 140px;
  top: 28px;
  background: #88848574;
  transform: matrix(0.91, -0.41, 0.53, 0.85, 0, 0);
}
/* Header Styles */
.menu-btn {
  cursor: pointer;
  .btn-line {
    width: 28px;
    height: 3px;
    margin: 0 0 5px 0;
    background: var(--main-color);
    transition: all 0.5s ease-out;
  }
  /* Rotate Int X With Menu Lines */
  &.close {
    transform: rotate(180deg);
    position: absolute;
    left: 50%;
    top: 2px;
    .btn-line {
      &:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }
      &:nth-child(2) {
        opacity: 0;
      }
      &:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
      }
    }
  }
}

header nav a {
  font-family: "Almarai";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  color: #a0051b;
}
header nav img {
  margin: 103px 0 100px;
}
header nav li {
  margin-bottom: 63px;
}
.lang {
  width: 48px;
  height: 48px;
  background: var(--main-color);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #ffffff;
  border-radius: 50%;
}
.show {
  display: flex !important;
}

article p {
  max-width: 312px;
  font-weight: 400;
  font-size: 15px;
  line-height: 169.46%;
  color: #1c1a1a;
}
article h1 {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
}

.title::after {
  content: "";
  background: #a27b75ba;
  position: absolute;
  top: 9px;
  right: -18px;
  width: 40.77px;
  height: 16.53px;
  transform: rotate(-27.96deg);
}

.showcase-content .title::after {
  content: "";
  background: #a27b75ba;
  position: absolute;
  top: 25px;
  right: -45px;
  width: 78.06px;
  height: 28.8px;
  transform: rotate(-34.96deg);
}
/* Image Gallery   */

.image-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6rem;
  position: relative;
}
.image-gallery div::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110.19px;
  height: 44.86px;
  background: #a27b75ba;
  color: #ffffff;
  font-size: 16px;
}
.image-gallery div:nth-child(1)::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110.19px;
  height: 44.86px;
  background: #a27b75ba;
  color: #ffffff;
  font-size: 16px;
}
.image-gallery div:nth-child(2)::after {
  rotate: -25deg;
  left: 30px;
  top: -20px;
}
.image-gallery img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

/* Law Section  */
article.law {
  background: url(../images/free-newspaper-wallpaper.svg) no-repeat center/cover;
  margin-top: 6rem;
}
article.law::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
}
.law .text-content {
  position: relative;
  z-index: 2;
  h1,
  p {
    color: #fff;
  }
}

/* Red Box */
section.message-1 .red-box {
  /* max-width: 596px; */
  margin: auto;
}
section.message-1 .red-box p {
  font-weight: 700;
  font-size: 12px;
  line-height: 154.96%;
}

/* Info Styles */
section.info .box {
  background: url("../images/box-sm.svg") no-repeat center/cover;
  height: 500px;
  min-height: 406px;
}
section.info img {
  mix-blend-mode: multiply;
}

section.info .box > div {
  max-width: 496px;
}

/* Loans  Section */
.loans {
  min-height: 500px;
}

.loans {
  background: url("../images/betra_dark.svg") no-repeat center/cover;
}
.loans2 {
  background: url("../images/loans2_sm_bg.svg") no-repeat center/cover;
}
.loans p {
  color: #fff;
}
.loans img {
  display: inline;
  vertical-align: top;
}

/* Contract Section  */
section.contract {
  min-height: 439px;
}
section.contract .bg {
  background: url(../images/paper2.svg) no-repeat center/cover;
  max-width: 383px;
  height: 439px;
}

section.contract .bg p {
  max-width: 277px;
  font-weight: 400;
  font-size: 13px;
  line-height: 169.46%;
}

/* Example Article */
article.example p {
  max-width: 321px;
}

/* Tabs */

.tabs .container div.tab-item {
  width: 15px;
  height: 15px;
  background: #978f8f;
  transform: matrix(-1, 0, 0, 1, 0, 0);
  margin-inline: 5px;
}
.tabs .container div.tab-item:hover {
  background-color: var(--main-color);
  cursor: pointer;
}
.tabs .container div.tab-bg {
  background-color: var(--main-color);
}

/* Tabs Content */
/* Hide content initiall */
#tab-1-content,
#tab-2-content,
#tab-3-content {
  display: none;
}
.show-tab {
  display: block !important;
}

.info-container .row-2 {
  display: flex;
  gap: 15px;
}

.info-container .column {
  flex: 1;
}

.info-container .title {
  width: 120px;
  background: #ffffff;
  border-radius: 7px;
  font-weight: 700;
  font-size: 13px;
  line-height: 142.46%;
  color: #a0051b;
  padding: 14px 5px;
  text-align: center;
  margin-bottom: 1rem;
}
