.banner-section {
  padding: 10px 32px;
  position: relative;
}

.banner {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: 24px;
  cursor: pointer;
  position: relative;
}

.copyright-banner {
  position: absolute;
  top: 20%;
  right: 10%;
  display: flex;
  flex-direction: column;
}

.one-title {
  font-size: 52px;
  font-weight: 700;
  color: #282627;
}

.two-title {
  font-size: 62px;
  font-weight: 700;
  color: #282627;
}

.three-title {
  font-size: 28px;
  color: #282627;
}

@media (max-width: 1000px) {
  .copyright-banner {
    top: 5%;
    right: 5%;
  }
  .one-title {
    font-size: 18px;
  }

  .two-title {
    font-size: 20px;
  }

  .three-title {
    font-size: 12px;
  }
}

/* انیمیشن‌ها */
@keyframes slideFromTop {
  from {
    opacity: 0;
    transform: translateY(-60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFromBottom {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* اعمال انیمیشن‌ها */
.one-title {
  animation: slideFromTop 0.7s ease forwards;
}

.two-title {
  animation: slideFromBottom 0.7s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.three-title {
  animation: slideFromBottom 0.7s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.banner-btn {
  animation: slideFromLeft 0.7s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.banner-btn {
  border-radius: 18px;
  padding: 2px 12px;
  color: white;
  border: 1px solid #5a5a5a;
  background: linear-gradient(90deg, #353535 0%, #565253 100%);
  box-shadow: 0 5px 15px 0 #e26900;
  width: fit-content;
  margin-top: 20px;
}

.banner-ad {
  cursor: pointer;
}

@media (max-width: 768px) {
  .banner-ad {
    padding: 0;
  }
}

.banner-ad img,
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/* About Section */

.about-section {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.about-overview {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

@media (max-width: 768px) {
  .banner-section {
    padding: 10px 8px;
  }
  .overview-img {
    order: 1;
  }

  .overview-text {
    order: 2;
  }
}

.overview-img {
  flex: 1 1 415px;
}

.overview-img .main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.2);
}

.overview-text {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.overview-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.overview-head > span {
  flex-shrink: 0;
}

.overview-head > div:nth-child(2),
.overview-head > div:nth-child(3) {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.overview-head .head-title {
  color: var(--itvet-ir-scorpion, var(--color-grey-34, #565656));
  font-size: 28px;
  font-style: normal;
  font-weight: var(--font-weight-400, 400);
  line-height: var(--line-height-30, 30px); /* 107.143% */
}

.overview-head .head-second-title {
  color: var(--itvet-ir-buttercup, var(--color-orange-54, #fbae17));
  font-size: var(--font-size-34, 34px);
  font-style: normal;
  font-weight: var(--font-weight-900, 900);
  line-height: var(--font-size-51, 51px); /* 150% */
  position: relative;
}
.overview-head .head-second-title span {
  color: var(--blue-700, #005cfd);
  font-size: 38px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.overview-description {
  margin-top: 8px;
  color: var(--itvet-ir-shark, var(--color-azure-15, #212529));
  text-align: justify;
  font-size: var(--font-size-14, 14px);
  font-style: normal;
  font-weight: var(--font-weight-400, 400);
  line-height: var(--font-size-34, 34px); /* 242.857% */
}

.overview-actions {
  margin-top: 8px;
  color: var(--itvet-ir-buttercup, var(--color-orange-54, #fbae17));
  text-align: right;

  /* itvet.ir/Semantic/Link */
  /* font-family: var(--font-family-Font-1, KalamehWeb); */
  font-size: var(--font-size-14, 14px);
  font-style: normal;
  font-weight: var(--font-weight-700, 700);
  line-height: var(--line-height-21, 21px); /* 150% */
  cursor: pointer;
}

.products-view-btn {
  padding: 9px 16px;
  text-align: center;
  border-radius: 11px;
  background: linear-gradient(180deg, #0b42ba 0%, #0d55f6 70%, #208cfa 100%);
  background-size: 100% 100%;
  background-position: bottom;
  border-radius: 12px;
  box-shadow:
    0 2px 2px 0 rgba(32, 140, 250, 0.12),
    0 6px 8px -2px rgba(13, 85, 246, 0.34);
  color: #cfebfe;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  transition: all 240ms linear;
  cursor: pointer;
}

.products-view-btn:hover {
  background-size: 100% 250%;
}

.contact-us-btn {
  min-width: 123px;
  text-align: center;
  padding: 9px 24px;
  border-radius: 11px;
  background: linear-gradient(180deg, #f0f4f9 0%, #dce0ec 100%);
  box-shadow: 0 2px 8px 0 rgba(255, 255, 255, 0.48) inset;
  color: #838597;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
}

.about-status {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0 48px;
}

.status-intro {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-intro-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-intro-title-name {
  color: var(--grey-950, #28282f);
  font-size: 38px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.status-intro-title-name-blue {
  color: var(--blue-700, #005cfd);
  font-size: 38px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.status-intro-description {
  color: var(--grey-500, #66687a);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 187.5% */
}

.status-charts {
  flex: 1 1 400px;
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 620px) {
  .status-charts {
    flex-direction: column;
  }
}

.chart-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.chart-number {
  color: var(--blue-700, #005cfd);
  font-feature-settings:
    "ss01" on,
    "ss07" on;
  direction: ltr;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.chart-title {
  color: var(--grey-600, #5b5d6e);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

/* About Section */

.about-me-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-me-title {
  color: #fff;
  font-size: 16px;
  background: #f5bb0f;
  padding: 12px 15px;
  border-radius: 16px;
}

.about-me-editor {
  display: flex;
  flex-direction: column;
  gap: 16px;

  box-shadow: 0 1px 25px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  padding: 24px;
  border-radius: 16px;

  color: var(--itvet-ir-shark, var(--color-azure-15, #212529));
  text-align: right;

  /* itvet.ir/Kalameh/Regular */
  font-family: var(--font-family-Font-1, KalamehWeb);
  font-size: var(--font-size-14, 14px);
  font-style: normal;
  font-weight: var(--font-weight-400, 400);
  line-height: var(--font-size-34, 34px); /* 242.857% */
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.work-card-title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 80px;
  height: 80px;
}
.work-card-img img {
  width: 100%;
  height: 100%;
}

.section-courses {
  padding: 40px 20px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Header row */
.section-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  color: #222;
}

.btn-see-all-btn {
  padding: 9px 24px;
  width: 100%;
  text-align: right;
}

.btn-see-all {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  overflow-y: hidden;
  height: 45px;
  z-index: 500;
  gap: 6px;
  /* background: linear-gradient(90deg, #f29d1c 0%, #fbc048 100%); */
  background: #fbc048;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(242, 157, 29, 0.5);
  cursor: pointer;
  font-family: "KalamehWeb", sans-serif;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 8px center;
  background-size: 20px;
  text-align: center;
  transition: all 240ms ease-in-out;
}

.btn-see-all::-webkit-scrollbar {
  width: 2px;
  border-radius: 999px;
}

.btn-see-all::-webkit-scrollbar-thumb {
  background-color: var(--grey-200, #cdd3e6);
  border-radius: 999px;
}

.btn-see-all::-webkit-scrollbar-thumb:hover {
  background-color: var(--grey-400, #8692b4);
}

.btn-see-all.open {
  height: fit-content;
  max-height: 220px;
  overflow-y: auto;
  transition: all 240ms ease-in-out;
}

.btn-see-all:hover {
  box-shadow: 0 4px 12px rgba(242, 157, 29, 0.7);
  transform: translateY(-2px);
}

/* Button Register Course */
.btn-register-course {
  width: fit-content;
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(90deg, #f29d1c 0%, #fbc048 100%);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(242, 157, 29, 0.5);
  cursor: pointer;
  font-family: "KalamehWeb", sans-serif;
  white-space: nowrap;
}

.btn-register-course:hover {
  box-shadow: 0 4px 12px rgba(242, 157, 29, 0.7);
  transform: translateY(-2px);
  background: linear-gradient(90deg, #e8931b 0%, #f5b933 100%);
}

.btn-register-course:active {
  transform: translateY(0);
}

/* Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
.course-card {
  background: #fff;
  border-radius: 18px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
}

/* Image area */
.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.card-img-wrap img.course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.course-card:hover .card-img-wrap img.course-img {
  transform: scale(1.06);
}

/* Icon badge on image */
.course-icon-badge {
  position: absolute;
  bottom: -22px;
  right: 16px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f5c518;
  border: 3px solid #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.course-icon-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Card body */
.card-body {
  padding: 32px 16px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.7;
  text-align: center;
}

.card-short {
  font-size: 12px;
  color: #888;
  line-height: 1.8;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price & date row */
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
}

.card-price {
  font-size: 13px;
  font-weight: 700;
  color: #444;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}

.card-price:hover {
  color: #f29d1c;
}

.card-price[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 125%;
  right: 50%;
  transform: translateX(50%);
  background: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-price[title]:hover::before {
  content: "";
  position: absolute;
  bottom: 115%;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #333;
  z-index: 1000;
  pointer-events: none;
}

.card-date {
  font-size: 12px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-date i {
  font-size: 11px;
}

/* Register button */
.card-register {
  margin: 0 auto;
  width: fit-content;
  display: inline-block;
  text-align: center;
  padding: 13px;
  background: #f5c518;
  color: #222;
  text-decoration: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 800;
  transition: background 0.2s;
  margin-top: 8px;
}

.card-register:hover {
  background: #e0b200;
}

.page-wrapper {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
}

/* ===== ARTICLE CARD ===== */
.article-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  margin-bottom: 30px;
}

/* Title bar */
.article-title-bar {
  background: #eaeaea;
  padding: 20px 24px 10px;
  border-bottom: 1px solid #f0f0f0;
}

.article-title-bar h1 {
  font-size: 18px;
  font-weight: 800;
  color: #222;
  line-height: 1.7;
  text-align: center;
}

/* Meta bar */
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 24px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.meta-item {
  font-size: 13px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 5px;
}

.meta-item a {
  text-decoration: none;
}

.meta-likes {
display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    padding: 2px 14px;
    font-size: 14px;
}

.meta-likes a {
  color: #555;
  text-decoration: none;
  font-size: 16px;
}
.sp-green {
  color: #27ae60;
  font-weight: 700;
  font-size: 24px;
}
.sp-red {
  color: #e74c3c;
  font-weight: 700;
  font-size: 24px;
}
.sep {
  color: #ccc;
}

/* Breadcrumb */
.breadcrumb-bar {
  padding: 8px 24px 12px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.breadcrumb {
  list-style: none;
  display: flex;
  gap: 6px;
  font-size: 13px;
  color: #888;
}

.breadcrumb li::after {
  content: "/";
  margin-right: 6px;
  color: #ccc;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: #1a8fc1;
  text-decoration: none;
}

/* Hero image */
.article-hero {
  text-align: center;
  padding: 24px;
  background: #fff;
}

.article-hero img {
  max-width: 100%;
  border-radius: 10px;
}

/* Content */
.article-content {
  padding: 24px;
  background: #fff;
  line-height: 2;
  font-size: 14px;
  text-align: justify;
}

.article-content p {
  margin-bottom: 16px;
}

.article-content h2 {
  font-size: 17px;
  font-weight: 800;
  color: #236fa1;
  margin: 24px 0 14px;
}

.article-content h3 {
  font-size: 15px;
  font-weight: 800;
  color: #236fa1;
  margin: 20px 0 12px;
}

.article-content a {
  color: #e03e2d;
  font-weight: 700;
  text-decoration: none;
}

/* Numbered list */
.numbered-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.numbered-list li {
  position: relative;
  padding-right: 50px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.9;
}

.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: pink;
  color: red;
  font-weight: 700;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 0;
  top: 2px;
  font-size: 13px;
}

/* Info box */
.info-box {
  background: #fffaf7;
  border: 1px solid #f8d4c1;
  border-radius: 12px;
  padding: 20px;
  max-width: 700px;
  margin: 20px auto;
  direction: rtl;
}

.info-box h2 {
  color: #d46b6b;
  text-align: center;
  font-size: 16px;
  margin-bottom: 14px;
}

.info-box-list {
  list-style: none;
  padding: 0;
}

.info-box-list li {
  background: #ffece6;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.8;
}

.info-box-note {
  font-size: 14px;
  margin-top: 14px;
  color: #555;
}

/* Table */
.article-table {
  border-collapse: collapse;
  width: 100%;
  direction: rtl;
  font-family: KalameWeb, Arial, sans-serif;
  margin: 16px 0;
  font-size: 14px;
}

.article-table thead tr {
  background-color: #ffe6f0;
  color: #b30000;
}

.article-table th {
  padding: 12px;
  text-align: center;
  border: 1px solid #f5c1d1;
}

.article-table tbody tr:nth-child(odd) {
  background: #fff9fb;
}
.article-table tbody tr:nth-child(even) {
  background: #ffeef5;
}

.article-table td {
  padding: 12px;
  border: 1px solid #f5c1d1;
  text-align: center;
  vertical-align: middle;
}

.t-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: pink;
  color: red;
  font-weight: 700;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 13px;
}

/* Related */
.related-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.related-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

/* Comment section */
.comment-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: 24px;
  margin-bottom: 30px;
}

.comment-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.form-group label {
  width: 100px;
  font-size: 13px;
  color: #555;
  flex-shrink: 0;
}

.form-group input,
.form-group textarea {
  flex: 1;
  min-width: 200px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 9px 12px;
  font-family: KalameWeb, sans-serif;
  font-size: 13px;
  color: #333;
  outline: none;
  transition: border 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1a8fc1;
}

.form-group textarea {
  height: 90px;
  resize: vertical;
}

.btn-submit {
  display: block;
  margin: 0 auto;
  padding: 10px 30px;
  background: #17a2b8;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  font-family: KalameWeb, sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #138496;
}

.article-content img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
  margin: 16px auto;
}

.container-width {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
}

/* Top row: title+status+short / image */
.top-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 32px 0;
}

.cn-left-d-course {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
}

.cn-left-d-course h1 {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  line-height: 1.8;
}

.cn-left-d-course span {
  font-size: 14px;
  color: #555;
}

.cn-left-d-course div {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}

.course-image {
  flex-shrink: 0;
  width: 340px;
}

.course-image img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

@media (max-width: 768px) {
  .top-row {
    flex-direction: column-reverse;
  }
  .course-image {
    width: 100%;
  }
}

/* Content area */
.content-d-course {
  font-size: 14px;
  line-height: 2.2;
  color: #333;
  text-align: right;
}

.content-d-course p {
  margin-bottom: 10px;
}