/* Updated Color Variables - Grey, White, Yellow */
:root {
    --primary: #2F2F2F;      /* Dark Grey */
    --secondary: #daa851;    /* Yellow */
    --accent: #E74C3C;
    --light: #F8F9FA;        /* Light Grey/White */
    --dark: #1A1A1A;         /* Very Dark Grey */
    --white: #FFFFFF;
    --grey: #6C757D;
    --success: #27ae60;
    --text: #333333;
    --text-light: #6C757D;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
}

/* RTL Support Variables */
[dir="rtl"] {
    --text-direction: rtl;
    --text-align: right;
    --float-direction: right;
    --flex-direction: row-reverse;
}

[dir="ltr"] {
    --text-direction: ltr;
    --text-align: left;
    --float-direction: left;
    --flex-direction: row;
}

/* General Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    color: var(--text);
    line-height: 1.6;
    text-align: var(--text-align);
    direction: var(--text-direction);
}

/* RTL/LTR Language Support */
body[lang="ar"] {
    direction: rtl;
    text-align: right;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, 'Arabic Typesetting', sans-serif;
}

body[lang="he"] {
    direction: rtl;
    text-align: right;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, 'Arial Hebrew', sans-serif;
}

body[lang="en"] {
    direction: ltr;
    text-align: left;
}

/* RTL Specific Adjustments */
[dir="rtl"] .section-title h2::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] nav ul li a::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .language-switcher button {
    margin-left: 0;
    margin-right: 10px;
}

[dir="rtl"] .steps {
    flex-direction: var(--flex-direction);
}

[dir="rtl"] .about-content {
    flex-direction: var(--flex-direction);
}

[dir="rtl"] .contact-container {
    flex-direction: var(--flex-direction);
}

[dir="rtl"] .name-fields {
    flex-direction: var(--flex-direction);
}

[dir="rtl"] .testimonial-author {
    flex-direction: var(--flex-direction);
}

[dir="rtl"] .testimonial-author .author-avatar {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .contact-details div {
    flex-direction: var(--flex-direction);
}

[dir="rtl"] .social-links {
    flex-direction: var(--flex-direction);
}

[dir="rtl"] .footer-content {
    direction: rtl;
}

/* Survey Navigation Buttons - High Specificity RTL/LTR Support */
.modal-content .survey-navigation {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* LTR (English) - Previous on left, Next on right */
[dir="ltr"] .modal-content .survey-navigation {
    flex-direction: row;
    justify-content: space-between;
}

[dir="ltr"] .modal-content .survey-navigation .btn:first-child {
    order: 1; /* Previous button */
}

[dir="ltr"] .modal-content .survey-navigation .btn:last-child {
    order: 2; /* Next button */
}

/* RTL (Arabic/Hebrew) - Next on left, Previous on right */
[dir="rtl"] .modal-content .survey-navigation {
    flex-direction: row-reverse;
    justify-content: space-between;
}

[dir="rtl"] .modal-content .survey-navigation .btn:first-child {
    order: 2; /* Previous button moves to right */
}

[dir="rtl"] .modal-content .survey-navigation .btn:last-child {
    order: 1; /* Next button moves to left */
}

/* Ensure buttons have consistent width */
.modal-content .survey-navigation .btn {
    min-width: 120px;
    flex: 0 0 auto;
}

[dir="rtl"] .faq-question {
    flex-direction: var(--flex-direction);
}

[dir="rtl"] .hero-buttons {
    flex-direction: var(--flex-direction);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-direction: var(--flex-direction);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-image:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    flex-direction: var(--flex-direction);
}

nav ul li {
    margin: 0 12.5px;
}

[dir="ltr"] nav ul li {
    margin-left: 25px;
    margin-right: 0;
}

[dir="rtl"] nav ul li {
    margin-right: 25px;
    margin-left: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

[dir="rtl"] nav ul li a::after {
    left: auto;
    right: 0;
}

nav ul li a:hover::after {
    width: 100%;
}

.language-switcher {
    display: flex;
    align-items: center;
    flex-direction: var(--flex-direction);
}

.language-switcher button {
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.language-switcher button.active {
    background: var(--primary);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    order: var(--float-direction);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #404040 50%, var(--secondary) 100%);
    color: var(--white);
    padding: 180px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 30px 20px;
    border-top: 4px solid var(--secondary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    border-top: 4px solid var(--secondary);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.step p {
    color: var(--text-light);
}

/* Achievements Section */
.achievements {
    background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.achievement-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: var(--transition);
    background: var(--white);
    border: 1px solid var(--light);
}

.achievement-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.1);
}

.achievement-image {
    width: 100%;
    height: 270px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.achievement-item:hover .achievement-image {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.03);
}

.achievement-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.achievement-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

[dir="rtl"] .lightbox-close {
    right: auto;
    left: -40px;
}

.lightbox-close:hover {
    color: var(--secondary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.lightbox-prev, .lightbox-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--primary);
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary);
}

[dir="rtl"] .testimonial {
    border-left: none;
    border-right: 4px solid var(--secondary);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
}

[dir="rtl"] .author-avatar {
    margin-right: 0;
    margin-left: 15px;
}

.author-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border-left: 3px solid var(--secondary);
}

[dir="rtl"] .faq-item {
    border-left: none;
    border-right: 3px solid var(--secondary);
}

.faq-question {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--white) 0%, var(--light) 100%);
}

