/**
 * Why Choose Us Widget Styles - Modern Card Design
 *
 * @package PWZ_Theme
 * @since 1.0.0
 */

.pwz-why-choose-us {
    position: relative;
    padding: 100px 0;
    background: #000000;
    overflow: hidden;
}

.pwz-wcu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Background Pattern - Matching Process Section */
.pwz-why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 136, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Header Section */
.pwz-wcu-header {
    text-align: center;
    margin-bottom: 60px;
}

.pwz-wcu-title {
    font-family: var(--pwz-font-heading, 'Poppins', sans-serif);
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.pwz-wcu-description {
    font-family: var(--pwz-font-body, 'Inter', sans-serif);
    font-size: 18px;
    font-weight: 400;
    color: #CCCCCC;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* Reasons Grid */
.pwz-reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    column-gap: 30px;
    row-gap: 30px;
    margin-bottom: 0;
}

/* Reason Card - Matching Process Section Colors */
.pwz-reason-item {
    position: relative;
    padding: 40px 30px 35px;
    background:
        linear-gradient(135deg, rgba(0, 255, 136, 0.02) 0%, transparent 100%),
        #000000;
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 136, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow:
        inset 0 1px 0 rgba(0, 255, 136, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Card Background Glow */
.pwz-reason-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, rgba(0, 255, 136, 0.04) 40%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.pwz-reason-item:hover::before {
    opacity: 1;
}

.pwz-reason-item:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 255, 136, 0.15);
}

/* Number Badge - Top Right Circle - Matching Process Section */
.pwz-reason-number-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pwz-font-heading, 'Poppins', sans-serif);
    font-size: 18px;
    font-weight: 700;
    color: #00FF88;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
    z-index: 2;
    transition: all 0.4s ease;
}

.pwz-reason-item:hover .pwz-reason-number-badge {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.5);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

/* Icon Wrapper & Icon - Square with Rounded Corners - Matching Process Section */
.pwz-reason-icon-wrapper {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.pwz-reason-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    font-size: 48px;
    color: #00FF88 !important;
    background: rgba(0, 255, 136, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(0, 255, 136, 0.2);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Icon SVG and Font Awesome Support */
.pwz-reason-icon svg,
.pwz-reason-icon i {
    width: 48px !important;
    height: 48px !important;
    font-size: 48px !important;
    color: #00FF88 !important;
    fill: #00FF88 !important;
    transition: transform 0.4s ease;
}

.pwz-reason-icon i::before {
    color: #00FF88 !important;
    font-size: 48px !important;
}

/* SVG Path Support */
.pwz-reason-icon svg path,
.pwz-reason-icon svg circle,
.pwz-reason-icon svg rect,
.pwz-reason-icon svg line,
.pwz-reason-icon svg polyline,
.pwz-reason-icon svg polygon {
    fill: #00FF88 !important;
    stroke: #00FF88 !important;
}

.pwz-reason-item:hover .pwz-reason-icon {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.4);
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.5));
}

.pwz-reason-item:hover .pwz-reason-icon i,
.pwz-reason-item:hover .pwz-reason-icon svg {
    transform: rotate(5deg);
}

/* Title - Green Theme */
.pwz-reason-title {
    font-family: var(--pwz-font-heading, 'Poppins', sans-serif);
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 12px 0;
    letter-spacing: 0.3px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.pwz-reason-item:hover .pwz-reason-title {
    color: #00FF88;
}

/* Description */
.pwz-reason-description {
    font-family: var(--pwz-font-body, 'Inter', sans-serif);
    font-size: 15px;
    font-weight: 400;
    color: #CCCCCC;
    line-height: 1.6;
    letter-spacing: 0.2px;
    margin: 0;
}

/* Button Wrapper */
.pwz-wcu-button-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Button - Matching Process Section Colors */
.pwz-wcu-button {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--pwz-font-heading, 'Poppins', sans-serif);
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    background: #00FF88;
    border-radius: 50px;
    border: 2px solid #00FF88;
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pwz-wcu-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.pwz-wcu-button:hover {
    background: transparent;
    color: #00FF88;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 255, 136, 0.5);
}

.pwz-wcu-button:hover::before {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1440px) {
    .pwz-wcu-container {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .pwz-wcu-container {
        max-width: 960px;
    }

    .pwz-reasons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .pwz-wcu-container {
        max-width: 720px;
    }

    .pwz-wcu-title {
        font-size: 42px;
    }

    .pwz-wcu-description {
        font-size: 16px;
    }

    .pwz-reasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .pwz-reason-item {
        padding: 35px 25px 30px;
    }

    .pwz-reason-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .pwz-reason-title {
        font-size: 20px;
    }

    .pwz-reason-description {
        font-size: 14px;
    }

    .pwz-wcu-button {
        padding: 14px 35px;
        font-size: 15px;
    }
}

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

    .pwz-wcu-container {
        padding: 0 15px;
    }

    .pwz-wcu-header {
        margin-bottom: 50px;
    }

    .pwz-wcu-title {
        font-size: 36px;
    }

    .pwz-wcu-description {
        font-size: 15px;
    }

    .pwz-reasons-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pwz-reason-item {
        padding: 40px 30px 35px;
    }

    .pwz-reason-icon {
        width: 75px;
        height: 75px;
        font-size: 34px;
        margin-bottom: 20px;
    }

    .pwz-reason-number-badge {
        width: 45px;
        height: 45px;
        font-size: 16px;
        top: -12px;
        right: 15px;
    }

    .pwz-reason-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .pwz-reason-description {
        font-size: 14px;
    }

    .pwz-wcu-button-wrapper {
        margin-top: 40px;
    }

    .pwz-wcu-button {
        padding: 14px 32px;
        font-size: 15px;
    }
}

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

    .pwz-wcu-header {
        margin-bottom: 40px;
    }

    .pwz-wcu-title {
        font-size: 32px;
    }

    .pwz-wcu-description {
        font-size: 14px;
    }

    .pwz-reasons-grid {
        gap: 25px;
    }

    .pwz-reason-item {
        padding: 35px 25px 30px;
    }

    .pwz-reason-icon {
        width: 65px;
        height: 65px;
        font-size: 30px;
    }

    .pwz-reason-number-badge {
        width: 40px;
        height: 40px;
        font-size: 14px;
        top: -10px;
        right: 10px;
    }

    .pwz-reason-title {
        font-size: 20px;
    }

    .pwz-reason-description {
        font-size: 13px;
    }

    .pwz-wcu-button {
        padding: 12px 28px;
        font-size: 14px;
    }
}

