@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=New+Rocker&display=swap');

@font-face {
  font-family: Farang;
  src: url("../fonts/farang/Farang.ttf") format("truetype"),
    url("../fonts/farang/Farang.woff2") format("woff2");
}
@font-face {
  font-family: yekanBakh;
  src: url("../fonts/yekanBakh/YekanBakhFaNum-Regular.ttf") format("truetype"),
    url("../fonts/yekanBakh/YekanBakhFaNum-Regular.woff") format("woff"),
    url("../fonts/yekanBakh/YekanBakhFaNum-Regular.woff2") format("woff2");
}
@font-face {
  font-family: yekanBakhBold;
  src: url("../fonts/yekanBakh/YekanBakhFaNum-Bold.ttf") format("truetype"),
    url("../fonts/yekanBakh/YekanBakhFaNum-Bold.woff") format("woff"),
    url("../fonts/yekanBakh/YekanBakhFaNum-Bold.woff2") format("woff2");
}
@font-face {
  font-family: estedad;
  src: url("../fonts/estedad/Estedad-FD-Regular.ttf") format("truetype"),
    url("../fonts/estedad/Estedad-Regular.woff2") format("woff2");
}
@font-face {
  font-family: estedadBold;
  src: url("../fonts/estedad/Estedad-FD-Bold.ttf") format("truetype"),
    url("../fonts/estedad/Estedad-Bold.woff2") format("woff");
}
html,
body {
  font-family: 'estedad';
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 1rem !important;
  scroll-behavior: smooth !important;
  scrollbar-color: coral #081421;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'estedadBold' !important;
}
h1{font-size: 2.125rem;}
h2{font-size: 1.875rem;}
h3{font-size: 1.5rem;}
h4{font-size: 1.25rem;}
h5{font-size: 1.125rem;}
h6{font-size: 1rem;}
.blackbg {
  background-color: transparent;
  background-image: linear-gradient(180deg, #121212 50%, #2020203d 80%);
}

.blackbgbottom {
  background-color: transparent;
  background-image: linear-gradient(180deg, #4c15b9c7 16%, #121212 60%);
}

.navLink {
  position: relative;
  transition: 0.5s;
}

.textbookBody p{
  line-height: 2.2rem !important;
  font-size: 1.3rem !important;
  font-family: 'estedad' !important;
}
.textbookBody h2{
  line-height: 3.2rem !important;
  font-size: 1.475rem !important;
  font-family: 'estedadBold' !important;
  color: coral !important;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}
.textbookBody h3{
  line-height: 2.2rem !important;
  font-size: 1.3rem !important;
  font-family: 'estedad' !important;
  color: coral !important;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}
.textbookBody h4{
  line-height: 2.2rem !important;
  font-size: 1.2rem !important;
  font-family: 'estedad' !important;
  color: coral !important;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}
.textbookBody h5{
  line-height: 2.2rem !important;
  font-size: 1.1rem !important;
  font-family: 'estedad' !important;
  color: coral !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}
.textbookBody ul{
  list-style-type: circle !important;
}
.textbookBody ol{
  list-style-type: decimal !important;
}

.textbookBody pre{
  line-height: 2.2rem !important;
  font-size: 1.3rem !important;
  font-family: 'estedad' !important;
  background-color: #081421 !important;
  color: #fff !important;
  padding: 1rem !important;
  border-radius: 1rem !important;
  text-align: left !important;
  display: block !important;
  margin-top: .5rem !important;
  margin-bottom: 0.5rem !important;
}
.textbookBody table{
  width: 100% !important;
}
.textbookBody table, th, td{
  border: 1px solid !important;
}
.textbookBody th, td{
  padding: 0.7rem;
}
.textbookBody td{

  text-align: center !important;
}

.navLink:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scaleY(2);
  transition: 0.5s;
  border-top: 2px solid coral;
  border-bottom: 2px solid coral;
}

.navLink:hover:before {
  transform: scaleY(1.2);
  opacity: 1;
}

.navLink:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: coral;
  transition: 0.5s;
  transform: scale(0);
  z-index: -1;
}

.navLink:hover:after {
  transform: scale(1);
}


#menu a.active.navLink {
  color: coral ;
}
#menu a.active.navLink:hover{
  color: #121212 ;
}
.navLink:hover {
  color: #121212 ;
}
.navMenuLink {
  position: relative;
  transition: 0.5s;
  transition-delay: 0.5s;
}

.navMenuLink:hover {
  color: rgba(255, 255, 255, 0.1);
  transition-delay: 0s;
  font-size: 2.5rem;
}

.navMenuLink::before {
  content: attr(data-text);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 6;
  font-size: 1.5rem;
  color: #ff7f50;
  text-shadow: 0 0 10px #ff7f50,
    0 0 30px #ff7f50,
    0 0 80px #ff7f50;
  font-weight: 500;
  letter-spacing: 40px;
  opacity: 0;
  transition: 0.5s;
}

