        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif; /* Modern Font */
            background: #f0f2f5; /* Light, neutral background */
            min-height: 100vh;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        /* Developer Info (from previous request) */
        .developer-info {
                position: fixed;
				top: 8%;
				left: 115px;
				transform: translateY(-50%);
				text-align: center;
				color: #ffffff;
				z-index: 10;
        }

        .developer-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid #fff;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            
        }

        .developer-info h4 {
            margin: 0;
            font-size: 1.2em;
            font-weight: 600;
        }

        .developer-info p {
            
            font-size: 0.9em;
            opacity: 0.7;
        }
.hide-on-scroll {
  opacity: 0; /* Starts hidden */
  transform: translateY(-50px); /* Optional: moves it slightly off-screen */
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; /* Smooth transition */
}

.show-on-scroll {
  opacity: 1; /* Becomes visible */
  transform: translateY(0); /* Returns to original position */
}
        
        @media (max-width: 1200px) {
            .developer-info {
                display: none;
            }
        }

  /* Container - Added max-width and margin for centering */
        .container {
            max-width: 1400px;
            width: 95%; /* Adjust width for better mobile view */
            margin: 20px auto;
            background: white;
            border-radius: 20px;
            box-shadow: 0 25px 50px rgba(0,0,0,0.1); /* Softer shadow */
            overflow: hidden;
            flex-grow: 1;
        }

        /* Header - Modern Gradient */
        .header {
            background: linear-gradient(135deg, #076916 0%, #121212 100%); /* Blue gradient */
            color: white;
            padding: 54px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .header::before { /* subtle wave effect */
            content: '';
            position: absolute;
            bottom: -50px;
            left: 0;
            width: 100%;
            height: 100px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transform: skewY(-3deg);
        }

        .header h1 {
            font-size: 2.8em;
            margin-bottom: 5px;
            letter-spacing: 1px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        }

        .header p {
            font-size: 1.1em;
            opacity: 0.95;
            font-weight: 300;
        }

        .upload-section {
            padding: 27px;
            text-align: center;
            background: #f8f9fa;
            border-bottom: 2px solid #e9ecef;
        }

        .upload-box {
            border: 3px dashed #667eea;
            border-radius: 15px;
            padding: 40px;
            background: white;
            cursor: pointer;
            transition: all 0.3s;
        }

        .upload-box:hover {
            border-color: #764ba2;
            background: #f8f9ff;
        }

        .upload-box input {
            display: none;
        }

        .upload-icon {
            font-size: 3em;
            color: #667eea;
            margin-bottom: 15px;
        }

        .analysis-section {
            padding: 40px;
            display: none;
        }

        .group-buttons {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .group-btn {
            flex: 1;
            min-width: 200px;
            padding: 20px;
            border: none;
            border-radius: 12px;
            font-size: 1.1em;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            color: white;
        }

        .group-btn.science {
            background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
        }

        .group-btn.humanities {
            background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
        }

        .group-btn.commerce {
            background: linear-gradient(135deg, #4776e6 0%, #8e54e9 100%);
        }

        .group-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }

        .group-btn.active {
            box-shadow: 0 0 0 3px white, 0 0 0 6px currentColor;
        }

        .dropdown-section {
            display: none;
        }

        .dropdown-section.active {
            display: block;
            animation: slideDown 0.3s ease-out;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .category-buttons {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-bottom: 25px;
        }

        .category-btn {
            padding: 15px 20px;
            border: 2px solid #667eea;
            background: white;
            border-radius: 10px;
            font-size: 1em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            color: #667eea;
        }

        .category-btn:hover {
            background: #667eea;
            color: white;
        }

        .category-btn.active {
            background: #667eea;
            color: white;
        }

        .subject-dropdown {
            margin: 20px 0;
            padding: 15px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            display: none;
        }

        .subject-dropdown.active {
            display: block;
        }

        .subject-dropdown select {
            width: 100%;
            padding: 12px;
            font-size: 1em;
            border: 2px solid #667eea;
            border-radius: 8px;
            background: white;
            cursor: pointer;
        }

        .results-display {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 25px;
            margin-top: 20px;
            display: none;
        }

        .results-display.active {
            display: block;
            animation: fadeIn 0.3s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .results-display h3 {
            color: #667eea;
            margin-bottom: 20px;
            font-size: 1.5em;
        }

        .export-btn {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-weight: bold;
            cursor: pointer;
            margin: 10px 10px 10px 0;
            transition: all 0.3s;
        }

        .export-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }

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

        .stat-box {
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            color: white;
            font-weight: bold;
        }

        .stat-box.passed {
            background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
        }

        .stat-box.failed {
            background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
        }

        .stat-box.absent {
            background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
        }

        .stat-box .number {
            font-size: 2em;
            margin-bottom: 5px;
        }

        .stat-box .label {
            font-size: 0.9em;
            opacity: 0.9;
        }

        .results-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 20px;
        }

        .results-table thead {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .results-table th {
            padding: 15px;
            text-align: left;
            font-weight: 600;
            font-size: 0.95em;
            text-transform: uppercase;
        }

        .results-table td {
            padding: 12px 15px;
            border-bottom: 1px solid #e9ecef;
        }

        .results-table tbody tr {
            transition: all 0.3s;
        }

        .results-table tbody tr:hover {
            background: #f8f9ff;
        }

        .results-table tbody tr.failed {
            background: #ffe0e0;
        }

        .results-table tbody tr.failed:hover {
            background: #ffd0d0;
        }

        .rank-cell {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            color: white;
            font-weight: bold;
            text-align: center;
            border-radius: 8px;
            padding: 5px 10px !important;
            display: inline-block;
            min-width: 40px;
        }

        .grade-badge {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: bold;
        }

        .grade-a-plus {
            background: #d4edda;
            color: #155724;
        }

        .grade-a {
            background: #d1ecf1;
            color: #0c5460;
        }

        .grade-b-plus {
            background: #fff3cd;
            color: #856404;
        }

        .grade-b {
            background: #ffeaa7;
            color: #856404;
        }

        .grade-c-plus {
            background: #f8d7da;
            color: #721c24;
        }

        .grade-c {
            background: #f5c6cb;
            color: #721c24;
        }

        .grade-d {
            background: #ff6b6b;
            color: white;
        }

        .grade-ab {
            background: #95a5a6;
            color: white;
        }

        .status-badge {
            padding: 5px 12px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.9em;
        }

        .status-ehs {
            background: #d4edda;
            color: #155724;
        }

        .status-nhs {
            background: #f8d7da;
            color: #721c24;
        }

        .section-title {
            font-size: 1.3em;
            color: #333;
            margin: 25px 0 15px 0;
            padding: 10px;
            background: white;
            border-left: 5px solid #667eea;
        }

        .no-data {
            text-align: center;
            padding: 40px;
            color: #999;
            font-size: 1.1em;
        }

        .loading {
            text-align: center;
            padding: 20px;
            color: #667eea;
            font-size: 1.1em;
        }
         /* New Footer Style */
        .page-footer {
            margin-top: 20px;
            padding: 15px;
            text-align: center;
            color: #6c757d;
            font-size: 0.9em;
            width: 100%;
            max-width: 1400px;
        }
        
        .page-footer a {
            color: #007bff;
            font-weight: 600;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .page-footer a:hover {
            color: #0056b3;
            text-decoration: underline;
        }
         /* Utility Classes from original */
        @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        .dropdown-section.active { display: block; animation: slideDown 0.3s ease-out; }
        .results-display.active { display: block; animation: fadeIn 0.3s ease-out; }
        .loading { text-align: center; padding: 20px; color: #007bff; font-size: 1.1em; }
