/* Allow home page to scroll past the first viewport */
html, body {
	height: auto;
	min-height: 100%;
}

/* HOME AREA */
.home-wrapper {
	position: relative;
	height: 100vh;
}

.home {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  text-align: center;
  width: auto;
  height: auto;
  max-width: 90%;
  box-sizing: border-box;
  z-index: 2;
  transition: top 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  /* Only animate top */
}


.home #home_logo {
  text-align: center;
  display: block;
  margin: 0 auto;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  clear: both;
  max-width: 485px;
  padding: 50px;
}

.search-bar {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
  width: 746px;
}

.search-bar input[type="text"] {
  width: 746px;
  padding: 17px 100px 15px 60px;
  border-radius: 50px;
  border: 0 none;
  font-size: 16px;
  max-width: 100%;
  position: relative;
  z-index: 9;
}

#search.active {
  box-shadow: none;
}

input:focus:focus-visible {
  outline: 0;
  border: 0 none;
}

.search-bar input[type="text"]::placeholder {
  font-family: "Roboto", sans-serif;
  color: #afafaf;
  opacity: 1;
  font-weight: 400;
}

.icons {
  position: absolute;
  right: 25px;
  top: 25px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 10;
}

.icons img {
  margin-left: 15px;
  height: 28px;
}

.icons img.hands {
  height: 24px;
  margin-top: 5px;
}

.search-action {
  position: absolute;
  left: 25px;
  top: 25px;
  transform: translateY(-50%);
  color: #5e5e5e;
  z-index: 10;
}

.feature_cat {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.feature_cat .item {
  width: 110px;
}

.feature_cat .thumb {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature_cat .thumb img {
  max-width: 100%;
  max-height: 100%;
  padding: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.feature_cat .item:hover .thumb img {
  padding: 0;
}

.feature_cat .item:hover .extra {
  background: #D7DFE2;
}

.feature_cat .item:hover .fa-plus {
  transform: scale(1.1);
}

.feature_cat .thumb i {
	font-size: 50px;
	transition: transform 0.3s ease;
}

.feature_cat .extra {
	background: #D7DFE2;
	border-radius: 50px;
	color: #A7B7BD;
}

.feature_cat .label {
  font-size: 14px;
  max-width: 100px;
  font-weight: 500;
  margin: 8px auto;
  color: #474747;
}

.search_cat_list {
  position: absolute;
  width: 100%;
  background: #fff;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2);
  top: 0;
  border-radius: 25px;
  z-index: 8;
  max-height: 0;
  overflow: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  min-height: 49px;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.search_cat_list.active {
  max-height: calc(100vh - 390px);
  padding-top: 40px;
  padding-bottom: 20px;
}

.search_item {
  font-size: 15px;
  text-align: left;
  padding: 20px 10px 0;
  color: #000;
  display: flex;
  align-items: center;
}

.search_item img {
  width: 20px;
  margin: 0 15px;
  border-radius: 50px;
}

.search_item.no-result {
  margin: 0 15px;
  color: #AFAFAF;
}

.copyright {
  position: absolute;
  bottom: 30px;
  font-size: min(14px, 3vw);
  text-align: center;
  left: 0;
  right: 0;
  color: #A7B7BD;
}

.copyright a {
  color: #A7B7BD;
}

.copyright a:hover {
  color: #D7DFE2;
}

#sign_icon {
  font-size: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 9;
}

#sign_icon label {
  font-size: 20px;
  cursor: pointer;
  color: #474747;
}

#sign_icon i {
  color: #A7B7BD;
}

#sign_icon i:hover {
  color: #D7DFE2;
}


#nav_bar {
  font-size: 20px;
  right: 3vw;
  top: 3vw;
}

.user_name {
  color: #000;
}

.lang-toggle-home {
	position: relative;
	display: flex;
	border: 1px solid #A7B7BD;
	border-radius: 30px;
	padding: 2px;
	gap: 2px;
	height: 31px;
	overflow: hidden;
}

.lang-toggle-home::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: var(--pill-width, calc(50% - 3px));
  height: calc(100% - 4px);
  background: #A7B7BD;
  border-radius: 18px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.lang-toggle-home[data-active="hb"]::before {
  transform: translateX(var(--pill-hb-offset, calc(100% + 2px)));
}

