/* Global Styles & Variables */
:root {
    /* New Color Palette: Blue & Green */
    --primary-color: #00387B; /* Deep Blue */
    --secondary-color: #3FAB4C; /* Vibrant Green */
    --accent-color: #17A2B8; /* Teal/Light Blue Accent */

    /* Grays and Whites */
    --light-gray: #f8f9fa;
    --medium-gray: #dee2e6;
    --dark-gray: #1a2533;
    --text-color: #495057;

    /* >>> שידרגנו את צבע הכותרות לכחול עמוק יותר */
    --headings-color: #102A43;

    --white-color: #ffffff;

    /* Functional Colors */
    --success-color: #28a745;
    --error-color: #dc3545;

    /* Layout & Font */
    --header-height: 75px;
    --font-family: 'Heebo', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 8px 25px rgba(0, 56, 123, 0.1);
    --box-shadow-light: 0 5px 15px rgba(0, 56, 123, 0.07);
    --transition-speed: 0.35s;
    --transition-smooth: 0.4s ease-out;
    --footer-text-color: #bcccdc;
    --footer-link-hover: #ffffff;
    --golden-ratio: 1.618;
    --premium-shadow: 0 10px 30px rgba(0, 56, 123, 0.12);
    --menu-bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, #005cb8 100%);
    --animated-bg-duration: 25s;

    /* >>> הוספנו משתנה חדש למרווח פסקאות */
    --paragraph-line-height: 1.7;
}


*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent body scroll when mobile menu is open */
body.no-scroll {
    overflow-y: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--headings-color);
    letter-spacing: 0.2px;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.3rem; /* Slightly smaller default h2 */
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px; /* Adjusted width */
    height: 4px;
    background-color: var(--secondary-color); /* Green underline */
    border-radius: 2px;
}

h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.7rem;
}

p {
    font-size: 1.05rem;
    line-height: var(--paragraph-line-height);
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: -1rem auto 3rem auto;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color); /* Green hover */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0; /* Standardized padding */
    overflow: hidden;
    position: relative; /* For potential decorative elements */
}

section:nth-child(even) {
    background-color: var(--light-gray);
}

/* Section Tag */
.section-tag {
    display: block;
    text-align: center;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Grid Layout Helpers */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-dynamic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
}

/* Required Field Indicator */
.required {
    color: var(--error-color);
    margin-right: 3px;
    font-weight: bold;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: background-color 0.4s ease, height 0.4s ease, box-shadow 0.4s ease;
    z-index: 1100;
}

#main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background-image: 
        linear-gradient(120deg, rgba(var(--primary-color-rgb), 0.1), rgba(var(--secondary-color-rgb), 0.1)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23003a8c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: movePattern 60s linear infinite;
    z-index: -1;
}

@keyframes movePattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

#main-header.scrolled {
    height: calc(var(--header-height) - 10px);
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#main-header.scrolled::before {
    opacity: 0.2;
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#main-header .logo img {
    height: calc(var(--header-height) - 25px);
    transition: all 0.3s ease;
}

#main-header .logo img:hover {
    transform: scale(1.05);
}

#main-header .nav-links {
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

#main-header .nav-links li {
    list-style: none;
}

#main-header .nav-links a {
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 8px 5px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-block;
}

#main-header .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 10px;
}

#main-header .nav-links a:hover,
#main-header .nav-links a.active {
    color: var(--primary-color);
}

#main-header .nav-links a:hover::after,
#main-header .nav-links a.active::after {
    width: 100%;
}

#main-header.scrolled .nav-links a,
#main-header.scrolled .header-phone {
    color: var(--text-color);
}

.header-contact-info {
    display: flex;
}

.header-phone {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: linear-gradient(to right, rgba(var(--primary-color-rgb), 0.1), rgba(var(--secondary-color-rgb), 0.1));
}

.header-phone i {
    margin-left: 6px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
    outline: none;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    opacity: 1;
    right: 0;
    transform: rotate(0deg);
    transition: .3s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 20px;
    width: 75%;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 30px;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}

#main-header.scrolled .mobile-menu-toggle span {
    background: var(--text-color);
}

.mobile-nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    transition: right 0.4s ease;
    padding: calc(var(--header-height) + 20px) 30px 30px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-nav-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        linear-gradient(120deg, rgba(var(--primary-color-rgb), 0.1), rgba(var(--secondary-color-rgb), 0.1)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23003a8c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: movePattern 60s linear infinite;
    z-index: -1;
}

.mobile-nav-container.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.mobile-nav-links li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-links a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-right: 15px;
}

.mobile-nav-links a:hover {
    color: var(--primary-color);
}

.mobile-header-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 30px;
    background: linear-gradient(to right, rgba(var(--primary-color-rgb), 0.1), rgba(var(--secondary-color-rgb), 0.1));
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s ease;
}

.mobile-header-phone i {
    margin-left: 8px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Main Content Padding */
main {
    padding-top: var(--header-height);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: visible;
    z-index: 1;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* ============================= */
/* Hero Overlay Enhancement */
/* ============================= */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* הגברה של השקיפות לאטימות גבוהה יותר */
    background: linear-gradient(
        135deg,
        rgba(0, 56, 123, 0.85) 0%,
        rgba(63, 171, 76, 0.85) 100%
    );
    z-index: -1;
    pointer-events: none;
}


.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.12'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
    z-index: -1;
    animation: flowGradient 60s linear infinite;
}

@keyframes flowGradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1, .hero-section h2 {
    color: var(--white-color);
}

/* ============================= */
/* Hero Titles Typography */
/* ============================= */
.hero-section h1 {
    font-size: 3.8rem;           /* מעט יותר בולט */
    line-height: 1.2;            /* מרווח אנכי נוח לקריאה */
    letter-spacing: 0.5px;       /* רווח בין אותיות */
    font-weight: 800;
    color: var(--white-color);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-section h2 {
    font-size: 1.6rem;           /* הגדלה קלה */
    line-height: 1.4;            /* תומך בפסקי פסקה קצרים יותר */
    letter-spacing: 0.3px;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--white-color);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}


.hero-section h2::after {
    /* Optional accent line below subtitle */
    display: none; /* Hide for a cleaner look */
}

.hero-content {
    transform: translateY(0);
    transition: transform 0.5s ease;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================= */
/* Call-to-Action Button */
/* ============================= */
.cta-button {
    display: inline-block;
    padding: 18px 42px;                          /* פדינג גדול ונוח לנגיעה */
    background: linear-gradient(
        90deg,
        var(--secondary-color) 0%,
        var(--accent-color) 100%
    );
    color: var(--white-color);
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;                         /* עיגול עדין */
    box-shadow: 0 8px 20px rgba(63, 171, 76, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-4px);                 /* תנועה קלה מעלה */
    box-shadow: 0 12px 30px rgba(63, 171, 76, 0.6);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: -1;
    transition: all 0.6s ease;
}

.cta-button:hover::after {
    height: 400%;
    opacity: 1;
}

.cta-button i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* About Section */
.about-section {
    background-color: var(--white-color);
    background-image: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)), url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="none" stroke="%23e9ecef" stroke-width="2" stroke-dasharray="2,2"/></svg>');
    background-repeat: repeat;
}

.about-image.image-mask-container {
    margin: 0 auto;
    max-width: 320px;
    max-height: 320px;
    position: relative;
}

.image-mask {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--premium-shadow);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border: 3px solid var(--white-color);
    background-image: linear-gradient(to bottom right, var(--primary-color) 0%, transparent 80%);
}

.image-mask:hover {
    transform: translateY(-5px) rotate(-2deg);
    box-shadow: 0 15px 35px rgba(0, 56, 123, 0.18);
}

.about-image img {
    display: block;
    width: 100%;
    border-radius: 0.25rem;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Add a decorative element to the About section */
.about-image.image-mask-container::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border-top: 3px solid var(--secondary-color);
    border-left: 3px solid var(--secondary-color);
    top: -10px;
    left: -10px;
    z-index: -1;
}

.about-image.image-mask-container::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border-right: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    bottom: -10px;
    right: -10px;
    z-index: -1;
}

.about-content h2 {
    text-align: right;
    margin-bottom: 0.5rem;
}
.about-content h2::after {
    display: none;
}

/* Services Section */
.services-section {
    background: linear-gradient(to bottom, var(--white-color), var(--light-gray) 80%);
}

.service-card {
    position: relative;              /* כדי שה-overlay יתמקם מעליו */
    background-color: var(--white-color);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--medium-gray);
    overflow: hidden;                /* כדי לחתוך את ה-overlay */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;                 /* ללחיצה */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 5px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.service-card:hover,
.service-card:focus {
    transform: translateY(-10px);
    box-shadow: var(--premium-shadow);
    border-color: transparent;
}

/* ה-Overlay עצמו */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;            /* יאפשר לחיצה על הכרטיס, לא על ה-overlay */
}

.service-card:hover .card-overlay,
.service-card:focus .card-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* סטייל לטקסט ב-Overlay */
.card-overlay span {
    color: var(--white-color);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    background: rgba(63, 171, 76, 0.8);
    border-radius: 25px;
}

/* שיפור נגישות: מצב בעת קבלת פוקוס מקלדת */
.service-card:focus {
    outline: 3px dashed var(--secondary-color);
    outline-offset: 5px;
}

.service-card:hover::before {
    width: 100%;
}

.service-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1;
    transition: color var(--transition-speed) ease;
    animation: float-slow 5s ease-in-out infinite;
}

/* Assign colors to icons */
.card-icon.color-1 { color: #007bff; } /* Blue */
.card-icon.color-2 { color: #6f42c1; } /* Purple */
.card-icon.color-3 { color: #dc3545; } /* Red */
.card-icon.color-4 { color: #fd7e14; } /* Orange */
.card-icon.color-5 { color: var(--secondary-color); } /* Green */
.card-icon.color-6 { color: #17a2b8; } /* Teal */

.service-card:hover .card-icon {
    transform: translateY(-5px);
    /* Keep original color on hover for variety */
} 

.service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 0; /* Remove default margin for flex */
    font-size: 1rem;
    line-height: 1.6;
}

.service-card .partner-logo {
    max-width: 120px;
    margin: 1.2rem auto 0;
    opacity: 0.8;
}

/* Additional Services Section */
.additional-services-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0;
}

.additional-services-section h3 {
    color: var(--white-color);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

.additional-services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    list-style: none;
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.additional-services-list li {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 18px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    font-size: 1rem;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease; /* Added transform transition */
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.additional-services-list li:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.03); /* Subtle scale effect on hover */
}

.additional-services-list li i {
    color: var(--secondary-color); /* Green icon */
    font-size: 1.5rem;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
    transition: transform var(--transition-speed) ease; /* Added icon transition */
}

.additional-services-list li:hover i {
    transform: rotate(5deg); /* Slight rotation on hover */
}

/* Advantages Section */
.advantages-section {
    background-color: var(--light-gray);
    padding: 80px 0;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%), url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M0 20 L40 20 M20 0 L20 40" stroke="%23f1f7ff" stroke-width="1"/></svg>');
    background-attachment: fixed;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-top: 3rem;
}

.advantage-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow-light);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border-top: 4px solid var(--primary-color);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem auto;
    background-color: var(--secondary-color); /* Green background */
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    line-height: 1;
    box-shadow: 0 5px 10px rgba(63, 171, 76, 0.3);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background-color var(--transition-speed) ease; /* Added transitions */
    animation: float-fast 4s ease-in-out infinite;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1) rotate(-5deg); /* Scale and rotate icon on hover */
    background-color: var(--primary-color); /* Change background on hover */
    box-shadow: 0 8px 15px rgba(0, 56, 123, 0.3); /* Enhance shadow */
}

.advantage-item h4 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.advantage-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================= */
/* Visually Hidden Utility */
/* ============================= */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ============================= */
/* Testimonials Section Enhancements */
/* ============================= */
.testimonials-section {
    position: relative;
    background: url('images/testimonials-bg.jpg') center/cover no-repeat;
    color: var(--white-color);
    padding: 90px 0;
    overflow: hidden;
}

