html,
body,
input,
button,
select {
  font-family: var(--dip-font-main);
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* =========================
   Diploma Typography System
========================= */
:root {
  --dip-font-main: "Open Sans", Arial, Helvetica, sans-serif;
  --dip-h1-size: clamp(34px, 4.2vw, 60px);
  --dip-h2-size: clamp(30px, 3.2vw, 40px);
  --dip-h3-size: 22px;
  --dip-p-size: 18px;
  --dip-small-size: 15px;
  --dip-button-size: 16px;
  --dip-kicker-size: 18px;
  --dip-line-height-title: 1.2;
  --dip-line-height-text: 1.45;
}

@media (max-width: 768px) {
  :root {
    --dip-h1-size: 34px;
    --dip-h2-size: 28px;
    --dip-h3-size: 20px;
    --dip-p-size: 15.5px;
    --dip-small-size: 14px;
    --dip-button-size: 15px;
    --dip-kicker-size: 16px;
  }
}

html,
body,
input,
button,
select {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}



/* =========================
   Cookie + Fixed Diploma Header + Menu
========================= */

:root {
  --diploma-cookie-height: 70px;
  --diploma-header-height: 132px;
}

body {
  padding-top: calc(var(--diploma-cookie-height) + var(--diploma-header-height)) !important;
}

body.diploma-cookie-closed {
  padding-top: var(--diploma-header-height) !important;
}

/* Cookie */
.cookie-notice {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 1000001 !important;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e3d7e7;
  padding: 12px 24px;
  box-sizing: border-box;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  direction: rtl;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 46px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  color: #000000;
  font-size: 15px;
  line-height: 1.55;
  text-align: right;
}

.cookie-content p {
  margin: 0;
}

.cookie-content a {
  color: #831c1d;
  text-decoration: underline;
  font-weight: 700;
}

.cookie-content a:hover {
  color: #675fa0;
}

.cookie-info-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1px solid #831c1d;
  color: #831c1d;
  background: #fff7fb;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

.cookie-close {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #000000;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-close:hover {
  color: #831c1d;
  opacity: 0.85;
}

/* Header wrapper */
#header {
  position: fixed !important;
  top: var(--diploma-cookie-height) !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000000 !important;
  background: #ffffff !important;
}

body.diploma-cookie-closed #header {
  top: 0 !important;
}

.diploma-new-header,
.diploma-main-nav,
.cellular {
  width: 100%;
  position: relative;
  z-index: 1000000;
  background: #ffffff;
}

/* Desktop menu */
.diploma-main-nav,
.diploma-main-nav * {
  box-sizing: border-box;
  font-family: var(--dip-font-main);
}

.diploma-main-nav {
  display: block;
  background: #ffffff;
  direction: rtl;
  overflow: visible;
  box-shadow: 0 10px 24px rgba(10, 15, 45, 0.08);
}

.diploma-main-menu {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
  list-style: none;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.diploma-main-menu li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.diploma-main-menu > li > a {
  min-height: 50px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: var(--dip-small-size);
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.diploma-main-menu > li:hover > a,
.diploma-main-menu > li:focus-within > a {
  background: #831c1d;
  color: #ffffff;
}

.diploma-main-menu ul {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 260px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(131, 28, 29, 0.18);
  border-top: 4px solid #675fa0;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 42px rgba(10, 15, 45, 0.16);
  z-index: 1000002;
}

.diploma-main-menu li:hover > ul,
.diploma-main-menu li:focus-within > ul {
  display: block;
}

.diploma-main-menu ul a {
  display: block;
  padding: 11px 18px;
  color: #000000;
  background: #ffffff;
  font-size: var(--dip-small-size);
  font-weight: 600;
  line-height: 1.45;
  text-align: right;
  text-decoration: none;
  white-space: normal;
}

.diploma-main-menu ul a:hover,
.diploma-main-menu ul a:focus {
  background: #e8e6f4;
  color: #000000;
}

/* Mobile menu */
.cellular {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --diploma-cookie-height: 92px;
    --diploma-header-height: 124px;
  }

  .cookie-notice {
    padding: 10px 16px;
  }

  .cookie-content {
    padding-left: 34px;
    font-size: 13px;
    line-height: 1.45;
    justify-content: flex-start;
  }

  .cookie-close {
    left: 10px;
    font-size: 26px;
    width: 26px;
    height: 26px;
  }

  .diploma-main-nav {
    display: none !important;
  }

  .cellular {
    display: block !important;
    background: #ffffff !important;
    direction: rtl !important;
  }

  .mobile-menu-toggle {
    width: 100% !important;
    min-height: 50px !important;
    padding: 0 20px !important;
    border: 0 !important;
    background: #831c1d !important;
    color: #ffffff !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    font-family: var(--dip-font-main) !important;
  }

  .mobile-menu-text {
    font-size: 16px !important;
    font-weight: 800 !important;
  }

  .mobile-menu-arrow {
    width: 14px !important;
    height: 14px !important;
    border-right: 3px solid #ffffff !important;
    border-bottom: 3px solid #ffffff !important;
    transform: rotate(45deg) !important;
    transition: transform 0.28s ease !important;
  }

  body.diploma-mobile-menu-open .mobile-menu-arrow {
    transform: rotate(225deg) !important;
  }

  .cell_menu {
    width: 100% !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    background: #ffffff !important;
    transition: max-height 0.35s ease, opacity 0.25s ease !important;
  }

  body.diploma-mobile-menu-open .cell_menu {
    max-height: 700px !important;
    opacity: 1 !important;
  }

  .cell_menu ul,
  .cell_menu li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
  }

  .cell_menu a {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 10px 22px !important;
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: right !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(131, 28, 29, 0.12) !important;
  }

  .cell_menu a:hover,
  .cell_menu a:focus {
    background: #e8e6f4 !important;
    color: #831c1d !important;
  }
}


.hero {
  width: 100%;
  direction: rtl;
  padding: 92px 38px;
  background:
    radial-gradient(
      circle at 12% 15%,
      rgba(118, 118, 118, 0.08),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 20%,
      rgba(236, 0, 140, 0.10),
      transparent 32%
    ),
    linear-gradient(
      to left,
      rgba(18, 10, 22, 0.78) 0%,
      rgba(18, 10, 22, 0.64) 28%,
      rgba(18, 10, 22, 0.36) 52%,
      rgba(18, 10, 22, 0.08) 72%,
      rgba(18, 10, 22, 0) 88%
    ),
    url("/diploma/images/index/homepage.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: var(--dip-font-main);
  box-sizing: border-box;
}

.hero .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  text-align: right;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  color: #ffffff;
  font-size: var(--dip-kicker-size);
  font-weight: 700;
}

