@import "./variables.css";
@import "./fonts.css";
@import "./top-bar.css";
@import "./defaults.css";
@import "./nav-bar.css";
@import "./footer.css";
@import "./course-box.css";
@import "./common-classes.css";
@import "./index.css";
/* @import "./responsive.css"; */
/* -----****----- */ /* -----****----- */
/* ----------------Start Landing Section----------------- */
.main-header__logo {
  max-width: 15rem;
}
.main-header {
  border-bottom: 4px solid var(--primary-color);
}

.landing {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(165, 148, 148, 0.5)),
    url(../images/landing1.jpg) no-repeat center center/cover fixed;
  color: var(--white-color);
  padding: 9rem 0;
  margin: 0 auto;
  text-align: center;
  min-height: 30rem;
}

.landing__index {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../images/13.jpg) no-repeat center center/cover fixed;
}
.landing__services {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../images/25.jpg) no-repeat center center/cover fixed;
}
.landing__projects {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../images/9.jpg) no-repeat center center/cover fixed;
}
.landing__about-us {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../images/17.jpg) no-repeat center center/cover fixed;
}
.landing__co-workers {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../images/37.jpg) no-repeat center center/cover fixed;
}
.landing__contact-us {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../images/21.png) no-repeat center center/cover fixed;
}
.landing__chart {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../images/38.jpg) no-repeat center center/cover fixed;
}
.landing__news1 {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../images/news.jpg) no-repeat center center/cover fixed;
}

.container {
  width: 100%;
  height: 100%;
}

.landing__title {
  font-size: 2.5rem;
  font-weight: bold;
}

.landing__subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 1rem;
}

.landing__search-bar {
  width: 700px;
  height: 6rem;
  position: relative;
  margin: 4rem auto;
}

.landing__searchbar-input {
  width: 100%;
  height: 100%;
  outline: none;
  border: none;
  padding: 2.5rem;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
}

.landing__searchbar-btn {
  height: 100%;
  position: absolute;
  left: 0.5rem;
  width: 5rem;
  height: 5rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-color);
  border: none;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.landing__searchbar-icon {
  color: var(--white-color);
  font-size: 1.7rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

.landing__status {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.landing__status-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.landing__status-item svg {
  fill: var(--white-color);
}

.landing__status-count {
  margin: 1rem auto;
  font-size: 1.75rem;
  font-weight: 600;
}

.landing__status-test {
  font-weight: bold;
  font-size: 2rem;
}

/* ----------------End Landing Section----------------- */

/* **** */
/* **** */

/* ----------------Start Latest Courses Section----------------- */
.courses,
.articles {
  margin: 7rem 0 3rem 0;
}

.courses-header,
.articles-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.courses-header__right,
.articles-header__right {
  display: flex;
  text-align: right;
  gap: 1rem;
  flex-direction: column;
}

.courses-header__text,
.articles-header__text {
  font-weight: bold;
  color: #9c9c9c;
  font-size: 1.6rem;
  line-height: 4.5rem;
  text-align: justify;
  margin: 1rem auto 2rem auto;
  display: block;
}

.courses-header__left,
.articles-header__left {
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
}

.courses-header__left:hover a,
.articles-header__left:hover a {
  color: var(--white-color);
}

.courses-header__link,
.articles-header__link {
  color: var(--white-color);
}

.courses-header__icon,
.articles-header__icon {
  color: var(--white-color);
  margin-right: 0.5rem;
}

/* ----------------End Latest Courses Section----------------- */
/* **** */
/* **** */

/* ----- Start Slider Section Styles------ */
.slider-container {
  width: 80%;
  margin: 7rem auto;
  padding: 2rem;
  background-color: rgb(178, 255, 89, 0.3);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  -webkit-border-radius: 1rem;
}
.slider-container .swiper-slide {
  width: 60%;
}
.slider-container .swiper-slide .course-box {
  width: 100%;
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
}

/* ----- Start Slider Section Styles------ */
/* **** */
/* **** */
/* ----- Start about us section Style ------ */
.about-us {
  width: 90%;
}
.about-us__header {
  display: flex;
  text-align: right;
  gap: 1rem;
  flex-direction: column;
  padding: 0.5rem;
  margin-bottom: 3.5rem;
}

.about-us__subtitle {
  font-weight: bold;
  color: #9c9c9c;
  font-size: 1.2rem;
  padding: 0 0 2rem 0;
}

.about-us__box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  height: 12rem;
  margin: 0 1.3rem 2rem 1.3rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
}

.about-us__box-icon {
  color: #666;
  font-size: 6.5rem;
}

.about-us__left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: center;
}

