body {
    font-family: var(--font-body) !important;
}


.no-cursor .cursor {
    display: none;
}

@media (hover: none) {
    .cursor {
        display: none;
    }
}

p {
    font-family: var(--font-body) !important;
    font-size: 1.25rem;
    line-height: 1.8;
    text-align: left;
}

/* Navbar styling */
.navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 20px;
    /* התאמה של ה-padding */
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    backdrop-filter: blur(10px);
    transition: padding 0.3s ease, background-color 0.3s ease;
    font-size: 1.25rem;
    font-weight: 700;
}

.navbar.scrolled {
    padding: 1rem 20px;
    /* הקטנת padding בגלילה */
    background-color: rgba(255, 255, 255, 0.8);
}

.navbar .right {
    text-decoration: none;
    color: #333;
    transition: text-decoration 0.3s ease;
}

.navbar .right:hover {
    text-decoration: underline;
}

/* Header styling */
.header {
    text-align: left;
    padding: 50px 0px;
}

.header-text {
    font-size: 3rem;
    font-weight: 600;
    margin: 0;

}

/* Ply-specific styles */
.project {
    margin: 0 auto;
    max-width: 1400px;
    /* גבול רוחב מתאים למסך רחב */
    line-height: 1.8;
    /* מרווח שורות נעים לקריאה */
    color: #333;
    text-align: justify;
    /* פריסת טקסט אחידה לשני הצדדים */
    padding: 0x;
    /* שימוש במרווחים דומים לנויגציה */
}

.project h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #262626;
    text-align: left;
}



.project li {
    margin-bottom: 5px;
    text-align: justify;
}

/* Container for consistency across pages */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-inline: 20px;
    box-sizing: border-box;
    /* תאימות למרווח של הנויגציה */
}

/* Styling for chips container */
.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Styling for individual chip */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    background-color: #e0e0e0;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    color: #333;
    white-space: nowrap;
}

/* New Section Styling */
.image-section {
    display: grid;
    grid-template-columns: 1fr;
    /* single column for responsiveness */
    gap: 20px;
    text-align: center;
    margin-top: 80px;
}

/* Wrapper for image to apply the gray background */
.image-wrapper {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

/* Responsive Image Styling */
.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Text between images */
.section-text {
    font-size: 1.25rem;
    color: #333;
    margin-top: 15px;
    line-height: 1.5;
}

.text-left > {
    text-align: left;
}

.text-left {
    text-align: left
}

.lite-discripsion {
    font-family: var(--font-body) !important;
    font-size: 1.0rem;
}

.video-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    margin-top: 80px;
}

.responsive-video {
    width: 100%;
    /* מתפרש על כל רוחב הגריד */
    height: auto;
    /* שומר על פרופורציות */
    display: block;
    object-fit: cover;
    /* מתאם את הסרטון לגבולות */
    border-radius: 8px;
    /* פינות מעוגלות */
    overflow: hidden;
    /* מבטיח שהתוכן יישאר בתוך הגבולות */
}

/* The source video contains thin baked-in letterbox bars. Crop them without
   affecting its reveal animation, which remains on the outer wrapper. */
.video-crop--design-system {
    overflow: hidden;
    border-radius: 8px;
}

.video-crop--design-system .responsive-video {
    transform: scale(1.035);
    transform-origin: center;
    border-radius: 0;
}

.centered-section {
    position: relative;
    height: 100vh;
    display: flex;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: rgb(9, 9, 121);
    background: -moz-linear-gradient(180deg, rgba(9, 9, 121, 0.23573179271708689) 0%, rgba(255, 255, 255, 1) 99%);
    background: -webkit-linear-gradient(180deg, rgba(9, 9, 121, 0.23573179271708689) 0%, rgba(255, 255, 255, 1) 99%);
    background: linear-gradient(180deg, rgba(9, 9, 121, 0.23573179271708689) 0%, rgba(255, 255, 255, 1) 99%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#090979", endColorstr="#ffffff", GradientType=1);
    margin-top: 80px;
    margin-bottom: 80px
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the video covers the entire section */
    z-index: -1;
    /* Sends the video to the background */
    filter: brightness(0.7);
    /* Optional: Slight darkening for better text visibility */
}

.content {
    position: relative;
    z-index: 1;
    /* Brings the content above the video */
    text-align: center;
    color: #333;
    /* White text for contrast */
}

.content h1 {
    font-family: var(--font-body);
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.content p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.5;
}

.radius-8 {
    border-radius: 8px;
}

.img-shadow {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


.p {
    font-family: var(--font-body);
}

.text-center {
    text-align: center;
}

.centerh1 {
    position: relative;
    z-index: 1;
    /* Brings the content above the video */
    text-align: center;
    color: #333;
    /* White text for contrast */
}

.video_text_big {
    font-family: var(--font-special);
    font-size: 10vh;
}

/* עיצוב הלואדר */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2em;
  z-index: 9999;
  transition: opacity 0.5s ease-out; /* הוספנו מעבר רך של שקיפות */
}

/* סגנון לתוכן שנחביא בהתחלה */
#content {
  display: none;
}

.external-icon {
  margin-left: 0.3rem;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

a:hover .external-icon {
  transform: translateY(-1px);
}

.links-container a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #262626;
  text-align: left;
}

.approach-list {
 
  padding-left: 2rem;
  border-radius: 8px;
  list-style-type: disc;  
  line-height: 1.8;
  color: #333;
  text-align: left;
  margin-bottom: 2rem;
}

