* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: #222;
    background-color: #f5f6fa;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header {
    position: relative;
    color: #fff;
}

.top-bar {
    background: #ffffff;
    color: #7e3342;
    font-size: 14px;
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 8px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.brand-single {
    justify-content: flex-start;
}

.brand-link {
    display: flex;
    align-items: center;
}

.logo-main {
    height: 44px;
}

.logo-partner {
    height: 32px;
}

.brand-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.35);
}

.top-nav a {
    margin-left: 18px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.9;
}

.top-nav a:hover {
    opacity: 1;
}

.hero {
    position: relative;
    background-image: url("../img/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 440px;
    display: flex;
    align-items: center;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            #d4a23a 18%,
            #f6da89 40%,
            #fff5c8 50%,
            #f6da89 60%,
            #d4a23a 82%,
            transparent 100%);
    opacity: 0.92;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(126, 51, 66, 0.94), rgba(139, 0, 20, 0.9));
}

.hero-content {
    position: relative;
    padding: 100px 0 120px;
    text-align: left;
    max-width: 900px;
}

.hero-title {
    margin: 0;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: #fff;
    font-weight: 700;
}

/* EMBA */
.hero-title:nth-of-type(1) {
    font-size: 90px;
    color: #d4a23a;
    line-height: 1;
    margin-bottom: 20px;
    font-weight: 800;
    display: inline-block;
    position: relative;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Decorative line under EMBA */
.hero-title:nth-of-type(1)::after {
    content: "";
    display: block;
    width: 60px;
    height: 6px;
    background: #fff;
    margin-top: 15px;
    border-radius: 3px;
}

/* University Names */
.hero-title:nth-of-type(2),
.hero-title:nth-of-type(3) {
    font-size: 32px;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 5px;
}

.hero-title:nth-of-type(3) {
    margin-bottom: 35px;
}

/* Redesigned Hero Features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 650px;
}

.hero-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #fff;
    font-size: 18px;
    line-height: 1.5;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-feature-item i {
    color: #d4a23a;
    /* Gold icon */
    font-size: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}

.hero-feature-item span {
    opacity: 0.95;
    font-weight: 300;
}

margin-bottom: 25px;
}

.hero-subtitle {
    position: relative;
    font-size: 18px;
    max-width: 720px;
    font-weight: 500;
    opacity: 0.95;
    padding-bottom: 10px;
}

.hero-subtitle::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #f6da89 0%, #d4a23a 50%, #b27b19 100%);
}

.hero-line {
    position: relative;
    font-size: 13px;
    max-width: 760px;
    opacity: 0.9;
    margin-top: 6px;
    padding: 6px 14px;
}

.hero-line:first-of-type {
    margin-top: 10px;
}

.hero-line::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(246, 218, 137, 0.22), rgba(212, 162, 58, 0.32));
    opacity: 0.9;
    pointer-events: none;
}

.hero-line span {
    position: relative;
}

.hero-subtitle,
.hero-line {
    margin-left: auto;
    margin-right: auto;
}

main {
    background: #f5f6fa;
}

.section {
    padding: 56px 0;
}

.section-light {
    background: #ffffff;
}

.section-gray {
    background: #f6f1ea;
}

.section-gradient {
    background: radial-gradient(circle at top left, #b21f2d 0, #7e3342 55%, #260105 100%);
    color: #fff;
}

.section-title {
    font-size: 24px;
    margin-bottom: 18px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    border-radius: 3px;
    background: #7e3342;
    margin-top: 8px;
}

.section-title-light::after {
    background: #d4a23a;
}

.lead {
    font-size: 16px;
    margin-bottom: 10px;
}

.section p+p {
    margin-top: 8px;
}

.feature-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 22px;
}

.feature-card {
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 18px 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.feature-card h3 {
    position: relative;
    font-size: 16px;
    margin-bottom: 8px;
    padding-bottom: 6px;
}

.feature-card h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #f6da89, #d4a23a);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f6da89 0%, #d4a23a 50%, #b27b19 100%);
}

