/* ========================================
   Values Section - Metasoft Solutions
   ======================================== */

.values {
    position: relative;
    padding: 3rem 0;
    background: linear-gradient(to bottom, rgba(35, 66, 95, 0.1), var(--bg-dark));
    overflow: hidden;
}

@media (min-width: 768px) {
    .values {
        padding: 8rem 0;
    }
}

.values-wrapper {
    max-width: 72rem;
    margin: 0 auto;
}

/* Section Header */
.values-header {
    text-align: center;
    margin-bottom: 4rem;
}

.values-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(35, 66, 95, 0.5);
    border: 1px solid rgba(26, 107, 194, 0.3);
    border-radius: var(--border-radius-full);
    margin-bottom: 1.5rem;
}

.values-badge span {
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.values-header h2 {
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.values-intro {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-muted);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.75;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Value Card */
.value-card {
    background-color: rgba(35, 66, 95, 0.2);
    border: 1px solid rgba(26, 107, 194, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(26, 107, 194, 0.5);
    background-color: rgba(35, 66, 95, 0.3);
}

/* Value Icon */
.value-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to bottom right, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition-base);
}

.value-card:hover .value-icon {
    transform: rotate(360deg) scale(1.1);
}

.value-icon svg {
    color: var(--text-light);
}

/* Value Content */
.value-card h3 {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.75;
}

/* Differentiators Section */
.values-differentiators {
    background: linear-gradient(to bottom right, rgba(35, 66, 95, 0.3), rgba(26, 107, 194, 0.05));
    border: 1px solid rgba(26, 107, 194, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 5rem;
    transition: var(--transition-base);
}

@media (min-width: 768px) {
    .values-differentiators {
        padding: 3rem;
    }
}

.values-differentiators:hover {
    transform: scale(1.01);
}

/* Differentiators Header */
.differentiators-header {
    text-align: center;
    margin-bottom: 3rem;
}

.differentiators-header h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    color: var(--text-light);
    margin-bottom: 1rem;
}

.differentiators-header p {
    color: var(--text-muted);
    max-width: 42rem;
    margin: 0 auto;
}

/* Differentiators Grid */
.differentiators-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .differentiators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Differentiator Item */
.differentiator-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(2, 8, 20, 0.5);
    border: 1px solid rgba(26, 107, 194, 0.1);
    border-radius: 0.75rem;
    transition: var(--transition-base);
}

.differentiator-item:hover {
    transform: translateX(8px) scale(1.02);
    border-color: rgba(26, 107, 194, 0.3);
}

.differentiator-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(to bottom right, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.differentiator-icon svg {
    color: var(--text-light);
}

.differentiator-content h4 {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.differentiator-content p {
    color: var(--text-muted);
    line-height: 1.75;
}

/* Impact Metrics */
.values-metrics {
    margin-top: 5rem;
}

.metrics-header {
    text-align: center;
    margin-bottom: 3rem;
}

.metrics-header h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    color: var(--text-light);
    margin-bottom: 1rem;
}

.metrics-header p {
    color: var(--text-muted);
    max-width: 42rem;
    margin: 0 auto;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Metric Card */
.metric-card {
    background-color: rgba(35, 66, 95, 0.2);
    border: 1px solid rgba(26, 107, 194, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-base);
}

.metric-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(26, 107, 194, 0.5);
}

.metric-value {
    font-size: 1.875rem;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.metric-card p {
    color: var(--text-muted);
}