.lang-toggle-btn {
  white-space: nowrap;
  height: 25px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 400;
  color: #A7B7BD;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0 none;
  position: relative;
  z-index: 1;
  user-select: none;
}

.lang-toggle-btn.active {
  background: transparent;
  color: #FFFFFF;
}

.lang-toggle-btn:not(.active):hover {
  color: #D7DFE2;
}

@media screen and (max-width: 767px) {
  #nav_bar {
    justify-content: space-between;
    left: 55px;
    top: 14px;
  }

  #sign_icon {
    font-size: 28px;
  }

  .hamburger-menu {
    display: block;
  }

  #hamburger {
    font-size: 28px;
    padding: 10px;
    cursor: pointer;
    position: fixed;
    top: 5px;
    left: 10px;
    color: #B1B1B1;
    z-index: 10;
  }

  #hamburger i {
    display: block;
    font-weight: 500;
  }

  .feature_cat>*:nth-child(n+5):not(:last-child) {
    display: none;
  }

  .feature_cat .thumb {
    width: 60px;
    height: 60px;
  }

  .feature_cat .thumb i {
    font-size: 30px;
  }

  .search-bar input[type="text"] {
    padding: 15px 100px 15px 45px;
  }

  .search-action {
    left: 20px;
  }

}

/* MEDIA QUERIES */
@media screen and (max-width: 479px) {
  #home_logo {
    padding: 0;
  }
}

@media screen and (max-width: 565px) {
  #home_logo {
    padding: 0;
  }
}


/* MEDIA QUERIES */
@media screen and (max-width: 479px) {
  .feature_cat>*:nth-child(n+4):not(:last-child) {
    display: none;
  }
}

/* Fix for Hebrew Search Bar*/
/* Container must be relative to act as an anchor */
body.hb-lang .search-bar {
    direction: rtl;
    position: relative;
    display: block;
}