.line-main,
.line-accent {
  display: inline-block;
  height: 3px;
  border-radius: 8px;
}

.line-main {
  width: 34px;
  background: #831c1d;
}

.line-accent {
  width: 18px;
  background: #675fa0;
}

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: var(--dip-h1-size);
  font-weight: 700;
  line-height: var(--dip-line-height-title);
}

.hero h1 span {
  display: block;
}

.hero-brand {
  color: #675fa0;
}

.hero-copy p {
  max-width: 650px;
  margin: 22px 0 0;
  color: #ffffff;
  font-size: var(--dip-p-size);
  font-weight: 600;
  line-height: var(--dip-line-height-text);
}

.hero-actions {
  margin-top: 30px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 8px;
  background: #ffffff;
  color: #831c1d;
  font-size: var(--dip-button-size);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(131, 28, 29, 0.22);
  transition: 0.25s ease;
}

.hero-cta:hover {
  background: #831c1d;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .hero {
    padding: 42px 18px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy p {
    font-size: var(--dip-p-size);
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 34px 16px;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    text-align: right;
    box-sizing: border-box;
  }

  .hero-copy p {
    max-width: 100%;
    font-size: var(--dip-p-size);
    line-height: var(--dip-line-height-text);
  }

  .hero-actions {
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
    display: flex;
    justify-content: right;
    box-sizing: border-box;
  }

  .hero-cta {
    width: 100%;
    max-width: 320px;
    min-width: 0;
    min-height: 52px;
    padding: 12px 18px;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
    font-size: var(--dip-button-size);
  }
}

