/* ==================== CSS RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - University Blue & Purple */
    --primary-blue: #2563EB;
    --primary-purple: #7C3AED;
    --primary-dark: #1E40AF;
    
    /* Accent Colors */
    --accent-cyan: #06B6D4;
    --accent-green: #10B981;
    --accent-orange: #F59E0B;
    --accent-red: #EF4444;
    
    /* Neutral Colors */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100%;
}
html {
    max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ==================== UTILITY CLASSES ==================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    max-width: 100%;
    padding: 0 2rem;
}

/* ==================== HEADER STYLES ==================== 
/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    padding: 5rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-icon {
    font-size: 1.125rem;
}

.badge-text {
    color: var(--text-secondary);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 3rem;
    background-color: var(--border-color);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-white {
    background: white;
    color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.063rem;
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.feature-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon-wrapper.blue {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
}

.feature-icon-wrapper.purple {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-purple);
}

.feature-icon-wrapper.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.feature-icon-wrapper.orange {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
}

.feature-icon-wrapper svg {
    stroke-width: 2;
}

.feature-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== DEPARTMENTS SECTION ==================== */
.departments-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.dept-card {
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.dept-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.dept-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.dept-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.dept-count {
    font-size: 0.938rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 40px 0 !important;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    max-width: 600px;
    margin: 0 auto 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}

.cta-left {
    padding: 24px;
    text-align: left;
}

.cta-divider-v {
    background: rgba(255,255,255,0.08);
}

.cta-right {
    padding: 24px;
    text-align: left;
}

.cta-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #818cf8;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cta-big {
    font-size: 22px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 8px;
}

.cta-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

.cta-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.cta-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.cta-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #818cf8;
    flex-shrink: 0;
}

.cta-note {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    margin-top: 0.8rem;
}

@media (max-width: 768px) {
    .cta-grid {
        grid-template-columns: 1fr;
    }
    .cta-divider-v {
        height: 1px;
        width: 100%;
    }
}
/* ==================== PAGE HEADER ==================== */
.page-header {
    padding: 3rem 0 2rem;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary-blue);
}

