@import url("roots.css");
@import url("fonts.css");

.container {
  padding: 0 !important;
  max-width: 73%;
}

.container-2 {
  max-width: 90%;
  margin: auto;
}

a {
  text-decoration: none !important;
}

.max {
  width: fit-content;
}

body {
  background-image: url(/img/body-pattern.png);
  background-color: var(--CLI-2);
}

.Request-for-cooperation {
  padding: 9px 18px;
  background-color: var(--CLI);
  border-radius: var(--CURVE);
  border: 1px solid var(--CLI);
  transition: var(--TRANSITION);
  font-size: 14px;
}

.Request-for-cooperation:hover {
  background-color: transparent;
  color: var(--CLI) !important;
}

.Request-for-cooperation-bg {
  background-color: var(--CLI-3);
}

nav hr {
  border-top: 9px var(--CLI) solid;
}

.shopping-card {
  border: 1px solid var(--CLI);
  border-radius: var(--CURVE);
  width: 46px;
  transition: var(--TRANSITION);
}

.shopping-card:hover {
  box-shadow: rgba(99, 99, 99, 0.425) 0px 2px 8px 0px;
}

.main-radius {
  border-radius: var(--CURVE);
}

.transition {
  transition: var(--TRANSITION);
}

.shadow-hover:hover {
  box-shadow: rgba(99, 99, 99, 0.425) 0px 2px 8px 0px;
}

.user-profile {
  padding: 0px 10px;
  background-color: white;
  border-radius: var(--CURVE);
  border: 1px solid var(--CLI-4);
  transition: var(--TRANSITION);
  color: var(--CLI-5);
  transition: var(--TRANSITION);
  font-size: 14px;
}

.user-profile:hover {
  box-shadow: rgba(99, 99, 99, 0.425) 0px 2px 8px 0px;
}

.navbar-expand-lg .nav-link {
  color: #999999;
  position: relative;
  transition: var(--TRANSITION);
  font-size: 14px;
}

.mobile-menu button:focus-visible {
  outline: unset !important;
  border: none !important;
}

.navbar-expand-lg .nav-link:hover {
  color: #337977;
}

.navbar-expand-lg .nav-link.active {
  color: #337977;
}

.navbar-expand-lg .nav-link.active::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 4px;
  background-image: url(../img/menu-active.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  right: 0;
  left: 0;
  margin: auto;
  bottom: 100%;
}

.mobile-menu {
  background-color: var(--CLI-3);
}

.mobile-fixed {
  background-color: var(--CLI-3);
  background-image: url('../images/aperiance.svg');
  background-repeat: no-repeat;
  background-size: 30px;
  background-position: 100% 100%;
}

.mobile-fixed span {
  color: var(--CLI-4);
  font-size: 14px;
}

#offcanvasExample {
  background-color: var(--CLI-2);
}

#offcanvasExample ul li a {
  color: var(--CLI-4);
}

.leila-h1 {
  font-size: 80px;
  color: #337977;
  margin-top: 7rem;
}

.one-header p {
  color: var(--CLI);
  font-size: 24px;
  top: -4rem;
}

.manager-text {
  background-color: #87b9882f;
  padding: 5px 15px;
  color: #337977;
  font-size: 14px;
  backdrop-filter: blur(1000px);
}

.elipsis-1 {
  top: 2rem;
  right: -14rem;
}

.one-header::after {
  filter: blur(50px);
  content: "";
  position: absolute;
  width: 200px;
  height: 400px;
  background-color: var(--CLI-2);
  top: 0;
  right: -11rem;
  z-index: -1;
  border-radius: 9999px;
}

.max2 {
  height: max-content;
}

input:focus-visible {
  outline: none;
}

.main-search button {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: max-content;
  padding: 13px 30px;
  background-color: #337977;
  border-radius: var(--CURVE);
  border: 1px solid #337977;
  transition: var(--TRANSITION);
  height: max-content;
  display: flex;
}

