:root {
    --primary-color: #1e3a5f;
    --secondary-color: #f4a261;
    --text-dark: #1e3a5f;
    --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(../../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.jpg);
    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
}