/* --- 1. הגדרות בסיס וטיפוגרפיה --- */
:root {
    --pix-heading-font: "Heebo";
}

body { 
    color: #4a5568; 
    background-color: #f9fafb; 
    font-family: var(--pix-heading-font), "Assistant", sans-serif; 
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--pix-heading-font), sans-serif; }
h2, .h2 { font-size: 1.5rem; line-height: 1.75rem; }
p { margin-bottom: 0.1rem; }
a { color: white; transition: opacity 0.2s; text-decoration: none; }
a:hover { opacity: 0.8; color: white !important; }

/* הגדרת רוחב מקסימלי לתוכן - Desktop */
.wpb-content--blank .wpb-content-wrapper { max-width: 1520px; }

/* --- 2. אלמנטים עיצוביים, צבעים ו-Utility Classes --- */
.hero-bg {
    background-image: linear-gradient(rgba(94, 46, 133, 0.9), rgba(0, 86, 179, 0.8)),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1080");
    background-size: cover;
    background-position: center;
}

@keyframes splashtop-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.animate-float { animation: splashtop-float 4s ease-in-out infinite; }

/* צבעים ועיצובים ייחודיים */
.Gray-7 { color: #525558; }
.bg-brand-red { background-color: rgb(211,47,47); }
.bg-brand-purple { top: 25rem; width: 43rem; border-radius: 1.5rem; position: absolute; z-index: 5; }
.demo-red-btn { font-size: 1.5rem; line-height: 2rem; }

.bg-gradient-to-t { 
    --tw-gradient-from: rgb(0 0 0 / 0.6); 
    --tw-gradient-to: transparent; 
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);  
    background-image: linear-gradient(to top, var(--tw-gradient-stops)); 
}

/* אייקונים וצבעי טקסט */
.text-red-600 .uavc-list-icon { color: rgb(220 38 38); }
.bg-red-100 > .uavc-list-icon { background-color: rgb(254 226 226); margin: 1rem 0; }

/* פינות מעוגלות וצללים */
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 1rem; }
.shadow-md { 
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); 
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); 
}

/* אפקטי Blur */
.backdrop-blur-md {
    --tw-backdrop-blur: blur(12px);
    backdrop-filter: var(--tw-backdrop-blur);
    -webkit-backdrop-filter: var(--tw-backdrop-blur);
}
.backdrop-blur-sm .ult-content-box { 
    -webkit-backdrop-filter: blur(4px); 
    backdrop-filter: blur(4px); 
}
.mb-2.backdrop-blur-md {
    border-color: #ffffff1a;
    background-color: #ffffff0d;
    border-radius: 2rem;
    padding: 2rem;
    font-size: 20px;
    color: #e5e7eb;
}
.mb-2.backdrop-blur-md p { color: #e5e7eb; }
.mb-2.backdrop-blur-md ul { padding-right: 2rem; }

/* תיקון מספרים רצים ב-RTL */
.pix_numbers.animate-math { direction: ltr !important; }
.pix_numbers.animate-math .number-content { direction: rtl; }

/* תמונות ורשימות */
.pix-content-stack .img-el { width: 90%; }
.list-inside ul li { margin-right: 1rem; }
.pix-content-box.card .card-text { padding-bottom: 1rem; }

/* --- 3. תיבות פיצ'רים (Feature Elements) --- */
.pix-feature-el.media .rounded-circle { width: 4rem !important; margin-top: 0.5rem; }
.pix-feature-el .media-body { 
    padding: 1rem; 
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); 
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); 
    border-color: rgb(243 244 246); 
    background-color: rgb(249 250 251); 
    border-width: 1px; 
    border-radius: 0.75rem; 
    border-style: solid; 
}
.pix-feature-el .media-body:hover { 
    --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); 
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); 
}
.pix-feature-el .media-body h2 { padding-top: 0px !important; }

/* --- 4. טבלאות מחירים (Pricing Tables) --- */
.outer-price .vc_column-inner { padding-top: 0; }
.outer-price .price-box .ult_pricing_table { border-radius: 12px; }