.main-search button:hover {
  background-color: transparent;
  color: #337977 !important;
}

.one-header::before {
  filter: blur(50px);
  content: "";
  position: absolute;
  width: 250px;
  height: 500px;
  background-color: var(--CLI-2);
  top: 0;
  left: -11rem;
  z-index: -1;
  border-radius: 9999px;
}

.second-placeholder {
  right: 9.3rem;
  font-size: 18px;
  color: #b8b323;
}

.main-search {
  max-width: 670px;
}

.section-title {
  font-size: 32px;
  font-family: yekan-bold;
  color: #337977;
}

.curve-2 {
  border-radius: 20px;
}

.main-search input {
  border-radius: 25px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  color: var(--CLI-4);
  padding: 20px 4rem 20px 4rem;
}

.main-search input::placeholder {
  font-size: 18px;
  color: rgba(192, 192, 192, 1);
}

.main-search::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  top: 2.5rem;
  right: 13rem;
  background-image: url('../images/elipsis-2.svg');
  background-size: 100% 100%;
  z-index: -1;
}

.main-search::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 500px;
  bottom: -15rem;
  right: 0;
  z-index: -1;
  filter: blur(50px);

  background-color: var(--CLI-2);
}

.z-4 {
  z-index: 100;
}

.curve {
  border-radius: 15px;
}

.service-box-father:nth-child(5) .service-box {
  background-image: url(../images/service-box-1.svg);
  min-height: 100px;
  background-size: 100% 100%;
}

.service-box-father:nth-child(4) .service-box {
  background-image: url(../images/service-box-2.svg);
  min-height: 100px;
  background-size: 100% 100%;
}

.service-box-father:nth-child(3) .service-box {
  background-image: url(../images/service-box-3.svg);
  min-height: 100px;
  background-size: 100% 100%;
}

.service-box-father:nth-child(2) .service-box {
  background-image: url(../images/service-box-4.svg);
  min-height: 100px;
  background-size: 100% 100%;
}

.service-box-father:nth-child(1) .service-box {
  background-image: url(../images/service-box-5.svg);
  min-height: 100px;
  background-size: 100% 100%;
}

.service-box-father img {
  top: 60px;
  object-fit: contain;
}

.courses {
  margin-top: 10rem;
}

.courses-title-1 {
  font-size: 70px;
  font-family: yekan-black;
  color: var(--CLI);
}

.courses-title-2 {
  font-size: 40px;
  font-family: yekan-black;
  color: #337977;
}

.courses-title-info {
  font-size: 20px;
}

.border-corse {
  border: 5px solid white;
}

.courses-box {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background-color: #F9F6F0;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.courses-box:hover .courses-date,
.courses-box:hover .courses-box-title,
.courses-box:hover .toman {
  color: white !important;
}

.container-2 #pills-home::after,
.container-2 #pills-profile::after,
.container-2 #pills-contact::after,
.container-2 #falsafe::after {
  content: "";
  position: absolute;
  left: -10rem;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(246, 234, 218, 1) 53%, rgba(246, 234, 218, 0) 100%);
  width: 250px;
  z-index: 102;
}

.max-width {
  width: max-content;
}

.container-2 #pills-home::before,
.container-2 #pills-profile::before,
.container-2 #pills-contact::before,
.container-2 #falsafe::before {
  content: "";
  position: absolute;
  right: -10rem;
  top: 0;
  bottom: 0;
  background: linear-gradient(270deg, rgba(246, 234, 218, 1) 53%, rgba(246, 234, 218, 0) 100%);
  width: 250px;
  z-index: 102;
}


.container-2 #pills-home,
.container-2 #pills-profile,
.container-2 #pills-contact,
.container-2 #falsafe {
  position: relative;
}

