/* =================================================================== */
/* ABOUT PAGE SPECIFIC STYLES                                         */
/* =================================================================== */

/* =================================================================== */
/* ABOUT SECTION - 2 COLUMNS                                          */
/* =================================================================== */

.aboutSection {
  padding: 80px 0px;
  background: #ffffff;
}

.aboutContainer {
  margin: 0 auto;
  max-width: calc(100% - 11vw);
}

.aboutFlex {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
}

/* Right Column - Text Content (RTL - comes first) */
.aboutContent {
  /* flex: 1; */
  padding-left: 40px;
  max-width: 47%;
}

.aboutTitle {
  margin: 0 0 30px 0;
  color: #2B2A29;
  text-align: right;

/* כותרת */
  font-family: Heebo;
  font-size: 58px;
  font-style: normal;
  font-weight: 200;
  line-height: normal; /* 120.69% */
}

.aboutText {
  margin: 0 0 20px 0;
  color: #000;
  text-align: right;
  font-family: Heebo;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal; /* 166.667% */
  max-width: 81%;
}

.aboutText:last-child {
  margin-bottom: 0;
}

/* Left Column - Image */
.aboutImageWrapper {
  /* flex: 0 0 500px; */
  position: relative;
  overflow: hidden;
  height: auto;
  width: 52%;
}

.aboutImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aboutImageOverlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.overlayBadge {
  background: #007bff;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Rubik', 'Heebo', sans-serif;
}

/* =================================================================== */
/* TEAM SECTION - 2 ROWS x 4 COLUMNS                                  */
/* =================================================================== */

.teamSection {
  padding: 80px 0px;
  background: #f8f8f8;
  position: relative;
}

.teamSection::before {
  content: '';
  position: absolute;
  top: -11%;
  left: 0;
  background-image: url('../images/general/about-bg1.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
  z-index: 1;
  opacity: 1;
  width: 321px;
  height: 407px;
}

.teamContainer {
  margin: 0 auto;
  max-width: calc(100% - 11vw);
  position: relative;
  z-index: 2;
}

.teamTitle {
  font-size: 42px;
  font-weight: 500;
  color: #333;
  margin: 0 0 50px 0;
  text-align: center;
  font-family: 'Rubik', 'Heebo', sans-serif;
  color: #2B2A29;
  text-align: center;

/* כותרת */
  font-family: Heebo;
  font-size: 58px;
  font-style: normal;
  font-weight: 200;
  line-height: 70px; /* 120.69% */
}

.teamGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.teamMember {
  flex: 0 0 calc(25% - 30px);
  text-align: center;
}

.memberImageWrapper {
  width: 100%;
  height: inherit;
  border-radius: 0px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.memberImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.memberName {
  margin: 16px 0 8px 0;
  color: #000;
  text-align: right;
  font-family: Heebo;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 0px;
}

.memberRole {
  margin: 0;
  color: #000;
  text-align: right;
  font-family: Heebo;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* =================================================================== */
/* RESPONSIVE DESIGN                                                  */
/* =================================================================== */

@media (max-width: 1200px) {
  .aboutFlex {
    gap: 40px;
  }
  
  .aboutImageWrapper {
    flex: 0 0 400px;
    height: 400px;
  }
  
  .teamMember {
    flex: 0 0 calc(25% - 30px);
  }
}

@media (max-width: 992px) {
  .aboutFlex {
    flex-direction: column;
  }
  
  .aboutContent {
    padding-left: 0;
  }
  
  .aboutImageWrapper {
    flex: 1;
    width: 100%;
    max-width: 600px;
    height: 400px;
  }
  
  .teamMember {
    flex: 0 0 calc(33.333% - 27px);
  }
}

@media (max-width: 768px) {
  .aboutSection,
  .teamSection {
    padding: 60px 15px;
  }
  
  .aboutTitle,
  .teamTitle {
    font-size: 32px;
    margin-bottom: 30px;
  }
  
  .aboutText {
    font-size: 15px;
  }
  
  .aboutImageWrapper {
    height: 300px;
  }
  
  .teamGrid {
    gap: 30px;
  }
  
  .teamMember {
    flex: 0 0 calc(50% - 15px);
  }
  
  .memberImageWrapper {
    width: 150px;
    height: 150px;
  }
  
  .memberName {
    font-size: 18px;
  }
  
  .memberRole {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .aboutTitle,
  .teamTitle {
    font-size: 28px;
  }
  
  .aboutImageWrapper {
    height: 250px;
    border-radius: 12px;
  }
  
  .teamMember {
    flex: 0 0 100%;
    height: fit-content;
  }
  
  .memberImageWrapper {
    width: 100%;
    height: 100%;
  }

  .teamSection::before {
    width: 100px;
    height: 108px;
    top: -38px;
    left:0px;
  }

  .aboutSection {
    padding-top: 0px;;
  }
}