/* Root variable to help maintain consistency and easy coding */
:root {
    --primary-color:  #FFCC33;
    --secondary-color: #444;
    --text-color: #ddd;
    --background-color: #2c2c2c;
    --transition: color 0.3s ease;
}

/* Base styles for text */
body {
    font-family: "Open Sans", sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    scroll-behavior: smooth;
}

h1, h2, h3 {
    margin-bottom: 10px;
}

p {
    text-align: justify;
}

/* Base styles for links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Base styles for images */
img {
    max-width: 100%;
    height: auto;
}

/* Base styles for containers */
.container {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: #3c3c3c; /* Added background color for container */
    border-radius: 8px; /* Added border-radius for a floaty appearance */
    box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Added box-shadow for depth */
}

/* Base styles for sections */
section {
    margin-bottom: 30px;
    text-align: center; /* Center content */
}

section h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}


/* Header styles */
header {
    padding: 20px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    width: 50px; /* Adjust as needed */
    margin-right: 10px;
}

header .logo h1 {
    font-size: 24px;
}

#intro p{
    text-align: center;
}

/* Navigation styles */
nav ul {
    list-style-type: none;
    display: flex;
    margin-right: 1rem;
    align-items: center;
}

nav ul li {
    margin-right: 20px;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    font-size: 1rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a.active-link{
    color: var(--primary-color);
}

/* Course links styles */
.dept-links {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center; /* Here I am keeping the list centered horizontally */
    flex-wrap: wrap; /* This will wrap the items to the next line if necessary */
    gap: 10px;
}

.dept-links li {
    margin: 10px;
}

.dept-links li a {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    color: var(--text-color);
}

.dept-links li a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Footer styles */
footer {
    padding: 20px 0;
    text-align: center;
    border-radius: 0 0 4px 4px;
}

footer p {
    color: var(--text-color);
    text-align: center;
}

.quick-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.quick-links a {
    color: var(--text-color);
    transition: var(--transition);
}

.quick-links a:hover {
    color: var(--primary-color);
}

/* Media Queries for responsiveness */
@media screen and (max-width: 768px) {
    .container {
        width: 90%;
    }

    /*Other styles for smaller screens */
}
