:root {
    --primary-color: #8B0000;
    /* Dark Red / Maroon */
    --primary-light: #A52A2A;
    --secondary-color: #FFD700;
    /* Gold */
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --font-heading: 'Merriweather', serif;
    /* Classic academic look */
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-nav {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 10px;
}

.nav-link:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.feature-menu-item:hover .dropdown-menu {
    display: block !important;
    animation: fadeIn 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color) !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(139, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--white);
}

/* Features / Info Section */
.info-section {
    padding: 4rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    margin-bottom: 1rem;
}

/* Latest News */
.news-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.news-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Dean's Welcome */
.welcome-section {
    padding: 5rem 0;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.welcome-img {
    flex: 1;
    min-width: 300px;
}

.welcome-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.welcome-text {
    flex: 1;
    min-width: 300px;
}

/* Footer */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links li {
    list-style: none;
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.copyright {
    background-color: #111;
    padding: 1.5rem 0;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}