/* הכהיית ה־overlay משני */
.testimonials-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* הגברה לאטימות גבוהה יותר (ל-60%) */
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}
/* אילוץ הכותרות להיות לבנות עם צללה חזק */
.testimonials-section h2,
.testimonials-section .section-tag {
    position: relative;   /* מעל ה־overlay */
    z-index: 1;
    color: var(--white-color) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.testimonials-section .container {
    position: relative;
    z-index: 1;
}

/* ============================= */
/* Swiper Announce Region */
/* ============================= */

.swiper-slide.testimonial p,
.swiper-slide.testimonial cite {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    color: var(--white-color);
}
.swiper-announce {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ============================= */
/* Testimonials Navigation Buttons */
/* ============================= */
.swiper-button-prev,
.swiper-button-next {
    background: var(--white-color);
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: background 0.3s ease, color 0.3s ease;
}
.swiper-button-prev:hover,
.swiper-button-next:hover,
.swiper-button-prev:focus,
.swiper-button-next:focus {
    background: var(--secondary-color);
    color: var(--white-color);
    outline: none;
    cursor: pointer;
}

/* ============================= */
/* Pagination Bullets */
/* ============================= */
.swiper-pagination-bullet {
    background-color: rgba(255,255,255,0.4);
    opacity: 0.9;
    width: 10px;
    height: 10px;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
}
.swiper-pagination-bullet-active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}


/* ============================= */
/* FAQ Accordion Accessibility & Animation */
/* ============================= */
.faq-section { background-color: var(--white-color); }

.faq-accordion {
    max-width: 850px;
    margin: 2.5rem auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    transition: box-shadow var(--transition-speed) ease;
}

.faq-item:hover {
    box-shadow: var(--box-shadow);
}

/* כפתור השאלה */
.faq-question {
    width: 100%;
    background: var(--white-color);
    border: none;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease;
}

.faq-question:hover,
.faq-question:focus {
    background-color: #eaf4ff;
    outline: none;
}

.faq-question i {
    transition: transform var(--transition-speed) ease, color var(--transition-speed) ease;
    color: var(--primary-color);
}

/* מרכז סיבוב החץ */
.faq-item[aria-expanded="true"] .faq-question i {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

/* התשובה עצמה */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
}

.faq-answer[aria-hidden="false"] {
    padding: 20px 25px;
    max-height: 500px; /* וודא גובה מספיק לכל הטקסט */
}

.faq-answer p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}


/* Contact Section */
.contact-section {
    background: linear-gradient(to bottom, var(--light-gray) 30%, var(--white-color));
    padding-bottom: 100px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Adjusted ratio */
    gap: 50px;
    margin-top: 3.5rem;
    background-color: var(--white-color);
    padding: 45px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-top: 5px solid var(--primary-color);
}

.contact-form h3,
.contact-details h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-form h3::after,
.contact-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 56, 123, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-form button {
    align-self: flex-start;
    margin-top: 10px;
}

#form-status {
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 1.5em;
    transition: opacity 0.3s ease;
}
#form-status.success {
    color: var(--success-color);
}
#form-status.error {
    color: var(--error-color);
}

.contact-details p {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.contact-details p i {
    margin-left: 12px;
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.contact-details p a {
    color: var(--text-color);
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    word-break: break-word; /* Prevent long emails/links from breaking layout */
    position: relative; /* For underline effect */
}

.contact-details p a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.contact-details p a:hover {
    color: var(--primary-color);
}

.contact-details p a:hover::after {
     width: 100%;
}

.map-placeholder iframe {
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
    width: 100%;
    height: 280px;
    filter: grayscale(20%);
    transition: filter var(--transition-speed) ease;
}
.map-placeholder iframe:hover {
    filter: grayscale(0%);
}

/* Footer */
#main-footer {
    background-color: var(--dark-gray);
    color: var(--footer-text-color);
    padding: 50px 0 15px; /* Reduced padding */
    border-top: 5px solid var(--primary-color);
    background-image: linear-gradient(to bottom, rgba(26, 37, 51, 0.97), rgba(26, 37, 51, 0.97)), url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="1" fill="%235d7da0" opacity="0.2"/></svg>');
    background-repeat: repeat;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Equal columns */
    gap: 40px; /* Reduced gap */
    margin-bottom: 40px;
}

#main-footer h4 {
    color: var(--white-color);
    margin-bottom: 1rem; /* Reduced spacing */
    font-size: 1.2rem; /* Smaller heading */
    position: relative;
    padding-bottom: 0.7rem;
}

#main-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-top: 0.5rem;
}

#main-footer a {
    color: var(--footer-text-color);
    transition: color var(--transition-speed) ease;
}

#main-footer a:hover {
    color: var(--footer-link-hover);
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.footer-about p {
    font-size: 0.9rem; /* Reduced text size */
    line-height: 1.5;
    margin-bottom: 1rem; /* Reduced margin */
    color: var(--footer-text-color);
}

.social-icons a {
    color: var(--footer-text-color);
    font-size: 1.3rem;
    margin-left: 15px;
    display: inline-block;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(63, 171, 76, 0.15);
    transition: top 0.3s ease;
    border-radius: 50%;
}

.social-icons a:hover::before {
    top: 0;
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
}

.footer-quick-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-quick-links li {
    margin-bottom: 0.5rem; /* Less space between items */
}

.footer-quick-links li a {
    display: flex;
    align-items: center;
    font-size: 0.9rem; /* Smaller text */
}

.footer-quick-links li a i {
    font-size: 0.7rem;
    margin-left: 8px;
    color: var(--secondary-color);
    transition: transform var(--transition-speed) ease;
}

.footer-quick-links li a:hover i {
    transform: translateX(-3px);
}

.footer-contact p {
    margin-bottom: 0.5rem; /* Less space between items */
    font-size: 0.9rem; /* Smaller text */
    display: flex;
    align-items: flex-start; /* Align icon top for multi-line addresses */
}

.footer-contact p i {
    width: 18px;
    margin-left: 10px;
    color: var(--secondary-color);
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px; /* Align icon better */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px; /* Less padding */
    margin-top: 30px; /* Less margin */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    margin: 0; /* Remove margins */
}

.developer-credit {
    opacity: 0.7;
    font-size: 0.8rem;
}
.developer-credit a {
    font-weight: normal;
}

.developer-credit:hover {
    opacity: 1;
}

/* Footer Utility Links */
.footer-utility-link {
    opacity: 0.8;
    font-size: 0.9rem !important;
}
.footer-utility-link:hover {
    opacity: 1;
}

/* Scroll to Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem; /* Adjusted icon size */
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(15px);
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease, transform var(--transition-speed) ease, background-color var(--transition-speed) ease;
    box-shadow: 0 4px 12px rgba(0, 56, 123, 0.2);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

#scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05) translateY(-2px);
}

/* Responsive Design Adjustments */

/* Large Laptops / Desktops */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    h1 { font-size: 2.8rem; }
    .hero-section h1 { font-size: 3.2rem; }
    h2 { font-size: 2.1rem; }
}

/* Tablets & Smaller Laptops */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    h1 { font-size: 2.5rem; }
    .hero-section h1 { font-size: 3rem; }
    .hero-section h2 { font-size: 1.4rem; }
    h2 { font-size: 2rem; }
    section { padding: 70px 0; }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .about-section .about-content h2 {
        text-align: center;
    }
    .about-section .about-image {
        margin: 0 auto 35px auto;
        max-width: 400px;
        order: -1; /* Image first on smaller screens */
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 35px;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr; /* Two columns for medium screens */
    }
    #main-footer h4::after {
         right: 50%;
         transform: translateX(50%);
     }
     .footer-logo, .footer-contact p, .footer-quick-links ul {
         margin-right: auto;
         margin-left: auto;
         justify-content: center;
     }
     .footer-contact p {
         display: inline-flex; /* Prevent stretching */
         margin-bottom: 0.6rem;
         width: auto;
     }
      .social-icons {
         margin-top: 1rem;
     }

     /* Mobile Header Activation */
     #main-header .nav-links, .header-contact-info {
        display: none;
     }
     .mobile-menu-toggle {
        display: flex; /* Show toggle on mobile */
        flex-direction: column;
        justify-content: center;
     }
     /* .mobile-nav-container is handled by base style + active class */

}

/* Mobile Phones */
@media (max-width: 767px) {
    :root { --header-height: 70px; }
    html { font-size: 15.5px; }
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    h1 { font-size: 2.2rem; }
    .hero-section h1 { font-size: 2.5rem; }
    .hero-section h2 { font-size: 1.3rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 60px 0; }
    .hero-section { padding: 100px 0 120px 0; }

    .cta-button { padding: 13px 28px; font-size: 1.1rem; }

    .service-cards.grid-dynamic,
    .advantages-grid,
    .additional-services-list {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 25px;
    }

    .testimonial-slider {
        padding: 10px 15px 50px 15px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        display: none; /* Hide nav buttons on mobile */
    }
    .swiper-slide.testimonial { padding: 25px 30px; min-height: auto;}
    .testimonial p { font-size: 1.05rem; }

    .contact-wrapper { padding: 30px 25px; gap: 30px; }
    .contact-form input, .contact-form textarea { padding: 11px 14px; }

    .faq-question { padding: 15px 20px; font-size: 1.1rem; }
    .faq-answer { padding: 0 20px; }
    .faq-answer p { padding: 15px 0; }

    #main-footer { padding-top: 50px; } 
    .footer-content {
        grid-template-columns: 1fr; /* Single column for small screens */
        gap: 25px; /* Less gap */
    }

    .footer-contact {
        grid-column: auto; /* Reset spanning */
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    #scroll-to-top { width: 40px; height: 40px; font-size: 1.1rem; right: 15px; bottom: 15px;}
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    h1 { font-size: 2rem; }
    .hero-section h1 { font-size: 2.2rem; line-height: 1.3; }
    .hero-section h2 { font-size: 1.2rem; }
    h2 { font-size: 1.7rem; }

    .mobile-nav-container { width: 90%; max-width: none; }

    .client-photo { width: 80px; height: 80px; border-width: 3px; }

    .developer-credit { font-size: 0.75rem; }
}

/* Additional Premium Touches */
/* Section separator lines */
section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, 
                transparent, 
                var(--primary-color), 
                transparent);
}

/* Premium hover effects for buttons */
button:not(.mobile-menu-toggle):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Input field premium effect */
.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 0 2px rgba(0, 56, 123, 0.2);
}

/* Improved hover effect for social icons */
.social-icons a {
    /* ... existing code ... */
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(63, 171, 76, 0.15);
    transition: top 0.3s ease;
    border-radius: 50%;
}

.social-icons a:hover::before {
    top: 0;
}

/* Floating Animations for Various Elements */
@keyframes float-slow {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes float-fast {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-5px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0); }
}

/* Apply to various elements */
.service-card .card-icon {
    animation: float-slow 5s ease-in-out infinite;
}

.advantage-icon {
    animation: float-fast 4s ease-in-out infinite;
}

/* Service cards staggered hover effect */
.service-cards {
    perspective: 1000px;
}

.service-card {
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.service-card:nth-child(even):hover {
    transform: translateY(-15px) rotateY(-5deg);
}

/* New Clients Section */
.clients-section {
    padding: 70px 0;
    background-color: #f8fafc;
    text-align: center;
    background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), 
                     url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M20 1 L1 20 L20 39 L39 20 L20 1" stroke="%23e9ecef" stroke-width="1" fill="none"/></svg>');
}

.clients-section h2 {
    margin-bottom: 40px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.client-logo {
    padding: 20px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
    transform: scale(0.9);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1);
}

.client-logo img {
    max-width: 100%;
    height: auto;
}

/* Statistics Section */
.statistics-section {
    padding: 80px 0;
    position: relative;
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, 
                    rgba(0, 56, 123, 0.98) 0%, 
                    rgba(0, 88, 167, 0.98) 100%),
                    url('data:image/svg+xml;utf8,<svg width="50" height="50" xmlns="http://www.w3.org/2000/svg"><path d="M25 1 L49 25 L25 49 L1 25 Z" stroke="%23ffffff" stroke-width="1" fill="none" opacity="0.15"/></svg>');
    color: var(--white-color);
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg"><circle cx="60" cy="60" r="40" stroke="%23ffffff" stroke-width="2" fill="none" opacity="0.03"/></svg>');
    animation: rotatePattern 60s linear infinite;
    pointer-events: none;
}

