:root {
    --primary-color: #333333;
    --secondary-color: #D4A373;
    --text-dark: #2C2C2C;
    --text-light: #F8F9FA;
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 110px;
    position: relative;
}


.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(225deg, var(--secondary-color) 0%, var(--text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-collapse {
    flex-grow: 0;
}

/* הוסף את הקוד הזה לקובץ ה-CSS שלך */

@media (max-width: 991.98px) {
    /* מסך מובייל */

    /* מיכל ראשי עם גובה קבוע והגדרת משמעות למיקום יחסי */
    .navbar .container {
        position: relative;
        min-height: 60px;
        padding: 0.5rem 1rem;
    }

    /* הגדר את השטח של הלוגו */
    .navbar-brand {
        position: relative;
        max-width: calc(100% - 60px);
        /* להשאיר מקום לכפתור ההמבורגר */
        margin-right: 0;
    }

    /* הגדרות עבור מיכל הלוגו */
    .logo-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        max-width: 100%;
    }

    /* הגדרות עבור הטקסט של הלוגו */
    .logo-text {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        display: inline-block;
    }

    .logo-text span {
        display: inline-block;
        white-space: normal;
    }

    /* מיקום כפתור ההמבורגר */
    .navbar-toggler {
        left: 1rem;
        top: 0.5rem;
        margin: 0;
    }

    /* הגדרות לתפריט הנפתח */
    .navbar-collapse {

        top: 100%;
        left: 0;
        right: 0;
        background-color: inherit;
        z-index: 1000;
        padding: 0.5rem 1rem;
        background: var(--primary-color);
    }

    /* הפריטים בתפריט */
    .navbar-nav {
        width: 100%;
    }
}

.navbar {
    transition: all 0.3s ease-in-out;
    padding: 15px 0;
}

.navbar.shrink {
    padding: 0 !important;
    /* מקטין את התפריט */

}

.navbar .logo-container {
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
}

.navbar.shrink .logo-icon {
    width: 80px;
    /* מקטין את האייקון */
    height: auto;
}


/* הגדרות עבור הטקסט של הלוגו */
.logo-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    display: inline-block;
}

.logo-text span {
    display: inline-block;
    white-space: normal;
    max-width: 300px;
}



#navbarNav .active {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 5px 10px 5px 10px !important;

}

.nav-link.active:hover {
    color: var(--primary-color) !important;
    padding: 5px 10px 5px 10px !important;
}

.nav-item {
    padding: 5px 10px 5px 10px !important;

}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: var(--text-dark);
    color: var(--text-light);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/image1.webp);
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    /* Adjust opacity */
    z-index: 0;
    background-attachment: fixed;
}


.hero-content {
    position: relative;
    z-index: 1;
    /* Keeps text above the background */
}

.navbar {
    background-color: transparent;
    transition: all 0.4s;
    padding: 1rem 0;
}

.navbar.fixed-top {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    color: var(--text-light) !important;
}

.nav-link {
    color: var(--text-light) !important;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* מסגרת עדינה */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    /* הצללה קלה */
    padding: 20px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}


#projects {
    padding: 20px 0 100px 0;
}

#services {
    padding: 100px 0;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px auto 20px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--secondary-color) !important;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--secondary-color) !important;
    transform: scale(1.05);
}

.btn-outline-light {
    background: none;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s;
    border: 1px solid var(--text-light);
}

.btn-outline-light:hover {
    background: var(--text-light);
    border: 1px solid var(--secondary-color);

    transform: scale(1.05);
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-light);
    transform: translateY(100%);
    transition: transform 0.3s;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.about-section {
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 85px 0;
}


.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.contact-info-card {
    background: var(--text-light);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.features-section {
    position: relative;
    background: var(--text-light);
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--text-light);
    transform: skewY(-3deg);
    transform-origin: right;
}

.footer {
    background-color: var(--text-dark);
    color: var(--text-light);
}

.border-light {

    border-top: 1px solid var(--text-light);

}

.float-contact-container {
    position: fixed;
    bottom: 10px;
    right: 20px;
    z-index: 1000;
}

.float-contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.float-contact-btn:hover {

    background-color: var(--secondary-color);
}

.contact-options {
    position: absolute;
    bottom: 70px;
    right: 0;

    flex-direction: column;
    gap: 10px;
}

.contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-btn {
    background-color: var(--secondary-color);
    color: var(--text-light);
    margin-bottom: 5px;
}