/* תוקן: הגדרת גובה קבוע ויישור למרכז כדי למנוע חוסר איזון */
.outer-price .price-box .ult_pricing_heading { 
    border-top-right-radius: 12px; 
    border-top-left-radius: 12px; 
    min-height: 120px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}

/* אייקון V ירוק ברשימת מחירים */
.outer-price .price-box li::before { 
    content: ""; 
    width: 18px; 
    height: 18px; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2322c55e' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); 
    background-repeat: no-repeat; 
    background-size: contain; 
}

.outer-price .price-box .ult_price_action_button { width: 75%; border-radius: 0.5rem !important; }
.outer-price .price-box .ult_price_action_button:hover { filter: brightness(0.75); transition: filter 0.5s ease; }

/* --- 5. טפסים, גריד ו-WPBakery Tweaks --- */
.product-radio-grid .wpcf7-list-item { display: inline-block; width: 48%; margin: 1% !important; vertical-align: top; }
.product-radio-grid .wpcf7-list-item-label { font-size: 14px; cursor: pointer; color: #4a5568; padding-right: 2%; }
.product-radio-grid .wpcf7-list-item label { display: block; border: 1px solid #e2e8f0; padding: 10px; border-radius: 8px; transition: 0.3s; cursor: pointer; }
.product-radio-grid .wpcf7-list-item label:hover { border-color: #0088CC; background-color: #f7fafc; }

.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item, .wpcf7-list-item.last input[type=checkbox] { margin-left: 0.25rem; }
.wpcf7-form-control-wrap { display: inline; }
.wpcf7-form label { margin-bottom: 0.2rem; }
.form-control, .post-password-form input[type="password"] { border: 1px solid #cfcdcd; border-radius: 0.5rem; padding: 0.4rem 1rem; width: 100%; box-sizing: border-box; }
.wpcf7-form-control.wpcf7-submit { border: 0px solid; border-radius: 0.5rem !important; cursor: pointer; }

.btn { margin-right: 0 !important; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem !important; }
.mb-12, .mb-22, .mb-32 { margin-bottom: 0 !important; }

.vc_section.vc_section-has-fill, .vc_section.vc_section-has-fill + .vc_row-full-width + .vc_section { padding-top: 15px !important; }
.uavc-list-icon-wrapper.ult-adjust-bottom-margin { margin-bottom: 0 !important; }

@media (min-width: 1241px) {
	#contact-form { padding: 0 5rem 0 5rem; }
}

/* --- 6. התאמות למסכים קטנים (1240px ומטה) --- */
@media (max-width: 1240px) {
    h1, .h1 { font-size: 2.2rem !important; }
    h2, .h2 { font-size: 1.25rem !important; }
    h3, .h3 { font-size: 2rem !important; }
	h4, .h4 { font-size: 1.75rem !important; }
	h5, .h5 { font-size: 0.8rem !important; }
	#contact-form { padding: 0 3rem 0 3rem; }
	.ult-dual-color .ult-highlight-text, .ult-dual-color .ult-dual-heading-text { font-size: 50px !important; }
	.bg-brand-purple { top: 17rem; width: 34rem; }
	.text-18 { font-size: 16px; }
    .product-radio-grid .wpcf7-list-item { width: 48% !important; margin: 1% !important; display: inline-block; }
    .wpb-content--blank .wpb-content-wrapper { max-width: 92% !important; margin: 0 auto; }
    .pix-content-stack .img-el { width: 100% !important; }
	.box-icon .ult-content-box { min-height: 410px !important; }
    .mb-2.backdrop-blur-md { padding: 1.5rem !important; font-size: 17px !important; border-radius: 1rem; }
	.card-body { min-height: 260px; }
	.ult_pricing_table .ult_pricing_heading .price-heading { font-size: 1.45rem !important; }
	.ult_pricing_table .ult_pricing_heading .price-subheading { font-size: 1.1rem !important; }
	.ult_design_5 .ult_pricing_table .ult_price_features ul li { margin-left: 0.25rem !important; margin-right: 0.25rem !important; text-align: right; }
}

/* --- 6. התאמות למסכים יותר קטנים (1024px ומטה) --- */
@media (max-width: 1024px) {
    h1, .h1 { font-size: 2rem !important; }
    h2, .h2 { font-size: 1.1rem !important; }
    h3, .h3 { font-size: 1.8rem !important; }
	h4, .h4 { font-size: 1.5rem !important; }
	h5, .h5 { font-size: 0.75rem !important; }
	#contact-form { padding: 0 0 0 1rem; }
	.ult-dual-color .ult-highlight-text, .ult-dual-color .ult-dual-heading-text { font-size: 40px !important; }
	.bg-brand-purple { top: 20rem; width: 28rem; }
	.text-18 { font-size: 16px; }
    .product-radio-grid .wpcf7-list-item { width: 48% !important; margin: 1% !important; display: inline-block; }
    .wpb-content--blank .wpb-content-wrapper { max-width: 92% !important; margin: 0 auto; }
    .pix-content-stack .img-el { width: 100% !important; }
	.box-icon .ult-content-box { min-height: 410px !important; }
    .mb-2.backdrop-blur-md { padding: 1.5rem !important; font-size: 17px !important; border-radius: 1rem; }
	.card-body { min-height: 260px; }
	.ult_pricing_table .ult_pricing_heading .price-heading { font-size: 1.45rem !important; }
	.ult_pricing_table .ult_pricing_heading .price-subheading { font-size: 1.1rem !important; }
	.ult_design_5 .ult_pricing_table .ult_price_features ul li { margin-left: 0.25rem !important; margin-right: 0.25rem !important; text-align: right; }
}

/* תוקן: התאמה לטאבלט וסלולר רוחבי - הפיכת המחירון לטור אחד ויצירת מרווח כדי שלא יידבקו */
@media (max-width: 991px) {
    .outer-price.vc_column_container { width: 100% !important; margin-bottom: 40px !important; padding-left: 15px !important; padding-right: 15px !important; }
    .outer-price .price-box .ult_pricing_table { max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
    h1, .h1 { font-size:  !important; }
    h2, .h2 { font-size:  !important; }
    h3, .h3 { font-size:  !important; }
	h4, .h4 { font-size:  !important; }
	h5, .h5 { font-size:  !important; }
	#contact-form { padding: 0 0 0 1rem; }
	.ult-dual-color .ult-highlight-text, .ult-dual-color .ult-dual-heading-text { font-size: 32px !important; line-height: 35px !important; }
	.mb-32.pix-sliding-headline-2.secondary-font.fusion-responsive-typography-calculated.pix-waiting.pix-animate.pix-sliding-text.animated { font-size: 1rem !important; }
	.vc_column-inner.contact-form.vc_custom_1775822358762 { padding: 0 0.5rem 1rem 0.5rem !important; }
	.pix-content-box.card.vc_custom_1775821269769.custom-8f8e294243e0e528aad88a8f223d572f.rounded-10.shadow-lg.shadow-hover-lg.pix-animate.animated { padding-right: 1rem !important; padding-left: 1rem !important;   }
    .vc_section, .vc_row { padding-left: 10px !important; padding-right: 10px !important; }
	.content-el-inner.bg-white2.vc_custom_1768652984052.rounded-lg.rounded-lg.pix-p-40 { padding: 0rem !important; }
	.bg-brand-purple { top: 1rem !important; width: 115% !important; }
	.pix-el-text.w-100.text-center.vc_custom_1776245537599 { margin-top: 0 !important; }
    /* תוקן: ביטול גובה קבוע בכותרת במובייל */
    .outer-price .price-box .ult_pricing_heading { min-height: auto; padding-top: 15px; padding-bottom: 15px; } 
	.vc_custom_1774716433127 .wpb_column.vc_column_container:not(.vc_hidden-sm):not(.vc_hidden-xs) { margin-bottom: 2rem; }
	.entry-content ul, .elementor-section-wrap ul { padding-right: 0.25rem; }
	.brand-img { text-align: center !important; }
	.vc_custom_1773339154754  { margin-bottom: 2rem; }
	.testimonials .vc_column_container .vc_column-inner, .pros .vc_column_container .vc_column-inner { margin-bottom: 2rem; }
	.vc_custom_1776422922265 { margin-top: 0.5rem !important; }
}