.navMenuLink:hover::before {
  opacity: 1;
  transition-delay: 0.5s;
  letter-spacing: 6px;
}

.farngFont {
  font-family: 'Farang' !important;
}
.cardNews {
  will-change: transform;
}

.cardNewsTitle h1 span {
  color: transparent;
  -webkit-text-stroke: 5px #000;
}

.progressBar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 1) 8%,
      rgba(0, 0, 0, 0) 20%,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0) 80%,
      rgba(0, 0, 0, 1) 100%,
    );
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}


.indexBtn2:hover {
  background-image: linear-gradient(92.88deg, #FF7F50 9.16%, #e05e2f 43.89%, #ce4a1a 64.72%);
  box-shadow: rgba(255, 127, 80, 0.416) 0 1px 10px;
}

.courseCard:hover .courseTop {
  animation: showDataTop 1s forwards;
  opacity: 1;
  transition: all .3s ease-in-out;
}

.courseCard:hover {
  animation: removeOverflowTop 1s forwards;
}

@keyframes showDataTop {
  50% {
    transform: translateY(5rem);
  }

  100% {
    transform: translateY(3rem);
  }
}

@keyframes removeOverflowTop {
  to {
    overflow: initial;
  }
}

.courseCard:hover .courseBottom {
  animation: showDataBottom 1s forwards;
  opacity: 1;
  transition: all .3s ease-in-out;
}

@keyframes showDataBottom {
  50% {
    transform: translateY(-10rem);
  }

  100% {
    transform: translateY(-8rem);
  }
}

.h-hero {
  height: calc(50vh - 250px);
}

.h-hero-mb {
  height: calc(100vh - 800px);
}

.ribbon {
  --f: 15px;
  /* control the folded part*/
  --r: 20px;
  /* control the ribbon shape */
  right: calc(-1*var(--f));
  padding: .1em .25em;
  border-top: var(--f) solid #0005;
  border-left: var(--r) solid #0000;
  clip-path:
    polygon(var(--r) 100%, 100% 100%, 100% var(--f), calc(100% - var(--f)) 0,
      calc(100% - var(--f)) var(--f), var(--r) var(--f),
      0 calc(50% + var(--f)/2));
}

.centerribbon {
  --f: 15px;
  /* control the folded part*/
  --r: 13px;
  /* control the ribbon shape */

  border-left: var(--f) solid #0005;
  border-bottom: var(--r) solid #0000;
  clip-path: polygon(var(--f) 0, 100% 0, 100% calc(100% - var(--r)), calc(50% + var(--f)/2) 100%, var(--f) calc(100% - var(--r)), var(--f) var(--f), 0 var(--f));
}


.whatindex {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
    url('../images/index/sky.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.AboutHeroBg {
  background-image: url('../images/AboutPage/pagetitle.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.AboutCounterBg {
  background-image: linear-gradient(to bottom, rgba(57, 112, 160, 0.527), rgba(50, 94, 133, 0.274)),
    url('../images/AboutPage/AboutCountBg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.AboutHiringBg {
  background-image: linear-gradient(to bottom, rgba(42, 67, 89, 0.863), rgba(42, 67, 89, 0.808)),
    url('../images/AboutPage/hiringblock.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.AboutContactBg {
  background-image: linear-gradient(to bottom, rgba(57, 112, 160, 0.74), rgba(50, 94, 133, 0.747)),
    url('../images/AboutPage/AboutContactBg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.requestBg {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('../images/AboutPage/request.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.SignInBg {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('../images/bg/signin.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.SignOutBg {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('../images/bg/signup.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Profile page */
.navActive {
  background: #FF7F50;
  color: rgb(240, 240, 240);
}

.aActive {
  background: #FF7F50;
  color: rgb(240, 240, 240);
}

.animCourseProfile {
  animation: animCour .4s ease-in-out;
}

@keyframes animCour {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

.animpig {
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

  75%,
  100% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Header */
/* Header */



.menu__item {
  position: relative;
  padding: 2rem 6vw;
}

.menu__item-link {
  display: block;
  cursor: pointer;
  position: relative;
  -webkit-text-stroke: .5px coral;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: opacity 0.4s;
}

.menu__item-link::before {
  all: initial;
  counter-increment: menu;
  position: absolute;
  bottom: 60%;
  left: 0;
  pointer-events: none;
}

.menu__item-link:hover {
  transition-duration: 0.1s;
  opacity: 0;
}

.menu__item-img {
  pointer-events: none;
  position: absolute;
  height: 50vh;
  max-height: 400px;
  opacity: 0;
  left: 50%;
  top: 50%;
  transform: translate3d(calc(-100% - 6vw), -30%, 0) translate3d(0, 20px, 0);
}

.menu__item-link:hover+.menu__item-img {
  opacity: 1;
  transform: translate3d(calc(-100% - 6vw), -30%, 0) rotate3d(0, 0, 1, 4deg);
  transition: all 0.4s;
}

.menu {
  padding: 2vh 0 25vh;
  --offset: 20vw;
  --move-initial: calc(-25% + var(--offset));
  --move-final: calc(-50% + var(--offset));
  font-size: 4vw;
}

.marquee {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: #fff;
  pointer-events: none;
  mix-blend-mode: difference;
}

.marquee__inner {
  width: fit-content;
  display: flex;
  position: relative;
  animation: marquee 5s linear infinite;
  animation-play-state: paused;
  opacity: 0;
  transition: opacity 0.1s;
}

.menu__item-link:hover~.marquee .marquee__inner {
  animation-play-state: running;
  opacity: 1;
  transition-duration: 0.4s;
}


.menu__item-link,
.marquee span {
  white-space: nowrap;
  font-size: 4vw;
  padding: 0 1vw;
  font-weight: 900;
  line-height: 1.15;
}

.marquee span {
  font-style: italic;
}

@keyframes marquee {
  0% {
    transform: translate3d(var(--move-initial), 0, 0);
  }

  100% {
    transform: translate3d(var(--move-final), 0, 0);
  }
}

@media only screen and (max-width: 600px) {
  .menu__item-img {
    left: 70%;
  }

  .menu__item {
    overflow-x: hidden !important;
  }

  .animated {
    height: 300vh;
  }
}

@media only screen and (min-width: 600px) {
  .animated {
    height: 160vh;
  }
}

.swiper-pagination-bullet {
  background: #868686 !important;
  width: .8rem !important;
  height: .8rem !important;
}

.swiper-pagination-bullet-active {
  background: coral !important;
}

.instaIcon {
  visibility: hidden !important;
}

.instaIconDiv:hover .instaIcon {
  visibility: visible !important;
}

.commentDiv:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url('../images/index/download.svg');
  height: 13px;
  z-index: 99;
  background-repeat: no-repeat;
  width: 100%;
}


.bgRoadMap {
  background-image: url('../images/roadMapPage/bg2.svg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  min-height: 200vh;
  width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
  color: #FF7F50 !important;
}

.swiper-pagination-bullet {
  height: .8rem !important;
  width: .8rem !important;
  border-radius: .3rem !important;
}

.swiper-pagination-bullet-active {
  background-color: #FF7F50 !important;
}

.rate {
  display: none;
}

.satis:hover .rate {
  display: flex !important;
}
.active-course {
  background-color: coral;   /* پس‌زمینه کورال */
  color: white;              /* رنگ متن سفید */
  font-weight: bold;         /* متن بولد */
}

.active-doc {
  background-color: coral;   /* پس‌زمینه کورال */
  color: #1e293b;            /* slate-900 → کد HEX */
  font-weight: 600;          /* semibold */
}



/* header BTN */
.heroBg {
  background-image: url('../images/index/bgtrans.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}
.mainBg {
  background-image: url('../images/index/bg6.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* .indexBg{
  background-image: url('../images/index/indexBg2.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
} */
.headerBtn1 {
  border-color: #FF7F50;
  border-width: 5px;
  border-radius: 999px;
  position: relative;
  background-color: #FF7F50;
  border-color: #FF7F50;
}

.headerBtn1::before {
  width: 100%;
  height: 125%;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  border: 1px solid #FF7F50;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.1);
  transform-origin: center center;
  transition: all 0.5s;
  content: "";
}

.headerBtn1:hover {
  background-color: #FF7F50;
  border-color: #FF6E38;
  border-style: inset;
  border-radius: 999px;
}

.headerBtn1:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}
.headerBtn2 {
  border-color: #FF7F50;
  border-width: 5px;
  border-radius: 999px;
  position: relative;
}

.headerBtn2::before {
  width: 100%;
  height: 125%;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  border: 1px solid #FF7F50;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.1);
  transform-origin: center center;
  transition: all 0.5s;
  content: "";
}

.headerBtn2:hover {
  background-color: #FF7F50;
  border-color: #FF6E38;
  border-style: inset;
  border-radius: 999px;
}

.headerBtn2:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.indexBtn2 {
  color: #FF7F50;
  border-color: #FF7F50;
  transition: all 0.5s;
}

.indexBtn2:hover {
  box-shadow: inset 5em 0 0 0 #FF6E38,
    inset -5em 0 0 0 #FF6E38;
  border-color: #FF6E38;
  color: #fff;
}

.qa-box.active {
  background-color: coral;
  color: black;
  border-color:  coral !important;
  border-radius: 1.5rem;
}

.qa-icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.qa-box.active .qaIconMinus {
  display: block;
}

.qa-box.active .qaIconPlus {
  display: none;
}


.qa-box.active .qa-answer {
  max-height: 200px;
  padding: 1rem;
}


.sidebar {
  height: calc(100vh - 56px);
}

.main-content {
  height: calc(100vh - 56px);
}
.active-course {
  background-color: coral !important;
  color: black !important;
}

.active-doc {
  background-color: coral !important; 
  color: black !important;
}