@import url("https://fonts.googleapis.com/css?family=Quicksand:400,500,700");
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
  font-size: 62.5%;
  font-size: 10px;
}
/*-- Inspiration taken from abdo steif -->
/* --> https://codepen.io/abdosteif/pen/bRoyMb?editors=1100*/

/* Navbar section */

.nav {
  width: 100%;
  height: 65px;
  position: fixed;
  line-height: 65px;
  text-align: center;
  z-index: 100;
}

.nav div.logo {
  float: left;
  width: auto;
  height: auto;
  padding-left: 3rem;
}

.nav div.logo a {
  text-decoration: none;
  color: #fff;
  font-size: 2.5rem;
}

.nav div.logo a:hover {
  color: #dadbf0;
}

.nav div.main_list {
  height: 65px;
  float: right;
}

.nav div.main_list ul {
  width: 100%;
  height: 65px;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav div.main_list ul li {
  width: auto;
  height: 65px;
  padding: 0;
  padding-right: 1rem;
}

.nav div.main_list ul li a {
  text-decoration: none;
  color: #fff;
  line-height: 65px;
  font-size: 2rem;
}

.nav div.main_list ul li a:hover {
  color: #dadbf0;
}

/* Home section */

.Accounting {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("./img/Lamassu-Technology.pdf-image-004.jpg");
  background-position: center top;
  background-size: cover;
}

.Accounting .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 76%);
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
}
@media (min-width: 1200px) {
  .Accounting .overlay h1 {
    font-size: 3.5rem;
  }
}
tr {
  color: white !important;
}
th {
  font-size: 20px;
}
td {
  font-size: 20px;
  padding-block: 15px !important;
}

.Accounting .overlay h1 {
  width: 100%;
  text-align: center;
  color: white;
}

.home {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("./img/Lamassu-Technology.pdf-image-000.jpg");
  background-position: center top;
  background-size: cover;
}

.home .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 76%);
  z-index: 1;
  display: grid;
  place-items: center;
  justify-content: start;
  align-content: center;
  justify-items: start;
}

.home .overlay h1,
.home .overlay h3,
.home .overlay p,
.button-div {
  color: white;
  width: 100%;
  margin-left: 5%;
}
@media (min-width: 1200px) {
  .home .overlay h1 {
    font-size: 5.5rem;
    margin-left: 20%;
  }
  .home .overlay h3 {
    margin-left: 20%;
    font-size: 2.75rem;
  }
  .home .overlay p {
    margin-left: 20%;
    font-size: 2rem;
  }
  .button-div {
    margin-left: 20%;
  }
}

.button-div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.button-explore {
  background-color: #6a70c8;
  color: white;
  padding: 5px;
  font-size: 2rem;
  border-radius: 6px;
  border: solid 2px #6a70c8;
  margin-right: 10px;
  transition: all 0.3s ease-in-out;
}
.button-explore:hover {
  background-color: white;
  color: #6a70c8;
  padding: 10px; /* تغيير الحجم لخلق تأثير أكبر */
  font-size: 2rem;
  border-radius: 6px;
  border: solid 1px #6a70c8;
  margin-right: 10px;
}

.button-contact {
  background-color: #000000;
  color: #6a70c8;
  padding: 5px;
  font-size: 2rem;
  border-radius: 6px;
  border: solid 1px;
  transition: all 0.3s ease-in-out;
}
.button-contact:hover {
  background-color: #6a70c8;
  color: white;
  padding: 10px; /* تغيير الحجم لخلق تأثير أكبر */
  font-size: 2rem;
  border-radius: 6px;
  border: solid 1px white;
  margin-right: 10px;
}

.comprehensive {
  padding-block: 6%;
}

img {
  width: 100%;
}

.comprehensive h1 {
  text-align: center;
  margin-block: 30px 50px;
  font-weight: 700;
}

.comprehensive .container .row .di {
  padding: 20px;
}

@media (min-width: 957px) {
  .Revolutionizing .row .dd .containerr h1,
  .contactUs h1 {
    font-size: 4.5rem;
    font-weight: 700;
  }
  .Revolutionizing .row .dd .containerr .timeline .timeline-item h3 {
    font-size: 2.75rem;
    font-weight: 700;
  }
  .Revolutionizing .row .dd .containerr .timeline .timeline-item p {
    font-size: 2.75rem;
    font-weight: 500;
  }
}
.Revolutionizing .containerr {
  padding: 5% 8%;
}
.timeline {
  position: relative;
  margin: 0 auto;
  padding-left: 40px;
  margin-top: 10%;
}

.timeline-item {
  margin-bottom: 30px;
  position: relative;
}

