.footer{background-color:#fffdf8;padding:50px 0}.footer-container{max-width:1200px;margin:0 auto;padding:0 20px;display:grid;grid-template-columns:repeat(4,1fr);gap:40px}.footer-section h2.logo{color:#2c5cff;margin-bottom:10px}.footer-section h3{margin-bottom:15px}.footer-section p{font-size:14px;margin:6px 0}.footer-section ul{list-style:none;padding:0}.footer-section ul li{margin:8px 0}.footer-section ul li a{text-decoration:none;color:#333}.footer-section ul li a:hover{color:#2c5cff}.social-icons{margin-top:10px}.social-icons a{margin-right:10px;font-size:18px;color:#333}.social-icons a:hover{color:#2c5cff}.map{width:100%;height:180px;border:none;border-radius:8px}.footer-bottom{text-align:center;margin-top:30px;padding-top:15px;border-top:1px solid #ccc;font-size:14px}@media (max-width: 768px){.footer-container{grid-template-columns:1fr}}.admin-exam-page{width:100%;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem 1rem}.exam-container{max-width:1200px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 10px 40px #00000026;overflow:hidden}.sub-nav{display:flex;gap:1rem;padding:1rem;background:#f8f9fa;border-bottom:1px solid #e9ecef;flex-wrap:wrap}.nav-btn{padding:.75rem 1.5rem;background:#fff;border:2px solid #e9ecef;border-radius:6px;cursor:pointer;font-weight:600;transition:all .3s ease;color:#495057}.nav-btn:hover{border-color:#667eea;color:#667eea}.nav-btn.active{background:#667eea;border-color:#667eea;color:#fff}.nav-btn.close-btn{margin-left:auto;background:#fee;border-color:#f88;color:#c33}.nav-btn.close-btn:hover{background:#f88;color:#fff}.section-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e9ecef;flex-wrap:wrap;gap:1rem}.section-header h2{margin:0;color:#333}.exams-section,.exam-details-section,.questions-section,.enrollments-section,.submissions-section{padding:2rem}.exams-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem;margin-top:1.5rem}.exam-card{background:#fff;border:1px solid #e9ecef;border-radius:8px;overflow:hidden;transition:all .3s ease;box-shadow:0 2px 8px #0000001a}.exam-card:hover{box-shadow:0 8px 20px #667eea33;transform:translateY(-4px)}.exam-card-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem;display:flex;justify-content:space-between;align-items:start}.exam-card-header h3{margin:0;flex:1}.exam-card-body{padding:1.5rem;color:#555;font-size:.95rem;border-bottom:1px solid #e9ecef}.exam-card-body p{margin:.75rem 0;line-height:1.5}.exam-card-actions{padding:1rem;display:flex;gap:.75rem;flex-wrap:wrap}.exam-card-actions .btn{flex:1;min-width:100px}.form-container{background:#f8f9fa;padding:2rem;border-radius:8px;margin-top:1.5rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#333}.form-group input,.form-group textarea,.form-group select{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:6px;font-family:inherit;font-size:.95rem;transition:border-color .3s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:2rem;border-top:1px solid #ddd}.options-container{background:#fff;padding:1.5rem;border-radius:6px;margin-bottom:1.5rem}.options-container label{display:block;margin-bottom:1rem;font-weight:600}.option-input{display:flex;gap:.5rem;margin-bottom:.75rem}.option-input input{flex:1}.exam-info{background:#f8f9fa;padding:2rem;border-radius:8px}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.info-item{background:#fff;padding:1.5rem;border-radius:6px;border-left:4px solid #667eea}.info-item strong{color:#667eea;display:block;margin-bottom:.5rem}.info-item p{margin:0;color:#555}.questions-list{margin-top:1.5rem}.question-item{background:#fff;border:1px solid #e9ecef;padding:1.5rem;margin-bottom:1rem;border-radius:6px;border-left:4px solid #667eea}.question-header{display:flex;justify-content:space-between;align-items:start;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}.question-header h4{margin:0;flex:1;color:#333}.difficulty-badge,.marks-badge{padding:.4rem .8rem;border-radius:20px;font-size:.85rem;font-weight:600;white-space:nowrap}.difficulty-badge{background:#fff3cd;color:#856404}.marks-badge{background:#d1ecf1;color:#0c5460}.options-list{background:#f8f9fa;padding:1rem;border-radius:6px;margin-bottom:1rem}.option-item{padding:.5rem 0;color:#555}.question-meta{padding:1rem;background:#fffacd;border-radius:6px;margin-bottom:1rem;font-weight:500}.enrollments-table,.submissions-table{width:100%;margin-top:1.5rem;overflow-x:auto}table{width:100%;border-collapse:collapse;background:#fff}table thead{background:#f8f9fa;border-bottom:2px solid #667eea}table th{padding:1rem;text-align:left;font-weight:600;color:#333}table td{padding:1rem;border-bottom:1px solid #e9ecef}table tbody tr:hover{background:#f8f9fa}.no-data{text-align:center;padding:3rem 1rem;color:#999;font-size:1.1rem}.btn-secondary:hover{background:#5a6268}.btn-danger{background:#dc3545;color:#fff}.btn-danger:hover{background:#c82333}.btn-info{background:#17a2b8;color:#fff}.btn-info:hover{background:#138496}.btn-sm{padding:.5rem 1rem;font-size:.85rem}.status-badge{padding:.5rem 1rem;border-radius:20px;font-size:.85rem;font-weight:600;display:inline-block;white-space:nowrap}.status-draft{background:#e2e3e5;color:#383d41}.status-scheduled{background:#cce5ff;color:#004085}.status-active{background:#d4edda;color:#155724}.status-completed{background:#d1ecf1;color:#0c5460}.status-cancelled{background:#f8d7da;color:#721c24}.status-pending{background:#fff3cd;color:#856404}.status-enrolled{background:#d4edda;color:#155724}.status-inprogress{background:#fff3cd;color:#856404}.status-submitted{background:#cce5ff;color:#004085}.status-evaluated{background:#d1ecf1;color:#0c5460}.students-list{border:1px solid #ddd;border-radius:8px;max-height:300px;overflow-y:auto;padding:10px;background:#f9f9f9}.student-checkbox{display:flex;align-items:center;padding:10px;border-bottom:1px solid #eee;cursor:pointer}.student-checkbox:last-child{border-bottom:none}.student-checkbox input[type=checkbox]{margin-right:10px;cursor:pointer;width:18px;height:18px}.student-checkbox label{cursor:pointer;margin:0;flex:1;display:flex;align-items:center}.student-checkbox:hover{background:#f0f0f0}@media (max-width: 768px){.exam-container{margin:0;border-radius:0}.page-header{padding:1.5rem 1rem}.page-header h1{font-size:1.5rem}.exams-grid{grid-template-columns:1fr;gap:1rem}.form-row{grid-template-columns:1fr}.sub-nav{overflow-x:auto;padding-bottom:1rem}.form-actions,.exam-card-actions{flex-direction:column}.exam-card-actions .btn{width:100%}table{font-size:.85rem}table th,table td{padding:.75rem .5rem}}.exam-page{width:100%;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:1rem}.instructions-container{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:1rem}.instructions-card{background:#fff;border-radius:12px;padding:3rem;max-width:600px;width:100%;box-shadow:0 10px 40px #0003}.instructions-card h1{text-align:center;color:#333;margin-bottom:2rem;font-size:2rem}.exam-metadata{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:2rem;padding:1.5rem;background:#f8f9fa;border-radius:8px}.metadata-item{display:flex;flex-direction:column;gap:.5rem;padding:1rem;background:#fff;border-radius:6px;border-left:4px solid #667eea}.metadata-item .label{font-weight:600;color:#667eea;font-size:.85rem}.metadata-item .value{font-size:1.5rem;color:#333;font-weight:700}.instructions-box{background:#fff9e6;border-left:4px solid #ffc107;padding:1.5rem;border-radius:6px;margin-bottom:2rem}.instructions-box h3{margin-top:0;color:#856404}.instructions-box p{color:#856404;line-height:1.6;margin-bottom:1rem}.instructions-box ul{margin:1rem 0;padding-left:1.5rem;color:#856404;line-height:1.8}.instructions-box li{margin-bottom:.5rem}.instructions-actions{display:flex;gap:1rem;justify-content:center}.instructions-actions .btn{padding:1rem 2rem;font-size:1rem;min-width:150px}.exam-container{max-width:1400px;margin:0 auto;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 10px 40px #0003;display:flex;flex-direction:column}.timer-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem;display:flex;justify-content:space-between;align-items:center;gap:2rem;border-bottom:4px solid #667eea;flex-wrap:wrap}.timer-info{display:flex;flex-direction:column;gap:.5rem;align-items:center}.timer-label{font-size:.85rem;font-weight:600;opacity:.9}.timer-value{font-size:1.5rem;font-weight:700;font-family:Courier New,monospace;letter-spacing:2px}.exam-title{flex:1;text-align:center;font-size:1.2rem;font-weight:600}.question-counter{font-size:.95rem;font-weight:600;background:#fff3;padding:.5rem 1rem;border-radius:20px}.exam-content{display:grid;grid-template-columns:200px 1fr;flex:1;height:100%;min-height:calc(100vh - 150px)}.questions-panel{background:#f8f9fa;border-right:1px solid #e9ecef;padding:1.5rem;overflow-y:auto;max-height:calc(100vh - 150px)}.questions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:2px solid #e9ecef}.questions-header h3{margin:0;color:#333}.question-counter-small{font-size:.85rem;color:#666;font-weight:600}.questions-list{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}.question-btn{position:relative;width:100%;aspect-ratio:1;padding:0;border:2px solid #ddd;border-radius:6px;background:#fff;cursor:pointer;transition:all .3s ease;font-weight:600;display:flex;align-items:center;justify-content:center;flex-direction:column}.question-btn:hover{border-color:#667eea}.question-btn.active{background:#667eea;color:#fff;border-color:#667eea;box-shadow:0 4px 12px #667eea4d}.question-btn.answered{background:#d4edda;border-color:#28a745}.question-btn.answered.active{background:#667eea;color:#fff}.q-number{font-size:.9rem}.q-answered{position:absolute;top:-8px;right:-8px;background:#28a745;color:#fff;border-radius:50%;width:20px;height:20px;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700}.question-area{flex:1;padding:2rem;overflow-y:auto;display:flex;flex-direction:column}.question-content{flex:1;margin-bottom:2rem}.question-text{color:#333;margin-bottom:1.5rem;font-size:1.15rem;line-height:1.6}.question-image{text-align:center;margin-bottom:1.5rem}.question-image img{max-width:100%;max-height:300px;border-radius:6px}.options-container{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.option-label{display:flex;align-items:flex-start;gap:1rem;padding:1rem;border:2px solid #e9ecef;border-radius:6px;cursor:pointer;transition:all .3s ease;background:#fff}.option-label:hover{border-color:#667eea;background:#f8f9ff}.option-label input[type=radio]{width:20px;height:20px;margin-top:2px;cursor:pointer;flex-shrink:0}.option-label input[type=radio]:checked+.option-text{color:#667eea;font-weight:600}.option-label input[type=radio]:checked{accent-color:#667eea}.option-text{color:#555;line-height:1.5}.answer-textarea{width:100%;padding:1rem;border:2px solid #e9ecef;border-radius:6px;font-family:inherit;font-size:.95rem;resize:vertical;margin-bottom:1rem}.answer-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.question-marks{display:flex;gap:1rem;padding:1rem;background:#e7f3ff;border-left:4px solid #667eea;border-radius:4px;margin-bottom:1rem;font-weight:600;color:#004085}.navigation-buttons{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.progress-indicator{padding:.5rem 1rem;background:#f8f9fa;border-radius:20px;font-weight:600;color:#667eea}.navigation-buttons .btn{flex:1;min-width:120px}.navigation-buttons .btn:disabled{opacity:.5;cursor:not-allowed}.btn-submit{width:100%;padding:1rem;font-size:1.1rem;margin-top:auto;background:#28a745}.btn-submit:hover:not(:disabled){background:#218838}.btn-submit:disabled{background:#6c757d}.submission-success{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:3rem}.success-icon{font-size:4rem;color:#28a745;margin-bottom:1rem;animation:scaleIn .5s ease}@keyframes scaleIn{0%{transform:scale(0)}to{transform:scale(1)}}.submission-success h2{color:#333;margin-bottom:1rem}.submission-success p{color:#666;margin-bottom:.5rem}.submission-time{font-size:.9rem;color:#999;margin-bottom:2rem}.loading,.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh}.spinner{width:50px;height:50px;border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;animation:spin 1s linear infinite}.loading p{color:#fff;margin-top:1rem;font-size:1.1rem}.error-container{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 10px 40px #0003;max-width:500px}.error-container h2{color:#dc3545;margin-bottom:1rem}.error-container p{color:#666;margin-bottom:2rem;line-height:1.6}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover:not(:disabled){background:#5a6268}.btn-success{background:#28a745;color:#fff}.btn-success:hover{background:#218838}@media (max-width: 1024px){.exam-content{grid-template-columns:150px 1fr}.questions-list{grid-template-columns:repeat(3,1fr)}}@media (max-width: 768px){.exam-content{grid-template-columns:1fr;min-height:auto}.questions-panel{max-height:none;border-right:none;border-bottom:1px solid #e9ecef;padding:1rem}.questions-list{grid-template-columns:repeat(5,1fr);gap:.5rem}.question-btn{font-size:.75rem}.timer-header{flex-direction:column;gap:1rem}.exam-title{font-size:1rem}.question-area,.instructions-card{padding:1.5rem}.instructions-actions{flex-direction:column;gap:.75rem}.instructions-actions .btn{width:100%}.navigation-buttons{flex-direction:column-reverse}.navigation-buttons .btn{width:100%}.question-text{font-size:1rem}}@media (max-width: 480px){.questions-list{grid-template-columns:repeat(4,1fr)}.question-btn{font-size:.65rem;padding:.25rem}.timer-header{padding:1rem}.timer-value{font-size:1.2rem}.question-counter{font-size:.8rem;padding:.4rem .8rem}}.results-page{width:100%;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem 1rem}.results-container{max-width:1200px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 10px 40px #00000026;overflow:hidden}.page-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;text-align:center}.page-header h1{margin:0 0 1rem;font-size:2rem}.status-message{padding:1rem;border-radius:8px;margin-top:1rem;font-weight:500}.status-message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.status-message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.filters-section{padding:1.5rem;background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;gap:1rem;flex-wrap:wrap;align-items:center}.search-box{flex:1;min-width:250px}.search-input{width:100%;padding:.75rem 1rem;border:1px solid #ddd;border-radius:6px;font-size:.95rem;transition:border-color .3s}.search-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.filter-buttons{display:flex;gap:.75rem;flex-wrap:wrap}.filter-btn{padding:.6rem 1.2rem;border:2px solid #ddd;background:#fff;border-radius:20px;cursor:pointer;font-weight:600;transition:all .3s ease;color:#666}.filter-btn:hover{border-color:#667eea;color:#667eea}.filter-btn.active{background:#667eea;border-color:#667eea;color:#fff}.results-grid{padding:2rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:2rem}.result-card{background:#fff;border:1px solid #e9ecef;border-radius:8px;overflow:hidden;transition:all .3s ease;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column}.result-card:hover{box-shadow:0 8px 20px #667eea33;transform:translateY(-4px)}.result-card-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1.5rem;display:flex;justify-content:space-between;align-items:start;gap:1rem}.result-title{flex:1}.result-title h3{margin:0 0 .5rem;font-size:1.2rem}.result-badge{display:inline-block;padding:.4rem .8rem;border-radius:20px;font-size:.75rem;font-weight:600;background:#fff3;color:#fff}.result-badge.pending{background:#ffc107;color:#000}.grade-circle{width:80px;height:80px;border-radius:50%;border:4px solid;display:flex;align-items:center;justify-content:center;background:#ffffff1a;flex-shrink:0}.grade{font-size:2rem;font-weight:700}.result-body{padding:1.5rem;flex:1;border-bottom:1px solid #e9ecef}.score-info{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.score-item{display:flex;flex-direction:column;gap:.25rem}.score-item .label{font-size:.85rem;color:#999;font-weight:600}.score-item .value{font-size:1.3rem;color:#333;font-weight:700}.exam-metadata{color:#666;font-size:.9rem;line-height:1.6}.exam-metadata p{margin:.5rem 0}.status-badge-container{margin-top:1rem}.status-badge{display:inline-block;padding:.5rem 1rem;border-radius:20px;font-weight:600;font-size:.85rem}.status-badge.released{background:#d4edda;color:#155724}.result-card .btn{margin:1rem;flex:1}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;color:#666}.spinner{width:40px;height:40px;border:4px solid #f0f0f0;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading p{margin-top:1rem;font-size:1rem}.no-results{padding:3rem 2rem;text-align:center;color:#666}.no-results p{margin:.5rem 0;font-size:1.1rem}.no-results .subtitle{color:#999;font-size:.95rem}.detailed-result-container{padding:2rem}.btn-back{padding:.6rem 1.2rem;border:none;background:#667eea;color:#fff;border-radius:6px;cursor:pointer;font-weight:600;margin-bottom:2rem;transition:all .3s ease}.btn-back:hover{background:#5568d3;transform:translateY(-2px)}.result-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;border-radius:8px;display:flex;justify-content:space-between;align-items:center;gap:2rem;margin-bottom:2rem;flex-wrap:wrap}.result-title-section h1{margin:0;font-size:1.8rem}.result-date{color:#ffffffe6;margin:.5rem 0 0;font-size:.95rem}.grade-display{display:flex;justify-content:center}.grade-card{border:4px solid;border-radius:50%;width:120px;height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#ffffff1a}.grade-letter{font-size:3rem;font-weight:700}.grade-label{font-size:.85rem;font-weight:600;opacity:.9}.metrics-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin-bottom:2rem}.metric-card{background:#fff;border:1px solid #e9ecef;padding:1.5rem;border-radius:8px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 2px 8px #0000001a}.metric-label{font-size:.85rem;color:#999;font-weight:600;margin-bottom:.5rem}.metric-value{font-size:2rem;color:#667eea;font-weight:700;margin-bottom:.5rem}.metric-detail{font-size:.85rem;color:#666}.progress-bar{width:100%;height:8px;background:#e9ecef;border-radius:4px;overflow:hidden;margin-top:.75rem}.progress-fill{height:100%;transition:width .3s ease}.answers-section{background:#f8f9fa;padding:2rem;border-radius:8px}.answers-section h2{margin-top:0;color:#333;margin-bottom:1.5rem}.answers-list{display:flex;flex-direction:column;gap:1.5rem}.answer-item{background:#fff;border:1px solid #e9ecef;border-left:4px solid #999;border-radius:6px;padding:1.5rem}.answer-item.correct{border-left-color:#28a745;background:#f9fff9}.answer-item.incorrect{border-left-color:#dc3545;background:#fff9f9}.answer-header{display:flex;gap:1rem;margin-bottom:1rem;flex-wrap:wrap;align-items:center}.question-num{font-weight:700;font-size:.95rem;background:#f0f0f0;padding:.4rem .8rem;border-radius:4px}.answer-status{font-weight:600;font-size:.9rem}.answer-item.correct .answer-status{color:#28a745}.answer-item.incorrect .answer-status{color:#dc3545}.answer-marks{margin-left:auto;font-weight:700;color:#667eea}.question-text{margin:1rem 0;color:#333;line-height:1.6}.answer-content{color:#555}.answer-details{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0}.student-answer,.correct-answer{display:flex;flex-direction:column;gap:.5rem}.student-answer strong,.correct-answer strong{color:#333;font-weight:600}.answer-box{background:#f8f9fa;padding:1rem;border-radius:6px;border-left:3px solid #667eea;margin:0;font-family:Courier New,monospace;word-break:break-word}.explanation{background:#fffacd;border-left:3px solid #ffc107;padding:1rem;border-radius:6px;margin-top:1rem}.explanation strong{color:#856404;display:block;margin-bottom:.5rem}.explanation p{margin:0;color:#856404;line-height:1.6}.btn{padding:.75rem 1.5rem;border:none;border-radius:6px;cursor:pointer;font-weight:600;transition:all .3s ease;font-size:.95rem;display:inline-block;text-decoration:none}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover{background:#5568d3;transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}@media (max-width: 768px){.results-container{margin:0;border-radius:0}.page-header{padding:1.5rem 1rem}.page-header h1{font-size:1.5rem}.filters-section{flex-direction:column}.search-box{min-width:100%}.results-grid{grid-template-columns:1fr;padding:1rem}.result-header{flex-direction:column;text-align:center;padding:1.5rem}.result-title-section h1{font-size:1.3rem}.metrics-section{grid-template-columns:repeat(2,1fr);gap:1rem}.answer-details{grid-template-columns:1fr}.answers-section{padding:1.5rem}.detailed-result-container{padding:1rem}}@media (max-width: 480px){.results-grid{grid-template-columns:1fr}.grade-circle{width:60px;height:60px;border-width:3px}.grade{font-size:1.5rem}.metrics-section{grid-template-columns:1fr}.metric-card{padding:1rem}.metric-value{font-size:1.5rem}.answer-header{flex-direction:column;align-items:flex-start}.answer-marks{margin-left:0}.grade-card{width:100px;height:100px}.grade-letter{font-size:2rem}}:root{color-scheme:light;--bg: #f4efe4;--paper: #fffdf8;--text: #171717;--muted: #5f5a51;--brand: #124734;--brand-strong: #0b3527;--accent: #d86f45;--line: rgba(18, 71, 52, .12);--shadow: 0 18px 50px rgba(18, 28, 24, .12)}*{box-sizing:border-box}body{margin:0;font-family:Plus Jakarta Sans,sans-serif;color:var(--text);background:radial-gradient(circle at top left,rgba(216,111,69,.22),transparent 24%),radial-gradient(circle at top right,rgba(18,71,52,.12),transparent 28%),var(--bg)}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}.app-loading,.spinner-block,.app-loading-block{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:32px 0;color:var(--muted)}.app-spinner{width:56px;height:56px;border-radius:50%;border:6px solid rgba(18,71,52,.16);border-top-color:var(--brand);animation:app-spin 1s linear infinite}@keyframes app-spin{to{transform:rotate(360deg)}}.app-loading p,.spinner-block p{margin:0;font-size:.98rem}.site-shell{min-height:100vh;padding:24px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border:1px solid var(--line);background:#fffdf8e0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:24px;position:sticky;top:18px;z-index:10}.brand{display:flex;align-items:center;gap:14px;font-family:Space Grotesk,sans-serif;font-weight:700}.brand small{display:block;color:var(--muted);font-family:Plus Jakarta Sans,sans-serif;font-size:.78rem;font-weight:500}.brand-mark{display:grid;place-items:center;width:50px;height:50px;border-radius:18px;overflow:hidden;background:#fff}.brand-mark img{width:100%;height:100%;object-fit:contain}.nav{display:flex;gap:16px;flex-wrap:wrap}.nav-link{padding:10px 14px;border-radius:999px;color:var(--muted)}.nav-link-active{background:#12473414;color:var(--brand-strong)}.nav-actions{display:flex;align-items:center;gap:12px;position:relative}.notification-wrap{position:relative}.notification-button{position:relative;min-width:48px;min-height:44px}.notification-count{position:absolute;top:-6px;right:-4px;min-width:20px;height:20px;border-radius:999px;background:#b6422b;color:#fff;font-size:.72rem;font-weight:700;display:grid;place-items:center;padding:0 5px}.notification-panel{position:absolute;top:calc(100% + 10px);right:0;width:min(420px,90vw);max-height:360px;overflow:auto;padding:16px;border-radius:20px;border:1px solid var(--line);background:#fffdf8fa;box-shadow:var(--shadow);z-index:30}.profile-avatar-link{width:42px;height:42px;border-radius:999px;overflow:hidden;border:1px solid var(--line);display:inline-flex}.profile-avatar-link img{width:100%;height:100%;object-fit:cover;object-position:center top}.solid-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:12px 18px;border:1px solid transparent;cursor:pointer;transition:transform .18s ease,opacity .18s ease}.solid-button{background:var(--brand);color:#fff}.ghost-button{border-color:var(--line);background:transparent}.solid-button:hover,.ghost-button:hover{transform:translateY(-1px)}.page{max-width:1200px;margin:0 auto}.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;padding:48px 0 24px;align-items:stretch;position:relative}.hero-shapes{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.shape{position:absolute;opacity:.75}.shape-1{top:16px;left:0;width:70px}.shape-2{top:48px;right:10px;width:55px}.shape-3{bottom:80px;left:16px;width:120px}.shape-4{bottom:24px;right:48px;width:30px}.hero-copy,.hero-panel-card,.form-card,.auth-card,.card,.stat-card,.gallery-card,.dashboard-hero{background:#fffdf8d1;border:1px solid var(--line);box-shadow:var(--shadow)}.underline-img{display:inline-flex;align-items:center;gap:12px}.underline-img img{width:100px;height:auto}.main-heading{margin:0;font-size:clamp(3rem,5vw,4.8rem);line-height:1.05;font-family:Space Grotesk,sans-serif}.course-category-item{display:flex;align-items:center;gap:18px;padding:24px;border-radius:28px;border:1px solid var(--line);background:#fffdf8e6}.category-icon-img{width:56px;height:56px;border-radius:22px;object-fit:contain;background:#d86f4514;padding:10px}@media (max-width: 720px){.home{padding:32px 0}.home-left .main-heading{font-size:2.8rem}.section-title{font-size:2rem}.course-category-list,.feature-grid,.instructor-grid{grid-template-columns:1fr}}.hero-copy{padding:48px;border-radius:36px}.hero-copy h1,.dashboard-hero h1,.auth-card h1{margin:16px 0;line-height:1;font-family:Space Grotesk,sans-serif;font-size:clamp(2.8rem,5vw,5.6rem)}.hero-copy p,.section-heading p,.card p,.gallery-copy p,.auth-card p,.dashboard-hero p{color:var(--muted);line-height:1.7}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}.hero-panel{display:flex}.hero-panel-card,.dashboard-hero{width:100%;padding:32px;border-radius:32px}.dashboard-hero-row{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.dashboard-hero-avatar{width:110px;height:110px;border-radius:999px;overflow:hidden;border:2px solid var(--line);flex-shrink:0}.dashboard-hero-avatar img{width:100%;height:100%;object-fit:cover;object-position:center top}.dashboard-layout{display:grid;grid-template-columns:300px 1fr;gap:28px;margin-top:24px}.dashboard-sidebar{display:flex;flex-direction:column;gap:16px;padding:22px 20px;border-radius:32px;background:linear-gradient(180deg,#172038,#1f2845);border:1px solid rgba(255,255,255,.08);box-shadow:0 30px 80px #0b183f2e;color:#ffffffeb}.dashboard-profile-card{display:grid;gap:16px;padding:20px;border-radius:28px}.dashboard-profile-avatar{width:88px;height:88px;border-radius:999px;overflow:hidden;border:2px solid var(--line)}.dashboard-profile-avatar img{width:100%;height:100%;object-fit:cover}.summary-list{display:grid;gap:14px}.summary-item{padding:18px;border-radius:24px}.sidebar-nav{display:grid;gap:10px}.sidebar-item{width:100%;text-align:left;padding:14px 18px;border-radius:20px;border:1px solid rgba(255,255,255,.12);background:#ffffff0d;color:#ffffffe6;font-size:.95rem;font-weight:700;transition:all .15s ease}.sidebar-item:hover,.sidebar-item.active{background:#ffffff1f;border-color:#fff3;color:#fff}.dashboard-main{display:flex;flex-direction:column;gap:20px}.student-dashboard-page .dashboard-hero{padding:24px;border-radius:28px}.student-dashboard-page .dashboard-hero-row{gap:18px}.student-dashboard-page .dashboard-hero h1{font-size:clamp(2.2rem,4vw,3.2rem);line-height:1.05;margin-bottom:12px}.student-dashboard-page .dashboard-hero p{font-size:1rem;max-width:720px;margin-top:8px}.student-dashboard-page .card-grid{gap:16px}.student-dashboard-page .card,.student-dashboard-page .summary-item,.student-dashboard-page .form-card{padding:18px;border-radius:24px}.student-dashboard-page .card-topline{gap:10px}.student-dashboard-page .card-meta{gap:10px;font-size:.92rem;margin-top:12px}.student-dashboard-page .admin-hero{padding:22px;border-radius:28px}.student-dashboard-page .admin-hero-grid{gap:16px}.student-dashboard-page .admin-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.student-dashboard-page .admin-hero-stat{min-height:100px;padding:16px}.student-dashboard-page .admin-hero-stat h3{font-size:clamp(1.8rem,2.2vw,2.2rem)}.pill,.section-heading span,.card-topline span{display:inline-flex;align-items:center;width:fit-content;gap:8px;padding:8px 12px;background:#d86f451f;border-radius:999px;color:var(--brand-strong);font-size:.86rem;font-weight:700}.status-badge{display:inline-flex;align-items:center;width:fit-content;gap:8px;padding:8px 12px;border-radius:999px;font-size:.82rem;font-weight:700;border:1px solid transparent}.status-badge.status-pending{background:#d86f4524;border-color:#d86f453d;color:#8a3f20}.status-badge.status-scheduled{background:#12473424;border-color:#12473442;color:#0d3f2e}.status-badge.status-completed{background:#0c804a29;border-color:#0c804a42;color:#0d5636}.status-badge.status-rejected{background:#b6422b24;border-color:#b6422b42;color:#8a2d1d}.status-badge.status-paid{background:#0c804a29;border-color:#0c804a42;color:#0d5636}.section{padding:44px 0 24px}.section .grid{display:grid;gap:24px}.section-heading{max-width:760px;margin-bottom:24px}.section-heading h2{margin:14px 0;font-size:clamp(2rem,4vw,3.4rem);font-family:Space Grotesk,sans-serif}.stat-grid,.card-grid,.gallery-grid{display:grid;gap:20px}.stat-grid,.card-grid,.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card,.card{padding:24px;border-radius:28px;display:flex;flex-direction:column;min-height:100%}.stat-card h3,.card h3,.gallery-copy h3{margin-top:0;font-family:Space Grotesk,sans-serif}.card-topline,.card-meta{display:flex;justify-content:space-between;gap:12px;color:var(--muted)}.course-subject{font-weight:800}.card-body{margin-top:16px;flex:1}.card-body p{margin:0;line-height:1.7;color:var(--text-soft)}.card-footer{margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.card-footer-meta{display:flex;align-items:center;gap:12px;color:var(--muted);flex-wrap:wrap}.card-footer-meta span{white-space:nowrap}.payment-page-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,420px);gap:24px;align-items:start}.payment-page-card{display:grid;gap:16px}.payment-page-card h1,.payment-page-card h2{margin:0}.payment-course-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.payment-course-meta div{display:grid;gap:6px;padding:16px;border:1px solid var(--line);border-radius:20px;background:#ffffff94}.payment-course-meta span{color:var(--muted);font-size:.92rem}.payment-request-form{display:grid;gap:14px}.payment-request-form label{display:grid;gap:8px}.payment-request-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}.card-meta{margin-top:20px;font-size:.92rem}.gallery-card{overflow:hidden;border-radius:28px}.gallery-card img{width:100%;height:260px;object-fit:cover;display:block}.gallery-copy{padding:20px}.form-card,.auth-card{max-width:760px;margin:0 auto;padding:28px;border-radius:28px}.profile-page .profile-form{max-width:980px;padding:32px}.profile-page .dashboard-hero{padding:24px 32px;margin-bottom:24px}.profile-page .dashboard-hero h1{font-size:clamp(1.8rem,3vw,2.4rem);margin-top:12px;margin-bottom:12px}.profile-page .dashboard-hero p{margin-top:0}.profile-page .profile-image-row{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;align-items:start;margin-bottom:32px}.profile-page .profile-image-row label{display:grid;gap:10px}.profile-page .help-text{margin-top:8px;color:var(--muted);font-size:.95rem}.profile-page .profile-form button{margin-top:22px}.profile-page .profile-form .profile-grid{gap:18px}.profile-image-preview{border:1px solid var(--line);border-radius:24px;padding:18px;display:grid;place-items:center;min-height:180px;background:#fffdf8d9}.profile-image-preview img{width:100%;height:180px;object-fit:contain;object-position:center top;border-radius:18px;background:#ffffffbf}.profile-grid{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-grid label{display:grid;gap:10px}.profile-grid textarea{min-height:120px}.auth-page{min-height:72vh;display:grid;place-items:center}.auth-card{width:min(100%,520px)}.form-grid{display:grid;gap:14px;margin-bottom:18px}input,textarea{width:100%;padding:14px 16px;border-radius:18px;border:1px solid var(--line);background:#fff}.auth-card input,.auth-card textarea,.auth-card button{margin-top:16px}.auth-card input:first-of-type,.auth-card textarea:first-of-type,.auth-card button:first-of-type{margin-top:24px}.status-text{margin-top:14px;color:var(--brand)}.table-wrapper{width:100%;overflow-x:auto}.table-wrapper table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0 18px}.table-wrapper thead th{padding:0 20px 6px;text-align:left;color:var(--text);font-family:Space Grotesk,sans-serif;font-size:1rem;font-weight:700;white-space:nowrap}.table-wrapper tbody td{padding:0 20px;vertical-align:middle;white-space:nowrap}.table-wrapper tbody tr td:first-child{border-radius:18px 0 0 18px}.table-wrapper tbody tr td:last-child{border-radius:0 18px 18px 0}.table-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:8px}.table-actions .ghost-button,.table-actions .solid-button{min-width:110px}.admin-page{padding-top:14px;padding-bottom:24px;max-width:min(1600px,calc(100vw - 18px))}.admin-hero{padding:24px;border-radius:32px;background:#fffffff2;border:1px solid rgba(160,174,192,.25);box-shadow:0 24px 70px #0f204814}.admin-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,1fr);gap:18px;align-items:stretch}.admin-hero-copy{display:grid;gap:12px;align-content:start}.admin-page .dashboard-hero h1{max-width:14ch;font-size:clamp(2.4rem,3vw,3.2rem);line-height:1.05}.admin-page .dashboard-hero p{max-width:520px;margin:0;font-size:.94rem;line-height:1.7;color:var(--muted)}.admin-hero-stats{display:grid;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width: 1024px){.admin-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 720px){.admin-hero-stats{grid-template-columns:1fr}}.admin-hero-stat{display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px;min-height:110px;padding:18px;border-radius:28px;color:#fff;position:relative;overflow:hidden;box-shadow:0 16px 40px #0f20481a}.admin-hero-stat:after{content:"";position:absolute;right:-12px;top:0;width:80px;height:80px;border-radius:50%;background:#ffffff1f}.admin-hero-stat h3{margin:12px 0 0;font-family:Space Grotesk,sans-serif;font-size:clamp(2rem,2.4vw,2.5rem);line-height:1}.admin-hero-stat .pill{background:#ffffff24;color:#ffffffe6;font-weight:700}.pill-soft{background:#ffffff38;color:#fffffff2}.admin-hero-stat-icon{font-size:2.2rem;z-index:1}.admin-hero-stat.stat-blue{background:linear-gradient(135deg,#3465ff,#5a8dff)}.admin-hero-stat.stat-coral{background:linear-gradient(135deg,#ff646c,#ff8a76)}.admin-hero-stat.stat-amber{background:linear-gradient(135deg,#f7b500,#f6d45b)}.admin-hero-stat.stat-emerald{background:linear-gradient(135deg,#159957,#38c172)}.admin-hero-stat.stat-teal{background:linear-gradient(135deg,#2fc7c4,#55dfd9)}.admin-main-grid{display:grid;grid-template-columns:minmax(240px,280px) minmax(0,1fr);gap:18px;align-items:start;margin-top:18px}.admin-sidebar{position:sticky;top:92px;height:fit-content;padding:22px 18px 20px;border-radius:32px;background:linear-gradient(180deg,#172038,#1f2845);color:#ffffffeb;border:1px solid rgba(255,255,255,.07);box-shadow:0 30px 80px #0b183f2e}.admin-sidebar-profile{display:flex;align-items:center;gap:14px;margin-bottom:24px}.admin-sidebar-avatar{width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:#ffffff14;color:#fff;font-weight:700;font-size:1.2rem}.admin-sidebar-user{margin:0 0 2px;font-size:1rem;font-weight:700;letter-spacing:.01em}.admin-sidebar-role{margin:0;color:#ffffffb3;font-size:.86rem}.admin-sidebar-heading{margin-bottom:16px}.admin-sidebar-heading h3{margin:6px 0 0;font-family:Space Grotesk,sans-serif;font-size:1.2rem;color:#fff}.admin-sidebar .pill{background:#ffffff14;color:#9fb5d3}.admin-nav-button{display:inline-flex;align-items:center;justify-content:space-between;width:100%;min-height:42px;gap:10px;text-align:left;font-size:.94rem;padding:12px 14px;border-radius:16px}.admin-nav-count{display:inline-flex;min-width:28px;height:28px;padding:0 10px;border-radius:999px;background:var(--brand);color:#fff;font-size:.82rem;font-weight:700;justify-content:center;align-items:center}.admin-sidebar .ghost-button{background:#ffffff0f;color:#ffffffe6;border-color:transparent}.admin-sidebar .ghost-button:hover{background:#ffffff1a}.admin-sidebar .solid-button{background:#4c8dff;color:#fff;border-color:transparent}.admin-sidebar .solid-button:hover{background:#6ea8ff}.admin-sidebar .admin-nav-button{box-shadow:inset 0 0 0 1px #ffffff14}.admin-sidebar .admin-nav-button:focus{outline:none;box-shadow:0 0 0 3px #4c8dff47}.admin-nav-list{display:grid;gap:8px}.admin-nav-button{width:100%;min-height:42px;justify-content:flex-start;text-align:left;font-size:.93rem;padding:12px 14px}.admin-content{min-width:0;display:grid;gap:18px}.admin-section-card{padding:18px}.admin-section-card .section-heading{max-width:none;margin-bottom:14px}.admin-page .admin-content>.card{border-radius:28px}@media (max-width: 1024px){.admin-hero-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}.admin-student-grid{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(300px,1.1fr);gap:12px}.admin-student-summary p{margin:0 0 8px}.admin-payment-form{display:grid;gap:10px}.admin-payment-table{margin-top:12px}.admin-payment-table table{min-width:0;table-layout:auto}.admin-payment-table thead th{white-space:nowrap;padding:10px}.admin-payment-table tbody td{white-space:normal;padding:10px}.admin-payment-table th:nth-child(1),.admin-payment-table td:nth-child(1){width:16%}.admin-payment-table th:nth-child(2),.admin-payment-table td:nth-child(2){width:10%}.admin-payment-table th:nth-child(3),.admin-payment-table td:nth-child(3){width:22%}.admin-payment-table th:nth-child(4),.admin-payment-table td:nth-child(4){width:12%}.admin-payment-table th:nth-child(5),.admin-payment-table td:nth-child(5){width:26%}.admin-payment-table th:nth-child(6),.admin-payment-table td:nth-child(6){width:14%}.admin-payment-table td:last-child{white-space:nowrap}.admin-page .table-wrapper tbody td{background:#ffffff80}.admin-payment-table tbody tr:last-child td{padding-bottom:18px}.admin-doubt-list{display:grid;gap:14px}.course-page-header{display:grid;gap:20px;margin-bottom:28px}.tab-nav{display:flex;gap:12px;flex-wrap:wrap}.tab-button{border:1px solid var(--line);background:transparent;color:var(--text);border-radius:999px;padding:10px 20px;font-weight:700;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}.tab-button:hover{background:#0000000a}.tab-button.active{background:var(--brand-strong);color:#fff;border-color:var(--brand-strong)}.admin-doubt-card{padding:20px}.admin-doubt-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.admin-doubt-heading{display:grid;gap:8px}.admin-doubt-badges{display:flex;flex-wrap:wrap;gap:8px}.admin-doubt-heading h3{margin:0;font-size:clamp(1.3rem,1.8vw,1.75rem)}.admin-doubt-heading p{margin:0;font-size:1rem}.admin-doubt-body{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,1.4fr);gap:20px}.admin-doubt-description,.admin-doubt-meta-item{border:1px solid var(--line);border-radius:22px;background:#ffffff8c}.admin-doubt-description{padding:20px}.admin-doubt-description strong,.admin-doubt-meta-item span{display:block;margin-bottom:8px;color:var(--brand-strong);font-size:.82rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.admin-doubt-description p,.admin-doubt-meta-item p,.admin-doubt-meta-item strong,.admin-doubt-meta-item a{margin:0}.admin-doubt-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-doubt-meta-item{padding:18px}.admin-doubt-meta-item strong,.admin-doubt-meta-item a{color:var(--text);font-weight:700}.admin-doubt-meta-item p,.admin-doubt-meta-item a{word-break:break-word}.admin-doubt-meta-item-wide{grid-column:1 / -1}.admin-doubt-actions{justify-content:flex-start;margin-top:16px}.admin-doubt-form{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.error-text{color:#b6422b}.footer{max-width:1200px;margin:48px auto 0;padding:28px 0;display:flex;justify-content:space-between;gap:28px;color:var(--muted)}.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem;padding:2rem 0}.grid-item:nth-child(5){grid-column:1 / -1;max-width:400px;margin:0 auto}.grid-item{padding:1rem}.footer-logo img{max-width:100%;height:auto}.contact-box{background:#ffffff0d;border:1px solid var(--line);border-radius:12px;padding:1.5rem;height:fit-content;box-shadow:0 2px 8px #0000001a}.footer-text{margin:0 0 1rem;line-height:1.6;font-size:.9rem}.footer-text br{display:block;margin:.5rem 0}.footer-text img{width:16px;height:16px;margin-right:.5rem;vertical-align:middle}.social-link{display:flex;gap:1rem;margin-top:1rem}.social-link a{color:var(--brand);font-size:1.5rem;transition:color .3s}.social-link a:hover{color:var(--accent)}.item-heading{color:var(--brand);margin-bottom:1rem;font-size:1.2rem;font-weight:700}.list-item{margin-bottom:.5rem}.list-item a{color:var(--muted);transition:color .3s}.list-item a:hover{color:var(--brand)}.address iframe{border:none;border-radius:8px}.copyright{text-align:center;padding:1rem 0;border-top:1px solid var(--line);margin-top:2rem;color:var(--muted)}.copyright a{color:var(--brand);font-weight:700}@media (max-width: 1024px){.hero,.card-grid,.gallery-grid,.stat-grid{grid-template-columns:1fr}.topbar,.footer{flex-direction:column;align-items:flex-start}.admin-main-grid,.admin-student-grid,.admin-hero-grid{grid-template-columns:1fr}.admin-sidebar{position:static}.admin-nav-list{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-page .dashboard-hero h1{max-width:none}}@media (max-width: 720px){.site-shell{padding:14px}.topbar{padding:18px}.hero-copy{padding:28px}.hero-copy h1,.dashboard-hero h1,.auth-card h1{font-size:2.4rem}.table-wrapper table{min-width:680px;border-spacing:0 14px}.table-wrapper thead th,.table-wrapper tbody td{padding-left:14px;padding-right:14px}.admin-hero,.admin-sidebar,.admin-section-card{padding:24px}.admin-page{max-width:calc(100vw - 20px)}.admin-page .dashboard-hero h1{max-width:none;font-size:2.8rem}.admin-main-grid{gap:18px}.admin-nav-list{grid-template-columns:1fr}.admin-payment-table table{min-width:760px;table-layout:auto}.admin-doubt-header{flex-direction:column}.admin-doubt-body,.admin-doubt-meta{grid-template-columns:1fr}}.gallery-page{padding:32px 0 56px}.gallery-head{text-align:center;margin-bottom:36px}.gallery-title h1{margin:0;font-size:clamp(3rem,5vw,4.6rem);font-family:Space Grotesk,sans-serif}.gallery-title p{max-width:760px;margin:18px auto 0;color:var(--muted);line-height:1.8}.gallery-filter{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:28px}.gf-btn{padding:12px 22px;border:1px solid var(--brand);background:transparent;color:var(--brand-strong);border-radius:999px;cursor:pointer;transition:background .18s ease,transform .18s ease}.gf-btn:hover,.gf-btn-active{background:var(--brand);color:#fff}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.gallery-item{display:flex;flex-direction:column;gap:12px}.gallery-item img{width:100%;aspect-ratio:4 / 3;object-fit:cover;border-radius:24px;box-shadow:var(--shadow);cursor:pointer;transition:transform .18s ease,filter .18s ease}.gallery-item img:hover{transform:scale(1.02);filter:saturate(1.1)}.gallery-file-name{font-size:.92rem;color:var(--muted);text-align:center;word-break:break-word}.preview-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0b0d0fe0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;z-index:1000}.preview-close{position:absolute;top:24px;right:24px;background:#ffffffeb;border:none;padding:12px 20px;border-radius:999px;cursor:pointer;font-weight:700;color:var(--brand-strong)}.preview-image{max-width:95%;max-height:85vh;border-radius:24px;box-shadow:var(--shadow)}.admin-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:flex;align-items:center;justify-content:center;padding:24px;background:#0b0d0fad}.admin-modal-card{width:min(100%,720px);max-height:calc(100vh - 48px);overflow-y:auto}.admin-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.admin-modal-actions{display:flex;flex-wrap:wrap;gap:12px}@media (max-width: 1024px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-page-grid{grid-template-columns:1fr}}@media (max-width: 720px){.gallery-grid,.payment-course-meta{grid-template-columns:1fr}.admin-modal-overlay{padding:16px;align-items:flex-end}.admin-modal-card{max-height:92vh}.admin-modal-header{flex-direction:column;align-items:stretch}.gallery-title h1{font-size:2.8rem}.gallery-filter{gap:10px}}.home{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:center;padding:48px 0}.home-left{display:flex;flex-direction:column;justify-content:center;gap:26px}.home-left .section-subtitle{font-size:1rem;font-weight:700;color:var(--brand-strong)}.home-left .main-heading{margin:0;font-size:clamp(3rem,5vw,4.8rem);line-height:1.05;font-family:Space Grotesk,sans-serif}.home-left .underline{display:inline-flex;position:relative;color:var(--brand-strong)}.home-left .section-text{max-width:720px;color:var(--muted);line-height:1.8}.home-btn-group{display:flex;flex-wrap:wrap;gap:16px}.home-right .img-box{overflow:hidden;border-radius:32px;box-shadow:var(--shadow)}.banner-img{width:100%;display:block;object-fit:cover;min-height:420px}.category,.about,.features,.instructor,.contact-cta{padding:56px 0}.section-subtitle{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;background:#d86f451f;border-radius:999px;color:var(--brand-strong);font-weight:700;font-size:.94rem;letter-spacing:.03em;margin-bottom:16px}.section-title{margin:0 0 24px;font-size:clamp(2rem,4vw,3.4rem);font-family:Space Grotesk,sans-serif}.section-text{color:var(--muted);line-height:1.8}.course-category-list,.feature-grid,.instructor-grid{display:grid;gap:20px}.course-category-list{grid-template-columns:repeat(3,minmax(0,1fr))}.course-category-item{display:flex;align-items:flex-start;gap:18px;padding:24px;border-radius:28px;border:1px solid var(--line);background:#fffdf8e6}.category-icon{width:60px;height:60px;border-radius:22px;display:grid;place-items:center;font-size:1.8rem;background:#d86f451f;color:var(--brand-strong)}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}.about-img-box img{width:100%;border-radius:32px;object-fit:cover;min-height:420px}.feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-card,.instructor-card{padding:28px;border-radius:28px;border:1px solid var(--line);background:#fffdf8f0}.feature-card h3,.instructor-card h3{margin-top:0;font-family:Space Grotesk,sans-serif}.instructor-card img{width:100%;height:260px;object-fit:cover;border-radius:24px;margin-bottom:18px}.contact-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:56px 32px;background:#fffdf8e0;border:1px solid var(--line);border-radius:32px}.contact-cta .section-title{margin-bottom:16px}@media (max-width: 1024px){.home,.about-grid,.course-category-list,.feature-grid,.instructor-grid,.contact-cta{grid-template-columns:1fr}.contact-cta{flex-direction:column;align-items:flex-start}}@media (max-width: 720px){.home{padding:32px 0}.home-left .main-heading{font-size:2.8rem}.section-title{font-size:2rem}.course-category-list,.feature-grid,.instructor-grid{grid-template-columns:1fr}.dashboard-hero-row{flex-direction:column}.dashboard-hero-avatar{width:90px;height:90px}}img,iframe{max-width:100%;height:auto}.topbar{flex-wrap:wrap}.brand{min-width:180px}@media (max-width: 1024px){.topbar{align-items:flex-start;padding:18px}.nav{flex:1 1 100%;justify-content:flex-start}.nav-actions{width:100%;justify-content:flex-start}.nav{gap:10px}.home,.about-grid,.course-category-list,.feature-grid,.instructor-grid,.contact-cta,.dashboard-layout,.admin-main-grid,.admin-student-grid,.admin-hero-grid,.gallery-grid,.card-grid,.stat-grid,.payment-page-grid,.profile-grid,.course-page-header{grid-template-columns:1fr}.contact-cta{flex-direction:column;align-items:stretch}.profile-page .profile-image-row{grid-template-columns:1fr}.profile-page .profile-form{padding:24px}.banner-img,.about-img-box img,.gallery-item img{min-height:auto}}@media (max-width: 720px){.site-shell{padding:14px}.topbar{padding:16px}.brand{width:100%}.nav{width:100%;gap:10px}.nav-link{padding:8px 10px}.nav-actions{justify-content:flex-start;gap:10px;margin-top:10px}.home{padding:24px 0}.course-category-item,.feature-card,.instructor-card,.payment-page-card,.admin-section-card,.admin-hero,.admin-sidebar,.exam-card,.form-container,.instructions-card,.auth-card,.profile-page .profile-form{padding:20px}.course-category-item{flex-direction:column;align-items:stretch;text-align:left}.contact-cta{gap:16px}.table-wrapper{overflow-x:auto}.table-wrapper table{min-width:auto}.admin-sidebar{position:static;top:auto}.notification-panel{width:100%;left:0;right:auto}.admin-modal-card{width:min(100%,90vw)}.preview-overlay,.admin-modal-overlay{padding:16px}.dashboard-hero h1,.hero-copy h1,.auth-card h1,.gallery-title h1{font-size:clamp(2rem,5vw,2.8rem)}}.student-name-link{color:var(--brand);text-decoration:none;font-weight:500;cursor:pointer}.student-name-link:hover{text-decoration:underline}.admin-student-detail{max-width:1200px;margin:0 auto}.admin-detail-tabs{display:flex;gap:8px;margin:24px 0;border-bottom:1px solid var(--line);overflow-x:auto}.tab-btn{padding:12px 16px;border:none;background:transparent;cursor:pointer;color:var(--muted);font-weight:500;border-bottom:2px solid transparent;transition:all .2s}.tab-btn:hover{color:var(--text)}.tab-btn.active{color:var(--brand);border-bottom-color:var(--brand)}.detail-section{margin-top:32px}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.detail-item{display:flex;flex-direction:column;gap:4px}.detail-item span{font-size:.85rem;color:var(--muted)}.detail-item strong{color:var(--text);font-weight:600}.detail-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-bottom:24px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group label{font-weight:500;color:var(--text);font-size:.9rem}.form-group input,.form-group textarea{padding:10px 12px;border:1px solid var(--line);border-radius:8px;font-family:inherit;font-size:.95rem}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #1247341a}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.card-details{display:flex;gap:16px;margin-top:12px;font-size:.9rem;color:var(--muted)}.admin-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.info-message{padding:12px 16px;background:#1247341a;border-left:3px solid var(--brand);border-radius:4px;color:var(--brand);margin-bottom:16px}.card-list,.payment-list{display:grid;gap:16px}section .contact-cta{padding:56px 32px}@media (max-width: 720px){section .contact-cta{padding:40px 16px}}
