/* Premium Educational Platform Stylesheet */
:root {
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --accent: #06b6d4;
    --dark-bg: #090d16;
    --card-bg: #111827;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.07);
    --font: 'Plus Jakarta Sans', sans-serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar Construction */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
}

.nav-btn {
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease;
}

.nav-btn:hover {
    background: var(--primary-light);
}

/* Hero Section Base */
.hero {
    padding: 180px 24px 100px;
    background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.15) 0%, transparent 50%);
    text-align: center;
}

.hero-container {
    max-width: 850px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(79, 70, 229, 0.12);
    border: 1px solid rgba(79, 70, 229, 0.25);
    color: #a5b4fc;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(to right, #6366f1, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Global Grid System */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

/* Card Structures */
.edu-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    padding: 36px;
    border-radius: 20px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}

.edu-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 70, 229, 0.4);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.edu-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.edu-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Buttons Rules */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Portal Highlight Section */
.portal-section {
    padding: 60px 0;
}

.portal-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
}

.portal-content {
    max-width: 650px;
    margin: 0 auto;
}

.portal-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.portal-content p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.portal-btn {
    display: inline-block;
    color: #ffffff;
    background: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.portal-btn:hover {
    background: var(--primary-light);
}

/* Info and Stats Grid Blocks */
.info-block h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.info-block p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.text-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.stats-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 16px;
}

.stat-box h4 {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.stat-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Educational Platform Footer */
.footer {
    background: #05070c;
    border-top: 1px solid var(--border);
    padding: 60px 24px 30px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    max-width: 400px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #4b5563;
    font-size: 0.85rem;
}

/* Responsive Handling */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.4rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 32px; }
    .hero-buttons { flex-direction: column; }
    .portal-box { padding: 32px 24px; }
}