/* Основной контейнер */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Заголовок */
.main_header {
    font-size: large;
    text-align: center;
    margin-bottom: 40px;
}

.main_header h1 span {
    color: #003C09;
}

/* Grid контейнер для карточек */
.main-card-about {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Стили для карточек */
.card-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-box__icon {
    margin-bottom: 15px;
}

.card-box__icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.box-info-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #003C09;
}

.box-info-text {
    font-size: 16px;
    line-height: 1.6;
    color: #001f05;
}

.box-info-text a {
    font-weight: bold;
    color: #003C09;
    text-decoration: none;
}

.box-info-text a:hover {
    text-decoration: underline;
}

/* Адаптация для планшетов (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .main-card-about {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Адаптация для мобильных устройств (до 768px) */
@media screen and (max-width: 768px) {
    .main-container {
        padding: 15px;
    }
    
    .main_header h1 {
        font-size: 24px;
    }
    
    .main-card-about {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-box {
        padding: 20px;
    }
    
    .card-box__icon img {
        width: 40px;
        height: 40px;
    }
    
    .box-info-title {
        font-size: 18px;
    }
    
    .box-info-text {
        font-size: 13px;
    }
}

/* Дополнительная адаптация для очень маленьких экранов (до 480px) */
@media screen and (max-width: 480px) {
    .main-container {
        padding: 10px;
    }
    
    .main_header h1 {
        font-size: 20px;
    }
    
    .card-box {
        padding: 15px;
    }
    
    .box-info-title {
        font-size: 16px;
    }
    
    .box-info-text {
        font-size: 12px;
    }
}