/* Services Grid Styles */
.services-grid-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
}
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    background: rgba(30, 30, 40, 0.75);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.22);
    border: 2.5px solid rgba(255,215,0,0.22);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.service-card.premium-card {
    border: 2.5px solid #FFD700;
    background: linear-gradient(135deg, rgba(24,24,28,0.98) 80%, rgba(255,215,0,0.08) 100%);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 2px #FFD700;
}

.service-card .card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card .card-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 1.5rem 1.5rem 0 0;
}

.service-card .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card .card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.75rem;
    text-align: center;
}

.service-card p {
    color: #f3f3f3;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 90%;
        margin: 0 auto;
        gap: 1.5rem;
    }

    .service-card {
        margin: 0 auto;
        width: 100%;
    }

    .service-card .card-content {
        padding: 1.25rem;
    }
    
    .service-card .card-image-wrapper {
        height: 160px;
    }
}