.contact-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details div {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-details i {
    width: 30px;
    color: var(--primary);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary);
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.name-fields {
    display: flex;
    gap: 15px;
}

.name-fields .form-group {
    flex: 1;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, #404040 50%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Survey Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

[dir="rtl"] .close-modal {
    right: auto;
    left: 10px;
}

.survey-step {
    display: none;
}

.survey-step.active {
    display: block;
}

.survey-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.survey-progress::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #eee;
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 15px;
    left: 0;
    height: 4px;
    background: var(--primary);
    z-index: 2;
    transition: var(--transition);
}

.progress-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.progress-step.active {
    background: var(--primary);
    color: var(--white);
}

.survey-question {
    margin-bottom: 25px;
}

.survey-question h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-btn {
    padding: 10px 20px;
    background: var(--light);
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.option-btn:hover {
    background: #e9ecef;
}

.option-btn.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.survey-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* WhatsApp Floating Button - Perfect Circle */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 25px;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    text-decoration: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite, float 3s ease-in-out infinite;
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-link i {
    font-size: 2rem;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Text Direction Utilities */
.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

[dir="rtl"] .float-right {
    float: left;
}

[dir="rtl"] .float-left {
    float: right;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    nav {
        width: 100%;
        order: 3;
        margin-top: 15px;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .name-fields {
        flex-direction: column;
        gap: 0;
    }
    
    .lightbox-close {
        top: -50px;
        right: 10px;
    }
    
    [dir="rtl"] .lightbox-close {
        right: auto;
        left: 10px;
    }
    
    .lightbox-nav {
        padding: 0 10px;
    }
    
    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    [dir="rtl"] .whatsapp-float {
        right: auto;
        left: 20px;
    }
    
    .whatsapp-link {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-link i {
        font-size: 1.8rem;
    }
    
    .logo-image {
        height: 40px;
    }
    
    /* RTL mobile adjustments */
    [dir="rtl"] .header-container {
        flex-direction: row;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    [dir="rtl"] .whatsapp-float {
        right: auto;
        left: 15px;
    }
    
    .whatsapp-link {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-link i {
        font-size: 1.6rem;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .survey-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .survey-navigation .btn {
        width: 100%;
    }
}



/* Why Choose MNJ Section */
.why-choose {
    background: var(--background);
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border-top: 4px solid var(--secondary);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary) 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary) 0%, #404040 100%);
    color: var(--secondary);
}

.benefit-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Benefits */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
    
    .benefit-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .benefit-card {
        padding: 25px 15px;
    }
    
    .benefit-card h3 {
        font-size: 1.2rem;
    }
}

.back-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    display: inline-block !important;
}

.back-button:hover {
    background: #545b62;
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.services-grid .service-card:nth-child(4) {
    grid-column: 1 / 4; /* This makes it span all 3 columns */
	justify-self: center;
    max-width: 70%; /* Ensures it takes full width */
    
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    
    .services-grid .service-card:nth-child(4) {
        grid-column: 1; /* Reset to single column on mobile */
        max-width: 100%; /* Full width on mobile */
    }
}


.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #daa851;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}



/* Update the step indicator styles */
.step-indicator.active {
    background-color: #000; /* Black for active steps */
    color: white;
}

.step-indicator {
    background-color: #e0e0e0; /* Light gray for inactive steps */
    color: #666;
}

/* Remove or modify the progress line */
.progress-bar {
    background-color: #e0e0e0; /* Make the line light gray instead of black */
}

.progress-bar-fill {
    background-color: #e0e0e0; /* Make the progress fill light gray */
}
[dir="rtl"] .contact-details div {
    flex-direction: row-reverse;
    justify-content: flex-end;
    text-align: right;
}

[dir="rtl"] .contact-details i {
    margin-right: 0;
    margin-left: 15px;
    order: 2; /* Move icon to the right */
}

[dir="rtl"] .contact-details span {
    order: 1; /* Keep text on the left */
}

/* Put Follow Us and social icons on the same line */
.footer-column.social-column {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-column.social-column h3 {
    margin-bottom: 0;
    white-space: nowrap;
}

.social-links {
    display: flex;
    gap: 10px;
    margin: 0;
}

/* Better modal styling for contact details */
.request-details {
    margin: 20px 0;
}

.detail-section {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #daa851;
}

.detail-section h3 {
    margin: 0 0 15px 0;
    color: #2F2F2F;
    font-size: 1.1rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #2F2F2F;
    min-width: 120px;
}

.detail-value {
    color: #6c757d;
    text-align: right;
    flex: 1;
    margin-left: 15px;
}

.message-content {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    line-height: 1.5;
    white-space: pre-wrap;
}

.raw-data {
    background: #2F2F2F;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    overflow-x: auto;
}

.raw-data pre {
    margin: 0;
    font-family: 'Courier New', monospace;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}



/* --- Customer Videos Section --- */
.customer-videos {
    background: var(--background);
    padding: 40px 0;
    grid-column: 1 / -1;
    margin-top: 10px;
    margin-left: 10px;
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/* --- Video Card --- */
.video-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
}

.video-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* --- Video Wrapper & Overlay --- */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--primary);
}

.customer-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay always visible before play */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 47, 47, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* Hide overlay while playing */
.video-wrapper.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

/* --- Play Button --- */
.play-btn {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    border: none;
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--white);
}

/* --- Video Control Bar Styling --- */
.customer-video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

/* Responsive Design */
@media (max-width: 768px) {
    .videos-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-wrapper {
        height: 250px;
    }

    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .video-wrapper {
        height: 200px;
    }

    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}
.video-wrapper.playing .video-overlay {
  display: none;
}

/* --- Video Info Section --- */
.video-info {
    padding: 20px;
    margin: 0;
}

.video-info h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: var(--primary);
    line-height: 1.4;
}

.video-info p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}




/* ===== ANIMATION KEYFRAMES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}