:root {
    --primary-color: #2c3e50;
    --secondary-color: #b89462;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.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;
}


.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;
}

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

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

}

#services {
    position: relative;
    background-color: var(--text-light);
    /* רקע בסיסי */
    overflow: hidden;
}

.background-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-dark);
    opacity: 0.05;
    /* יוצא צבע דומה ל- #f8f9fa */
    pointer-events: none;
    /* שלא יחסום אינטראקציה עם התוכן */
}

#about h2,
#about p {
    color: var(--text-dark) !important;
}

.service-card {
    transition: transform 0.3s;
    border: 1px solid var(--text-dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: var(--text-light);
    color: var(--text-dark);
}

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

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

.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 {
    background-color: var(--text-light);
}


.carousel-item {
    height: 100vh;
    /* Full screen height */
    min-height: 300px;
    padding-left: 0px !important;
    padding-right: 0px !important;

}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the image covers the container without stretching */
}

#carouselHero .carousel-item {
    height: 100vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* כהה עדין */
}

/* אפקט כניסה לטקסטים */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* שיפור נראות הכיתוב */
.carousel-caption {
    position: absolute;
    bottom: 20%;
    text-align: center;
}

.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-light);
}

.carousel-caption p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* כפתורי הניווט */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}



.contact-section {
    position: relative;
    /* background-image: url('assetes/images/templates/slider/contact/contact-us.jpg'); */
    background-image: url(../../assets/images/templates/slider/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(-45deg, var(--primary-color), var(--secondary-color));
    /* 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 {
    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);
}

#images {
    /* background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color)); */
    background: conic-gradient(from 220deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    
    color: var(--text-light);
}

.images-card {
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


.images-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

@media(max-width:987px) {
    .images-card {
        margin-top: 60px;
    }
    #images{
        padding: 10px 0 40px 0;
    }
    .images-card .row{
        gap:30px;
    }
    
}

@media(min-width:988px) {
  
    .free-text {
        padding: 110px 50px;
    }

    #images{
        padding: 200px 0;
    }
}

.card-text{
    padding:50px;
}

.images-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.images-card .card-body {
    padding: 50px;
    text-align: right;
}

.images-card h5 {
    color: var(--text-dark);
    font-weight: bold;
    margin-bottom: 10px;
}

.images-card p {
    color: var(--text-dark);
    font-size: 16px;
    margin: 0;
}

.lead {
    font-weight: 400;
}

.images-card i {
    color: var(--primary-color);
}

.free-text .card-body {
   
    font-weight: bold;
    text-align: center;
}


.free-text .card {
    transition: transform 0.3s ease-in-out;
}

.free-text .card:hover {
    transform: translateY(-10px);
}

.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;
}


.footer {
    background-color: var(--text-dark);
    color: 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);
}

.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
}



/* 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; }


@media (max-width: 768px) {
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .articles-section {
        padding: 50px 0;
    }
}



.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;
  }
}