@keyframes rotatePattern {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

.statistics-section .section-tag {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.statistics-section h2 {
    color: var(--white-color);
    text-align: center;
    margin-bottom: 50px;
}

.statistics-section h2::after {
    background-color: var(--secondary-color);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.statistic-item {
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    transition: transform 0.4s ease, background-color 0.4s ease;
}

.statistic-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.12);
}

.statistic-number {
    font-size: 3.2rem;
    font-weight: 800;
    transition: color 0.4s ease; /* צבע משתנה קלות אם תרצה */
    margin-bottom: 10px;
    background: linear-gradient(to bottom right, #ffffff, #e5e5e5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.statistic-text {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.statistic-icon {
    margin-bottom: 15px;
    font-size: 2.4rem;
    color: var(--secondary-color);
    display: inline-block;
}

/* Counting Animation */
.statistic-number {
    position: relative;
    display: inline-block;
}

.statistic-number::after {
    content: '+';
    position: absolute;
    top: 0;
    right: -20px;
    font-size: 2rem;
    color: var(--secondary-color);
    -webkit-text-fill-color: var(--secondary-color);
}

/* For numbers that don't need a + sign */
.statistic-number.no-plus::after {
    content: '';
}

/* Media queries */
@media (max-width: 992px) {
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .statistics-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Dividers & Transitions */
.section-divider {
    height: 150px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.divider-wave {
    position: absolute;
    width: 100%;
    height: 150px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.wave-top {
    top: 0;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>');
}

.wave-bottom {
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>');
    transform: rotate(180deg);
}

.diagonal-divider {
    position: relative;
    height: 100px;
    margin-top: -100px;
    z-index: 1;
    overflow: hidden;
}

.diagonal-divider.white-divider {
    background-image: linear-gradient(to right bottom, transparent 49.9%, var(--white-color) 50%);
}

.diagonal-divider.light-divider {
    background-image: linear-gradient(to right bottom, transparent 49.9%, var(--light-gray) 50%);
}

.diagonal-divider.primary-divider {
    background-image: linear-gradient(to right bottom, transparent 49.9%, var(--primary-color) 50%);
}

.curve-divider {
    height: 150px;
    position: relative;
    overflow: hidden;
    margin-top: -150px;
    z-index: 1;
}

.curve-divider.white-curve {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 150" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1200 150V0c-151.15 39.267-304.055 79.806-462.012 67.584-108.915-8.404-224.168-50.057-337.988-37.584-107.802 11.804-212.211 79.798-300 120H1200z" fill="%23ffffff"/></svg>');
}

.curve-divider.light-curve {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 150" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1200 150V0c-151.15 39.267-304.055 79.806-462.012 67.584-108.915-8.404-224.168-50.057-337.988-37.584-107.802 11.804-212.211 79.798-300 120H1200z" fill="%23f8f9fa"/></svg>');
}

/* Process Section */
.process-section {
    background-color: var(--light-gray);
    padding: 80px 0;
    background-image: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), 
                     url('data:image/svg+xml;utf8,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M30 5 L55 30 L30 55 L5 30 Z" stroke="%23e9ecef" stroke-width="1" fill="none"/></svg>');
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    counter-reset: step-counter;
}

.process-step {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    counter-increment: step-counter;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.process-step::before {
    content: counter(step-counter);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 56, 123, 0.3);
}

.process-step .step-icon {
    margin-bottom: 15px;
    font-size: 2.5rem;
    color: var(--secondary-color);
    display: inline-block;
}

.process-step h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-color);
}

.process-arrows {
    position: absolute;
    top: 35%;
    left: 100%;
    width: 25px;
    height: 25px;
    color: var(--primary-color);
    opacity: 0.5;
    transform: translateX(-50%);
}

@media (max-width: 992px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-arrows {
        display: none;
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .section-divider {
        height: 80px;
    }
    
    .diagonal-divider {
        height: 60px;
        margin-top: -60px;
    }
    
    .curve-divider {
        height: 80px;
        margin-top: -80px;
    }
} 

/* ================================= */
/* 1. Accessibility Button בכפתור קבוע */
/* ================================= */
.accessibility-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2000;      /* הכי למעלה */
}

/* ================================= */
/* 2. מיקום לוגו ותפריט במובייל */
/* ================================= */
@media (max-width: 992px) {
    /* ודא שהניווט הוא position: relative */
    #main-header nav.container {
        justify-content: center;  /* לוגו במרכז */
        position: relative;
    }
    /* לוגו במרכז מוחלט */
    #main-header .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1100;
    }
    /* תפריט toggle מימין */
    .mobile-menu-toggle {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1100;
    }
}

/* ============================= */
/* Hero Section Advanced Animations */
/* ============================= */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    will-change: transform;
    transition: transform 0.2s linear;
}

/* Pulsing Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,56,123,0.85), rgba(63,171,76,0.85));
    animation: overlayPulse 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes overlayPulse {
    0%,100% { opacity: 0.8; }
    50%     { opacity: 0.6; }
}

/* Hero Content Entrance */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content h1,
.hero-content h2,
.hero-content .cta-button {
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-content h1 {
    animation: heroTextIn 1s ease-out 0.5s forwards;
}

.hero-content h2 {
    animation: heroTextIn 1s ease-out 0.7s forwards;
}

.hero-content .cta-button {
    animation: heroTextIn 1s ease-out 0.9s forwards;
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================= */
/* Insurance Decor Elements Fade */
/* ============================= */
.insurance-decor {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
.deco {
    position: absolute;
    color: rgba(255,255,255,0.8);
    font-size: 2.5rem;
    opacity: 0;
    animation: decoFade 8s ease-in-out infinite;
}
.deco1 { top: 20%; left: 15%; animation-delay: 1s; }
.deco2 { top: 35%; right: 15%; animation-delay: 3s; font-size:3rem;}
.deco3 { bottom: 25%; left: 20%; animation-delay: 5s; }
.deco4 { bottom: 20%; right: 25%; animation-delay: 7s; }

@keyframes decoFade {
    0%,100%   { opacity: 0; transform: scale(0.5) translateY(20px); }
    25%,75%   { opacity: 1; transform: scale(1)   translateY(0);     }
    50%       { opacity: 0.8; transform: scale(1.1) translateY(-10px); }
}

/* Hero video fixed (no parallax) */
.hero-video-bg {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: auto; height: 100%;
    min-width: 100%; min-height: 100%;
    object-fit: cover;
    will-change: none;
    transition: none;
}

/* ======================================= */
/* Hero Decor Icons — Mobile Adjustments   */
/* ======================================= */
@media (max-width: 768px) {
    .insurance-decor .deco {
        /* גודל יחסי לרוחב המסך */
        font-size: 8vw !important;
        /* להבטיח שהם מעל ה־overlay */
        z-index: 0;
    }
    /* מיקום מותאם לכל אייקון */
    .deco1 {
        top: 12% !important;
        left: 5% !important;
    }
    .deco2 {
        top: 25% !important;
        right: 5% !important;
    }
    .deco3 {
        bottom: 18% !important;
        left: 5% !important;
    }
    .deco4 {
        bottom: 12% !important;
        right: 5% !important;
    }
}

/* ============================= */
/* Hero Section Advanced Styles */
/* ============================= */
.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 0.5em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* ============================= */
/* WhatsApp Floating Button      */
/* ============================= */
.whatsapp-btn {
    position: fixed;
    bottom: clamp(16px, 4vw, 32px);
    right: clamp(16px, 4vw, 32px);
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 4vw, 32px);
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-btn:hover,
.whatsapp-btn:focus {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    outline: none;
}

/* ============================= */
/* Insurance Decor – Mobile Tweak */
/* ============================= */
@media (max-width: 768px) {
    .insurance-decor .deco {
        font-size: 8vw !important;
    }
    .deco1 { top: 12% !important; left: 5% !important; }
    .deco2 { top: 25% !important; right: 5% !important; }
    .deco3 { bottom: 18% !important; left: 5% !important; }
    .deco4 { bottom: 12% !important; right: 5% !important; }
}

/* ======================================= */
/* 1. WhatsApp Floating Button — bottom-left */
/* ======================================= */
.whatsapp-btn {
    position: fixed;
    bottom: clamp(16px, 4vw, 32px);
    left: clamp(16px, 4vw, 32px);
    right: auto;
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 4vw, 32px);
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-btn:hover,
.whatsapp-btn:focus {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    outline: none;
}

/* ======================================= */
/* 2. Hero Title Enhancement              */
/* ======================================= */
.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--white-color);
    -webkit-text-stroke: 1px #ffffff;
    -webkit-text-fill-color: var(--white-color);
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
    background: none;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

/* ======================================= */
/* 3. Insurance Decor — High-Level Animations */
/* ======================================= */
.insurance-decor .deco {
    position: absolute;
    color: rgba(255,255,255,0.85);
    font-size: 3rem;
    opacity: 0;
}
.deco1 { top: 20%; left: 15%; animation: decoAnim1 8s ease-in-out infinite; }
.deco2 { top: 35%; right: 15%; animation: decoAnim2 10s ease-in-out infinite; }
.deco3 { bottom: 25%; left: 20%; animation: decoAnim3 9s ease-in-out infinite; }
.deco4 { bottom: 20%; right: 25%; animation: decoAnim4 11s ease-in-out infinite; }

/* פריימים מותאמים אישית לכל אייקון */
@keyframes decoAnim1 {
    0%,100% {
        opacity: 0;
        transform: scale(0.6) translateY(20px) rotate(-15deg);
    }
    25%,75% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2) translateY(-20px) rotate(15deg);
    }
}
@keyframes decoAnim2 {
    0%,100% {
        opacity: 0;
        transform: scale(0.7) translateY(30px) rotate(10deg);
    }
    30%,90% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
    60% {
        opacity: 0.7;
        transform: scale(1.3) translateY(-15px) rotate(-10deg);
    }
}
@keyframes decoAnim3 {
    0%,100% {
        opacity: 0;
        transform: scale(0.5) translateY(25px) rotate(-5deg);
    }
    20%,80% {
        opacity: 1;
        transform: scale(1.1) translateY(0) rotate(5deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.3) translateY(-25px) rotate(-5deg);
    }
}
@keyframes decoAnim4 {
    0%,100% {
        opacity: 0;
        transform: scale(0.8) translateY(20px) rotate(5deg);
    }
    25%,75% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(-5deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2) translateY(-20px) rotate(10deg);
    }
}

/* ======================================= */
/* 4. Mobile Tweaks for Decor Icons        */
/* ======================================= */
@media (max-width: 768px) {
    .insurance-decor .deco {
        font-size: 8vw !important;
    }
    .deco1 { top: 12% !important; left: 5% !important; }
    .deco2 { top: 25% !important; right: 5% !important; }
    .deco3 { bottom: 18% !important; left: 5% !important; }
    .deco4 { bottom: 12% !important; right: 5% !important; }
}

/* ======================================= */
/* Additional Services Section Styling    */
/* ======================================= */
.additional-services-section {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white-color);
    padding: 80px 0;
    overflow: hidden;
}
/* Overlay pattern קליל להצבעה אחידה */
.additional-services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml;utf8,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M0 20 L40 20 M20 0 L20 40' stroke='%23ffffff' stroke-width='0.5' opacity='0.1'/></svg>");
    z-index: 0;
    pointer-events: none;
}

/* כותרת הסקשן */
.additional-services-section h3 {
    position: relative;
    z-index: 1;
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white-color);
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* רשימת שירותים */
.additional-services-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    list-style: none;
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.additional-services-list li {
    background: rgba(255,255,255,0.15);
    padding: 20px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    font-size: 1rem;
    transition: background var(--transition-speed) ease, transform var(--transition-speed) ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.additional-services-list li:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-5px);
}

.additional-services-list li i {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
    transition: transform var(--transition-speed) ease;
}

.additional-services-list li:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* ======================================= */
/* Diagonal Dividers (reuse קיים)         */
/* ======================================= */
/* כבר מוגדר ב־CSS שלך: .diagonal-divider.white-divider */
/* ותוכל להוסיף .diagonal-divider.light-divider כפי שביקשנו מעל */

/* ======================================= */
/* Mobile Adjustments                      */
/* ======================================= */
@media (max-width: 768px) {
    .additional-services-section {
        padding: 60px 0;
    }
    .additional-services-section h3 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }
    .additional-services-list {
        gap: 15px;
    }
}

/* ======================================= */
/* Partners Slider Section Styling         */
/* ======================================= */
.partners-section {
    position: relative;
    background: var(--light-gray);
    padding: 80px 0;
    overflow: hidden;
}
.partners-section .section-tag {
    color: var(--secondary-color);
}
.partners-section h2 {
    color: var(--headings-color);
    margin-bottom: 2rem;
    text-align: center;
}

