:root {
  --diploma-primary-dark: #767676;
  --diploma-primary: #83acb6;
  --diploma-text: #000000;
  --diploma-muted: #5f5f66;
  --diploma-white: #ffffff;
  --diploma-soft: #f8fafb;
  --diploma-soft-primary: #eef5f6;
  --diploma-border: rgba(131, 172, 182, 0.18);
  --diploma-shadow: 0 18px 42px rgba(24, 20, 38, 0.14);
  --diploma-radius: 14px;
  --diploma-font: "Open Sans", Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

html,
body,
input,
button,
select,
textarea {
  font-family: var(--diploma-font);
}

body {
  margin: 0;
  color: var(--diploma-text);
  background: var(--diploma-white);
}

main {
  display: block;
  width: 100%;
  overflow: hidden;
}

main *,
main *::before,
main *::after {
  box-sizing: border-box;
}

img,
video,
svg {
  max-width: 100%;
}

/* HERO */
.hero-video-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #11101a;
  direction: rtl;
}

.hero-video-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1980 / 700;
  min-height: 360px;
  background: #11101a;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
  	  linear-gradient(
          90deg,
          rgba(10, 15, 45, 0.72) 0%,
          rgba(84, 57, 110, 0.50) 48%,
          rgba(10, 15, 45, 0.20) 100%
      );
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  max-width: 1100px;
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
}