.audience-list {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #333;
  line-height: 1.8;
  text-align: left;
  list-style-type: disc;
  padding-left: 1.5rem;
}




/* Structure and spacing */
.max-text {
  max-width: 1000px;
  margin-left: 0;
  margin-right: auto;
  padding: 0 1rem;
  text-align: left;
}

/* Padding section */
.padding10 {
  padding-top: 2rem;
}

/* Paragraph spacing */
.max-text p {
  margin-bottom: 0rem;
  line-height: 1.6;
  font-size: 1rem;
}

.main-text p {
  margin-bottom: 0rem;
  line-height: 1.6;
  font-size: 2rem;
}

/* Bold labels */
.max-text strong {
  font-weight: 600;
  display: inline-block;
 
}

/* Section titles */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 3rem 0 1.5rem;
  text-align: left;
}

/* Chips container */
.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.chip {
  background-color: #eee;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.25rem;
  }

  .max-text {
    padding: 0 0.75rem;
  }
}
.main_text {
    font-size: 1.4rem;
}



h2 {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.block {
  margin-bottom: 5rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: #333;
}

strong {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.section1 {
 
  line-height: 1;

 
  margin: auto;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* ריווח מינימלי בין תווית לערך */
  margin-bottom: 0.75rem;
}

.info-label {
  font-weight: 600;
  min-width: 60px;
  white-space: nowrap;
}

.info-value {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.chip {
  background-color: #e0e0e0;
  border-radius: 999px;
  padding: 4px 13px 2px;
  font-size: 0.875rem;
  font-weight: 500;
}
.max-980 {
    max-width: 980px;
}

/* מבנה משותף */
.info-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

/* מוודא ש-label ו-chips תמיד באותו גובה */
.info-row {
  align-items: flex-start;
}

/* מובייל – שינוי מיקום */
@media (max-width: 600px) {
  .info-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-label {
    margin-bottom: 0.25rem;
  }

  .info-value {
    flex-direction: row;
    align-items: flex-start;
  }
}

p strong {
  font-weight: 600;
  line-height: inherit;
}

.section-label {
  color: #b268ff;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: left;
  margin-bottom: 0.5rem;
 
}

.video-frame {
  border: 2px dashed #b268ff;
  border-radius: 12px;
  padding: 1.5rem;
}

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

.responsive-video {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}



.image-frame {
  border: 2px dashed #b268ff;
  border-radius: 12px;
  padding: 1.5rem;
}

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

.responsive-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* Keep case-study media inside its layout container, even if a utility class is omitted. */
.image-section,
.image-section2,
.image-wrapper,
.video-section {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.image-wrapper > img {
  width: auto;
  max-width: 100%;
  height: auto;
}

/* This source is narrower than the case-study grid; let it span the same
   content width as the video immediately above it. */
.image-wrapper > .design-system-image {
  width: 100%;
}

/* Dashboard copy is content, not a centered media caption. */
.dashboard-summary,
.dashboard-summary .info-row,
.dashboard-summary .info-label,
.dashboard-summary .info-value {
  text-align: left;
}

.chart-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.boxed-block {
  border: 2px dashed #b965f7;
  border-radius: 12px;
  padding: 1.5rem;
  display: inline-block;
}

.boxed-title {
  font-size: 0.875rem;
  color: #b965f7;
  margin-bottom: 1rem;
  text-align: left;
}

.boxed-image {
  display: block;
  max-width: 100%;
  height: auto;
}
.biggercake-layout {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.biggercake-box {
  flex: 1;
  position: relative;
  border: 2px dashed #bb66ff;
  border-radius: 12px;
  padding: 20px;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.biggercake-label {
  position: absolute;
  top: -16px;
  left: 0;
 
  padding: 0 0px;
  font-size: 13px;
  color: #bb66ff;
  font-weight: 500;
}

.biggercake-box img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
}

.legend-box {
  max-width: 260px;
  flex: none;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.grid-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.grid-item img,
.grid-item video {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .grid-item {
    flex-direction: row;
    justify-content: space-between;
  }

  .grid-item img,
  .grid-item video {
    width: 100%;
    flex: 1;
  }

  .grid-item img:not(:last-child),
  .grid-item video:not(:last-child) {
    margin-right: 1rem;
  }
}

.top {
    padding-top: 2rem;
}

.top-5 {
    padding-top: 5rem;
}
.lottie-full-width {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* או ערך אחר לפי הקובץ */
    
}

h2 {
  margin-bottom: 0.5rem; /* או אפילו 0 */
}
h1, h2, h3 {
  margin-bottom: 0.5rem; /* או לפי הצורך */
}

p {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.block > *:first-child {
  margin-top: 0; /* אם יש כותרת מעל */
}

.block > *:last-child {
  margin-bottom: 0; /* להסיר ריווח מיותר מלמטה */
}

.reveal.top {
  margin-top: 1.5rem; /* צמצם אם צריך */
}


.h1-lead{
  font-size: clamp(1.1rem, 1.3vw, 1.5rem);
  line-height: 1.55;
  max-width: 65ch;
  margin: 0;
  font-weight: 600;
}

.h1-lead {
  font-size: clamp(1.1rem, 1.3vw, 1.5rem);
  line-height: 1.55;
  max-width: 65ch;
  font-weight: 600;

  /* חשוב כדי שלא ידרוס ע"י כללי h1/h2/h3 */
  margin: 0;
}