.hero .form_wide_big {
  width: 100% !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.hero .form_content_wide_big {
  width: 100% !important;
  padding: 30px 30px !important;
  background: #ffffff !important;
  border: 1px solid rgba(131, 28, 29, 0.16) !important;
  border-radius: 28px !important;
  box-shadow: 0 18px 46px rgba(10, 15, 45, 0.16) !important;
  box-sizing: border-box !important;
}

.hero .form_content_wide_big form {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
  width: 100% !important;
  margin: 0 !important;
}

.hero .form_title_wide_big {
  grid-column: 1 / -1 !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  text-align: center !important;
}

.hero .form_title_wide_big .sub_title {
  color: #831c1d !important;
  font-size: 25px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

.hero .form_row_wide_big {
  display: contents !important;
}

.hero .switch-off {
  display: none !important;
}

.hero .form_row_wide_big label,
.hero .sendmetext_wide_big,
.hero .form_input_button_wide_big {
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  accent-color: #831c1d;
}

/* שורה 1 */
.hero label:has(#in_first_name) {
  grid-column: 1 / 3 !important;
}

.hero label:has(#in_last_name) {
  grid-column: 3 / 5 !important;
}

/* שורה 2 */
.hero label:has(#in_phone) {
  grid-column: 1 / 4 !important;
}

.hero label:has(#in_kidomet) {
  grid-column: 4 / 5 !important;
}

/* שורה 3 */
.hero label:has(#in_email) {
  grid-column: 1 / 3 !important;
}

.hero label:has(#in_course) {
  grid-column: 3 / 5 !important;
}

/* שורה 4 */
.hero label:has(#in_ezor) {
  grid-column: 3 / 5 !important;
}

.hero .form_input_button_wide_big {
  grid-column: 1 / 3 !important;
}

/* אישור */
.hero .sendmetext_wide_big {
  grid-column: 1 / -1 !important;
  justify-content: flex-start !important;
}

.hero .form_content_wide_big input[type="text"],
.hero .form_content_wide_big select {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid rgba(103,95,160,.18) !important;
  border-radius: 8px !important;
  background: #f9fcfd !important;
  color: #000000 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-align: right !important;
  box-sizing: border-box !important;
  float: none !important;
}

.hero .form_content_wide_big input:focus,
.hero .form_content_wide_big select:focus {
  outline: none !important;
  border-color: #831c1d !important;
  box-shadow: 0 0 0 3px rgba(131, 28, 29, 0.10) !important;
}

.hero .form_input_button_wide_big,
.hero .button_form_diploma {
  height: 50px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #831c1d !important;
  color: #ffffff !important;
   font-size: var(--dip-button-size);
  font-weight: 500 !important;
  cursor: pointer !important;
}

.hero .form_input_button_wide_big:hover {
  background: #675fa0 !important;
}

.hero .sendmetext_wide_big {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  color: #000000 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.hero .sendmetext_wide_big input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.hero .iagree_text_wide_big {
  font-size: 13px !important;
  line-height: 1.4 !important;
  text-align: right !important;
}

@media (max-width: 560px) {
  .hero .form_content_wide_big {
    padding: 22px !important;
  }

  .hero .form_content_wide_big form {
    grid-template-columns: 1fr !important;
  }

  .hero label:has(#in_first_name),
  .hero label:has(#in_last_name),
  .hero label:has(#in_phone),
  .hero label:has(#in_kidomet),
  .hero label:has(#in_email),
  .hero label:has(#in_course),
  .hero label:has(#in_ezor),
  .hero .form_input_button_wide_big,
  .hero .sendmetext_wide_big {
    grid-column: 1 / -1 !important;
  }

  .hero .form_title_wide_big .sub_title {
    font-size: 20px !important;
  }
}

/* FIX form bottom layout */
.hero .form_content_wide_big form {
  direction: ltr !important;
}

.hero .form_content_wide_big input,
.hero .form_content_wide_big select,
.hero .form_title_wide_big,
.hero .sendmetext_wide_big {
  direction: rtl !important;
}

/* שורה 1 */
.hero label:has(#in_first_name) {
  grid-column: 3 / 5 !important;
  grid-row: 2 !important;
}

.hero label:has(#in_last_name) {
  grid-column: 1 / 3 !important;
  grid-row: 2 !important;
}

/* שורה 2 */
.hero label:has(#in_phone) {
  grid-column: 2 / 5 !important;
  grid-row: 3 !important;
}

.hero label:has(#in_kidomet) {
  grid-column: 1 / 2 !important;
  grid-row: 3 !important;
}

/* שורה 3 */
.hero label:has(#in_email) {
  grid-column: 3 / 5 !important;
  grid-row: 4 !important;
}

.hero label:has(#in_course) {
  grid-column: 1 / 3 !important;
  grid-row: 4 !important;
}

/* שורה 4 */
.hero label:has(#in_ezor) {
  grid-column: 3 / 5 !important;
  grid-row: 5 !important;
}

.hero .form_input_button_wide_big {
  grid-column: 1 / 3 !important;
  grid-row: 5 !important;
}

/* שורה 5 */
.hero .sendmetext_wide_big {
  grid-column: 1 / 5 !important;
  grid-row: 6 !important;
  justify-content: flex-start !important;
  margin-top: 4px !important;
}

@media (max-width: 900px) {
  .hero .form_wide_big {
    display: none !important;
  }
}

.diploma-about-section {
  width: 100%;
  padding: 42px 38px 34px;
  background: #ffffff;
  font-family: var(--dip-font-main);
  box-sizing: border-box;
  direction: rtl;
}

.diploma-about-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.diploma-about-head {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.diploma-about-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 14px;
  border-radius: 6px;
  background: #831c1d;
  color: #ffffff !important;
  font-size: var(--dip-kicker-size);
  font-weight: 700;
  line-height: 1;
}

.diploma-about-head h2 {
  max-width: 980px;
  margin: 0 auto;
  color: #675fa0;
  font-size: var(--dip-h2-size);
  font-weight: 700;
  line-height: var(--dip-line-height-title);
}

.diploma-about-head p {
  max-width: 980px;
  margin: 18px auto 0;
  color: #000000;
  font-size: var(--dip-p-size);
  font-weight: 400;
  line-height: var(--dip-line-height-text);
}

@media (max-width: 768px) {
  .diploma-about-section {
    padding: 20px 18px 20px;
  }

  .diploma-about-kicker {
    font-size: var(--dip-kicker-size);
    margin-bottom: 10px;
  }

  .diploma-about-head h2 {
    font-size: var(--dip-h2-size);
    line-height: var(--dip-line-height-title);
  }

  .diploma-about-head p {
    max-width: 100%;
    margin-top: 14px;
    font-size: var(--dip-p-size);
    line-height: var(--dip-line-height-text);
  }
}

@media (max-width: 480px) {
  .diploma-about-section {
    padding: 32px 16px 24px;
  }

  .diploma-about-head h2 {
    font-size: var(--dip-h2-size);
  }

  .diploma-about-head p {
    font-size: var(--dip-p-size);
  }
}

.diploma-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 5px;
}

.diploma-stat-card {
  min-height: 150px;
  padding: 24px 14px;
  border: 1px solid rgba(131, 28, 29, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(103, 95, 160, 0.10), transparent 42%),
    #ffffff;
  box-shadow: 0 14px 34px rgba(10, 15, 45, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
  box-sizing: border-box;
}

.diploma-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(131, 28, 29, 0.28);
  box-shadow: 0 18px 42px rgba(10, 15, 45, 0.12);
}

.diploma-stat-card strong {
  display: block;
  color: #831c1d;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.diploma-stat-card span {
  display: block;
  margin-top: 10px;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.diploma-about-text-box {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(131, 28, 29, 0.08), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fbfafc 55%, #f6f3f7 100%);
  border: 1px solid rgba(131, 28, 29, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(10, 15, 45, 0.10);
  box-sizing: border-box;
}

.diploma-about-text-box h2 {
  margin: 0;
  color: #831c1d;
  font-size: var(--dip-h2-size);
  font-weight: 800;
  line-height: var(--dip-line-height-title);
}

.diploma-about-text-box p {
  margin: 18px auto 0;
  color: #222222;
  font-size: var(--dip-p-size);
  font-weight: 400;
  line-height: var(--dip-line-height-text);
}

.diploma-about-strong {
  font-weight: 800 !important;
  color: #000000 !important;
}

.diploma-about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 26px;
  padding: 0 28px;
  border-radius: 8px;
  background: #831c1d;
  color: #ffffff;
  font-size: var(--dip-button-size);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(131, 28, 29, 0.20);
  transition: 0.25s ease;
}

.diploma-about-btn:hover {
  background: #675fa0;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .diploma-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .diploma-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 30px;
  }

  .diploma-stat-card {
    min-height: 128px;
    border-radius: 18px;
  }

  .diploma-about-text-box {
    padding: 28px 20px;
    border-radius: 22px;
  }
}

@media (max-width: 480px) {
  .diploma-stats-grid {
    grid-template-columns: 1fr;
  }
}

.diploma-stats-strip-section {
  width: 100%;
  padding: 20px;
  direction: rtl;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(270deg, #831c1d 20%, #675fa0 100%);
}

.diploma-stats-strip-section::before {
  content: "";
  position: absolute;
  top: -45%;
  right: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 70%);
  animation: diplomaGlowMove 12s ease-in-out infinite;
}

@keyframes diplomaGlowMove {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-80px, 40px); }
  100% { transform: translate(0, 0); }
}

.diploma-stats-strip {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.diploma-stat-strip-item {
  min-width: 0;
  text-align: center;
  padding: 28px 16px;
  position: relative;
  box-sizing: border-box;
}

.diploma-stat-strip-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25%;
  left: 0;
  width: 1px;
  height: 50%;
  background: rgba(255,255,255,0.32);
}

.stat-icon-wrapper {
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform .25s ease;
}

.diploma-stat-strip-item:hover .stat-icon-img {
  transform: translateY(-3px) scale(1.06);
}

.diploma-stat-number {
  display: block;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
}

.diploma-stat-label {
  display: block;
  color: #ffffff;
  font-size: var(--dip-p-size);
  font-weight: 500;
  line-height: var(--dip-line-height-text);
}

@media (max-width: 1100px) {
  .diploma-stats-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .diploma-stat-strip-item:nth-child(3)::after,
  .diploma-stat-strip-item:nth-child(6)::after {
    display: none;
  }
}

@media (max-width: 650px) {
  .diploma-stats-strip-section {
    padding: 0;
  }

  .diploma-stats-strip {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diploma-stat-strip-item {
    padding: 26px 10px;
  }

  .diploma-stat-strip-item::after {
    display: none;
  }

  .diploma-stat-strip-item:nth-child(odd) {
    border-left: 1px solid rgba(255,255,255,0.25);
  }

  .diploma-stat-strip-item:nth-child(-n + 4) {
    border-bottom: 1px solid rgba(255,255,255,0.25);
  }

  .stat-icon-img {
    width: 34px;
    height: 34px;
  }

  .diploma-stat-number {
    font-size: 1.7rem;
  }

  .diploma-stat-label {
    font-size: var(--dip-p-size);
  }
}




/*==================================================
  Diploma Brand Section
==================================================*/

.brand-strip{
    width:100%;
    background:#ffffff;
    direction:rtl;
    display:flex;
    justify-content:center;
    overflow:hidden;
    font-family:"Open Sans",Arial,Helvetica,sans-serif;
}

.main-content-area{
    width:100%;
    max-width:1300px;
    padding:30px 20px;
    text-align:center;
    box-sizing:border-box;
}

.branded-headline{
    margin:0;
    color:#000000;
    font-size: var(--dip-h2-size);
    font-weight:700;
    line-height: var(--dip-line-height-title);
}

.brand-separator-line{
    width:100%;
    max-width:1100px;
    height:5px;
    margin:22px auto 28px;
    border-radius:30px;
    background:linear-gradient(to right,#675fa0 0%,#831c1d 100%);
}

.branded-text{
    max-width:1200px;
    margin:0 auto;
    color:#000000;
    font-size: var(--dip-p-size);
    line-height: var(--dip-line-height-text);
    text-align:center;
}

.branded-text strong{
    display:block;
    margin-top:0px;
    font-weight:700;
    color:#000000;
}

.lead-button-container{
    width:100%;
    padding:0 0 55px;
    text-align:center;
    background:#ffffff;
}

.refined-cta-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width: 280px;
    min-height:52px;
    padding:0 34px;
    border-radius:10px;
    background:#831c1d;
    color:#ffffff;
    font-size: var(--dip-button-size);
    font-weight:700;
    text-decoration:none;
    transition:.25s;
    box-shadow:0 12px 28px rgba(131,28,29,.18);
}

.refined-cta-btn:hover{
    background:#675fa0;
    color:#ffffff;
    transform:translateY(-2px);
}

/*==========================
      Tablet
==========================*/

@media (max-width:900px){

    .main-content-area{
        padding:38px 24px;
    }

    .brand-separator-line{
        margin:18px auto 22px;
    }

    .branded-text{
        font-size: var(--dip-p-size);
    }

}

/*==========================
      Mobile
==========================*/
@media (max-width:768px){

  .main-content-area{
    padding:34px 18px;
  }

  .branded-headline{
    font-size: var(--dip-h2-size);
  }

  .brand-separator-line{
    margin:18px auto;
  }

  .branded-text{
    font-size: var(--dip-p-size);
    line-height: var(--dip-line-height-text);
  }

  .lead-button-container{
    display: none !important;
  }

}


/* =========================
   Diploma Fields Section
========================= */

.fields-section {
  width: 100%;
  padding: 0 0 0px;
  background: #f8f7f9;
  direction: rtl;
  overflow: hidden;
  position: relative;
  font-family: var(--dip-font-main);
}

.visual-area {
  position: relative;
  min-height: 660px;
  padding-top: 140px;
  overflow: hidden;
  background: #f8f7f9;
}

.fields-section-head {
  position: absolute;
  top: 34px;
  right: 50%;
  transform: translateX(50%);
  z-index: 25;
  width: min(1100px, calc(100% - 48px));
  text-align: center;
}

.fields-section-head h2 {
  margin: 0;
  color: #000000;
  font-size: var(--dip-h2-size);
  font-weight: 700;
  line-height: var(--dip-line-height-title);
}

.fields-section-head .under-line {
  width: 200px;
  height: 5px;
  margin: 14px auto 12px;
  border-radius: 999px;
  background: linear-gradient(to right, #675fa0, #831c1d);
}

.fields-section-head p {
  max-width: 800px;
  margin: 0 auto;
  color: #000000;
  font-size: var(--dip-p-size);
  line-height: var(--dip-line-height-text);
}

.visual-image {
  position: absolute;
  inset: 0 auto 0 0;
  width: 58%;
  overflow: hidden;
  z-index: 1;
}

.visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.92);
}

.visual-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(248, 247, 249, 0.05) 0%,
      rgba(248, 247, 249, 0.20) 30%,
      rgba(248, 247, 249, 0.62) 62%,
      rgba(248, 247, 249, 0.94) 86%,
      #f8f7f9 100%
    );
}


.visual-content {
  position: relative;
  z-index: 5;
  max-width: 1400px;
  min-height: 675px;
  margin: 0 auto;
  padding: 0 38px;
  pointer-events: none;
}

.field-menu {
  position: absolute;
  left: 55%;
  top: 34%;
  width: 500px;
  transform: translateY(-50%);
  text-align: right;
  pointer-events: auto;
}

.field-menu-label {
  margin-bottom: 0px;
  color: #831c1d;
  font-size: var(--dip-kicker-size);
  font-weight: 700;
}

.field-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.field-menu button {
  width: 100%;
  min-height: 48px;
  border: 0;
  background: transparent;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  color: #000000;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
  transition: 0.22s ease;
}

.field-menu button:hover,
.field-menu button.active {
  color: #831c1d;
}

.field-line {
  width: 10px;
  height: 3px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(131, 28, 29, 0.35);
  transition: 0.22s ease;
}

.field-menu button:hover .field-line,
.field-menu button.active .field-line {
  width: 22px;
  background: #831c1d;
}

.course-panel {
  position: absolute;
  left: 4%;
  top: 190px;
  z-index: 10;
  width: 720px;
  max-width: 52vw;
  color: #000000;
}

.course-panel .top-line {
  width: 64px;
  height: 5px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(to left, #831c1d, #675fa0);
}

.course-panel h3 {
  margin: 0;
  color: #831c1d;
  font-size: var(--dip-h3-size);
  line-height: var(--dip-line-height-title);
  font-weight: 700;
}

.course-panel {
  position: absolute;
  left: 18%;
  top: 170px;
  z-index: 10;
  width: 620px;
  max-width: 42vw;
  color: #000000;
}

.courses-box {
  width: 100%;
  margin-top: 5px;
  padding: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(10, 15, 45, 0.12);
  backdrop-filter: blur(8px);
  box-sizing: border-box;
}

.courses-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.courses-box-head strong {
  color: #000000;
  font-size: 20px;
  font-weight: 500;
}

.courses-box-head span {
  display: none;
}

.course-list {
  display: grid;
  gap: 12px;
}

.course-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border-radius: 8px;
  background: #f2f2f2;
  border: 2px solid rgba(103, 95, 160, 0.16);
  color: #000000;
  text-align: right;
  cursor: pointer;
  transition: 0.22s ease;
}

.course-card:hover {
  background: #ffffff;
  color: #831c1d;
  box-shadow: 0 10px 26px rgba(103, 95, 160, 0.18);
  transform: translateY(-2px);
}

.course-card.active {
  background: #831c1d;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(131, 28, 29, 0.20);
}

.course-card-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.course-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(131, 28, 29, 0.10);
  color: #831c1d;
  transition: 0.22s ease;
}

.course-icon svg {
  width: 19px;
  height: 19px;
}

.course-card:hover .course-icon,
.course-card.active .course-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.course-title {
  min-width: 0;
  font-size: var(--dip-p-size);
  line-height: var(--dip-line-height-text);
  font-weight: 500;
}

.course-more {
  flex-shrink: 0;
  color: #000000;
  font-size: var(--dip-small-size);
  font-weight: 500;
}

.course-card.active .course-more {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1024px) {
  .visual-area {
    min-height: auto;
    padding-top: 0;
  }

  .fields-section-head {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: auto;
    padding: 38px 18px 22px;
  }

  .visual-image {
    position: relative;
    width: 100%;
    height: 280px;
  }

  .visual-image::after {
    background: linear-gradient(
      to top,
      #f8f7f9 0%,
      rgba(248, 247, 249, 0.55) 48%,
      rgba(248, 247, 249, 0.05) 100%
    );
  }

  .course-panel {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    max-width: none;
    margin: -54px 24px 0;
    padding: 22px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(8px);
  }

  .visual-content {
    min-height: auto;
    padding: 34px 24px 48px;
  }

  .field-menu {
    position: relative;
    right: auto;
    top: auto;
    width: auto;
    transform: none;
  }
}

@media (max-width: 900px) {
  #fields.fields-section {
    display: none;
  }
}

.courses-box {
  width: 100%;
  box-sizing: border-box;
}

.course-card {
  width: 100%;
  box-sizing: border-box;
}

.course-card,
.course-card *,
.field-menu button,
.field-menu button *,
.mobile-course-line,
.mobile-course-line * {
  text-decoration: none !important;
}

.course-title,
.course-more {
  text-decoration: none !important;
}

.mobile-fields-section {
  display: none;
}

@media (max-width: 900px) {
  .mobile-fields-section {
    display: block;
    width: 100%;
    padding: 42px 16px;
    background: #f8f7f9;
    direction: rtl;
    box-sizing: border-box;
    font-family: var(--dip-font-main);
  }

  .mobile-fields-head {
    max-width: 520px;
    margin: 0 auto 26px;
    text-align: center;
  }

  .mobile-fields-head h2 {
    margin: 0;
    color: #000000;
    font-size: var(--dip-h2-size);
    font-weight: 800;
    line-height: var(--dip-line-height-title);
  }

  .mobile-fields-head p {
    margin: 10px 0 0;
    color: #425466;
    font-size: var(--dip-p-size);
    font-weight: 600;
    line-height: var(--dip-line-height-text);
  }

  .mobile-fields-cards {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
  }

  .mobile-field-image-card {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(103, 95, 160, 0.16);
    box-shadow: 0 16px 38px rgba(10, 15, 45, 0.10);
  }

  .mobile-field-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #eeeeee;
  }

  .mobile-field-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.72) saturate(0.9);
  }

  .mobile-field-content {
    padding: 20px 16px 16px;
    text-align: right;
  }

  .mobile-field-content h3 {
    margin: 0 0 8px;
    color: #000000;
    font-size: var(--dip-h3-size);
    font-weight: 800;
    line-height: var(--dip-line-height-title);
  }

  .mobile-field-content p {
    margin: 0 0 18px;
    color: #5d6b78;
    font-size: var(--dip-p-size);
    font-weight: 600;
    line-height: var(--dip-line-height-text);
  }

  .mobile-course-lines {
    display: grid;
    gap: 10px;
  }

