/* ===================================
   WHY CHOOSE US SECTION - PREMIUM CARDS
   =================================== */

.why-choose-section {
    padding: var(--spacing-3xl) 0 calc(var(--spacing-3xl) + var(--spacing-xl));
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 163, 224, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* Premium Grid */
.why-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

/* Premium Card Base */
.why-premium-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: var(--spacing-2xl);
    border: 2px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.why-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.why-premium-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.12),
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.why-premium-card:hover::before {
    opacity: 1;
}

/* Animated Shine Effect */
.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.why-premium-card:hover .card-shine {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Large Icon Styling */
.card-icon-large {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon-large i {
    font-size: 3.5rem;
    position: relative;
    z-index: 2;
    color: var(--white);
    transition: all 0.6s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.why-premium-card:hover .card-icon-large {
    transform: scale(1.1) rotateY(360deg);
}

.why-premium-card:hover .icon-bg {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Color Themes */
.why-premium-card[data-color="blue"] .icon-bg {
    background: linear-gradient(135deg, #0066CC 0%, #00A3E0 100%);
}

.why-premium-card[data-color="cyan"] .icon-bg {
    background: linear-gradient(135deg, #00A3E0 0%, #00D4FF 100%);
}

.why-premium-card[data-color="purple"] .icon-bg {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
}

.why-premium-card[data-color="green"] .icon-bg {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}

.why-premium-card[data-color="orange"] .icon-bg {
    background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
}

.why-premium-card[data-color="teal"] .icon-bg {
    background: linear-gradient(135deg, #14B8A6 0%, #2DD4BF 100%);
}

/* Border Glow on Hover */
.why-premium-card[data-color="blue"]:hover {
    border-color: rgba(0, 102, 204, 0.5);
}

.why-premium-card[data-color="cyan"]:hover {
    border-color: rgba(0, 163, 224, 0.5);
}

.why-premium-card[data-color="purple"]:hover {
    border-color: rgba(99, 102, 241, 0.5);
}

.why-premium-card[data-color="green"]:hover {
    border-color: rgba(16, 185, 129, 0.5);
}

.why-premium-card[data-color="orange"]:hover {
    border-color: rgba(245, 158, 11, 0.5);
}

.why-premium-card[data-color="teal"]:hover {
    border-color: rgba(20, 184, 166, 0.5);
}

/* Typography */
.why-premium-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--deep-blue);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    text-align: center;
    letter-spacing: -0.5px;
}

.why-premium-card p {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 1rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

/* Card Footer */
.card-footer {
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 2px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.highlight-stat {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 163, 224, 0.1) 100%);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(0, 102, 204, 0.2);
    transition: all 0.3s ease;
}

.why-premium-card:hover .highlight-stat {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Certification Mini Badges */
.cert-mini-badges {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    justify-content: center;
}

.cert-mini-badges span {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(0, 163, 224, 0.08) 100%);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(0, 102, 204, 0.15);
    transition: all 0.3s ease;
}

.cert-mini-badges span:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

/* Stagger Animation on Scroll */
.why-premium-card:nth-child(1) {
    animation-delay: 0.1s;
}

.why-premium-card:nth-child(2) {
    animation-delay: 0.2s;
}

.why-premium-card:nth-child(3) {
    animation-delay: 0.3s;
}

.why-premium-card:nth-child(4) {
    animation-delay: 0.4s;
}

.why-premium-card:nth-child(5) {
    animation-delay: 0.5s;
}

.why-premium-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .why-premium-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .why-premium-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .why-premium-card {
        padding: var(--spacing-xl);
        min-height: 350px;
    }

    .card-icon-large {
        width: 100px;
        height: 100px;
    }

    .card-icon-large i {
        font-size: 3rem;
    }

    .why-premium-card h3 {
        font-size: 1.35rem;
    }

    .why-premium-card p {
        font-size: 0.95rem;
    }
}