<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([
      'up_title' => 'CURRENT RATES',
'title' => config('app.name') . ' Member Care',
    'subtitle' => 'Competitive rates designed to help your money grow with confidence.',
    'rates' => [],
    'ptTop' => '',
]));

foreach ($attributes->all() as $__key => $__value) {
    if (in_array($__key, $__propNames)) {
        $$__key = $$__key ?? $__value;
    } else {
        $__newAttributes[$__key] = $__value;
    }
}

$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);

unset($__propNames);
unset($__newAttributes);

foreach (array_filter(([
      'up_title' => 'CURRENT RATES',
'title' => config('app.name') . ' Member Care',
    'subtitle' => 'Competitive rates designed to help your money grow with confidence.',
    'rates' => [],
    'ptTop' => '',
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
}

$__defined_vars = get_defined_vars();

foreach ($attributes->all() as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
}

unset($__defined_vars, $__key, $__value); ?>

<section <?php echo e($attributes->merge(['class' => 'relative py-8 ' . $ptTop . ' bg-gray-50 dark:bg-gray-950 font-sans border-t border-gray-200 dark:border-gray-800'])); ?>>
    
    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 fade-in-up">

        <!-- Section Header -->
        <div class="text-center mb-16">
            <p class="text-sm font-semibold tracking-wide text-primary-600 dark:text-primary-400 mb-4">
                <?php echo e($up_title); ?>

            </p>

            <h2 class="text-3xl sm:text-4xl lg:text-5xl font-semibold tracking-tight text-gray-900 dark:text-white mb-4">
                <?php echo e($title); ?>

            </h2>

            <p class="text-lg text-gray-600 dark:text-gray-400 max-w-2xl mx-auto">
                <?php echo e($subtitle); ?>

            </p>
        </div>

        <!-- Rates Container -->
        <div class="bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-800 rounded-xl overflow-hidden">

            <!-- Accent Line -->
            <div class="h-1 bg-primary-600 w-full"></div>

            <div class="grid sm:grid-cols-2 lg:grid-cols-<?php echo e(count($rates)); ?>">

                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $rates; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $index => $rate): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoop($loop->index); ?><?php endif; ?>
                    <div class="p-10 text-center
                        <?php if($index !== count($rates) - 1): ?>
                            border-b lg:border-b-0 lg:border-r border-gray-200 dark:border-gray-800
                        <?php endif; ?>">

                        <div class="w-14 h-14 mx-auto mb-6 flex items-center justify-center 
                                    rounded-lg bg-primary-50 dark:bg-primary-900/30 
                                    text-primary-600 dark:text-primary-400">
                            <?php if (isset($component)) { $__componentOriginalc7d5f44bf2a2d803ed0b55f72f1f82e2 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc7d5f44bf2a2d803ed0b55f72f1f82e2 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'e60dd9d2c3a62d619c9acb38f20d5aa5::icon.index','data' => ['name' => $rate['icon'],'class' => 'w-5 h-5']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('flux::icon'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['name' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($rate['icon']),'class' => 'w-5 h-5']); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc7d5f44bf2a2d803ed0b55f72f1f82e2)): ?>
<?php $attributes = $__attributesOriginalc7d5f44bf2a2d803ed0b55f72f1f82e2; ?>
<?php unset($__attributesOriginalc7d5f44bf2a2d803ed0b55f72f1f82e2); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc7d5f44bf2a2d803ed0b55f72f1f82e2)): ?>
<?php $component = $__componentOriginalc7d5f44bf2a2d803ed0b55f72f1f82e2; ?>
<?php unset($__componentOriginalc7d5f44bf2a2d803ed0b55f72f1f82e2); ?>
<?php endif; ?>
                        </div>

                        <p class="text-sm font-medium text-gray-500 dark:text-gray-400 tracking-wide mb-3">
                            <?php echo e($rate['label']); ?>

                        </p>

                        <p class="text-4xl font-semibold tracking-tight text-gray-900 dark:text-white">
                            <?php echo e($rate['value']); ?>

                        </p>

                        <p class="text-sm text-gray-500 dark:text-gray-400 mt-2">
                            <?php echo e($rate['type']); ?>

                        </p>
                    </div>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>

            </div>
        </div>

        <!-- Disclaimer -->
        <div class="text-center mt-8">
            <p class="text-sm text-gray-500 dark:text-gray-400">
                *Annual Percentage Yield. Rates subject to change. Terms and conditions apply.
            </p>
        </div>

    </div>
</section>
<?php /**PATH /Users/macuser/Herd/Novabank/resources/views/components/rates-section.blade.php ENDPATH**/ ?>