/**
 * Why Choose Us Widget Styles
 * 
 * @package Netrobit_Core
 */

/* Reset Elementor container padding and margin */
.elementor-widget-netrobit-why-choose-us {
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-widget-netrobit-why-choose-us .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
}

.netrobit-why-choose-us {
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.netrobit-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.netrobit-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.netrobit-align-center {
    align-items: center;
}

.netrobit-image-column {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 1rem;
}

.netrobit-content-column {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 1rem;
}

/* Image Section */
.netrobit-feature-image {
    position: relative;
    overflow: hidden;
}

.netrobit-feature-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 200px 200px 0 0;
}

/* Statistics Badge */
.netrobit-stats-badge {
    position: absolute;
    bottom: 60px;
    left: 40px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 10px 40px var(--netrodent-shadow-medium, rgba(0, 0, 0, 0.15));
    min-width: 180px;
}

.netrobit-stats-content {
    text-align: center;
}

.netrobit-stats-icon {
    font-size: 32px;
    color: var(--netrodent-white, #ffffff);
    margin-bottom: .5rem;
    line-height: 1;
}

.netrobit-stats-icon i {
    display: inline-block;
}

.netrobit-stats-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--netrodent-white, #ffffff);
}

.netrobit-stats-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--netrodent-white, #ffffff);
    line-height: 1;
    margin-bottom: 8px;
}

.netrobit-stats-suffix {
    font-size: 32px;
    margin-left: 2px;
}

.netrobit-stats-label {
    font-size: 16px;
    color: var(--netrodent-white, #ffffff);
    font-weight: 500;
    line-height: 1.4;
}

/* Content Section */
.netrobit-section-title {
    font-size: 18px;
    color: var(--netrodent-text-color, #000000);
    font-weight: 400;
    margin-bottom: .5rem;
    letter-spacing: 0.5px;
}

.netrobit-main-heading {
    font-size: 42px;
    font-weight: 700;
    color: var(--netrodent-text-color, #000000);
    line-height: 1.3;
    margin-bottom: 1rem;
    margin-top: 0;
}

.netrobit-description {
    font-size: 16px;
    color: var(--netrodent-text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.netrobit-description p {
    margin-top: 0;
    margin-bottom: 15px;
}

.netrobit-description p:last-child {
    margin-bottom: 0;
}

.netrobit-additional-text {
    font-size: 16px;
    color: var(--netrodent-text-color);
    line-height: 1.8;
}

.netrobit-additional-text p {
    margin-bottom: 15px;
}

.netrobit-additional-text p:last-child {
    margin-bottom: 0;
}

/* Licenses Section */
.netrobit-widget-licenses {
    margin-top: 30px;
}

.netrobit-licenses-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.netrobit-license-item {
    flex: 0 0 auto;
}

.netrobit-license-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.netrobit-license-logo img {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.grayscale-logos .netrobit-license-logo img {
    filter: grayscale(100%);
    opacity: 0.6;
}

.grayscale-logos .netrobit-license-item:hover .netrobit-license-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Mini Slider in Why Choose Us */
.netrobit-licenses-slider {
    position: relative;
    overflow: hidden !important;
    user-select: none;
    padding: 10px 0;
}

.netrobit-licenses-slider .netrobit-licenses-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    transition: transform 0.5s ease;
    will-change: transform;
    align-items: center;
    width: 10000% !important;
    /* Large enough for many clones */
}

.netrobit-licenses-slider .netrobit-license-item {
    padding: 0 10px;
    box-sizing: border-box;
    display: flex !important;
    justify-content: center;
    flex-shrink: 0 !important;
}

/* Image Position Variations */
.netrobit-image-right .netrobit-image-column {
    order: 2;
}

.netrobit-image-right .netrobit-content-column {
    order: 1;
}

.netrobit-image-right .netrobit-stats-badge {
    left: auto;
    right: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .netrobit-why-choose-us {
        padding: 60px 0;
    }

    .netrobit-main-heading {
        font-size: 36px;
    }

    .netrobit-stats-badge {
        bottom: 40px;
        left: 30px;
        padding: 20px 25px;
        min-width: 160px;
    }

    .netrobit-stats-number {
        font-size: 36px;
    }

    .netrobit-stats-icon {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .netrobit-why-choose-us {
        padding: 40px 0;
    }

    .netrobit-image-column,
    .netrobit-content-column {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .netrobit-image-column {
        margin-bottom: 40px;
    }

    .netrobit-image-right .netrobit-image-column {
        order: 1;
    }

    .netrobit-image-right .netrobit-content-column {
        order: 2;
    }

    .netrobit-main-heading {
        font-size: 32px;
    }

    .netrobit-section-title {
        font-size: 16px;
    }

    .netrobit-stats-container {
        bottom: -40px;
        gap: 15px;
        padding: 0 15px;
    }

    .netrobit-stats-badge {
        padding: 18px 22px;
        min-width: 120px;
        max-width: 160px;
    }

    .netrobit-stats-number {
        font-size: 32px;
    }

    .netrobit-stats-suffix {
        font-size: 24px;
    }

    .netrobit-stats-label {
        font-size: 14px;
    }

    .netrobit-stats-icon {
        font-size: 24px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .netrobit-why-choose-us {
        padding: 30px 0;
    }

    .netrobit-main-heading {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .netrobit-section-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .netrobit-description,
    .netrobit-additional-text {
        font-size: 15px;
    }

    .netrobit-stats-badge {
        bottom: 20px;
        left: 15px;
        padding: 15px 18px;
        min-width: 120px;
    }

    .netrobit-stats-number {
        font-size: 28px;
    }

    .netrobit-stats-suffix {
        font-size: 20px;
    }

    .netrobit-stats-label {
        font-size: 13px;
    }

    .netrobit-stats-icon {
        font-size: 22px;
        margin-bottom: 8px;
    }
}