.about-us__box-title {
  font-weight: bold;
  font-size: 1.8rem;
}

.about-us__box-text {
  font-size: 1.5rem;
}

/* ----- End about us section Style ------ */
/* ***** */
/* ***** */
/* ----- Statr popular and presell courses Style ------ */
.popular-courses__header,
.presell-courses__header {
  margin: 3rem 0 2rem 0;
  padding: 0.5rem 0;
  /* ----- End popular and presell courses Style ------ */
}

/* ***** */
/* ***** */
/* ----- Start slider for popular and presell courses Style ------ */
.swiper-slide {
  background-color: var(--white-color);
}

.swiper-slide .course-box:hover {
  transform: none;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
}

/* ---- End slider for popular and presell courses Style --- */
/* ***** */
/* ***** */
/* -------Start Article Section ----- */
/* *** */
/* Article header is as the same courses-header */
/* ---- Hear is the article content Section Style ----*/

.article-box {
  margin: 1rem;
  box-shadow: 0 0 10px 0 rgb(70, 72, 77, 0.1);
  transition: all 600ms ease;
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  border-radius: 2rem;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  -ms-border-radius: 2rem;
  -o-border-radius: 2rem;
}

.article-box:hover {
  transform: translateY(-0.6rem);
  -webkit-transform: translateY(-0.6rem);
  -moz-transform: translateY(-0.6rem);
  -ms-transform: translateY(-0.6rem);
  -o-transform: translateY(-0.6rem);
}

.article-box__img {
  width: 100%;
  height: 100%;
  border-radius: 2rem 0 2rem 0;
  -webkit-border-radius: 2rem 0 2rem 0;
  -moz-border-radius: 2rem 0 2rem 0;
  -ms-border-radius: 2rem 0 2rem 0;
  -o-border-radius: 2rem 0 2rem 0;
}

.article-box__content {
  padding: 1rem 2rem 3rem 2rem;
}
.articles-box__header img {
  max-width: 100%;
  max-height: 23rem;
  object-fit: cover;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
}

.article-box__content-title {
  font-weight: bold;
  font-size: 1.5rem;
  text-align: justify;
}

.article-box__content-text {
  color: #898989;
  padding: 1rem 0 2rem 0;
  font-size: 1.2rem;
  text-align: justify;
}

.article-box__content-btn {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  font-size: 1.4rem;
  border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
  transition: all 400ms ease;
  -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -ms-transition: all 400ms ease;
  -o-transition: all 400ms ease;
}

.article-box__content-btn:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* -------End Article Section ----- */
/* *** */
/* *** */