.hero-content h2 {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

/* SHARED TITLES */
.diploma-brand-separator-line {
  width: min(350px, 72vw);
  height: 4px;
  margin: 15px auto;
  background: linear-gradient(90deg, var(--diploma-primary) 0%, var(--diploma-primary-dark) 100%);
  border-radius: 999px;
}

/* INTRO */
.diploma-brand-strip {
  width: 100%;
  padding: 48px 24px 54px;
  background: #ffffff;
  direction: rtl;
}

.diploma-main-content-area {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.diploma-branded-headline {
  margin: 0 0 14px;
  color: var(--diploma-primary);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.diploma-branded-text {
  max-width: 1200px;
  margin: 0 auto;
  color: var(--diploma-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
}

.diploma-branded-text p {
  margin: 0 0 10px;
}

.diploma-brand-bold-line {
  max-width: 1000px;
  margin: 18px auto 0;
  color: var(--diploma-primary);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.4;
}

.diploma-lead-button-container {
  margin: 26px 0 0;
  text-align: center;
}

.diploma-refined-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(650px, 100%);
  min-height: 52px;
  padding: 12px 28px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--diploma-primary) 0%, var(--diploma-primary-dark) 100%);
  color: #ffffff !important;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(131, 172, 182, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.diploma-refined-cta-btn:hover,
.diploma-refined-cta-btn:focus {
  background: var(--diploma-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(118, 118, 118, 0.24);
}

/* COURSES */
.diploma-courses-section {
  width: 100%;
  padding: 72px 24px 82px;
  background: radial-gradient(circle at 12% 8%, rgba(131, 172, 182, 0.13), transparent 34%), radial-gradient(circle at 88% 18%, rgba(118, 118, 118, 0.11), transparent 32%), linear-gradient(135deg, #ffffff 0%, #f8fafb 52%, #f2f4f4 100%);
  border-top: 1px solid #dfe7e9;
  border-bottom: 1px solid #dfe7e9;
  direction: rtl;
  overflow: hidden;
}

.diploma-courses-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.diploma-courses-header {
  max-width: 980px;
  margin: 0 auto 58px;
  text-align: center;
}

.diploma-courses-header-secondary {
  margin-top: 72px;
}

.diploma-courses-header h2 {
  margin: 0 0 14px;
  color: var(--diploma-primary);
  font-size: clamp(30px, 3.8vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}

.diploma-courses-header p {
  max-width: 900px;
  margin: 0 auto;
  color: var(--diploma-text);
  font-size: 18px;
  line-height: 1.5;
}

.diploma-courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 88px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}

.diploma-course-card {
  position: relative;
  min-height: 250px;
  padding: 34px 118px 28px 34px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(131, 172, 182, 0.18);
  border-radius: var(--diploma-radius);
  box-shadow: var(--diploma-shadow);
  overflow: visible;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.diploma-course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(118, 118, 118, 0.38);
  box-shadow: 0 24px 54px rgba(24, 20, 38, 0.2);
}

.diploma-course-icon {
  position: absolute;
  top: 50%;
  right: -48px;
  transform: translateY(-50%);
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #ffffff;
  border: 3px solid rgba(131, 172, 182, 0.45);
  box-shadow: 0 12px 28px rgba(131, 172, 182, 0.12), 0 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 2;
  animation: diplomaCourseIconFloat 3.8s ease-in-out infinite;
}

.diploma-course-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--diploma-primary-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.diploma-course-card:hover .diploma-course-icon {
  animation-play-state: paused;
}

.diploma-course-card:hover .diploma-course-icon svg {
  transform: scale(1.08) rotate(-3deg);
}

@keyframes diplomaCourseIconFloat {
  0%, 100% { transform: translateY(-50%) translateY(0); }
  50% { transform: translateY(-50%) translateY(-6px); }
}

.diploma-course-tag {
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--diploma-soft-primary);
  border: 1px solid rgba(131, 172, 182, 0.22);
  color: var(--diploma-primary-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
}

.diploma-course-card h3 {
  margin: 0 0 10px;
  color: var(--diploma-primary);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.28;
}

.diploma-course-card p {
  margin: 0 0 22px;
  color: var(--diploma-text);
  font-size: 16px;
  line-height: 1.5;
}

.diploma-course-card h3,
.diploma-course-card p,
.diploma-course-tag,
.diploma-course-actions {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.diploma-course-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.diploma-course-link {
  flex: 1;
  min-height: 42px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  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;
}

.diploma-course-details {
  background: var(--diploma-primary);
  border: 1.5px solid var(--diploma-primary);
  color: #ffffff !important;
}

.diploma-course-register {
  background: var(--diploma-primary-dark);
  border: 1.5px solid var(--diploma-primary-dark);
  color: #ffffff !important;
}

.diploma-course-link:hover,
.diploma-course-link:focus {
  transform: translateY(-2px);
  background: #ffffff;
}

.diploma-course-details:hover,
.diploma-course-details:focus {
  color: var(--diploma-primary) !important;
}

.diploma-course-register:hover,
.diploma-course-register:focus {
  color: var(--diploma-primary-dark) !important;
}

/* BUSINESS BANNER: HTML currently uses ai- class names */
.ai-business-banner,
.diploma-business-banner {
  width: 100%;
  padding: 54px 24px;
  direction: rtl;
  background: #ffffff;
}

.ai-business-banner__box,
.diploma-business-banner__box {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 34px 32px 30px;
  background: radial-gradient(circle at 12% 8%, rgba(131, 172, 182, 0.1), transparent 34%), radial-gradient(circle at 88% 18%, rgba(118, 118, 118, 0.1), transparent 32%), linear-gradient(135deg, #ffffff 0%, #f8fafb 48%, #f2f4f4 100%);
  border: 1px solid var(--diploma-border);
  border-radius: var(--diploma-radius);
  box-shadow: 0 14px 34px rgba(131, 172, 182, 0.1);
  text-align: center;
}

.ai-business-banner__tag,
.diploma-business-banner__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--diploma-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.ai-business-banner__title,
.diploma-business-banner__title {
  margin: 0 0 14px;
  color: var(--diploma-primary);
  font-size: clamp(28px, 3.3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
}

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

.ai-business-banner__intro p,
.diploma-business-banner__intro p {
  margin: 0;
  color: var(--diploma-text);
  font-size: 17px;
  line-height: 1.55;
}

.ai-business-model-title,
.diploma-business-model-title {
  margin: 0 0 22px;
  color: var(--diploma-primary);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
}

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

.ai-business-step,
.diploma-business-step {
  position: relative;
  min-height: 245px;
  padding: 20px 18px 18px;
  background: #ffffff;
  border: 1px solid var(--diploma-border);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(131, 172, 182, 0.08);
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ai-business-step:hover,
.diploma-business-step:hover {
  transform: translateY(-6px);
  border-color: rgba(118, 118, 118, 0.34);
  box-shadow: 0 16px 32px rgba(131, 172, 182, 0.14);
}

.ai-business-step__num,
.diploma-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(118, 118, 118, 0.24);
  border-radius: 8px;
  color: var(--diploma-primary);
  background: #ffffff;
  font-size: 17px;
  font-weight: 800;
}

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

.ai-business-step__icon svg,
.diploma-business-step__icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--diploma-primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-business-step:hover .ai-business-step__icon,
.diploma-business-step:hover .diploma-business-step__icon {
  transform: scale(1.06);
  background: rgba(118, 118, 118, 0.12);
}

.ai-business-step h3,
.diploma-business-step h3 {
  margin: 0 0 10px;
  color: var(--diploma-primary);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.ai-business-step h3::after,
.diploma-business-step h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: var(--diploma-primary-dark);
}

.ai-business-step p,
.diploma-business-step p {
  margin: 0;
  color: var(--diploma-text);
  font-size: 15px;
  line-height: 1.45;
}

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

.ai-business-btn,
.diploma-business-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 9px;
  background: var(--diploma-primary);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.25s ease, background 0.25s ease;
}

.ai-business-btn:hover,
.diploma-business-btn:hover {
  background: var(--diploma-primary-dark);
  transform: translateY(-2px);
}

/* REASONS */
.diploma-reasons-section {
  width: 100%;
  padding: 66px 24px 72px;
  background: #ffffff;
  direction: rtl;
}

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

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

.diploma-reasons-header h2 {
  margin: 0;
  color: var(--diploma-primary);
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}

.diploma-reasons-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 80px;
  row-gap: 44px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.diploma-reason-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.diploma-reason-icon-box {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--diploma-soft-primary);
  color: var(--diploma-primary-dark);
  transition: color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.diploma-reason-icon-box svg {
  width: 25px;
  height: 25px;
}

.diploma-reason-content {
  flex: 1;
  min-width: 0;
}

.diploma-reason-content h3 {
  margin: 0 0 7px;
  color: var(--diploma-primary);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.diploma-reason-content p {
  margin: 0;
  color: var(--diploma-text);
  font-size: 16px;
  line-height: 1.45;
}

.diploma-reason-item:hover .diploma-reason-icon-box {
  color: var(--diploma-primary);
  background: rgba(118, 118, 118, 0.1);
  transform: translateY(-2px) scale(1.05);
}

/* BOTTOM FORM WRAPPER */
.diploma-center-bottom-lead-section {
  width: 100%;
  padding: 54px 24px 0;
  direction: rtl;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.diploma-center-bottom-form-box {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

/* DESKTOP FORM */
.widescreen.form,
.site-footer .widescreen.form {
  width: min(900px, calc(100% - 32px)) !important;
  max-width: 900px !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 26px 28px 18px !important;
  background: #ffffff !important;
  border: 2px solid rgba(131, 172, 182, 0.2) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 34px rgba(131, 172, 182, 0.13) !important;
  box-sizing: border-box !important;
}

.widescreen.form .form_content {
  width: 100% !important;
  height: auto !important;
}

.widescreen.form .form_title {
  margin: 0 0 18px !important;
  text-align: center !important;
}

.widescreen.form .form_title_txt_top {
  color: var(--diploma-primary) !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.widescreen.form .form_row {
  width: 100% !important;
  height: auto !important;
  min-height: 54px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  display: grid !important;
  gap: 16px !important;
  align-items: end !important;
  overflow: visible !important;
}

.widescreen.form form > .form_row:nth-of-type(2) {
  grid-template-columns: 1fr 1fr 0.78fr 0.3fr !important;
}

.widescreen.form form > .form_row:nth-of-type(3) {
  grid-template-columns: 1fr 1fr 1fr !important;
}

.widescreen.form form > .form_row:nth-of-type(4) {
  grid-template-columns: minmax(0, 1fr) 250px !important;
  align-items: center !important;
}

.widescreen.form label {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.widescreen.form .form_input1,
.widescreen.form .form_input2,
.widescreen.form .form_input_tel_3b,
.widescreen.form .form_input_code_tel_4b,
.widescreen.form .form_input_select2,
.widescreen.form .form_input_select3 {
  position: static !important;
  width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  background: #ffffff !important;
  border: 0 !important;
  border-bottom: 2px solid rgba(131, 172, 182, 0.78) !important;
  border-radius: 0 !important;
  color: #000000 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 48px !important;
  text-align: right !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.widescreen.form .form_input1:focus,
.widescreen.form .form_input2:focus,
.widescreen.form .form_input_tel_3b:focus,
.widescreen.form .form_input_code_tel_4b:focus,
.widescreen.form .form_input_select2:focus,
.widescreen.form .form_input_select3:focus {
  outline: none !important;
  border-bottom-color: var(--diploma-primary-dark) !important;
}

.widescreen.form .sendmetext,
.widescreen.form .iagree_text {
  color: #000000 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.widescreen.form .form_input_button,
.widescreen.form .button_form {
  position: static !important;
  width: 100% !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: linear-gradient(90deg, var(--diploma-primary) 0%, var(--diploma-primary-dark) 100%) !important;
  color: #ffffff !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 46px !important;
  text-align: center !important;
  cursor: pointer !important;
  box-shadow: 0 10px 22px rgba(131, 172, 182, 0.18) !important;
}

/* MOBILE FORM */
.bottom_body_box {
  width: 100%;
  padding: 32px 16px 96px;
  direction: rtl;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

#bottom_section {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.cellular.form {
  width: 100% !important;
  max-width: 520px !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 24px 18px 26px !important;
  background: #ffffff !important;
  border: 2px solid rgba(131, 172, 182, 0.2) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 34px rgba(131, 172, 182, 0.13) !important;
  overflow: visible !important;
}

.cellular.form .form_content,
.cellular.form .form_row,
.cellular.form .form_row_iagree,
.cellular.form .form_row_button {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.cellular.form .form_title {
  margin: 0 0 20px !important;
  text-align: center !important;
}

.cellular.form .form_title_txt_top {
  color: var(--diploma-primary) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}

.cellular.form .form_row,
.cellular.form .form_row_iagree,
.cellular.form .form_row_button {
  margin: 0 0 12px !important;
  padding: 0 !important;
}

.cellular.form label {
  display: block !important;
  width: 100% !important;
}

.cellular.form .form_input,
.cellular.form .form_input_tel,
.cellular.form .form_input_code_tel,
.cellular.form .form_input_select {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  margin: 0 0 10px !important;
  padding: 0 8px !important;
  background: #ffffff !important;
  border: 0 !important;
  border-bottom: 2px solid rgba(131, 172, 182, 0.78) !important;
  border-radius: 0 !important;
  color: #000000 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 50px !important;
  text-align: right !important;
  box-shadow: none !important;
}

.cellular.form .form_row:has(.form_input_tel) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 92px !important;
  gap: 12px !important;
}

.cellular.form .form_input_tel,
.cellular.form .form_input_code_tel {
  width: 100% !important;
  margin: 0 !important;
}

.cellular.form .sendmetext,
.cellular.form .iagree_text {
  color: #000000 !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.cellular.form .button_form,
.cellular.form .form_input_button_cell {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  margin: 8px 0 0 !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: linear-gradient(90deg, var(--diploma-primary) 0%, var(--diploma-primary-dark) 100%) !important;
  color: #ffffff !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 50px !important;
  cursor: pointer !important;
}

/* FOOTER */
.site-footer {
  display: block;
  width: 100%;
  margin-top: 90px;
  padding: 0 0 30px;
  direction: rtl;
  background: radial-gradient(circle at 12% 8%, rgba(131, 172, 182, 0.14), transparent 34%), radial-gradient(circle at 88% 18%, rgba(118, 118, 118, 0.12), transparent 32%), linear-gradient(135deg, #ffffff 0%, #f8fafb 48%, #f2f4f4 100%);
  color: #000000;
}

.site-footer .footer-top-wrap {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  transform: translateY(-48px);
  position: relative;
  z-index: 3;
}

.site-footer .footer-main {
  width: min(1280px, calc(100% - 48px));
  margin: -20px auto 0;
  padding: 42px 0 30px;
  display: flex;
  align-items: flex-start;
  gap: 54px;
}

.site-footer .footer-links-col {
  flex: 0 0 240px;
}

.site-footer .footer-links-col h4 {
  margin: 0 0 18px;
  padding-bottom: 10px;
  color: var(--diploma-primary);
  font-size: 21px;
  font-weight: 700;
  position: relative;
}

.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(--diploma-primary), var(--diploma-primary-dark));
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #000000;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--diploma-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 {
  margin: 0 0 5px;
  color: #000000;
  font-size: 17px;
  font-weight: 700;
}

.site-footer .footer-school-line {
  width: 165px;
  max-width: 100%;
  height: 1px;
  margin: 0 0 5px;
  background: rgba(0, 0, 0, 0.28);
}

.site-footer .footer-school-subtitle {
  margin: 0;
  color: #555555;
  font-size: 13px;
  line-height: 1.3;
}

.site-footer .footer-bottom-text {
  width: min(1280px, calc(100% - 48px));
  margin: 10px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(131, 172, 182, 0.18);
  text-align: center;
}

.site-footer .footer-bottom-text p {
  margin: 0;
  color: #555555;
  font-size: 12px;
  line-height: 1.6;
}

.mobile-footer-wrap {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 1180px) {
  .diploma-courses-grid {
    grid-template-columns: 1fr;
    max-width: 860px;
    gap: 52px;
  }

  .ai-business-steps,
  .diploma-business-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .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: 991px) {
  .diploma-reasons-list {
    grid-template-columns: 1fr;
    max-width: 760px;
    row-gap: 34px;
  }
}

@media (max-width: 800px) {
  .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(--diploma-primary);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.24);
  }

  .mobile-footer-item {
    min-height: 78px;
    padding: 6px 4px;
    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;
  }

  .mobile-footer-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 6px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
  }
}

@media (max-width: 768px) {
  .hero-video-wrapper {
    min-height: 230px;
    aspect-ratio: 16 / 7;
  }

  .hero-content {
    width: calc(100% - 24px);
    padding: 16px 0;
  }

  .hero-content h1 {
    margin-bottom: 8px;
    font-size: clamp(22px, 7vw, 30px);
  }

  .hero-content h2 {
    font-size: clamp(15px, 4vw, 20px);
  }

  .diploma-brand-strip {
    padding: 44px 18px 50px;
  }

  .diploma-branded-headline,
  .diploma-courses-header h2,
  .diploma-reasons-header h2 {
    font-size: 28px;
  }

  .diploma-branded-text,
  .diploma-courses-header p {
    font-size: 16px;
    line-height: 1.55;
  }

  .diploma-refined-cta-btn {
    display: none;
  }

  .diploma-courses-section {
    padding: 54px 16px 62px;
  }

  .diploma-courses-header {
    margin-bottom: 48px;
  }

  .diploma-courses-header-secondary {
    margin-top: 58px;
  }

  .diploma-courses-grid {
    gap: 58px;
  }

  .diploma-course-card {
    min-height: 0;
    padding: 66px 20px 24px;
    text-align: center;
  }

  .diploma-course-card h3,
  .diploma-course-card p,
  .diploma-course-tag,
  .diploma-course-actions {
    max-width: 100%;
  }

  .diploma-course-icon {
    top: -38px;
    right: 50%;
    width: 76px;
    height: 76px;
    transform: translateX(50%);
    animation: none;
  }

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

  .diploma-course-tag {
    margin: 0 auto 12px;
  }

  .diploma-course-actions {
    flex-direction: column;
  }

  .diploma-course-link {
    width: 100%;
  }

  .ai-business-banner,
  .diploma-business-banner {
    padding: 42px 16px;
  }

  .ai-business-banner__box,
  .diploma-business-banner__box {
    padding: 26px 18px;
  }

  .ai-business-steps,
  .diploma-business-steps {
    grid-template-columns: 1fr;
  }

  .ai-business-step,
  .diploma-business-step {
    min-height: 0;
  }

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

  .diploma-reasons-section {
    padding: 54px 18px 60px;
  }

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

  .diploma-reason-content h3 {
    font-size: 19px;
  }

  .diploma-reason-content p {
    font-size: 15px;
  }

  .widescreen.form {
    display: none !important;
  }
}

@media (min-width: 801px) {
  .bottom_body_box,
  .cellular.form,
  .mobile-footer-wrap {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .hero-video-wrapper {
    min-height: 210px;
  }

  .diploma-brand-strip,
  .diploma-courses-section,
  .diploma-reasons-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .diploma-reason-item {
    gap: 14px;
  }

  .diploma-reason-icon-box {
    width: 38px;
    height: 38px;
  }
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--diploma-primary), var(--diploma-primary-dark));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--diploma-primary);
}

.ai-business-btn--primary,
.diploma-business-btn--primary {
  background: var(--diploma-primary);
  color: #ffffff !important;
}

#courseLeadForm {
  scroll-margin-top: 180px;
}

@media (max-width: 768px) {
  #courseLeadForm {
    scroll-margin-top: 110px;
  }
}

/* ========================================================================
   INTERIOR CENTER - COURSE PAGE COMPONENTS
   Imported and adapted from diploma-interior-course-page-meli.css
   ======================================================================== */

.diploma-course-section {
  width: 100%;
  padding: 54px 20px;
  direction: rtl;
  font-family: var(--diploma-font);
  box-sizing: border-box;
}

.diploma-course-inner,
.diploma-course-why-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.diploma-course-section-title,
.diploma-course-why-content h2 {
  margin: 0 0 15px;
  color: var(--diploma-text);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.diploma-course-section-title::after,
.diploma-course-why-content h2::after {
  content: "";
  display: block;
  width: 160px;
  max-width: 100%;
  height: 3px;
  margin-top: 10px;
  border-radius: 8px;
  background: linear-gradient(to left, var(--diploma-primary) 0%, var(--diploma-primary-dark) 100%);
}

.diploma-course-section-lead {
  max-width: 980px;
  margin: 0 0 28px;
  color: var(--diploma-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

/* WHY STUDY */
#diplomaCourseWhy.diploma-course-section {
  padding: 50px 0;
  background: #ffffff;
}

.diploma-course-why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.diploma-course-why-content {
  text-align: right;
}

.diploma-course-why-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.diploma-course-why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.diploma-course-why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--diploma-primary);
}

.diploma-course-why-icon svg {
  width: 24px;
  height: 24px;
}

.diploma-course-why-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.diploma-course-why-text strong {
  color: var(--diploma-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.diploma-course-why-text span {
  color: var(--diploma-text);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}

.diploma-course-why-visual {
  width: 100%;
  display: flex;
  justify-content: center;
}

.diploma-course-why-image-card {
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.diploma-course-why-image-card img,
.diploma-course-why-visual img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}

/* FAQ */
#diplomaCourseFaq {
  padding: 60px 20px;
  background: #ffffff;
}

#diplomaCourseFaq .diploma-course-inner {
  max-width: 1200px;
  margin: 0 auto;
}

#diplomaCourseFaq .diploma-course-section-title {
  margin: 0 0 12px;
  color: var(--diploma-text);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
}

#diplomaCourseFaq .diploma-course-section-lead {
  margin: 0 0 40px;
  color: var(--diploma-text);
  font-size: 18px;
  line-height: 1.5;
  text-align: right;
}

.diploma-course-accordion,
#diplomaCourseFaq .diploma-course-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto 0;
}

#diplomaCourseFaq .diploma-course-acc-item {
  overflow: hidden;
  border: 1px solid rgba(131, 172, 182, 0.26);
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% 8%, rgba(131, 172, 182, 0.08), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(118, 118, 118, 0.08), transparent 32%),
    linear-gradient(110deg, #ffffff 0%, #f4f7f8 48%, #eef2f3 100%);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

#diplomaCourseFaq .diploma-course-acc-item:hover {
  border-color: var(--diploma-primary);
  box-shadow: 0 8px 22px rgba(131, 172, 182, 0.10);
}

#diplomaCourseFaq .diploma-course-acc-item.is-open,
#diplomaCourseFaq .diploma-course-acc-item.active {
  border-color: var(--diploma-primary);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(118, 118, 118, 0.10);
}

#diplomaCourseFaq .diploma-course-acc-head {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  color: var(--diploma-text);
  font-family: var(--diploma-font);
  text-align: right;
  cursor: pointer;
}

