:root {
    --gold: #b5985a;
    --dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: white;
    color: var(--dark);
    scroll-behavior: smooth;
}

.text-gradient {
    background: linear-gradient(45deg, #b5985a, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 8%; background: white; border-bottom: 1px solid #f1f5f9;
}
.logo { font-weight: 800; font-size: 1.5rem; }
.logo span { color: var(--gold); }
.nav-links a { text-decoration: none; color: var(--text-muted); margin-left: 25px; font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
.nav-links a.active { color: var(--dark); border-bottom: 2px solid var(--gold); }

/* Header */
.edu-header { text-align: center; padding: 100px 20px; background: var(--bg-light); }
.badge { color: var(--gold); font-weight: 800; font-size: 0.7rem; letter-spacing: 2px; }
h1 { font-size: 3.5rem; margin-top: 15px; font-weight: 800; }

/* Modal */
.modal {
    display: none; position: fixed; z-index: 9999;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px);
    overflow-y: auto;
}
.modal-content {
    background: white; margin: 50px auto; padding: 60px;
    width: 90%; max-width: 900px; border-radius: 40px;
    position: relative; animation: modalAnim 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalAnim {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.close-btn { position: absolute; right: 40px; top: 30px; font-size: 40px; cursor: pointer; color: #cbd5e1; }

/* Article Layouts */
.container { max-width: 1100px; margin: -60px auto 100px; padding: 0 20px; }

.featured-article {
    background: var(--dark); color: white; padding: 60px;
    border-radius: 40px; display: flex; flex-direction: column;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15); margin-bottom: 80px;
}
.featured-article h2 { font-size: 2.5rem; margin: 20px 0; }
.featured-article p { opacity: 0.7; font-size: 1.1rem; line-height: 1.8; margin-bottom: 30px; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.article-card { cursor: pointer; transition: 0.3s; }
.article-card:hover { transform: translateY(-10px); }
.article-thumb { height: 240px; border-radius: 30px; margin-bottom: 20px; background: #e2e8f0; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.category { font-weight: 800; color: var(--gold); font-size: 0.75rem; letter-spacing: 1px; }

/* Modal Text Styling */
.full-text p { line-height: 2; color: #475569; font-size: 1.1rem; margin-bottom: 20px; }
.full-text h4 { font-size: 1.4rem; color: var(--dark); margin-top: 40px; }
