/*cover*/

.cover {
    height: 115vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 30px 20px;
    overflow: hidden;
}
.cover-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
}

.cover:after {
    content: "";
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(
        to left,
        rgb(from rgb(120 154 120) r g b / 1) 30%,
        rgb(from rgb(120, 154, 120) r g b / 0.5) 60%,
        rgb(from rgb(120, 154, 120) r g b / 0.25) 90%,
        transparent 100%
    );
}

.cover-slick {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: -1;
}
.cover-slick div {
    height: 100%;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: 1% 23%;
}
.cover .toggle-slick {
    position: absolute;
    top: 125px;
    right: 15px;
    background: none;
    border: 0px;
}

@media (max-width: 1755px) {
    .cover-slick div {
        background-position: center center;
        background-size: cover;
    }
}
@media (max-width: 1200px) {
    .cover {
        height: 800px;
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 30px 20px;
        margin-top: 105px;
    }
}
@media (max-width: 991px) {
    .cover .toggle-slick {
        display: none;
    }
    .cover {
        height: 500px;
        margin-top: 0px;
        padding: 25px;
    }
    .cover::after {
        display: none;
    }
    .category-item.hide-mobile {
        display: none !important;
    }
    .load-more-container {
        display: flex;
        justify-content: center;
        padding: 24px 0;
    }
    .load-more-categories-btn {
        background: #ffffff;
        color: #2e5c3a;
        border: 1px solid #2e5c3a;
        border-radius: 16px;
        padding: 12px 22px;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
        white-space: nowrap;
    }
    .load-more-categories-btn:hover {
        background: #2e5c3a;
        color: #ffffff;
        transform: translateY(-1px);
    }
}
@media (min-width: 992px) {
    .load-more-container {
        display: none !important;
    }
}

/* News  */

.news {
	margin-top:105px;
	padding: 1.5rem;
	background: #fff;
	background: #719371;
	filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
}

.news .content {
    position: relative;
}

.news .buttons {
    position: absolute;
    top: 1.9rem;
    left: 1.9rem;
}

.news a {
	color: #000;
	display: block;
}

