:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --accent: #f97316;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    margin: 0;
    padding-bottom: 0;
}

.navbar {
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.navbar .nav-link {
    font-weight: 600;
    color: var(--text-dark);
    margin-left: 0.5rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: #ea580c;
    border-color: #ea580c;
    color: #fff;
}

.main-content {
    padding-top: 80px;
}

.section {
    padding: 4.5rem 0;
}

.section.alt {
    background: #fff;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-heading .subtitle {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-heading p {
    color: var(--text-muted);
}

.hero {
    position: relative;
    background: linear-gradient(130deg, rgba(79, 70, 229, 0.95), rgba(67, 56, 202, 0.92)), url('../images/campus.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero .container {
    padding-top: 8rem;
    padding-bottom: 6rem;
}

.hero .badge {
    background: rgba(249, 115, 22, 0.15);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.15rem;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.85);
}

.stats-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.stat-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.stat-card .value {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-card .label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.feature-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.feature-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.timeline {
    border-left: 3px solid rgba(79, 70, 229, 0.2);
    padding-left: 1.75rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.75rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.85rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.card-news {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
    border: none;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.08);
}

.card-news .date {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.card-news h5 {
    font-size: 1.25rem;
    font-weight: 700;
}

.list-check {
    list-style: none;
    padding-left: 0;
}

.list-check li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.list-check span {
    color: var(--primary);
    font-weight: 700;
}

.page-hero {
    position: relative;
    padding: 6rem 0 4rem;
    background: linear-gradient(140deg, rgba(79, 70, 229, 0.85), rgba(67, 56, 202, 0.85)), url('../images/learning.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.page-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
}

.info-panel {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.info-panel h4 {
    font-weight: 700;
}

.footer {
    background: #0f172a;
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-link:hover {
    color: #fff;
}

.table.custom-table {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
}

.table.custom-table thead {
    background: rgba(79, 70, 229, 0.08);
}

.table.custom-table th {
    font-weight: 700;
}

blockquote.highlight {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--text-muted);
}

.badge-soft {
    background: rgba(79, 70, 229, 0.12);
    color: var(--primary);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.4rem 1rem;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(79, 70, 229, 0.08);
    color: var(--primary);
}

.contact-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-dark);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: rgba(79, 70, 229, 0.04);
}
