@font-face {
  font-family: "misans";
  src: url("./../webfonts/MiSansArabic-Bold.woff2");
}
@font-face {
  font-family: "misans-regular";
  src: url("./../webfonts/MiSansArabic-Regular.woff2");
}

* {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  box-sizing: border-box;
  scroll-behavior: smooth;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}

html[lang="ar"] {
  direction: rtl;
}

body {
  font-family: "misans-regular", sans-serif;
  background-color: white;
  color: #000;
  /* color: var(--body-color); */
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

.sans {
  font-family: "misans", sans-serif;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea {
  box-shadow: none;
  border: none;
  outline: none;
  background: none;
}

input {
  border-radius: 10px !important;
  -webkit-border-radius: 10px !important;
  -moz-border-radius: 10px !important;
  -ms-border-radius: 10px !important;
  -o-border-radius: 10px !important;
  &:focus {
    color: black !important;
    border-color: var(--color-glow) !important;
    box-shadow: none !important;
  }
}

.form-control {
  padding: 8px .75rem;
}

button:active,
button:focus {
  box-shadow: none !important;
}

img {
  width: 100%;
  object-fit: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* color: var(--title-color); */
}

p {
  margin: 0;
}

.sec-title {
  @media (max-width: 575px) {
    & {
      font-size: 30px;
    }
  }

  @media (min-width: 576px) and (max-width: 767px) {
    & {
      font-size: 33px;
    }
  }

  @media (min-width: 768px) and (max-width: 991px) {
    & {
      font-size: 38px;
    }
  }

  @media (min-width: 991px) {
    & {
      font-size: 40px;
    }
  }
}

.btn-solid-main {
  width: 210px;
  outline: none;
  border: 3px solid var(--color-glow);
  padding: 14px 16px;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  position: relative;
  display: flex;
  justify-content: center;
  letter-spacing: 0.05rem;
  font-weight: 700;
  font-size: 17px;
  border-radius: 500px;
  overflow: hidden;
  background: #fff;
  color: ghostwhite;
  & span {
    position: relative;
    z-index: 10;
    transition: color 0.4s;
  }
  &:hover span {
    color: var(--main-color);
  }

  &::before,
  &::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  &::before {
    content: "";
    background: radial-gradient(
      74.51% 74.51% at 49.93% 19.83%,
      #765df4 0%,
      #604cc9 43.51%,
      #45368e 100%
    );
    width: 120%;
    left: -10%;
    transform: skew(30deg);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
  }

  &:hover::before {
    transform: translate3d(100%, 0, 0);
  }
}

.btn-outline-main {
  display: flex;
  justify-content: center;
  align-items: baseline;
  width: 210px;
  outline: none;
  border: 3px solid var(--color-glow);
  padding: 14px 16px;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  position: relative;
  display: flex;
  justify-content: center;
  letter-spacing: 0.05rem;
  font-weight: 700;
  font-size: 17px;
  border-radius: 500px;
  overflow: hidden;
  background-color: var(--color-glow);
  color: var(--main-color);
  & span {
    position: relative;
    z-index: 10;
    transition: color 0.4s;
  }
  &:hover span {
    color: var(--main-color);
  }

  &::before,
  &::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  &::before {
    content: "";
    background: #fff;
    width: 120%;
    left: -10%;
    transform: skew(30deg);
    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
  }

  &:hover::before {
    transform: translate3d(100%, 0, 0);
  }
}

/* 
.btn-outline-main {
  width: 210px;
  padding: 14px 16px;
  position: relative;
  background: transparent;
  color: var(--color-glow);
  border: 3px solid var(--color-glow);
  border-radius: 50px;
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
  &:hover {
    color: var(--main-color);
    background-color: var(--color-glow);
  }
} */

.sec-header {
  font-size: clamp(1.7rem, 5vw, 2rem);
  font-weight: bold;
}
/********************* shared style  *********************/