/* Swiper for Partners */
.partners-slider {
    width: 100%;
    padding: 20px 0;
}
.partners-slider .swiper-wrapper {
    display: flex;
    align-items: center;
  transition-timing-function: linear !important;
}
.partner-logo-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto !important; /* fit-content */
}
.partner-logo-slide img {
    max-width: 120px;
    opacity: 0.8;
    filter: grayscale(80%);
    will-change: transform, filter, opacity;
    /* זום איטי מאד עם ease-in-out */
    transition: 
      transform 2s ease-in-out,
      filter    2s ease-in-out,
      opacity   2s ease-in-out;
}

.partner-logo-slide:hover img {
    opacity: 1;
    filter: grayscale(0);
    /* רמת זום גבוהה יותר */
    transform: scale(1.3);
}


/* Hide Swiper controls/pagination if any */
.partners-slider .swiper-button-prev,
.partners-slider .swiper-button-next,
.partners-slider .swiper-pagination {
    display: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .partner-logo-slide img {
        max-width: 80px;
    }
}

/* ======================================= */
/* Process Timeline Section Styling       */
/* ======================================= */
.process-section {
    background: var(--white-color);
    padding: 80px 0;
    position: relative;
}
.process-section .section-tag {
    color: var(--secondary-color);
    text-align: center;
    display: block;
    margin-bottom: 0.5rem;
}
.process-section h2 {
    color: var(--headings-color);
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 0.5rem;
}
.process-section .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Timeline Layout */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 12.5%;
    width: 75%;
    height: 4px;
    background: var(--medium-gray);
    transform: translateY(-50%);
    z-index: 0;
}

/* Step */
.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
    transition: transform 0.3s ease;
}
.process-step:hover {
    transform: translateY(-10px);
}

/* Marker */
.step-marker {
    width: 60px;
    height: 60px;
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: var(--white-color);
    box-shadow: var(--box-shadow-light);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.step-marker span {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}
.process-step:hover .step-marker {
    border-color: var(--primary-color);
    transform: scale(1.1);
}
.process-step:hover .step-marker span {
    color: var(--primary-color);
}

/* Content */
.step-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.step-content p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* Mobile: Vertical Timeline */
@media (max-width: 992px) {
    .process-timeline {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .process-timeline::before {
        top: 0;
        left: 50%;
        width: 4px;
        height: calc(100% - 60px);
        transform: translateX(-50%);
    }
    .process-step {
        margin-bottom: 3rem;
    }
}
/*  =========== ביטול המספר הכפול ===========
    (כבוי ה-::before של התהליך שמייצר את העיגול הכחול) */
.process-step::before {
    display: none !important;
}
/* =============================== */
/*  Process Steps — Modern Cards   */
/* =============================== */
.process-step {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(245,245,245,0.9));
    border-radius: var(--border-radius);
    padding: 30px 20px;
    box-shadow: var(--box-shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    z-index: 1;
}
.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

/* רקע קו החיבור (משמרים את התגית המקורית) */
.process-timeline::before {
    background: var(--medium-gray); /* כבר אוטומטי */
}

/* =============================== */
/*  Step Marker — Single, Big & Bold */
/* =============================== */
.step-marker {
    width: 70px;
    height: 70px;
    border: 4px solid var(--secondary-color);
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.step-marker span {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
}
.process-step:hover .step-marker {
    border-color: var(--primary-color);
    transform: scale(1.1);
}
.process-step:hover .step-marker span {
    color: var(--primary-color);
}

/* =============================== */
/*  טקסט הכותרת והתיאור           */
/* =============================== */
.step-content h4 {
    font-size: 1.2rem;
    color: var(--headings-color);
    margin-bottom: 0.5rem;
}
.step-content p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .process-timeline {
        grid-template-columns: 1fr !important;
    }
    .process-timeline::before {
        left: 50%;
        top: 0;
        width: 4px;
        height: calc(100% - 60px);
        transform: translateX(-50%);
    }
    .process-step {
        margin-bottom: 3rem;
    }
}

/* Service Detail Section */
.service-detail {
    padding: 80px 0;
    background: var(--light-gray);
}
.service-detail h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}
.service-detail p {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}
.service-detail .cta-button {
    padding: 0.6em 1.4em;           /* פחות גובה ואורך */
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    max-width: 220px;               /* לא יגדל מעל זה */
    width: auto;                    /* מתנהג לפי הטקסט */
    margin-top: 1.5em;
}




.hero-logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 15px;
  position: relative;
  overflow: hidden;
}

.logo-image {
  margin-top: -10px;
}

.logo-image img {
  width: 220px;
  max-width: 80vw;
  opacity: 0;
  animation: fadeInLogo 1.2s ease forwards;
  filter: drop-shadow(0 0 0 #fff) drop-shadow(0 0 2px #000) drop-shadow(0 0 6px #fff);
}

.logo-text {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: bold;
  color: white;
  margin-top: 5px;
  margin-bottom: 0;
  text-shadow: 1px 1px 2px #000;
  -webkit-text-stroke: 0.7px #fff;
  text-stroke: 0.7px #fff;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards, sparkle 2s ease-in-out 2.2s 1;
}

.logo-attributes {
  display: flex;
  gap: 10px;
  margin-top: 5px;
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  color: white;
  text-shadow: 1px 1px 2px #000;
  -webkit-text-stroke: 0.6px #fff;
  text-stroke: 0.6px #fff;
  z-index: 2;
}

.logo-attributes .attribute {
  opacity: 0;
  position: relative;
}

.attribute:nth-child(1) {
  animation: fadeGlow 0.8s ease-out forwards;
  animation-delay: 1s;
}
.attribute:nth-child(3) {
  animation: stampIn 0.7s ease-out forwards;
  animation-delay: 1.4s;
}
.attribute:nth-child(5) {
  animation: popBounceFixed 0.9s ease-out forwards;
  animation-delay: 1.8s;
}

.logo-attributes .dot {
  opacity: 0;
  animation: fadeUp 0.5s ease-out forwards;
}
.dot:nth-child(2) { animation-delay: 1.2s; }
.dot:nth-child(4) { animation-delay: 1.6s; }

/* אנימציות */
@keyframes fadeInLogo {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sparkle {
  0% { text-shadow: 1px 1px 2px #000; }
  50% { text-shadow: 1px 1px 3px #000, 0 0 8px #fff; }
  100% { text-shadow: 1px 1px 2px #000; }
}

@keyframes fadeGlow {
  0% { opacity: 0; filter: blur(2px); }
  100% { opacity: 1; filter: blur(0); text-shadow: 0 0 6px rgba(255,255,255,0.3); }
}

@keyframes stampIn {
  0% { opacity: 0; transform: scale(0.6) rotate(-5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* כאן הפיקס לשירות */
@keyframes popBounceFixed {
  0% { opacity: 0; transform: scale(0.5); }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 600px) {
  .logo-attributes {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1.5rem;
  }
  .logo-image img {
    width: 160px;
  }
}




/* Global Styles & Variables */
:root {
    /* New Color Palette: Blue & Green */
    --primary-color: #00387B; /* Deep Blue */
    --secondary-color: #3FAB4C; /* Vibrant Green */
    --accent-color: #17A2B8; /* Teal/Light Blue Accent */

    /* Grays and Whites */
    --light-gray: #f8f9fa;
    --medium-gray: #dee2e6;
    --dark-gray: #1a2533;
    --text-color: #495057;

    /* >>> שידרגנו את צבע הכותרות לכחול עמוק יותר */
    --headings-color: #102A43;

    --white-color: #ffffff;

    /* Functional Colors */
    --success-color: #28a745;
    --error-color: #dc3545;

    /* Layout & Font */
    --header-height: 75px;
    --font-family: 'Heebo', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 8px 25px rgba(0, 56, 123, 0.1);
    --box-shadow-light: 0 5px 15px rgba(0, 56, 123, 0.07);
    --transition-speed: 0.35s;
    --transition-smooth: 0.4s ease-out;
    --footer-text-color: #bcccdc;
    --footer-link-hover: #ffffff;
    --golden-ratio: 1.618;
    --premium-shadow: 0 10px 30px rgba(0, 56, 123, 0.12);
    --menu-bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, #005cb8 100%);
    --animated-bg-duration: 25s;

    /* >>> הוספנו משתנה חדש למרווח פסקאות */
    --paragraph-line-height: 1.7;
}


*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent body scroll when mobile menu is open */
body.no-scroll {
    overflow-y: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--headings-color);
    letter-spacing: 0.2px;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.3rem; /* Slightly smaller default h2 */
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px; /* Adjusted width */
    height: 4px;
    background-color: var(--secondary-color); /* Green underline */
    border-radius: 2px;
}

h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.7rem;
}

p {
    font-size: 1.05rem;
    line-height: var(--paragraph-line-height);
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: -1rem auto 3rem auto;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color); /* Green hover */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0; /* Standardized padding */
    overflow: hidden;
    position: relative; /* For potential decorative elements */
}

section:nth-child(even) {
    background-color: var(--light-gray);
}

/* Section Tag */
.section-tag {
    display: block;
    text-align: center;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Grid Layout Helpers */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-dynamic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
}

/* Required Field Indicator */
.required {
    color: var(--error-color);
    margin-right: 3px;
    font-weight: bold;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: background-color 0.4s ease, height 0.4s ease, box-shadow 0.4s ease;
    z-index: 1100;
}

#main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background-image: 
        linear-gradient(120deg, rgba(var(--primary-color-rgb), 0.1), rgba(var(--secondary-color-rgb), 0.1)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23003a8c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: movePattern 60s linear infinite;
    z-index: -1;
}

@keyframes movePattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

#main-header.scrolled {
    height: calc(var(--header-height) - 10px);
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#main-header.scrolled::before {
    opacity: 0.2;
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#main-header .logo img {
    height: calc(var(--header-height) - 25px);
    transition: all 0.3s ease;
}

#main-header .logo img:hover {
    transform: scale(1.05);
}

#main-header .nav-links {
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

#main-header .nav-links li {
    list-style: none;
}

#main-header .nav-links a {
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 8px 5px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-block;
}

#main-header .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 10px;
}

#main-header .nav-links a:hover,
#main-header .nav-links a.active {
    color: var(--primary-color);
}

#main-header .nav-links a:hover::after,
#main-header .nav-links a.active::after {
    width: 100%;
}

#main-header.scrolled .nav-links a,
#main-header.scrolled .header-phone {
    color: var(--text-color);
}

.header-contact-info {
    display: flex;
}

.header-phone {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: linear-gradient(to right, rgba(var(--primary-color-rgb), 0.1), rgba(var(--secondary-color-rgb), 0.1));
}

.header-phone i {
    margin-left: 6px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
    outline: none;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    opacity: 1;
    right: 0;
    transform: rotate(0deg);
    transition: .3s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 20px;
    width: 75%;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 30px;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}

#main-header.scrolled .mobile-menu-toggle span {
    background: var(--text-color);
}

.mobile-nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    transition: right 0.4s ease;
    padding: calc(var(--header-height) + 20px) 30px 30px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-nav-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        linear-gradient(120deg, rgba(var(--primary-color-rgb), 0.1), rgba(var(--secondary-color-rgb), 0.1)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23003a8c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: movePattern 60s linear infinite;
    z-index: -1;
}

.mobile-nav-container.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.mobile-nav-links li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-links a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-right: 15px;
}

.mobile-nav-links a:hover {
    color: var(--primary-color);
}

.mobile-header-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 30px;
    background: linear-gradient(to right, rgba(var(--primary-color-rgb), 0.1), rgba(var(--secondary-color-rgb), 0.1));
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s ease;
}

.mobile-header-phone i {
    margin-left: 8px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Main Content Padding */
main {
    padding-top: var(--header-height);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: visible;
    z-index: 1;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* ============================= */
/* Hero Overlay Enhancement */
/* ============================= */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* הגברה של השקיפות לאטימות גבוהה יותר */
    background: linear-gradient(
        135deg,
        rgba(0, 56, 123, 0.85) 0%,
        rgba(63, 171, 76, 0.85) 100%
    );
    z-index: -1;
    pointer-events: none;
}


.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.12'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
    z-index: -1;
    animation: flowGradient 60s linear infinite;
}

@keyframes flowGradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1, .hero-section h2 {
    color: var(--white-color);
}

/* ============================= */
/* Hero Titles Typography */
/* ============================= */
.hero-section h1 {
    font-size: 3.8rem;           /* מעט יותר בולט */
    line-height: 1.2;            /* מרווח אנכי נוח לקריאה */
    letter-spacing: 0.5px;       /* רווח בין אותיות */
    font-weight: 800;
    color: var(--white-color);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-section h2 {
    font-size: 1.6rem;           /* הגדלה קלה */
    line-height: 1.4;            /* תומך בפסקי פסקה קצרים יותר */
    letter-spacing: 0.3px;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--white-color);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}


