* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik';
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: url(img/main.jpg) center no-repeat;
	background-size: cover;
    color: white;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-text{
	text-align: center;
}
.logo {
    display: flex;
    align-items: center;
	justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #d4af37;
}

.logo-text h1 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 16px;
    color: #ccc;
}

.hero-text h2 {
    font-size: 36px;
	font-family: 'Rubik';
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.2;
	color: #F7D49A;
}

.subtitle {
    font-size: 24px;
	line-height: 400;
    margin-bottom: 30px;
    line-height: 1.5;
}
.subtitle span{
	color: #F7D49A;
	font-weight: 500;
}
.description {
    font-size: 16px;
    color: #ccc;
    line-height: 1.5;
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
}

/* Form Sections */
.form-section {
    padding: 80px 0;
}

.form-section.light {
    background: #f5f5f5;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.form-wrapper h3, .form-wrapper p{
	text-align: center;
}
.form-wrapper h3 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #B37F2C;
    line-height: 1.2;
}

.form-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #707070;
    margin-bottom: 40px;
	line-height: 1.2;
}

.form-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.5;
}

.form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: left;
}
.form1{
	transform: translateY(-40px)!important;
}
	
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin: 0;
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #B37F2C;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #d4af37;
}

.submit-btn {
    width: 100%;
    background: #d4af37;
    color: white;
    padding: 18px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 20px;
}

.submit-btn:hover {
    background: #c19b26;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Chart Section */
.chart-section {
    padding: 80px 0;
    background: #f5f5f5;
    text-align: center;
}

.chart-section h3 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 40px;
    color: #B37F2C;
    line-height: 1.2;
}

.benefits {
    display: flex;
	flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 60px;
	max-width: 760px;
	margin: auto;
}
.benefits p{
	display: flex;
	font-size: 24px;
	font-weight: 400;
    align-items: center;
    gap: 5px;
}
.benefits p img{
	width: 24px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.benefit .icon {
    font-size: 32px;
    min-width: 50px;
}

.benefit p {
    font-size: 16px;
    color: #666;
    text-align: left;
}

.chart-container {
    margin-top: 40px;
}

.chart-image {
    max-width: 100%;
    height: auto;


}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #f5f5f5;
    color: white;
    text-align: center;
}

.testimonials-section h3 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 50px;
    line-height: 1.2;
	color: #B37F2C;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
}

.testimonial p {
    font-size: 20px;
	font-weight: 400;
    line-height: 1.2;
	font-style: italic;
    margin-bottom: 20px;
    color: #707070;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author span {
    font-weight: 400;
    color: #B37F2C;
}

/* Final Section */
.final-section {
    padding: 0;
    background: white;
}
.final-section>.container{
	max-width: 100%;
	padding: 0px;
}
.final-content {
    display: flex;
        flex-direction: row;
    gap: 60px;
        align-items: stretch;
}
.final-image{
	width: 50%;
}
.final-text{
	width: 50%;
	padding: 40px 10px;
}
.final-text h3 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #B37F2C;
    line-height: 1.2;
}

.final-text p {
    font-size: 20px;
    color: #707070;
    margin-bottom: 20px;
    line-height: 1.3;
	max-width: 650px;
}

.final-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background: #2a2a2a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: #d4af37;
    color: white;
    padding: 20px 30px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h4 {
    margin: 0;
    font-size: 20px;
}

.close {
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .final-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image img,
    .final-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
        min-height: auto;
		background: url(img/main.jpg) left no-repeat;
    }
    
    .hero-text h2,
    .form-wrapper h3,
    .chart-section h3,
    .testimonials-section h3,
    .final-text h3 {
        font-size: 24px;
    }
    
    .form-subtitle {
        font-size: 20px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .radio-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit {
        padding: 20px;
    }
    .benefits p{
		font-size: 16px;
		text-align: left;
	}
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .testimonial {
        padding: 25px;
    }
    .final-content{
		flex-direction: column;
	}
	.final-image, .final-text{
		width: 100%;
	}
    .form-section,
    .chart-section,
    .testimonials-section,
    .final-section {
        padding: 60px 0;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .logo-circle {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .hero-text h2,
    .form-wrapper h3,
    .chart-section h3,
    .testimonials-section h3,
    .final-text h3 {
        font-size: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .submit-btn {
        padding: 15px;
        font-size: 16px;
    }
}
/* --- RTL (Right-to-Left) Adjustments for Hebrew --- */
body[dir="rtl"] {
    /* הגדרת גוף העמוד כ-RTL, לטקסט כללי יישור ימין */
    text-align: right; 
}

/* ------------------ HERO SECTION: INLINE STYLES HANDLE LAYOUT & ALIGNMENT ------------------ */
/* ה-Layout של ה-Hero (סדר העמודות ויישור הטקסט למרכז)
מטופל כעת על ידי CSS ישיר (Inline Style) בקובץ index-he.html.
הכללים הקודמים הוסרו מ-style.css.
*/


/* ------------------ GENERAL RTL ALIGNMENT (שאר העמוד) ------------------ */

/* 4. סקשן הסיום, פה כן רוצים RTL (היפוך סדר עמודות) */
body[dir="rtl"] .final-content {
    direction: rtl; 
    flex-direction: row-reverse;
}

body[dir="rtl"] .final-image {
    order: 2; /* תמונה מימין */
}

body[dir="rtl"] .final-text {
    order: 1; /* טקסט משמאל, יישור ימין */
    text-align: right; 
}

body[dir="rtl"] .form-wrapper,
body[dir="rtl"] .form-group label,
body[dir="rtl"] .form-description,
body[dir="rtl"] .testimonial p,
body[dir="rtl"] .chart-section h3 {
    text-align: right;
}

body[dir="rtl"] .radio-group {
    align-items: flex-end;
}

body[dir="rtl"] .benefits p {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

body[dir="rtl"] .benefits p img {
    margin-right: 0;
    margin-left: 5px; 
}

body[dir="rtl"] .testimonial-author {
    flex-direction: row-reverse; 
    justify-content: flex-end;
}

/* מעביר את מסגרת ה-input לצד ימין */
body[dir="rtl"] input[type="text"]:focus,
body[dir="rtl"] input[type="tel"]:focus,
body[dir="rtl"] input[type="email"]:focus {
    border-right: 2px solid #B37F2C; 
    border-left: none;
}

/* ------------------ MOBILE RTL ADJUSTMENTS ------------------ */

@media (max-width: 1024px) {
    /* על מובייל, נחזיר את הכל ל-flex-direction: column; */
    body[dir="rtl"] .hero-content {
        flex-direction: column; 
        direction: rtl; /* חוזר ל-RTL על מובייל */
    }

    body[dir="rtl"] .final-content {
        flex-direction: column; 
    }
    
    body[dir="rtl"] .hero-text {
        text-align: center !important; 
    }
    body[dir="rtl"] .logo {
        justify-content: center !important; 
    }
    
    body[dir="rtl"] .final-image {
        order: 1; 
    }
    body[dir="rtl"] .final-text {
        order: 2; 
    }
}