.mobile-course-line {
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f2f2f2;
  border: 2px solid rgba(103, 95, 160, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-sizing: border-box;
  color: #000000;
  text-decoration: none !important;
  transition: 0.22s ease;
}

.mobile-course-line-icon {
  order: 1;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 8px;
  background: rgba(131, 28, 29, 0.10);
  color: #831c1d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.22s ease;
}

.mobile-course-line-icon svg {
  width: 19px;
  height: 19px;
}

.mobile-course-line-title {
  order: 2;
  flex: 1;
  min-width: 0;
  color: #000000;
  font-size: var(--dip-p-size);
  font-weight: 700;
  line-height: var(--dip-line-height-text);
  text-align: right;
}

.mobile-course-line-more {
  order: 3;
  padding: 0;
  background: transparent;
  color: #000000;
  font-size: var(--dip-small-size);
  font-weight: 500;
  white-space: nowrap;
}

.mobile-course-line:hover,
.mobile-course-line:focus {
  background: #831c1d;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(131, 28, 29, 0.20);
  transform: translateY(-2px);
}

.mobile-course-line:hover .mobile-course-line-icon,
.mobile-course-line:focus .mobile-course-line-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.mobile-course-line:hover .mobile-course-line-title,
.mobile-course-line:focus .mobile-course-line-title,
.mobile-course-line:hover .mobile-course-line-more,
.mobile-course-line:focus .mobile-course-line-more {
  color: #ffffff;
}
}