.hero-section h2::after {
    /* Optional accent line below subtitle */
    display: none; /* Hide for a cleaner look */
}

.hero-content {
    transform: translateY(0);
    transition: transform 0.5s ease;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================= */
/* Call-to-Action Button */
/* ============================= */
.cta-button {
    display: inline-block;
    padding: 18px 42px;                          /* פדינג גדול ונוח לנגיעה */
    background: linear-gradient(
        90deg,
        var(--secondary-color) 0%,
        var(--accent-color) 100%
    );
    color: var(--white-color);
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;                         /* עיגול עדין */
    box-shadow: 0 8px 20px rgba(63, 171, 76, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-4px);                 /* תנועה קלה מעלה */
    box-shadow: 0 12px 30px rgba(63, 171, 76, 0.6);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: -1;
    transition: all 0.6s ease;
}

.cta-button:hover::after {
    height: 400%;
    opacity: 1;
}

.cta-button i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* About Section */
.about-section {
    background-color: var(--white-color);
    background-image: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)), url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="none" stroke="%23e9ecef" stroke-width="2" stroke-dasharray="2,2"/></svg>');
    background-repeat: repeat;
}

.about-image.image-mask-container {
    margin: 0 auto;
    max-width: 320px;
    max-height: 320px;
    position: relative;
}

.image-mask {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--premium-shadow);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border: 3px solid var(--white-color);
    background-image: linear-gradient(to bottom right, var(--primary-color) 0%, transparent 80%);
}

.image-mask:hover {
    transform: translateY(-5px) rotate(-2deg);
    box-shadow: 0 15px 35px rgba(0, 56, 123, 0.18);
}

.about-image img {
    display: block;
    width: 100%;
    border-radius: 0.25rem;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Add a decorative element to the About section */
.about-image.image-mask-container::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border-top: 3px solid var(--secondary-color);
    border-left: 3px solid var(--secondary-color);
    top: -10px;
    left: -10px;
    z-index: -1;
}

.about-image.image-mask-container::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border-right: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    bottom: -10px;
    right: -10px;
    z-index: -1;
}

.about-content h2 {
    text-align: right;
    margin-bottom: 0.5rem;
}
.about-content h2::after {
    display: none;
}

/* Services Section */
.services-section {
    background: linear-gradient(to bottom, var(--white-color), var(--light-gray) 80%);
}

.service-card {
    position: relative;              /* כדי שה-overlay יתמקם מעליו */
    background-color: var(--white-color);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--medium-gray);
    overflow: hidden;                /* כדי לחתוך את ה-overlay */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;                 /* ללחיצה */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 5px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.service-card:hover,
.service-card:focus {
    transform: translateY(-10px);
    box-shadow: var(--premium-shadow);
    border-color: transparent;
}

/* ה-Overlay עצמו */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;            /* יאפשר לחיצה על הכרטיס, לא על ה-overlay */
}

.service-card:hover .card-overlay,
.service-card:focus .card-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* סטייל לטקסט ב-Overlay */
.card-overlay span {
    color: var(--white-color);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    background: rgba(63, 171, 76, 0.8);
    border-radius: 25px;
}

/* שיפור נגישות: מצב בעת קבלת פוקוס מקלדת */
.service-card:focus {
    outline: 3px dashed var(--secondary-color);
    outline-offset: 5px;
}

.service-card:hover::before {
    width: 100%;
}

.service-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1;
    transition: color var(--transition-speed) ease;
    animation: float-slow 5s ease-in-out infinite;
}

/* Assign colors to icons */
.card-icon.color-1 { color: #007bff; } /* Blue */
.card-icon.color-2 { color: #6f42c1; } /* Purple */
.card-icon.color-3 { color: #dc3545; } /* Red */
.card-icon.color-4 { color: #fd7e14; } /* Orange */
.card-icon.color-5 { color: var(--secondary-color); } /* Green */
.card-icon.color-6 { color: #17a2b8; } /* Teal */

.service-card:hover .card-icon {
    transform: translateY(-5px);
    /* Keep original color on hover for variety */
} 

.service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 0; /* Remove default margin for flex */
    font-size: 1rem;
    line-height: 1.6;
}

.service-card .partner-logo {
    max-width: 120px;
    margin: 1.2rem auto 0;
    opacity: 0.8;
}

/* Additional Services Section */
.additional-services-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 60px 0;
}

.additional-services-section h3 {
    color: var(--white-color);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

.additional-services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    list-style: none;
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.additional-services-list li {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 18px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    font-size: 1rem;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease; /* Added transform transition */
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.additional-services-list li:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.03); /* Subtle scale effect on hover */
}

.additional-services-list li i {
    color: var(--secondary-color); /* Green icon */
    font-size: 1.5rem;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
    transition: transform var(--transition-speed) ease; /* Added icon transition */
}

.additional-services-list li:hover i {
    transform: rotate(5deg); /* Slight rotation on hover */
}

/* Advantages Section */
.advantages-section {
    background-color: var(--light-gray);
    padding: 80px 0;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%), url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M0 20 L40 20 M20 0 L20 40" stroke="%23f1f7ff" stroke-width="1"/></svg>');
    background-attachment: fixed;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-top: 3rem;
}

.advantage-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow-light);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border-top: 4px solid var(--primary-color);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem auto;
    background-color: var(--secondary-color); /* Green background */
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    line-height: 1;
    box-shadow: 0 5px 10px rgba(63, 171, 76, 0.3);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, background-color var(--transition-speed) ease; /* Added transitions */
    animation: float-fast 4s ease-in-out infinite;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1) rotate(-5deg); /* Scale and rotate icon on hover */
    background-color: var(--primary-color); /* Change background on hover */
    box-shadow: 0 8px 15px rgba(0, 56, 123, 0.3); /* Enhance shadow */
}

.advantage-item h4 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.advantage-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================= */
/* Visually Hidden Utility */
/* ============================= */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ============================= */
/* Testimonials Section Enhancements */
/* ============================= */
.testimonials-section {
    position: relative;
    background: url('images/testimonials-bg.jpg') center/cover no-repeat;
    color: var(--white-color);
    padding: 90px 0;
    overflow: hidden;
}

/* הכהיית ה־overlay משני */
.testimonials-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* הגברה לאטימות גבוהה יותר (ל-60%) */
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}
/* אילוץ הכותרות להיות לבנות עם צללה חזק */
.testimonials-section h2,
.testimonials-section .section-tag {
    position: relative;   /* מעל ה־overlay */
    z-index: 1;
    color: var(--white-color) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.testimonials-section .container {
    position: relative;
    z-index: 1;
}

/* ============================= */
/* Swiper Announce Region */
/* ============================= */

.swiper-slide.testimonial p,
.swiper-slide.testimonial cite {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    color: var(--white-color);
}
.swiper-announce {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ============================= */
/* Testimonials Navigation Buttons */
/* ============================= */
.swiper-button-prev,
.swiper-button-next {
    background: var(--white-color);
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: background 0.3s ease, color 0.3s ease;
}
.swiper-button-prev:hover,
.swiper-button-next:hover,
.swiper-button-prev:focus,
.swiper-button-next:focus {
    background: var(--secondary-color);
    color: var(--white-color);
    outline: none;
    cursor: pointer;
}

/* ============================= */
/* Pagination Bullets */
/* ============================= */
.swiper-pagination-bullet {
    background-color: rgba(255,255,255,0.4);
    opacity: 0.9;
    width: 10px;
    height: 10px;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
}
.swiper-pagination-bullet-active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}


/* ============================= */
/* FAQ Accordion Accessibility & Animation */
/* ============================= */
.faq-section { background-color: var(--white-color); }

.faq-accordion {
    max-width: 850px;
    margin: 2.5rem auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    transition: box-shadow var(--transition-speed) ease;
}

.faq-item:hover {
    box-shadow: var(--box-shadow);
}

/* כפתור השאלה */
.faq-question {
    width: 100%;
    background: var(--white-color);
    border: none;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease, padding var(--transition-speed) ease;
}

.faq-question:hover,
.faq-question:focus {
    background-color: #eaf4ff;
    outline: none;
}

.faq-question i {
    transition: transform var(--transition-speed) ease, color var(--transition-speed) ease;
    color: var(--primary-color);
}

/* מרכז סיבוב החץ */
.faq-item[aria-expanded="true"] .faq-question i {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

/* התשובה עצמה */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
}

.faq-answer[aria-hidden="false"] {
    padding: 20px 25px;
    max-height: 500px; /* וודא גובה מספיק לכל הטקסט */
}

.faq-answer p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}


/* Contact Section */
.contact-section {
    background: linear-gradient(to bottom, var(--light-gray) 30%, var(--white-color));
    padding-bottom: 100px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Adjusted ratio */
    gap: 50px;
    margin-top: 3.5rem;
    background-color: var(--white-color);
    padding: 45px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-top: 5px solid var(--primary-color);
}

.contact-form h3,
.contact-details h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-form h3::after,
.contact-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 56, 123, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-form button {
    align-self: flex-start;
    margin-top: 10px;
}

#form-status {
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 1.5em;
    transition: opacity 0.3s ease;
}
#form-status.success {
    color: var(--success-color);
}
#form-status.error {
    color: var(--error-color);
}

.contact-details p {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.contact-details p i {
    margin-left: 12px;
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.contact-details p a {
    color: var(--text-color);
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    word-break: break-word; /* Prevent long emails/links from breaking layout */
    position: relative; /* For underline effect */
}

.contact-details p a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.contact-details p a:hover {
    color: var(--primary-color);
}

.contact-details p a:hover::after {
     width: 100%;
}

.map-placeholder iframe {
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
    width: 100%;
    height: 280px;
    filter: grayscale(20%);
    transition: filter var(--transition-speed) ease;
}
.map-placeholder iframe:hover {
    filter: grayscale(0%);
}

/* Footer */
#main-footer {
    background-color: var(--dark-gray);
    color: var(--footer-text-color);
    padding: 50px 0 15px; /* Reduced padding */
    border-top: 5px solid var(--primary-color);
    background-image: linear-gradient(to bottom, rgba(26, 37, 51, 0.97), rgba(26, 37, 51, 0.97)), url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="1" fill="%235d7da0" opacity="0.2"/></svg>');
    background-repeat: repeat;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Equal columns */
    gap: 40px; /* Reduced gap */
    margin-bottom: 40px;
}

#main-footer h4 {
    color: var(--white-color);
    margin-bottom: 1rem; /* Reduced spacing */
    font-size: 1.2rem; /* Smaller heading */
    position: relative;
    padding-bottom: 0.7rem;
}

#main-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-top: 0.5rem;
}

#main-footer a {
    color: var(--footer-text-color);
    transition: color var(--transition-speed) ease;
}

#main-footer a:hover {
    color: var(--footer-link-hover);
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.footer-about p {
    font-size: 0.9rem; /* Reduced text size */
    line-height: 1.5;
    margin-bottom: 1rem; /* Reduced margin */
    color: var(--footer-text-color);
}

.social-icons a {
    color: var(--footer-text-color);
    font-size: 1.3rem;
    margin-left: 15px;
    display: inline-block;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(63, 171, 76, 0.15);
    transition: top 0.3s ease;
    border-radius: 50%;
}

.social-icons a:hover::before {
    top: 0;
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
}

.footer-quick-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-quick-links li {
    margin-bottom: 0.5rem; /* Less space between items */
}

.footer-quick-links li a {
    display: flex;
    align-items: center;
    font-size: 0.9rem; /* Smaller text */
}

.footer-quick-links li a i {
    font-size: 0.7rem;
    margin-left: 8px;
    color: var(--secondary-color);
    transition: transform var(--transition-speed) ease;
}

.footer-quick-links li a:hover i {
    transform: translateX(-3px);
}

.footer-contact p {
    margin-bottom: 0.5rem; /* Less space between items */
    font-size: 0.9rem; /* Smaller text */
    display: flex;
    align-items: flex-start; /* Align icon top for multi-line addresses */
}

.footer-contact p i {
    width: 18px;
    margin-left: 10px;
    color: var(--secondary-color);
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px; /* Align icon better */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 15px; /* Less padding */
    margin-top: 30px; /* Less margin */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    margin: 0; /* Remove margins */
}