/* 1. Push the Magnifying Glass to the RIGHT */
body.hb-lang .search-bar .search-action {
    position: absolute !important;
    right: 15px; /* Pins it to the right */
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* 2. Push the Cup/Hands Icons to the LEFT */
body.hb-lang .search-bar .icons {
    position: absolute;
    left: 15px; /* Pins it to the left */
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

/* 3. Adjust the Input to make room for both sides */
body.hb-lang .search-bar input#search {
    width: 100%;
    padding-right: 45px; /* Space for magnifying glass */
    padding-left: 80px;  /* Space for the two icons on the left */
    text-align: right;
    direction: rtl;
    box-sizing: border-box;
}


/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro-section-wrapper {
	background: #f4f5f5;}
.intro-section {
	padding: 40px;
	max-width: 1000px;
	margin: 0 auto;
}

.intro-title-banner {
	background: linear-gradient(to right, #5298A1, #006775);
	border-radius: 100px;
	padding: 20px 70px 10px;
	text-align: center;
	margin-bottom: 20px;
}

.intro-title-banner h2 {
	font-size: 30px;
	font-weight: 700;
	color: #fff;
	margin: 0;
	line-height: 1.1;
}

.intro-content {
	display: flex;
	align-items: center;
	gap: 60px;
}

/* --- Slider --- */
.intro-slider-area {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 58%;
}

.intro-slides-stage {
	position: relative;
	flex: 1;
	height: 380px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.intro-slide {
	position: absolute;
	width: 200px;
	transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
	border-radius: 14px;
	overflow: hidden;
	display: block;
}

.intro-slide-inner {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}

.intro-slide img {
	width: 100%;
	height: auto;
	display: block;
}

.intro-slide.is-hidden {
	opacity: 0;
	pointer-events: none;
	transform: scale(0.5);
}

.intro-slide.is-prev {
	transform: translateX(-165px) scale(0.75);
	opacity: 0.75;
	z-index: 1;
	pointer-events: none;
}

.intro-slide.is-current {
	transform: translateX(0) scale(1);
	opacity: 1;
	z-index: 2;
}

.intro-slide.is-current .intro-slide-inner {
	box-shadow: 0 20px 55px rgba(0,0,0,0.22);
}

.intro-slide.is-next {
	transform: translateX(165px) scale(0.75);
	opacity: 0.75;
	z-index: 1;
	pointer-events: none;
}

.intro-arrow {
	background: none;
	border: none;
	font-size: 52px;
	color: #b0c4c8;
	cursor: pointer;
	line-height: 1;
	padding: 0 4px;
	transition: color 0.2s ease;
	flex-shrink: 0;
	user-select: none;
}

.intro-arrow:hover {
	color: #006775;
}

/* --- Text --- */
.intro-text {
	flex: 1;
	color: #333;
}

.intro-text h3 {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 18px;
	color: #222;
}

.intro-text p {
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 15px;
	color: #444;
}

.intro-text p:last-child {
	margin-bottom: 0;
}

/* --- Responsive --- */
@media screen and (max-width: 1024px) {
	.intro-section {
		padding: 30px 40px 80px;
	}

	.intro-title-banner {
		padding: 28px 40px;
		margin-bottom: 50px;
	}

	.intro-title-banner h2 {
		font-size: 38px;
	}

	.intro-content {
		gap: 40px;
	}

	.intro-slider-area {
		flex: 0 0 52%;
	}
}

@media screen and (max-width: 767px) {
	.intro-section {
		padding: 50px 20px;
	}

	.intro-title-banner {
		padding: 10px 20px;
		border-radius: 100px;
		margin-bottom: 20px;
	}

	.intro-title-banner h2 {
		font-size: 20px;
	}

	.intro-content {
		flex-direction: column;
		gap: 40px;
	}

	.intro-slider-area {
		flex: unset;
		width: 100%;
	}

	.intro-slides-stage {
		height: 220px;
	}

	.intro-slide {
		width: 160px;
	}

	.intro-slide.is-prev {
		transform: translateX(-75px) scale(0.84);
	}

	.intro-slide.is-next {
		transform: translateX(75px) scale(0.84);
	}
	.intro-text p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 20px 15px;
	}
	.intro-text h3 {
    margin: 0 20px 18px;
	}
}


/* ============================================================
   STEPS SECTION
   ============================================================ */

.steps-section {
	background: #fff;
	padding: 80px 40px;
	display: flex;
	align-items: center;
	gap: 60px;
	max-width: 1000px;
	margin: 0 auto;
}

.steps-headline-card {
	flex: 0 0 25px;
	border: 2px solid #d8e4e6;
	border-radius: 20px;
	padding: 40px 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 260px;
}

.steps-headline-card span {
	font-size: 28px;
	font-weight: 800;
	color: #006775;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.25;
}

.steps-list {
	flex: 1;
	display: flex;
	align-items: flex-start;
	gap: 0;
}

.step-item {
	flex: 1;
	text-align: center;
}

.step-badge {
	display: inline-block;
	background: linear-gradient(to right, #5298A1, #006775);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	padding: 8px 22px;
	border-radius: 30px;
	margin-bottom: 20px;
}

.step-item h4 {
	font-size: 19px;
	font-weight: 700;
	color: #111;
	margin: 0 0 5px;
	line-height: 1.3;
}

.step-item p {
	font-size: 14px;
	line-height: 1.2;
	color: #555;
	margin: 0px 10px;
}

.step-arrow {
	font-size: 26px;
	color: #aaa;
	flex-shrink: 0;
	padding: 0 16px;
	margin: 0px 20px 0px 0px ;
	align-self: flex-start;
}

@media screen and (max-width: 1024px) {
	.steps-section {
		padding: 60px 40px;
		gap: 40px;
	}

	.steps-headline-card {
		flex: 0 0 220px;
		min-height: 220px;
	}

	.steps-headline-card span {
		font-size: 15px;
	}

	.step-arrow {
		padding: 0 10px;
	}
}

@media screen and (max-width: 767px) {
	.steps-section {
		padding: 30px 20px;
		flex-direction: column;
		gap: 30px;
	}

	.steps-headline-card {
		flex: unset;
		width: 100%;
		min-height: unset;
		padding: 10px 50px;
	}

	.steps-list {
		flex-direction: column;
		gap: 32px;
		width: 100%;
	}

	.step-arrow {
		display: none;
	}
	.step-badge {
	padding: 8px 80px;
	}
}


/* ============================================================
   EXPLORE CATEGORIES SECTION
   ============================================================ */
.explore-section-wrapper {
	background: #f4f5f5;}

.explore-section {
	background: #f4f5f5;
	padding: 60px 90px 100px;
	text-align: center;
	max-width: 1000px;
	margin: 0 auto;
}

.explore-title {
	font-size: 34px;
	font-weight: 700;
	color: #111;
	margin: 0 0 18px;
}

.explore-subtitle {
	font-size: 15px;
	color: #666;
	margin: 0 auto 25px;
	max-width: 680px;
	line-height: 1.2;
}

.explore-grid-card {
	background: #fff;
	border-radius: 24px;
	padding: 50px 40px;
	box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.explore-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px 0px;
}

.explore-cat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-decoration: none;
}

.explore-cat-thumb {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: #dcedef;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transition: transform 0.25s ease;
}

.explore-cat-item:hover .explore-cat-thumb {
	transform: scale(1.06);
}

.explore-cat-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.explore-cat-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #333;
	text-align: center;
}

@media screen and (max-width: 1024px) {
	.explore-section {
		padding: 60px 40px 80px;
	}

	.explore-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (max-width: 767px) {
	.explore-section {
		padding: 30px 40px 50px;
	}

	.explore-title {
		font-size: 26px;
	}

	.explore-grid-card {
		padding: 30px 20px;
	}

	.explore-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 25px 10px;
	}

	.explore-cat-thumb {
		width: 80px;
		height: 80px;
	}
}

@media screen and (max-width: 479px) {
	.explore-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


/* ============================================================
   POPULAR CARDS SECTION
   ============================================================ */

.popular-section {
	background: #fff;
	padding: 50px;
	text-align: center;
}

.popular-title {
	font-size: 34px;
	font-weight: 700;
	color: #111;
	margin: 0 0 18px;
}

.popular-subtitle {
	font-size: 15px;
	color: #666;
	margin: 0px auto 20px;
	max-width: 680px;
	line-height: 1.2;
}

.popular-slider-area {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.popular-slides-stage {
	position: relative;
	width: 640px;
	max-width: 100%;
	height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.popular-slide {
	position: absolute;
	width: 210px;
	transition: transform 0.4s ease, opacity 0.4s ease;
	border-radius: 16px;
	overflow: hidden;
	display: block;
}

.popular-slide-inner {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}

.popular-slide img {
	width: 100%;
	height: auto;
	display: block;
}

.popular-slide.is-hidden {
	opacity: 0;
	pointer-events: none;
	transform: scale(0.5);
}

.popular-slide.is-prev {
	transform: translateX(-190px) scale(0.86);
	opacity: 0.75;
	z-index: 1;
	pointer-events: none;
}

.popular-slide.is-current {
	transform: translateX(0) scale(1);
	opacity: 1;
	z-index: 2;
}

.popular-slide.is-current .popular-slide-inner {
	box-shadow: 0 0 0 2.5px #5298A1, 0 16px 50px rgba(0,0,0,0.15);
}

.popular-slide.is-next {
	transform: translateX(190px) scale(0.86);
	opacity: 0.75;
	z-index: 1;
	pointer-events: none;
}

.popular-arrow {
	background: none;
	border: none;
	font-size: 52px;
	color: #b0c4c8;
	cursor: pointer;
	line-height: 1;
	padding: 0 4px;
	transition: color 0.2s ease;
	flex-shrink: 0;
	user-select: none;
}

.popular-arrow:hover {
	color: #006775;
}

@media screen and (max-width: 1024px) {
	.popular-section {
		padding: 60px 40px 80px;
	}
}

@media screen and (max-width: 767px) {
	.popular-section {
		padding: 50px 20px 40px;
	}

	.popular-title {
		font-size: 26px;
	}

	.popular-slides-stage {
		width: 100%;
		height: 220px;
	}

	.popular-slide {
		width: 170px;
	}

	.popular-slide.is-prev {
		transform: translateX(-70px) scale(0.86);
	}

	.popular-slide.is-next {
		transform: translateX(70px) scale(0.86);
	}
}


/* site-footer styles moved to style.css (global) */
