.elementor-27123 .elementor-element.elementor-element-2b852c6{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-27123 .elementor-element.elementor-element-88a8df7{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-27123 .elementor-element.elementor-element-ab16477{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-27123 .elementor-element.elementor-element-ba2fc6a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-27123 .elementor-element.elementor-element-dcebb6c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS *//* ====== اگر پلاگین فونت نصب نکرده، از @font-face استفاده کن:
   جای مسیر با مسیر واقعی فایل فونت .woff2 در هاست/وردپرس خودت عوض کن.
   اگر Use Any Font استفاده می‌کنی و پلاگین @font-face اضافه کرده، این رو حذف کن. ====== */
/*
@font-face {
  font-family: "vazir";
  src: url("/wp-content/uploads/yourfonts/vazir.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
*/

/* پایه‌ها */
:root{
  --hero-bg: #0B3D91;
  --accent: #FFC857;
  --muted: #E6F7F7;
  --text: #ffffff;
  --shadow: 0 6px 16px rgba(0,0,0,0.25);
  --radius: 18px;
  --max-width: 1000px;
}

/* بخش اصلی */
.hero{
  max-width: var(--max-width);
  margin: 40px auto;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--hero-bg);
  color: var(--text);
  font-family: "vazir", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  box-shadow: var(--shadow);
  box-sizing: border-box;
}

/* Header */
.hero__header{
  text-align: center;
  margin-bottom: 18px;
}

.hero__welcome{
  color: #fff6; /* subtle */
  margin: 0;
  font-weight: 600;
}

.hero__brand{
  color: var(--accent);
  font-weight: 700;
}

.hero__h1{
  color: #fff;
  margin: 6px 0 0;
  font-size: 1.6rem;
  font-weight: 700;
}

.hero__h2{
  color: var(--accent);
  margin: 6px 0 0;
  font-size: 1.25rem;
}

/* Media block (image + name) */
.hero__media{
  text-align: center;
  margin: 18px 0 20px;
}

.hero__image{
  width: 400px;        /* default */
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: inline-block;
}

/* Name under image */
.hero__name{
  margin-top: 15px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.hero__sub{
  font-size: 1rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Copy / paragraphs */
.hero__copy{
  text-align: justify;
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

/* responsive: on wider screens slightly smaller image so layout looks balanced */
@media (min-width: 768px) {
  .hero__image {
    width: 360px; /* replaced previous inline !important */
  }

  /* optionally make hero into two-column if you want */
  /* .hero { display: grid; grid-template-columns: 1fr 420px; gap: 24px; } */
}

/* ---------- فونت ---------- */
/* اگه پلاگین Use Any Font داری، همین "vazir" یا هرچی نام‌گذاری کردی بذار */
body, .hero, .homepage-card {
  font-family: "vazir", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- پایه‌ی رنگ و سایه ---------- */
:root {
  --radius: 18px;
  --shadow: 0 6px 16px rgba(0,0,0,0.25);
  --color-accent: #FFC857;
  --color-light: #E6F7F7;
  --color-dark: #0B3D91;
}

/* ---------- کارت اصلی ---------- */
.homepage-card {
  direction: rtl;
  text-align: right;
  background: linear-gradient(135deg, #E6654C, #8C2C1A);
  color: #fff;
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin: 20px auto;
  line-height: 1.8;
  max-width: 1000px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* ---------- پرچم گوشه ---------- */
.homepage-card__flag {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 120px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0 33%,
    rgba(221, 0, 0, 0.9) 33% 66%,
    rgba(255, 236, 0, 0.9) 66% 100%
  );
  filter: blur(4px) contrast(120%);
  opacity: 0.65;
  mix-blend-mode: multiply;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

/* ---------- عنوان‌ها ---------- */
.homepage-card__title {
  margin: 0 0 20px;
  font-size: 1.8rem;
  font-weight: 700;
}

.homepage-card__subtitle {
  margin: 20px 0 12px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

/* ---------- متن ---------- */
.homepage-card__text {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--color-light);
  text-align: justify;
}

/* ---------- لیست ---------- */
.homepage-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 1rem;
  color: var(--color-light);
}
.homepage-card__list li {
  margin-bottom: 6px;
}

/* ---------- دکمه ---------- */
.btn-primary {
  display: inline-block;
  text-align: center;
  background: var(--color-accent);
  color: #081012;
  padding: 16px 36px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease-in-out;
}
.btn-primary:hover {
  background: #ffd87a;
  transform: translateY(-3px);
}

/* ---------- دکمه در مرکز ---------- */
.homepage-card__cta {
  text-align: center;
  margin: 30px 0 10px;
}

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 768px) {
  .homepage-card {
    padding: 20px;
    font-size: 0.95rem;
  }
  .homepage-card__title {
    font-size: 1.4rem;
  }
  .homepage-card__subtitle {
    font-size: 1.1rem;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 14px 28px;
  }
}

/* ========= Pronunciation Section ========= */

.pron-section {
  text-align: center;
  margin: 40px auto;
  max-width: 1200px;
  font-family: "vazir", sans-serif;
}

.pron-section__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 54px;
  line-height: 1.6;
}

/* Cards layout */
.pron-section__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Base card style */
.pron-card {
  flex: 1 1 360px;
  color: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  text-align: right;
  direction: rtl;
  line-height: 1.6;
  box-sizing: border-box;
}

/* Card color themes */
.pron-card--blue {
  background: linear-gradient(160deg, #0f6ffb, #00c2bd);
}

.pron-card--red {
  background: linear-gradient(160deg, #ff2900, #ff0f58);
}

/* Content inside cards */
.pron-card__title {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 700;
}

.pron-card__desc,
.pron-card__note {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--color-light);
}

.pron-card__note {
  font-size: 0.9rem;
}

.pron-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.98rem;
  color: var(--color-light);
}
.pron-card__list li {
  margin-bottom: 6px;
}

/* CTA button (unified with homepage-card and hero) */
.pron-card__cta {
  text-align: center;
  margin-top: 20px;
}

.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #081012;
  padding: 14px 32px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: #ffd87a;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .pron-section__title {
    font-size: 1.4rem;
    margin-bottom: 36px;
  }
  .pron-card {
    flex: 1 1 100%;
  }
  .btn-primary {
    font-size: 1rem;
    padding: 12px 24px;
  }
}

/* ====== Pricing Section (Grid 2x2 like image) ====== */
.pricing-section {
  text-align: center;
  margin: 60px auto;
  max-width: 1000px;
  font-family: "vazir", sans-serif;
  direction: rtl;
}

.pricing-section__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 45px;
}

/* Grid: 2x2 desktop - 1xN mobile */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  justify-items: center;
}

.pricing-card {
  color: #fff;
  padding: 26px;
  border-radius: 18px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  text-align: center;
  line-height: 1.7;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* Background color themes */
.pricing-card--a1 {
  background: linear-gradient(160deg, #4d8df7, #3675e0);
}
.pricing-card--a2 {
  background: linear-gradient(160deg, #f56b58, #d44232);
}
.pricing-card--b1 {
  background: linear-gradient(160deg, #6dbd59, #3b9944);
}
.pricing-card--b2 {
  background: linear-gradient(160deg, #8b6df9, #6b4de0);
}

/* Text styles */
.pricing-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-card p {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #f0f9ff;
}

.price {
  margin-top: 10px;
  font-weight: 700;
  color: #ffde5a;
}

/* Unified button style */
.btn-primary,
.btn-register {
  display: inline-block;
  margin-top: 16px;
  background: #ffc857;
  color: #081012;
  padding: 12px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.btn-primary:hover,
.btn-register:hover {
  background: #ffe28a;
  transform: translateY(-3px);
}

/* Responsive fix for mobile */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pricing-section__title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }
  .pricing-card {
    max-width: 100%;
  }
}

/* ===== Courses Section (2x2 Grid) ===== */
.courses-section {
  text-align: center;
  margin: 60px auto;
  max-width: 1000px;
  font-family: "vazir", sans-serif;
  direction: rtl;
}

.courses-section .section-header {
  margin-bottom: 30px;
}

.courses-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.courses-title span {
  color: #ffc857;
}

.courses-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: #e6f7f7;
  line-height: 1.7;
  margin-bottom: 45px;
}

/* Grid layout 2x2 like pricing section */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  justify-items: center;
}

/* Base style for each card */
.course-card {
  background: #0b3d91;
  color: #fff;
  padding: 26px;
  border-radius: 18px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  text-align: right;
  line-height: 1.7;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* Background color variants */
.course-a1 {
  background: linear-gradient(160deg, #4d8df7, #3675e0);
}
.course-a2 {
  background: linear-gradient(160deg, #f56b58, #d44232);
}
.course-b1 {
  background: linear-gradient(160deg, #6dbd59, #3b9944);
}
.course-b2 {
  background: linear-gradient(160deg, #8b6df9, #6b4de0);
}

/* Text inside cards */
.course-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.course-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-card li {
  margin-bottom: 8px;
  font-size: 0.98rem;
  color: #f0f9ff;
}

/* Unified button (same as pricing section) */
.btn-primary {
  display: inline-block;
  margin-top: 36px;
  background: #ffc857;
  color: #081012;
  padding: 14px 38px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: #ffe28a;
  transform: translateY(-3px);
}

/* Centered button wrapper */
.login-btn-wrapper {
  margin-top: 50px;
  text-align: center;
}

/* Responsive mobile view */
@media (max-width: 768px) {
  .course-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .courses-title {
    font-size: 1.5rem;
  }
  .courses-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }
}/* End custom CSS */