/* ===================================
   Home Cards Section Styles
   ================================== */

/* Benefits & Reasons Cards Container */
.benefits-cards-container,
.reasons-cards-container {
    margin-top: 3rem;
}

/* Cards Grid */
.benefits-grid,
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Individual Benefit/Reason Card */
.benefit-card,
.reason-card {
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 2px solid #f8f9fa;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card::before,
.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #183544 0%, #e1c126 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.benefit-card:hover::before,
.reason-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover,
.reason-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(24, 53, 68, 0.15);
    border-color: #e1c126;
    background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
}

/* Card Icon */
.card-icon {
    font-size: 2.5rem;
    color: #183544;
    margin-bottom: 1.25rem;
    transition: all 0.4s ease;
    display: inline-block;
}

.benefit-card:hover .card-icon,
.reason-card:hover .card-icon {
    color: #e1c126;
    transform: scale(1.15) rotateY(360deg);
}

/* Card Title */
.card-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #183544;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Card Description */
.card-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #54565a;
    line-height: 1.7;
    margin: 0;
}

/* Fade-in animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger effect for cards */
.benefit-card:nth-child(1),
.reason-card:nth-child(1) {
    transition-delay: 0.1s;
}

.benefit-card:nth-child(2),
.reason-card:nth-child(2) {
    transition-delay: 0.2s;
}

.benefit-card:nth-child(3),
.reason-card:nth-child(3) {
    transition-delay: 0.3s;
}

.benefit-card:nth-child(4),
.reason-card:nth-child(4) {
    transition-delay: 0.4s;
}

.benefit-card:nth-child(5),
.reason-card:nth-child(5) {
    transition-delay: 0.5s;
}

.benefit-card:nth-child(6),
.reason-card:nth-child(6) {
    transition-delay: 0.6s;
}

.benefit-card:nth-child(7),
.reason-card:nth-child(7) {
    transition-delay: 0.7s;
}

/* Section Headers */
.section-header-with-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Secondary CTAs */
.section-cta {
    margin-top: 3rem;
    text-align: center;
}

.btn-section-cta {
    background-color: transparent;
    border: 2px solid #183544;
    color: #183544;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-section-cta:hover {
    background-color: #183544;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 53, 68, 0.3);
    text-decoration: none;
}

.btn-section-cta i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-section-cta:hover i {
    transform: translateX(5px);
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-sticky-cta {
    background: linear-gradient(135deg, #e1c126 0%, #d4b320 100%);
    color: #183544;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    box-shadow: 0 8px 25px rgba(225, 193, 38, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-sticky-cta:hover {
    background: linear-gradient(135deg, #183544 0%, #2a5166 100%);
    color: #e1c126;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(24, 53, 68, 0.5);
    text-decoration: none;
}

.btn-sticky-cta i {
    font-size: 1.2rem;
}

/* Pulse animation for sticky CTA */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(225, 193, 38, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(225, 193, 38, 0.7);
    }
}

.btn-sticky-cta {
    animation: pulse 2s infinite;
}

.btn-sticky-cta:hover {
    animation: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .benefits-grid,
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .card-icon {
        font-size: 2.25rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .benefits-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .benefit-card,
    .reason-card {
        padding: 1.75rem 1.25rem;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .section-cta {
        margin-top: 2rem;
    }
    
    /* Hide sticky CTA on mobile */
    .sticky-cta {
        display: none;
    }
}

@media (max-width: 576px) {
    .benefit-card,
    .reason-card {
        padding: 1.5rem 1rem;
    }
    
    .card-title {
        font-size: 0.95rem;
    }
    
    .card-description {
        font-size: 0.875rem;
    }
    
    .btn-section-cta {
        width: 100%;
        max-width: 300px;
    }
}

/* Loading state for cards */
.benefit-card.loading,
.reason-card.loading {
    animation: cardShimmer 1.5s infinite;
}

@keyframes cardShimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}
