/* =========================================
   WHY CHOOSE US SECTION
   5-Column Grid with 3D Tilt
   ========================================= */

.why-choose-section {
    padding: var(--space-8) 0 var(--space-12);
    /* Balanced padding */
    background: linear-gradient(90deg, #D4AF37 0%, #F2D381 50%, #D4AF37 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(212, 175, 55, 0.2);
}

/* Shine Effect Animation */
.why-choose-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine-sweep-choose 12s infinite ease-in-out;
    pointer-events: none;
}

@keyframes shine-sweep-choose {
    0% {
        left: -100%;
    }

    15% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.why-choose-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-10);
}

.why-choose-title {
    font-family: 'Outfit', sans-serif;
    /* Upgraded to more premium font */
    font-size: clamp(1.1rem, 4.5vw, 2.8rem);
    text-transform: none;
    /* Ensure it stays mixed case as requested */
    font-weight: 800;
    color: var(--color-primary);
    /* Navy on Gold - High Contrast */
    line-height: 1.1;
    letter-spacing: -0.03em;
    /* Tighter for modern look */
    margin-bottom: var(--space-2);
    position: relative;
    z-index: 2;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-5);
    /* Adjusted for mobile balance */
    transform: translateZ(0);
    /* Force compositing layer for the whole section */
}

.choose-card {
    background: var(--color-white);
    padding: var(--space-10) var(--space-5);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
}

.choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(30, 11, 77, 0.08);
}

.choose-icon {
    width: 100%;
    max-width: 180px;
    /* Much wider for detailed scenes like car racing */
    height: 120px;
    /* Taller to let the 3D graphics breathe */
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s ease;
    transform: translateZ(30px);
    /* Pull icon forward in 3D space */
}

.choose-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensures the whole 'race' scene is visible */
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.choose-card:hover .choose-icon {
    transform: scale(1.1) translateY(-5px);
}

/* Feature the 'Cost of Inaction' Card (3rd Child) */
.choose-card:nth-child(3) {
    border: 2px solid var(--color-gold);
    background: linear-gradient(to bottom, #ffffff, #fffdf8);
    position: relative;
    z-index: 5;
    transform: scale(1.02);
    /* Slightly larger default size */
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.15);
}

.choose-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: var(--space-4);
    transform: translateZ(20px);
    /* Pull text forward */
}

.choose-card-text {
    font-family: 'Outfit', sans-serif;
    font-size: var(--text-base);
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
    transform: translateZ(10px);
    /* Subtle depth */
}

.choose-card:nth-child(3)::before {
    content: 'CRITICAL';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold);
    color: var(--color-primary);
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

/* Match 'Cost of Inaction' graphic size to all other cards */
.choose-card:nth-child(3) .choose-img {
    transform: scale(1.0);
    image-rendering: -webkit-optimize-contrast;
}

/* Specific Card Styling for Branding Balance */
.choose-card:nth-child(even) .choose-icon {
    color: #D4AF37;
    /* Gold */
}

.choose-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: var(--space-4) auto 10px;
    /* Tighter 10px bottom margin */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: block;
    transform: translateZ(15px);
}

/* Hover/Tilt Depth */
.choose-card:hover {
    box-shadow: 0 25px 55px rgba(30, 11, 77, 0.12);
    z-index: 10;
}

/* Responsive Styling */
@media (max-width: 1200px) {
    .why-choose-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}