@charset "windows-1255";
/* עיצוב חדש למרכז AI לפי STYLE_CENTERS. צבעי המותג נשמרו. */

:root {
  --ai-primary-dark: #54396e;
  --ai-burgundy: #dc2f5d;
  --ai-purple: #54396e;
  --ai-primary: #54396e;
  --ai-text: #000000;
  --ai-muted: #5f5f66;
  --ai-white: #ffffff;
  --ai-soft: #f5f5f2;
  --ai-soft-primary: #f2f2f2;
  --ai-border: rgba(118, 118, 118, 0.18);
  --ai-shadow: 0 18px 42px rgba(24, 20, 38, 0.14);
  --ai-radius: 14px;
  --ai-font: "Open Sans", Arial, Helvetica, sans-serif;
}
html {
  scroll-behavior: smooth;
  font-family: var(--ai-font);
}
body {
  font-family: var(--ai-font);
  color: var(--ai-text);
  background: var(--ai-white);
  margin: 0;
}
input,
button,
select,
textarea {
  font-family: var(--ai-font);
}
main {
  display: block;
  width: 100%;
  overflow: hidden;
  position: relative;
}
main *,
main *::before,
main *::after {
  box-sizing: border-box;
}
img,
video,
svg {
  max-width: 100%;
}
.hero-video-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #fff;
  direction: rtl;
}
.hero-video-wrapper {
  width: 100%;
  position: relative;
  overflow: visible;
  aspect-ratio: auto;
  min-height: 0;
  background: #fff;
}
.hero-video {
  position: relative;
  inset: 0;
  width: 100%;
  height: clamp(280px,34vw,510px);
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}
.hero-video-overlay,
.ai-brand-separator-line,
.mobile-footer-wrap {
  display: none;
}
.hero-content {
  position: relative;
  inset: auto;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: right;
  max-width: 1248px;
  background: #fff;
  margin: auto;
  padding: 80px 24px 0;
}
.hero-content h1 {
  max-width: none;
  color: #252525;
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: none;
  width: 100%;
  text-align: right;
  margin: 0;
}
.hero-content h2 {
  max-width: none;
  color: #454545;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.7;
  text-shadow: none;
  display: none !important;
  margin: 0;
}
.ai-brand-strip {
  width: 100%;
  background: #fff;
  direction: rtl;
  padding: 16px 24px 60px;
}
.ai-main-content-area {
  width: 100%;
  max-width: 1200px;
  text-align: right;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: auto;
}
.ai-branded-headline {
  color: #252525;
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-align: right;
  grid-column: 1;
  grid-row: auto;
  width: 100%;
  margin: 0 0 16px;
}
.ai-branded-text {
  max-width: none;
  color: #454545;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  text-align: right;
  grid-column: 1;
  margin: 0;
}
.ai-branded-text p {
  line-height: 1.65;
  margin: 0 0 14px;
}
.ai-brand-bold-line {
  max-width: none;
  color: #252525;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
  background: none;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}
.ai-lead-button-container {
  text-align: right;
  grid-column: 1;
  margin: 26px 0 0;
}
.ai-refined-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 52px;
  border-radius: 2px;
  background: #54396e;
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none !important;
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  transform: none;
  white-space: normal;
  padding: 12px 28px;
  border: 1px solid #54396e;
  max-width: 100%;
}
.ai-refined-cta-btn:hover {
  background: #54396e;
  transform: none;
  box-shadow: none;
  color: #fff;
  border-color: #54396e;
  opacity: .92;
}
.ai-refined-cta-btn:focus {
  background: #54396e;
  transform: none;
  box-shadow: none;
}
.ai-courses-section {
  width: 100%;
  background: #f2f2f2;
  border-top: 0 !important;
  border-bottom: 0 !important;
  direction: rtl;
  overflow: hidden;
  padding: 60px 24px;
}
.ai-courses-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}
.ai-courses-header {
  max-width: none;
  text-align: right;
  display: block;
  width: 100%;
  margin: 0 0 32px;
}
.ai-courses-header h2 {
  color: #252525;
  font-size: clamp(26px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  width: 100%;
  margin: 0 0 14px;
}
.ai-courses-header p {
  max-width: none;
  color: #454545;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  text-align: right;
  width: 100%;
  margin: 0;
}
.ai-courses-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px;
  width: 100%;
  max-width: none;
  align-items: stretch;
  margin: 0 auto;
}
.ai-course-card {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0px;
  overflow: visible;
  transition: border-color .2s ease;
  text-align: right;
  align-items: flex-start;
  transform: none;
  min-width: 0;
  padding: 28px;
  border: 1px solid #e3e3df;
    box-shadow: 0 4px 16px rgba(35, 28, 48, 0.05);
}
.ai-course-card:hover {
  transform: none;
  border-color: #bdbdb7;
  box-shadow: 0 6px 20px rgba(35, 28, 48, 0.07);
}
.ai-course-icon {
  position: static;
  top: auto;
  right: auto;
  transform: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: none;
  box-shadow: none;
  z-index: 2;
  animation: none;
  color: #54396e;
  flex: 0 0 auto;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}
