/* Основные стили для страницы тестов */
.tests-main {
    padding: 80px 0;
    background-color: var(--light);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text);
    font-size: 1.1rem;
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.test-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.test-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.test-card.coming-soon {
    opacity: 0.8;
}

.test-card-header {
    padding: 25px 25px 15px;
    position: relative;
}

.test-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.test-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.test-card-body {
    padding: 0 25px;
}

.test-card-body p {
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.test-stats {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #888;
}

.test-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.test-card-footer {
    padding: 20px 25px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.btn-test {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-test:hover {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(90, 140, 122, 0.3);
}

.btn-test:disabled {
    background: #ddd;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(255, 182, 193, 0.3);
}

 /* Подвал */
        footer {
            background: linear-gradient(135deg, var(--dark), #3c6b58);
            color: white;
            padding: 80px 0 30px;
            position: relative;
        }
        
       
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 50px;
            margin-bottom: 50px;
            position: relative;
            z-index: 1;
        }
        
        .footer-section h3 {
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 15px;
            font-size: 1.4rem;
        }
        
        .footer-section h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--secondary);
            border-radius: 3px;
        }
        
        .footer-section p, .footer-section li {
            margin-bottom: 15px;
            line-height: 1.7;
        }
        
        .footer-section ul {
            list-style: none;
        }
        
        .footer-section a {
            color: rgba(255,255,255,0.9);
            text-decoration: none;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .footer-section a:hover {
            color: var(--secondary);
            transform: translateX(5px);
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            width: 45px;
            height: 45px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }
        
        .social-links a:hover {
            background: var(--secondary);
            transform: translateY(-5px);
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.15);
            font-size: 0.9rem;
            color: rgba(255,255,255,0.7);
            position: relative;
            z-index: 1;
        }

/* Адаптивность */
@media (max-width: 768px) {
    .tests-grid {
        grid-template-columns: 1fr;
    }
    
    .test-card {
        max-width: 100%;
    }
}