/* ***** */
/* ***** */
/* ***** */
/* ***** */
.course-header__text-title {
  font-size: 1.8rem;
  padding: 0.5rem 0;
}
/* ----------Contact Us-------------*/
.map-container {
  width: 100%;
  max-width: 800px;
  height: 400px;
  margin: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
iframe {
  width: 100%;
  height: 100%;
  border: none;
}
/* ----------co-workers-------------*/
.co-worker--container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40%;
  padding: 5rem;
  margin: 6rem auto 10 rem auto;
  background: white;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
}
.co-worker--img {
  display: block;
  width: 85%;
  border-radius: 0.5rem;
  margin: 2rem auto;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
}
.co-worker__text {
  color: #666;
  font-size: 2rem;
  font-weight: bold;
  text-align: justify;
  margin: 2rem auto;
}
.co-worker--input {
  width: 90%;
  padding: 1rem;
  margin: 2rem 0;
  border: 2px solid var(--primary-color);
  border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
}
.co-worker--btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px;
  width: 50%;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 2500ms ease;
  -webkit-transition: all 2500ms ease;
  -moz-transition: all 2500ms ease;
  -ms-transition: all 2500ms ease;
  -o-transition: all 2500ms ease;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
  margin: 2rem auto;
}
.co-worker--btn:hover {
  background-color: rgb(108, 170, 96);
  /* color: var(--primary-color); */
  border: 2px solid var(--primary-color);
}
/* --------------- */
/* ----------news--------- */
.news {
  width: max-content;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0rem auto;
}
.news-message {
  width: max-content;
  border: 2px solid var(--primary-color);
  padding: 2rem 5rem;
  border-radius: 1.5rem;
  font-size: 1.8rem;
  font-weight: bold;
  color: #898989;
  box-shadow: 0 0 5px 0 rgb(0 0 0 / 30%);
}
.footer {
  margin-top: 5rem;
}
.footer-copyright {
  text-align: center;
}
/* ------- */
/* ---------news and articles---- */
.news-message {
  margin: 3rem auto;
}
/* ------- */
/* -------Responsive--------- */
/* Media Queries برای صفحه‌های موبایل و تبلت */
@media screen and (max-width: 1024px) {
  /* استایل‌های کلی برای تبلت */
  .main-header__logo {
    max-width: 13rem;
  }
  .main-hader__menu {
    font-size: 1.5rem;
    gap: 0.5rem;
  }

  .landing {
    padding: 7rem 0;

    min-height: 28rem;
  }
  .landing__title {
    font-size: 2rem; /* کاهش سایز فونت برای صفحه‌های کوچک‌تر */
  }
  .title {
    font-size: 2rem;
  }
  .courses,
  .articles {
    margin: 4rem 0 2.5rem 0;
  }
  .courses-header__text,
  .articles-header__text {
    font-size: 1.4rem; /* کاهش سایز فونت متن‌ها */
    line-height: 2.5rem;
  }

  .article-box__content-title {
    font-size: 1.3rem; /* کاهش سایز فونت عنوان مقالات */
  }

  .article-box__content-text {
    font-size: 1.1rem; /* کاهش سایز فونت متن مقالات */
  }

  .co-worker--container {
    width: 70%; /* افزایش عرض برای نمایش بهتر در تبلت */
  }
}

