
@font-face {
    font-family: 'byekan';
    src: url('../fonts/BYekan+.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'qoran';
    src: url('../fonts/qoran/QuranTaha.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'irannas';
    src: url('../fonts/irannas/IranNastaliq.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'irannas';
    src: url('../fonts/irannas/IranNastaliq.woff2') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'doran';
    src: url('../fonts/W doran.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'doran';
    src: url('../fonts/W doran.woff2') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Medium.html');
    src: url('../fonts/Oswald-Mediumd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-Medium-2.html') format('woff2'),
        url('../fonts/Oswald-Medium-3.html') format('woff'),
        url('../fonts/Oswald-Medium-4.html') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-MediumItalic.html');
    src: url('../fonts/Oswald-MediumItalicd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-MediumItalic-2.html') format('woff2'),
        url('../fonts/Oswald-MediumItalic-3.html') format('woff'),
        url('../fonts/Oswald-MediumItalic-4.html') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Bold.html');
    src: url('../fonts/Oswald-Boldd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-Bold-2.html') format('woff2'),
        url('../fonts/Oswald-Bold-3.html') format('woff'),
        url('../fonts/Oswald-Bold-4.html') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-HeavyItalic.html');
    src: url('../fonts/Oswald-HeavyItalicd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-HeavyItalic-2.html') format('woff2'),
        url('../fonts/Oswald-HeavyItalic-3.html') format('woff'),
        url('../fonts/Oswald-HeavyItalic-4.html') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Oswald Stencil';
    src: url('../fonts/OswaldStencil-Bold.html');
    src: url('../fonts/OswaldStencil-Boldd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/OswaldStencil-Bold-2.html') format('woff2'),
        url('../fonts/OswaldStencil-Bold-3.html') format('woff'),
        url('../fonts/OswaldStencil-Bold-4.html') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-RegularItalic.html');
    src: url('../fonts/Oswald-RegularItalicd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-RegularItalic-2.html') format('woff2'),
        url('../fonts/Oswald-RegularItalic-3.html') format('woff'),
        url('../fonts/Oswald-RegularItalic-4.html') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Demi-BoldItalic.html');
    src: url('../fonts/Oswald-Demi-BoldItalicd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-Demi-BoldItalic-2.html') format('woff2'),
        url('../fonts/Oswald-Demi-BoldItalic-3.html') format('woff'),
        url('../fonts/Oswald-Demi-BoldItalic-4.html') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Light.html');
    src: url('../fonts/Oswald-Lightd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-Light-2.html') format('woff2'),
        url('../fonts/Oswald-Light-3.html') format('woff'),
        url('../fonts/Oswald-Light-4.html') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-DemiBold.html');
    src: url('../fonts/Oswald-DemiBoldd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-DemiBold-2.html') format('woff2'),
        url('../fonts/Oswald-DemiBold-3.html') format('woff'),
        url('../fonts/Oswald-DemiBold-4.html') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-ExtraLight.html');
    src: url('../fonts/Oswald-ExtraLightd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-ExtraLight-2.html') format('woff2'),
        url('../fonts/Oswald-ExtraLight-3.html') format('woff'),
        url('../fonts/Oswald-ExtraLight-4.html') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Heavy.html');
    src: url('../fonts/Oswald-Heavyd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-Heavy-2.html') format('woff2'),
        url('../fonts/Oswald-Heavy-3.html') format('woff'),
        url('../fonts/Oswald-Heavy-4.html') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-BoldItalic.html');
    src: url('../fonts/Oswald-BoldItalicd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-BoldItalic-2.html') format('woff2'),
        url('../fonts/Oswald-BoldItalic-3.html') format('woff'),
        url('../fonts/Oswald-BoldItalic-4.html') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Regular.html');
    src: url('../fonts/Oswald-Regulard41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-Regular-2.html') format('woff2'),
        url('../fonts/Oswald-Regular-3.html') format('woff'),
        url('../fonts/Oswald-Regular-4.html') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-LightItalic.html');
    src: url('../fonts/Oswald-LightItalicd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-LightItalic-2.html') format('woff2'),
        url('../fonts/Oswald-LightItalic-3.html') format('woff'),
        url('../fonts/Oswald-LightItalic-4.html') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/Oswald-Extra-LightItalic.html');
    src: url('../fonts/Oswald-Extra-LightItalicd41d.html?#iefix') format('embedded-opentype'),
        url('../fonts/Oswald-Extra-LightItalic-2.html') format('woff2'),
        url('../fonts/Oswald-Extra-LightItalic-3.html') format('woff'),
        url('../fonts/Oswald-Extra-LightItalic-4.html') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');

@import url('https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700');

@import url('https://fonts.googleapis.com/css?family=Oswald:200,300,400,500,600,700');


/* Global properties ======================================================== */
a[href^="tel:"] { color: inherit; text-decoration: none;}
::selection{ background:#192a97!important; color:#fff}
::-moz-selection{ background:#192a97!important; color:#fff}

a{ color:rgb(29,159,138); text-decoration: underline; outline:none}
a:hover{ color:rgb(29,159,138); text-decoration: none; outline:none}

body{ background:#fff; border:0; color:#4c4c4c; min-width: 320px; font-size: 16px; line-height: 1.75; font-family: 'byekan', sans-serif;}

#main{margin: 0 auto; position: relative; overflow: hidden;}



/* === News slider look === */
.news-section { background: #eee; border-radius: 12px; }
.section_title h1 { font-weight: 800; color: #1d9f8a; }
.section_title .title-bar{
  content:"";
  position:absolute;
  top:50%; transform:translateY(-50%);
  right:-16px; width:10px; height:28px;
  background:rgb(29,159,138); border-radius:3px;
}

/* Swiper viewport */
.news-swiper { padding: 10px 10px 40px; }

/* گرید هر اسلاید: 1 بزرگ + 3 کوچک */
.news-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 190px;
  gap: 14px;
}
.news-card{
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
}
.news-card.featured{
  grid-row: 1 / span 2;
  grid-column: 1 / span 1;
}
.news-card.small{ grid-column: auto; grid-row: auto; }

.news-image{ position:relative; height:100%; }
.news-image img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition: transform .5s ease;
}
.news-card:hover .news-image img{ transform: scale(1.04); }

/* گرادینت عنوان پایین کارت */
.news-overlay{
  position:absolute; inset:auto 0 0 0; padding:16px;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0, rgba(0,0,0,.35) 50%, rgba(0,0,0,0) 100%);
  color:#fff;
}
.news-title{
  margin:0 0 6px 0; color:#fff;
  font-weight:700; line-height:1.4;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
  display:-webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow:hidden;
}
.news-card.featured .news-title{ font-size:20px; -webkit-line-clamp: 3; }
.news-card.small .news-title{ font-size:16px; }

.news-meta{
  font-size:12px; opacity:.95; display:flex; gap:8px; align-items:center;
}
.news-meta i{ color:#ffd479; }

/* کنترل‌های Swiper */
.news-section .swiper-button-next,
.news-section .swiper-button-prev{
  width:38px; height:38px; border-radius:50%;
  background: rgba(0,0,0,.35);
}
.news-section .swiper-button-next:hover,
.news-section .swiper-button-prev:hover{ background:rgb(29,159,138); }
.news-section .swiper-button-next:after,
.news-section .swiper-button-prev:after{ font-size:16px; color:#fff; }
.news-section .swiper-pagination-bullet{ background:#fff; opacity:.5; }
.news-section .swiper-pagination-bullet-active{ background:rgb(29,159,138); opacity:1; }

/* ریسپانسیو */
@media (max-width: 1199.98px){
  .news-grid{ grid-template-columns: 1.1fr 1fr; grid-auto-rows: 180px; }
}
@media (max-width: 991.98px){
  .news-grid{ grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .news-card.featured{ grid-row: auto; }
}
@media (max-width: 575.98px){
  .news-grid{ gap: 10px; grid-auto-rows: 190px; }
  .news-card.small .news-title{ font-size:15px; }
}


/* 🔹 بخش معرفی */
.about-section {
  background-color: #fff;
  color: #222;
  font-family: 'BYekan', sans-serif;
  direction: rtl; /* راست‌چین کل بخش */
}

/* عنوان سکشن */
.section-title {
  position: relative;
  font-weight: 800;
  font-size: 1.8rem;
  color: rgb(29,159,138);
  display: inline-block;
  padding-right: 10px;
}
.section-title .title-bar {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 28px;
  background-color: rgb(29,159,138);
  border-radius: 3px;
}

/* متن */
.about-text {
  font-size: 1rem;
  line-height: 2;
  color: #333;
  text-align: justify;
}

/* ویدیو */
.video-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #000;
}

/* واکنش‌گرا */
@media (max-width: 991.98px){
  .section-title { font-size: 1.5rem; }
  .about-text { font-size: .95rem; }
}

/* 🔹 واکنش‌گرا */
@media (max-width: 991.98px){
  .section-title {
    font-size: 1.5rem;
  }
  .about-text {
    font-size: .95rem;
  }
  .video-wrapper {
    max-width: 100%;
  }
}
.static_title h2{ color: #FFFFFF; border-right: 20px solid rgb(29,159,138); text-align: center; font-size: 30px; font-weight: bold; margin: 50px; display: inline-block; padding-right: 10px; } .counter_box{ margin-bottom: 90px; } .counter_box h2{ color: #FFFFFF; text-align: center; margin: 40px; } .counter-value{ color: #FFFFFF; text-align: center; margin: 40px; } .statistic{ margin: 90px; }

.footer{ background-color: rgb(76,76,76); color: #FFFFFF; } .footer_title{ margin-top: 40px; text-align: center; } .footer_title h2{ color: #FFFFFF; border-right: 20px solid rgb(29,159,138); text-align: center; font-weight: bold; margin: 50px; display: inline-block; padding-right: 10px; } .footer_list ul li{ list-style: none; margin: 20px; text-align: right; } .footer_list ul li a{ color: #FFFFFF; } .contact_info{ margin: 40px; } .contact_info i{ color: rgb(29,159,138); } .phonenumbers p { border-right: 2px solid rgb(29,159,138); padding: 5px; } .amoozesh_title h2{ color: black; border-right: 20px solid rgb(29,159,138); text-align: center; font-size: 30px; font-weight: bold; margin: 50px; display: inline-block; padding-right: 10px; } .card{ text-align: right; } .btn_more_news{ background:rgb(29,159,138); color: #FFFFFF; margin: 20px; } .top_wrapper_other_page{ padding-bottom: 200px; } .page_title h1{ color: black; border-right: 20px solid rgb(29,159,138); text-align: center; font-size: 30px; font-weight: bold; margin: 20px; display: inline-block; padding-right: 10px; } .image_single_post img{ border-bottom: 1px dotted #192a97; margin: 20px; padding-bottom: 40px; } .single_post_title h1{ color: black; border-right: 20px solid rgb(29,159,138); text-align: right; font-size: 30px; font-weight: bold; margin: 20px; display: inline-block; padding-right: 10px; } .post_date i{ color: rgb(29,159,138); } .post_excerpt{ border-right: 10px solid rgb(29,159,138); border-bottom: 1px dotted #000000; border-top: 1px dotted #000000; border-left: 1px dotted #000000; margin: 20px; padding: 20px 10px 20px 20px; text-align: right; direction: rtl; } .social-wrapper .social li a { text-align: left; } .social-wrapper .social li a img { text-align: left; padding:0px; } .nav-link{ color: #FFFFFF !important; } .nav-item{ margin: 0px 10px; }



.ribbon-features {
  position: relative;
  overflow: hidden;
  --main: rgb(29,159,138);
  --light: rgb(66,190,168);
  --text: #fff;
}

.wave {
  position: absolute;
  left: 0; right: 0;
  width: 100%;
  pointer-events: none;
}
.wave-top   { top: 0; transform: translateY(-1px); }
.wave-bottom{ bottom: 0; transform: translateY(1px) rotate(180deg); }
.wave svg { display: block; width: 100%; height: 90px; }

.ribbon-body {
  background: linear-gradient(180deg, var(--light) 0%, var(--main) 100%);
  padding: 56px 0;
}

.container { width: min(1200px, 92%); margin: 0 auto; }

.ribbon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 2vw, 22px);
  text-align: center;
}

.ribbon-list li a {
  color: var(--text);
  text-decoration: none;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 26px 10px;
  border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  background-color: rgba(255,255,255,0.05);
}

.ribbon-list li a:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
  background-color: rgba(255,255,255,0.1);
}

.ribbon-list i {
  font-size: clamp(34px, 4vw, 50px);
}

.ribbon-list span {
  font-family: 'BYekan', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
}

/* واکنش‌گرا */
@media (max-width: 1200px) {
  .ribbon-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .ribbon-list { grid-template-columns: repeat(2, 1fr); }
  .ribbon-body { padding: 44px 0; }
}
@media (max-width: 380px) {
  .ribbon-list { grid-template-columns: 1fr; }
}


/* --- Single Post Layout --- */
.single-main { background:#fff; }

.single-top img {
  border-radius: 20px;
  transition: transform .4s ease;
}
.single-top img:hover {
  transform: scale(1.05);
}

.single-summary .post-title {
  color: rgb(29,159,138);
  line-height: 1.4;
  font-size: clamp(22px, 2.8vw, 34px);
}

.single-summary .lead {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
}

.single-article {
  background:#fff;
  border-radius:20px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* --- محتوای پست راست‌چین --- */
.post-content {
  direction: rtl;
  text-align: right;
  line-height: 2;
  color: #222;
  font-size: 1.05rem;
  font-family: 'BYekan', sans-serif;
}

/* پاراگراف‌ها */
.post-content p {
  margin-bottom: 1.2rem;
}

/* تیترهای داخلی (h2, h3, h4...) */
.post-content h2,
.post-content h3,
.post-content h4 {
  color: rgb(29,159,138);
  font-weight: 700;
  margin: 1.8rem 0 1rem;
  text-align: right;
}

/* لیست‌ها */
.post-content ul,
.post-content ol {
  padding-right: 1.5rem;
  margin-bottom: 1.2rem;
}
.post-content ul li,
.post-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.9;
}

/* نقل‌قول‌ها */
.post-content blockquote {
  border-right: 4px solid rgb(29,159,138);
  padding-right: 1rem;
  margin: 1.5rem 0;
  color: #555;
  font-style: italic;
  background: rgba(29,159,138,0.05);
  border-radius: 6px;
}

/* تصاویر داخل محتوا */
.post-content img {
  display: block;
  margin: 1.5rem auto;
  border-radius: 12px;
  max-width: 100%;
  height: auto;
}

/* لینک‌ها */
.post-content a {
  color: rgb(29,159,138);
  text-decoration: underline;
  transition: color .2s ease;
}
.post-content a:hover {
  color: #1a7e6e;
}

.post-tags a {
  background:rgba(29,159,138,0.08);
  color:rgb(29,159,138);
  padding:6px 12px;
  border-radius:10px;
  font-size:14px;
  margin-left:4px;
  text-decoration:none;
  display:inline-block;
  transition:all .2s ease;
}
.post-tags a:hover {
  background:rgb(29,159,138);
  color:#fff;
}

.related-posts h3.text-brand {
  color:rgb(29,159,138);
}

.related-posts .card img {
  border-top-left-radius:12px;
  border-top-right-radius:12px;
  transition:transform .3s ease;
}
.related-posts .card:hover img {
  transform:scale(1.05);
}

/* واکنش‌گرا */
@media (max-width: 767.98px) {
  .single-top {
    flex-direction: column-reverse;
    text-align: center;
  }
  .single-summary {
    padding: 0 !important;
  }
  .single-summary .post-title {
    margin-top: 1rem;
  }
}



.h_iframe-aparat_embed_frame{position:relative;}.h_iframe-aparat_embed_frame .ratio{display:block;width:100%;height:auto;}.h_iframe-aparat_embed_frame iframe{position:absolute;top:0;left:0;width:100%;height:100%;}



:root{
  --brand: rgb(29,159,138);
}

.teachers-section { background: #f7f7f7; }
.section-title { color: #222; }
.title-underline{
  width: 120px; height: 4px; background: var(--brand);
  border-radius: 2px; margin-top: .5rem;
}

/* کارت استاد */
.teacher-card { position: relative; overflow: hidden; border-radius: 16px; }
.teacher-figure { position: relative; margin: 0; }
.teacher-photo {
  display: block; width: 100%; height: 320px; object-fit: cover;
  transition: transform .5s ease;
}
.teacher-card:hover .teacher-photo { transform: scale(1.06); }

/* اوورلی هاور */
.teacher-overlay{
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: .75rem;
  background: linear-gradient(0deg, rgba(0,0,0,.65), rgba(0,0,0,.25));
  opacity: 0; transition: opacity .35s ease;
  padding: 1rem;
}
.teacher-card:hover .teacher-overlay{ opacity: 1; }

.teacher-name{
  color: #fff; font-size: 1.15rem; font-weight: 800; margin: 0;
  border-bottom: 3px solid var(--brand); padding-bottom: .35rem;
  display: inline-block;
}

.teacher-btn{
  background: var(--brand); color: #fff; font-weight: 700;
  padding: .45rem 1rem; border-radius: 999px; text-decoration: none;
  transition: transform .15s ease, filter .2s ease;
}
.teacher-btn:hover{ filter: brightness(1.05); transform: translateY(-1px); }

/* Owl spacing */
#teachers-carousel .owl-stage { display: flex; }
#teachers-carousel .owl-item { padding: 8px; }


.navbar-nav {
  align-items: center;
}

/* منو در حالت ریسپانسیو راست‌چین شود */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: right !important;
    align-items: flex-start !important;
  }
  .navbar-nav .nav-item {
    width: 100%;
  }
  .navbar-nav .nav-link {
    display: block;
    padding-right: 1rem;
    text-align: right !important;
  }
  .navbar-collapse {
    justify-content: flex-end !important;
  }
}