.developer-credit {
    opacity: 0.7;
    font-size: 0.8rem;
}
.developer-credit a {
    font-weight: normal;
}

.developer-credit:hover {
    opacity: 1;
}

/* Footer Utility Links */
.footer-utility-link {
    opacity: 0.8;
    font-size: 0.9rem !important;
}
.footer-utility-link:hover {
    opacity: 1;
}

/* Scroll to Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem; /* Adjusted icon size */
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(15px);
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease, transform var(--transition-speed) ease, background-color var(--transition-speed) ease;
    box-shadow: 0 4px 12px rgba(0, 56, 123, 0.2);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

#scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05) translateY(-2px);
}

/* Responsive Design Adjustments */

/* Large Laptops / Desktops */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    h1 { font-size: 2.8rem; }
    .hero-section h1 { font-size: 3.2rem; }
    h2 { font-size: 2.1rem; }
}

/* Tablets & Smaller Laptops */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    h1 { font-size: 2.5rem; }
    .hero-section h1 { font-size: 3rem; }
    .hero-section h2 { font-size: 1.4rem; }
    h2 { font-size: 2rem; }
    section { padding: 70px 0; }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .about-section .about-content h2 {
        text-align: center;
    }
    .about-section .about-image {
        margin: 0 auto 35px auto;
        max-width: 400px;
        order: -1; /* Image first on smaller screens */
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 35px;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr; /* Two columns for medium screens */
    }
    #main-footer h4::after {
         right: 50%;
         transform: translateX(50%);
     }
     .footer-logo, .footer-contact p, .footer-quick-links ul {
         margin-right: auto;
         margin-left: auto;
         justify-content: center;
     }
     .footer-contact p {
         display: inline-flex; /* Prevent stretching */
         margin-bottom: 0.6rem;
         width: auto;
     }
      .social-icons {
         margin-top: 1rem;
     }

     /* Mobile Header Activation */
     #main-header .nav-links, .header-contact-info {
        display: none;
     }
     .mobile-menu-toggle {
        display: flex; /* Show toggle on mobile */
        flex-direction: column;
        justify-content: center;
     }
     /* .mobile-nav-container is handled by base style + active class */

}

/* Mobile Phones */
@media (max-width: 767px) {
    :root { --header-height: 70px; }
    html { font-size: 15.5px; }
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    h1 { font-size: 2.2rem; }
    .hero-section h1 { font-size: 2.5rem; }
    .hero-section h2 { font-size: 1.3rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 60px 0; }
    .hero-section { padding: 100px 0 120px 0; }

    .cta-button { padding: 13px 28px; font-size: 1.1rem; }

    .service-cards.grid-dynamic,
    .advantages-grid,
    .additional-services-list {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 25px;
    }

    .testimonial-slider {
        padding: 10px 15px 50px 15px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        display: none; /* Hide nav buttons on mobile */
    }
    .swiper-slide.testimonial { padding: 25px 30px; min-height: auto;}
    .testimonial p { font-size: 1.05rem; }

    .contact-wrapper { padding: 30px 25px; gap: 30px; }
    .contact-form input, .contact-form textarea { padding: 11px 14px; }

    .faq-question { padding: 15px 20px; font-size: 1.1rem; }
    .faq-answer { padding: 0 20px; }
    .faq-answer p { padding: 15px 0; }

    #main-footer { padding-top: 50px; } 
    .footer-content {
        grid-template-columns: 1fr; /* Single column for small screens */
        gap: 25px; /* Less gap */
    }

    .footer-contact {
        grid-column: auto; /* Reset spanning */
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    #scroll-to-top { width: 40px; height: 40px; font-size: 1.1rem; right: 15px; bottom: 15px;}
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    h1 { font-size: 2rem; }
    .hero-section h1 { font-size: 2.2rem; line-height: 1.3; }
    .hero-section h2 { font-size: 1.2rem; }
    h2 { font-size: 1.7rem; }

    .mobile-nav-container { width: 90%; max-width: none; }

    .client-photo { width: 80px; height: 80px; border-width: 3px; }

    .developer-credit { font-size: 0.75rem; }
}

/* Additional Premium Touches */
/* Section separator lines */
section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, 
                transparent, 
                var(--primary-color), 
                transparent);
}

/* Premium hover effects for buttons */
button:not(.mobile-menu-toggle):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Input field premium effect */
.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 0 2px rgba(0, 56, 123, 0.2);
}

/* Improved hover effect for social icons */
.social-icons a {
    /* ... existing code ... */
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(63, 171, 76, 0.15);
    transition: top 0.3s ease;
    border-radius: 50%;
}

.social-icons a:hover::before {
    top: 0;
}

/* Floating Animations for Various Elements */
@keyframes float-slow {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes float-fast {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-5px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0); }
}

/* Apply to various elements */
.service-card .card-icon {
    animation: float-slow 5s ease-in-out infinite;
}

.advantage-icon {
    animation: float-fast 4s ease-in-out infinite;
}

/* Service cards staggered hover effect */
.service-cards {
    perspective: 1000px;
}

.service-card {
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.service-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.service-card:nth-child(even):hover {
    transform: translateY(-15px) rotateY(-5deg);
}

/* New Clients Section */
.clients-section {
    padding: 70px 0;
    background-color: #f8fafc;
    text-align: center;
    background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), 
                     url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M20 1 L1 20 L20 39 L39 20 L20 1" stroke="%23e9ecef" stroke-width="1" fill="none"/></svg>');
}

.clients-section h2 {
    margin-bottom: 40px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.client-logo {
    padding: 20px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
    transform: scale(0.9);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1);
}

.client-logo img {
    max-width: 100%;
    height: auto;
}

/* Statistics Section */
.statistics-section {
    padding: 80px 0;
    position: relative;
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, 
                    rgba(0, 56, 123, 0.98) 0%, 
                    rgba(0, 88, 167, 0.98) 100%),
                    url('data:image/svg+xml;utf8,<svg width="50" height="50" xmlns="http://www.w3.org/2000/svg"><path d="M25 1 L49 25 L25 49 L1 25 Z" stroke="%23ffffff" stroke-width="1" fill="none" opacity="0.15"/></svg>');
    color: var(--white-color);
    overflow: hidden;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="120" height="120" xmlns="http://www.w3.org/2000/svg"><circle cx="60" cy="60" r="40" stroke="%23ffffff" stroke-width="2" fill="none" opacity="0.03"/></svg>');
    animation: rotatePattern 60s linear infinite;
    pointer-events: none;
}

@keyframes rotatePattern {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

.statistics-section .section-tag {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.statistics-section h2 {
    color: var(--white-color);
    text-align: center;
    margin-bottom: 50px;
}

.statistics-section h2::after {
    background-color: var(--secondary-color);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.statistic-item {
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    transition: transform 0.4s ease, background-color 0.4s ease;
}

.statistic-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.12);
}

.statistic-number {
    font-size: 3.2rem;
    font-weight: 800;
    transition: color 0.4s ease; /* צבע משתנה קלות אם תרצה */
    margin-bottom: 10px;
    background: linear-gradient(to bottom right, #ffffff, #e5e5e5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.statistic-text {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.statistic-icon {
    margin-bottom: 15px;
    font-size: 2.4rem;
    color: var(--secondary-color);
    display: inline-block;
}

/* Counting Animation */
.statistic-number {
    position: relative;
    display: inline-block;
}

.statistic-number::after {
    content: '+';
    position: absolute;
    top: 0;
    right: -20px;
    font-size: 2rem;
    color: var(--secondary-color);
    -webkit-text-fill-color: var(--secondary-color);
}

/* For numbers that don't need a + sign */
.statistic-number.no-plus::after {
    content: '';
}

/* Media queries */
@media (max-width: 992px) {
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .statistics-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Dividers & Transitions */
.section-divider {
    height: 150px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.divider-wave {
    position: absolute;
    width: 100%;
    height: 150px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.wave-top {
    top: 0;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>');
}

.wave-bottom {
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>');
    transform: rotate(180deg);
}

.diagonal-divider {
    position: relative;
    height: 100px;
    margin-top: -100px;
    z-index: 1;
    overflow: hidden;
}

.diagonal-divider.white-divider {
    background-image: linear-gradient(to right bottom, transparent 49.9%, var(--white-color) 50%);
}

.diagonal-divider.light-divider {
    background-image: linear-gradient(to right bottom, transparent 49.9%, var(--light-gray) 50%);
}

.diagonal-divider.primary-divider {
    background-image: linear-gradient(to right bottom, transparent 49.9%, var(--primary-color) 50%);
}

.curve-divider {
    height: 150px;
    position: relative;
    overflow: hidden;
    margin-top: -150px;
    z-index: 1;
}

.curve-divider.white-curve {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 150" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1200 150V0c-151.15 39.267-304.055 79.806-462.012 67.584-108.915-8.404-224.168-50.057-337.988-37.584-107.802 11.804-212.211 79.798-300 120H1200z" fill="%23ffffff"/></svg>');
}

.curve-divider.light-curve {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 150" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M1200 150V0c-151.15 39.267-304.055 79.806-462.012 67.584-108.915-8.404-224.168-50.057-337.988-37.584-107.802 11.804-212.211 79.798-300 120H1200z" fill="%23f8f9fa"/></svg>');
}

/* Process Section */
.process-section {
    background-color: var(--light-gray);
    padding: 80px 0;
    background-image: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), 
                     url('data:image/svg+xml;utf8,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M30 5 L55 30 L30 55 L5 30 Z" stroke="%23e9ecef" stroke-width="1" fill="none"/></svg>');
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    counter-reset: step-counter;
}

.process-step {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    counter-increment: step-counter;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.process-step::before {
    content: counter(step-counter);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 56, 123, 0.3);
}

.process-step .step-icon {
    margin-bottom: 15px;
    font-size: 2.5rem;
    color: var(--secondary-color);
    display: inline-block;
}

.process-step h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-color);
}

.process-arrows {
    position: absolute;
    top: 35%;
    left: 100%;
    width: 25px;
    height: 25px;
    color: var(--primary-color);
    opacity: 0.5;
    transform: translateX(-50%);
}

@media (max-width: 992px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-arrows {
        display: none;
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .section-divider {
        height: 80px;
    }
    
    .diagonal-divider {
        height: 60px;
        margin-top: -60px;
    }
    
    .curve-divider {
        height: 80px;
        margin-top: -80px;
    }
} 

/* ================================= */
/* 1. Accessibility Button בכפתור קבוע */
/* ================================= */
.accessibility-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2000;      /* הכי למעלה */
}

/* ================================= */
/* 2. מיקום לוגו ותפריט במובייל */
/* ================================= */
@media (max-width: 992px) {
    /* ודא שהניווט הוא position: relative */
    #main-header nav.container {
        justify-content: center;  /* לוגו במרכז */
        position: relative;
    }
    /* לוגו במרכז מוחלט */
    #main-header .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1100;
    }
    /* תפריט toggle מימין */
    .mobile-menu-toggle {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1100;
    }
}

/* ============================= */
/* Hero Section Advanced Animations */
/* ============================= */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: auto;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    will-change: transform;
    transition: transform 0.2s linear;
}