.ai-course-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--ai-primary-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
  transform: none;
}
.ai-course-card:hover .ai-course-icon,
.logos-slider-container:hover .logos-slide-track {
  animation-play-state: paused;
}
.ai-course-card:hover .ai-course-icon svg {
  transform: none;
}
.ai-course-tag {
  width: fit-content;
  border-radius: 0;
  background: none;
  color: #666666;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}
.ai-course-card h3 {
  color: #252525;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 0 12px;
}
.ai-course-card p {
  color: #454545;
  font-size: 18px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-weight: 400;
  margin: 0 0 22px;
}
.ai-course-actions {
  position: relative;
  z-index: 1;
  max-width: 100%;
  display: flex;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  flex-direction: row;
}
.ai-course-link {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  box-shadow: none;
  transform: none;
  background: #54396e;
  color: #fff !important;
  white-space: nowrap;
  min-width: max-content;
  padding: 10px 14px;
  border: 1px solid #54396e;
}
.ai-course-details {
  background: transparent;
  color: var(--ai-primary) !important;
  border: 1.5px solid var(--ai-primary);
}
.ai-course-register {
  background: var(--ai-primary-dark);
  color: #ffffff !important;
  border: 1.5px solid var(--ai-primary-dark);
}
.ai-course-link:hover {
  transform: none;
  background: #54396e;
  color: #fff;
  border-color: #54396e;
  box-shadow: none;
  opacity: .92;
}
.ai-course-link:focus {
  transform: none;
  background: #54396e;
  color: #ffffff !important;
}
.ai-course-details:hover {
  color: var(--ai-primary) !important;
  background: #f2f2f2;
  border-color: var(--ai-primary);
}
.ai-course-details:focus {
  color: var(--ai-primary) !important;
  background: transparent;
  outline: 2px solid #54396e;
  outline-offset: 3px;
}
.ai-course-register:hover,
.ai-course-register:focus {
  color: #ffffff !important;
}
/* AI BUSINESS BANNER - synchronized with final INDEX presentation. */
/* Typography is scoped to this section; shared page/form styles are untouched. */
.ai-business-banner {
  --home-gutter: clamp(22px, 5vw, 80px);
  --dip-h2-size: clamp(26px, 2.3vw, 30px);
  --dip-h3-size: 22px;
  --dip-p-size: 17px;
  --dip-button-size: 16px;
  --dip-line-height-text: 1.85;
  --dip-line-height-title: 1.3;
  position: relative;
  width: 100%;
  padding: 60px var(--home-gutter);
  background: #ffffff;
  direction: rtl;
  overflow: hidden;
  box-sizing: border-box;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}
.ai-business-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Business banner image - edit this path to change the image. */
  background-image: url("/hasifa/images/index/banner_org.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.97) saturate(0.92);
  z-index: 0;
  pointer-events: none;
}
.ai-business-banner__box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}
.ai-business-banner__tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 0;
  background: none;
  color: #54396e;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.ai-business-banner__title {
  width: 100%;
  margin: 15px 0 25px;
  color: #252525;
  font-size: var(--dip-h2-size);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  letter-spacing: -0.025em;
}
.ai-business-banner__intro {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.ai-business-banner__intro p {
  max-width: 1200px;
  margin: 0;
  color: #252525;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
}
.ai-business-model-title {
  margin: 40px 0 28px;
  color: #252525;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.ai-business-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
  margin: 0 auto;
}
.ai-business-step {
  position: relative;
  min-height: 235px;
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #d9d9d5;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  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(84, 57, 110, 0.4);
  box-shadow: 0 16px 32px rgba(118, 118, 118, 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(84, 57, 110, 0.25);
  border-radius: 10px;
  color: #54396e;
  background: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}
.ai-business-step__icon {
  width: 30px;
  height: 30px;
  margin: 0 auto 20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: #54396e;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: transform 0.28s ease, background 0.28s ease;
}
.ai-business-step__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #54396e;
  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 {
  transform: scale(1.06);
  background: radial-gradient(circle, rgba(84, 57, 110, 0.15), rgba(84, 57, 110, 0.05));
}
.ai-business-step:hover .ai-business-step__icon svg {
  transform: rotate(-4deg) scale(1.06);
  stroke: #54396e;
}
.ai-business-step h3 {
  margin: 0 0 14px;
  color: #252525;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.ai-business-step h3::after {
  content: none;
  display: none;
}
.ai-business-step p {
  margin: 0;
  padding: 0 14px;
  color: #252525;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
.ai-business-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}
.ai-business-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  min-height: 44px;
  padding: 0 24px;
  background: #54396e;
  color: #ffffff !important;
  border: 1px solid #54396e;
  border-radius: 2px;
  box-shadow: none;
  transform: none;
  font-size: var(--dip-button-size);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}
.ai-business-btn--primary {
  background: #54396e;
  color: #ffffff !important;
}
.ai-business-btn--secondary {
  background: #ffffff;
  color: #54396e !important;
}
.ai-business-btn:hover {
  background: #54396e;
  color: #ffffff !important;
  transform: translateY(-2px);
}
@media (max-width: 1100px) {
  .ai-business-banner {
    padding: 64px 32px;
    --dip-h2-size: clamp(26px, 2.3vw, 30px);
}
  .ai-business-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}
@media (max-width: 700px) {
  .ai-business-banner {
    padding: 48px 22px;
    --dip-h2-size: clamp(26px, 2.3vw, 30px);
}
  .ai-business-banner__box {
    width: 100%;
  }
  .ai-business-banner__title {
    font-size: var(--dip-h2-size);
  }
  .ai-business-banner__intro p {
    font-size: var(--dip-p-size);
    line-height: 1.65;
  }
  .ai-business-model-title {
    font-size: var(--dip-h3-size);
    margin: 32px 0 20px;
  }
  .ai-business-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ai-business-step {
    min-height: auto;
    padding: 20px 0;
  }
  .ai-business-actions {
    flex-direction: column;
    width: 100%;
  }
  .ai-business-btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}
@media (max-width: 560px) {
  .ai-business-steps {
    gap: 12px;
  }
}
.ai-center-bottom-form-box {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 980px;
  margin: 0 auto -64px;
}
/* Footer lead form: match the approved flat Hasifa form layout.
   Style only; form markup, field order, validation and CRM are unchanged.
   Keep the shared form layout rather than replacing its rows with a grid. */
:is(.site-footer, .ai-center-bottom-form-box, .ai-course-lead-form-box) .widescreen.form {
  width: min(944px, 100%) !important;
  max-width: 944px !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 24px 32px 22px !important;
  box-sizing: border-box !important;
  background: #f2f2f2 !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
}
:is(.site-footer, .ai-center-bottom-form-box, .ai-course-lead-form-box) .widescreen.form .form_title {
  text-align: center !important;
  margin-bottom: 16px !important;
}
:is(.site-footer, .ai-center-bottom-form-box, .ai-course-lead-form-box) .widescreen.form .form_title_txt_top {
  color: #54396e !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}
:is(.site-footer, .ai-center-bottom-form-box, .ai-course-lead-form-box) .widescreen.form :is(
  .form_input1, .form_input2, .form_input_tel_3b,
  .form_input_code_tel_4b, .form_input_select2, .form_input_select3
) {
  height: 40px !important;
  background: #ffffff !important;
  color: #252525 !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  box-sizing: border-box !important;
}
:is(.site-footer, .ai-center-bottom-form-box, .ai-course-lead-form-box) .widescreen.form .form_input_button {
  height: 40px !important;
  background: #54396e !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 0px !important;
  box-shadow: 0 6px 16px rgba(84, 57, 110, 0.12) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
:is(.site-footer, .ai-center-bottom-form-box, .ai-course-lead-form-box) .widescreen.form .form_input_button:hover {
  background: #cf1d66 !important;
}
:is(.ai-center-bottom-form-box, .ai-course-lead-form-box) .cellular.form {
  width: 100% !important;
  max-width: 520px !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 20px 18px !important;
  background: #f2f2f2 !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
:is(.ai-center-bottom-form-box, .ai-course-lead-form-box) .cellular.form .form_title_txt_top {
  color: #54396e !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}
:is(.ai-center-bottom-form-box, .ai-course-lead-form-box) .cellular.form :is(
  .form_input, .form_input_select, .form_input_tel, .form_input_code_tel
) {
  height: 46px !important;
  background: #ffffff !important;
  color: #252525 !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
}
:is(.ai-center-bottom-form-box, .ai-course-lead-form-box) .cellular.form .form_input_button_cell {
  background: #54396e !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 0px !important;
  box-shadow: none !important;
}
.site-footer {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin-top: 0;
  direction: rtl;
  background: radial-gradient(circle at 12% 8%, rgba(118, 118, 118, 0.14), transparent 34%), radial-gradient(circle at 88% 18%, rgba(84, 57, 110, 0.12), transparent 32%), linear-gradient(135deg, #ffffff 0%, #fff8fc 48%, #f2f4f4 100%);
  color: #000000;
  padding: 64px 0 30px;
}
.site-footer .footer-top-wrap {
  width: min(944px, calc(100% - 48px));
  transform: translateY(-48px);
  position: relative;
  z-index: 3;
  margin: 0 auto;
}
.site-footer .footer-main {
  width: min(1280px, calc(100% - 48px));
  display: flex;
  align-items: flex-start;
  gap: 54px;
  margin: -20px auto 0;
  padding: 42px 0 30px;
}
.site-footer .footer-links-col {
  flex: 0 0 240px;
}
.site-footer .footer-links-col h4 {
  padding-bottom: 10px;
  color: var(--ai-primary);
  font-size: 21px;
  font-weight: 700;
  position: relative;
  margin: 0 0 18px;
}
.site-footer .footer-links-col h4::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ai-primary), var(--ai-primary-dark));
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer a {
  color: #000000;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--ai-primary-dark);
}
.site-footer .footer-schools-area {
  flex: 1;
  min-width: 0;
}
.site-footer .footer-schools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 28px 34px;
}
.site-footer .footer-school-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 76px;
}
.site-footer .footer-school-logo,
.site-footer .footer-school-logo img {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  object-fit: contain;
}
.site-footer .footer-school-title {
  color: #000000;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 5px;
}
.site-footer .footer-school-line {
  width: 165px;
  max-width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.28);
  margin: 0 0 5px;
}
.site-footer .footer-school-subtitle {
  color: #555555;
  font-size: 13px;
  line-height: 1.3;
  margin: 0;
}
.site-footer .footer-bottom-text {
  width: min(1280px, calc(100% - 48px));
  padding-top: 18px;
  border-top: 1px solid rgba(118, 118, 118, 0.18);
  text-align: center;
  margin: 10px auto 0;
}
.site-footer .footer-bottom-text p {
  color: #555555;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--ai-primary), var(--ai-primary-dark));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ai-primary);
}
.ai-business-btn--primary {
  background: var(--ai-primary);
  color: #ffffff !important;
}
#courseLeadForm {
  scroll-margin-top: 180px;
}
.organizations-section {
  width: 100%;
  direction: rtl;
  background: #ffffff;
  overflow: hidden;
  border-bottom: 0 !important;
  border-top: 0 !important;
  padding: 46px 0 54px;
}
.carousel-header-wrapper {
  width: 100%;
  text-align: center;
  margin: 0 0 34px;
  padding: 0 20px;
}
.carousel-main-title {
  margin-top: 0;
  margin-right: auto !important;
  margin-bottom: 0;
  margin-left: auto !important;
  color: #252525;
  font-family: var(--ai-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center !important;
  width: 100%;
  padding: 0;
}
.carousel-main-title::after {
  content: none;
  display: none;
  width: min(350px, 72vw);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--ai-purple) 0%,
    #767676 100%
  );
  margin: 16px auto 0;
}
.logos-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  padding: 18px 0 24px;
}
.logos-slider-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
  right: 0;
  background: linear-gradient(
    to left,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
}
.logos-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
  left: 0;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
}
.logos-slide-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-logos-rtl 80s linear infinite;
  will-change: transform;
}
.logo-item {
  width: 190px;
  height: 100px;
  flex: 0 0 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  transform: none;
  margin: 0 12px;
  padding: 14px 18px;
  border: 0;
}
.logo-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 68px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  padding: 0;
  border: 0;
}
.logo-item:hover {
  transform: translateY(-5px);
  border-color: #767676;
  box-shadow: 0 12px 26px rgba(118, 118, 118, 0.16);
}
.logo-item img:hover {
  transform: none;
  box-shadow: none;
  border: 0;
}
.ai-breadcrumbs {
  position: absolute;
  top: calc(clamp(280px, 34vw, 510px) + 20px);
  right: 0;
  left: 0;
  z-index: 6;
  width: 100%;
  background: transparent;
  box-shadow: none !important;
  margin: 0;
  padding: 0 24px;
  border: 0 !important;
}
.ai-breadcrumbs ol {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  direction: rtl;
  color: #454545;
  font-size: 14px;
  line-height: 1.5;
}