.phone-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.contact-btn:hover {
    transform: scale(1.1);
}


.social-links {
    list-style: none;
    padding: 0;
}

.social-links li {
    line-height: 2.5;
}

.social-links a {
    text-decoration: none;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--text-light);
    /* שינוי צבע בלחיצה */
}


.contact-section {
    position: relative;
    /* background-image: url('assetes/images/templates/biz/contact/contact-us.jpg'); */
    background-image: url(../../assets/images/templates/biz/contact/contact-us.jpg);
    background-size: cover;
    background-position: center;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-50deg, var(--primary-color) 80%, var(--secondary-color) 30%);
    /* secondary-color with opacity */
    opacity: 0.7;
    z-index: 1;
    background-attachment: fixed;
}

.contact-section h2 {
    color: var(--text-light) !important;
}

.contact-form-wrapper {
    position: relative;
    z-index: 2;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}


.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

.btn-primary:active,
.btn:active {
    background-color: var(--text-dark) !important;
}

.text-cards-section {
    background-color: var(--text-light);

}



.text-card {
    background: var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 60px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.inner-page-title-section {
    position: relative;
    height: 220px;
    background-color: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: right;
}

.mt-6 {
    margin-top: 60px;
}

.inner-page-title-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/image1.webp);
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    /* Adjust opacity */
    z-index: 0;
    background-attachment: fixed;
}

.page-title-txt {
    padding-top: 80px;
}


.business-card {
    padding: 75px;
    border-radius: 12px;
    background: var(--text-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.business-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.business-card p {
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-card p i {
    margin-left: 8px;
    color: var(--secondary-color);
}

.dropdown-menu {
    text-align: right !important
}

@media(max-width:987px) {

    .text-cards-section {
        padding: 35px 0;
    }

    .video-section {

        padding: 60px 0;
    }
}

@media(min-width:988px) {
    .text-cards-section {
        padding: 160px 0;
    }

    .video-section {

        padding: 90px 0;
    }
}



/* article new */

.articles-section {
    padding: 100px 0;
    background-color: var(--text-light);
}

.article-card {
    background: white;
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
    color: inherit;
    text-decoration: none;
}

.article-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.article-excerpt {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-card:hover .read-more {
    color: var(--primary-color);
}

.section-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    font-weight: bold;
}

.section-subtitle {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.2rem;
}

.article-heading {
    font-weight: 800;
    margin: 18px 0 8px;
    line-height: 1.3;
}

.article-section:first-child .article-heading {
    font-size: 2rem;
}

.article-paragraph {
    margin-bottom: 14px;
    line-height: 1.8;
}



/* slider */

.video-slider-container {
    padding: 60px 0;
    position: relative;
}

.slider-title {
    text-align: center;
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;

}

.slider-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    margin: 1rem auto;
    border-radius: 2px;
}

.video-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 30px;
    direction: ltr;
}

.video-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
}

.video-slide {
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    background: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

.video-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05));
    z-index: 1;
    pointer-events: none;
    border-radius: 15px;
}

/* Desktop - 3 slides visible */
@media (min-width: 768px) {
    .video-slide {
        width: calc(33.333% - 14px);
        transform: scale(0.95);
        opacity: 0.7;
    }

    .video-slide.active {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 8px 30px rgba(255, 0, 0, 0.3);
    }
}

/* Mobile - 1 slide visible */
@media (max-width: 767px) {
    .video-slide {
        width: 100%;
        min-width: 100%;
        transform: scale(1);
        opacity: 1;
    }

    .video-slider {
        gap: 0;
    }
}

.video-slide iframe {
    width: 100%;
    height: 200px;
    border: none;
    display: block;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .video-slide iframe {
        height: 250px;
    }
}

.video-slide:hover iframe {
    transform: scale(1.02);
}

