* {
    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%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(-50px); }
    100% { transform: translateX(50px); }
}

.header-content {
    position: relative;
    z-index: 1;
}

.header h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.header h2 {
    font-size: 1.8em;
    opacity: 0.9;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2em;
    opacity: 0.8;
}

.student-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.student-details {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1em;
}

.detail-item i {
    font-size: 1.2em;
}

.status-badge {
    background: #27ae60;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1em;
}

.navigation {
    padding: 40px;
}

.nav-title {
    color: #2c3e50;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 4px solid #3498db;
    padding-bottom: 15px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.nav-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #e74c3c;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.document-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.document-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.6s ease;
}

.document-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    border-color: #3498db;
}

.document-card:hover::before {
    left: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.document-card:hover .card-icon {
    transform: rotate(5deg) scale(1.1);
}

.icon-html { background: linear-gradient(135deg, #3498db, #2980b9); }
.icon-main { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.icon-list { background: linear-gradient(135deg, #f39c12, #e67e22); }
.icon-table { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.icon-lab { background: linear-gradient(135deg, #1abc9c, #16a085); }

.card-title {
    color: #2c3e50;
    font-size: 1.4em;
    font-weight: bold;
    margin: 0;
}

.card-description {
    color: #7f8c8d;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-features {
    margin-bottom: 25px;
}

.card-features h4 {
    color: #34495e;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    color: #7f8c8d;
    margin: 5px 0;
    padding-left: 20px;
    position: relative;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.card-link {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    font-size: 0.95em;
}

.card-link:hover {
    background: linear-gradient(135deg, #2980b9, #1c598a);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
}

.card-link:active {
    transform: translateY(-1px);
}

.stats-section {
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    padding: 30px 40px;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
    display: block;
    animation: countUp 2s ease-out;
}

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

.stat-label {
    color: #7f8c8d;
    font-size: 1em;
    font-weight: 500;
}

.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 30px 40px;
    text-align: center;
}

.footer p {
    opacity: 0.9;
    margin: 8px 0;
    font-size: 1em;
}

.footer p:first-child {
    font-size: 1.2em;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    body { padding: 10px; }
    .header h1 { font-size: 2.2em; }
    .header h2 { font-size: 1.3em; }
    .header p { font-size: 1em; }
    .student-details { justify-content: center; }
    .documents-grid { 
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .navigation { padding: 30px 20px; }
    .nav-title { font-size: 2em; }
}

@media (max-width: 480px) {
    .header h1 { font-size: 1.8em; }
    .stat-number { font-size: 2em; }
    .stats-grid { grid-template-columns: 1fr; }
}