#diplomaCourseFaq .diploma-course-acc-right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

#diplomaCourseFaq .diploma-course-acc-title {
  color: var(--diploma-text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.2s ease;
}

#diplomaCourseFaq .diploma-course-acc-item.is-open .diploma-course-acc-title,
#diplomaCourseFaq .diploma-course-acc-item.active .diploma-course-acc-title {
  color: var(--diploma-primary);
}

#diplomaCourseFaq .diploma-course-acc-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--diploma-primary-dark);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}

#diplomaCourseFaq .diploma-course-acc-item.is-open .diploma-course-acc-arrow,
#diplomaCourseFaq .diploma-course-acc-item.active .diploma-course-acc-arrow {
  color: var(--diploma-primary);
  transform: rotate(180deg);
}

#diplomaCourseFaq .diploma-course-acc-body {
  max-height: 0;
  overflow: hidden;
  background: #ffffff;
  transition: max-height 0.35s ease;
}

#diplomaCourseFaq .diploma-course-acc-item.is-open .diploma-course-acc-body,
#diplomaCourseFaq .diploma-course-acc-item.active .diploma-course-acc-body {
  max-height: 2000px;
}

#diplomaCourseFaq .diploma-course-acc-body-inner {
  padding: 20px 24px 24px;
  border-top: 1px dashed rgba(118, 118, 118, 0.28);
  color: var(--diploma-text);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
}