.feature-card::after {
    position: absolute;
    top: 10px;
    right: 14px;
    padding: 2px 10px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #260105;
    background: rgba(246, 218, 137, 0.9);
}

.feature-card:nth-child(1)::after {
    content: "1";
}

.feature-card:nth-child(2)::after {
    content: "2";
}

.feature-card:nth-child(3)::after {
    content: "3";
}

.feature-card:nth-child(4)::after {
    content: "4";
}

.feature-card:nth-child(5)::after {
    content: "5";
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: flex-start;
}

.section-sub {
    margin-top: 32px;
}

.icon-list {
    list-style: none;
    margin-top: 8px;
}

.icon-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.icon-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7e3342;
}

.section-gradient .icon-list li::before {
    background: #d4a23a;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    margin: 18px 0 24px;
}

.stat-card {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    padding: 14px 18px 16px;
    box-shadow: 0 8px 18px rgba(15, 26, 58, 0.06);
    text-align: left;
    overflow: hidden;
}

.stat-number {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 6px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #7e3342;
    background: linear-gradient(120deg, #fdf5e5 0%, #f6da89 40%, #d4a23a 100%);
    box-shadow: 0 3px 8px rgba(126, 51, 66, 0.18);
}

.stat-card::before {
    content: "";
    position: absolute;
    right: -18px;
    top: 0;
    width: 72px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(212, 162, 58, 0.18), rgba(212, 162, 58, 0));
    pointer-events: none;
}

.stat-label {
    font-size: 13px;
    margin-top: 2px;
    color: #555;
}

.table-title {
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 18px;
}

.table-wrapper {
    overflow-x: auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(15, 26, 58, 0.04);
}

.alumni-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.alumni-table th,
.alumni-table td {
    padding: 10px 12px;
    white-space: nowrap;
}

.alumni-table thead {
    background: #7e3342;
    color: #fff;
}

.alumni-table tbody tr:nth-child(even) {
    background: #f7f8fc;
}

.alumni-table tbody tr:hover {
    background: #fdf5e5;
}

.story {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px 22px 22px;
    box-shadow: 0 10px 24px rgba(15, 26, 58, 0.06);
    margin-bottom: 20px;
}

.story-header {
    margin-bottom: 10px;
}

.story-name {
    font-size: 18px;
    font-weight: 600;
}

.story-meta {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

.story-tagline {
    font-size: 14px;
    color: #d4a23a;
    margin-top: 4px;
}

.story-body p+p {
    margin-top: 6px;
}

.site-footer {
    background: #2b0206;
    color: #f4e5ce;
    font-size: 13px;
    padding: 18px 0;
}

.footer-inner {
    gap: 16px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-text {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .flex-between {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand {
        gap: 8px;
    }

    .logo-main {
        height: 40px;
    }

    .logo-partner {
        height: 26px;
    }

    .top-nav {
        display: none;
    }

    .hero-content {
        padding: 60px 24px 70px;
    }

    .hero-features {
        max-width: 100%;
    }

    .hero {
        min-height: 260px;
    }

    .hero-title:nth-of-type(1) {
        font-size: 56px;
    }

    .hero-title:nth-of-type(1)::after {
        width: 40px;
        height: 4px;
        margin-top: 10px;
    }

    .hero-title:nth-of-type(2),
    .hero-title:nth-of-type(3) {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 2px;
    }

    .hero-title:nth-of-type(3) {
        margin-bottom: 25px;
    }

    .hero-subtitle {
        font-size: 16px;
        padding-left: 15px;
    }

    .two-column {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* --- Text Justification Global --- */
p, li {
    text-align: justify;
}

/* Specific overrides for centered or left-aligned contexts if needed */
.hero-content {
    /* Hero is usually left aligned or centered, checking existing style it is text-align: left */
}

.text-center {
    text-align: center !important;
}

/* Ensure feature cards or similar components benefit from justification */
.feature-card p, 
.curriculum-card p,
.timeline-event p {
    text-align: justify;
}

