/* CSS стили для секции "هزینه‌های وابستگی" */

/* Общие стили для секции */
.dependency-costs-section {
    padding: 7rem 0;
    background-color: #f8fafc;
    position: relative;
}

.dependency-costs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231e3a8a' fill-opacity='0.1'%3E%3Ccircle cx='2' cy='2' r='1'/%3E%3Ccircle cx='10' cy='10' r='1'/%3E%3Ccircle cx='18' cy='18' r='1'/%3E%3Ccircle cx='18' cy='2' r='1'/%3E%3Ccircle cx='2' cy='18' r='1'/%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.dependency-costs-section .section-title {
    color: #1E3A8A;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
}

.dependency-costs-section .section-subtitle {
    color: #FF6B18;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 500;
}

/* Стили для блоков содержимого */
.dependency-costs-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.dependency-block {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.dependency-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Стили для иконок */
.dependency-icon {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    transition: transform 0.3s ease;
}

.dependency-block:hover .dependency-icon {
    transform: scale(1.1);
}

/* Стили для заголовков */
.dependency-block h3 {
    color: #1E3A8A;
    font-size: 1.4rem;
    font-weight: bold;
    padding-top: 6rem;
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.dependency-block h3:after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    right: 0;
    width: 80px;
    height: 3px;
    background-color: #FF6B18;
}

/* Стили для текста */
.dependency-block p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 1rem;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .dependency-costs-content {
        flex-direction: column;
        align-items: center;
    }
    
    .dependency-block {
        width: 90%;
        max-width: 100%;
    }
}

/* Стили для секции с графиком */
.chart-section {
    margin-top: 4rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.chart-section h3 {
    color: #1E3A8A;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.chart-section p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

.chart-section img {
    max-width: 90%;
    height: auto;
    margin: 0 auto;
    display: block;
} 