.ai-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.ai-breadcrumbs li + li::before {
  content: "/";
  margin-inline-end: 8px;
  color: #767676;
}

.ai-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.ai-breadcrumbs a:hover {
  color: #54396e;
  text-decoration: underline;
}
.ai-course-card:only-child {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 760px;
  justify-self: center;
}
@keyframes scroll-logos-rtl {
from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50%);
  }
}
@media (max-width: 1180px) {
  .site-footer .footer-main {
    display: block;
  }
  .site-footer .footer-links-col {
    margin-bottom: 36px;
  }
  .site-footer .footer-schools-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}
@media (max-width: 800px) {
  /* On narrow screens the full lead form stays in normal document flow.
     Only the desktop version overlaps the footer. */
  .ai-center-bottom-form-box,
  .ai-course-lead-form-box {
    position: relative;
    z-index: 1;
    width: calc(100% - 36px);
    max-width: 520px;
    margin: 0 auto 28px;
    padding: 0;
  }
  .ai-center-bottom-form-box .cellular.form,
  .ai-course-lead-form-box .cellular.form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .ai-center-bottom-form-box .cellular.form :is(input, select, button),
  .ai-course-lead-form-box .cellular.form :is(input, select, button) {
    max-width: 100%;
    box-sizing: border-box;
  }
  .widescreen.form,
  .site-footer {
    display: none !important;
  }
  .mobile-footer-wrap {
    display: block !important;
    width: 100%;
  }
  body {
    padding-bottom: 78px !important;
  }
  .mobile-footer-bar {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: var(--ai-primary);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.24);
  }
  .mobile-footer-item {
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    text-align: center;
    text-decoration: none !important;
    padding: 6px 4px;
  }
  .mobile-footer-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 6px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
  }
}
@media (max-width: 768px) {
  .ai-refined-cta-btn {
    display: none;
    width: fit-content;
  max-width: 100%;
  font-size: 17px;
}
  .ai-courses-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .ai-course-card {
    padding: 22px;
    border: 1px solid #e3e3df;
  box-shadow: 0 4px 16px rgba(35, 28, 48, 0.05);
}
  .ai-course-card h3 {
    font-size: 22px;
    line-height: 1.35;
  margin: 0 0 12px;
}
  .ai-course-link {
    width: 100%;
  }
  #courseLeadForm {
    scroll-margin-top: 110px;
  }
  .organizations-section {
    padding-top: 38px;
    padding-bottom: 40px;
  }
  .carousel-header-wrapper {
    margin-bottom: 26px;
  }
  .logos-slider-container::before,
