/* ========================================
   Modern Pricing Boxes Styles - Black Theme
   ======================================== */

.pricing_boxes_section {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing_boxes_section h5 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.pricing_boxes_section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1a1a1a 0%, #4a4a4a 100%);
    border-radius: 2px;
}

.pricing_boxes_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pricing_box {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing_box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.03) 0%, rgba(74, 74, 74, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.pricing_box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 26, 26, 0.15);
    border-color: #1a1a1a;
}

.pricing_box:hover::before {
    opacity: 1;
}

.pricing_box_left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.pricing_icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.25);
    transition: transform 0.3s ease;
}

.pricing_box:hover .pricing_icon {
    transform: scale(1.1) rotate(5deg);
}

.pricing_icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.pricing_info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pricing_title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing_amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.pricing_box_right {
    position: relative;
    z-index: 1;
}

.pricing_book_btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    color: #ffffff !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.25);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.pricing_book_btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: #ffffff !important;
}

.pricing_book_btn span {
    color: #ffffff !important;
}

.pricing_book_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 26, 26, 0.35);
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #ffffff !important;
}

.pricing_book_btn:hover span,
.pricing_book_btn:hover i {
    color: #ffffff !important;
}

.pricing_book_btn:hover i {
    transform: scale(1.1);
}

.pricing_book_btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(26, 26, 26, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing_boxes_grid {
        grid-template-columns: 1fr;
    }
    
    .pricing_box {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    
    .pricing_box_left {
        width: 100%;
    }
    
    .pricing_box_right {
        width: 100%;
    }
    
    .pricing_book_btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .pricing_boxes_section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .pricing_boxes_section h5 {
        font-size: 1.5rem;
    }
    
    .pricing_amount {
        font-size: 1.25rem;
    }
    
    .pricing_icon {
        width: 45px;
        height: 45px;
    }
    
    .pricing_icon i {
        font-size: 1.25rem;
    }
}

/* Animation for when boxes appear */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing_box {
    animation: fadeInUp 0.5s ease-out forwards;
}

.pricing_box:nth-child(1) {
    animation-delay: 0.1s;
}

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

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

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