/* Pulsing Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,56,123,0.85), rgba(63,171,76,0.85));
    animation: overlayPulse 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes overlayPulse {
    0%,100% { opacity: 0.8; }
    50%     { opacity: 0.6; }
}

/* Hero Content Entrance */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content h1,
.hero-content h2,
.hero-content .cta-button {
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-content h1 {
    animation: heroTextIn 1s ease-out 0.5s forwards;
}

.hero-content h2 {
    animation: heroTextIn 1s ease-out 0.7s forwards;
}

.hero-content .cta-button {
    animation: heroTextIn 1s ease-out 0.9s forwards;
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================= */
/* Insurance Decor Elements Fade */
/* ============================= */
.insurance-decor {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
.deco {
    position: absolute;
    color: rgba(255,255,255,0.8);
    font-size: 2.5rem;
    opacity: 0;
    animation: decoFade 8s ease-in-out infinite;
}
.deco1 { top: 20%; left: 15%; animation-delay: 1s; }
.deco2 { top: 35%; right: 15%; animation-delay: 3s; font-size:3rem;}
.deco3 { bottom: 25%; left: 20%; animation-delay: 5s; }
.deco4 { bottom: 20%; right: 25%; animation-delay: 7s; }

@keyframes decoFade {
    0%,100%   { opacity: 0; transform: scale(0.5) translateY(20px); }
    25%,75%   { opacity: 1; transform: scale(1)   translateY(0);     }
    50%       { opacity: 0.8; transform: scale(1.1) translateY(-10px); }
}

/* Hero video fixed (no parallax) */
.hero-video-bg {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: auto; height: 100%;
    min-width: 100%; min-height: 100%;
    object-fit: cover;
    will-change: none;
    transition: none;
}

/* ======================================= */
/* Hero Decor Icons — Mobile Adjustments   */
/* ======================================= */
@media (max-width: 768px) {
    .insurance-decor .deco {
        /* גודל יחסי לרוחב המסך */
        font-size: 8vw !important;
        /* להבטיח שהם מעל ה־overlay */
        z-index: 0;
    }
    /* מיקום מותאם לכל אייקון */
    .deco1 {
        top: 12% !important;
        left: 5% !important;
    }
    .deco2 {
        top: 25% !important;
        right: 5% !important;
    }
    .deco3 {
        bottom: 18% !important;
        left: 5% !important;
    }
    .deco4 {
        bottom: 12% !important;
        right: 5% !important;
    }
}

/* ============================= */
/* Hero Section Advanced Styles */
/* ============================= */
.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 0.5em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* ============================= */
/* WhatsApp Floating Button      */
/* ============================= */
.whatsapp-btn {
    position: fixed;
    bottom: clamp(16px, 4vw, 32px);
    right: clamp(16px, 4vw, 32px);
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 4vw, 32px);
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-btn:hover,
.whatsapp-btn:focus {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    outline: none;
}

/* ============================= */
/* Insurance Decor – Mobile Tweak */
/* ============================= */
@media (max-width: 768px) {
    .insurance-decor .deco {
        font-size: 8vw !important;
    }
    .deco1 { top: 12% !important; left: 5% !important; }
    .deco2 { top: 25% !important; right: 5% !important; }
    .deco3 { bottom: 18% !important; left: 5% !important; }
    .deco4 { bottom: 12% !important; right: 5% !important; }
}

/* ======================================= */
/* 1. WhatsApp Floating Button — bottom-left */
/* ======================================= */
.whatsapp-btn {
    position: fixed;
    bottom: clamp(16px, 4vw, 32px);
    left: clamp(16px, 4vw, 32px);
    right: auto;
    width: clamp(50px, 8vw, 70px);
    height: clamp(50px, 8vw, 70px);
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 4vw, 32px);
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-btn:hover,
.whatsapp-btn:focus {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    outline: none;
}

/* ======================================= */
/* 2. Hero Title Enhancement              */
/* ======================================= */
.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--white-color);
    -webkit-text-stroke: 1px #ffffff;
    -webkit-text-fill-color: var(--white-color);
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
    background: none;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

/* ======================================= */
/* 3. Insurance Decor — High-Level Animations */
/* ======================================= */
.insurance-decor .deco {
    position: absolute;
    color: rgba(255,255,255,0.85);
    font-size: 3rem;
    opacity: 0;
}
.deco1 { top: 20%; left: 15%; animation: decoAnim1 8s ease-in-out infinite; }
.deco2 { top: 35%; right: 15%; animation: decoAnim2 10s ease-in-out infinite; }
.deco3 { bottom: 25%; left: 20%; animation: decoAnim3 9s ease-in-out infinite; }
.deco4 { bottom: 20%; right: 25%; animation: decoAnim4 11s ease-in-out infinite; }

/* פריימים מותאמים אישית לכל אייקון */
@keyframes decoAnim1 {
    0%,100% {
        opacity: 0;
        transform: scale(0.6) translateY(20px) rotate(-15deg);
    }
    25%,75% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2) translateY(-20px) rotate(15deg);
    }
}
@keyframes decoAnim2 {
    0%,100% {
        opacity: 0;
        transform: scale(0.7) translateY(30px) rotate(10deg);
    }
    30%,90% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
    60% {
        opacity: 0.7;
        transform: scale(1.3) translateY(-15px) rotate(-10deg);
    }
}
@keyframes decoAnim3 {
    0%,100% {
        opacity: 0;
        transform: scale(0.5) translateY(25px) rotate(-5deg);
    }
    20%,80% {
        opacity: 1;
        transform: scale(1.1) translateY(0) rotate(5deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.3) translateY(-25px) rotate(-5deg);
    }
}
@keyframes decoAnim4 {
    0%,100% {
        opacity: 0;
        transform: scale(0.8) translateY(20px) rotate(5deg);
    }
    25%,75% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(-5deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2) translateY(-20px) rotate(10deg);
    }
}

/* ======================================= */
/* 4. Mobile Tweaks for Decor Icons        */
/* ======================================= */
@media (max-width: 768px) {
    .insurance-decor .deco {
        font-size: 8vw !important;
    }
    .deco1 { top: 12% !important; left: 5% !important; }
    .deco2 { top: 25% !important; right: 5% !important; }
    .deco3 { bottom: 18% !important; left: 5% !important; }
    .deco4 { bottom: 12% !important; right: 5% !important; }
}

/* ======================================= */
/* Additional Services Section Styling    */
/* ======================================= */
.additional-services-section {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white-color);
    padding: 80px 0;
    overflow: hidden;
}
/* Overlay pattern קליל להצבעה אחידה */
.additional-services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml;utf8,<svg width='40' height='40' xmlns='http://www.w3.org/2000/svg'><path d='M0 20 L40 20 M20 0 L20 40' stroke='%23ffffff' stroke-width='0.5' opacity='0.1'/></svg>");
    z-index: 0;
    pointer-events: none;
}

/* כותרת הסקשן */
.additional-services-section h3 {
    position: relative;
    z-index: 1;
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white-color);
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* רשימת שירותים */
.additional-services-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    list-style: none;
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.additional-services-list li {
    background: rgba(255,255,255,0.15);
    padding: 20px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    font-size: 1rem;
    transition: background var(--transition-speed) ease, transform var(--transition-speed) ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.additional-services-list li:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-5px);
}

.additional-services-list li i {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
    transition: transform var(--transition-speed) ease;
}

.additional-services-list li:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* ======================================= */
/* Diagonal Dividers (reuse קיים)         */
/* ======================================= */
/* כבר מוגדר ב־CSS שלך: .diagonal-divider.white-divider */
/* ותוכל להוסיף .diagonal-divider.light-divider כפי שביקשנו מעל */

/* ======================================= */
/* Mobile Adjustments                      */
/* ======================================= */
@media (max-width: 768px) {
    .additional-services-section {
        padding: 60px 0;
    }
    .additional-services-section h3 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }
    .additional-services-list {
        gap: 15px;
    }
}

/* ======================================= */
/* Partners Slider Section Styling         */
/* ======================================= */
.partners-section {
    position: relative;
    background: var(--light-gray);
    padding: 80px 0;
    overflow: hidden;
}
.partners-section .section-tag {
    color: var(--secondary-color);
}
.partners-section h2 {
    color: var(--headings-color);
    margin-bottom: 2rem;
    text-align: center;
}

/* Swiper for Partners */
.partners-slider {
    width: 100%;
    padding: 20px 0;
}
.partners-slider .swiper-wrapper {
    display: flex;
    align-items: center;
}
.partner-logo-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto !important; /* fit-content */
}
.partner-logo-slide img {
    max-width: 120px;
    opacity: 0.8;
    filter: grayscale(80%);
    transition: opacity var(--transition-speed) ease, filter var(--transition-speed) ease, transform var(--transition-speed) ease;
}
.partner-logo-slide:hover img {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Hide Swiper controls/pagination if any */
.partners-slider .swiper-button-prev,
.partners-slider .swiper-button-next,
.partners-slider .swiper-pagination {
    display: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .partner-logo-slide img {
        max-width: 80px;
    }
}

/* ======================================= */
/* Process Timeline Section Styling       */
/* ======================================= */
.process-section {
    background: var(--white-color);
    padding: 80px 0;
    position: relative;
}
.process-section .section-tag {
    color: var(--secondary-color);
    text-align: center;
    display: block;
    margin-bottom: 0.5rem;
}
.process-section h2 {
    color: var(--headings-color);
    text-align: center;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 0.5rem;
}
.process-section .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Timeline Layout */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 12.5%;
    width: 75%;
    height: 4px;
    background: var(--medium-gray);
    transform: translateY(-50%);
    z-index: 0;
}

/* Step */
.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
    transition: transform 0.3s ease;
}
.process-step:hover {
    transform: translateY(-10px);
}

/* Marker */
.step-marker {
    width: 60px;
    height: 60px;
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: var(--white-color);
    box-shadow: var(--box-shadow-light);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.step-marker span {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}
.process-step:hover .step-marker {
    border-color: var(--primary-color);
    transform: scale(1.1);
}
.process-step:hover .step-marker span {
    color: var(--primary-color);
}

/* Content */
.step-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.step-content p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* Mobile: Vertical Timeline */
@media (max-width: 992px) {
    .process-timeline {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .process-timeline::before {
        top: 0;
        left: 50%;
        width: 4px;
        height: calc(100% - 60px);
        transform: translateX(-50%);
    }
    .process-step {
        margin-bottom: 3rem;
    }
}
/*  =========== ביטול המספר הכפול ===========
    (כבוי ה-::before של התהליך שמייצר את העיגול הכחול) */
.process-step::before {
    display: none !important;
}
/* =============================== */
/*  Process Steps — Modern Cards   */
/* =============================== */
.process-step {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(245,245,245,0.9));
    border-radius: var(--border-radius);
    padding: 30px 20px;
    box-shadow: var(--box-shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    z-index: 1;
}
.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

/* רקע קו החיבור (משמרים את התגית המקורית) */
.process-timeline::before {
    background: var(--medium-gray); /* כבר אוטומטי */
}

/* =============================== */
/*  Step Marker — Single, Big & Bold */
/* =============================== */
.step-marker {
    width: 70px;
    height: 70px;
    border: 4px solid var(--secondary-color);
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.step-marker span {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
}
.process-step:hover .step-marker {
    border-color: var(--primary-color);
    transform: scale(1.1);
}
.process-step:hover .step-marker span {
    color: var(--primary-color);
}

/* =============================== */
/*  טקסט הכותרת והתיאור           */
/* =============================== */
.step-content h4 {
    font-size: 1.2rem;
    color: var(--headings-color);
    margin-bottom: 0.5rem;
}
.step-content p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .process-timeline {
        grid-template-columns: 1fr !important;
    }
    .process-timeline::before {
        left: 50%;
        top: 0;
        width: 4px;
        height: calc(100% - 60px);
        transform: translateX(-50%);
    }
    .process-step {
        margin-bottom: 3rem;
    }
}

/* Service Detail Section */
.service-detail {
    padding: 80px 0;
    background: var(--light-gray);
}
.service-detail h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}
.service-detail p {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}
.service-detail .cta-button {
    padding: 0.6em 1.4em;           /* פחות גובה ואורך */
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    max-width: 220px;               /* לא יגדל מעל זה */
    width: auto;                    /* מתנהג לפי הטקסט */
    margin-top: 1.5em;
}




.hero-logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 15px;
  position: relative;
  overflow: hidden;
}

.logo-image {
  margin-top: -10px;
}