.diploma-reasons-section {
  width: 100%;
  padding: 60px 20px;
  background: #ffffff;
  direction: rtl;
  box-sizing: border-box;
  font-family: var(--dip-font-main);
}

.diploma-reasons-container {
  max-width: 1200px;
  margin: 0 auto;
}

.diploma-reasons-header {
  text-align: center;
  margin-bottom: 54px;
}

.diploma-reasons-header h2 {
  margin: 0;
  color: #831c1d;
  font-size: var(--dip-h2-size);
  font-weight: 700;
  line-height: var(--dip-line-height-title);
}

.diploma-brand-separator-line {
  width: 200px;
  height: 5px;
  margin: 18px auto 18px;
  border-radius: 999px;
  background: linear-gradient(to right, #675fa0, #831c1d);
}

.diploma-reasons-header p {
  max-width: 850px;
  margin: 0 auto;
  color: #000000;
  font-size: var(--dip-p-size);
  line-height: var(--dip-line-height-text);
}

.diploma-reasons-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
  row-gap: 42px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.diploma-reason-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* העיצוב המעודכן לקופסת האייקון בסגנון האייקונים הקודמים */
.diploma-reason-icon-box {
  color: #831c1d;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px; /* פינות מעוגלות */
  background: #e8e6f4;
  margin-top: 2px;
  transition: all 0.22s ease;
}

/* הקטנת האייקון עצמו בתוך הריבוע כדי שייראה פרופורציונלי כמו בתמונה */
.diploma-reason-icon-box svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* אפקט מעבר אחיד ויפה בריחוף (Hover) בדומה לקורסים הקודמים */
.diploma-reason-item:hover .diploma-reason-icon-box {
  background: #831c1d;
  color: #ffffff;
  transform: translateY(-2px);
}

.diploma-reason-content h3 {
  margin: 0 0 8px;
  color: #675fa0;
  font-size: var(--dip-h3-size);
  font-weight: 700;
  line-height: var(--dip-line-height-title);
}

.diploma-reason-content p {
  margin: 0;
  color: #000000;
  font-size: var(--dip-p-size);
  line-height: var(--dip-line-height-text);
  font-weight: 400;
}

@media (max-width: 767px) {
  .diploma-reasons-section {
    padding: 42px 18px;
  }

  .diploma-reasons-header {
    margin-bottom: 34px;
  }

  .diploma-reasons-header h2 {
    font-size: var(--dip-h2-size);
    line-height: var(--dip-line-height-title);
  }

  .diploma-reasons-header p {
    font-size: var(--dip-p-size);
    line-height: var(--dip-line-height-text);
  }

  .diploma-reasons-list {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .diploma-reason-item {
    width: 100%;
    gap: 16px;
    align-items: flex-start;
    text-align: right;
  }

  .diploma-reason-content h3 {
    font-size: var(--dip-h3-size);
    line-height: var(--dip-line-height-title);
  }

  .diploma-reason-content p {
    font-size: var(--dip-p-size);
    line-height: var(--dip-line-height-text);
  }
}

/* =========================
   AI Studies Section
========================= */

.ai-section {
  width: 100%;
  padding: 70px 24px;
  background: #ffffff;
  direction: rtl;
  box-sizing: border-box;
  font-family: var(--dip-font-main);
}

.ai-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: stretch;
}

.ai-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(10, 15, 45, 0.14);
}

