:root {
    --bg-color: #ffffff;
    --text-color: #222;
    --primary-color: #4f46e5;
}

body.dark {
    --bg-color: #121212;
    --text-color: #f1f1f1;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
    color: white;
}

.nav-links a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 70px 20px;
}

.hero h1 {
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 15px 0;
}
.about p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 15px 0;
}
/* Container */
.button-container {
    width: 80%;
    max-width: 900px;
    margin: 60px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Buttons */
.button-container button {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background-color: #0d6efd;
    color: #ffffff;
    transition: all 0.3s ease;
}

/* Hover Effect */
.button-container button:hover {
    background-color: #084298;
    transform: translateY(-3px);
}
/* Marquee container */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background-color: #0d6efd;
    padding: 12px 0;
    border-radius: 6px;
    margin: 20px auto;
}

/* Marquee text */
.marquee-text {
    display: inline-block;
    white-space: nowrap;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding-left: 100%;
    animation: scrollText 15s linear infinite;
}

/* Animation */
@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* Table Container 1 */
.container {
    width: 90%;
    margin: 30px auto;
    padding: 15px;
    border: 1px solid #444;
    border-radius: 6px;
    }
.btn {
    display: inline-block;
    margin-bottom: 15px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    }
.btn:hover {
    background-color: #0056b3;
    }
/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-family: Arial, sans-serif;
}

table thead {
    background-color: #2c3e50;
    color: #ffffff;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

table tbody tr:hover {
    background-color: #dfe6e9;
    cursor: pointer;
}

/* Highlight selected row */
.selected {
    background-color: #74b9ff !important;
    color: #fff;
}
/* Footer */
footer {
    background: #4f46e5;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

body.dark footer {
    background: #1e1e1e;
}
