* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: #2c3e50;
    padding: 15px 0;
    color: white;
}

header h1 {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: white;
}

nav a.active {
    color: white;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2c3e50, #4CAF50);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
}

.categories-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 32px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.category-icon i {
    font-size: 30px;
    color: #4CAF50;
}

.category-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 20px;
}

.category-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.test-count {
    display: inline-block;
    padding: 5px 15px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

/* Popular Tests Section */
.popular-tests {
    padding: 60px 0;
    background: #fff;
}

.popular-tests h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 32px;
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.test-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.test-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.test-icon {
    width: 50px;
    height: 50px;
    background: #e8f5e9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #4CAF50;
}

.test-info {
    flex: 1;
}

.test-info h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 18px;
}

.difficulty {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.difficulty.beginner {
    background: #e8f5e9;
    color: #4CAF50;
}

.difficulty.intermediate {
    background: #fff3e0;
    color: #ff9800;
}

.difficulty.advanced {
    background: #ffebee;
    color: #f44336;
}

.test-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.test-details .detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.test-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.start-test-btn {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.start-test-btn:hover {
    background: #45a049;
}

/* Benefits Section */
.benefits-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.benefits-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 32px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
}

.benefit-card i {
    font-size: 40px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
}

.benefit-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Test Actions */
.test-actions .action-btn.preview {
    color: #4CAF50;
    border-color: #4CAF50;
}

.test-actions .action-btn.preview:hover {
    background: #e8f5e9;
}

.test-actions .action-btn.edit {
    color: #4CAF50;
    border-color: #4CAF50;
}

.test-actions .action-btn.edit:hover {
    background: #e8f5e9;
}

.test-actions .action-btn.stats {
    color: #4CAF50;
    border-color: #4CAF50;
}

.test-actions .action-btn.stats:hover {
    background: #e8f5e9;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-wrap: wrap;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .test-details {
        grid-template-columns: 1fr;
    }

    .categories-grid,
    .tests-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
} 