.ai-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.62) saturate(0.9);
}

.ai-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.68), rgba(0,0,0,0.12)),
    linear-gradient(135deg, rgba(103,95,160,0.36), rgba(131,28,29,0.26));
}

.ai-visual-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 34px;
  color: #ffffff;
  text-align: right;
}

.ai-visual-content h2 {
  margin: 0;
  color: #ffffff;
  font-size: var(--dip-h2-size);
  font-weight: 700;
  line-height: var(--dip-line-height-title);
}

.ai-visual-content p {
  max-width: 560px;
  margin: 14px 0 0;
  color: #ffffff;
  font-size: var(--dip-p-size);
  font-weight: 400;
  line-height: var(--dip-line-height-text);
}

.ai-section .kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 14px;
  border-radius: 6px;
  background: #831c1d;
  color: #ffffff !important;
  font-size: var(--dip-kicker-size);
  font-weight: 700;
  line-height: 1;
}

.ai-section h2 {
  margin: 0;
  color: #000000;
  font-size: var(--dip-h2-size);
  font-weight: 700;
  line-height: var(--dip-line-height-title);
}

.ai-section > .ai-grid > div:not(.ai-visual) > p {
  max-width: 720px;
  margin: 16px 0 24px;
  color: #000000;
  font-size: var(--dip-p-size);
  line-height: var(--dip-line-height-text);
}

.ai-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ai-card {
  min-height: 160px;
  padding: 22px 20px;
  border-radius: 16px;
  background: 
    radial-gradient(circle at 12% 10%, rgba(103, 95, 160, 0.10), transparent 34%),
	radial-gradient(circle at 88% 18%, rgba(131, 28, 29, 0.08), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fbfafc 50%, #f8f6fa 100%);
  border: 1px solid rgba(103, 95, 160, 0.18);
  box-shadow: 0 10px 28px rgba(10, 15, 45, 0.07);
  transition: 0.25s ease;
  box-sizing: border-box;
}

.ai-card:hover {
  transform: translateY(-4px);
  border-color: rgba(131, 28, 29, 0.32);
  box-shadow: 0 16px 36px rgba(103, 95, 160, 0.12);
}

.ai-card h3 {
  margin: 0 0 10px;
  color: #675fa0;
  font-size: var(--dip-h3-size);
  font-weight: 700;
  line-height: var(--dip-line-height-title);
}

.ai-card h3::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: #831c1d;
}

.ai-card p {
  margin: 0;
  color: #000000;
  font-size: var(--dip-p-size);
  font-weight: 400;
  line-height: var(--dip-line-height-text);
}

@media (max-width: 900px) {
  .ai-section {
    padding: 46px 16px;
  }

  .ai-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ai-visual {
    min-height: 340px;
    border-radius: 20px;
  }

  .ai-visual-content {
    padding: 24px 20px;
  }

  .ai-visual-content h2 {
    font-size: var(--dip-h2-size);
  }

  .ai-visual-content p {
    font-size: var(--dip-p-size);
    line-height: var(--dip-line-height-text);
  }

  .ai-section h2 {
    font-size: var(--dip-h2-size);
  }

  .ai-section > .ai-grid > div:not(.ai-visual) > p {
    font-size: var(--dip-p-size);
    line-height: var(--dip-line-height-text);
  }

  .ai-cards {
    grid-template-columns: 1fr;
  }

  .ai-card {
    min-height: auto;
    padding: 20px 18px;
  }

  .ai-card h3 {
    font-size: var(--dip-h3-size);
  }

  .ai-card p {
    font-size: var(--dip-p-size);
  }
}

.ai-visual-content h2 {
    color: #ffffff !important;
}


.ai-business-banner {
  direction: rtl;
  padding: 30px 24px;
  background: #ffffff;
  font-family: var(--dip-font-main);
}

.ai-business-banner__box {
  max-width: 1320px;
  margin: 0 auto;
  padding: 26px 32px 24px;
  background:
    radial-gradient(circle at 12% 8%, rgba(103, 95, 160, 0.08), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(131, 28, 29, 0.08), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fcfbfd 48%, #f8f6fa 100%);
  border: 1px solid rgba(103, 95, 160, 0.14);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(103, 95, 160, 0.08);
  text-align: center;
}

.ai-business-banner__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 6px 14px;
  border-radius: 6px;
  background: #831c1d; 
  color: #ffffff; 
  font-size: var(--dip-kicker-size);
  font-weight: 700;
  line-height: 1;
}

.ai-business-banner__title {
  margin: 0 0 12px;
  color: #675fa0; /* סגול דיפלומה */
  font-size: var(--dip-h2-size);
  font-weight: 700;
  line-height: var(--dip-line-height-title);
  letter-spacing: -0.02em;
}

.ai-business-banner__intro {
  max-width: 1120px;
  margin: 0 auto 20px;
}

.ai-business-banner__intro p {
  margin: 0;
  color: #000000;
  font-size: var(--dip-p-size);
  font-weight: 400;
  line-height: var(--dip-line-height-text);
}

