:root {
    --primary-color: #0c3b5d;
    --accent-color: #00a8e8;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===============================
   GLOBAL FIX
================================ */

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden; /* מונע גלילה אופקית */
}

/* ===============================
   MAIN SECTION
================================ */

.reviews-section {
    display: flex;
    width: 100%;
    min-height: 500px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* ===============================
   RIGHT SIDE - FORM
================================ */

.form-side {
    flex: 0 0 40%;
    background-color: var(--white);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 10px 0 30px rgba(0,0,0,0.03);
    z-index: 2;
}

.form-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;
}

.form-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--accent-color);
    margin-top: 10px;
}

.form-header p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* טופס */

.review-input-group {
    margin-bottom: 20px;
}

.review-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.review-input-group input,
.review-input-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    box-sizing: border-box;
}

.review-input-group input:focus,
.review-input-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0,168,232,0.1);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 16px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 15px;
}

.submit-btn:hover {
    background-color: #082a44;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12,59,93,0.3);
}

/* ===============================
   LEFT SIDE - CAROUSEL
================================ */

.carousel-side {
    flex: 0 0 60%;
    background: linear-gradient(135deg, #0c3b5d 0%, #164e7a 100%);
    padding: 60px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

/* ביטול הריבוע של FontAwesome */
.carousel-side::before {
    content: none;
}

.carousel-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
}

.carousel-track-container {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* ===============================
   TESTIMONIAL CARD
================================ */

.testimonial-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 16px;
    min-width: calc(50% - 10px);
    box-sizing: border-box;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-text {
    font-size: 1.4rem;
    line-height: 2.1;
    margin-bottom: 30px;
    font-weight: 500;
}

.author-details b {
    display: block;
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 6px;
}

.author-details span {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===============================
   CONTROLS
================================ */

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.3rem;
}

.nav-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.dots-container {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 20px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
    .reviews-section {
        flex-direction: column;
    }

    .form-side,
    .carousel-side {
        flex: 0 0 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 100%;
    }

    .form-side,
    .carousel-side {
        padding: 40px 20px;
    }
}
/* ===============================
   FULL WIDTH ONLY FOR REVIEWS SECTION
================================ */

/* מבטל padding רק להורים של הסקשן הזה */
.reviews-section {
    width: 100% !important;
    margin: 0 !important;
}

/* מבטל padding של ה-column רק בתוך הסקשן */
.reviews-section .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* אם הוא עטוף בתוך vc_row */
.reviews-section.wpb_row,
.wpb_row .reviews-section {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* מונע גלילה אופקית */
.reviews-section {
    overflow: hidden;
}

.wpb_wrapper > .reviews-section {
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}