/* --- משתנים לאיפוס וצבעים --- */
:root {
    --primary-color: #3b5998; /* הכחול של הלוגו */
    --secondary-color: #8b5a96; /* הסגול של הלוגו */
    --text-dark: #1a1a24;
    --text-light: #555555;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* --- מחלקות עזר --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); padding: 80px 0; }

/* --- כפתורים כלליים --- */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(59, 89, 152, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 89, 152, 0.5);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* --- Header --- */
.main-header {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 100;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* תיקון הרווחים של הלוגו */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 260px; /* הרוחב שרצית - אפשר לשחק עם המספר הזה */
    height: 90px; /* הגובה הקבוע שימנע מההדר להתנפח */
    object-fit: cover; /* חותך אוטומטית את הרקע הלבן המיותר מלמעלה ולמטה */
    object-position: center; /* מוודא שהטקסט של הלוגו נשאר בדיוק באמצע */
}
/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    padding: 120px 20px;
    text-align: center;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero h1 span {
    color: var(--primary-color);
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 40px auto;
}

/* --- Features Section (4 Boxes) --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 80px 20px;
}
.feature-box {
    text-align: center;
    padding: 40px 25px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.feature-icon {
    margin-bottom: 20px;
}
.feature-box h3 { 
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.feature-box p { 
    color: var(--text-light); 
    font-size: 0.95rem; 
}

/* --- Process Steps Section --- */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.step {
    flex: 1;
    text-align: center;
    background: var(--white);
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}
.step-number {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(59, 89, 152, 0.2);
}
.step h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}
.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- WhatsApp Contact Section --- */
.contact {
    padding: 80px 20px;
    max-width: 700px;
    margin: 0 auto;
}
.whatsapp-box {
    margin-top: 40px;
}
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}
.btn-whatsapp:hover {
    background-color: #1ebd5c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

/* --- Floating WhatsApp Button --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #1ebd5c;
    color: white;
}

/* --- Footer --- */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 30px 0;
    font-size: 0.9rem;
}

/* --- התאמה למסכים קטנים (Mobile & Tablet) --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .hero { padding: 80px 20px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    
    .process-steps { flex-direction: column; }
    
    /* הקטנת כפתור הוואטסאפ במובייל כדי שלא יחרוג מהמסך */
    .btn-whatsapp {
        padding: 12px 25px;
        font-size: 1.1rem;
        width: 100%;
    }
}