.ai-business-model-title {
  margin: 0 0 18px;
  color: #831c1d; /* סגול דיפלומה */
  font-size: var(--dip-h3-size);
  font-weight: 700;
  line-height: var(--dip-line-height-title);
  text-align: center;
}

.ai-business-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 auto 18px;
}

.ai-business-step {
  position: relative;
  min-height: 235px;
  padding: 18px 18px 16px;
  background: #ffffff;
  border: 1px solid rgba(103, 95, 160, 0.18); /* סגול עם שקיפות */
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(103, 95, 160, 0.06);
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ai-business-step:hover {
  transform: translateY(-6px);
  border-color: rgba(131, 28, 29, 0.4); 
  box-shadow: 0 16px 32px rgba(103, 95, 160, 0.12);
}

.ai-business-step__num {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 36px;
  height: 32px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(131, 28, 29, 0.25); 
  border-radius: 10px;
  color: #831c1d; 
  background: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.ai-business-step__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e8e6f4;
  transition: transform 0.28s ease, background 0.28s ease;
}

.ai-business-step:hover .ai-business-step__icon {
  transform: scale(1.06);
  background: radial-gradient(circle, rgba(131, 28, 29, 0.15), rgba(131, 28, 29, 0.05));
}

.ai-business-step__icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #831c1d; /* סגול דיפלומה */
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.28s ease, stroke 0.28s ease;
}

.ai-business-step:hover .ai-business-step__icon svg {
  transform: rotate(-4deg) scale(1.06);
  stroke: #831c1d; /* בורדו דיפלומה ב-Hover */
}

.ai-business-step h3 {
  margin: 0 0 10px;
  color: #675fa0; /* סגול דיפלומה */
  font-size: var(--dip-h3-size);
  font-weight: 700;
  line-height: var(--dip-line-height-title);
}

.ai-business-step h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: #831c1d; /* קו תחתון בורדו דיפלומה */
}

.ai-business-step p {
  margin: 0;
  color: #000000;
  font-size: var(--dip-p-size);
  font-weight: 400;
  line-height: var(--dip-line-height-text);
}

.ai-business-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.ai-business-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: var(--dip-button-size);
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: 0.25s ease;
}

.ai-business-btn--primary {
  background: #831c1d; /* כפתור סגול דיפלומה */
  color: #ffffff !important;
}

.ai-business-btn--secondary {
  background: #675fa0; /* כפתור בורדו דיפלומה (אם תשתמשי בו בעתיד) */
  color: #ffffff !important;
}

.ai-business-btn:hover {
  background: #831c1d; /* במעבר עכבר הופך לבורדו דיפלומה */
  color: #ffffff !important;
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .ai-business-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-business-banner__box {
    padding: 26px 22px;
  }
}

