/* ========================================
   How Can We Help Section - Modern & UX Friendly
   ======================================== */

.help-section {
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.section-header {
    animation: fadeInUp 0.8s ease;
}

.section-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1d20;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.section-description strong {
    color: #007bff;
    font-weight: 600;
}

/* Help Cards */
.help-card {
    position: relative;
    height: 100%;
    perspective: 1000px;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
}

.help-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    background: transparent;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
}

.help-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    z-index: 1;
    transition: all 0.3s ease;
}

.help-card:hover .help-card-inner {
    transform: translateY(-10px);
    border-color: #007bff;
    box-shadow: 0 15px 50px rgba(0, 123, 255, 0.5);
}

.help-card:hover .help-card-inner::before {
    background: rgba(0, 0, 0, 0.5);
}

/* Icon */
.help-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    z-index: 2;
}

.help-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid #007bff;
    opacity: 0;
    transition: all 0.4s ease;
}

.help-card:hover .help-icon {
    transform: scale(1.1) rotate(360deg);
}

.help-card:hover .help-icon::before {
    opacity: 1;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

.help-icon i {
    font-size: 45px;
    color: #fff;
    transition: all 0.4s ease;
}

.help-card:hover .help-icon i {
    transform: scale(1.1);
}

/* Title */
.help-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.help-card:hover .help-title {
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 123, 255, 0.9), 0 0 25px rgba(0, 123, 255, 0.8);
}

/* Description */
.help-description {
    font-size: 17px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
}

/* Hover Content */
.help-hover-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.help-card:hover .help-hover-content {
    opacity: 1;
    max-height: 300px;
}

.help-card:hover .help-description {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
}

/* Features List */
.help-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
}

.help-features li {
    padding: 8px 0;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 2;
}

.help-features li:hover {
    color: #fff;
    transform: translateX(5px);
}

.help-features li i {
    color: #fff;
    margin-right: 10px;
    font-size: 12px;
}

/* Button */
.help-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    position: relative;
    z-index: 2;
}

.help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 123, 255, 0.5);
    color: #fff;
}

/* Call to Action */
.help-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.help-cta-text {
    font-size: 20px;
    color: #1a1d20;
    font-weight: 600;
    margin-bottom: 20px;
}

.help-cta-btn {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.3);
}

.help-cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 35px rgba(40, 167, 69, 0.5);
    color: #fff;
}

.help-cta-btn i {
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Specific Colors */
.help-card:nth-child(1) .help-icon {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.help-card:nth-child(2) .help-icon {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.help-card:nth-child(3) .help-icon {
    background: linear-gradient(135deg, #fd7e14 0%, #e8590c 100%);
}

.help-card:nth-child(4) .help-icon {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
}

.help-card:nth-child(1):hover .help-icon::before {
    border-color: #007bff;
}

.help-card:nth-child(2):hover .help-icon::before {
    border-color: #17a2b8;
}

.help-card:nth-child(3):hover .help-icon::before {
    border-color: #fd7e14;
}

.help-card:nth-child(4):hover .help-icon::before {
    border-color: #6f42c1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 32px;
    }

    .section-description {
        font-size: 16px;
    }

    .help-card-inner {
        min-height: 300px;
        padding: 35px 25px;
    }

    .help-icon {
        width: 85px;
        height: 85px;
    }

    .help-icon i {
        font-size: 38px;
    }

    .help-title {
        font-size: 26px;
    }

    .help-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 15px;
    }

    .help-card {
        margin-bottom: 20px;
    }

    .help-card-inner {
        min-height: 280px;
        padding: 30px 20px;
    }

    .help-icon {
        width: 75px;
        height: 75px;
        margin-bottom: 20px;
    }

    .help-icon i {
        font-size: 32px;
    }

    .help-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .help-description {
        font-size: 16px;
    }

    .help-cta {
        padding: 30px 20px;
    }

    .help-cta-text {
        font-size: 18px;
    }

    .help-cta-btn {
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .section-badge {
        font-size: 12px;
        padding: 6px 18px;
    }

    .section-title {
        font-size: 24px;
    }

    .help-card-inner {
        min-height: 260px;
        padding: 25px 15px;
    }

    .help-icon {
        width: 65px;
        height: 65px;
    }

    .help-icon i {
        font-size: 28px;
    }

    .help-title {
        font-size: 22px;
    }

    .help-description {
        font-size: 15px;
    }

    .help-features li {
        font-size: 13px;
    }

    .help-btn {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/* Smooth Transitions for All Interactive Elements */
.help-card,
.help-card-inner,
.help-icon,
.help-icon i,
.help-title,
.help-description,
.help-hover-content,
.help-features li,
.help-btn,
.help-cta-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

/* GPU Acceleration for Smooth Performance */
.help-card-inner,
.help-icon {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Loading Animation */
.help-card {
    animation: cardFadeIn 0.6s ease forwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger Animation Delays */
.help-card:nth-child(1) {
    animation-delay: 0.1s;
}

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

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

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