@media (max-width: 991px) {
  .diploma-course-why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .diploma-course-why-content {
    order: 1;
  }

  .diploma-course-why-visual {
    order: 2;
  }

  .diploma-course-why-image-card,
  .diploma-course-why-visual img {
    max-width: 100%;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .diploma-course-section {
    padding: 42px 16px;
  }

  .diploma-course-inner,
  .diploma-course-why-inner {
    padding-right: 22px;
    padding-left: 22px;
  }

  .diploma-course-section-title,
  .diploma-course-why-content h2 {
    font-size: 24px;
  }

  .diploma-course-section-lead {
    font-size: 16px;
    line-height: 1.5;
  }

  #diplomaCourseWhy.diploma-course-section {
    padding: 46px 0;
  }

  .diploma-course-why-text strong {
    font-size: 18px;
  }

  .diploma-course-why-text span {
    font-size: 16px;
  }

  #diplomaCourseFaq {
    padding: 42px 16px;
  }

  #diplomaCourseFaq .diploma-course-section-title {
    font-size: 24px;
  }

  #diplomaCourseFaq .diploma-course-section-lead {
    margin-bottom: 28px;
    font-size: 16px;
  }

  #diplomaCourseFaq .diploma-course-faq-accordion {
    gap: 12px;
    margin-top: 24px;
  }

  #diplomaCourseFaq .diploma-course-acc-head {
    padding: 16px;
    gap: 14px;
  }

  #diplomaCourseFaq .diploma-course-acc-title {
    font-size: 16px;
  }

  #diplomaCourseFaq .diploma-course-acc-arrow {
    width: 28px;
    height: 28px;
    font-size: 21px;
  }

  #diplomaCourseFaq .diploma-course-acc-body-inner {
    padding: 16px;
    font-size: 15px;
  }
}

