/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', sans-serif;
    line-height: 1.6;
    direction: rtl; /* For Hebrew text */
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo-text {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.logo-image {
    height: 100px;
    width: 100px;
    object-fit: contain;
    border-radius: 50%;
    padding: 8px;
    background: white;
    margin: 5px;
    transition: all 0.3s ease;
}

.logo-image:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: auto; /* For RTL */
}

.nav-links li {
    margin-right: 2rem; /* For RTL */
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #666;
}

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@500;700&display=swap');

/* Update mobile text styles */
.mobile-logo-text {
    display: none;
    font-family: 'Heebo', sans-serif;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

@media screen and (max-width: 768px) {
    .products-grid {
        width: 95%;
        gap: 1.5rem;
    }

    /* Adjust navbar for centered text */
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .logo {
        padding: 5px 0; /* Reduced padding */
    }

    body {
        padding-top: 70px; /* Adjust based on your navbar height */
    }
    .logo-image {
        height: 80px; /* Reduced size */
        width: 80px;  /* Reduced size */
        padding: 5px; /* Reduced padding */
        margin: 0;    /* Removed margin */
    }
    .mobile-logo-text {
        order: 2;
    }

    .nav-toggle {
        order: 0;
        position: absolute;
        left: 15px;
    }

/* Mobile styles */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .mobile-logo-text {
        display: block;
        font-size: 16px;
        font-weight: 500;
        color: #333;
        text-align: right;
        margin-right: 15px;
        max-width: 60%;
    }

    .nav-toggle {
        display: flex;
        order: 0;
    }

    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: #f5f5f5;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Products/Services Grid */
.products {
    padding: 4rem 0;
    background: #fff;
}

/* Products/Services Grid */
.products-grid {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 2rem;
    width: 90%;
    max-width: 800px; /* Reduced max-width for better readability */
    margin: 0 auto;
}

.qr-code {
    margin: 2rem auto;
    max-width: 300px; /* Adjust based on your QR code size */
    width: 100%;
    padding: 10px; /* Add padding for better spacing */
    box-sizing: border-box; /* Include padding in width */
}

.qr-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

@media screen and (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;  /* Force single column on mobile */
        gap: 1.5rem;
        padding: 0 15px;
    }

    .product-card {
        width: 100%;
        margin: 0 auto;
    }
}

/* Container adjustments */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section spacing */
section {
    width: 100%;
    padding: 2rem 0;
    margin: 0;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-category {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-info p {
    color: #666;
    margin-bottom: 1.5rem;
}

.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}
.about-me {
    padding: 4rem 0;
    background: #f5f5f5; /* Light background color */
    text-align: center; /* Center text */
}

.about-me h2 {
    font-family: 'Montserrat', sans-serif; /* Use the same font as the site */
    font-size: 2rem; /* Adjust size as needed */
    color: #333; /* Match the color with the site */
    margin-bottom: 2rem; /* Space below the title */
}

.about-content {
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    align-items: center; /* Center content */
    text-align: center; /* Center text in the content */
}

.about-image {
    width: 80%; /* Adjust width as needed */
    max-width: 600px; /* Limit max width */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 1rem; /* Space below the image */
}

.about-content p {
    font-family: 'Comic Sans MS', sans-serif; 
    font-size: 1rem; /* Match the font size to other sections */
    color: #666; /* Text color */
    max-width: 800px; /* Limit max width for text */
    line-height: 1.6; /* Improve readability */
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #333; /* Button background color */
    color: #fff; /* Text color */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    font-weight: 500; /* Font weight */
    transition: background 0.3s ease; /* Transition effect */
    margin-top: 1rem; /* Space above the button */
}

.cta-button:hover {
    background: #444; /* Darker background on hover */
}

/* Buttons */
.learn-more, .cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.learn-more:hover, .cta-button:hover {
    background: #444;
}

/* Import a modern font */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;700&display=swap');

/* Contact Section Styles */
.contact {
    padding: 4rem 0;
    background: #f5f5f5;
    font-family: 'Heebo', sans-serif;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #333;
}

.qr-contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.contact-message {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
}

.contact-phone {
    font-size: 1.6rem;
    color: #333;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.qr-code {
    margin: 2rem auto;
    max-width: 300px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.qr-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .contact-message {
        font-size: 1.2rem;
    }
    
    .contact-phone {
        font-size: 1.4rem;
    }
    
    .qr-code {
        max-width: 250px;
    }
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 2px;
    transition: 0.3s;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: #f9f9f9;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.testimonial-slides {
    position: relative;
    min-height: 400px;
}

.testimonial-slide {
    position: relative;
    width: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.testimonial-content blockquote {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.testimonial-author {
    text-align: center;
    width: 100%;
}

.testimonial-author h4 {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 0.5rem;
    text-align: center;
}

.testimonial-author p {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
}

.testimonial-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 1.5rem;
    display: block;
}
.video-tips {
    padding: 4rem 0;
    background: #f5f5f5;
    text-align: center; /* Center text */
}

.video-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the video container */
    position: relative;
}

.video-wrapper {
    width: 80%; /* Adjust as needed */
    max-width: 600px; /* Limit max width */
}

video {
    width: 100%; /* Make video responsive */
    height: auto; /* Maintain aspect ratio */
}

/* Font styles */
.video-tips h2 {
    font-family: 'Montserrat', sans-serif; /* Use the same font as the site */
    font-size: 2rem; /* Adjust size to match the title size */
    color: #333; /* Match the color with the site */
    margin-bottom: 2rem; /* Space below the title */
}
.social-icons {
    display: flex;
    justify-content: center; /* Center the icons */
    margin-bottom: 1rem; /* Space below the icons */
}

.social-icon {
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    margin: 0 10px; /* Space between icons */
    border-radius: 50%; /* Circular shape */
    background: #fff; /* Background color */
    padding: 5px; /* Padding for the circular effect */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow */
    transition: transform 0.3s; /* Hover effect */
}

.social-icon:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* General arrow styling */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    color: white; /* Arrow color */
    border: none; /* No border */
    width: 40px; /* Arrow size */
    height: 40px; /* Arrow size */
    border-radius: 50%; /* Make it circular */
    cursor: pointer; /* Pointer cursor on hover */
    z-index: 10; /* Ensure it’s above other elements */
    font-size: 20px; /* Text size for the arrow */
    display: flex; /* Flex for centering */
    align-items: center; /* Center arrow vertically */
    justify-content: center; /* Center arrow horizontally */
}

/* Position arrows for left and right */
.slider-arrow.prev {
    left: 10px; /* Adjust for your design */
}

.slider-arrow.next {
    right: 10px; /* Adjust for your design */
}

/* For RTL support */
[dir="rtl"] .slider-arrow.prev {
    right: 10px;
    left: auto;
}

[dir="rtl"] .slider-arrow.next {
    left: 10px;
    right: auto;
}

/* Optional: Hover effect */
.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #333;
}

/* RTL Specific Adjustments */
[dir="rtl"] .nav-links {
    padding-right: 0;
}

[dir="rtl"] .product-info {
    text-align: right;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Header Styles */
/* Header Styles */
.header {
    width: 100%; /* Make header full width */
    height: 200px; /* Set a height for the header */
    background-image: url('public/images/logoMentor.jpg'); /* Set the logo as a background image */
    background-size: cover; /* Cover the entire header */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent repeating the image */
    position: relative; /* Ensure positioning context */
    overflow: hidden; /* Hide any overflow */
}
}