.breadcrumb-separator {
    color: var(--gray-400);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.page-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ==================== FILTERS SECTION ==================== */
.filters-section {
    padding: 2rem 0;
}

.filters-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filters-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.btn-reset {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s;
}

.btn-reset:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label svg {
    stroke-width: 2;
    color: var(--text-secondary);
}

.filter-select,
.filter-input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: all 0.2s;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==================== RESULTS SECTION ==================== */
.results-section {
    padding: 2rem 0 5rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.results-count {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
    background: white;
    padding: 0.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.view-btn {
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all 0.2s;
}

.view-btn:hover {
    background-color: var(--gray-50);
}

.view-btn.active {
    background-color: var(--primary-blue);
    color: white;
}

.papers-grid {
    display: grid;
    gap: 1.25rem;
}

.paper-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s;
}

.paper-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.paper-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.25rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-download {
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-green);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-download:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.no-results {
    text-align: center;
    padding: 5rem 2rem;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ==================== UPLOAD SECTION ==================== */
.upload-section {
    padding: 2rem 0 5rem;
}

.upload-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

.upload-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.success-alert {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.success-alert svg {
    flex-shrink: 0;
    color: var(--accent-green);
    stroke-width: 2;
}

.success-alert strong {
    display: block;
    color: var(--accent-green);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.success-alert p {
    color: var(--text-secondary);
    font-size: 0.938rem;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--text-primary);
}

.required {
    color: var(--accent-red);
}

.form-control {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.error-message {
    font-size: 0.875rem;
    color: var(--accent-red);
    display: none;
}

.file-upload-area {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--bg-secondary);
}

.file-upload-area:hover {
    border-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.05);
}

.file-upload-content svg {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.file-upload-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.file-upload-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.file-selected {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: var(--radius-md);
}

.file-selected svg {
    flex-shrink: 0;
    color: var(--primary-blue);
}

.file-info {
    flex: 1;
    text-align: left;
}

.file-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.file-size {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.btn-remove-file {
    padding: 0.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-remove-file:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: white;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}
/* Mobile fixes for upload page */
@media (max-width: 768px) {
    .upload-layout {
        grid-template-columns: 1fr;
    }

    .upload-card {
        padding: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .file-upload-area {
        padding: 1.5rem 1rem;
    }

    .file-upload-content h4 {
        font-size: 1rem;
    }

    .guidelines-sidebar {
        order: -1;
    }

    .upload-section {
        padding: 1rem 0 3rem;
    }
}
/* ==================== GUIDELINES SIDEBAR ==================== */
.guidelines-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guideline-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.guideline-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.guideline-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guideline-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.938rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.guideline-list svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--accent-green);
    stroke-width: 2.5;
}

.info-card {
    background: rgba(37, 99, 235, 0.05);
    border-color: var(--primary-blue);
}

.info-card svg {
    color: var(--primary-blue);
    stroke-width: 2;
    margin-bottom: 1rem;
}

.info-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.info-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.footer-logo h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--gray-400);
    font-size: 0.938rem;
    margin-bottom: 2rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    font-size: 0.938rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .upload-layout {
        grid-template-columns: 1fr;
    }
    
    .guidelines-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container,
    .container-fluid {
        padding: 0 1.5rem;
    }
    
    .header-top-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .header-links {
        gap: 1rem;
    }
    
    .header-main-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .paper-card {
        grid-template-columns: 1fr;
    }
    
    .paper-info {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .guidelines-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 1.25rem;
    }
    
    .logo-subtitle {
        font-size: 0.688rem;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
    }
}
.announcement-banner {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.announcement-banner button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    cursor: pointer;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
}

.announcement-banner button:hover {
    background: rgba(255,255,255,0.35);
}
@media (max-width: 768px) {
    .upload-page .main-header {
        overflow: hidden;
    }

    .upload-page .unified-header {
        width: 100%;
        overflow: hidden;
    }

    .upload-page .container-fluid {
        padding: 0 1rem;
        overflow: hidden;
    }
}
/* Mobile overflow fix */
@media (max-width: 768px) {
    .form-control,
    select.form-control {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .form-row {
        width: 100%;
        overflow: hidden;
    }

    .upload-card {
        overflow: hidden;
        width: 100%;
    }

    .upload-form-wrapper {
        max-width: 100%;
        overflow: hidden;
    }
}
.dept-coming-soon {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.dept-coming-soon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 8px,
        rgba(0,0,0,0.02) 8px,
        rgba(0,0,0,0.02) 16px
    );
}

.dept-soon-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-purple);
    background: rgba(124,58,237,0.08);
    padding: 0.25rem 0.875rem;
    border-radius: 2rem;
    border: 1px solid rgba(124,58,237,0.15);
    letter-spacing: 0.04em;
}

.dept-more-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}
/* =====================================================================
   EXAM TIPS / SURE QUESTIONS — Paste this into your style-combined.css
   Add it anywhere after the existing section styles.
   ===================================================================== */

.tips-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.tips-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), var(--primary-purple), transparent);
    opacity: 0.25;
}

.tips-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* ---- Cards Row ---- */
.tips-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

/* ---- Single Card ---- */
.tips-card {
    background: white;
    border-radius: 1.125rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
}

.tips-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.25);
}

/* ---- Card Top ---- */
.tips-card-top {
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.tips-exam-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary-blue), #4f86f7);
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.tips-exam-badge--purple {
    background: linear-gradient(135deg, var(--primary-purple), #9b6cf7);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.tips-exam-badge--green {
    background: linear-gradient(135deg, #059669, #34d399);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.tips-subject {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

/* ---- Bullet List ---- */
.tips-list {
    list-style: none;
    padding: 1.125rem 1.5rem;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.tips-list li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tips-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.85rem;
}

/* ---- Card Footer ---- */
.tips-card-foot {
    padding: 0.75rem 1.5rem;
    background: rgba(37, 99, 235, 0.04);
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .tips-cards-row {
        grid-template-columns: 1fr;
    }
    .tips-section {
        padding: 3.5rem 0;
    }
}