/* ========================================================================
   ADDED FROM INTERIOR COURSE PAGE: PORTFOLIO, LECTURERS CAROUSEL, ARTICLES
   ======================================================================== */

/* ========================================
   PORTFOLIO SECTION
======================================== */

.diploma-portfolio-section,
.diploma-portfolio-section * {
  box-sizing: border-box;
}

.diploma-portfolio-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 52px;
  padding-bottom: 58px;
  background: 
      radial-gradient(
      circle at 8% 12%,
      rgba(131, 172, 182, 0.14),
      transparent 34%
    ),
    radial-gradient(
      circle at 92% 86%,
      rgba(118, 118, 118, 0.08),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f9fbfb 52%,
      #f3f7f7 100%
    );
}

.diploma-portfolio-card {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(340px, 0.9fr)
    minmax(430px, 1.1fr);
  width: 100%;
  margin-top: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(131, 172, 182, 0.28);
  border-radius: 28px;
  box-shadow:
    0 24px 60px rgba(118, 118, 118, 0.13),
    0 5px 16px rgba(118, 118, 118, 0.06);
}


/* ========================================
   TEXT CONTENT
======================================== */

.diploma-portfolio-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 440px;
  padding: 48px 46px;
  background: #ffffff;
}

.diploma-portfolio-content::before {
  content: "";
  position: absolute;
  top: 48px;
  right: 0;
  width: 5px;
  height: 86px;
  background: linear-gradient(
    180deg,
    #83acb6 0%,
    #767676 100%
  );
  border-radius: 5px 0 0 5px;
}

.diploma-portfolio-title {
  max-width: 560px;
  margin-top: 0;
  margin-bottom: 18px;
}

.diploma-portfolio-text {
  max-width: 620px;
  margin: 0;
  color: #767676;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.85;
}


/* ========================================
   MAIN BUTTON
======================================== */

.diploma-portfolio-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 10px;
  min-height: 52px;
  margin-top: 28px;
  padding: 13px 25px;
  color: #ffffff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  background: #83acb6;
  border: 1px solid #83acb6;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(131, 172, 182, 0.3);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.diploma-portfolio-button svg {
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.diploma-portfolio-button:hover,
.diploma-portfolio-button:focus-visible {
  color: #ffffff;
  text-decoration: none;
  background: #767676;
  border-color: #767676;
  transform: translateY(-3px);
  box-shadow: 0 17px 34px rgba(118, 118, 118, 0.26);
}

.diploma-portfolio-button:hover svg,
.diploma-portfolio-button:focus-visible svg {
  transform: translateX(-4px);
}


/* ========================================
   GALLERY PREVIEW
======================================== */

.diploma-portfolio-visual {
  position: relative;
  min-width: 0;
  min-height: 440px;
  overflow: hidden;
  background: #ffffff;
}

.diploma-portfolio-visual iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 145%;
  height: 145%;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
  background: #ffffff;
  transform: scale(0.7);
  transform-origin: top right;
}

.diploma-portfolio-visual-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0) 38%
    ),
    linear-gradient(
      180deg,
      rgba(118, 118, 118, 0.01) 0%,
      rgba(118, 118, 118, 0.22) 100%
    );
}


/* ========================================
   GALLERY OVERLAY
======================================== */

.diploma-portfolio-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(118, 118, 118, 0.05);
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease;
}

.diploma-portfolio-overlay-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  color: #ffffff;
  background: rgba(131, 172, 182, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(118, 118, 118, 0.26);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}

