/* Base Styles and Variables */
:root {
    --primary: #002147; /* Deep Academic Blue */
    --accent: #D4AF37; /* Gold */
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-gray: #666;
    --bg-light: #f9fafb;
    --white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utility */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: #b5952f;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 1rem 2rem;
    font-weight: 500;
    border-radius: 4px;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.btn-primary-sm {
    background: var(--accent);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-primary-sm:hover {
    background: #b5952f;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.uni-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    line-height: 1.1;
}

.navbar.scrolled .uni-name {
    color: var(--primary);
}

.uni-tag {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar.scrolled .uni-tag {
    color: var(--text-gray);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.95rem;
}

.navbar.scrolled .nav-links a:not(.btn-primary-sm) {
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--accent);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,33,71,0.95) 0%, rgba(0,33,71,0.7) 100%), 
                url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80'); /* Placeholder university image */
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 4rem;
}

.hero-subtitle {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.highlight {
    color: var(--accent);
    font-style: italic;
}

.hero-desc {
    max-width: 600px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
}

.hero-btns {
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.2);
    background: var(--white);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* News Section */
.news {
    padding: 6rem 0;
    background: var(--bg-light);
}

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

.news-item {
    background: var(--white);
    display: flex;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    gap: 1.5rem;
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow-md);
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border-right: 1px solid #eee;
    min-width: 80px;
}

.day {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.month {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-gray);
    font-weight: 500;
}

.news-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body); /* More readable heading for news */
    font-weight: 600;
}

.news-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.news-content a {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 5rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none; /* simple simple hide for mobile for this demo */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
