/* Enhanced Premium Services Section Styles */
:root {
    --card-gradient: linear-gradient(135deg, rgba(255, 71, 87, 0.8) 0%, rgba(255, 107, 107, 0.8) 100%);
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 20px 40px rgba(255, 71, 87, 0.2);
    --badge-gradient: linear-gradient(135deg, #ff4757 0%, #ff6b6b 100%);
    --transition-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Section Header Animation */
.premium-services .section-header-advanced {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.premium-services .section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.premium-services .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--badge-gradient);
    border-radius: 4px;
}

.premium-services .section-subtitle {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.premium-services .section-subtitle-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--badge-gradient);
    color: white;
    font-weight: 700;
    font-size: 12px;
    border-radius: 30px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
    position: relative;
    overflow: hidden;
}

.premium-services .section-subtitle-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    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: rotate(30deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

/* Category Header */
.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--badge-gradient);
    border-radius: 3px;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Category Card */
.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.5s var(--transition-bounce), box-shadow 0.5s ease;
    position: relative;
    z-index: 1;
    padding: 20px;
    text-align: center;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.05) 0%, rgba(255, 107, 107, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--hover-shadow);
}

.category-card:hover::before {
    opacity: 1;
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: var(--badge-gradient);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.category-icon {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.5s var(--transition-bounce);
}

.category-card:hover .category-icon {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 71, 87, 0.2);
}

.category-icon img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-icon img {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    transition: color 0.3s ease;
}

.category-card:hover h3 {
    color: var(--primary-color);
}

.category-features {
    margin-bottom: 20px;
    text-align: left;
}

.category-features span {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.category-card:hover .category-features span {
    transform: translateX(5px);
    color: #333;
}

.category-features i {
    color: var(--primary-color);
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.category-card:hover .category-features i {
    transform: scale(1.2);
}

.category-price {
    margin-bottom: 20px;
    position: relative;
}

.category-price::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #ff6b6b 100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.category-card:hover .category-price::before {
    width: 60px;
    opacity: 1;
}

.price-from {
    font-size: 12px;
    color: #888;
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.price-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.category-card:hover .price-value {
    transform: scale(1.1);
    color: #ff4757;
}

.price-period {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-card:hover .price-from,
.category-card:hover .price-period {
    color: #444;
}

.category-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
    color: white;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.4s var(--transition-bounce);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.2);
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b6b 0%, var(--primary-color) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.4);
    color: white;
}

.category-btn:hover::before {
    opacity: 1;
}

.category-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
    position: relative;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    background: rgba(255, 71, 87, 0.08);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.4s var(--transition-bounce);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.view-all-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
    z-index: -1;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.view-all-btn:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.2);
    border-color: transparent;
}

.view-all-btn:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

.view-all-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.2);
}

/* Animation for elements */
.premium-services .animate-in {
    animation: fadeInUp 0.6s var(--transition-bounce) forwards;
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .premium-services .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .category-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .category-icon {
        margin-bottom: 12px;
    }
    
    .category-icon img {
        width: 90px;
        height: 90px;
    }
    
    .premium-services .section-title {
        font-size: 22px;
        margin-bottom: 5px;
    }
    
    .premium-services .section-header-advanced {
        margin-bottom: 30px;
    }
    
    .section-subtitle-badge {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }
    
    .premium-services .section-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .category-card {
        padding: 15px;
    }
    
    .category-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .category-features {
        margin-bottom: 15px;
    }
    
    .category-features span {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .category-price {
        margin-bottom: 15px;
    }
    
    .price-value {
        font-size: 24px;
    }
    
    .price-period {
        font-size: 12px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .premium-services .section-subtitle {
        font-size: 13px;
    }
    
    .category-card {
        padding: 12px;
    }
    
    .category-icon img {
        width: 80px;
        height: 80px;
    }
    
    .category-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .category-features span {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .price-value {
        font-size: 20px;
    }
    
    .category-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .category-badge {
        padding: 4px 8px;
        font-size: 9px;
        top: 10px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