.diploma-portfolio-overlay-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 21px;
  color: #ffffff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  background: rgba(118, 118, 118, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(118, 118, 118, 0.25);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}

.diploma-portfolio-overlay:hover,
.diploma-portfolio-overlay:focus-visible {
  color: #ffffff;
  text-decoration: none;
  background: rgba(118, 118, 118, 0.27);
  backdrop-filter: blur(2px);
}

.diploma-portfolio-overlay:hover
  .diploma-portfolio-overlay-icon,
.diploma-portfolio-overlay:focus-visible
  .diploma-portfolio-overlay-icon,
.diploma-portfolio-overlay:hover
  .diploma-portfolio-overlay-text,
.diploma-portfolio-overlay:focus-visible
  .diploma-portfolio-overlay-text {
  opacity: 1;
  transform: translateY(0);
}

.diploma-portfolio-overlay:hover
  .diploma-portfolio-overlay-icon {
  background: #83acb6;
}


/* ========================================
   ACCESSIBILITY
======================================== */

.diploma-portfolio-button:focus-visible,
.diploma-portfolio-overlay:focus-visible {
  outline: 3px solid rgba(131, 172, 182, 0.55);
  outline-offset: 4px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1050px) {

  .diploma-portfolio-card {
    grid-template-columns:
      minmax(330px, 1fr)
      minmax(360px, 1fr);
  }

  .diploma-portfolio-content {
    padding: 42px 34px;
  }

  .diploma-portfolio-text {
    font-size: 17px;
  }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 800px) {

  .diploma-portfolio-section {
    padding-top: 42px;
    padding-bottom: 46px;
  }

  .diploma-portfolio-card {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    border-radius: 22px;
  }

  .diploma-portfolio-content {
    order: 2;
    min-height: 0;
    padding: 32px 22px 30px;
  }

  .diploma-portfolio-content::before {
    top: 32px;
    width: 4px;
    height: 68px;
  }

  .diploma-portfolio-title {
    margin-bottom: 15px;
  }

  .diploma-portfolio-text {
    font-size: 17px;
    line-height: 1.75;
  }

  .diploma-portfolio-button {
    align-self: stretch;
    width: 100%;
    min-height: 50px;
    margin-top: 24px;
    padding: 13px 18px;
    font-size: 16px;
  }

  .diploma-portfolio-visual {
    order: 1;
    min-height: 280px;
    border-bottom: 1px solid rgba(131, 172, 182, 0.24);
  }

  .diploma-portfolio-visual iframe {
    width: 180%;
    height: 180%;
    transform: scale(0.56);
  }

  .diploma-portfolio-overlay {
    background: rgba(118, 118, 118, 0.13);
  }

  .diploma-portfolio-overlay-icon,
  .diploma-portfolio-overlay-text {
    opacity: 1;
    transform: translateY(0);
  }

  .diploma-portfolio-overlay-icon {
    width: 56px;
    height: 56px;
  }

  .diploma-portfolio-overlay-text {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 16px;
  }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 480px) {

  .diploma-portfolio-card {
    border-radius: 18px;
  }

  .diploma-portfolio-content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .diploma-portfolio-visual {
    min-height: 235px;
  }

  .diploma-portfolio-text {
    font-size: 16px;
  }

  .diploma-portfolio-overlay-icon {
    width: 52px;
    height: 52px;
  }
}


/* ========================================
   INTERIOR LECTURERS CAROUSEL
======================================== */

.interior-lecturers-carousel-section,
.interior-lecturers-carousel-section * {
  box-sizing: border-box;
}

.interior-lecturers-carousel-section {
  width: 100%;
  padding: 38px 0 42px;
  overflow: hidden;
  direction: rtl;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  background: #ffffff;
}

.interior-lecturers-carousel-container {
  width: 100%;
  margin: 0 auto;
}


/* ========================================
   HEADER
======================================== */

.interior-lecturers-header {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 12px;
  padding: 0 24px;
  text-align: center;
}

.interior-lecturers-header h2 {
  margin: 0;
  color: #000000;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.interior-lecturers-header .brand-separator-line {
  width: 180px;
  max-width: 80%;
  height: 3px;
  margin: 12px auto 14px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #83acb6 0%,
    #767676 100%
  );
}

.interior-lecturers-header p {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  color: #000000;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
}


/* ========================================
   MOVING TRACK
======================================== */

.interior-lecturers-carousel {
  direction: ltr;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 56px;
  width: 100%;
  max-width: none;
  overflow-x: scroll;
  overflow-y: hidden;
  padding: 24px 42px 18px;
  scroll-behavior: auto !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.interior-lecturers-carousel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}


/* ========================================
   LECTURER
======================================== */