.timeline-item::before {
  content: attr(data-step);
  position: absolute;
  left: -40px;
  top: 0;
  background-color: #dadbf1;
  color: #272525;
  font-weight: 700;
  font-size: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: 1px solid #c0c1d7;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: -8px; /* يتماشى مع منتصف المربع */
  top: 16px; /* نصف ارتفاع المربع */
  width: 20px; /* طول الخط */
  height: 2px;
  background-color: #c0c1d7; /* نفس لون المربع */
}

.timeline-item h3 {
  margin: 0 0 5px;
  font-size: 18px;
  color: #333;
  margin-left: 20px;
}

.timeline-item p {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-left: 20px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: -7%;
  left: 15px;
  width: 2px;
  height: 110%;
  background-color: #c0c1d7;
}

@media (min-width: 1200px) {
  .comprehensive .container .row .di h2 {
    font-size: 2.5rem;
  }
  .comprehensive .container .row .di h6 {
    font-weight: 400;
    font-size: 2rem;
  }
}

ul {
  list-style-type: disclosure-open;
  font-size: 20px;
  padding-left: 30px; /* مساحة إضافية للخط العمودي */
  position: relative; /* لتثبيت الخط العمودي */
  margin-top: 55px;
}

li::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 35%;
  bottom: 0;
  width: 2px;
  background-color: #0000002e;
  height: 60%;
}
@media (min-width: 1200px) {
  .Revolutionizing .row .dd .containerr ul li .text-nurturing {
    font-size: 27px;
  }
  .Revolutionizing .row .dd .containerr ul li .title-nurturing {
    font-size: 2.75rem;
  }
}
li {
  position: relative;
  margin-left: 20px; /* مسافة بعد النقطة لتجنب تداخل النص */
}

.step {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.step img {
  width: 120px;
}
@media (min-width: 1200px) {
  .step .content h3 {
    font-size: 2.75rem;
    font-weight: 700;
  }
  .step .content p {
    font-size: 2.6rem;
  }
}
.step .content {
  margin-left: 55px;
}

.navTrigger {
  display: none;
}

.nav {
  padding-top: 20px;
  padding-bottom: 20px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .container {
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  .navTrigger {
    display: block;
  }
  .nav div.logo {
    margin-left: 15px;
  }
  .nav div.main_list {
    width: 100%;
    height: 0;
    overflow: hidden;
  }
  .nav div.show_list {
    height: auto;
    display: none;
  }
  .nav div.main_list ul {
    flex-direction: column;
    width: 100%;
    height: 100vh;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #111;
    /*same background color of navbar*/
    background-position: center top;
  }
  .nav div.main_list ul li {
    width: 100%;
    text-align: right;
  }
  .nav div.main_list ul li a {
    text-align: center;
    width: 100%;
    font-size: 3rem;
    padding: 20px;
  }
  .nav div.media_button {
    display: block;
  }
}

/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
  cursor: pointer;
  width: 30px;
  height: 25px;
  margin: auto;
  position: absolute;
  right: 30px;
  top: 0;
  bottom: 0;
}

.navTrigger i {
  background-color: #fff;
  border-radius: 2px;
  content: "";
  display: block;
  width: 100%;
  height: 4px;
}

.navTrigger i:nth-child(1) {
  -webkit-animation: outT 0.8s backwards;
  animation: outT 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
  margin: 5px 0;
  -webkit-animation: outM 0.8s backwards;
  animation: outM 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
  -webkit-animation: outBtm 0.8s backwards;
  animation: outBtm 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
  -webkit-animation: inT 0.8s forwards;
  animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
  -webkit-animation: inM 0.8s forwards;
  animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
  -webkit-animation: inBtm 0.8s forwards;
  animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
  50% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes inM {
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes outM {
  50% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes outM {
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes inT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes inT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(9px) rotate(0deg);
  }
  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes outT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes outT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(9px) rotate(0deg);
  }
  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes inBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes inBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(0deg);
  }
  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

@-webkit-keyframes outBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes outBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(0deg);
  }
  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

.affix {
  padding: 0;
  background-color: #111;
}

.myH2 {
  text-align: center;
  font-size: 4rem;
}
.myP {
  text-align: justify;
  padding-left: 15%;
  padding-right: 15%;
  font-size: 20px;
}
@media all and (max-width: 700px) {
  .myP {
    padding: 2%;
  }
}

/* تنسيق الرسالة المنبثقة */
#status-message {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 100%;
  z-index: 1000;
  display: none;
}

.message-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.message-text {
  font-size: 16px;
}

.close-btn {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  margin-left: 10px;
}

/* تنسيق لرسالة النجاح */
.success {
  background-color: green;
}

/* تنسيق لرسالة الفشل */
.fail {
  background-color: red;
}

.m {
  margin-top: 15%;
}

@media (min-width: 922px) {
  .m {
    margin-top: 5%;
  }
}
