/**
 * Online Exam Portal - Custom Styles
 * Professional College/University Theme
 */

/* Layout */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main, .container, .container-fluid {
    flex: 1;
}

footer, .footer {
    margin-top: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* Buttons */
.btn {
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.card-header {
    border-bottom: none;
    font-weight: 600;
    border-radius: 8px 8px 0 0 !important;
}

/* Tables */
.table thead {
    font-weight: 600;
}

.table-hover tbody tr:hover {
    background-color: rgba(26, 35, 126, 0.05);
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: #1a237e;
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.15);
}

/* List Groups */
.list-group-item {
    border-left: none;
    border-right: none;
    transition: all 0.3s ease;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    padding-left: 25px;
}

.list-group-item.active {
    background-color: #1a237e;
    border-color: #1a237e;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-service {
    animation: fadeInUp 0.5s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section { padding: 40px 0; }
    .hero-section h1 { font-size: 1.8rem; }
    .brand-header .college-name { font-size: 1.2rem; }
    .section-title::after { width: 40px; }
    .footer { padding: 30px 0 15px; }
}

/* Print */
@media print {
    .main-nav, .top-header, .footer, .footer-bottom, .btn { display: none !important; }
    .card { border: 1px solid #ddd !important; box-shadow: none !important; }
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #1a237e; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #0d1554; }