@media screen and (max-width: 768px) {
  /* استایل‌های کلی برای موبایل */
  .main-hader__menu {
    font-size: 1.2rem;
    gap: 0.2rem;
  }
  .main-header__logo {
    max-width: 11rem;
  }
  .main-hader__right {
    gap: 0.1rem;
  }

  .landing {
    padding: 4rem 0; /* کاهش padding برای صفحه‌های موبایل */
    min-height: 20rem; /* کاهش ارتفاع */
  }

  .landing__title {
    font-size: 1.7rem; /* کاهش سایز فونت برای موبایل */
  }
  .title {
    font-size: 1.6rem;
  }
  .courses-header,
  .articles-header {
    flex-direction: column; /* تغییر جهت به عمودی برای موبایل */
    text-align: center;
  }

  .courses-header__right,
  .articles-header__right {
    text-align: center; /* متن‌ها را در مرکز قرار می‌دهد */
  }

  .courses-header__text,
  .articles-header__text {
    font-size: 1.2rem; /* کاهش سایز فونت متن‌ها */
    line-height: 2rem;
  }

  .article-box {
    margin: 0.5rem; /* کاهش margin برای موبایل */
  }

  .articles-box__header img {
    width: 100%;
  }
  .article-box__content-title {
    font-size: 1.2rem; /* کاهش سایز فونت عنوان مقالات */
  }

  .article-box__content-text {
    font-size: 1rem; /* کاهش سایز فونت متن مقالات */
  }
  .article-section__text {
    white-space: normal;
    font-size: 1.1rem;
  }
  .co-worker--container {
    width: 90%; /* افزایش عرض برای نمایش بهتر در موبایل */
    padding: 2rem; /* کاهش padding */
  }

  .co-worker__text {
    font-size: 1.5rem; /* کاهش سایز فونت متن */
  }

  .co-worker--btn {
    width: 70%; /* افزایش عرض دکمه */
  }

  .about-us {
    height: auto; /* ارتفاع خودکار برای بخش اخبار */
    padding: 2rem; /* اضافه کردن padding */
  }

  .news-message {
    font-size: 1.5rem; /* کاهش سایز فونت پیام */
    padding: 1rem 2rem; /* کاهش padding */
  }
  .article-box__content-btn {
    font-size: 1.2rem;
  }
  .footer {
    margin-top: 1.5rem;
  }
  .footer-copyright {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .article-box {
    width: 100%; /* عرض کامل برای مقاله‌ها */
  }
  /* --------news and articles */
  .news-message {
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 610px) {
  .main-header__content {
    padding: 2rem 1rem;
  }
  .top-bar__emeil-text,
  .top-bar__phone-text {
    font-size: 1rem;
  }
  .main-header__logo {
    max-width: 9rem;
  }
  .main-hader__menu {
    font-size: 1rem;
  }
  .main-header__item {
    margin-right: 0.7rem;
  }
  .landing__title {
    font-size: 1.5rem;
  }
  .landing {
    padding: 3rem 0.5rem;
    min-height: 15rem;
  }
  .title {
    font-size: 1.4rem;
  }
  .courses,
  .articles {
    margin: 4rem 0 0 0;
  }
  .courses-header__text,
  .articles-header__text {
    font-size: 1rem;
  }
  .about-us {
    height: auto;
    width: 80%;
    padding: 0rem 2rem 2rem 2rem;
  }
  .article-section__text {
    white-space: normal;
    font-size: 1rem;
  }
  .footer {
    margin-top: 1.5rem;
  }
  .footer-copyright {
    font-size: 0.7rem;
    padding: 0 1rem;
    line-height: 1rem;
  }
  /* ---------Co-workers page--------- */
  .co-worker--input {
    font-size: 1.2rem;
    margin: 1.2rem 0;
  }
  .co-worker--btn {
    font-size: 1.2rem;
  }
  /* --------news and articles */
  .news-message {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  .main-header__content {
    padding: 2rem 0.5rem;
  }

  .top-bar__emeil-text,
  .top-bar__phone-text {
    padding: 0.1rem;
    font-size: 0.8rem;
  }
  .main-header__logo {
    max-width: 6rem;
  }
  .main-hader__menu {
    font-size: 0.8rem;
    gap: 0.1rem;
  }
  .main-header__item {
    margin-right: 0.4rem;
  }
  .landing {
    padding: 2rem 1rem;
    min-height: 10rem;
  }
  .landing__title {
    font-size: 1.2rem;
  }
  .courses,
  .articles {
    margin: 2rem 0 0 0;
  }
  .courses-header__right {
    padding: 0 3rem;
  }
  .title {
    font-size: 1.2rem;
  }
  .courses-header__text,
  .articles-header__text {
    font-size: 0.8rem;
  }
  .article-box__content-btn {
    font-size: 0.9rem;
  }
  .article-box__content-title {
    font-size: 0.9rem;
  }
  .article-box__content-text {
    font-size: 0.8rem;
  }
  .article-section__text {
    white-space: normal;
    font-size: 0.8rem;
  }
  /* ---------Co-workers page--------- */
  .co-worker--input {
    font-size: 1rem;
    margin: 1rem 0;
  }
  .co-worker--btn {
    font-size: 1rem;
  }
  /* --------news and articles */
  .news-message {
    font-size: 1.1rem;
  }
  /* ------------chart---------- */
  .tree-list {
    margin: 5rem 2rem 3rem 0;
  }
  .tree,
  .tree-list {
    padding-right: 1rem;
  }
}
@media (max-width: 360px) {
  .top-bar__emeil-text,
  .top-bar__phone-text {
    padding: 0.1rem;
    font-size: 0.6rem;
  }
  .main-header__logo {
    max-width: 6rem;
  }
  .main-header__item {
    margin-right: 0.4rem;
  }
  .main-hader__menu {
    font-size: 0.65rem;
    margin-right: 0.5rem;
  }
  .landing {
    padding: 2rem 1rem;
    min-height: 7rem;
  }
  .landing__title {
    font-size: 1rem;
  }
  .courses,
  .articles {
    margin: 2rem 0 0 0;
  }
  .courses-header__right {
    padding: 0 3rem;
  }
  .title {
    font-size: 1rem;
  }
  .courses-header__text,
  .articles-header__text {
    font-size: 0.65rem;
  }
  .article-box__content-btn {
    font-size: 0.7rem;
  }
  .article-box__content-title {
    font-size: 0.8rem;
  }
  .article-section__text {
    white-space: normal;
    font-size: 0.65rem;
  }
  .article-box__content-text {
    font-size: 0.65rem;
  }
  .article-box__content-btn {
    font-size: 0.65rem;
  }
  .footer {
    margin-top: 1.1rem;
  }
  .footer-copyright {
    font-size: 0.6rem;
    padding: 0 1rem;
    line-height: 1rem;
  }
  /* ---------Co-workers page--------- */
  .co-worker--input {
    font-size: 0.8rem;
    margin: 0.8rem 0;
  }
  .co-worker--btn {
    font-size: 0.8rem;
  }
  /* --------news and articles */
  .news-message {
    font-size: 1rem;
  }
}
