/* Hero Section */
.hero-slide {
    position: relative;
    height: 250px;
    border-radius: 0 0 30px 30px;
    overflow: hidden;
    margin-bottom: 20px;
}

.hero-content {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: white;
    animation: slideUp 1s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.stat-item {
    background: white;
    border-radius: 15px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: white;
    font-size: 20px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

/* Service Card */
.service-card {
    background: var(--gradient-primary);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-img img {
    width: 80px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.category-item {
    background: white;
    border-radius: 12px;
    padding: 12px 5px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.category-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

.category-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 8px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    transform: rotate(10deg) scale(1.1);
    background: var(--gradient-primary);
}

.category-item:hover .category-icon i {
    color: white;
}

.category-icon i {
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.category-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.category-name {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

/* Feature Card */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 15px 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.feature-card .card {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: none;
    transition: all 0.3s ease;
}

.feature-card .card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.feature-card .card i {
    font-size: 38px;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: var(--primary-color);
}

/* Section Title */
.section-title {
    font-size: 20px;
    font-weight: bold;
    margin: 25px 0 15px;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background: var(--gradient-primary);
    border-radius: 5px;
}

/* Info Card */
.info-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.info-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* CTA Card */
.cta-card {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 30px 20px;
    margin: 20px 0;
    color: white;
    text-align: center;
}

.cta-card h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.cta-card p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-card .btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-card .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Badge */
.badge-layanan {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stats-grid {
        gap: 5px;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 10px;
    }
}