/* Biology Exam Application Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    text-align: center;
    color: white;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease-out;
}

.main-title {
    font-size: 3rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.main-title i {
    font-size: 2.5rem;
    color: #ffd700;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Exam Cards Grid */
.exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.exam-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.exam-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.exam-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.exam-icon i {
    font-size: 2.5rem;
    color: white;
}

.exam-info {
    flex: 1;
}

.exam-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.exam-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.exam-meta {
    display: flex;
    gap: 20px;
}

.exam-questions,
.exam-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #764ba2;
    font-weight: 600;
}

.exam-questions i,
.exam-time i {
    font-size: 0.9rem;
}

.exam-arrow {
    color: #667eea;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.exam-card:hover .exam-arrow {
    transform: translateX(-5px);
}

/* Footer */
.footer {
    text-align: center;
    color: white;
    padding: 20px;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .exams-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .exam-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .exam-arrow {
        display: none;
    }
    
    .exam-meta {
        justify-content: center;
    }
}