.courses-box:hover .see-all {
  background: linear-gradient(272deg, #ffffff 1.08%, #ffffff 98.75%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 14px;
}

.courses-box:hover .see-all~img {
  filter: brightness(0) invert(1) opacity(1);
}

.courses-box:hover .courses-lable {
  background-color: rgba(255, 255, 255, 0.058) !important;
  backdrop-filter: blue(5px);
  color: white;
  border: 1px solid white !important;
  box-shadow: 0 6px 5px 0 rgba(0, 0, 0, 0.50);

}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent);
}

.courses-box-2line-limit {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* تعداد خطوط */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 50px;
}

.courses-box:hover::before {
  opacity: 1;
}

.courses-lable {
  padding: 3px 18px;
  color: #B8B323;
  border: 1px solid #B8B323;
  font-size: 13px;
}

.courses-date {
  font-size: 13px;
  color: #6E6E6E;
}

.courses-box-title {
  font-family: yekan-extrabold;
  font-size: 14px;
  color: #333333;
}

.courses-box .price {
  font-family: yekan-extrabold;
  background: linear-gradient(272deg, #99952A 1.08%, #B8B323 98.75%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 22px;
}

.courses-box .toman {
  color: #999999;
  font-size: 14px;
}

.courses-box .see-all {
  background: linear-gradient(272deg, #99952A 1.08%, #B8B323 98.75%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 14px;
}

.courses-hr {
  border-bottom: 1px solid #DDDDDD;
}

@keyframes floaty {
  0% {
    transform: translateX(5px);
  }

  100% {
    transform: translateX(-10px);
    /* فاصله حرکت */
  }
}

.start-from-here {
  background: rgba(131, 207, 205, 0.20);
  color: #337977;
  padding: 10px 20px;
  border-radius: 15px;
  font-family: yekan-extrabold;
  font-size: 14px;

}


.start-from-here img {
  animation: floaty 1s ease-in-out infinite alternate;

}

.courses .nav-link {
  background-color: white;
  border: 1px solid #DDDDDD;
  border-radius: 15px;
  font-size: 18px;
  color: black;
}

.courses .nav-link.active {
  background-color: var(--CLI) !important;
  color: white !important;

}

.category {
  color: var(--CLI);
}

.elipsis-5::after {
  content: "";
  position: absolute;
  top: -15rem;
  left: -10rem;
  width: 200px;
  height: 200px;
  background-image: url('../images/elipsis-5.svg');
  background-size: 100%;
  background-repeat: no-repeat;
}

/* .about-section {
  background-image: url('../img/about-section.png');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  padding-top: 13rem;
  padding-bottom: 6rem;

} */

.about-us-title {
  background-color: #b59c432d;
  padding: 2px 15px;
  font-family: yekan-light;

  border-radius: 15px;
  color: var(--CLI);
  font-size: 12px;
}

.about-us-title2 {
  color: #337977;
  font-size: 55px;
}

.maktab-us-title {
  color: #337977;
  font-size: 68px;
}

.about-us-info {
  font-size: 14px;
  color: #333333;
}

.maktab-us-info {
  color: #333333;
  font-size: 12px;
  font-family: yekan-light;

}

.read-more {
  padding: 8px 25px;
  background-color: #B59D43;
  font-size: 14px;
  border-radius: 10px;
  transition: var(--TRANSITION);
  border: 1px solid #B59D43;
}

.read-more:hover {
  background-color: transparent !important;
  color: #B59D43 !important;
}


@keyframes heightAnimation {
  from {
    height: 0px;
  }

  to {
    height: 400px;
  }
}

@keyframes heightAnimation2 {
  from {
    height: 0px;
  }

  to {
    height: 360px;
  }
}

@keyframes heightAnimation3 {
  from {
    height: 0px;
  }

  to {
    height: 310px;
  }
}

@keyframes heightAnimation4 {
  from {
    height: 0px;
  }

  to {
    height: 260px;
  }
}

@keyframes heightAnimation5 {
  from {
    height: 0px;
  }

  to {
    height: 210px;
  }
}

@keyframes heightAnimation6 {
  from {
    height: 0px;
  }

  to {
    height: 160px;
  }
}

@keyframes heightAnimation7 {
  from {
    height: 0px;
  }

  to {
    height: 110px;
  }
}

@keyframes heightAnimation8 {
  from {
    height: 0px;
  }

  to {
    height: 75px;
  }
}


.cooco-1 .circle-1 {
  margin-top: -3rem;
  width: 400px;
  height: 0px;
  animation: heightAnimation 0.75s ease-in-out forwards;
  border-radius: 50%;
  transform-origin: bottom;
  background-image: url('../images/k1.png');
  background-size: cover;
}

.cooco-1 .circle-2 {
  width: 360px;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 0px;
  animation: heightAnimation2 0.75s ease-in-out forwards;
  border-radius: 50%;
  transform-origin: bottom;
  animation-delay: 1s;
  background-image: url('../images/k2.png');
  background-size: cover;
}

.cooco-1 .circle-3 {
  width: 310px;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 0px;
  animation: heightAnimation3 0.75s ease-in-out forwards;
  background-image: url('../images/k3.png');
  border-radius: 50%;
  transform-origin: bottom;
  animation-delay: 2s;
  background-size: cover;
}

.cooco-1 .circle-4 {
  width: 260px;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 0px;
  animation: heightAnimation4 0.75s ease-in-out forwards;
  background-image: url('../images/k4.png');
  border-radius: 50%;
  transform-origin: bottom;
  animation-delay: 3s;
  background-size: cover;
}

.cooco-1 .circle-5 {
  width: 210px;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 0px;
  animation: heightAnimation5 0.75s ease-in-out forwards;
  background-image: url('../images/5.png');
  border-radius: 50%;
  transform-origin: bottom;
  animation-delay: 4s;
  background-size: cover;
}

.cooco-1 .circle-6 {
  width: 160px;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 0px;
  animation: heightAnimation6 0.75s ease-in-out forwards;
  background-image: url('../images/6.png');
  border-radius: 50%;
  transform-origin: bottom;
  animation-delay: 5s;
  background-size: cover;
}

.cooco-1 .circle-7 {
  width: 110px;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 0px;
  animation: heightAnimation7 0.75s ease-in-out forwards;
  background-image: url('../images/7.png');
  border-radius: 50%;
  transform-origin: bottom;
  animation-delay: 6s;
  background-size: cover;
}

.cooco-1 .circle-8 {
  width: 75px;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 0px;
  animation: heightAnimation8 0.75s ease-in-out forwards;
  background-image: url('../images/8\ \(1\).png');
  border-radius: 50%;
  transform-origin: bottom;
  animation-delay: 7s;
  background-size: cover;
}


.cooco {
   display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  transform: rotate(180deg);
  position: relative;
}



@keyframes slide-in-rtl {
  from {
    transform: translateX(40px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-ltr {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.rtl-slide {
  animation: slide-in-rtl .6s ease-out both;
  animation-delay: 8s;

}


.ltr-slide {
  animation: slide-in-ltr .6s ease-out both;
  animation-delay: 8s;

}

.numb--8 {
  top: -3%;
  right: 5%;
  animation: slide-in-rtl .6s ease-out both;
  animation-delay: 1s !important;
}

.numb--6 {
  top: 27%;
  right: 2%;
  animation: slide-in-rtl .6s ease-out both;
  animation-delay: 3s !important;

}

.numb--4 {
    top: 60%;
  right: 4%;
  animation: slide-in-rtl .6s ease-out both;
  animation-delay: 5s !important;

}

.numb--2 {
  top: 85%;
  right: 6%;
  animation: slide-in-rtl .6s ease-out both;
  animation-delay: 7s !important;

}

.numb--7 {
  top: 8%;
  left: 4%;
  animation: slide-in-rtl .6s ease-out both;
  animation-delay: 2s !important;
}

.numb--5 {
  top: 40%;
  left: 5%;
  animation: slide-in-rtl .6s ease-out both;
  animation-delay: 4s !important;
}

.numb--3 {
  top: 70%;
  left: 5%;
  animation: slide-in-rtl .6s ease-out both;
  animation-delay: 6s !important;
}

.numb--1 {
  top: 90%;
  left: 8%;
  animation: slide-in-rtl .6s ease-out both;
  animation-delay: 8s !important;
}

.numb-title {
  color: #337977;
  font-size: 14px;
}

.limit-3-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* تعداد خط‌ها */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-box {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);

  backdrop-filter: blur(10px);
}

.blog-date {
  font-size: 12px;
  color: #EEE;

}

.blog-box-mom {
  overflow: hidden;
  /* برای جلوگیری از بیرون زدن عکس */
}

.blog-box-mom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-in-out, height 0.4s ease-in-out;
}

.blog-box-mom:hover img {
  height: 60%;
  transform: scale(1);
  /* افکت زوم نرم */
}

.blog-box-mom:hover p {
  color: black !important;
}

.blog-box-mom p {
  font-size: 18px;
}

.blog-box-mom:hover .blog-box {
  background: unset !important;
  backdrop-filter: unset !important;
}

.blog-box-mom:hover img {
  height: 60%;
  object-fit: cover;
}

.blog-box .detail {
  font-size: 13px;
  padding: 3px 35px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 7px;
  color: rgba(255, 255, 255, 1);
}

.blog-box-mom:hover .blog-date {
  color: #b0b0b0;
}

.blog-box-mom:hover .blog-box .detail {
  background-color: #333;
}

.footer .title-footer {
  color: #333;
  font-size: 14px;
}

.footer ul li .title {
  color: #B8B323;
  font-size: 14px;
}

.footer ul li .text {
  color: #666;
  font-size: 14px;
}

.btn-link-footer {
  color: #666;
  font-size: 14px;
}

.footer {
  background: linear-gradient(272deg, rgba(249, 246, 240, 1) 0%, rgba(249, 246, 240, 1) 100%);
  margin-top: 15rem;
  padding-top: 8rem;
}

.rahweb .text-company {
  font-size: 16px;
}

.btn-link-web-company {
  color: #B8B323;
  font-size: 16px;
}

.link-web-hamgaman {
  color: #B8B323;
  font-size: 16px;
}

.footer .image-top {
  top: -75px;
}

.border-style-footer::before {
  content: "";
  width: 90%;
  height: 4px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background: linear-gradient(to right, transparent, #DDDDDD4D 20%, #DDD 50%, #DDDDDD4D 80%, transparent);
}


.mySwiper-blog .swiper-pagination {
  position: unset !important;
}
.swiper-pagination-bullet {
  height: 10px !important;
  width: 10px !important;
  border-radius: 50% !important;
}

.swiper-pagination-bullet-active {
  background: #337977 !important;
width: 25px !important;
border-radius: 30px !important;
}

.courses .overflow-auto {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.courses-box .image-hover {
  opacity: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  transition: 0.5s;
}

.courses-box:hover::after{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: #0000005e;
  border-radius: 20px;
}

.courses-box:hover .image-hover{
  opacity: 1;
}

.bg-fixed{
  z-index: 110;
}

@media (max-width: 576px) {
  .footer .image-top img {
    width: 200px !important;
  }

  .footer {
    margin-top: 10rem;
    padding-top: 3rem;
    padding-bottom: 6rem;
  }
  .company{
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px;
  }

  .institute p{
    flex-direction: column;
  }

  .footer .image-top {
    top: -55px;
  }


  .main-search button {
    padding: 10px 20px;
    border-radius: 13px;
    font-size: 14px;
  }
  .about-section .image img{
  top: 0 ;
}

.about-section{
  margin: 10rem 0 !important;
}
}

.form-control:focus {
  border-color: var(--CLI) !important;
  outline: unset !important;
  box-shadow: unset !important;
}

.about-section{
  margin: 22rem 0;
}

.about-section .image img{
  margin: auto;
  z-index: -1;
  opacity: 0.7;
  top: -15rem ;
}