/**
 * ============================================================================
 * WHY CHOOSE US SECTION - CREATIVE ENHANCED
 * Advanced animations and interactive elements
 * ============================================================================
 */

/* Section Container */
.why-choose-section {
    position: relative;
    padding: 100px 0;
    background: #FFFFFF;
    overflow: hidden;
}

/* Animated Background Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}

.particle-1 {
    top: 10%;
    left: 5%;
    background: radial-gradient(circle, #ec4899, transparent);
    animation: floatParticle 20s ease-in-out infinite;
}

.particle-2 {
    top: 60%;
    right: 10%;
    background: radial-gradient(circle, #f472b6, transparent);
    animation: floatParticle 25s ease-in-out infinite reverse;
}

.particle-3 {
    bottom: 20%;
    left: 15%;
    background: radial-gradient(circle, #fce7f3, transparent);
    animation: floatParticle 30s ease-in-out infinite;
}

.particle-4 {
    top: 40%;
    right: 20%;
    background: radial-gradient(circle, #fdf2f8, transparent);
    animation: floatParticle 22s ease-in-out infinite reverse;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Section Header */
.why-choose-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 2;
}

.why-choose-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: linear-gradient(135deg, #fce7f3, #fdf2f8);
    border: 2px solid #fce7f3;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ec4899;
    margin-bottom: 24px;
    animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(236, 72, 153, 0);
    }
}

.tag-icon {
    display: inline-block;
    animation: sparkle 1.5s ease-in-out infinite;
}

.tag-icon:last-child {
    animation-delay: 0.75s;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.7;
    }
}

.why-choose-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

.title-animated {
    display: inline-block;
    background: linear-gradient(135deg, #ec4899, #f472b6, #ec4899);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.why-choose-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #64748b;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
    z-index: 2;
}

/* Feature Item */
.why-choose-item {
    opacity: 0;
    transform: translateY(30px);
}

.why-choose-item[data-aos="fade-up"] {
    animation: fadeUpItem 0.8s ease forwards;
}

.why-choose-item:nth-child(1) { animation-delay: 0.1s; }
.why-choose-item:nth-child(2) { animation-delay: 0.2s; }
.why-choose-item:nth-child(3) { animation-delay: 0.3s; }
.why-choose-item:nth-child(4) { animation-delay: 0.4s; }
.why-choose-item:nth-child(5) { animation-delay: 0.5s; }
.why-choose-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeUpItem {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item-inner {
    position: relative;
    padding: 36px;
    background: #FFFFFF;
    border: 2px solid #f3f4f6;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.item-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fce7f3, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-choose-item:hover .item-inner {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.15);
    border-color: #fce7f3;
}

.why-choose-item:hover .item-inner::before {
    opacity: 1;
}

/* Icon Wrapper with Advanced Effects */
.icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.icon-bg-pulse {
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, #fce7f3, #fdf2f8);
    border-radius: 50%;
    opacity: 0;
    animation: pulseScale 2s ease-in-out infinite;
}

.why-choose-item:hover .icon-bg-pulse {
    opacity: 1;
}

@keyframes pulseScale {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.why-choose-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fce7f3, #fdf2f8);
    border-radius: 20px;
    transition: all 0.4s ease;
    z-index: 2;
}

.why-choose-item:hover .why-choose-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.why-choose-icon i {
    font-size: 2rem;
    color: #ec4899;
    transition: all 0.4s ease;
}

.why-choose-item:hover .why-choose-icon i {
    transform: scale(1.2) rotate(5deg);
}

.icon-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 70%
    );
    border-radius: 20px;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.why-choose-item:hover .icon-shine {
    transform: translateX(100%);
}

/* Item Content */
.item-content {
    position: relative;
    z-index: 2;
}

.why-choose-item-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.title-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    color: #FFFFFF;
}

.why-choose-item-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 16px;
}

.item-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tablet (641px+) */
@media (min-width: 641px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (1025px+) */
@media (min-width: 1025px) {
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Adjustments */
@media (max-width: 640px) {
    .why-choose-section {
        padding: 60px 0;
    }
    
    .why-choose-header {
        margin-bottom: 48px;
    }
    
    .item-inner {
        padding: 28px;
    }
    
    .icon-wrapper {
        width: 64px;
        height: 64px;
    }
    
    .why-choose-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }
    
    .why-choose-icon i {
        font-size: 1.5rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .particle,
    .why-choose-tag,
    .tag-icon,
    .title-animated,
    .icon-bg-pulse {
        animation: none;
    }
    
    .why-choose-item:hover .item-inner,
    .why-choose-item:hover .why-choose-icon,
    .why-choose-item:hover .why-choose-icon i {
        transform: none;
    }
}