.logos-slider-container::after {
    width: 42px;
  }
  .logos-slide-track {
    animation-duration: 65s;
  }
  .logo-item {
    width: 154px;
    height: 86px;
    flex-basis: 154px;
    margin-right: 8px;
    margin-left: 8px;
    padding: 12px 15px;
  }
  .logo-item img {
    max-width: 124px;
    max-height: 58px;
  }
}
@media (min-width: 801px) {
  .cellular.form,
.mobile-footer-wrap {
    display: none !important;
  }
}
@media (max-width: 900px) {
  .ai-courses-header {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ai-branded-text,
.ai-lead-button-container {
    grid-row: auto;
  }
}
@media (max-width: 600px) {
  .ai-courses-section {
    padding: 40px 22px;
  }
  .ai-brand-strip {
    padding: 14px 22px 40px;
  }
  .hero-content {
    padding: 80px 24px 0;
}
  .hero-content h2 {
    font-size: 18px;
  }
  .ai-courses-grid {
    gap: 20px;
  }
  .ai-course-card p {
    font-size: 17px;
    line-height: 1.6;
  margin: 0 0 22px;
}
  .ai-course-link {
    flex: 1 1 auto;
  }
  .ai-breadcrumbs {
    top: calc(clamp(280px, 34vw, 510px) + 16px);
    padding-right: 22px;
    padding-left: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logos-slide-track {
    animation-play-state: paused;
  }
}
.ai-single-course-grid {
  grid-template-columns: minmax(0,1fr);
  max-width: 760px;
  margin: 0 auto;
}
.ai-reasons-section {
  padding: 60px 24px;
  background: #fff;
  direction: rtl;
}
.ai-reasons-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}
.ai-reasons-header {
  margin: 0 0 32px;
  text-align: right;
}
.ai-reasons-header h2 {
  margin: 0;
  color: #252525;
  font-size: clamp(26px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}
.ai-reasons-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  column-gap: 56px;
  row-gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.ai-reason-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 14px 0;
  min-width: 0;
}
.ai-reason-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  margin-top: 2px;
  color: var(--ai-burgundy);
}
.ai-reason-icon-box svg {
  width: 31px;
  height: 31px;
  stroke: currentColor;
}
.ai-reason-content {
  flex: 1;
  min-width: 0;
}
.ai-reason-content h3 {
  margin: 0 0 6px;
  color: #252525;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}
.ai-reason-content p {
  margin: 0;
  color: #454545;
  font-size: 17px;
  line-height: 1.6;
}
.ai-course-lead-form-box {
  position: relative;
  z-index: 4;
  box-sizing: border-box;
  width: min(980px, calc(100% - 48px));
  margin: 0 auto 28px;
  padding: 0;
  border: 0;
  border-radius: 0px;
  background: transparent;
  box-shadow: none;
  scroll-margin-top: 180px;
}
@media (min-width: 801px) {
  .ai-course-lead-form-box {
    margin-bottom: -64px;
  }
}
@media(max-width:900px) {
  .ai-reasons-list {
    grid-template-columns: 1fr;
  }
}
@media(max-width:600px) {
  .ai-reasons-section {
    padding: 40px 22px;
  }
  .ai-reason-item {
    gap: 15px;
    padding: 14px 0;
  }
  .ai-course-lead-form-box {
    width: calc(100% - 36px);
    padding: 0;
    margin: 0 auto 28px;
  }
}
/* 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: #54396e;
  text-decoration: underline;
  font-weight: 700;
}
.cookie-content a:hover {
  color: #767676;
}
.cookie-info-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1px solid #54396e;
  color: #54396e;
  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: #54396e;
  opacity: 0.85;
}
.ai-course-section {
  padding: 60px 24px;
  background: #ffffff;
  direction: rtl;
}
.ai-course-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.ai-course-section-title {
  margin: 0 0 20px;
  color: #252525;
  font-size: clamp(26px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}
.ai-course-section-lead {
  margin: 0 0 32px;
  color: #454545;
  font-size: 18px;
  line-height: 1.65;
}
.ai-course-uses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.ai-course-use-card {
  min-width: 0;
  padding: 30px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(35, 28, 48, 0.05);
  border: 1px solid #e3e3df;
}
.ai-course-use-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0 0 18px;
  color: var(--ai-primary);
}
.ai-course-use-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
}
.ai-course-use-card h3 {
  margin: 0 0 12px;
  color: #252525;
  font-size: 20px;
  line-height: 1.45;
}
.ai-course-use-card p {
  margin: 0;
  color: #454545;
  font-size: 17px;
  line-height: 1.6;
}
@media (max-width: 900px) {
.ai-course-uses-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 600px) {
.ai-course-section {
  padding: 40px 22px;
}
.ai-course-uses-grid {
  grid-template-columns: 1fr;
    gap: 20px;
}
.ai-course-use-card {
  padding: 24px;
  box-shadow: 0 4px 16px rgba(35, 28, 48, 0.05);
  border: 1px solid #e3e3df;
}
}
/* Lecturers: Interior Design center reference. */
.ai-lecturers-carousel-section * {
  box-sizing: border-box;
}
.ai-lecturers-carousel-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}
.ai-lecturers-header h2 {
  color: #252525;
  font-size: clamp(26px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  width: 100%;
  margin: 0 0 14px;
}
.ai-lecturers-carousel-section {
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  direction: rtl;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  background: #fff;
  padding: 60px 24px;
}
.ai-lecturers-header {
  width: 100%;
  max-width: none;
  text-align: right;
  margin: 0 0 24px;
  padding: 0;
}
.ai-lecturers-header p {
  width: 100%;
  max-width: 850px;
  color: #000000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
}
.ai-lecturers-carousel {
  direction: ltr;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 36px;
  width: 100%;
  max-width: none;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-behavior: auto !important;
  scrollbar-width: thin;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #54396e #eee;
  padding: 16px 0 24px;
}
.ai-lecturers-carousel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.ai-lecturer-slide {
  direction: rtl;
  position: relative;
  flex: 0 0 260px;
  width: 260px;
  min-width: 0;
  min-height: 320px;
  background: transparent;
  box-shadow: none;
  text-align: right;
  margin: 0;
  padding: 0;
  border: 0;
}
.ai-lecturer-slide::before,
.ai-lecturer-slide::after {
  display: none !important;
  content: none !important;
}
.ai-lecturer-photo {
  position: relative;
  width: 100%;
  height: 230px;
  margin: 0 0 16px;
}
.ai-lecturer-photo img {
  width: 100%;
  height: 100%;
  border-radius: 0px;
  display: block;
  object-fit: cover;
  object-position: center top;
  background: none;
  box-shadow: none;
  transition: transform 0.25s ease,
    box-shadow 0.25s ease;
  transform: none;
  border: 0;
}
.ai-lecturer-initial {
  width: 100%;
  height: 100%;
  border-radius: 0px;
  display: none;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, #54396e, #dc2f5d);
  box-shadow: 0 12px 24px rgba(118, 118, 118, 0.16);
}
.ai-lecturer-slide h3 {
  color: #000000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px;
}
.ai-lecturer-slide h3::after {
  content: none;
}
.ai-lecturer-role,
.ai-lecturer-slide h3 small {
  display: block;
  color: #666666;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 8px;
}
.ai-lecturer-slide p {
  width: 100%;
  max-width: none;
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto;
}
.ai-lecturer-slide:hover
.ai-lecturer-photo img {
  transform: translateY(-4px);
  box-shadow: 0 17px 30px rgba(118, 118, 118, 0.23);
}
@media (max-width: 768px) {
.ai-lecturer-slide {
  min-height: 330px;
}
}
@media (max-width: 480px) {
.ai-lecturer-slide {
  flex-basis: 210px;
  width: 210px;
}
}
@media (max-width: 600px) {
.ai-lecturers-carousel-section {
  padding: 40px 22px;
}
}
.ai-lecturers-header .brand-separator-line {
  display: none;
}


/* ================================================
   AI center: original HTML compatibility
   Purple #54396e, pink #dc2f5d, cyan #00f5fe.
   Flat layout follows STYLE_CENTERS.
   ================================================ */
:root {
  --ai-secondary: #dc2f5d;
  --ai-pink: #dc2f5d;
  --ai-cyan: #00f5fe;
  --ai-dark: #061223;
  --ai-dark-2: #11102a;
  --ai-text-soft: #454545;
  --ai-line: rgba(84, 57, 110, .18);
  --ai-purple-bright: #dc2f5d;
}

/* Existing AI header and desktop/mobile navigation. */
.ai-header-top {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  direction: rtl;
  padding: 16px 38px;
  background: #fff;
  border-bottom: 1px solid #e3e3df;
  box-sizing: border-box;
}
.ai-logo-area,
.ai-header-actions,
.ai-social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ai-logo-area a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.ai-logo-img {
  display: block;
  width: auto;
  max-width: 74px;
  height: auto;
}
.ai-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  line-height: 1.2;
}
.ai-logo-text span {
  color: var(--ai-primary);
  font-size: 22px;
  font-weight: 800;
}
.ai-logo-text b {
  margin-top: 4px;
  color: #252525;
  font-size: 15px;
  font-weight: 500;
}
.ai-header-phone a,
.ai-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  background: #fff;
  border: 1px solid var(--ai-primary);
  border-radius: 2px;
  color: var(--ai-primary);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.ai-header-phone a {
  min-width: 185px;
  padding: 0 15px;
  font-size: 18px;
  font-weight: 700;
}
.ai-social-icons a {
  width: 40px;
  height: 40px;
  font-size: 22px;
  font-weight: 700;
}
.ai-header-phone a:hover {
  background: var(--ai-primary);
  color: #fff;
}


