*{box-sizing:border-box;margin:0;padding:0}body{background-color:#adc0d3;font-family:Arial,Helvetica,sans-serif}a{text-decoration:none}button{cursor:pointer}.navbar{color:#fff;background-color:#1e293b;justify-content:space-between;align-items:center;padding:16px 40px;display:flex}.logo{color:#fff;font-size:24px;font-weight:700;text-decoration:none}.nav-links{align-items:center;gap:20px;display:flex}.nav-links a{color:#fff;text-decoration:none;transition:all .2s}.nav-links a:hover{color:#60a5fa}.username{font-weight:600}.logout-btn{color:#fff;cursor:pointer;background-color:#ef4444;border:none;border-radius:6px;padding:8px 14px}.logout-btn:hover{background-color:#dc2626}.footer{color:#fff;text-align:center;background:#000c;margin-top:40px;padding:25px}.footer-content h3{margin-bottom:10px}.footer-content p{margin:8px 0}.mentor-link{color:#fff;background:#2563eb;border-radius:8px;margin:15px 0;padding:10px 20px;font-weight:600;text-decoration:none;transition:all .3s;display:inline-block}.mentor-link:visited{color:#fff}.mentor-link:hover{background:#1d4ed8;transform:translateY(-2px);box-shadow:0 5px 15px #2563eb66}.mentor-link:active{transform:translateY(0)}.home{min-height:100vh}.hero{text-align:center;padding:100px 30px}.hero h1{margin-bottom:20px;font-size:3rem}.hero p{color:#1a1818;margin-bottom:30px;font-size:1.2rem}.hero button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:12px 25px;font-size:1rem}.hero button:hover{background:#1d4ed8}.how-it-works,.why{padding:30px 20px}.how-it-works h2,.why h2{text-align:center;margin-bottom:20px}.cards{flex-wrap:wrap;justify-content:center;gap:20px;display:flex}.card{text-align:center;background:#fff;border-radius:12px;width:280px;padding:25px;box-shadow:0 0 10px #0000001a}.login-page{background-color:#f1f5f9;justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{background:#fff;border-radius:12px;width:400px;padding:30px;box-shadow:0 4px 12px #0000001a}.login-card h2{text-align:center;margin-bottom:25px}.login-card button{color:#fff;cursor:pointer;background-color:#2563eb;border:none;border-radius:6px;width:100%;padding:12px}.login-card button:hover{background-color:#1d4ed8}.login-card button:disabled{cursor:not-allowed;background-color:#94a3b8}.login-card p{text-align:center;margin-top:20px}.login-card a{color:#2563eb;margin-left:5px;text-decoration:none}.login-card a:hover{text-decoration:underline}.register-page{background-color:#f1f5f9;justify-content:center;align-items:center;min-height:100vh;display:flex}.register-card{background:#fff;border-radius:12px;width:400px;padding:30px;box-shadow:0 4px 12px #0000001a}.register-card h2{text-align:center;margin-bottom:25px}.form-group{margin-bottom:20px}.form-group label{margin-bottom:8px;display:block}.form-group input{box-sizing:border-box;border:1px solid #ccc;border-radius:6px;width:100%;padding:10px}.register-card button{color:#fff;cursor:pointer;background-color:#16a34a;border:none;border-radius:6px;width:100%;padding:12px}.register-card button:hover{background-color:#15803d}.register-card button:disabled{cursor:not-allowed;background-color:#94a3b8}.register-card p{text-align:center;margin-top:20px}.register-card a{color:#2563eb;margin-left:5px;text-decoration:none}.register-card a:hover{text-decoration:underline}.mentor-card{background:#fff;border-radius:12px;flex-direction:column;gap:12px;padding:20px;transition:all .3s;display:flex;box-shadow:0 3px 10px #00000014}.mentor-card:hover{transform:translateY(-4px);box-shadow:0 6px 18px #0000001f}.mentor-name{color:#1e293b;font-size:1.4rem}.mentor-academic{color:#64748b;font-size:.95rem}.mentor-bio{color:#334155;min-height:60px;line-height:1.5}.mentor-rating{color:#0f172a;font-size:.95rem}.view-profile-btn{text-align:center;color:#fff;background:#2563eb;border-radius:8px;margin-top:auto;padding:10px;font-weight:600;text-decoration:none;transition:all .3s}.view-profile-btn:hover{background:#1d4ed8}.mentors-page{max-width:1200px;margin:auto;padding:30px}.mentors-page h1{margin-bottom:30px}.mentors-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;display:grid}.loading-container{background-color:#f8fafc;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;display:flex}.loader{border:5px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;width:50px;height:50px;animation:1s linear infinite spin}.loading-container p{color:#475569;margin-top:15px;font-size:18px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.profile-page{max-width:1100px;margin:auto;padding:30px}.profile-header{background:#fff;border-radius:12px;margin-bottom:25px;padding:30px;box-shadow:0 2px 8px #0000001a}.profile-header h1{margin-bottom:10px}.profile-header h3{color:#2563eb;margin-bottom:15px}.profile-header p{color:#555}.profile-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-bottom:25px;display:grid}.profile-card{background:#fff;border-radius:12px;padding:25px;box-shadow:0 2px 8px #0000001a}.profile-card h2{margin-bottom:15px}.profile-card p{margin-bottom:10px}.profile-card a{color:#2563eb;text-decoration:none}.ask-question-card{background:#fff;border-radius:12px;padding:25px;box-shadow:0 2px 8px #0000001a}.ask-question-card h2{margin-bottom:20px}.ask-question-card form{flex-direction:column;display:flex}.ask-question-card input,.ask-question-card textarea{border:1px solid #ccc;border-radius:8px;margin-bottom:15px;padding:12px}.ask-question-card textarea{min-height:120px}.ask-question-card button{color:#fff;cursor:pointer;background-color:#2563eb;border:none;border-radius:6px;width:fit-content;padding:10px 18px}.ask-question-card button:hover{background-color:#1d4ed8}.empty-state{text-align:center;background-color:#fff;border-radius:12px;padding:60px 20px;box-shadow:0 2px 8px #00000014}.empty-state h2{color:#1e293b;margin-bottom:10px}.empty-state p{color:#64748b;font-size:16px}.status{text-transform:capitalize;border-radius:20px;padding:6px 12px;font-size:14px;font-weight:700}.pending{color:#92400e;background-color:#fef3c7}.answered{color:#166534;background-color:#dcfce7}.closed{color:#991b1b;background-color:#fee2e2}.my-questions-page{max-width:1000px;margin:auto;padding:30px}.my-questions-page h1{margin-bottom:25px}.questions-list{flex-direction:column;gap:20px;display:flex}.question-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px #0000001a}.question-card h2{margin-bottom:10px}.received-questions-page{max-width:1000px;margin:auto;padding:30px}.received-questions-page h1{margin-bottom:25px}.received-questions-list{flex-direction:column;gap:20px;display:flex}.received-question-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px #0000001a}.received-question-card h2{margin-bottom:10px}.question-description{color:#555;margin-bottom:15px}.question-info{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.discussion-btn{color:#fff;background-color:#2563eb;border-radius:6px;padding:10px 16px;text-decoration:none;display:inline-block}.discussion-btn:hover{background-color:#1d4ed8}.question-page{max-width:1000px;margin:auto;padding:30px}.question-header{background:#fff;border-radius:12px;margin-bottom:30px;padding:25px;box-shadow:0 2px 8px #0000001a}.question-header h1{margin-bottom:15px}.question-header p{color:#555;margin-bottom:15px}.discussion-section h2{margin-bottom:20px}.replies-list{flex-direction:column;gap:15px;display:flex}.reply-card{background:#fff;border-radius:10px;padding:20px;box-shadow:0 2px 8px #00000014}.reply-card h4{color:#2563eb;margin-bottom:10px}.reply-form{flex-direction:column;margin-top:30px;display:flex}.reply-form textarea{resize:vertical;border:1px solid #ccc;border-radius:8px;min-height:120px;padding:12px}.reply-form button{color:#fff;cursor:pointer;background-color:#2563eb;border:none;border-radius:6px;width:fit-content;margin-top:15px;padding:10px 18px}.reply-form button:hover{background-color:#1d4ed8}.close-btn{color:#fff;cursor:pointer;background-color:#dc2626;border:none;border-radius:6px;margin-top:20px;padding:10px 18px}.close-btn:hover{background-color:#b91c1c}.not-found-page{background-color:#f8fafc;justify-content:center;align-items:center;min-height:100vh;display:flex}.not-found-card{text-align:center;background:#fff;border-radius:16px;padding:50px;box-shadow:0 4px 12px #0000001a}.not-found-card h1{color:#2563eb;margin-bottom:10px;font-size:100px}.not-found-card h2{color:#1e293b;margin-bottom:15px}.not-found-card p{color:#64748b;margin-bottom:25px}.home-btn{color:#fff;background-color:#2563eb;border-radius:8px;padding:12px 20px;text-decoration:none;transition:all .2s;display:inline-block}.home-btn:hover{background-color:#1d4ed8}.mentor-page{justify-content:center;padding:40px 20px;display:flex}.mentor-card{background:#fff;border-radius:12px;width:100%;max-width:800px;padding:30px}.mentor-card h1{margin-bottom:20px}.mentor-card h3{margin-top:20px;margin-bottom:10px}.mentor-card ul{margin-left:20px}.apply-btn{color:#fff;background:#2563eb;border:none;border-radius:8px;margin-top:25px;padding:12px 24px;font-size:16px}.mentor-form-container{justify-content:center;align-items:center;min-height:100vh;padding:40px 20px;display:flex}.mentor-form-container form{background:#fffffff2;border-radius:15px;width:100%;max-width:700px;padding:35px;box-shadow:0 8px 25px #0003}.mentor-form-container h1{text-align:center;color:#1e293b;margin-bottom:25px}.mentor-form-container input{border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;margin-bottom:15px;padding:12px;font-size:15px;transition:all .3s}.mentor-form-container input:focus{border-color:#2563eb;box-shadow:0 0 5px #2563eb4d}.mentor-form-container button{color:#fff;background:#2563eb;border:none;border-radius:8px;width:100%;padding:14px;font-size:16px;font-weight:600;transition:all .3s}.mentor-form-container button:hover{background:#1d4ed8}@media (width<=768px){.mentor-form-container form{padding:25px}.mentor-form-container h1{font-size:1.8rem}}.update-profile-container{justify-content:center;align-items:flex-start;min-height:100vh;padding:40px 20px;display:flex}.update-profile-form{background:#fff;border-radius:12px;width:100%;max-width:750px;padding:30px;box-shadow:0 4px 12px #00000014}.update-profile-form h1{text-align:center;color:#1e293b;margin-bottom:25px}.update-profile-form input,.update-profile-form textarea{border:1px solid #d1d5db;border-radius:8px;width:100%;margin-bottom:15px;padding:12px;font-size:15px}.update-profile-form textarea{resize:vertical}.update-profile-form input:focus,.update-profile-form textarea:focus{border-color:#2563eb;outline:none}.update-profile-form button{color:#fff;background:#2563eb;border:none;border-radius:8px;width:100%;padding:12px;font-size:16px;font-weight:600;transition:all .3s}.update-profile-form button:hover{background:#1d4ed8}@media (width<=768px){.update-profile-form{padding:20px}}
