@font-face {
  font-family: "r-kalameh";
  src: url("../../font/kalameh/Kalameh-Regular.ttf");
}
@font-face {
  font-family: "b-kalameh";
  src: url("../../font/kalameh/Kalameh-Bold.ttf");
}
@font-face {
  font-family: "eb-kalameh";
  src: url("../../font/kalameh/Kalameh-ExtraBold.ttf");
}
@font-face {
  font-family: "yekan";
  src: url("../../font/yekan/Persian-Yekan.ttf");
}
@font-face {
  font-family: "yekan+";
  src: url("../../font/yekan/YEKAN-PLUS.TTF");
}
@font-face {
  font-family: "r-yekan";
  src: url("../../font/yekan/BYekan+_0.ttf");
}

body,
h1 {
  /* margin: 0!important; */
  overflow-x: hidden !important;
  -webkit-tap-highlight-color: transparent;
  /* font-family: yekan; */
}
@media (max-width: 992px) {
  body {
    overflow-x: hidden;
  }
}
:root {
  --bs-warning: #ff9020; /* تغییر رنگ اصلی */
}

::-webkit-scrollbar {
  width: 12px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background-color: #0a3250;
  border-radius: 50px;
  border: 10px solid #f1f1f1;
  height: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #0a3250;
}

/* اسکرول بار برای Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #0a3250 #f1f1f1;
  border-radius: 50px;
}
.org {
  color: #ff9020;
}

/* naaaaaaaaaavvvvvvvvvvvbbbbbbbbbaaaaarrrr */

.navbar-nav .nav-link {
  font-size: 1.1rem;
  margin-right: 35px;
  color: #0a3250;
  text-align: end !important;
  right: 0;
  font-family: "yekan";
  font-weight: 600;
}
@media (max-width: 992px) {
  .navbar-nav {
    display: flex;
    flex-direction: column-reverse !important;
    line-height: 35px;
  }
}
.navbar-nav .nav-link:hover {
  color: #ff9020;
  transition: 0.2s;
}
nav a img {
  width: 80px;
}

.nav-link1 {
  font-size: 1.1rem;
  margin-right: 35px;
  color: #ff9020 !important;
  text-align: end !important;
  right: 0;
  font-family: "yekan";
  font-weight: 600;
}
.navbar {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.299);
}
/* banner */
.banner {
  width: 100vw;
  height: 80vh;
  background-image: url(../../images/certf/IMG_31461.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: end;
  flex-direction: column;
  align-items: end;
}
.bannertxt {
  height: 80vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: right;
  float: right;
  padding-right: 300px;
}
.banner h1 {
  color: #fff;
  overflow: hidden;
  font-size: 7rem;
  font-family: "eb-kalameh";
  font-weight: 1000;
}
@media (max-width: 1100px) {
  .bannertxt {
    padding-right: 70px;
    text-align: center;
    float: center;
  }
  .banner h1 {
    font-size: 5.5rem;
  }
}
/* resumeeeeeeeeeeeee */
.resume {
  width: 100vw;
  height: auto;
  background-image: url(../../images/certf/background.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.slider {
  height: auto;
  margin: 0 auto;
  display: grid;
  grid-template-rows: 500px 100px;
  grid-template-columns: 1fr 30px 30px 30px 30px 30px 1fr;
  align-items: center;
  justify-items: center;
}

main#carousel {
  grid-row: 1 / 2;
  grid-column: 1 / 8;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 600px;
  --items: 5;
  --middle: 3;
  --position: 1;
  pointer-events: none;
}

div.item {
  text-align: center;
  padding-top: 20px;
  border-radius: 20px;
  background-color: #fff;
  position: absolute;
  width: 300px;
  height: 400px;
  background-color: white;
  --r: calc(var(--position) - var(--offset));
  --abs: max(calc(var(--r) * -1), var(--r));
  transition: all 0.25s linear;
  transform: rotateY(calc(-10deg * var(--r)))
    translateX(calc(-300px * var(--r)));
  z-index: calc((var(--position) - var(--abs)));
  /* background-image: url(../../images/certf/image1.png); */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
div.item1 {
  background-image: url("../../images/certf/certf-l1.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
div.item2 {
  background-image: url("../../images/certf/certf-l2.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
div.item3 {
  background-image: url("../../images/certf/certf-m.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
div.item4 {
  background-image: url("../../images/certf/certf-pt.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
div.item5 {
  background-image: url("../../images/certf/certf.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (max-width: 1000px) {
  div.item {
    width: 250px;
    height: 350px;
  }
}
div.item:nth-of-type(1) {
  --offset: 1;
}
div.item:nth-of-type(2) {
  --offset: 2;
}
div.item:nth-of-type(3) {
  --offset: 3;
}
div.item:nth-of-type(4) {
  --offset: 4;
}
div.item:nth-of-type(5) {
  --offset: 5;
}

input:nth-of-type(1) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

input:nth-of-type(1):checked ~ main#carousel {
  --position: 1;
}

input:nth-of-type(2) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}
input:nth-of-type(2):checked ~ main#carousel {
  --position: 2;
}

input:nth-of-type(3) {
  grid-column: 4 /5;
  grid-row: 2 / 3;
}
input:nth-of-type(3):checked ~ main#carousel {
  --position: 3;
}

input:nth-of-type(4) {
  grid-column: 5 / 6;
  grid-row: 2 / 3;
}
input:nth-of-type(4):checked ~ main#carousel {
  --position: 4;
}

input:nth-of-type(5) {
  grid-column: 6 / 7;
  grid-row: 2 / 3;
}
input:nth-of-type(5):checked ~ main#carousel {
  --position: 5;
}

.resumetxt span {
  font-family: "r-kalameh";
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0;
  line-height: 35px;
}
@media (max-width: 450px) {
  .resumeimg img {
    width: 90%;
    height: auto;
  }
}
/* fooooooooooooooooooterrrrrrrrrrrrrr */

.footer {
  background-color: #092032;
  color: #fff;
  padding: 40px 0;
  background-image: url("../../images/footer.png");
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.footer h3 {
  margin-bottom: 30px;
  font-weight: 600;
  font-family: "b-kalameh";
}

.footer p {
  font-family: "r-yekan";
  line-height: 30px;
  font-weight: 100;
  font-size: 1.21rem;
}
.footer a {
  text-decoration: none;
  font-size: large;
  font-family: "r-kalameh";
}
.active-footer {
  color: #ff9020;
  font-family: "b-kalameh" !important;
}
.linkfooter {
  color: #fff;
}
.linkfooter:hover {
  color: #ff9020;
  transition: 0.5s;
}

.social-icons a {
  font-size: 1.5rem;
  color: #fff;
  margin-right: 15px;
}
.social-icons a:hover {
  color: #ff9020;
  transition: 0.5s;
}
.contact-info i {
  margin-left: 10px;
}

footer img {
  max-width: 125px;
  padding-top: 20px;
  margin-bottom: 20px;
  height: auto;
}
@media (max-width: 772px) {
  footer img {
    padding-top: 0;
  }
}
footer .contact {
  list-style: none;
  font-size: large;
}
.contact li a {
  color: #fff;
}
.contact li a:hover {
  color: #ff9020;
  transition: 0.5s;
}

.about-text-footer {
  font-size: 6rem !important;
}

/* .accordion-button{
  border:solid 1px var(--bs-warning)!important;
  color: #0a3250;
} */

button:focus,
.btn:focus {
  outline: none !important;
  box-shadow: none !important;
}