.video-info {
    padding: 20px;
    background: linear-gradient(135deg, var(--secondary-color), #333333);
}

.video-title {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, var(--primary-color), var(--hover-color));
    border: none;
    color: var(--text-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: var(--shadow);
}

.slider-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav.prev {
    left: 0 !important;
    transform: rotate(180deg);
}

.slider-nav.next {
    right: 0 !important;
    transform: rotate(-180deg);
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

/* Loading animation */
.video-slide.loading {
    position: relative;
}

.video-slide.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    z-index: 2;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .slider-title {
        font-size: 2rem;
    }

    .video-slider-wrapper {
        padding: 20px;
        margin: 0 10px;
        direction: ltr;
    }

    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .slider-nav.prev {
        left: 0 !important;
    }

    .slider-nav.next {
        right: 0 !important;
    }
}




.yt3{ --gap:20px; --radius:16px; --nav:48px; --dot:#c8c8c8; --dot-active:#D4A373; }
.yt3 *{ box-sizing:border-box; }

.yt3-container{ padding:60px 20px; }
.yt3-title{ text-align:center; margin:0 0 24px; font:700 2rem/1.2 system-ui,Segoe UI,Arial; color:var(--text-color,#222); }

.yt3-shell{ display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:16px; }

.yt3-viewport{
  position:relative; overflow-x:auto; overflow-y:hidden;
  -webkit-overflow-scrolling:touch; scroll-behavior:smooth;
  border-radius:var(--radius); background:transparent; direction:ltr;
  scrollbar-width:none;
}
.yt3-viewport::-webkit-scrollbar{ display:none; }

.yt3-track{ display:flex; gap:var(--gap); list-style:none; padding:0; margin:0; }

.yt3-slide{
  flex:0 0 auto; width:300px; /* JS יעדכן */ border-radius:var(--radius);
  overflow:hidden; background:#000; box-shadow:0 8px 24px rgba(0,0,0,.18);
}

.yt3-media{ position:relative; width:100%; aspect-ratio:16/9; background:#000; }

.yt3{
  --play-w: 68px;          /* רוחב כפתור */
  --play-h: 48px;          /* גובה כפתור */
  --play-radius: 14px;     /* עיגול פינות */
  --play-red: #e62117;     /* צבע הכפתור */
  --play-tri-w: 18px;      /* רוחב המשולש (border-left) */
  --play-tri-h: 12px;      /* חצי-גובה המשולש */
}

.yt3-lite{
  position:absolute; inset:0; width:100%; height:100%;
  display:block; cursor:pointer; border:0;
  background:#000 center/cover no-repeat;
  line-height:0;
}

.yt3-lite::before{
  content:"";
  position:absolute; inset:0; margin:auto;
  width:var(--play-w); height:var(--play-h);
  border-radius:var(--play-radius);
  background:var(--play-red);
  box-shadow:0 8px 24px rgba(0,0,0,.35);
  transition:transform .15s ease;
  will-change:transform;
}

.yt3-lite::after{
  content:"";
  position:absolute;
  top:50%;
  left:calc(50% + 2px);              /* פיצוי ויזואלי לימין */
  transform:translate(-50%,-50%);
  width:0; height:0;
  border-left:var(--play-tri-w) solid #fff;
  border-top: var(--play-tri-h) solid transparent;
  border-bottom:var(--play-tri-h) solid transparent;
  pointer-events:none;
}

.yt3-lite:hover::before{ transform:scale(1.06); }
.yt3-lite:focus-visible{ outline:3px solid #D4A373; outline-offset:2px; }

.yt3-nav{
  width:var(--nav); height:var(--nav); border-radius:50%;
  border:1px solid rgba(0,0,0,.12); background:#fff; color:#111;
  display:grid; place-items:center; cursor:pointer; user-select:none;
  transition:transform .2s, box-shadow .2s, background .2s, opacity .2s;
}
.yt3-nav:hover{ transform:scale(1.06); box-shadow:0 6px 16px rgba(0,0,0,.15); }
.yt3-nav:disabled{ opacity:.4; cursor:default; }

.yt3-dots{ display:flex; justify-content:center; gap:10px; margin-top:14px; }
.yt3-dots button{
  width:8px; height:12px; border-radius:50%; border:0; background:var(--dot); opacity:.7; cursor:pointer;
  transition:transform .2s, background .2s, opacity .2s;
}
.yt3-dots button[aria-current="true"]{ background:#D4A373; opacity:1; transform:scale(1.15); }

@media (max-width:767px){
  .yt3-container{ padding:40px 0; }
  .yt3-title{ font-size:1.6rem; margin-bottom:16px; }
  .yt3-shell{ gap:12px; }
  .yt3-nav{ --nav:44px; }
}

@media (max-width:480px){
  .yt3{
    --play-w:56px; --play-h:40px; --play-radius:12px;
    --play-tri-w:16px; --play-tri-h:10px;
  }
}