@media (max-width: 700px) {
  .ai-business-banner {
    padding: 34px 16px;
  }

  .ai-business-banner__box {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .ai-business-banner__tag {
    font-size: var(--dip-kicker-size);
  }

  .ai-business-banner__title {
    font-size: var(--dip-h2-size);
  }

  .ai-business-banner__intro p {
    font-size: var(--dip-p-size);
    line-height: var(--dip-line-height-text);
  }

  .ai-business-model-title {
    font-size: var(--dip-h3-size);
    margin-bottom: 16px;
  }

  .ai-business-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ai-business-step {
    min-height: auto;
    padding: 18px 16px 20px;
  }

  .ai-business-actions {
    flex-direction: column;
  }

  .ai-business-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .ai-business-banner__box {
    overflow: hidden;
  }

  .ai-business-actions {
    width: 100%;
  }

  .ai-business-btn {
    width: 100%;
    max-width: 100%;
    min-width: 0 !important;
    box-sizing: border-box;
    padding: 0 14px;
    font-size: var(--dip-button-size);
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
}


/* --- 5. קרוסלת לוגואים --- */
.organizations-section {
    direction: rtl;
    background: #ffffff;
}

.carousel-header-wrapper {
    background: #ffffff;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 15px;
}

.carousel-main-title {
    font-size: var(--dip-h2-size);
    color: #000000; 
    background: #ffffff;
    font-weight: 700;
    line-height: var(--dip-line-height-title);
    margin: 0;
    padding: 0 10px;
}

.carousel-main-title .title-break {
    display: block;
    font-size: var(--dip-h2-size);
    color: #000000;
    margin-top: 4px;
}

.carousel-highlight {
    display: block;
    font-weight: 700;
    color: #831c1d; /* בורדו דיפלומה */
    margin-top: 8px;
    font-size: var(--dip-kicker-size);
}

.logos-slider-container {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    margin: 0;
}

.logos-slider-container:hover .logos-slide-track {
    animation-play-state: paused;
}

.logos-slide-track {
    display: flex;
    width: calc(220px * 152);
    /* תיקון לערך שלילי כדי שהקרוסלה תרוץ חלק מימין לשמאל ב-RTL */
    animation: scroll-logos-rtl 65s linear infinite;
}

.logo-item {
    width: 200px;
    margin: 0 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-height: 55px;
    max-width: 140px;
    width: auto;
    background: #ffffff; 
    border: 0.5px solid #831c1d;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(103, 95, 160, 0.03); /* צל מותגי עדין ביותר */
    transition: all 0.3s ease;
}

.logo-item img:hover {
    border-color: #675fa0; /* סגול דיפלומה ב-Hover */
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(103, 95, 160, 0.12); /* צל מודגש יותר ב-Hover */
    background: #ffffff;
}

/* אנימציה מותאמת ל-RTL למניעת קפיצות */
@keyframes scroll-logos-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

/* --- 6. התאמות למובייל (Media Query מאוחד) --- */
@media (max-width: 991px) {
    .banner-layout {
        flex-direction: column !important;
        padding: 10px 20px !important;
    }

    .banner-logo-side {
        flex: none !important;
        width: 100% !important;
        order: -1;
        margin-bottom: 20px;
    }

    .business-logo {
        width: 140px !important;
        height: 140px !important;
    }

    .banner-text-side {
        width: 100% !important;
        text-align: right !important;
    }

    .links-title {
        text-align: right;
        margin-top: 15px;
    }

    .links-row {
        justify-content: right !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        margin-bottom: 25px !important;
    }

    .link-item a { font-size: 14px !important; }

    .carousel-main-title { font-size: var(--dip-h2-size); }
    .carousel-main-title .title-break { font-size: var(--dip-h2-size); }
    .carousel-highlight { font-size: var(--dip-kicker-size); }

    .logo-item {
	  width: 160px;
	  margin: 0 8px;
	  box-sizing: border-box;
	}

	.logo-item img {
	  max-width: 120px;
	  max-height: 48px;
	  padding: 12px;
	  box-sizing: content-box;
	}

	.logos-slide-track {
	  width: calc(176px * 152);
	}
}

/* =========================
   FAQ Section
========================= */

.faq-section {
  width: 100%;
  padding: 58px 20px;
  background: #ffffff;
  direction: rtl;
  box-sizing: border-box;
  font-family: var(--dip-font-main);
}

.faq-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.faq-head {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.faq-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 14px;
  border-radius: 6px;
  background: #831c1d;
  color: #ffffff !important;
  font-size: var(--dip-kicker-size);
  font-weight: 700;
  line-height: 1;
}

.faq-head h2 {
  margin: 0;
  color: #000000;
  font-size: var(--dip-h2-size);
  font-weight: 700;
  line-height: var(--dip-line-height-title);
}

.faq-separator-line {
  width: 200px;
  height: 5px;
  margin: 16px auto 18px;
  border-radius: 999px;
  background: linear-gradient(to right, #675fa0, #831c1d);
}

.faq-head p {
  margin: 0 auto;
  color: #000000;
  font-size: var(--dip-p-size);
  line-height: var(--dip-line-height-text);
  font-weight: 400;
}

.faq-box {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background:
    radial-gradient(circle at 12% 10%, rgba(103, 95, 160, 0.08), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(131, 28, 29, 0.07), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fbfafc 50%, #f8f6fa 100%);
  border: 1px solid rgba(103, 95, 160, 0.16);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(10, 15, 45, 0.06);
  overflow: hidden;
  transition: 0.22s ease;
}

.faq-item:hover {
  border-color: rgba(131, 28, 29, 0.26);
  box-shadow: 0 14px 34px rgba(103, 95, 160, 0.10);
}

.faq-item summary {
  min-height: 62px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  box-sizing: border-box;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.faq-num {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 8px;
  background: rgba(131, 28, 29, 0.10);
  color: #831c1d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--dip-small-size);
  font-weight: 700;
}

.faq-title {
  color: #000000;
  font-size: var(--dip-p-size);
  font-weight: 400;
  line-height: var(--dip-line-height-text);
  text-align: right;
}

.faq-plus {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: transform 0.28s ease;
}

.faq-plus img {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
}

.faq-item:hover .faq-plus {
  transform: translateY(-2px);
}

.faq-item[open] .faq-plus {
  transform: rotate(180deg);
}


.faq-item p {
  margin: 0;
  padding: 0 74px 20px 18px;
  color: #000000;
  font-size: var(--dip-p-size);
  line-height: var(--dip-line-height-text);
  font-weight: 400;
}

@media (max-width: 700px) {
  .faq-section {
    padding: 44px 16px;
  }

  .faq-head {
    margin-bottom: 26px;
  }

  .faq-kicker {
    font-size: var(--dip-kicker-size);
  }

  .faq-head h2 {
    font-size: var(--dip-h2-size);
  }

  .faq-head p {
    font-size: var(--dip-p-size);
    line-height: var(--dip-line-height-text);
  }

  .faq-item summary {
    padding: 14px;
    align-items: flex-start;
  }

  .faq-q {
    gap: 10px;
  }

  .faq-num {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: var(--dip-small-size);
  }

  .faq-title {
    font-size: var(--dip-p-size);
  }

  .faq-plus {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .faq-plus img {
    width: 34px;
    height: 34px;
  }

  .faq-item p {
    padding: 0 60px 18px 14px;
    font-size: var(--dip-p-size);
    line-height: var(--dip-line-height-text);
  }
}

.course-more-arrow {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-more-arrow img {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
}

.course-card:hover .course-more-arrow {
  transform: translateX(-3px);
}

.course-more-arrow img {
  transition: filter 0.22s ease, transform 0.22s ease;
}

.course-card:hover .course-more-arrow img,
.course-card.active .course-more-arrow img {
  filter: brightness(0) invert(1);
}

.mobile-course-line:hover .course-more-arrow img,
.mobile-course-line:focus .course-more-arrow img {
  filter: brightness(0) invert(1);
}

/* Custom course dropdown, top hero form only */
.hero .diploma-course-custom-select {
  position: relative;
  width: 100%;
  direction: rtl;
  font-family: var(--dip-font-main);
  z-index: 9999;
}

.hero .diploma-course-custom-trigger {
  position: relative;
  width: 100%;
  height: 50px;
  padding: 0 14px 0 42px;
  border: 1px solid rgba(103, 95, 160, 0.18);
  border-radius: 8px;
  background: #f9fcfd;
  color: #000000;
  font-size: 16px;
  font-weight: 500;
  text-align: right;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: var(--dip-font-main);
}

.hero .diploma-course-custom-trigger span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hero .diploma-course-custom-trigger::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  transform: translateY(-65%) rotate(45deg);
}

.hero .diploma-course-custom-select.is-open .diploma-course-custom-trigger {
  border-color: #831c1d;
  box-shadow: 0 0 0 3px rgba(131, 28, 29, 0.10);
}

.hero .diploma-course-custom-options {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 100000;
  max-height: 245px;
  overflow-y: auto;
  padding: 6px;
  background: #ffffff;
  border: 1px solid rgba(131, 28, 29, 0.22);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(10, 15, 45, 0.20);
  box-sizing: border-box;
  display: none;
}

.hero .diploma-course-custom-select.is-open .diploma-course-custom-options {
  display: block;
}

.hero .diploma-course-custom-option {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #000000;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-align: right;
  cursor: pointer;
  font-family: var(--dip-font-main);
}

.hero .diploma-course-custom-option:hover,
.hero .diploma-course-custom-option.is-selected {
  background: #f2f2f2;
  color: #000000;
}

.hero .diploma-course-custom-options::-webkit-scrollbar {
  width: 8px;
}

.hero .diploma-course-custom-options::-webkit-scrollbar-track {
  background: #f1eef5;
  border-radius: 999px;
}

.hero .diploma-course-custom-options::-webkit-scrollbar-thumb {
  background: #675fa0;
  border-radius: 999px;
}

.hero .diploma-course-custom-options::-webkit-scrollbar-thumb:hover {
  background: #831c1d;
}

.hero #in_course.diploma-original-select-hidden,
.hero #in_ezor.diploma-original-select-hidden {
  display: none !important;
}

/* אחידות צבע טקסט בכל שדות הטופס העליון */
form input,
form select,
form textarea,
form option {
  color: #000000 !important;
}

/* אחידות צבע placeholder */
form input::placeholder,
form textarea::placeholder {
  color: #000000 !important;
  opacity: 1 !important;
}