/**
 * Elementor Widgets Styles
 *
 * @package My_Theme_Core
 */

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.mpt-hero-slider {
    position: relative;
    overflow: hidden;
}

.mpt-hero-slider-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.mpt-hero-slide {
    flex: 0 0 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.mpt-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.mpt-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 40px 0;
}

.mpt-hero-content.mpt-align-center {
    text-align: center;
}

.mpt-hero-content.mpt-align-left {
    text-align: left;
}

.mpt-hero-content.mpt-align-right {
    text-align: right;
}

.mpt-hero-subtitle {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.mpt-hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.2;
}

.mpt-hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 32px;
}

.mpt-align-center .mpt-hero-description {
    margin-left: auto;
    margin-right: auto;
}

.mpt-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.mpt-align-center .mpt-hero-buttons {
    justify-content: center;
}

.mpt-align-right .mpt-hero-buttons {
    justify-content: flex-end;
}

.mpt-hero-btn {
    padding: 14px 32px;
    font-size: 16px;
}

.mpt-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mpt-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.mpt-slider-prev {
    left: 30px;
}

.mpt-slider-next {
    right: 30px;
}

.mpt-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.mpt-slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mpt-slider-dot.active,
.mpt-slider-dot:hover {
    background: #fff;
}

/* ==========================================================================
   Pricing Table
   ========================================================================== */
.mpt-pricing-table {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mpt-pricing-table:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mpt-pricing-featured {
    border: 2px solid var(--mpt-primary, #2563eb);
}

.mpt-pricing-badge {
    position: absolute;
    top: 16px;
    right: -35px;
    background: var(--mpt-accent, #f59e0b);
    color: #fff;
    padding: 6px 40px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.mpt-pricing-header {
    padding: 30px 20px;
    background: var(--mpt-primary, #2563eb);
    color: #fff;
}

.mpt-pricing-title {
    font-size: 24px;
    margin: 0 0 8px;
    color: inherit;
}

.mpt-pricing-subtitle {
    opacity: 0.8;
}

.mpt-pricing-price {
    padding: 30px 20px;
    border-bottom: 1px solid #eee;
}

.mpt-pricing-currency {
    font-size: 24px;
    vertical-align: super;
}

.mpt-pricing-amount {
    font-size: 64px;
    font-weight: 700;
    color: var(--mpt-secondary, #0f172a);
}

.mpt-pricing-period {
    color: #64748b;
}

.mpt-pricing-features {
    list-style: none;
    margin: 0;
    padding: 30px 20px;
}

.mpt-pricing-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.mpt-pricing-feature:last-child {
    border-bottom: none;
}

.mpt-pricing-feature.included .mpt-feature-icon {
    color: #10b981;
}

.mpt-pricing-feature.excluded {
    color: #94a3b8;
}

.mpt-pricing-feature.excluded .mpt-feature-icon {
    color: #ef4444;
}

.mpt-pricing-footer {
    padding: 20px 30px 30px;
}

.mpt-pricing-btn {
    width: 100%;
    padding: 14px 24px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.mpt-testimonials {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.mpt-testimonials-grid {
    display: grid;
    gap: 24px;
}

.mpt-testimonials-grid.mpt-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mpt-testimonials-grid.mpt-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mpt-testimonials-grid.mpt-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.mpt-testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mpt-testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #f59e0b;
}

.mpt-testimonial-content {
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 20px;
}

.mpt-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mpt-testimonial-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.mpt-testimonial-name {
    font-weight: 600;
    color: #0f172a;
}

.mpt-testimonial-position {
    font-size: 14px;
    color: #94a3b8;
}

/* ==========================================================================
   Posts Grid
   ========================================================================== */
.mpt-posts-grid {
    display: grid;
    gap: 24px;
}

.mpt-posts-grid.mpt-grid-1 {
    grid-template-columns: 1fr;
}

.mpt-posts-grid.mpt-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mpt-posts-grid.mpt-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.mpt-posts-grid.mpt-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   Call to Action
   ========================================================================== */
.mpt-cta {
    padding: 60px 40px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--mpt-primary, #2563eb) 0%, #7c3aed 100%);
    color: #fff;
}

.mpt-cta.mpt-align-center {
    text-align: center;
}

.mpt-cta.mpt-align-left {
    text-align: left;
}

.mpt-cta.mpt-align-right {
    text-align: right;
}

.mpt-cta-title {
    font-size: 36px;
    margin: 0 0 16px;
    color: inherit;
}

.mpt-cta-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
    max-width: 600px;
}

.mpt-align-center .mpt-cta-description {
    margin-left: auto;
    margin-right: auto;
}

.mpt-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.mpt-align-center .mpt-cta-buttons {
    justify-content: center;
}

.mpt-align-right .mpt-cta-buttons {
    justify-content: flex-end;
}

.mpt-cta-btn.mpt-btn-outline {
    border-color: #fff;
    color: #fff;
}

.mpt-cta-btn.mpt-btn-outline:hover {
    background: #fff;
    color: var(--mpt-primary, #2563eb);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .mpt-hero-title {
        font-size: 42px;
    }
    
    .mpt-testimonials-grid.mpt-grid-4,
    .mpt-testimonials-grid.mpt-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mpt-posts-grid.mpt-grid-4,
    .mpt-posts-grid.mpt-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mpt-hero-title {
        font-size: 32px;
    }
    
    .mpt-hero-description {
        font-size: 16px;
    }
    
    .mpt-slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .mpt-slider-prev {
        left: 15px;
    }
    
    .mpt-slider-next {
        right: 15px;
    }
    
    .mpt-testimonials-grid.mpt-grid-2,
    .mpt-testimonials-grid.mpt-grid-3,
    .mpt-testimonials-grid.mpt-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .mpt-posts-grid.mpt-grid-2,
    .mpt-posts-grid.mpt-grid-3,
    .mpt-posts-grid.mpt-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .mpt-cta {
        padding: 40px 24px;
    }
    
    .mpt-cta-title {
        font-size: 28px;
    }
}

