/* About Page - Core Values Section */

/* Core Values Section - Enhanced with dynamic elements */
.values-section {
    padding: 6rem 0;
    background-color: #121212;
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 15% 15%, rgba(100, 255, 218, 0.05) 0%, transparent 50%),
                radial-gradient(ellipse at 85% 85%, rgba(100, 255, 218, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.value-card {
    background-color: #121212;
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 4px;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.value-card:hover::before {
    transform: translateX(100%);
}

.value-icon {
    color: #64ffda;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.value-card:hover .value-icon {
    transform: translateY(-5px);
}

.value-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.value-short {
    color: #b8b8d0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.value-expand-btn {
    background-color: transparent;
    color: #64ffda;
    border: 1px solid #64ffda;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.value-expand-btn:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.1);
}

/* Modal for expanded view */
.value-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.value-detail-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #121212;
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 4px;
    padding: 3rem;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.value-detail-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #64ffda;
}

.modal-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.modal-title i {
    color: #64ffda;
    margin-right: 1rem;
    font-size: 2rem;
}

.modal-description {
    color: #d0d0e0;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.value-stats {
    display: flex;
    margin: 2rem 0;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #64ffda;
    margin-bottom: 0.5rem;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #64ffda;
    opacity: 0.5;
}

.stat-label {
    font-size: 1rem;
    color: #b8b8d0;
    font-weight: 500;
    margin-top: 0.5rem;
}

.value-example {
    background-color: rgba(100, 255, 218, 0.05);
    border-left: 3px solid #64ffda;
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 0 4px 4px 0;
}

.value-example h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.value-example p {
    font-size: 1rem;
    line-height: 1.8;
    color: #c5c5d6;
    margin-bottom: 0;
}

/* Dynamic grid adjustment for different screen sizes */
@media (min-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .value-card {
        min-height: 280px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .value-card {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .values-section .section-container {
        display: flex !important;
        flex-direction: column !important;
    }

    .values-section .section-header {
        order: -1 !important;
        margin-bottom: 2rem !important;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }
    
    .stat-number {
        margin-bottom: 0;
        font-size: 2rem;
    }
    
    .modal-content {
        padding: 2rem;
    }
    
    .modal-title {
        font-size: 2rem;
    }
} 