/** cta styles for Bargheto Widgets */

.elementor-widget-bargheto_cta a {
    cursor: pointer;
}

.elementor-widget-bargheto_cta .bargheto-cta__wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 3.5rem 1.5rem;
    text-align: center;
    background-size: 250% 250%;
    background-position: 0% 0%;
    background-image: linear-gradient(to bottom right, var(--cta-accent-light, var(--bargheto-blue-light)), var(--cta-accent-dark, var(--bargheto-blue-dark)), var(--cta-accent-darker, #00359f));
    transition: background-position 0.6s ease;
}

@media (min-width: 768px) {
    .elementor-widget-bargheto_cta .bargheto-cta__wrapper {
        padding: 3.5rem 3rem;
    }
}

.elementor-widget-bargheto_cta .bargheto-cta__wrapper:hover {
    background-position: 100% 100%;
}

/* ── عنوان و متن ── */
.elementor-widget-bargheto_cta .bargheto-cta__title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.333;
}

@media (min-width: 768px) {
    .elementor-widget-bargheto_cta .bargheto-cta__title {
        font-size: 1.875rem;
    }
}

.elementor-widget-bargheto_cta .bargheto-cta__text {
    max-width: 36rem;
    margin: 1rem auto 0;
    font-size: 0.875rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .elementor-widget-bargheto_cta .bargheto-cta__text {
        font-size: 1rem;
    }
}

/* ── دکمه‌ها ── */
.elementor-widget-bargheto_cta .bargheto-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.elementor-widget-bargheto_cta .bargheto-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

@media (min-width: 768px) {
    .elementor-widget-bargheto_cta .bargheto-cta__btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

.elementor-widget-bargheto_cta .bargheto-cta__btn--primary {
    background-color: #fff;
    color: var(--cta-accent-dark, #00359f);
}

.elementor-widget-bargheto_cta .bargheto-cta__btn--primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.elementor-widget-bargheto_cta .bargheto-cta__btn--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.elementor-widget-bargheto_cta .bargheto-cta__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-1px);
}