/* Academic Navigator Portal - Professional Styles */

:root {
    --primary: #1a3a5f;
    --secondary: #2c5aa0;
    --accent: #4a90d9;
    --text: #333333;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
}

.logo a {
    color: var(--white);
    text-decoration: none;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--accent);
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: #3a7bc8;
    transform: translateY(-2px);
}

.section {
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section.alt {
    background: var(--light);
}

.section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.image-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.note, .disclaimer {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1.5rem;
    font-style: italic;
}

.footer {
    background: var(--primary);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
}

.footer .small {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .content-grid, .content-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .nav {
        display: none;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
}