section.mainContainer {
    text-align: right;
    background-image: url('/website/img/bgr-top-dark-mobile.jpg');
    background-size: cover;
    margin-top: -130px;
    position: relative;
    background-repeat: unset;
    background-position: 0;
}

section.mainContainer .sectionTop {
    bottom: calc(100% - 30px);
}

section.mainContainer .contentContainer{
    background: white;
    padding: 20px;
    border-radius: 20px;
    width: calc( 100% - 40px );
}

/* Why we’re the best */
section.mainContainer .whyBestContainer {
    margin: 10px 0 70px;
}

section.mainContainer .whyBestContainer .whyBestItems {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

section.mainContainer .whyBestContainer .whyBestItem {
    width: 100%;
    text-align: center;
}

section.mainContainer .whyBestContainer .whyBestIconTitle {
    /* display: flex;
    flex-direction: column;
    align-items: center; */
    gap: 8px;
    min-height: 110px;
}

section.mainContainer .whyBestContainer .whyBestIconTitle img {
    width: 66px;
    translate: 0 16px;
    margin-left: 10px;
}

section.mainContainer .whyBestContainer .whyBestTitle {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
}

section.mainContainer .whyBestContainer .whyBestDivider {
    width: 200px;
    height: 3px;
    margin: 10px auto 14px;
    background: var(--primary);
    border-radius: 3px;
}

section.mainContainer .whyBestContainer .whyBestText {
    font-size: 20px;
    font-weight: 600;
    color: black;
    line-height: 1.35;
}

/* CTA under the section */
section.mainContainer .whyBestContainer .ctaButton {
    margin-top: 12px;
    text-align: center;
}

section.mainContainer .whyBestContainer .ctaButton button {
    font-size: 26px;
    padding: 16px 80px;
    border-radius: 40px;
    box-shadow: 4px 4px 4px 0 var(--secondary);
}


/* Examples from the field */
section.mainContainer .examplesContainer {
    position: relative;
}

/* כותרת + קו סגול משמאל לכותרת */
section.mainContainer .examplesContainer .examplesHeader {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
    margin-bottom: 50px;
}

section.mainContainer .examplesContainer .sectionHeading {
    font-size: 40px;
    font-weight: 800;
    color: var(--secondary);
    margin: 0;             /* שיהיה קוהרנטי עם ה־flex */
    white-space: normal;   /* שלא ירד שורה */
}
section.mainContainer .examplesContainer .examplesHeadingLine {
    height: 6px;
    background: var(--secondary);
    border-radius: 6px;
    flex: 1 1 auto;        /* יוצר את הקו הארוך שמשמאל לכותרת */
}

/* פריסת התיבות המדורגת */
section.mainContainer .examplesContainer .examplesGrid {
    display: block; /* לא גריד; מאפשר מדרגות */
}

section.mainContainer .examplesContainer .exampleBox {
    background: #fff;
    border: 1px solid var(--secondary);
    box-shadow: 0 4px 4px 0 var(--secondary);
    border-radius: 30px;
    padding: 20px 46px 26px 10px;
    margin-bottom: 26px;
}

/* תיבה תחתונה רחבה */

section.mainContainer .examplesContainer .exampleBox--wide--noBox {
    display: inline-block;
    border: none;
    box-shadow: none;
    background: none;
    padding: 0;
    height: auto;
    width: 92%;
    margin: 34px auto 0;
}

section.mainContainer .examplesContainer .exampleTitle {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    margin-bottom: 6px;
    text-align: right;
}

section.mainContainer .examplesContainer .exampleText {
    font-size: 24px;
    color: #000;
    text-align: right;
    line-height: 1.3;
}

section.mainContainer .examplesContainer .exampleLinkLike {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

section.mainContainer .examplesContainer .inlineExampleLink {
    color: var(--primary);
    font-weight: 800;
    text-decoration: underline;
    margin-right: 6px;
}

/* ==== Process (איך התהליך עובד) ==== */
section.mainContainer .processContainer {
    position: relative;
}

section.mainContainer .processContainer .examplesHeader {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
    margin-top: 20px;
    margin-bottom: 50px;
}

section.mainContainer .processContainer .processTitle {
    text-align: center;
    font-weight: 800;
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 18px;
    white-space: normal;
}

section.mainContainer .processContainer .processHeadingLine {
    height: 6px;
    background: var(--secondary);
    border-radius: 6px;
    flex: 1 1 auto;        /* יוצר את הקו הארוך שמימין לכותרת */
}

section.mainContainer .processContainer .processRows {
  position: relative;
}

section.mainContainer .processContainer .processRow {
}


/* single step */
section.mainContainer .processContainer .processStep {
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  min-height: 150px;
  position: relative;
}

section.mainContainer .processContainer .stepHead {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  min-height: 96px;
}

section.mainContainer .processContainer .stepBadge {
  font-size: 32px;
  font-weight: 400;
  text-align: right;
  color: var(--primary);
  line-height: 1;
}

section.mainContainer .processContainer .stepBadge.bold {
    font-weight: 800;
}

section.mainContainer .processContainer .stepDesc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
  color: #000;
}


/* ==== Mistakes section ==== */
section.mainContainer .mistakesContainer {
  margin: 30px 0 70px;
}

section.mainContainer .mistakesContainer .mistakesTitle {
  text-align: center;
  color: var(--secondary);
  font-size: 40px;
  font-weight: 800;
  margin: 8px 0 20px;
}

section.mainContainer .mistakesContainer .mistakesList {
  display: flex;
  flex-direction: column;
  gap: 0 40px;
}

section.mainContainer .mistakesContainer .mistakeItem {
    display: flex;
    flex-direction: column;
    font-size: 26px;
    line-height: 1;
    text-align: right;
    color: #000;
    font-weight: 800;
}

section.mainContainer .mistakesContainer .mistakeItem .accent {
    color: var(--accent);
    font-size: 24px;
}

section.mainContainer .mistakesContainer .mistakeItem .primary {
    color: var(--primary);
}


/* Laptop Screen 1280px */
@media only screen and (min-width: 1280px) {
    section.mainContainer {
        /* padding-top: 180px; */
    }

    section.mainContainer .whyBestContainer .whyBestItems {
        flex-direction: row;
        justify-content: space-between;
        margin: 20px 0 32px;
    }
    section.mainContainer .whyBestContainer .whyBestItem {
        width: calc((100% - 4 * 40px) / 5);
        max-width: 220px;
    }
    section.mainContainer .examplesContainer {
        margin: 30px 0 80px;
    }
    section.mainContainer .examplesContainer .sectionHeading {
        font-size: 50px;/
    }
    section.mainContainer .examplesContainer .examplesHeader {
        flex-direction: row;
        align-items: center;
        margin-top: 0;
    }
    section.mainContainer .examplesContainer .processTitle {
        white-space: nowrap;
        font-size: 50px;
    }
    
    section.mainContainer .examplesContainer .exampleBox {
        width: 734px;
        height: 132px;
        max-width: 734px;    
    }

    /* מדרגות: אי-זוגי לימין, זוגי לשמאל, עם רוחבים מעט שונים לויזואל מדורג */
    section.mainContainer .examplesContainer .examplesGrid .exampleBox:not(.exampleBox--wide):nth-of-type(odd) {
        margin-left: auto;  
    }
    section.mainContainer .examplesContainer .examplesGrid .exampleBox:not(.exampleBox--wide):nth-of-type(even) {
        margin-right: auto;
    }
    section.mainContainer .processContainer {
        margin: 40px 0 60px;
    }
    section.mainContainer .processContainer .processRow {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        align-items: start;
    }

    section.mainContainer .processContainer .examplesHeader {
        flex-direction: row;
        align-items: center;
        margin-top: 0;
    }
    section.mainContainer .processContainer .processTitle {
        font-size: 50px;
        white-space: nowrap;
    }
    section.mainContainer .mistakesContainer .mistakesTitle {
        font-size: 50px;
        margin: 8px 0 60px;
    }
    section.mainContainer .mistakesContainer .mistakesList {
        flex-direction: row;
    }
    section.mainContainer .mistakesContainer .mistakeItem {
        width: calc((100% - (3 * 40px)) / 4);
    }
}
