body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Top Black Header */
.top-nav {
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    position: relative;
}

/* Left: Logo & University Name */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 40px;
    margin-right: 10px;
}

.logo-container span {
    font-size: 20px;
    font-weight: bold;
}

/* Search Box */
.search-box {
    position: absolute;
    top: 35px; /* Adjusted below gateways */
    right: 30px;
    display: flex;
    align-items: center;
    background-color: black;
    border: 1px solid white;
    padding: 5px 10px;
    color: white;
    font-size: 14px;
}

.search-box input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    font-size: 14px;
    width: 150px;
}

.search-box input::placeholder {
    color: white;
}

/* Top Right: Gateways Navigation */
.nav-links {
    position: absolute;
    top: 10px;
    right: 30px;
    display: flex;
    gap: 15px;
    font-size: 12px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Maroon Bar for College of Arts and Sciences */
.maroon-bar {
    background-color: #570000;
    color: white;
    text-align: center;
    padding: 15px
    font-size: 22px;
    font-weight: bold;
}

/* Header */
header {
    background-color: #730000;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header h1 {
    font-size: 1.8em;
    margin: 0;
}

.main-header input {
    padding: 8px;
    width: 220px;
    border: none;
    border-radius: 4px;
}

/* Feature Section */
.feature {
    position: relative;
    text-align: center;
    color: white;
}

.feature img {
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    width: 40%;
}

/* College of Arts and Sciences Section */
.college-info {
    display: flex;
    background: white;
    padding: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 5px 0;
}

/* Ensures links inside <li> items are styled properly */
.sidebar ul li a {
    text-decoration: none;
    color: black;
    display: block;
    padding: 8px 0;
    font-weight: bold;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

/* Main Content */
.content {
    flex-grow: 1;
    padding: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Adjusts layout when screen is smaller */
@media screen and (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-item a {
    display: block;
    text-align: center;
    background: #990000;
    color: white;
    padding: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.grid-item a:hover {
    background: #770000;
    transform: scale(1.05);
}

/* Arts and Sciences News Section */
.news {
    padding: 20px;
    background: #f9f9f9;
}

.social-links {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
}

.social-links img {
    width: 25px;
    height: 25px;
}

.news-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-articles article {
    width: 100%;
    background: #ffffff;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Header */
.top-bar {
    background-color: #ddd;
    color: black;
    text-align: right;
    padding: 10px;
}

.top-bar nav a {
    margin: 0 10px;
    color: black;
    text-decoration: none;
    font-weight: bold;
}
/* Footer - Top Section (Dark Garnet/Maroon) */
footer {
    background: #570000;
    color: white;
    padding: 20px;
}

/* Footer - Bottom Section (Black) */
.footer-bottom {
    background: black;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    margin: 0 8px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}
