body, html {
    margin: 0;
    padding: 0;
    direction: rtl;
    font-family: Rubik, Arial, sans-serif;
    height: 100%;
    overflow-y: auto;
}

.background-image {
    background-image: url('bg.webp'); /* תמונת הרקע */
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 100vh; /* גובה מינימלי של כל המסך אך ניתן לגלול */
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-section {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    box-sizing: border-box;
}

.faq-section h2 {
    text-align: center;
    color: #333;
    font-size: 1.8em;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    text-align: right;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    position: relative;
    padding-left: 20px;
    padding-right: 30px;
}

.faq-question::before {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #007bff;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question::before {
    content: '-';
}

.faq-answer {
    display: none;
    margin-top: 10px;
    color: #555;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* עיצוב מותאם למובייל */
@media screen and (max-width: 768px) {
    .faq-section {
        width: 100%;
        padding: 15px;
        margin: 20px auto;
    }

    .faq-section h2 {
        font-size: 1.5em;
    }

    .faq-item {
        padding: 8px 0;
    }

    .faq-question {
        font-size: 1em;
        padding-left: 10px;
        padding-right: 20px;
    }

    .faq-answer {
        font-size: 0.9em;
    }
}

.content-box {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    width: 80%;
    max-width: 700px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	margin: 20px;
}

.logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.logo2 {
    max-width: 120px;
    margin-bottom: 20px;
	padding:10px;
}


.content-box h1 {
    font-size: 26px;
    color: #4f5254;
    margin-top: -10px; 
}

/* General styling for all <p> elements inside .content-box */
.content-box p {
    font-size: 18px;
    color: #555;
    margin: 20px 0;
}

/* Specific styling for the additional-text paragraph */
.content-box p.additional-text {
    font-size: 14px; /* This will now correctly apply to the additional-text */
    color: #777;
    margin-top: 20px;
}


.custom-button {
    background: linear-gradient(90deg, #4cbeeb, #3a8ac7);
    color: #ffffff; /* צבע הטקסט */
    border: none;
    padding: 15px 40px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    justify-content: center;
    transition: all 0.3s ease;
	margin: 8px;
    font-family: Rubik, Arial, sans-serif;
}

.custom-button .arrow {
    margin-right: 6px;
}

.custom-button:hover {
    box-shadow: 0 8px 10px rgb(65 138 198);
    transform: translateY(-2px);
}

.wcustom-button {
    background: linear-gradient(90deg, #27ea72, #08b13d);
    color: #ffffff; /* צבע הטקסט */
    border: none;
    padding: 15px 40px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    justify-content: center;
    transition: all 0.3s ease;
	margin: 8px;
    font-family: Rubik, Arial, sans-serif;
}

.wcustom-button .arrow {
    margin-right: 6px;
}

.wcustom-button:hover {
    box-shadow: 0 8px 10px rgb(5 193 95);
    transform: translateY(-2px);
}

.tcustom-button {
    background: linear-gradient(90deg, #54d581, #269c40);
    color: #ffffff; /* צבע הטקסט */
    border: none;
    padding: 15px 40px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    justify-content: center;
    transition: all 0.3s ease;
	margin: 8px;
    font-family: Rubik, Arial, sans-serif;
}

.tcustom-button .arrow {
    margin-right: 6px;
}

.tcustom-button:hover {
    box-shadow: 0 8px 10px rgb(31 157 71);
    transform: translateY(-2px);
}

.additional-text {
    font-size: 10px;
    color: #777;
}

/* עיצוב הלוגו התחתון */
.bottom-logo {
    max-width: 120px;
    margin-top: 20px;
}

meta[name="format-detection"] {
    telephone: no;
}

p {
    -webkit-touch-callout: none;
}

@media screen and (max-width: 768px) {
    .content-box {
        padding: 20px;
        width: 80%;
		margin: 20px;
    }
	
meta[name="format-detection"] {
    telephone: no;
}

p {
    -webkit-touch-callout: none;
}

.content-box h1 {
    font-size: 24px;
    color: #4f5254;
    margin-top: -10px; 
}
    .content-box p, .custom-button {
		font-family: Rubik, Arial, sans-serif;
        font-size: 20px;
    }

    .custom-button {
        padding: 10px 20px;
    }
}

@media only screen and (max-width: 768px) {
    .background-image {
        background-image: url('mobile-bg.webp'); /* Mobile-specific background image */
    }
}

/* פריסת ריבועים במחשב */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 עמודות */
    gap: 20px;
    text-align: center;
    margin-top: 20px;
    max-width: 800px;
    margin: 0 auto; /* מרכז את התוכן בעמוד */
}

.icon-cell {
    background: #ffffff;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.icon-cell:hover {
    transform: translateY(-5px); /* הרמה קלה בריחוף */
}

.icon {
    width: 80px;
    height: 80px;
	margin-top: 10px;
}

.icon-text {
    font-size: 16px;
    color: #555;
}

/* עיצוב למובייל - 2 ריבועים בכל שורה */
@media (max-width: 768px) {
    .icon-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 עמודות בכל שורה */
        gap: 15px;
    }

    .icon-cell {
        padding: 2px; /* התאמה של גודל הריבוע */
		padding-left: 10px;
        padding-right: 10px;
    }

    .icon {
        width: 80px; /* הקטנה של האייקון */
        height: 80px;
    }

    .icon-text {
        font-size: 14px; /* הקטנה של הטקסט */
    }
}