.ai-desktop-nav {
  width: 100%;
  direction: rtl;
  background: var(--ai-primary);
}
.ai-desktop-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
}
.ai-desktop-nav li {
  margin: 0;
  padding: 0;
}
.ai-desktop-nav a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease;
}
.ai-desktop-nav a:hover,
.ai-desktop-nav a:focus-visible {
  color: #fff;
  background: var(--ai-secondary);
}
.ai-mobile-nav-bar {
  display: none;
  direction: rtl;
  width: 100%;
  background: var(--ai-primary);
  position: relative;
  z-index: 9998;
}
.ai-mobile-toggle {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
  padding: 0 18px;
  border: 0;
  color: #fff;
  background: var(--ai-primary);
  cursor: pointer;
}
.ai-mobile-nav-label {
  font-size: 16px;
  font-weight: 700;
}
.ai-hamburger-icon {
  width: 28px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ai-hamburger-icon span {
  width: 100%;
  height: 3px;
  display: block;
  border-radius: 2px;
  background: #fff;
}
.ai-mobile-menu-overlay {
  display: none;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e3e3df;
  box-shadow: 0 12px 28px rgba(30, 24, 40, .12);
}
.ai-mobile-nav-bar.is-open .ai-mobile-menu-overlay {
  display: block;
}
.ai-mobile-menu-overlay a {
  display: block;
  padding: 14px 18px;
  border-top: 1px solid #eee;
  color: var(--ai-primary);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  text-decoration: none;
}
.ai-mobile-menu-overlay a:hover {
  background: #f6f1f8;
}

/* Existing AI hero CTA does not use the Hasifa CTA class. */
.lead-button-container {
  text-align: right;
  margin: 26px 0 0;
}
.refined-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 52px;
  padding: 12px 28px;
  border: 1px solid var(--ai-primary);
  border-radius: 2px;
  color: #fff !important;
  background: var(--ai-primary);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none !important;
  transition: background .2s ease;
}
.refined-cta-btn:hover,
.refined-cta-btn:focus-visible {
  background: var(--ai-secondary);
  border-color: var(--ai-secondary);
  color: #fff !important;
}
.ai-brand-separator-line {
  display: none;
}

