
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(120deg, #fdfbfb, #ebedee);
    margin: 0;
    padding: 0;
    color: #333;
    height: 100%;
    width: 100%;
    min-height: 100vh;
}
.welcome-text{
    max-width: 900px;
    width: fit-content;
    height: fit-content;
    margin: 10px auto 10px auto;
    padding-top: 0;
    padding: 20px 25px;
        background:rgba(52, 152, 219, 0.1) ;
    border-left: 6px solid #2980b9;
    border-radius: 12px;
    font-size: 18px;
    line-height: 1.2;
    color: #2c3e50;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    white-space: pre-wrap;
    border-right: 3px solid #2980b9;
    animation: blink 0.75s step-end infinite;
    position: relative;
}
.table-wrapper {
    width: 90%;
    max-width: 900px;
    margin: 30px auto;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.table-wrapper h2 {
    text-align: center;
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

table thead {
    background: linear-gradient(105deg, #b31919 20%,#06ad49 80%);
    color: white;
}

table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

table tbody tr {
    border-bottom: 1px solid #ecf0f1;
    transition: background 0.2s ease;
}
table td {
    padding: 12px 15px;
}

table td:last-child {
    text-align: center;
    font-weight: bold;
    color: #27ae60;
}

.domain-row {
    background: #ecf0f1;
    font-weight: bold;
    color: #2c3e50;
}

.total-row {
    background: #34495e;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 40px auto 20px auto;
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
}

h2 {
    font-size: 28px;
    color: #34495e;
    margin-bottom: 20px;
}

p {
    color: rgb(9, 84, 70);
    font-size: 26px;
    margin-bottom: 30px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

li {
    margin: 0;
}

/* --- Subjects Section --- */
.subjects {
    width: 90%;
    max-width: 900px;
    margin: 40px auto 60px auto;
    padding: 30px;
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.subjects h2, .subjects h3 {
    color: #34495e;
    margin-bottom: 15px;
}

.subjects p {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 20px;
}

/* Common button style for all buttons */
.btn {
    display: inline-block;
    padding: 18px 28px;
    background: #3498db;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    min-width: 140px;
    transition: all 0.3s ease;
    text-align: center;
    margin: 5px; 
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-4px) scale(1.03);
}

/* Flex container for buttons */
.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 10px;
    margin-bottom: 25px;
}
#site-footer {
    text-align: center;
    background: #1a237e;
    color: #fff;
    padding: 30px 15px;
    font-family: Arial, sans-serif;
    margin-top: 50px;
}

#site-footer h2 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #ffd700;
}

#site-footer p {
    margin: 5px 0 15px 0;
    font-size: 16px;
    color: #fff;
}

#site-footer .footer-links {
    display: flex;
    flex-wrap: wrap;       
    justify-content: center;
    gap: 15px;            
}

#site-footer .footer-links a {
    flex: 1 1 30%;      
    max-width: 200px;     
    padding: 8px 12px;
    background: #6c757d;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    text-align: center;
    box-sizing: border-box;
}

#site-footer .footer-links a:hover {
    background: #ffd700;
    color: #1a237e;
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

#site-footer {
    margin-top: 15px;
}
.footer-nav{
    margin-top: 10px;
}

#site-footer .footer-nav a {
    color: #ffd700;
    text-decoration: none;
    margin: 0 10px;
    transition: 0.3s;
}

#site-footer .footer-nav a:hover {
    color: #fff;
    text-decoration: dotted underline;
}

#site-footer .copyright {
    margin-top: 15px;
    font-size: 0.9em;
    color: #ccc;
}

@media (max-width: 768px) {
    #site-footer .footer-links a {
        flex: 1 1 80%; 
        max-width: none; 
    }
}