@media (min-width: 768px) {
	.news a {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

.news h2 {
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
	position: absolute;
	top: 0;
	right: 0;
	padding: .219rem .75rem;
	margin: 0;
	z-index: 5;
	border-left: 1px solid #cfdfee;
}

.news h2 a {
	color: #ffffff;
}


@media (min-width: 992px) {
	.bn-news {
		padding-right: 100px;
	}
}
.bn-news {
	margin-right: 100px;
}

.bn-news ul li a {
	font-size: 1.2rem;
	line-height: 1.2rem;
	padding: .36rem 0;
	color: #ffffff;
}

.bn-news ul li a:hover {
	color: #cfdfee;
}

.bn-effect-scroll .bn-news ul li {
	padding: 0 1rem;
}

.news .date {
	font-weight: bold;
}

.news .date:after {
	content: ' | ';
	margin: 0 10px;
	color: #cfdfee;
}

.news-toggle {
	width: 26px;
	height: 26px;
	border: 1px solid #fff;
	border-radius: 50%;
	background: #111;
	color: #fff;
	background: none;
	font-size: 14px;
}

.bn-controls {
	left: 0;
	right: auto;
}

.bn-controls button {
	border: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #11111100;
	color: #fff;
	padding: 0;
	margin-right: 5px;
	border-left: none!important;
	border-right: none!important;
}

.bn-arrow {
    top: -1px;
}

.bn-pause::before, .bn-pause::after {
    background-color: #fff;
}
.bn-play::after {
    border-left-color: #fff;
}

.bn-controls button:hover {
    background-color: #ffffff00;
    color: #cfdfee;
    border: none!important;
}
.bn-controls button:hover .bn-pause::before, 
.bn-controls button:hover .bn-pause::after {
    background-color: #cfdfee; 
}
/**/

.news-marquee {
	height: 300px;
	overflow: hidden;
}
@media (max-width: 991px) {
.news h2{
	display:none;
}
	.bn-news{
		margin-right:0;
	}
}

/*hero text*/
.hero-left-text span {
    display: inline-block;
    word-spacing: 100vw;
}
.cover-content {
    width: 100%;
    z-index: 5;
    display: flex;
    justify-content: center;
}

.cover .centered {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.hero-left-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    animation: 1s cubic-bezier(0.215, 0.61, 0.355, 1) 0s 1 normal forwards running fadeInUp;
    max-width: 90%;
    margin: 0 auto;
}

.hero-left-text span {
    display: block;
    color: rgb(97, 113, 101);
    font-size: clamp(2.2rem, 3.8vw, 4rem);
    letter-spacing: clamp(2px, 0.3vw, 4px);
    line-height: 1.3;
    font-family: Montserrat, sans-serif;
    font-weight: 200;
    opacity: 0;
    transform: translateY(30px);
    animation: 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0s 1 normal forwards running slideUpWord;
}

.hero-left-text span:nth-child(1) {
    animation-delay: 0.2s;
}
.hero-left-text span:nth-child(2) {
    animation-delay: 0.4s;
}
.hero-left-text span:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-left-text .title-line {
    width: 0px;
    height: 1px;
    background-color: rgb(100, 119, 106);
    margin-top: 20px;
    animation: 1s cubic-bezier(0.25, 1, 0.5, 1) 0.9s 1 normal forwards running expandLine;
}

@media (max-width: 1400px) {
    .hero-left-text {
        margin-right: calc(35vw - 100px);
    }
}

@media (max-width: 991px) {
    .hero-left-text {
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-left-text span {
        font-size: clamp(1.8rem, 8vw, 2.3rem);
        color: rgb(0, 0, 0);
    }

    .hero-left-text .title-line {
        background-color: rgb(0, 0, 0);
    }
}
@keyframes fadeInUp {
    100% {
        opacity: 1;
    }
}
@keyframes slideUpWord {
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
@keyframes expandLine {
    100% {
        width: 35px;
    }
}

/*video*/
video {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    background-size: cover;
    transition: opacity 1s;
    object-fit: cover;
    z-index: -1;
}
#toggle-video {
    position: absolute;
    top: 125px;
    right: 15px;
    background: none;
    border: 0px;
}
@media (max-width: 991px) {
    video,
    #toggle-video {
        display: none;
    }
}

/*services*/
.services {
    display: block;
    text-decoration: none;
    transition: background 0.3s;
}

.services-desktop {
    position: absolute;
    right: 30px;
    top: 45%;
    transform: translateY(-50%);
    width: 450px;
    max-width: 35vw;
    z-index: 5;
}

.services-mobile {
    position: static;
    width: 100%;
    max-width: none;
    right: auto;
    top: auto;
    transform: none;
}

.service:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.services-slick {
    width: 100%;
    max-width: 450px;
    margin-top: 0;
    padding: 10px;
    padding-right: 90px;
}

.slick-track {
    display: flex;
    flex-direction: column;
}

.slick-slide {
    width: 100% !important;
}

.service figure {
    display: flex;
    flex-direction: row;
    align-items: start;
    width: 100%;
    margin: 0px;
    gap: 20px;
}

.service figcaption {
    color: rgb(255, 255, 255);
    font-weight: 500;
    text-align: right;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

.service figcaption h3 {
    font-weight: 600;
    font-size: clamp(1.1rem, 1.6vw, 1.8rem);
    margin-bottom: 4px;
}

.service .description {
    transition: color 0.3s;
    font-size: clamp(0.9rem, 1vw, 1.1rem);
    display: block;
}

.service:hover h3 {
    color: rgb(255, 255, 255);
    text-shadow: rgba(255, 255, 255, 0.2) 0px 0px 10px;
}

.services a:hover {
    text-decoration: none;
}

.service .icon {
    width: clamp(45px, 4vw, 60px);
    height: clamp(45px, 4vw, 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
    margin-left: 15px;
    flex-shrink: 0;
}

.service:hover .icon {
    transform: translateX(8px) scale(1.15);
}

.service .icon img {
    max-width: 100%;
    max-height: 100%;
}

.service:hover .icon img {
    filter: drop-shadow(rgba(255, 255, 255, 0.6) 0px 0px 8px);
}

.service:hover .description {
    color: rgb(255, 255, 255);
}

.white-gradient-border {
    padding-bottom: 1px;
    margin: 1.2rem 0px;
    background-image: linear-gradient(
        to left,
        rgb(255, 255, 255) 22%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0.25) 90%,
        transparent 100%
    );
    background-position: left bottom;
    background-size: 100% 2px;
    background-repeat: no-repeat;
    transition:
        background 0.4s,
        opacity 0.4s;
}

.services-slick > div:last-child .white-gradient-border {
    display: none;
}

.service:hover .white-gradient-border {
    background: rgb(255, 255, 255);
    box-shadow: rgba(255, 255, 255, 0.5) 0px 0px 8px;
}

.slick-arrow {
    display: none !important;
}

/* Desktop Services */
.services-desktop {
    display: block;
    position: absolute;
    right: 30px;
    top: 45%;
    transform: translateY(-50%);
    width: 450px;
    max-width: 35vw;
    z-index: 5;
    text-decoration: none;
    transition: background 0.3s;
}

@media (max-width: 991px) {
    .services-desktop {
        display: none;
    }
}

/* Floating button for mobile */
.services-floating-btn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(120, 154, 120), rgb(100, 130, 100));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 100;
    font-size: 24px;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.services-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.services-floating-btn:active {
    transform: scale(0.95);
}

@media (max-width: 991px) {
    .services-floating-btn {
        display: flex;
    }
}

/* Services Modal Overlay */
.services-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}

.services-modal-overlay.active {
    display: block;
}

/* Services Modal */
.services-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    background: white;
    z-index: 999;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 40px 30px 30px;
}