.ai-business-step:hover {
  border-color: rgba(220, 47, 93, .4);
}
.ai-business-banner__tag,
.ai-business-step__num {
  color: var(--ai-secondary);
}
.ai-business-btn:hover {
  background: var(--ai-secondary);
  border-color: var(--ai-secondary);
}
.ai-business-btn--secondary:hover {
  color: #fff !important;
}

/* Existing AI lecturer markup uses direct images, not photo wrappers. */
.ai-lecturer-slide > img,
.ai-lecturer-slide > a > img {
  display: block;
  width: 100%;
  height: 230px;
  margin: 0 0 16px;
  object-fit: cover;
  object-position: center top;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.ai-lecturer-slide h3::after {
  content: none;
  display: none;
}
.ai-lecturer-slide:hover > img,
.ai-lecturer-slide:hover > a > img {
  transform: none;
}
.ai-lecturers-header .ai-brand-separator-line {
  display: none;
}

/* Article cards are exclusive to STYLE_AI. */
.ai-articles-section {
  width: 100%;
  padding: 60px 24px;
  background: #ffffff;
  direction: rtl;
}
.ai-articles-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.ai-articles-header {
  margin: 0 0 32px;
  text-align: right;
}
.ai-articles-header h2 {
  margin: 0 0 14px;
  color: #252525;
  font-size: clamp(26px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}
.ai-articles-header p {
  margin: 0;
  color: #454545;
  font-size: 18px;
  line-height: 1.65;
}
.hasifa-articles-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.hasifa-article-link {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e3e3df;
  color: #252525 !important;
  text-decoration: none !important;
  transition: border-color .2s ease;
}
.hasifa-article-link:hover {
  border-color: var(--ai-primary);
}
.hasifa-article-img {
  display: block;
  width: 80px;
  height: 68px;
  object-fit: cover;
  border-radius: 0;
}
.hasifa-article-title {
  color: #252525;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
}
.hasifa-article-arrow {
  width: 24px;
  height: 24px;
  color: var(--ai-secondary);
}
.hasifa-article-link:hover .hasifa-article-title {
  color: var(--ai-primary);
}

/* Keep original hidden CRM fields visually hidden. */
.cellular.form .switch-off,
.widescreen.form .switch-off {
  position: absolute !important;
  right: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* AI-only form wrappers: retain the current CRM field structure. */
.bottom_body_box {
  display: none;
}
.site-footer .social-icon-png {
  width: 30px;
  height: 30px;
  margin-left: 6px;
  object-fit: contain;
}
.site-footer .footer-school-text {
  flex: 1;
  min-width: 0;
}
.site-footer .footer-school-title a {
  color: #000 !important;
  text-decoration: none !important;
}
.site-footer .footer-school-title a:hover {
  color: var(--ai-primary) !important;
}
.site-footer .widescreen.form .sendmetext,
.site-footer .widescreen.form .iagree_text {
  color: #252525 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}
.site-footer .widescreen.form .sendmetext input {
  accent-color: var(--ai-primary);
}
.site-footer .widescreen.form .button_form {
  color: #fff !important;
  background: var(--ai-primary) !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.site-footer .widescreen.form .button_form:hover {
  background: var(--ai-secondary) !important;
}
.site-footer {
  background:
    radial-gradient(circle at 88% 18%,
      rgba(220, 47, 93, .09), transparent 32%),
    linear-gradient(135deg, #fff 0%, #faf7fc 52%, #f4f4f4 100%);
}

/* Form styling for the existing AI mobile include. */
.bottom_body_box .cellular.form {
  width: 100% !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  padding: 20px 18px !important;
  background: #f2f2f2 !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
.bottom_body_box .cellular.form .form_title {
  text-align: center !important;
  margin: 0 0 16px !important;
}
.bottom_body_box .cellular.form .form_title_txt_top {
  color: var(--ai-primary) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
}
.bottom_body_box .cellular.form .form_row,
.bottom_body_box .cellular.form .form_row_iagree,
.bottom_body_box .cellular.form .form_row_button {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 0 12px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
.bottom_body_box .cellular.form :is(
  .form_input, .form_input_select,
  .form_input_tel, .form_input_code_tel
) {
  position: static !important;
  height: 46px !important;
  background: #fff !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 0 !important;
  color: #252525 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
.bottom_body_box .cellular.form .form_input,
.bottom_body_box .cellular.form .form_input_select {
  display: block !important;
  width: 100% !important;
}
.bottom_body_box .cellular.form .form_input_tel {
  display: inline-block !important;
  width: calc(68% - 8px) !important;
  margin-left: 8px !important;
}
.bottom_body_box .cellular.form .form_input_code_tel {
  display: inline-block !important;
  width: 30% !important;
}
.bottom_body_box .cellular.form .sendmetext,
.bottom_body_box .cellular.form .iagree_text {
  color: #252525 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}
.bottom_body_box .cellular.form .button_form,
.bottom_body_box .cellular.form .form_input_button_cell {
  display: block !important;
  width: 100% !important;
  height: 46px !important;
  background: var(--ai-primary) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.bottom_body_box .cellular.form .button_form:hover,
.bottom_body_box .cellular.form .form_input_button_cell:hover {
  background: var(--ai-secondary) !important;
}

@media (max-width: 1100px) {
  .hasifa-articles-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .ai-header-top {
    padding: 12px 16px;
    min-height: 74px;
  }
  .ai-logo-area {
    gap: 10px;
  }
  .ai-logo-img {
    max-width: 54px;
  }
  .ai-logo-text span {
    font-size: 18px;
  }
  .ai-logo-text b {
    font-size: 13px;
  }
  .ai-header-actions,
  .ai-header-phone,
  .ai-social-icons,
  .ai-desktop-nav {
    display: none;
  }
  .ai-mobile-nav-bar {
    display: block;
  }
  .refined-cta-btn {
    display: none;
  }
  .bottom_body_box {
    display: block;
    width: 100%;
    padding: 28px 18px;
    background: #fff;
    direction: rtl;
    box-sizing: border-box;
  }
  #bottom_section {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
  .bottom_body_box .cellular.form .form_content {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }
  .bottom_body_box .cellular.form .sendmetext {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .bottom_body_box .cellular.form .sendmetext input {
    flex-shrink: 0;
    accent-color: var(--ai-primary);
  }
}
@media (max-width: 768px) {
  /* Preserve AI mobile menu behavior and its open-state hook. */
  .ai-mobile-nav-bar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99998;
  }
  .ai-mobile-menu-overlay {
    position: fixed;
    top: 48px;
    right: 0;
    left: 0;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    z-index: 99997;
  }
  .ai-header-top {
    margin-top: 48px;
  }
  .cookie-notice {
    z-index: 99999 !important;
  }
}
@media (max-width: 800px) {
  .form_modul {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .ai-lecturer-slide > img,
  .ai-lecturer-slide > a > img {
    height: 190px;
  }
  .ai-articles-section {
    padding: 40px 22px;
  }
  .ai-articles-header {
    margin-bottom: 24px;
  }
  .hasifa-articles-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hasifa-article-link {
    grid-template-columns: 76px minmax(0, 1fr) 24px;
    gap: 12px;
  }
  .hasifa-article-img {
    width: 76px;
    height: 62px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-business-step,
  .ai-lecturer-slide,
  .hasifa-article-link {
    transition: none;
  }
}

/* ==========================================================
   AI CENTER | FOOTER AND LEAD FORM
   Based on Hasifa's approved center layout.
   Brand colors only: purple #54396e, pink #dc2f5d.
   ========================================================== */
:root {
  --ai-footer-purple: #54396e;
  --ai-footer-pink: #dc2f5d;
  --ai-footer-gray: #f2f2f2;
  --ai-footer-line: #d9d9d5;
}

/* Cookies sit above the header, without covering it. */
body > .cookie-notice {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  z-index: 20 !important;
  margin: 0 !important;
}

/* Desktop navigation and mobile menu follow the cookie bar. */
@media (max-width: 768px) {
  .ai-mobile-nav-bar {
    position: sticky !important;
    top: 0 !important;
    z-index: 9998;
  }

  .ai-header-top {
    margin-top: 0 !important;
  }

  .ai-mobile-menu-overlay {
    position: absolute !important;
    top: 100% !important;
    right: 0;
    left: 0;
    max-height: calc(100vh - 48px);
  }
}

/* Same light gray footer surface and white floating form as Hasifa. */
.ai-compact-footer {
  position: relative;
  width: 100%;
  margin-top: 120px;
  padding: 0 24px 22px;
  background: var(--ai-footer-gray);
  color: #252525;
  direction: rtl;
  box-sizing: border-box;
  font-family: var(--ai-font);
}

.ai-compact-footer *,
.ai-compact-footer *::before,
.ai-compact-footer *::after {
  box-sizing: border-box;
}

.ai-compact-footer a {
  color: inherit;
  text-decoration: none;
}

.ai-compact-footer a:hover {
  color: var(--ai-footer-purple);
}

.ai-footer-form-wrap {
  position: relative;
  z-index: 4;
  width: min(1050px, 100%);
  margin: 0 auto -78px;
  transform: translateY(-95px);
}

.ai-footer-form-card {
  width: 100%;
  padding: 29px 40px 22px;
  background: #ffffff;
  border: 1px solid var(--ai-footer-line);
  box-shadow: none;
}

.ai-footer-form-title {
  margin: 0 0 24px;
  color: var(--ai-footer-purple);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.ai-footer-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  direction: rtl;
}

.ai-form-field {
  display: block;
  min-width: 0;
  margin: 0;
}

.ai-footer-form-grid > .ai-footer-phone-grid {
  grid-column: span 2;
}

.ai-footer-phone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 105px;
  gap: 12px;
  min-width: 0;
}

.ai-footer-form-grid :is(input, select) {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  color: #252525 !important;
  background: #fbfbfc !important;
  border: 1px solid var(--ai-footer-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: 500 15px var(--ai-font) !important;
  text-align: right;
}

.ai-footer-form-grid :is(input, select):focus-visible {
  border-color: var(--ai-footer-purple) !important;
  outline: 2px solid rgba(84, 57, 110, .28);
  outline-offset: 1px;
}

.ai-footer-form-grid input[type="submit"] {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  background: var(--ai-footer-purple) !important;
  border: 1px solid var(--ai-footer-purple) !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-align: center;
  cursor: pointer;
}

.ai-footer-form-grid input[type="submit"]:hover {
  background: var(--ai-footer-pink) !important;
  border-color: var(--ai-footer-pink) !important;
}

.ai-footer-form-consent {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  color: #454545;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
  cursor: pointer;
}

.ai-footer-form-consent input {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  accent-color: var(--ai-footer-purple);
}

.ai-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap;
}

.ai-footer-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
}

/* Hasifa structure: narrow info rail, wide courses panel. */
.ai-footer-main {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  padding: 70px 0 50px;
}

.ai-footer-info {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.ai-footer-info-block h3,
.ai-footer-courses-block > h3,
.ai-footer-schools-section > h3 {
  margin: 0 0 16px;
  color: #292929;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.ai-footer-info-block h3::after,
.ai-footer-courses-block > h3::after {
  display: block;
  content: "";
  width: 40px;
  height: 2px;
  margin-top: 9px;
  background: var(--ai-footer-purple);
}

.ai-footer-info-block ul,
.ai-footer-course-group ul,
.ai-footer-schools-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ai-footer-info-block li {
  margin: 0 0 9px;
  color: #555555;
  font-size: 14px;
  line-height: 1.5;
}

.ai-footer-phone {
  color: var(--ai-footer-purple) !important;
  font-size: 19px;
  font-weight: 700;
}

.ai-footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.ai-footer-socials a,
.ai-footer-socials img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.ai-footer-course-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
}

.ai-footer-course-group {
  min-width: 0;
}

.ai-footer-course-group h4 {
  margin: 0 0 13px;
  color: var(--ai-footer-purple);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.ai-footer-course-group li {
  margin: 0 0 11px;
  color: #666666;
  font-size: 13px;
  line-height: 1.5;
}

/* Mobile accordion, identical structure to Hasifa's mobile footer. */
.ai-footer-mobile-panels {
  display: none;
}

/* Four logos per row, two rows, as in the Hasifa footer. */
.ai-footer-schools-section {
  padding: 27px 0 30px;
  border-top: 1px solid #d8d8d8;
}

.ai-footer-schools-section > h3 {
  margin-bottom: 24px;
  font-size: 17px;
}

.ai-footer-schools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
}

.ai-school-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ai-school-link img {
  display: block;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.ai-school-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ai-school-copy strong {
  color: #252525;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.ai-school-copy small {
  color: #666666;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}

.ai-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid #d8d8d8;
  color: #777777;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .ai-footer-main {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 32px;
  }

  .ai-footer-course-columns {
    gap: 20px;
  }

  .ai-footer-schools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .ai-compact-footer {
    margin-top: 0;
    padding: 35px 20px 25px;
  }

  /* White form over gray background, as in the reference. */
  .bottom_body_box {
    background: #f2f2f2;
  }

  .bottom_body_box .cellular.form {
    background: #ffffff !important;
    border-color: var(--ai-footer-line) !important;
  }

  /* The existing CRM mobile form remains above this footer. */
  .ai-footer-form-wrap {
    display: none;
  }

  .ai-footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 0 0 35px;
  }

  .ai-footer-info {
    gap: 22px;
  }

  .ai-footer-courses-block,
  .ai-footer-schools-section {
    display: none;
  }

  .ai-footer-mobile-panels {
    display: block;
    padding: 0 0 24px;
  }

  .ai-footer-mobile-panels details {
    border-top: 1px solid #d8d8d8;
  }

  .ai-footer-mobile-panels details:last-child {
    border-bottom: 1px solid #d8d8d8;
  }

  .ai-footer-mobile-panels summary {
    position: relative;
    padding: 17px 0;
    color: #252525;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .ai-footer-mobile-panels summary::-webkit-details-marker {
    display: none;
  }

  .ai-footer-mobile-panels summary::after {
    content: "+";
    position: absolute;
    left: 4px;
    color: var(--ai-footer-purple);
    font-size: 21px;
    line-height: 1;
  }

  .ai-footer-mobile-panels details[open] summary::after {
    content: "-";
  }

  .ai-footer-mobile-panels ul {
    list-style: none;
    margin: 0;
    padding: 0 0 16px;
  }

  .ai-footer-mobile-panels li {
    margin: 0 0 12px;
    color: #555555;
    font-size: 14px;
    line-height: 1.5;
  }

  .ai-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

@media (max-width: 460px) {
  .ai-footer-schools-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive AI center hero video.
   Keep the desktop crop; show the complete frame on smaller screens. */
@media (max-width: 900px) {
  .hero-video-section,
  .hero-video-wrapper {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .hero-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }
}