.logo-image img {
  width: 220px;
  max-width: 80vw;
  opacity: 0;
  animation: fadeInLogo 1.2s ease forwards;
  filter: drop-shadow(0 0 0 #fff) drop-shadow(0 0 2px #000) drop-shadow(0 0 6px #fff);
}

.logo-text {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: bold;
  color: white;
  margin-top: 5px;
  margin-bottom: 0;
  text-shadow: 1px 1px 2px #000;
  -webkit-text-stroke: 0.7px #fff;
  text-stroke: 0.7px #fff;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards, sparkle 2s ease-in-out 2.2s 1;
}

.logo-attributes {
  display: flex;
  gap: 10px;
  margin-top: 5px;
  font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  color: white;
  text-shadow: 1px 1px 2px #000;
  -webkit-text-stroke: 0.6px #fff;
  text-stroke: 0.6px #fff;
  z-index: 2;
}

.logo-attributes .attribute {
  opacity: 0;
  position: relative;
}

.attribute:nth-child(1) {
  animation: fadeGlow 0.8s ease-out forwards;
  animation-delay: 1s;
}
.attribute:nth-child(3) {
  animation: stampIn 0.7s ease-out forwards;
  animation-delay: 1.4s;
}
.attribute:nth-child(5) {
  animation: popBounceFixed 0.9s ease-out forwards;
  animation-delay: 1.8s;
}

.logo-attributes .dot {
  opacity: 0;
  animation: fadeUp 0.5s ease-out forwards;
}
.dot:nth-child(2) { animation-delay: 1.2s; }
.dot:nth-child(4) { animation-delay: 1.6s; }

/* אנימציות */
@keyframes fadeInLogo {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sparkle {
  0% { text-shadow: 1px 1px 2px #000; }
  50% { text-shadow: 1px 1px 3px #000, 0 0 8px #fff; }
  100% { text-shadow: 1px 1px 2px #000; }
}

@keyframes fadeGlow {
  0% { opacity: 0; filter: blur(2px); }
  100% { opacity: 1; filter: blur(0); text-shadow: 0 0 6px rgba(255,255,255,0.3); }
}

@keyframes stampIn {
  0% { opacity: 0; transform: scale(0.6) rotate(-5deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* כאן הפיקס לשירות */
@keyframes popBounceFixed {
  0% { opacity: 0; transform: scale(0.5); }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 600px) {
  .logo-attributes {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1.5rem;
  }
  .logo-image img {
    width: 160px;
  }
}

/* ————————————————
   1. ביטול חיתוך ב־hero-logo-area
   ———————————————— */
.hero-logo-area {
  overflow: visible !important;
}

/* ————————————————
   2. ריווח קטן בין הלוגו לרשימת התכונות
   ———————————————— */
/* מסירים מרווחים מיותרים ומוסיפים מרווח תחתון מינימלי */
.logo-text {
  margin: 0;
  margin-bottom: 4px;    /* ניתן לכוונן לפי טעמך */
  line-height: 1.1;
}
.logo-attributes {
  margin: 0;
  padding: 0;
  font-size: 1rem;       /* גודל אלגנטי */
  line-height: 1.2;
}

/* ————————————————
   3. מסגרת לטקסט (text outline) באמצעות text-shadow
   ———————————————— */
.logo-text,
.logo-attributes .attribute,
.logo-attributes .dot {
  color: #fff;
  /* ארבע שכבות Text-Shadow ליצירת מסגרת דקה וחלקה */
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.7),
     1px -1px 0 rgba(0,0,0,0.7),
    -1px  1px 0 rgba(0,0,0,0.7),
     1px  1px 0 rgba(0,0,0,0.7);
}

/* ————————————————
   4. עיצוב אלגנטי ומסגרת להנד-סאב־טייטל
   ———————————————— */
.hero-subtitle {
  margin-top: 2px;       /* קרוב יותר לכותרת הראשית */
  margin-bottom: 1.5rem; /* ריווח סטנדרטי מתחת */
  font-weight: 400;      /* או 300 אם תרצה קל יותר */
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  color: #fff;
  /* מסגרת מעט מטושטשת כדי להיראות אלגנטית */
  text-shadow:
    -1px -1px 1px rgba(0,0,0,0.6),
     1px -1px 1px rgba(0,0,0,0.6),
    -1px  1px 1px rgba(0,0,0,0.6),
     1px  1px 1px rgba(0,0,0,0.6);
  /* אם תרצה רק קו תחתון עדין במקום מסגרת: */
  /* border-bottom: 1px solid rgba(255,255,255,0.7);
     padding-bottom: 0.4rem; */
}

/* —————————————————————————————————————————————
   1. הגדלת גודל הטקסט בשקיפות • מקצועיות • שירות
   ————————————————————————————————————————————— */
.logo-attributes {
  font-size: 1.3rem;         /* הגדלנו מעט */
  font-weight: 500;          /* קצת “שמן” יותר */
  gap: 0.6rem;               /* רווח בין ה-span ’ים */
  line-height: 1.2;
}

/* אם ה-dot עדיין קטן מדי, נדאג שיוותר פיסקה: */
.logo-attributes .dot {
  font-size: 1.1rem;
}

/* —————————————————————————————————————————————
   2. מסגרת עדינה (outline) לתת-הכותרת שמתחת
   ————————————————————————————————————————————— */
/* מניחים שהתת-כותרת שלך היא הפסקה שמגיעה מיד אחרי .hero-logo-area */
.hero-logo-area + p {
  margin-top: 0.4rem;        /* קרוב יותר ללוגו */
  margin-bottom: 1.5rem;     /* מרווח סביר מתחת */
  font-size: clamp(1rem, 3.5vw, 1.3rem);
  font-weight: 400;
  color: #ffffff;
  /* מסגרת עדינה עם text-shadow */
  text-shadow:
    -1px -1px 1px rgba(0,0,0,0.75),
     1px -1px 1px rgba(0,0,0,0.75),
    -1px  1px 1px rgba(0,0,0,0.75),
     1px  1px 1px rgba(0,0,0,0.75);
}

/* —————————————————————————————————————————————
   3. (אופציונלי) מסגרת עדינה נוספת לכותרת המשנית
   ————————————————————————————————————————————— */
.hero-subtitle {
  /* אם תרצה גוון אחר למסגרת: */
  text-shadow:
    -1px -1px 1px rgba(0,0,0,0.8),
     1px -1px 1px rgba(0,0,0,0.8),
    -1px  1px 1px rgba(0,0,0,0.8),
     1px  1px 1px rgba(0,0,0,0.8);
}

/* ======= Latest Posts Section ======= */
.latest-posts-section {
    background: #f9fafc;
    padding: 80px 0;
}
.latest-posts-slider {
    margin-top: 40px;
}

/* ======= Post Card ======= */
.post-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ======= Post Image ======= */
.post-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.post-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transition: transform 4.5s ease;
}
.post-card:hover .post-image-container img {
    transform: scale(1);
}

/* ======= Post Content ======= */
.post-content {
    padding: 20px;
    text-align: right;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.post-content h3 {
    font-size: 1.4rem;
    color: #0077ff;
    margin-bottom: 12px;
}
.post-content p {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 12px;
    line-height: 1.6;
}
.read-more {
    display: inline-block;
    font-size: 0.95rem;
    color: #0077ff;
    font-weight: bold;
    transition: color 0.3s;
}
.read-more:hover {
    color: #0056b3;
}

/* ======= Center Button (optional) ======= */
.center-button {
    text-align: center;
    margin-top: 50px;
}

/* ======= Swiper Navigation ======= */
.swiper-button-next, .swiper-button-prev {
    background: #0077ff;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: #0056b3;
    transform: scale(1.1);
}

/* ======= Swiper Pagination ======= */
.swiper-pagination-bullet {
    background: #0077ff;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.swiper-pagination-bullet-active {
    background: #0056b3;
    opacity: 1;
}

/* ============================= */
/* אנימציות מתקדמות לכפתור WhatsApp */
/* ============================= */
.whatsapp-btn {
  position: fixed;
  bottom: clamp(16px,4vw,32px);
  left:  clamp(16px,4vw,32px);
  width:  clamp(70px,10vw,84px);
  height: clamp(70px,10vw,84px);
  background: var(--secondary-color);
  color:      var(--white-color);
  border:     3px solid var(--white-color);
  border-radius: 50%;
  display:    flex;
  align-items: center;
  justify-content: center;
  font-size:  clamp(34px,5.5vw,38px);
  cursor:     pointer;
  animation:
    shapePinch 5s ease-in-out infinite,
    edgeGlow   5s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 22px rgba(0,0,0,0.3);
}

@keyframes shapePinch {
  0%,100%   { border-radius: 50%; }
  33%       { border-radius: 30%; }
  66%       { border-radius: 20%; }
}
@keyframes edgeGlow {
  0%,100%   { box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
  33%,66%   {
    box-shadow:
      0 4px 12px rgba(0,0,0,0.2),
      0 0 18px rgba(63,171,76,0.5);
  }
}

/* ============================= */
/* Ozan Testimonials Section     */
/* ============================= */
.ozan-testimonials-section {
  position: relative;
  background: url('images/testimonials-bg.jpg') center/cover no-repeat;
  padding: 100px 0;
  color: var(--white-color);
}
.ozan-testimonials-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.2); /* יותר שקוף */
  z-index: 1;
}
.ozan-testimonials-container {
  position: relative;
  z-index: 2;
}
.ozan-testimonials-tag {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-bottom: 8px;
}
.ozan-testimonials-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 40px;
  line-height: 1.2;
}
.ozan-testimonials-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}
.ozan-testimonial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}
.ozan-client-photo {
  display: block;
  margin: 0 auto 18px;
  width: 88px; height: 88px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
}
/* מסיכת הציטוט */
.ozan-quote-mask {
  position: relative;
  background: rgba(0,0,0,0.35);
  padding: 24px 32px;
  border-radius: 8px;
  max-width: 680px;
}
.ozan-quote-icon {
  position: absolute;
  top: -12px;
  left: -12px;
  font-size: 2.5rem;
  color: rgba(100,160,50,0.7);
}
.ozan-testimonial-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin: 0 0 10px;
}
.ozan-testimonial-cite {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
  margin-top: 8px;
}
.ozan-testimonials-prev,
.ozan-testimonials-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary-color);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  z-index: 3;
  transition: background .3s, color .3s;
}
.ozan-testimonials-prev { left: 0; }
.ozan-testimonials-next { right: 0; }
.ozan-testimonials-prev:hover,
.ozan-testimonials-next:hover,
.ozan-testimonials-prev:focus,
.ozan-testimonials-next:focus {
  background: var(--secondary-color);
  color: #fff;
  outline: none;
  cursor: pointer;
}
.ozan-testimonials-pagination {
  text-align: center;
  margin-top: 28px;
  z-index: 2;
}
.ozan-testimonials-pagination .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: var(--primary-color);
  opacity: 1; margin: 0 5px;
  transition: background .3s;
}
.ozan-testimonials-pagination .swiper-pagination-bullet-active {
  background: var(--secondary-color);
}
/* רספונסיבי */
@media (max-width: 768px) {
  .ozan-testimonials-wrapper { padding: 0 30px; }
  .ozan-testimonials-prev,
  .ozan-testimonials-next { width: 36px; height: 36px; }
  .ozan-client-photo { width: 72px; height: 72px; }
  .ozan-quote-mask { padding: 16px 24px; }
  .ozan-quote-icon { font-size: 2rem; top: -10px; left: -10px; }
  .ozan-testimonial-text { font-size: 1rem; }
}
@media (max-width: 480px) {
  .ozan-testimonials-wrapper { padding: 0 20px; }
  .ozan-testimonials-prev,
  .ozan-testimonials-next { width: 32px; height: 32px; }
  .ozan-client-photo { width: 60px; height: 60px; }
  .ozan-quote-mask { padding: 12px 16px; }
  .ozan-quote-icon { font-size: 1.8rem; top: -8px; left: -8px; }
  .ozan-testimonial-text { font-size: 0.95rem; }
}


/* ============================= */
/* Partners/Clients Section      */
/* ============================= */
.partners-section {
  padding: 80px 0;
  background: var(--light-bg);
  overflow: hidden;
}
.partners-section .section-tag {
  display: block;
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: 8px;
}
.partners-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

/* Swiper container */
.partners-swiper {
  overflow: hidden;
  padding-bottom: 20px;
}
.partners-swiper .swiper-wrapper {
  display: flex;
  align-items: center;
}

/* Slide sizing: 3 logos per view */
.partners-swiper .swiper-slide {
  flex: 0 0 auto;
  width: calc((100% - 40px) / 3); /* 20px gap * 2 */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity .4s ease;
  margin: 0; /* spaceBetween handled by Swiper */
}

/* Wrapper for cropping */
.logo-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Final cropped logo canvas */
.partner-logo-canvas {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform .4s ease,
              box-shadow .4s ease;
}

/* Highlight active center logo */
.partners-swiper .swiper-slide-active {
  opacity: 1;
}
.partners-swiper .swiper-slide-active .partner-logo-canvas {
  transform: scale(1.15);
  box-shadow: 0 0 10px var(--secondary-color);
  border-radius: 4px;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .partners-swiper .swiper-slide {
    width: calc((100% - 30px) / 3);
  }
  .logo-wrapper {
    width: 60px;
    height: 60px;
  }
  .partner-logo-canvas {
    width: 60px;
    height: 60px;
  }
}
@media (max-width: 480px) {
  .partners-swiper .swiper-slide {
    width: calc((100% - 20px) / 3);
  }
  .logo-wrapper {
    width: 50px;
    height: 50px;
  }
  .partner-logo-canvas {
    width: 50px;
    height: 50px;
  }
}






