/* === HOME PAGE STYLES === */

.hero-content {
    max-width: 80vw;
    margin: 0 auto;
    text-align: center;
    word-wrap: break-word;
}

.hero-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 2rem;
    background-color: var(--bg-color);
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.hero-left {
    flex: 1;
    text-align: left;
}

.hero-left h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.hero-subline {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    min-height: 50px;
}


.hero-right {
    flex: 1;
    text-align: center;
}

.hero-background {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.hero-pause-logo {
    max-width: 380px;
    height: auto;
    opacity: 0.95;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.tool-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.tool-logo {
    max-width: 120px;
    margin-bottom: 1.2rem;
}

.tool-card h3 {
    margin-bottom: 0.5rem;
    color: var(--main-color);
}

.tagline {
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.full-highlight {
    background-color: #e9f7f4;
    padding: 4rem 2rem;
    width: 100%;
}

.highlight-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.highlight-text {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.highlight-text h2 {
    font-size: 2rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.highlight-text p {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.highlight-image {
    flex: 1;
    text-align: center;
}

.highlight-image img {
    max-width: 320px;
    height: auto;
}

#cf-cta {
    display: inline-block;
    margin-top: 1.5rem;
}

.testi-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

.testi-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    text-align: center;
    flex: 0 0 280px;
    scroll-snap-align: start;
}

.testi-card .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.testi-info span {
    font-weight: bold;
    color: var(--main-color);
    display: block;
}

.testi-info small {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-bottom: 1rem;
}

.testi-card p {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

.clients-marquee .marquee-track {
    display: flex;
    gap: 3rem;
    animation: scroll 40s linear infinite;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.clients-marquee img {
    max-height: 60px;
    opacity: 0.8;
    transition: 0.3s;
}

.clients-marquee img:hover {
    opacity: 1;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
#contact .container {
    text-align: center;
    direction: ltr;
}

html[dir="rtl"] #contact .container {
    direction: rtl;
    text-align: center;
}

@media (max-width: 767px) {
    .hero-logo {
        width: 20vw;
        height: auto;
    }

    .hero-split,
    .highlight-inner {
        flex-direction: column;
    }

    .hero-left,
    .hero-right,
    .highlight-text,
    .highlight-image {
        text-align: center;
    }

    .hero-split {
        flex-direction: column-reverse;
        padding: 4rem 1.5rem;
    }

    .hero-left h1 {
        font-size: 2rem;
    }

    .tool-logo {
        max-width: 90px;
    }

    .highlight-inner {
        flex-direction: column;
    }

    .highlight-image {
        order: -1;
    }

    .testi-carousel {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .btn {
        margin-top: 1.5rem;
    }

    [dir="rtl"] .highlight-text,
    [dir="rtl"] .hero-left {
        text-align: center;
    }

    [dir="rtl"] .footer-links,
    [dir="rtl"] .social {
        text-align: center;
    }
}
