/* Modern Styles for University Official Site */
:root {
    --primary-color: #003366;
    --secondary-color: #f4f4f4;
    --accent-color: #cc0000;
    --text-color: #333;
}

body.modern-body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.6;
}

.modern-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.modern-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.modern-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modern-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.modern-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.modern-nav a:hover {
    color: #ccc;
}

.hero-section {
    background: linear-gradient(rgba(0,51,102,0.7), rgba(0,51,102,0.7)), url('../assets/images/School_Emblem.png'); /* Fallback or placeholder */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.news-section {
    padding: 50px 0;
    background-color: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.news-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-modern {
    background-color: #222;
    color: #999;
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

/* Hidden link styling */
.secret-link {
    color: #222; /* Invisible on dark footer */
    text-decoration: none;
    cursor: default;
}
.secret-link:hover {
    color: #333;
}