.interior-lecturer-slide {
  direction: rtl;
  position: relative;
  flex: 0 0 240px;
  width: 240px;
  min-width: 240px;
  min-height: 320px;
  margin: 0;
  padding: 12px 10px 10px;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.interior-lecturer-slide::before,
.interior-lecturer-slide::after {
  display: none !important;
  content: none !important;
}


/* ========================================
   PHOTO
======================================== */

.interior-lecturer-photo {
  position: relative;
  width: 150px;
  height: 120px;
  margin: 0 auto 15px;
}

.interior-lecturer-photo img,
.interior-lecturer-initial {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.interior-lecturer-photo img {
  display: block;
  object-fit: cover;
  object-position: center top;
  border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(
      135deg,
      #83acb6 0%,
      #767676 100%
    ) border-box;
  box-shadow: 0 12px 24px rgba(118, 118, 118, 0.16);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.interior-lecturer-initial {
  display: none;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    #83acb6 0%,
    #767676 100%
  );
  box-shadow: 0 12px 24px rgba(118, 118, 118, 0.16);
}


/* ========================================
   TEXT
======================================== */

.interior-lecturer-slide h3 {
  margin: 0 0 6px;
  color: #000000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.interior-lecturer-slide h3::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin: 9px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #83acb6 0%,
    #767676 100%
  );
}

.interior-lecturer-role {
  display: block;
  margin: 0 0 8px;
  color: #83acb6;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.interior-lecturer-slide p {
  width: 100%;
  max-width: 215px;
  margin: 0 auto;
  color: #000000;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
}

.interior-lecturer-slide:hover
.interior-lecturer-photo img {
  transform: translateY(-4px);
  box-shadow: 0 17px 30px rgba(118, 118, 118, 0.23);
}


/* ========================================
   MOBILE
======================================== */

@media screen and (max-width: 768px) {

  .interior-lecturers-carousel-section {
    padding: 42px 0 46px;
  }

  .interior-lecturers-header {
    margin-bottom: 4px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .interior-lecturers-header h2 {
    font-size: 24px;
  }

  .interior-lecturers-header p {
    font-size: 16px;
    line-height: 1.5;
  }

  .interior-lecturers-carousel {
    gap: 34px;
    padding: 26px 24px 20px;
  }

  .interior-lecturer-slide {
    flex: 0 0 220px;
    width: 220px;
    min-width: 220px;
    min-height: 330px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .interior-lecturer-photo {
    width: 160px;
    height: 142px;
    margin-bottom: 16px;
  }

  .interior-lecturer-slide h3 {
    font-size: 20px;
  }

  .interior-lecturer-role {
    font-size: 14px;
  }

  .interior-lecturer-slide p {
    font-size: 15px;
    line-height: 1.45;
  }
}


@media screen and (max-width: 480px) {

  .interior-lecturers-carousel {
    gap: 28px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .interior-lecturer-slide {
    flex-basis: 210px;
    width: 210px;
    min-width: 210px;
  }

  .interior-lecturer-photo {
    width: 154px;
    height: 136px;
  }
}

/* =========================================================
   DIPLOMA ARTICLES SECTION
   Colors: light blue #83acb6 + gray #767676
========================================================= */

.diploma-articles-section,
.diploma-articles-section * {
  box-sizing: border-box;
}

.diploma-articles-section {
  width: 100%;
  padding: 48px 24px 58px;
  direction: rtl;
  overflow: hidden;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;

  background: #ffffff;
}


/* =========================================================
   INNER
========================================================= */

.diploma-articles-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}


/* =========================================================
   TOP AREA
========================================================= */

.diploma-articles-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  margin-bottom: 30px;
}

.diploma-articles-text {
  width: 100%;
  max-width: 850px;
  text-align: right;
}


/* =========================================================
   KICKER
========================================================= */

.diploma-articles-kicker {
  display: inline-block;
  margin: 0 0 8px;
  color: #83acb6;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}


/* =========================================================
   TITLE
========================================================= */

.diploma-articles-text h2 {
  margin: 0 0 12px;
  color: #000000;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.diploma-articles-text h2::after {
  content: "";
  display: block;
  width: 180px;
  max-width: 100%;
  height: 3px;
  margin-top: 11px;
  border-radius: 999px;

  background: linear-gradient(
    to left,
    #83acb6 0%,
    #767676 100%
  );
}


/* =========================================================
   DESCRIPTION
========================================================= */

.diploma-articles-text p {
  width: 100%;
  max-width: 850px;
  margin: 0;
  color: #000000;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}


/* =========================================================
   MAIN ARTICLES BUTTON
========================================================= */

.diploma-articles-main-btn {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 48px;
  padding: 12px 23px;

  color: #ffffff !important;
  background: #83acb6;

  border: 1px solid #83acb6;
  border-radius: 8px;

  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;

  box-shadow:
    0 10px 22px rgba(131, 172, 182, 0.24);

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.diploma-articles-main-btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;

  transition:
    transform 0.25s ease;
}

.diploma-articles-main-btn:hover,
.diploma-articles-main-btn:focus-visible {
  color: #ffffff !important;
  background: #767676;
  border-color: #767676;

  transform: translateY(-3px);

  box-shadow:
    0 14px 28px rgba(118, 118, 118, 0.24);
}

.diploma-articles-main-btn:hover svg,
.diploma-articles-main-btn:focus-visible svg {
  transform: translateX(-4px);
}

.diploma-articles-main-btn:focus-visible {
  outline: 3px solid rgba(131, 172, 182, 0.30);
  outline-offset: 3px;
}


/* =========================================================
   ARTICLES GRID
========================================================= */

.diploma-articles-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 22px;
  width: 100%;
}


/* =========================================================
   ARTICLE CARD
========================================================= */

.diploma-article-link {
  position: relative;

  display: grid;
  grid-template-columns:
    108px
    minmax(0, 1fr)
    34px;

  align-items: center;
  gap: 20px;

  width: 100%;
  min-width: 0;
  min-height: 108px;

  padding:
    12px
    14px
    12px
    18px;

  overflow: hidden;
  direction: rtl;

  color: #767676 !important;
  text-decoration: none !important;

  background: rgba(255, 255, 255, 0.98);

  border:
    1px solid
    rgba(118, 118, 118, 0.20);

  border-radius: 12px;

  box-shadow:
    0 12px 28px rgba(118, 118, 118, 0.07),
    0 3px 8px rgba(118, 118, 118, 0.03);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}


/* =========================================================
   BLUE-GRAY SIDE ACCENT
========================================================= */

.diploma-article-link::before {
  content: "";

  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;

  width: 4px;

  background: linear-gradient(
    180deg,
    #83acb6 0%,
    #767676 100%
  );

  opacity: 0;

  transition:
    opacity 0.25s ease;
}


/* =========================================================
   ARTICLE IMAGE
========================================================= */

.diploma-article-img {
  width: 108px;
  height: 80px;

  display: block;

  object-fit: cover;
  object-position: center;

  border-radius: 10px;
  border: 1px solid rgba(131, 172, 182, 0.16);

  background: #eef3f4;

  box-shadow:
    0 7px 16px rgba(118, 118, 118, 0.13);

  transition:
    transform 0.30s ease,
    filter 0.30s ease,
    box-shadow 0.30s ease;
}


/* =========================================================
   ARTICLE TITLE
========================================================= */

.diploma-article-title {
  display: block;
  min-width: 0;

  color: #767676;

  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;

  text-align: right;

  transition:
    color 0.25s ease;
}


/* =========================================================
   ARTICLE ARROW
========================================================= */

.diploma-article-arrow {
  width: 27px;
  height: 27px;

  justify-self: end;
  flex: 0 0 auto;

  color: #83acb6;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}


/* =========================================================
   ARTICLE HOVER
========================================================= */

.diploma-article-link:hover,
.diploma-article-link:focus-visible {
  color: #83acb6 !important;

  border-color:
    rgba(131, 172, 182, 0.52);

  background: #ffffff;

  transform: translateY(-4px);

  box-shadow:
    0 18px 36px rgba(118, 118, 118, 0.13),
    0 5px 12px rgba(118, 118, 118, 0.05);
}

.diploma-article-link:hover::before,
.diploma-article-link:focus-visible::before {
  opacity: 1;
}

.diploma-article-link:hover .diploma-article-img,
.diploma-article-link:focus-visible .diploma-article-img {
  transform: scale(1.04);
  filter: saturate(1.05);

  box-shadow:
    0 10px 20px rgba(118, 118, 118, 0.18);
}

.diploma-article-link:hover .diploma-article-title,
.diploma-article-link:focus-visible .diploma-article-title {
  color: #83acb6;
}

.diploma-article-link:hover .diploma-article-arrow,
.diploma-article-link:focus-visible .diploma-article-arrow {
  color: #767676;
  transform: translateX(-5px);
}

.diploma-article-link:focus-visible {
  outline: 3px solid rgba(131, 172, 182, 0.26);
  outline-offset: 3px;
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 900px) {

  .diploma-articles-section {
    padding:
      44px
      20px
      54px;
  }

  .diploma-articles-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;

    margin-bottom: 28px;
  }

  .diploma-articles-main-btn {
    align-self: flex-start;
  }

  .diploma-articles-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 600px) {

  .diploma-articles-section {
    padding:
      38px
      16px
      46px;
  }

  .diploma-articles-top {
    gap: 18px;
    margin-bottom: 24px;
  }

  .diploma-articles-kicker {
    margin-bottom: 6px;
    font-size: 14px;
  }

  .diploma-articles-text h2 {
    font-size: 23px;
    line-height: 1.3;
  }

  .diploma-articles-text h2::after {
    width: 150px;
  }

  .diploma-articles-text p {
    font-size: 16px;
    line-height: 1.5;
  }

  .diploma-articles-main-btn {
    width: 100%;
    min-height: 46px;
  }

  .diploma-articles-list {
    gap: 12px;
  }

  .diploma-article-link {
    grid-template-columns:
      78px
      minmax(0, 1fr)
      23px;

    gap: 11px;

    min-height: 84px;

    padding:
      9px
      10px
      9px
      12px;

    border-radius: 9px;
  }

  .diploma-article-img {
    width: 78px;
    height: 60px;

    border-radius: 8px;
  }

  .diploma-article-title {
    font-size: 15px;
    line-height: 1.35;
  }

  .diploma-article-arrow {
    width: 21px;
    height: 21px;
  }

  .diploma-article-link:hover,
  .diploma-article-link:focus-visible {
    transform: none;
  }

  .diploma-article-link:hover .diploma-article-img,
  .diploma-article-link:focus-visible .diploma-article-img {
    transform: none;
  }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media screen and (max-width: 380px) {

  .diploma-articles-section {
    padding-right: 12px;
    padding-left: 12px;
  }

  .diploma-article-link {
    grid-template-columns:
      70px
      minmax(0, 1fr)
      20px;

    gap: 9px;
  }

  .diploma-article-img {
    width: 70px;
    height: 56px;
  }

  .diploma-article-title {
    font-size: 14px;
  }

  .diploma-article-arrow {
    width: 19px;
    height: 19px;
  }
}

/* =========================================================
   ARTICLES BUTTON – CENTERED BELOW THE CARDS
========================================================= */

.diploma-articles-inner {
  display: flex;
  flex-direction: column;
}

/* מאפשר להעביר את הכפתור אחרי רשימת הכתבות בלי לשנות HTML */
.diploma-articles-top {
  display: contents;
}

.diploma-articles-text {
  order: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

.diploma-articles-text h2::after {
  margin-right: auto;
  margin-left: auto;
}

.diploma-articles-text p {
  margin-right: auto;
  margin-left: auto;
}

.diploma-articles-list {
  order: 2;
}

.diploma-articles-main-btn {
  order: 3;
  align-self: center;
  margin-top: 24px;
  min-width: 200px;
}

@media screen and (max-width: 600px) {
  .diploma-articles-text {
    margin-bottom: 24px;
  }

  .diploma-articles-main-btn {
    width: auto;
    min-width: 170px;
    margin-top: 20px;
  }
}

/* =========================
   ORGANIZATIONS LOGO CAROUSEL
========================= */

.organizations-section {
  width: 100%;
  padding: 46px 0 54px;
  direction: rtl;
  background: #ffffff;
  overflow: hidden;
}

.carousel-header-wrapper {
  width: 100%;
  padding: 0 20px;
  margin: 0 0 34px;
  text-align: center;
}

.carousel-main-title {
  margin: 0;
  padding: 0;
  color: #83acb6;
  font-family: var(--diploma-font);
  font-size: clamp(28px, 3vw, 35px);
  font-weight: 700;
  line-height: 1;
}

.carousel-main-title::after {
  content: "";
  display: block;
  width: min(350px, 72vw);
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--diploma-purple) 0%,
    #83acb6 100%
  );
}

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

.logos-slider-container::before,
.logos-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logos-slider-container::before {
  right: 0;
  background: linear-gradient(
    to left,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.logos-slider-container::after {
  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;
}

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

.logo-item {
  width: 190px;
  height: 100px;
  margin: 0 12px;
  padding: 14px 18px;
  flex: 0 0 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #767676;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(103, 95, 160, 0.08);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.logo-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 68px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.logo-item:hover {
  transform: translateY(-5px);
  border-color: #83acb6;
  box-shadow: 0 12px 26px rgba(103, 95, 160, 0.16);
}

.logo-item img:hover {
  transform: none;
  border: 0;
  box-shadow: none;
}

@keyframes scroll-logos-rtl {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(50%);
  }
}

@media (max-width: 768px) {
  .organizations-section {
    padding: 38px 0 44px;
  }

  .carousel-header-wrapper {
    margin-bottom: 26px;
  }

  .carousel-main-title {
    font-size: 27px;
  }

  .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: 0 8px;
    padding: 12px 15px;
  }

  .logo-item img {
    max-width: 124px;
    max-height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logos-slide-track {
    animation-play-state: paused;
  }
}

