/* Values Section */
.values-section {
    position: relative;
    background: var(--bg-color);
    overflow: hidden;
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8faff 0%, #f1f7ff 100%);
}

[data-theme="dark"] .values-section {
    background: linear-gradient(135deg, #0a0f1a 0%, #0e1523 100%);
}

.values-section .particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.values-section .container {
    position: relative;
    z-index: 1;
}

.values-section .section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.values-section .section-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.values-section .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Service Cards */
.services-categories {
    margin-top: 2rem;
}

.service-category {
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 119, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.03) 0%, rgba(0, 242, 254, 0.03) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.service-card .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(58, 134, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    box-shadow: 0 15px 30px rgba(58, 134, 255, 0.4);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.6rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    position: relative;
    padding-bottom: 2px;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}

.read-more i {
    margin-left: 0.8rem;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--secondary);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 991px) {
    .values-section {
        padding: 6rem 0;
    }
    
    .service-card {
        padding: 2.5rem 2rem;
    }
    
    .values-section .section-header {
        margin-bottom: 4rem;
    }
}

@media (max-width: 767px) {
    .values-section .section-title {
        font-size: 2.5rem;
    }
    
    .values-section .section-subtitle {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2.5rem;
    }
}

/* Dark Mode Styles */
[data-theme="dark"] .service-card {
    background: rgba(30, 35, 45, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .service-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .service-card p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .service-card::before {
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.05) 0%, rgba(0, 242, 254, 0.05) 100%);
}

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

.service-card {
    animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