.services-modal.active {
    display: block;
    transform: translateX(0);
}

.services-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.services-modal-close:hover {
    color: rgb(120, 154, 120);
}

.services-modal-content {
    width: 100%;
}

.services-modal-content h2 {
    color: rgb(120, 154, 120);
    font-size: 24px;
    margin-bottom: 30px;
    text-align: right;
}

.services-modal .services-mobile {
    display: block !important;
    position: static;
    width: 100%;
    max-width: none;
    right: auto;
    top: auto;
    transform: none;
    padding: 0;
    margin: 0;
}

.services-modal .services-mobile-slick {
    max-width: none;
    padding: 0;
    padding-right: 0;
    margin: 0;
}

.services-modal .services-mobile figure {
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.services-modal .services-mobile figcaption {
    text-align: center;
    color: #333;
}

.services-modal .services-mobile .icon {
    margin-left: 0;
    margin-bottom: 10px;
}

.services-modal .services-mobile:hover {
    background-color: rgba(120, 154, 120, 0.1);
}

@media (max-width: 991px) {
    .services-modal {
        display: none;
    }
}

@media (max-width: 600px) {
    .services-modal {
        max-width: 100%;
    }
}


/*עיצוב services למובייל*/

.services-modal {
    background: linear-gradient(to left, rgb(from rgb(120 154 120) r g b / 1) 30%, rgb(from rgb(120 154 120 / 74%) r g b / 0.5) 100%, transparent 100%);
    padding: 0;
}

.services-modal-content h2 {
    display: none;
}

.services-modal-close {
    color: #ffffff;
    font-size: 24px;
    top: 200px;
    left: 20px;
    z-index: 1010;
}

.services-modal .services-mobile .services-slick {
    display: flex;
    flex-direction: column;
    padding: 250px 0 30px 0;
    max-width: 100%;
}

.services-modal .services-mobile .service {
    display: block;
    padding: 15px 30px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.services-modal .services-mobile .service:hover,
.services-modal .services-mobile .service:active {
    background-color: rgba(255, 255, 255, 0.08);
}

.services-modal .services-mobile .service figure {
    display: flex;
    flex-direction: row; 
    align-items: center;
    width: 100%;
    gap: 15px;
}

.services-modal .services-mobile .service figcaption {
    text-align: right;
    color: #ffffff;
}

.services-modal .services-mobile .service figcaption h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
}

/*business*/
section.business {
    margin-top: -70px;
}
.category-masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    direction: rtl;
    margin: 0px 120px;
}
.grid-item {
    width: 100%;
    aspect-ratio: 1 / 1;
}
.grid-item.featured-square {
    grid-area: span 2 / span 2;
    aspect-ratio: 1 / 1;
}
.grid-item.featured-wide {
    grid-area: span 1 / span 2;
    aspect-ratio: 2 / 1;
}
.category-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.category-card {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    overflow: hidden;
    border-radius: 36px;
    cursor: pointer;
    display: block;
    transition:
        box-shadow 0.3s,
        border-color 0.3s;
    border: 15px solid rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 15px;
}
.card-media {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 20px;
}
.category-card:hover .card-media img {
    transform: scale(1.15);
}
.card-overlay {
    position: absolute;
    inset: 0px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 15%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    border-radius: 20px;
}
.card-content-front {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 100%;
    padding: 30px 25px;
    z-index: 2;
    text-align: right;
}
.card-content-front h3 {
    color: rgb(255, 255, 255);
    font-size: 2.2rem;
    font-weight: 700;
    width: 80%;
}
.grid-item.highlight .category-card {
    background-color: rgb(110, 141, 110);
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
}
.grid-item.highlight .card-content-front {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.grid-item.highlight h3 {
    color: rgb(255, 255, 255);
    font-size: 1.6rem;
    text-shadow: none;
    position: static;
}
.grid-item.highlight .card-overlay {
    display: none;
}
.minimal-arrow {
    margin-top: 8px;
    color: rgb(110, 141, 110);
    font-size: 0.95rem;
}
.grid-item.highlight .minimal-arrow {
    color: rgb(255, 255, 255);
}
.join-card {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: right;
    height: 100%;
    text-decoration: none;
    transition: 0.3s;
    background-color: rgb(110, 141, 110) !important;
}
.join-card .card-content-front {
    bottom: 50%;
    transform: translateY(50%);
}
.join-card:hover {
    filter: brightness(1.1);
}
   .grid-item.load-more-card {
        display: none;
    }
@media (max-width: 1199px) {
    .category-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: min-content;
        gap: 15px;
        margin: 0px 40px;
    }
    .card-content-front h3 {
        font-size: 1.5rem;
    }
    .join-card h3 .big-word {
        font-size: 2.6rem;
    }
    .category-card {
        border: 10px solid rgb(255, 255, 255);
    }
    .grid-item.featured-wide {
        grid-area: span 1 / span 1;
        aspect-ratio: 1 / 1;
    }
    .grid-item.mobile-tall {
        grid-area: span 1 / span 2;
        aspect-ratio: 2 / 1;
    }
    .grid-item.mobile-square {
        grid-area: span 1 / span 2;
        aspect-ratio: 1 / 1;
    }
}
@media (max-width:991px){

  .grid-item.load-more-card {
      display: block;
    }
    #loadMoreCategories h3 {
        color: #779a75;
        font-weight: 500;
        font-size: clamp(1.1rem,  3vw, 2.5rem);
    }
    #loadMoreCategories .card-content-front {
        bottom: 50%;
        transform: translateY(50%);
    }
}


