﻿.page-hero {
    background: linear-gradient(135deg, #003338 0%, #006064 55%, #00897b 100%);
    position: relative;
    overflow: hidden;
    padding: 72px 0 56px;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

.breadcrumb a {
    color: rgba(255, 255, 255, .7);
    transition: .2s;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb .sep {
    color: rgba(255, 255, 255, .3);
}

.breadcrumb .current {
    color: var(--gold);
}

.page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(26px, 4vw, 46px);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
}

.hero-gold-bar {
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
    border-radius: 4px;
    margin: 14px 0 18px;
}

.hero-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
}

.hero-badge svg {
    color: var(--gold);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.info-strip {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.info-strip .container {
    display: flex;
}

.info-item {
    flex: 1;
    padding: 22px 20px;
    border-right: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 14px;
}

.info-item:last-child {
    border-right: none;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
    color: #00695c;
}

.info-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}

.info-val {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy-deep);
}

@media(max-width:700px) {
    .info-strip .container {
        flex-wrap: wrap;
    }

    .info-item {
        flex: 1 1 45%;
        border-right: none;
        border-bottom: 1px solid var(--line);
    }
}

.semesters-section {
    padding: 60px 0;
}

.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--royal);
    margin-bottom: 12px;
}

.sec-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.sec-h2 {
    margin: 0 0 6px;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 800;
    color: var(--navy-deep);
}

.sec-sub {
    margin: 0 0 40px;
    font-size: 14.5px;
    color: var(--muted);
}

.semester-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

@media(max-width:880px) {
    .semester-grid {
        grid-template-columns: 1fr;
    }
}

.sem-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: 0 4px 20px -8px rgba(8, 29, 69, .08);
    transition: transform .3s var(--ease), box-shadow .3s;
}

.sem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px -12px rgba(8, 29, 69, .14);
}

.sem-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.sem-header.navy {
    background: var(--navy-deep);
}

.sem-header.gold {
    background: linear-gradient(90deg, #c98700, #f0ab00);
}

.sem-header.teal {
    background: linear-gradient(90deg, #006064, #00897b);
}

.sem-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sem-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.sem-total-badge {
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead tr {
    background: var(--cream);
}

thead th {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: left;
    border-bottom: 2px solid var(--line);
}

tbody tr {
    border-bottom: 1px solid var(--line);
    transition: background .15s;
}

tbody tr:last-child {
    border-bottom: none;
}

tbody tr:hover {
    background: #e8faf9;
}

tbody td {
    padding: 11px 14px;
    font-size: 13px;
}

tbody td:first-child {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}

tbody td:nth-child(2) {
    color: var(--ink);
}

tbody td:last-child {
    text-align: center;
    font-weight: 700;
    color: #00695c;
    white-space: nowrap;
}

.total-row td {
    padding: 10px 14px;
    background: var(--cream);
    font-weight: 800;
    font-size: 13px;
    color: var(--navy-deep);
}

.total-row td:last-child {
    color: var(--navy-deep);
}

.or-row td {
    padding: 6px 14px;
    background: #f0faf9;
    font-size: 12px;
    font-weight: 800;
    color: #00695c;
    text-align: center;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
}