@media (max-width: 600px) {
    .category-card {
        border: 8px solid rgb(255, 255, 255);
        border-radius: 15px;
    }
    .card-content-front {
        padding: 15px;
    }
    .card-content-front h3 {
        font-size: 1.2rem;
        width: 100%;
    }
    .join-card .card-content-front {
        padding: 1.5rem 1rem 0px 0px;
    }
    .join-card h3 {
        font-size: 1.1rem;
        line-height: 0.9;
    }
    .join-card h3 .big-word {
        font-size: 1.8rem;
        margin-bottom: 2px;
    }
    .card-media img {
        border-radius: 10px;
    }
    .card-overlay {
        border-radius: 10px;
    }
}
/*map*/
.title-container {
    height: 500px;
    background: rgb(110, 141, 110);
}
.title-container {
    display: flex;
    align-items: center;
}
.title-container {
    position: relative;
    display: flex;
    z-index: -1;
    margin-top: -94px;
}
.title-container::before {
    content: "";
    position: absolute;
    right: 300px;
    width: 500px;
    height: 500px;
    background-image: url("/content/images/deco-map.svg?v=1");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
    opacity: 0.2;
}
.title-container h2 {
    font-size: 2.5rem;
    color: rgb(255, 255, 255);
    padding-right: 180px;
    font-weight: 600;
}
.map-container {
    padding: 0px 120px 0px 90px;
    margin-top: -100px;
}
.map-container iframe {
    border-radius: 2rem;
    box-shadow: rgba(0, 0, 0, 0.34) 0px -4px 10px;
    height: 800px;
}
div#map {
    border-radius: 0px !important;
}
@media (max-width: 1199px) {
    .map-container {
        padding: 0px 10px;
    }
    .map-container iframe {
        border-radius: 1rem;
        height: 550px;
        padding: 1rem;
        background: white;
    }
    .title-container h2 {
        font-size: 1.8rem;
        padding-right: 20px;
    }
    .title-container::before {
        width: 90%;
        height: 400px;
        right: 36px;
        top: 29px;
    }
    .title-container h2 {
        padding-right: 20px;
        font-size: 2.5rem;
    }
}
@media (max-width: 691px) {
    .map-container iframe {
        height: 350px;
    }
}
