:root {
    color-scheme: light;
    --color-ink: #172b4d;
    --color-muted: #5d6b82;
    --color-blue: #1769aa;
    --color-blue-dark: #104d82;
    --color-white: #fff;
    --color-line: #dce7f1;
    --content-width: 1200px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

.logout-page {
    background: linear-gradient(180deg, #f9fbff 0%, #f2f6fb 100%);
}

.logout-card {
    border: 1px solid rgba(23, 105, 170, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.logout-icon-wrap {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #eaf5ff 0%, #dfeeff 100%);
    box-shadow: inset 0 0 0 1px rgba(23, 105, 170, 0.08);
}

.logout-icon-wrap svg {
    width: 52px;
    height: 52px;
}

.logout-icon-bg {
    fill: #eef7ff;
    stroke: #badcf6;
    stroke-width: 2;
}

.logout-icon-line {
    fill: none;
    stroke: #1769aa;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.logout-title {
    color: var(--color-ink);
    font-size: clamp(2rem, 2.4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.logout-description {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.logout-submit-btn,
.cancel-btn {
    min-height: 52px;
    font-weight: 600;
}

.logout-submit-btn {
    background: linear-gradient(135deg, var(--color-blue), var(--color-blue-dark));
    border: none;
}

.logout-submit-btn:hover,
.logout-submit-btn:focus {
    background: linear-gradient(135deg, var(--color-blue-dark), var(--color-blue));
}

.cancel-btn {
    border-color: #cdd8e6;
    color: var(--color-ink);
    background: #fff;
}

.cancel-btn:hover {
    background: #f5f9ff;
    border-color: #b2cde7;
    color: var(--color-ink);
}

.payment-page {
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 0 80px;
}

.payment-card {
    max-width: 620px;
    margin: 0 auto;
    padding: 36px 32px;
    border: 1px solid #dbe8f4;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f6fbff);
    box-shadow: 0 18px 38px rgb(23 105 170 / 8%);
}

.payment-header {
    text-align: center;
}

.payment-header h1 {
    margin: 10px 0 10px;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 46px);
    letter-spacing: -.04em;
    line-height: 1.1;
}

.payment-header p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.payment-summary {
    margin-top: 30px;
    padding: 24px 22px;
    border: 1px solid #d8eaf8;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.payment-details {
    display: grid;
    gap: 0;
    margin: 28px 0 0;
    padding: 8px 20px;
    border: 1px solid #d8eaf8;
    border-radius: 10px;
    background: #fff;
}

.payment-details > div,
.payment-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e8eff6;
}

.payment-details > div:last-child,
.payment-line:last-child {
    border-bottom: 0;
}

.payment-details dt,
.payment-line span {
    color: var(--color-muted);
    font-weight: 500;
}

.payment-details dd,
.payment-line strong {
    margin: 0;
    color: var(--color-ink);
    font-weight: 700;
    text-align: right;
}

.payment-total {
    border-top: 1px solid #dce7f1;
    font-size: 1.1rem;
}

.payment-total strong {
    color: var(--color-blue);
}

.payment-label {
    display: block;
    color: var(--color-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.payment-amount {
    display: block;
    margin-top: 8px;
    color: var(--color-blue);
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -.04em;
}

.payment-note {
    margin-top: 10px;
    color: #5d6b82;
    font-size: 14px;
}

.payment-form {
    margin-top: 28px;
}

.payment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 14px 20px;
    border: 1px solid #0f4f83;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #1976bc, #104d82);
    box-shadow: 0 7px 16px rgb(16 77 130 / 20%);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.payment-button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1769aa, #0c416e);
    box-shadow: 0 10px 22px rgb(16 77 130 / 26%);
}

.payment-button:focus-visible {
    outline: 3px solid #8bc7f0;
    outline-offset: 3px;
}

.payment-button:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgb(16 77 130 / 20%);
}

.payment-button:disabled {
    border-color: #a8b9c8;
    color: #fff;
    background: #8299ad;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.payment-help {
    margin: 18px 0 0;
    color: var(--color-muted);
    font-size: 14px;
    text-align: center;
}

.payment-section {
    margin-top: 28px;
}

.payment-section h2 {
    margin: 0 0 16px;
    color: #172b4d;
    font-size: 18px;
}

.payment-choice {
    padding: 20px;
    border: 1px solid #dce7f1;
    border-radius: 12px;
    background: #fff;
}

.payment-choice + .payment-choice {
    margin-top: 14px;
}

.payment-choice-online {
    border-color: #bbd9ef;
    background: linear-gradient(145deg, #f2f9ff, #fff 72%);
    box-shadow: 0 8px 20px rgb(23 105 170 / 7%);
}

.payment-choice-label {
    display: inline-block;
    margin-bottom: 9px;
    color: #1769aa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.payment-choice h3 {
    margin: 0;
    color: var(--color-ink);
    font-size: 18px;
    font-weight: 700;
}

.payment-choice > p:not(.payment-help) {
    margin: 9px 0 16px;
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.65;
}

.payment-choice .payment-note {
    margin-top: 9px;
}

.payment-choice .payment-help {
    margin-bottom: 0;
}

.payment-choice form {
    margin: 0;
}

.payment-option-list,
.payment-method-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.payment-option,
.payment-method {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    border: 1px solid #d7e9f5;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.payment-option:hover,
.payment-method:hover {
    transform: translateY(-1px);
    border-color: #9ac8e6;
    box-shadow: 0 10px 20px rgb(23 105 170 / 6%);
}

.payment-option input,
.payment-method input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.payment-option span,
.payment-method span {
    color: #1a3d5c;
    font-weight: 700;
}

.payment-option.is-selected,
.payment-method.is-selected {
    border-color: #1769aa;
    background: #edf6ff;
    box-shadow: inset 0 0 0 1px #1769aa;
}

.payment-option.is-selected span,
.payment-method.is-selected span {
    color: #1769aa;
}

@media (max-width: 600px) {
    .payment-page {
        width: min(100% - 28px, var(--content-width));
        padding-top: 44px;
    }

    .payment-card {
        padding: 26px 20px;
    }

    .payment-choice {
        padding: 17px;
    }

    .payment-option-list,
    .payment-method-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: var(--color-ink);
    background: var(--color-white);
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid #54a6e8;
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    z-index: 10;
    top: 12px;
    left: 12px;
    padding: 9px 14px;
    transform: translateY(-160%);
    border-radius: 5px;
    color: #fff;
    background: var(--color-blue-dark);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-white);
}

.header-inner {
    width: min(var(--content-width), calc(100% - 48px));
    min-height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 2vw, 27px);
}

.primary-nav a {
    color: #425675;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: var(--color-blue);
}

.primary-nav .nav-login {
    margin-left: 4px;
}

.primary-nav .nav-register {
    padding: 10px 17px;
    border: 1px solid var(--color-blue);
    border-radius: 5px;
    color: #fff;
    background: var(--color-blue);
}

.primary-nav .nav-register:hover,
.primary-nav .nav-register[aria-current="page"] {
    border-color: var(--color-blue-dark);
    color: #fff;
    background: var(--color-blue-dark);
}

.site-main {
    width: 100%;
    flex: 1 0 auto;
}

.hero,
.welcome-strip,
.discover-section,
.home-cta {
    width: min(var(--content-width), calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.hero {
    min-height: 530px;
    padding: 70px 0 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    align-items: center;
    gap: 64px;
}

.hero-copy {
    max-width: 590px;
}

.eyebrow,
.section-kicker {
    color: var(--color-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid #d7e9f8;
    border-radius: 30px;
    background: #f5faff;
    letter-spacing: 0.04em;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #49a4e8;
    box-shadow: 0 0 0 4px #e2f2ff;
}

.hero h1 {
    margin: 22px 0 16px;
    color: #142b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 5.3vw, 68px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.06;
}

.hero h1 span {
    color: var(--color-blue);
}

.hero-description {
    max-width: 520px;
    margin: 0;
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.8;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.button {
    min-height: 48px;
    padding: 11px 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: var(--color-blue);
    box-shadow: 0 8px 20px rgb(23 105 170 / 18%);
}

.button-primary:hover {
    background: var(--color-blue-dark);
}

.button-secondary {
    border-color: #cfdeeb;
    color: var(--color-ink);
    background: #fff;
}

.button-secondary:hover {
    border-color: #9fc8e8;
    background: #f5faff;
}

.hero-note {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-muted);
    font-size: 13px;
}

.hero-note-icon {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: var(--color-blue);
    background: #e8f4fd;
    font-weight: 800;
}

.hero-art {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    border: 1px solid #d8e9f7;
    border-radius: 48% 48% 20px 20px;
    background: linear-gradient(155deg, #f6fbff 8%, #e6f3fc 100%);
}

.art-orbit {
    position: absolute;
    border: 1px solid rgb(69 151 211 / 20%);
    border-radius: 50%;
}

.art-orbit-one {
    width: 330px;
    height: 330px;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
}

.art-orbit-two {
    width: 260px;
    height: 260px;
    top: 62px;
    left: 50%;
    transform: translateX(-50%);
}

.art-sun {
    position: absolute;
    top: 52px;
    right: 16%;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #b8e0fc;
}

.art-building {
    position: absolute;
    z-index: 1;
    right: 17%;
    bottom: 51px;
    left: 17%;
    height: 215px;
}

.building-roof {
    height: 0;
    margin: 0 -13px;
    border-right: 155px solid transparent;
    border-bottom: 58px solid #236da7;
    border-left: 155px solid transparent;
}

.building-pediment {
    height: 28px;
    display: flex;
    justify-content: center;
    gap: 25px;
    border-bottom: 5px solid #d9ebf8;
    background: #3887bd;
}

.building-pediment span {
    width: 4px;
    height: 18px;
    background: #d9ebf8;
}

.building-body {
    height: 114px;
    padding: 17px 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: #fff;
    box-shadow: inset 0 -8px #d9ebf8;
}

.building-window {
    border: 3px solid #b8d9f0;
    border-radius: 2px 2px 0 0;
    background: #e9f6ff;
}

.building-door {
    align-self: end;
    height: 53px;
    border: 3px solid #b8d9f0;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    background: #d5ebfa;
}

.building-steps {
    height: 12px;
    margin: 0 -18px;
    border-top: 4px solid #95c8e9;
    border-bottom: 4px solid #b8d9f0;
    background: #dceef9;
}

.art-ground {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 75px;
    background: #c4e3f6;
    clip-path: ellipse(70% 55% at 50% 100%);
}

.art-leaf {
    position: absolute;
    width: 25px;
    height: 52px;
    border-radius: 100% 0 100% 0;
    background: #7dbce4;
    transform: rotate(-28deg);
}

.art-leaf-one {
    bottom: 93px;
    left: 10%;
}

.art-leaf-two {
    bottom: 120px;
    left: 17%;
    transform: rotate(22deg) scale(.78);
}

.art-leaf-three {
    right: 10%;
    bottom: 84px;
    transform: rotate(24deg) scale(1.1);
}

.art-badge {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 25px;
    padding: 11px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #deebf5;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 10px 30px rgb(26 67 99 / 12%);
}

.badge-icon {
    color: var(--color-blue);
    font-size: 23px;
}

.art-badge strong,
.art-badge small {
    display: block;
}

.art-badge strong {
    font-size: 12px;
}

.art-badge small {
    color: var(--color-muted);
    font-size: 11px;
}

.welcome-strip {
    padding: 23px 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border: 1px solid var(--color-line);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 10px 28px rgb(30 75 110 / 5%);
}

.welcome-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.welcome-number {
    color: #78b8e5;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
}

.welcome-item strong,
.welcome-item small {
    display: block;
}

.welcome-item strong {
    font-size: 14px;
}

.welcome-item small {
    color: var(--color-muted);
    font-size: 12px;
}

.discover-section {
    padding-top: 88px;
    padding-bottom: 84px;
}

.section-heading {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.section-heading h2,
.home-cta h2 {
    margin: 8px 0 0;
    color: var(--color-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.5vw, 42px);
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.section-heading > p {
    max-width: 385px;
    margin: 0 0 4px;
    color: var(--color-muted);
    font-size: 14px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    min-height: 265px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    color: var(--color-ink);
    background: #fff;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #9bc8e8;
    box-shadow: 0 14px 35px rgb(30 75 110 / 10%);
}

.feature-card-green,
.feature-card-sand,
.feature-card-lilac {
    background: linear-gradient(145deg, #fff, #f2f8fd);
}

.feature-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 21px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--color-blue);
    background: #e7f3fc;
    font-size: 21px;
}

.feature-label {
    color: var(--color-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.feature-card h3 {
    margin: 7px 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
}

.feature-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.7;
}

.feature-link {
    margin-top: auto;
    padding-top: 17px;
    color: var(--color-blue);
    font-size: 13px;
    font-weight: 700;
}

.home-cta {
    margin-bottom: 76px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(110deg, #155991, #207fbe);
    box-shadow: 0 14px 32px rgb(23 105 170 / 16%);
}

.home-cta .section-kicker {
    color: #c8e7ff;
}

.home-cta h2 {
    max-width: 650px;
    color: #fff;
    font-size: clamp(25px, 3vw, 34px);
}

.home-cta p {
    margin: 10px 0 0;
    color: #deeffb;
    font-size: 14px;
}

.button-light {
    flex: 0 0 auto;
    color: var(--color-blue-dark);
    background: #fff;
}

.button-light:hover {
    background: #eaf5fd;
}

.site-footer {
    margin-top: auto;
    color: #eff7ff;
    background: #12385b;
}

.footer-main {
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 58px 0 48px;
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(120px, 1fr));
    gap: 36px;
}

.footer-institution {
    max-width: 300px;
}

.footer-institution h2 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.footer-institution p,
.footer-column p {
    margin: 12px 0 0;
    color: #c2d6e8;
    font-size: 14px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-column h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.footer-column a {
    color: #c2d6e8;
    font-size: 14px;
    text-decoration: none;
    transition: color 150ms ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-column p {
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgb(255 255 255 / 12%);
}

.footer-bottom p {
    width: min(var(--content-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 17px 0;
    color: #c2d6e8;
    font-size: 13px;
}

@media (max-width: 900px) {
    .header-inner {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .primary-nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px 22px;
    }

    .footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 34px 26px;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
        gap: 32px;
    }

    .hero-art {
        min-height: 330px;
    }

    .art-building {
        right: 12%;
        left: 12%;
    }
}

@media (max-width: 560px) {
    .header-inner,
    .footer-main,
    .footer-bottom p {
        width: min(100% - 36px, var(--content-width));
    }

    .primary-nav {
        gap: 12px 17px;
    }

    .primary-nav a {
        font-size: 13px;
    }

    .primary-nav .nav-login {
        margin-left: 0;
    }

    .primary-nav .nav-register {
        padding: 7px 12px;
    }

    .footer-main {
        padding: 42px 0 36px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
    }

    .footer-institution {
        grid-column: 1 / -1;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .hero,
    .welcome-strip,
    .discover-section,
    .home-cta {
        width: min(100% - 36px, var(--content-width));
    }

    .hero {
        padding: 48px 0 38px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-art {
        width: min(100%, 460px);
        min-height: 310px;
        margin: 0 auto;
    }

    .building-roof {
        border-right-width: 125px;
        border-left-width: 125px;
    }

    .welcome-strip {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .discover-section {
        padding-top: 64px;
        padding-bottom: 58px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 235px;
    }

    .home-cta {
        margin-bottom: 52px;
        padding: 28px 24px;
        align-items: flex-start;
        flex-direction: column;
    }
}

    .home-container {
        width: min(var(--content-width), calc(100% - 48px));
        margin-right: auto;
        margin-left: auto;
    }

    .home-hero {
        position: relative;
        min-height: 570px;
        padding: 80px max(24px, calc((100% - var(--content-width)) / 2));
        display: flex;
        align-items: center;
        overflow: hidden;
        color: #172b4d;
        background:
            radial-gradient(ellipse at 88% 18%, rgb(162 211 246 / 42%), transparent 28%),
            radial-gradient(ellipse at 74% 92%, rgb(207 232 250 / 72%), transparent 38%),
            linear-gradient(120deg, #f7fbff, #e8f4fd);
    }

    .home-hero-content {
        position: relative;
        z-index: 1;
        width: min(58%, 680px);
    }

    .home-hero-art {
        position: absolute;
        top: 50%;
        right: max(3%, calc((100% - var(--content-width)) / 2));
        width: min(42%, 500px);
        transform: translateY(-48%);
    }

    .home-hero-art svg {
        width: 100%;
        height: auto;
        overflow: visible;
        filter: drop-shadow(0 18px 18px rgb(38 88 130 / 10%));
    }

    .campus-sun {
        fill: #c2e4fb;
    }

    .campus-orbit {
        fill: none;
        stroke: #c8e2f4;
        stroke-width: 1.5;
        stroke-dasharray: 5 8;
    }

    .campus-ground {
        fill: #d6ebf9;
    }

    .campus-side {
        fill: #fff;
        stroke: #9bc8e7;
        stroke-width: 3;
    }

    .campus-roof {
        fill: #4a94c8;
        stroke: #347dac;
        stroke-width: 3;
        stroke-linejoin: round;
    }

    .campus-pediment {
        fill: #dceef9;
    }

    .campus-column {
        fill: #edf7fd;
        stroke: #9bc8e7;
        stroke-width: 2;
    }

    .campus-base {
        fill: #8dbde0;
    }

    .campus-door {
        fill: #b7dcf3;
        stroke: #7fb4da;
        stroke-width: 3;
    }

    .campus-tree {
        fill: #62a7d5;
    }

    .campus-window {
        fill: #c0e3f8;
        stroke: #82b8dc;
        stroke-width: 2;
    }

    .home-eyebrow {
        padding: 8px 13px;
        display: inline-block;
        border: 1px solid #c4dff3;
        border-radius: 30px;
        color: #1769aa;
        background: rgb(255 255 255 / 78%);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .13em;
    }

    .home-hero h1 {
        max-width: 660px;
        margin: 20px 0 17px;
        color: #172b4d;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(42px, 6vw, 70px);
        letter-spacing: -.045em;
        line-height: 1.08;
    }

    .home-hero-content > p {
        max-width: 555px;
        margin: 0;
        color: #526781;
        font-size: clamp(16px, 2vw, 19px);
        line-height: 1.75;
    }

    .home-hero-actions {
        margin-top: 30px;
        display: flex;
        flex-wrap: wrap;
        gap: 13px;
    }

    .home-button {
        min-height: 48px;
        padding: 12px 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 11px;
        border: 1px solid transparent;
        border-radius: 5px;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        transition: transform 150ms ease, color 150ms ease, background-color 150ms ease, border-color 150ms ease;
    }

    .home-button:hover {
        transform: translateY(-2px);
    }

    .home-button-primary {
        color: #fff;
        background: #1976bc;
        box-shadow: 0 8px 22px rgb(0 0 0 / 18%);
    }

    .home-button-primary:hover {
        background: #105c99;
    }

    .home-button-outline {
        border-color: #a9cce5;
        color: #1769aa;
        background: rgb(255 255 255 / 78%);
    }

    .home-button-outline:hover {
        color: #104d82;
        background: #fff;
    }

    .home-welcome {
        padding-top: 76px;
        padding-bottom: 76px;
        display: grid;
        grid-template-columns: 180px minmax(0, 1fr);
        align-items: center;
        gap: 48px;
    }

    .home-welcome-mark {
        width: 150px;
        height: 150px;
        margin: auto;
        display: grid;
        place-items: center;
        border: 1px solid #d5e9f8;
        border-radius: 50%;
        color: #1976bc;
        background: linear-gradient(145deg, #f4faff, #e5f3fd);
    }

    .home-welcome-mark svg {
        width: 74px;
        height: 74px;
    }

    .home-section-kicker {
        color: #237ab6;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .12em;
    }

    .home-welcome h2,
    .home-section-heading h2,
    .home-notice h2 {
        margin: 8px 0 0;
        color: #172b4d;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(29px, 3.8vw, 40px);
        letter-spacing: -.04em;
        line-height: 1.18;
    }

    .home-welcome-copy > p,
    .home-section-heading > p {
        max-width: 730px;
        margin: 14px 0 0;
        color: #5d6b82;
        font-size: 15px;
        line-height: 1.8;
    }

    .home-text-link {
        margin-top: 17px;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: #1769aa;
        font-size: 14px;
        font-weight: 750;
        text-decoration: none;
    }

    .home-text-link:hover {
        color: #104d82;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .home-courses-section {
        padding: 75px 0 72px;
        background: #f5f9fd;
    }

    .home-section-heading {
        margin-bottom: 30px;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 30px;
    }

    .home-section-heading > p {
        max-width: 420px;
        margin: 0 0 3px;
        font-size: 14px;
    }

    .home-course-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .home-course-card {
        min-height: 300px;
        padding: 22px 20px 18px;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        border: 1px solid #dce7f1;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 8px 24px rgb(30 75 110 / 4%);
        transition: transform 160ms ease, box-shadow 160ms ease;
    }

    .home-course-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgb(30 75 110 / 10%);
    }

    .home-course-icon,
    .home-benefit-icon {
        width: 48px;
        height: 48px;
        display: grid;
        flex: 0 0 auto;
        place-items: center;
        border-radius: 9px;
        color: #1769aa;
        background: #eaf4fc;
    }

    .home-course-icon svg,
    .home-benefit-icon svg {
        width: 28px;
        height: 28px;
    }

    .home-course-category {
        margin-top: 21px;
        color: #2479b5;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .12em;
    }

    .home-course-card h3 {
        margin: 5px 0 4px;
        color: #172b4d;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 20px;
        line-height: 1.3;
    }

    .home-course-card > p {
        margin: 0;
        color: #64738a;
        font-size: 13px;
        line-height: 1.6;
    }

    .home-course-footer {
        width: 100%;
        margin-top: auto;
        padding-top: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        border-top: 1px solid #e8eef4;
    }

    .home-course-footer > span {
        color: #6b7890;
        font-size: 11px;
    }

    .home-course-footer a {
        color: #1769aa;
        font-size: 11px;
        font-weight: 750;
        text-decoration: none;
        white-space: nowrap;
    }

    .home-course-footer a:hover {
        color: #104d82;
        text-decoration: underline;
    }

    .home-centered-action {
        margin-top: 29px;
        display: flex;
        justify-content: center;
    }

    .home-button-blue-outline {
        border-color: #1769aa;
        color: #1769aa;
        background: #fff;
    }

    .home-button-blue-outline:hover {
        color: #fff;
        background: #1769aa;
    }

    .home-why {
        padding-top: 80px;
        padding-bottom: 82px;
    }

    .home-section-heading-centered {
        align-items: center;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .home-section-heading-centered > p {
        margin-top: 3px;
    }

    .home-benefits-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 28px;
    }

    .home-benefit {
        padding: 23px 20px;
        border: 1px solid #e1eaf2;
        border-radius: 7px;
        background: #fff;
    }

    .home-benefit-icon {
        width: 46px;
        height: 46px;
    }

    .home-benefit h3 {
        margin: 16px 0 7px;
        color: #172b4d;
        font-size: 16px;
    }

    .home-benefit p {
        margin: 0;
        color: #64738a;
        font-size: 13px;
        line-height: 1.75;
    }

    .home-admission-process {
        padding: 70px 0 72px;
        background: #f5f9fd;
    }

    .home-admission-process .home-section-heading {
        align-items: flex-end;
    }

    .home-admission-process .home-text-link {
        flex: 0 0 auto;
        margin: 0 0 6px;
    }

    .home-steps {
        margin: 0 0 30px;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        list-style: none;
    }

    .home-steps li {
        position: relative;
        min-height: 136px;
        padding: 0 20px 0 0;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    .home-steps li:not(:last-child)::after {
        position: absolute;
        top: 23px;
        right: 20px;
        left: 57px;
        height: 1px;
        content: "";
        background: #c8dceb;
    }

    .home-step-number {
        position: relative;
        z-index: 1;
        width: 46px;
        height: 46px;
        margin-bottom: 14px;
        display: grid;
        place-items: center;
        border: 1px solid #b7d7ee;
        border-radius: 50%;
        color: #1769aa;
        background: #fff;
        font-size: 13px;
        font-weight: 800;
    }

    .home-step-title {
        color: #172b4d;
        font-size: 14px;
        font-weight: 750;
    }

    .home-step-copy {
        margin-top: 3px;
        color: #64738a;
        font-size: 12px;
    }

    .home-notice {
        margin-top: 64px;
        margin-bottom: 70px;
        padding: 30px 34px;
        display: flex;
        align-items: center;
        gap: 21px;
        border: 1px solid #c6e1f4;
        border-radius: 9px;
        background: linear-gradient(110deg, #eff8ff, #f8fbff);
    }

    .home-notice-icon {
        width: 48px;
        height: 48px;
        display: grid;
        flex: 0 0 auto;
        place-items: center;
        border-radius: 50%;
        color: #fff;
        background: #1976bc;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 28px;
        font-weight: 700;
    }

    .home-notice-copy {
        flex: 1 1 auto;
    }

    .home-notice h2 {
        font-size: clamp(23px, 3vw, 31px);
    }

    .home-notice-copy > p {
        margin: 7px 0 0;
        color: #5d6b82;
        font-size: 14px;
    }

    .home-button-white {
        flex: 0 0 auto;
        color: #fff;
        background: #1769aa;
    }

    .home-button-white:hover {
        background: #104d82;
    }

    @media (max-width: 900px) {
        .home-hero-content {
            width: 60%;
        }

        .home-hero-art {
            right: 1%;
            width: 43%;
        }

        .home-course-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .home-benefits-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .home-steps {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            row-gap: 20px;
        }

        .home-steps li:nth-child(2)::after {
            display: none;
        }
    }

    @media (max-width: 600px) {
        .home-container {
            width: min(100% - 36px, var(--content-width));
        }

        .home-hero {
            min-height: 480px;
            padding: 60px 24px;
        }

        .home-hero-content {
            width: 100%;
        }

        .home-hero-art {
            display: none;
        }

        .home-hero h1 {
            font-size: clamp(40px, 12vw, 56px);
        }

        .home-welcome {
            padding-top: 56px;
            padding-bottom: 56px;
            grid-template-columns: 1fr;
            gap: 24px;
        }

        .home-welcome-mark {
            width: 108px;
            height: 108px;
        }

        .home-welcome-mark svg {
            width: 56px;
            height: 56px;
        }

        .home-courses-section,
        .home-admission-process {
            padding-top: 56px;
            padding-bottom: 56px;
        }

        .home-section-heading {
            align-items: flex-start;
            flex-direction: column;
            gap: 10px;
        }

        .home-course-grid,
        .home-benefits-grid {
            grid-template-columns: 1fr;
        }

        .home-course-card {
            min-height: 265px;
        }

        .home-why {
            padding-top: 58px;
            padding-bottom: 60px;
        }

        .home-section-heading-centered {
            align-items: center;
            text-align: center;
        }

        .home-steps {
            grid-template-columns: 1fr;
            row-gap: 15px;
        }

        .home-steps li {
            min-height: 80px;
            padding-left: 61px;
        }

        .home-step-number {
            position: absolute;
            top: 0;
            left: 0;
        }

        .home-steps li::after,
        .home-steps li:nth-child(2)::after {
            top: 48px !important;
            right: auto !important;
            bottom: 0;
            left: 22px !important;
            width: 1px;
            height: auto !important;
            display: block !important;
        }

        .home-steps li:last-child::after {
            display: none !important;
        }

        .home-notice {
            margin-top: 42px;
            margin-bottom: 48px;
            padding: 24px 20px;
            align-items: flex-start;
            flex-direction: column;
        }
    }

    @media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

.about-container {
    width: min(var(--content-width), calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.about-banner {
    padding: 52px 0 46px;
    background:
        radial-gradient(ellipse at 88% 12%, rgb(168 215 247 / 50%), transparent 30%),
        linear-gradient(115deg, #f3f9fe, #e5f2fc);
}

.about-kicker {
    color: #237ab6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.about-banner h1 {
    margin: 8px 0 13px;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 54px);
    letter-spacing: -.045em;
    line-height: 1.1;
}

.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64738a;
    font-size: 13px;
}

.about-breadcrumb a {
    color: #1769aa;
    font-weight: 650;
    text-decoration: none;
}

.about-breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.about-story {
    padding-top: 76px;
    padding-bottom: 78px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    align-items: center;
    gap: 64px;
}

.about-story-art {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #d7e9f7;
    border-radius: 12px;
    background: linear-gradient(145deg, #f4faff, #e8f4fc);
}

.about-story-art svg {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    height: auto;
    filter: drop-shadow(0 14px 14px rgb(36 91 132 / 10%));
}

.about-art-circle {
    position: absolute;
    border: 1px solid #cfe5f5;
    border-radius: 50%;
}

.about-art-circle-one {
    width: 290px;
    height: 290px;
    top: 20px;
    right: 18px;
}

.about-art-circle-two {
    width: 220px;
    height: 220px;
    top: 55px;
    right: 53px;
}

.about-art-ground {
    fill: #d0e8f8;
}

.about-building-body {
    fill: #fff;
    stroke: #9bc8e7;
    stroke-width: 3;
}

.about-building-roof {
    fill: #4a94c8;
    stroke: #347dac;
    stroke-width: 3;
    stroke-linejoin: round;
}

.about-building-pediment {
    fill: #dceef9;
}

.about-building-column {
    fill: #edf7fd;
    stroke: #9bc8e7;
    stroke-width: 2;
}

.about-building-door {
    fill: #b7dcf3;
    stroke: #7fb4da;
    stroke-width: 3;
}

.about-building-base {
    fill: #8dbde0;
}

.about-art-sun {
    fill: #bddff6;
}

.about-art-leaf {
    fill: #68acd8;
}

.about-building-window {
    fill: #c0e3f8;
    stroke: #82b8dc;
    stroke-width: 2;
}

.about-art-caption {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 14px;
    padding: 8px 12px;
    border: 1px solid #dceaf5;
    border-radius: 5px;
    color: #47617d;
    background: rgb(255 255 255 / 90%);
    font-size: 11px;
    font-weight: 650;
}

.about-story-copy h2,
.about-section-heading h2,
.about-cta h2 {
    margin: 8px 0 0;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.6vw, 41px);
    letter-spacing: -.04em;
    line-height: 1.17;
}

.about-story-copy p,
.about-section-heading p {
    margin: 15px 0 0;
    color: #5d6b82;
    font-size: 14px;
    line-height: 1.85;
}

.about-link {
    margin-top: 19px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #1769aa;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.about-link:hover {
    color: #104d82;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.about-purpose,
.about-facilities {
    padding: 72px 0 78px;
    background: #f5f9fd;
}

.about-section-heading {
    max-width: 650px;
    margin: 0 auto 34px;
    text-align: center;
}

.about-section-heading p {
    margin-top: 10px;
}

.about-purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-purpose-card {
    position: relative;
    min-height: 270px;
    padding: 26px 24px;
    overflow: hidden;
    border: 1px solid #dce7f1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(30 75 110 / 4%);
}

.about-purpose-number {
    position: absolute;
    top: 15px;
    right: 17px;
    color: #e6f1f9;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.about-purpose-icon,
.about-facility-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #1769aa;
    background: #eaf4fc;
}

.about-purpose-icon {
    position: relative;
}

.about-purpose-icon svg,
.about-facility-icon svg {
    width: 27px;
    height: 27px;
}

.about-purpose-card h3 {
    margin: 20px 0 8px;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
}

.about-purpose-card p {
    margin: 0;
    color: #64738a;
    font-size: 13px;
    line-height: 1.8;
}

.about-statistics {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 29px 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #d8e7f3;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 34px rgb(30 75 110 / 6%);
}

.about-stat {
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    text-align: center;
}

.about-stat + .about-stat {
    border-left: 1px solid #e1eaf2;
}

.about-stat strong {
    color: #1769aa;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    letter-spacing: -.04em;
    line-height: 1.1;
}

.about-stat strong span {
    color: #66a9d7;
}

.about-stat > span {
    color: #5d6b82;
    font-size: 12px;
    font-weight: 650;
}

.about-facilities {
    padding-top: 76px;
    background: #f7faff;
}

.about-facility-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.about-facility-card {
    min-height: 195px;
    padding: 21px 19px;
    border: 1px solid #dfe9f2;
    border-radius: 7px;
    background: #fff;
    transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.about-facility-card:hover {
    transform: translateY(-3px);
    border-color: #b8d7ed;
    box-shadow: 0 12px 26px rgb(30 75 110 / 8%);
}

.about-facility-icon {
    width: 43px;
    height: 43px;
}

.about-facility-icon svg {
    width: 25px;
    height: 25px;
}

.about-facility-card h3 {
    margin: 15px 0 5px;
    color: #172b4d;
    font-size: 15px;
}

.about-facility-card p {
    margin: 0;
    color: #64738a;
    font-size: 12px;
    line-height: 1.7;
}

.about-cta {
    padding: 54px 0;
    color: #fff;
    background: linear-gradient(110deg, #155991, #207fbe);
}

.about-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.about-cta .about-kicker {
    color: #c8e7ff;
}

.about-cta h2 {
    color: #fff;
    font-size: clamp(28px, 3.4vw, 38px);
}

.about-cta p {
    margin: 9px 0 0;
    color: #deeffb;
    font-size: 14px;
}

.about-cta-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 11px;
}

.about-button {
    min-height: 46px;
    padding: 11px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: transform 150ms ease, background-color 150ms ease, color 150ms ease;
}

.about-button:hover {
    transform: translateY(-2px);
}

.about-button-light {
    color: #155991;
    background: #fff;
}

.about-button-light:hover {
    background: #eaf5fd;
}

.about-button-outline {
    border-color: rgb(255 255 255 / 70%);
    color: #fff;
    background: transparent;
}

.about-button-outline:hover {
    color: #155991;
    background: #fff;
}

@media (max-width: 900px) {
    .about-story {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .about-story-art {
        min-height: 300px;
    }

    .about-purpose-grid {
        gap: 14px;
    }

    .about-purpose-card {
        padding: 23px 19px;
    }

    .about-facility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .about-container {
        width: min(100% - 36px, var(--content-width));
    }

    .about-banner {
        padding: 42px 0 36px;
    }

    .about-story {
        padding-top: 48px;
        padding-bottom: 54px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-story-art {
        min-height: 255px;
    }

    .about-story-art svg {
        width: 100%;
    }

    .about-purpose,
    .about-facilities {
        padding: 54px 0 58px;
    }

    .about-section-heading {
        margin-bottom: 25px;
        text-align: left;
    }

    .about-purpose-grid,
    .about-facility-grid {
        grid-template-columns: 1fr;
    }

    .about-purpose-card {
        min-height: 0;
    }

    .about-statistics {
        margin-top: 40px;
        margin-bottom: 44px;
        padding: 15px 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-stat {
        min-height: 92px;
    }

    .about-stat + .about-stat {
        border-left: 0;
    }

    .about-stat:nth-child(even) {
        border-left: 1px solid #e1eaf2;
    }

    .about-stat:nth-child(n + 3) {
        border-top: 1px solid #e1eaf2;
    }

    .about-facility-card {
        min-height: 0;
    }

    .about-cta {
        padding: 42px 0;
    }

    .about-cta-actions {
        width: 100%;
    }

    .about-cta-actions .about-button {
        flex: 1 1 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-facility-card,
    .about-button {
        transition: none;
    }
}

.courses-container {
    width: min(var(--content-width), calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.courses-banner {
    padding: 52px 0 46px;
    background:
        radial-gradient(ellipse at 88% 12%, rgb(168 215 247 / 50%), transparent 30%),
        linear-gradient(115deg, #f3f9fe, #e5f2fc);
}

.courses-kicker {
    color: #237ab6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.courses-banner h1 {
    margin: 8px 0 10px;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 54px);
    letter-spacing: -.045em;
    line-height: 1.1;
}

.courses-banner > .courses-container > p {
    margin: 0 0 14px;
    color: #526781;
    font-size: 15px;
}

.courses-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64738a;
    font-size: 13px;
}

.courses-breadcrumb a {
    color: #1769aa;
    font-weight: 650;
    text-decoration: none;
}

.courses-breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.courses-listing {
    padding-top: 62px;
    padding-bottom: 76px;
}

.courses-heading {
    margin-bottom: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.courses-heading h2,
.courses-cta h2 {
    margin: 8px 0 0;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(29px, 3.5vw, 40px);
    letter-spacing: -.04em;
    line-height: 1.18;
}

.courses-heading > p {
    max-width: 410px;
    margin: 0 0 3px;
    color: #5d6b82;
    font-size: 14px;
    line-height: 1.8;
}

.course-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.course-filter {
    min-height: 39px;
    padding: 8px 16px;
    border: 1px solid #d6e3ee;
    border-radius: 24px;
    color: #4f627b;
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.course-filter:hover,
.course-filter.is-active {
    border-color: #1769aa;
    color: #fff;
    background: #1769aa;
}

.course-filter:focus-visible {
    outline: 3px solid #8bc4ec;
    outline-offset: 3px;
}

.course-results-count {
    margin: 21px 0 14px;
    color: #6a7890;
    font-size: 12px;
}

.course-results-count strong {
    color: #172b4d;
}

.course-catalog {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 19px;
}

.program-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce7f1;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 25px rgb(30 75 110 / 5%);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.program-card[hidden] {
    display: none;
}

.program-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgb(30 75 110 / 10%);
}

.program-card-media {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #eaf4fc;
}

.program-card-media > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.program-card-placeholder {
    position: relative;
    height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #5597c6;
    background:
        radial-gradient(ellipse at 80% 20%, rgb(165 212 244 / 70%), transparent 27%),
        linear-gradient(135deg, #f0f8fe, #dceefa);
}

.program-card-placeholder::before,
.program-card-placeholder::after {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgb(107 168 210 / 24%);
    border-radius: 50%;
    content: "";
}

.program-card-placeholder::before {
    top: -105px;
    right: -25px;
}

.program-card-placeholder::after {
    right: -55px;
    bottom: -170px;
}

.program-card-placeholder svg {
    width: 120px;
    height: 100px;
    color: #5698c7;
}

.program-placeholder-code {
    position: absolute;
    top: 15px;
    left: 19px;
    color: rgb(23 105 170 / 14%);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 43px;
    font-weight: 700;
    letter-spacing: -.05em;
}

.program-category-tag {
    position: absolute;
    right: 13px;
    bottom: 12px;
    padding: 6px 10px;
    border: 1px solid rgb(255 255 255 / 80%);
    border-radius: 20px;
    color: #155991;
    background: rgb(255 255 255 / 92%);
    font-size: 10px;
    font-weight: 750;
}

.program-card-content {
    padding: 20px 21px 18px;
}

.program-card-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.program-code {
    color: #2479b5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.program-card-title h3 {
    margin: 4px 0 0;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.3;
}

.program-department {
    padding: 6px 9px;
    border-radius: 4px;
    color: #4d6680;
    background: #f2f7fb;
    font-size: 10px;
    font-weight: 650;
    text-align: right;
}

.program-description {
    min-height: 43px;
    margin: 11px 0 15px;
    color: #64738a;
    font-size: 13px;
    line-height: 1.65;
}

.program-facts {
    margin: 0;
    padding: 13px 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 16px;
    border-top: 1px solid #e8eef4;
    border-bottom: 1px solid #e8eef4;
}

.program-facts > div {
    min-width: 0;
}

.program-facts dt {
    color: #7a8799;
    font-size: 10px;
}

.program-facts dd {
    margin: 2px 0 0;
    overflow-wrap: anywhere;
    color: #243b5b;
    font-size: 12px;
    font-weight: 650;
}

.program-card-actions {
    margin-top: 15px;
    display: flex;
    gap: 9px;
}

.program-button {
    min-height: 40px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.program-button-primary {
    color: #fff;
    background: #1769aa;
}

.program-button-primary:hover {
    background: #104d82;
}

.program-button-secondary {
    border-color: #cfdeeb;
    color: #1769aa;
    background: #fff;
}

.program-button-secondary:hover {
    border-color: #9fc8e8;
    background: #f3f9fe;
}

.course-empty-state {
    grid-column: 1 / -1;
    padding: 54px 24px;
    border: 1px dashed #c9dce9;
    border-radius: 9px;
    background: #f8fbfe;
    text-align: center;
}

.course-empty-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 15px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1769aa;
    background: #e8f3fb;
}

.course-empty-icon svg {
    width: 30px;
    height: 30px;
}

.course-empty-state h3 {
    margin: 0;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
}

.course-empty-state p {
    margin: 8px 0 18px;
    color: #64738a;
    font-size: 13px;
}

.course-filter-empty {
    margin: 20px 0 0;
    padding: 19px;
    border: 1px solid #dce7f1;
    border-radius: 7px;
    color: #64738a;
    background: #f8fbfe;
    font-size: 13px;
    text-align: center;
}

.course-filter-empty[hidden] {
    display: none;
}

.courses-cta {
    padding: 48px 0;
    color: #fff;
    background: linear-gradient(110deg, #155991, #207fbe);
}

.courses-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.courses-cta .courses-kicker {
    color: #c8e7ff;
}

.courses-cta h2 {
    color: #fff;
}

.courses-cta p {
    margin: 8px 0 0;
    color: #deeffb;
    font-size: 14px;
}

.program-button-light {
    flex: 0 0 auto;
    color: #155991;
    background: #fff;
}

.program-button-light:hover {
    background: #eaf5fd;
}

@media (max-width: 900px) {
    .course-catalog {
        grid-template-columns: 1fr;
    }

    .courses-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .courses-container {
        width: min(100% - 36px, var(--content-width));
    }

    .courses-banner {
        padding: 42px 0 36px;
    }

    .courses-listing {
        padding-top: 45px;
        padding-bottom: 54px;
    }

    .courses-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .course-filters {
        gap: 7px;
    }

    .course-filter {
        min-height: 36px;
        padding: 7px 12px;
        font-size: 11px;
    }

    .program-card-media {
        height: 155px;
    }

    .program-card-content {
        padding: 17px 16px;
    }

    .program-card-title {
        flex-direction: column;
        gap: 8px;
    }

    .program-department {
        text-align: left;
    }

    .program-card-actions .program-button {
        flex: 1 1 0;
        padding-right: 8px;
        padding-left: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .program-card,
    .course-filter,
    .program-button {
        transition: none;
    }
}

.admission-container {
    width: min(var(--content-width), calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.admission-banner {
    padding: 52px 0 46px;
    background:
        radial-gradient(ellipse at 88% 12%, rgb(168 215 247 / 50%), transparent 30%),
        linear-gradient(115deg, #f3f9fe, #e5f2fc);
}

.admission-kicker {
    color: #237ab6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.admission-banner h1 {
    margin: 8px 0 10px;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 54px);
    letter-spacing: -.045em;
    line-height: 1.1;
}

.admission-banner > .admission-container > p {
    margin: 0 0 14px;
    color: #526781;
    font-size: 15px;
}

.admission-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64738a;
    font-size: 13px;
}

.admission-breadcrumb a {
    color: #1769aa;
    font-weight: 650;
    text-decoration: none;
}

.admission-breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.admission-process {
    padding-top: 63px;
    padding-bottom: 67px;
}

.admission-section-heading {
    margin: 0 auto 30px;
    text-align: center;
}

.admission-section-heading h2,
.application-panel-heading h2,
.dashboard-heading h2 {
    margin: 8px 0 0;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(29px, 3.5vw, 40px);
    letter-spacing: -.04em;
    line-height: 1.18;
}

.admission-section-heading p,
.application-panel-heading p {
    margin: 10px 0 0;
    color: #5d6b82;
    font-size: 14px;
}

.admission-steps {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    list-style: none;
}

.admission-steps li {
    position: relative;
    min-height: 106px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.admission-steps li:not(:last-child)::after {
    position: absolute;
    top: 22px;
    right: -5px;
    width: 22px;
    content: "\2192";
    color: #83b6d9;
    font-size: 18px;
    font-weight: 700;
}

.admission-step-number {
    width: 45px;
    height: 45px;
    margin-bottom: 12px;
    display: grid;
    place-items: center;
    border: 1px solid #bbd9ee;
    border-radius: 50%;
    color: #1769aa;
    background: #eff8fe;
    font-size: 15px;
    font-weight: 800;
}

.admission-step-label {
    color: #263c5a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.admission-information {
    padding: 68px 0 75px;
    background: #f5f9fd;
}

.admission-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 17px;
}

.admission-info-card {
    padding: 25px 23px;
    border: 1px solid #dce7f1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(30 75 110 / 4%);
}

.admission-info-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #1769aa;
    background: #eaf4fc;
}

.admission-info-icon svg {
    width: 27px;
    height: 27px;
}

.admission-info-card h3 {
    margin: 18px 0 8px;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
}

.admission-info-card p,
.admission-info-card li {
    color: #5d6b82;
    font-size: 13px;
    line-height: 1.75;
}

.admission-info-card p {
    margin: 0;
}

.admission-info-card ul {
    margin: 12px 0 0;
    padding-left: 19px;
}

.admission-info-card li {
    padding: 2px 0 2px 2px;
}

.admission-info-card li::marker {
    color: #3186bd;
}

.admission-info-card > a {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #1769aa;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.admission-info-card > a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.admission-apply {
    margin-top: 63px;
    margin-bottom: 70px;
    padding: 29px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #c6e1f4;
    border-radius: 9px;
    background: linear-gradient(110deg, #eff8ff, #f8fbff);
}

.admission-apply-icon {
    width: 52px;
    height: 52px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 12px;
    color: #1769aa;
    background: #dceefa;
}

.admission-apply-icon svg {
    width: 30px;
    height: 30px;
}

.admission-apply-copy {
    flex: 1 1 auto;
}

.admission-apply-copy h2 {
    margin: 5px 0 0;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 3vw, 31px);
    letter-spacing: -.035em;
    line-height: 1.2;
}

.admission-apply-copy p {
    margin: 6px 0 0;
    color: #5d6b82;
    font-size: 13px;
    line-height: 1.65;
}

.admission-apply-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    flex-direction: column;
    gap: 9px;
}

.admission-button {
    min-height: 43px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.admission-button:hover {
    transform: translateY(-2px);
}

.admission-button-primary {
    color: #fff;
    background: #1769aa;
}

.admission-button-primary:hover {
    background: #104d82;
}

.admission-secondary-link {
    color: #1769aa;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.admission-secondary-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.application-panel,
.application-dashboard {
    max-width: 820px;
    padding-top: 52px;
    padding-bottom: 70px;
}

.application-panel {
    max-width: 760px;
}

.application-panel-heading {
    margin-bottom: 25px;
}

.application-form {
    display: grid;
    gap: 18px;
}

.application-field {
    display: grid;
    gap: 7px;
}

.application-field label {
    color: #263c5a;
    font-size: 13px;
    font-weight: 700;
}

.application-field input,
.application-field select,
.application-field textarea {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    border: 1px solid #cfdeeb;
    border-radius: 5px;
    color: #172b4d;
    background: #fff;
    font: inherit;
    font-size: 14px;
}

.application-field input:focus,
.application-field select:focus,
.application-field textarea:focus {
    border-color: #4b99cf;
    outline: 3px solid rgb(84 166 232 / 20%);
}

.application-field small {
    color: #687990;
    font-size: 12px;
}

.application-field ul {
    margin: 0;
    padding-left: 18px;
}

.application-payment-option-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 !important;
    list-style: none;
}

.application-payment-option-list > div {
    min-width: 0;
}

.application-payment-option-list label {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #cfdeeb;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}

.application-payment-option-list input[type="radio"] {
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    accent-color: #1769aa;
}

.application-errors {
    color: #a32f35;
    font-size: 12px;
}

.application-form-actions {
    margin-top: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 17px;
}

.application-message {
    margin: 0 0 20px;
    padding: 12px 15px;
    border: 1px solid #b8dfc5;
    border-radius: 5px;
    color: #225c37;
    background: #effaf2;
    font-size: 13px;
}

.dashboard-heading {
    margin-bottom: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.application-status-card {
    margin-bottom: 13px;
    padding: 19px;
    display: grid;
    grid-template-columns: 1.1fr 1.4fr .8fr auto;
    align-items: center;
    gap: 16px;
    border: 1px solid #dce7f1;
    border-radius: 7px;
    background: #fff;
}

.application-status-card > div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.application-status-label {
    color: #78869a;
    font-size: 10px;
}

.application-status-card strong {
    overflow-wrap: anywhere;
    color: #263c5a;
    font-size: 12px;
}

.application-payment-note {
    margin: 0;
    color: #687990;
    font-size: 12px;
}

.application-status-badge {
    padding: 6px 9px;
    border-radius: 20px;
    color: #1769aa;
    background: #eaf4fc;
    font-size: 10px;
    font-weight: 750;
}

.account-page {
    min-height: 570px;
    padding: 55px 18px;
    display: grid;
    place-items: center;
    background: #f5f9fd;
}

.account-card {
    width: min(100%, 470px);
    padding: 32px;
    border: 1px solid #dce7f1;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 36px rgb(30 75 110 / 7%);
}

.account-card h1 {
    margin: 7px 0 0;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    letter-spacing: -.04em;
}

.account-card > p {
    margin: 8px 0 22px;
    color: #5d6b82;
    font-size: 13px;
}

.account-card .application-form {
    gap: 15px;
}

.account-switch {
    margin: 18px 0 0 !important;
    padding-top: 15px;
    border-top: 1px solid #e7eef4;
    font-size: 12px !important;
}

.account-switch a {
    color: #1769aa;
    font-weight: 700;
    text-decoration: none;
}

.account-switch a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .admission-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 20px;
    }

    .admission-steps li:nth-child(3)::after {
        display: none;
    }

    .admission-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admission-info-card:last-child {
        grid-column: 1 / -1;
    }

    .admission-apply {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .admission-apply-copy {
        min-width: calc(100% - 80px);
    }

    .admission-apply-actions {
        width: 100%;
        padding-left: 72px;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .admission-container {
        width: min(100% - 36px, var(--content-width));
    }

    .admission-banner {
        padding: 42px 0 36px;
    }

    .admission-process,
    .admission-information {
        padding-top: 50px;
        padding-bottom: 54px;
    }

    .admission-section-heading {
        margin-bottom: 25px;
        text-align: left;
    }

    .admission-steps {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .admission-steps li {
        min-height: 76px;
        padding: 0 0 0 61px;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
    }

    .admission-step-number {
        position: absolute;
        top: 14px;
        left: 0;
        width: 40px;
        height: 40px;
        margin: 0;
    }

    .admission-step-label {
        font-size: 13px;
    }

    .admission-steps li:not(:last-child)::after {
        top: 51px;
        right: auto;
        left: 15px;
        width: auto;
        content: "";
        border-left: 1px solid #b8d7ee;
        height: 20px;
    }

    .admission-info-grid {
        grid-template-columns: 1fr;
    }

    .admission-info-card:last-child {
        grid-column: auto;
    }

    .admission-apply {
        margin-top: 40px;
        margin-bottom: 48px;
        padding: 22px 19px;
        gap: 14px;
    }

    .admission-apply-icon {
        width: 45px;
        height: 45px;
    }

    .admission-apply-copy {
        min-width: calc(100% - 60px);
    }

    .admission-apply-actions {
        padding-left: 0;
        align-items: stretch;
    }

    .application-panel,
    .application-dashboard {
        padding-top: 38px;
        padding-bottom: 52px;
    }

    .dashboard-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .application-status-card {
        grid-template-columns: 1fr 1fr;
    }

    .application-status-badge {
        justify-self: start;
    }

    .account-page {
        min-height: 480px;
        padding: 36px 18px;
    }

    .account-card {
        padding: 25px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admission-button,
    .payment-button {
        transition: none;
    }
}

.contact-container {
    width: min(var(--content-width), calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.contact-banner {
    padding: 52px 0 46px;
    background:
        radial-gradient(ellipse at 88% 12%, rgb(168 215 247 / 50%), transparent 30%),
        linear-gradient(115deg, #f3f9fe, #e5f2fc);
}

.contact-kicker {
    color: #237ab6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.contact-banner h1 {
    margin: 8px 0 10px;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 54px);
    letter-spacing: -.045em;
    line-height: 1.1;
}

.contact-banner > .contact-container > p {
    margin: 0 0 14px;
    color: #526781;
    font-size: 15px;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64738a;
    font-size: 13px;
}

.contact-breadcrumb a {
    color: #1769aa;
    font-weight: 650;
    text-decoration: none;
}

.contact-breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-details {
    padding-top: 62px;
    padding-bottom: 68px;
}

.contact-section-heading {
    margin: 0 auto 29px;
    text-align: center;
}

.contact-section-heading h2,
.contact-form-intro h2,
.contact-form-card h2 {
    margin: 8px 0 0;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(29px, 3.5vw, 40px);
    letter-spacing: -.04em;
    line-height: 1.18;
}

.contact-section-heading p {
    margin: 10px 0 0;
    color: #5d6b82;
    font-size: 14px;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.contact-info-card {
    min-height: 190px;
    padding: 22px 20px;
    border: 1px solid #dce7f1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(30 75 110 / 4%);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 28px rgb(30 75 110 / 8%);
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #1769aa;
    background: #eaf4fc;
}

.contact-info-icon svg {
    width: 26px;
    height: 26px;
}

.contact-info-card h3 {
    margin: 14px 0 5px;
    color: #172b4d;
    font-size: 15px;
}

.contact-info-card p,
.contact-info-card p a {
    margin: 0;
    color: #64738a;
    font-size: 13px;
    line-height: 1.7;
    text-decoration: none;
}

.contact-info-card p a:hover {
    color: #1769aa;
    text-decoration: underline;
}

.contact-form-section {
    padding: 69px 0 78px;
    background: #f5f9fd;
}

.contact-form-layout {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    align-items: start;
    gap: 58px;
}

.contact-form-intro {
    padding-top: 20px;
}

.contact-form-intro h2 {
    font-size: clamp(31px, 4vw, 44px);
}

.contact-form-intro > p {
    max-width: 400px;
    margin: 14px 0 0;
    color: #5d6b82;
    font-size: 14px;
    line-height: 1.8;
}

.contact-response-note {
    margin-top: 23px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-response-note > span {
    width: 23px;
    height: 23px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: #1769aa;
    background: #deeffb;
    font-size: 13px;
    font-weight: 800;
}

.contact-response-note p {
    margin: 1px 0 0;
    color: #526781;
    font-size: 12px;
}

.contact-form-card {
    padding: 29px;
    border: 1px solid #dce7f1;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 36px rgb(30 75 110 / 6%);
}

.contact-form-card h2 {
    margin-top: 0;
    font-size: 25px;
}

.contact-form-subtitle {
    margin: 5px 0 20px;
    color: #758399;
    font-size: 11px;
}

.contact-form-subtitle span,
.contact-field label span {
    color: #c34545;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 14px;
}

.contact-field {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 6px;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    color: #263c5a;
    font-size: 12px;
    font-weight: 700;
}

.contact-control {
    width: 100%;
    min-height: 43px;
    padding: 10px 11px;
    border: 1px solid #d3e0eb;
    border-radius: 5px;
    color: #172b4d;
    background: #fff;
    font: inherit;
    font-size: 13px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.contact-control::placeholder {
    color: #96a3b3;
}

.contact-control:focus {
    border-color: #4b99cf;
    outline: 0;
    box-shadow: 0 0 0 3px rgb(84 166 232 / 18%);
}

textarea.contact-control {
    min-height: 132px;
    resize: vertical;
}

.contact-submit {
    min-height: 44px;
    margin-top: 18px;
    padding: 10px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: #1769aa;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    transition: transform 150ms ease, background-color 150ms ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    background: #104d82;
}

.contact-form-errors {
    color: #a32f35;
    font-size: 11px;
}

.contact-form-errors ul {
    margin: 0;
    padding-left: 17px;
}

.contact-success {
    margin: 0 0 17px;
    padding: 11px 13px;
    border: 1px solid #b8dfc5;
    border-radius: 5px;
    color: #225c37;
    background: #effaf2;
    font-size: 12px;
}

@media (max-width: 900px) {
    .contact-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-form-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-form-intro {
        padding-top: 0;
    }
}

@media (max-width: 600px) {
    .contact-container {
        width: min(100% - 36px, var(--content-width));
    }

    .contact-banner {
        padding: 42px 0 36px;
    }

    .contact-details {
        padding-top: 48px;
        padding-bottom: 54px;
    }

    .contact-section-heading {
        text-align: left;
    }

    .contact-card-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        min-height: 0;
    }

    .contact-form-section {
        padding: 50px 0 58px;
    }

    .contact-form-card {
        padding: 22px 18px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-field-full {
        grid-column: auto;
    }

    .contact-submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-info-card,
    .contact-control,
    .contact-submit {
        transition: none;
    }
}

.student-login-page {
    min-height: 680px;
    padding: 48px 24px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(ellipse at 8% 8%, rgb(184 221 246 / 45%), transparent 27%),
        #f5f9fd;
}

.student-login-layout {
    width: min(100%, 1080px);
    min-height: 575px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    overflow: hidden;
    border: 1px solid #dce7f1;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 20px 54px rgb(30 75 110 / 10%);
}

.student-login-welcome {
    position: relative;
    min-height: 575px;
    padding: 54px 48px 35px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 83% 15%, rgb(255 255 255 / 75%), transparent 27%),
        linear-gradient(145deg, #e7f4fd 0%, #d9edfa 55%, #c8e4f6 100%);
}

.student-login-welcome-copy {
    position: relative;
    z-index: 1;
    max-width: 440px;
}

.student-login-eyebrow,
.student-login-form-kicker {
    color: #237ab6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
}

.student-login-welcome h1 {
    margin: 13px 0 12px;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 47px);
    letter-spacing: -.045em;
    line-height: 1.13;
}

.student-login-welcome-copy > p {
    max-width: 395px;
    margin: 0;
    color: #526781;
    font-size: 14px;
    line-height: 1.8;
}

.student-login-points {
    margin-top: 20px;
    display: grid;
    gap: 9px;
}

.student-login-points > span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #345470;
    font-size: 12px;
    font-weight: 650;
}

.student-login-points > span > span {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1769aa;
    background: rgb(255 255 255 / 75%);
    font-size: 11px;
    font-weight: 800;
}

.student-login-art {
    width: min(100%, 440px);
    margin: auto auto 0;
}

.student-login-art svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 13px 14px rgb(38 88 130 / 9%));
}

.login-art-sun {
    fill: #b7dcf4;
}

.login-art-orbit {
    fill: none;
    stroke: #bddbed;
    stroke-width: 1.5;
    stroke-dasharray: 5 8;
}

.login-art-ground {
    fill: #c0e0f4;
}

.login-art-building {
    fill: #fff;
    stroke: #90bddc;
    stroke-width: 3;
}

.login-art-roof {
    fill: #4a94c8;
    stroke: #347dac;
    stroke-width: 3;
    stroke-linejoin: round;
}

.login-art-pediment {
    fill: #dceef9;
}

.login-art-column {
    fill: #edf7fd;
    stroke: #9bc8e7;
    stroke-width: 2;
}

.login-art-door {
    fill: #b7dcf3;
    stroke: #7fb4da;
    stroke-width: 3;
}

.login-art-base {
    fill: #8dbde0;
}

.login-art-tree {
    fill: #67a9d4;
}

.login-art-window {
    fill: #c0e3f8;
    stroke: #82b8dc;
    stroke-width: 2;
}

.login-art-book {
    fill: #fff;
    stroke: #1769aa;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.student-login-caption {
    position: relative;
    z-index: 1;
    margin: 8px 0 0;
    color: #4e6e89;
    font-size: 11px;
    font-weight: 650;
    text-align: center;
}

.student-login-form-side {
    padding: 45px 42px 28px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.student-login-card {
    width: min(100%, 390px);
}

.student-login-form-kicker {
    display: inline-block;
    margin-bottom: 8px;
}

.student-login-card h2 {
    margin: 0;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    letter-spacing: -.045em;
    line-height: 1.2;
}

.student-login-description {
    margin: 8px 0 25px;
    color: #687990;
    font-size: 13px;
}

.student-login-form {
    display: grid;
    gap: 17px;
}

.student-login-field {
    display: grid;
    gap: 7px;
}

.student-login-field > label {
    color: #263c5a;
    font-size: 12px;
    font-weight: 700;
}

.student-login-control {
    width: 100%;
    min-height: 47px;
    padding: 11px 13px;
    border: 1px solid #d3e0eb;
    border-radius: 5px;
    color: #172b4d;
    background: #fff;
    font: inherit;
    font-size: 13px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.student-login-control::placeholder {
    color: #96a3b3;
}

.student-login-control:focus {
    border-color: #4b99cf;
    outline: 0;
    box-shadow: 0 0 0 3px rgb(84 166 232 / 18%);
}

.student-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.remember-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5d6b82;
    cursor: pointer;
    font-size: 12px;
}

.remember-option input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #1769aa;
}

.student-login-options > a,
.student-login-register a,
.student-login-help a {
    color: #1769aa;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.student-login-options > a:hover,
.student-login-register a:hover,
.student-login-help a:hover {
    color: #104d82;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.student-login-submit {
    min-height: 47px;
    margin-top: 3px;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background: #1769aa;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    transition: transform 150ms ease, background-color 150ms ease;
}

.student-login-submit:hover {
    transform: translateY(-2px);
    background: #104d82;
}

.student-login-register {
    margin: 21px 0 0;
    padding-top: 18px;
    border-top: 1px solid #e7eef4;
    color: #687990;
    font-size: 12px;
    text-align: center;
}

.student-login-register a {
    margin-left: 3px;
}

.student-login-help {
    margin: 28px 0 0;
    color: #8490a1;
    font-size: 11px;
    text-align: center;
}

.student-login-help a {
    font-size: inherit;
}

.student-login-error {
    margin: 0 0 17px;
    padding: 10px 12px;
    border: 1px solid #f0c9c9;
    border-radius: 5px;
    color: #9c3434;
    background: #fff7f7;
    font-size: 12px;
}

.student-login-error p {
    margin: 0;
}

.student-login-field-error {
    color: #a32f35;
    font-size: 11px;
}

.student-login-field-error ul {
    margin: 0;
    padding-left: 17px;
}

@media (max-width: 800px) {
    .student-login-page {
        padding: 30px 18px;
    }

    .student-login-layout {
        max-width: 530px;
        grid-template-columns: 1fr;
    }

    .student-login-welcome {
        min-height: 0;
        padding: 34px 34px 17px;
    }

    .student-login-welcome h1 {
        max-width: 420px;
        font-size: 35px;
    }

    .student-login-welcome-copy > p {
        max-width: 440px;
    }

    .student-login-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .student-login-art {
        width: min(100%, 320px);
        max-height: 170px;
        overflow: hidden;
    }

    .student-login-art svg {
        transform: translateY(3px);
    }

    .student-login-form-side {
        padding: 34px;
    }

    .student-login-help {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .student-login-page {
        padding: 20px 13px;
    }

    .student-login-layout {
        border-radius: 9px;
    }

    .student-login-welcome {
        padding: 27px 22px 13px;
    }

    .student-login-welcome h1 {
        font-size: 30px;
    }

    .student-login-welcome-copy > p {
        font-size: 12px;
    }

    .student-login-points {
        grid-template-columns: 1fr;
    }

    .student-login-art {
        width: min(100%, 260px);
        max-height: 130px;
    }

    .student-login-form-side {
        padding: 29px 22px 23px;
    }

    .student-login-card h2 {
        font-size: 30px;
    }

    .student-login-options {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .student-login-control,
    .student-login-submit {
        transition: none;
    }
}

.student-register-page {
    min-height: 640px;
    padding: 48px 20px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(ellipse at 92% 12%, rgb(184 221 246 / 42%), transparent 28%),
        #f5f9fd;
}

.student-register-card {
    width: min(100%, 610px);
    padding: 40px 46px 32px;
    border: 1px solid #dce7f1;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 20px 54px rgb(30 75 110 / 10%);
}

.student-register-heading {
    margin-bottom: 26px;
    text-align: center;
}

.student-register-heading h1 {
    margin: 11px 0 8px;
    color: #172b4d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 4vw, 35px);
    letter-spacing: -.04em;
}

.student-register-heading p {
    margin: 0;
    color: #5d6b82;
    font-size: 14px;
}

.student-register-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 18px;
}

.student-register-field {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 7px;
}

.student-register-field:first-child,
.student-register-field:nth-child(2),
.student-register-field:nth-child(4),
.student-register-field:nth-child(5),
.student-register-terms,
.student-register-submit {
    grid-column: 1 / -1;
}

.student-register-field label {
    color: #263c5a;
    font-size: 13px;
    font-weight: 700;
}

.student-register-field label span {
    color: #a32f35;
}

.student-register-control {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #cfdeeb;
    border-radius: 6px;
    color: #263c5a;
    background: #fff;
    font: inherit;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.student-register-control::placeholder {
    color: #95a4b5;
}

.student-register-control:focus {
    border-color: #4b99cf;
    outline: 3px solid rgb(84 166 232 / 20%);
}

.student-register-field small {
    color: #687990;
    font-size: 11px;
    line-height: 1.5;
}

.student-register-field-error,
.student-register-error {
    color: #a32f35;
    font-size: 12px;
}

.student-register-field-error ul {
    margin: 0;
    padding-left: 18px;
}

.student-register-error {
    margin: 0 0 18px;
    padding: 11px 13px;
    border: 1px solid #efc9cb;
    border-radius: 6px;
    background: #fff6f6;
}

.student-register-error p {
    margin: 0;
}

.student-register-terms label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #526781;
    font-size: 12px;
    line-height: 1.6;
    cursor: pointer;
}

.student-register-terms input {
    width: 17px;
    height: 17px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: #1769aa;
}

.student-register-terms strong {
    color: #1769aa;
}

.student-register-submit {
    min-height: 48px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: #1769aa;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.student-register-submit:hover {
    background: #10588f;
    transform: translateY(-1px);
}

.student-register-login {
    margin: 22px 0 0;
    color: #5d6b82;
    font-size: 13px;
    text-align: center;
}

.student-register-login a {
    color: #1769aa;
    font-weight: 750;
    text-decoration: none;
}

.student-register-login a:hover {
    text-decoration: underline;
}

@media (max-width: 560px) {
    .student-register-page {
        min-height: 0;
        padding: 28px 14px;
    }

    .student-register-card {
        padding: 30px 22px 24px;
        border-radius: 9px;
    }

    .student-register-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .student-register-field:first-child,
    .student-register-field:nth-child(2),
    .student-register-field:nth-child(4),
    .student-register-field:nth-child(5),
    .student-register-terms,
    .student-register-submit {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .student-register-control,
    .student-register-submit {
        transition: none;
    }
}

/* ========================================================
   ENHANCED STUDENT PROFILE & APPLICATION STATUS STYLES
   ======================================================== */

.profile-hero-card {
    background: linear-gradient(135deg, #ffffff 0%, #f4f8fd 100%);
    border: 1px solid #d8e5f2;
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 28px;
    box-shadow: 0 10px 28px rgba(23, 105, 170, 0.06);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.profile-hero-main {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.profile-avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1769aa 0%, #0d4170 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(23, 105, 170, 0.28);
    border: 3px solid #ffffff;
    flex-shrink: 0;
}

.profile-hero-details h2 {
    margin: 0 0 6px;
    font-size: 24px;
    color: var(--color-ink);
    font-weight: 700;
}

.profile-hero-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.profile-badge-user {
    display: inline-block;
    padding: 3px 10px;
    background: #e6eff8;
    color: #1769aa;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.profile-badge-status {
    display: inline-block;
    padding: 3px 10px;
    background: #e6f7ec;
    color: #1b7a3e;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.profile-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--color-muted);
    font-size: 13px;
}

.profile-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.profile-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Profile Statistics Grid */
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.profile-stat-card {
    background: #ffffff;
    border: 1px solid #dce7f1;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 12px rgba(23, 105, 170, 0.03);
}

.profile-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(23, 105, 170, 0.08);
}

.profile-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-icon-blue {
    background: #ebf4fb;
    color: #1769aa;
}

.stat-icon-amber {
    background: #fff8e8;
    color: #b57a08;
}

.stat-icon-green {
    background: #edf8f0;
    color: #1f8446;
}

.stat-icon-purple {
    background: #f4eefc;
    color: #6a34c2;
}

.profile-stat-info strong {
    display: block;
    font-size: 24px;
    color: var(--color-ink);
    line-height: 1.1;
    margin-bottom: 2px;
}

.profile-stat-info span {
    font-size: 13px;
    color: var(--color-muted);
}

/* Tab Navigation */
.profile-nav-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    border-bottom: 2px solid #e3edf6;
    padding-bottom: 12px;
    overflow-x: auto;
}

.profile-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-muted);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.profile-tab-btn:hover {
    color: var(--color-blue);
    background: #eef6fc;
}

.profile-tab-btn.active {
    color: #ffffff;
    background: var(--color-blue);
    box-shadow: 0 4px 12px rgba(23, 105, 170, 0.25);
}

.profile-tab-panel {
    display: none;
}

.profile-tab-panel.active {
    display: block;
    animation: fadeInTab 0.25s ease-in-out;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modern Card for Profile Editing & Password Change */
.profile-edit-card,
.profile-security-card {
    background: #ffffff;
    border: 1px solid #dce7f1;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 18px rgba(23, 105, 170, 0.04);
}

.profile-card-header {
    margin-bottom: 22px;
    border-bottom: 1px solid #eef3f8;
    padding-bottom: 16px;
}

.profile-card-header h3 {
    margin: 0 0 6px;
    font-size: 19px;
    color: var(--color-ink);
}

.profile-card-header p {
    margin: 0;
    font-size: 13px;
    color: var(--color-muted);
}

.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 20px;
    margin-bottom: 24px;
}

.profile-form-full {
    grid-column: 1 / -1;
}

.profile-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
}

.profile-form-group .form-control {
    height: 44px;
    padding: 8px 14px;
    border: 1px solid #ccdbe8;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.profile-form-group .form-control:focus {
    border-color: #1769aa;
    box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.14);
    outline: none;
}

.profile-field-error {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 4px;
}

/* ========================================================
   APPLICATION STATUS TRACKING & STEPPER
   ======================================================== */

.application-status-only {
    display: grid;
    gap: 14px;
    max-width: 760px;
    padding-top: 32px;
    padding-bottom: 60px;
}

.application-status-only-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #dce7f1;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(23, 105, 170, 0.04);
}

.application-status-only-label {
    color: #687990;
    font-size: 13px;
    font-weight: 600;
}

.application-status-only-value {
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.application-status-only-value.approved {
    color: #1b7a3e;
    background: #e6f7ec;
}

.application-status-only-value.rejected {
    color: #c62828;
    background: #fdeeee;
}

.application-status-only-value.pending {
    color: #a36f04;
    background: #fff8e8;
}

.application-status-only-empty {
    margin: 0;
    padding: 20px 24px;
    color: #687990;
    background: #ffffff;
    border: 1px solid #dce7f1;
    border-radius: 10px;
}

.status-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding: 12px 16px;
    background: #f8fbfe;
    border: 1px solid #e2edf6;
    border-radius: 10px;
}

.status-filter-label {
    font-size: 13px;
    font-weight: 700;
    color: #263c5a;
    margin-right: 6px;
}

.status-filter-btn {
    border: 1px solid #d5e4f2;
    background: #ffffff;
    color: var(--color-ink);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-filter-btn:hover {
    background: #eaf3fb;
    border-color: #1769aa;
    color: #1769aa;
}

.status-filter-btn.active {
    background: #1769aa;
    border-color: #1769aa;
    color: #ffffff;
}

.status-filter-count {
    display: inline-block;
    padding: 1px 7px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 11px;
}

.status-filter-btn.active .status-filter-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Stepper Progress Bar */
.application-stepper-wrap {
    margin: 20px 0 24px;
    padding: 20px 22px;
    background: #fbfdff;
    border: 1px solid #e3eef8;
    border-radius: 10px;
}

.application-stepper-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.application-stepper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    gap: 10px;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stepper-node {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.stepper-label {
    font-size: 12px;
    font-weight: 600;
    color: #435b75;
    line-height: 1.3;
}

.stepper-sublabel {
    font-size: 11px;
    color: #7b8e9f;
    margin-top: 3px;
}

/* Step states */
.stepper-step.completed .stepper-node {
    background: #1e874b;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(30, 135, 75, 0.25);
}

.stepper-step.completed .stepper-label {
    color: #1e874b;
    font-weight: 700;
}

.stepper-step.active .stepper-node {
    background: #1769aa;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(23, 105, 170, 0.18);
}

.stepper-step.active .stepper-label {
    color: #1769aa;
    font-weight: 700;
}

.stepper-step.pending .stepper-node {
    background: #eef3f7;
    color: #8c9fae;
    border-color: #dce5ee;
}

.stepper-step.pending .stepper-label {
    color: #8c9fae;
}

.stepper-step.declined .stepper-node {
    background: #d32f2f;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.25);
}

.stepper-step.declined .stepper-label {
    color: #d32f2f;
    font-weight: 700;
}

/* Connecting bar behind nodes */
.stepper-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: #e1ebf4;
    z-index: -1;
}

.stepper-step.completed:not(:last-child)::after {
    background: #1e874b;
}

/* Enhanced Application Card Container */
.application-card-enhanced {
    display: block;
    background: #ffffff;
    border: 1px solid #d9e5f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 4px 16px rgba(23, 105, 170, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.application-card-enhanced > .application-card-top {
    display: flex;
}

.application-card-enhanced > .application-stepper-wrap,
.application-card-enhanced > .application-course-description {
    display: block;
}

.application-card-enhanced > .application-details-grid {
    display: grid;
    gap: 16px 20px;
}

.application-card-enhanced > div[style] {
    display: block;
}

.application-card-enhanced > .application-card-footer {
    display: flex;
}

.application-card-enhanced:hover {
    box-shadow: 0 8px 24px rgba(23, 105, 170, 0.08);
}

.application-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf3f8;
}

.application-course-heading h3 {
    margin: 0 0 6px;
    font-size: 20px;
    color: var(--color-ink);
}

.application-course-heading p {
    margin: 0;
    font-size: 13px;
    color: var(--color-muted);
}

.application-badges-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.application-status-note {
    flex-basis: 100%;
    margin: 0;
    color: #687990;
    font-size: 12px;
    line-height: 1.5;
}

.application-course-description {
    margin: 0 0 20px;
    padding: 16px 20px;
    background: #fbfdff;
    border: 1px solid #eef4f9;
    border-radius: 8px;
}

.application-course-description p {
    margin: 6px 0 0;
    color: #1a2f4c;
    font-size: 14px;
    line-height: 1.6;
}

.badge-status-accepted {
    background: #e6f7ec !important;
    color: #1b7a3e !important;
    border: 1px solid #b7e8c6;
}

.badge-status-under_review {
    background: #fff8e8 !important;
    color: #a36f04 !important;
    border: 1px solid #fae2ab;
}

.badge-status-submitted {
    background: #ebf4fb !important;
    color: #1769aa !important;
    border: 1px solid #c7e0f6;
}

.badge-status-declined {
    background: #fdeeee !important;
    color: #c62828 !important;
    border: 1px solid #f6c0c0;
}

/* Grid of applicant data inside the card */
.application-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px 20px;
    margin: 20px 0;
    padding: 16px 20px;
    background: #fbfdff;
    border: 1px solid #eef4f9;
    border-radius: 8px;
}

.application-detail-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.application-detail-cell .application-status-label {
    font-size: 11px;
    color: #687990;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.application-detail-cell strong {
    font-size: 14px;
    color: #1a2f4c;
    word-break: break-word;
}

/* Document Pills */
.application-document-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.application-doc-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid #cfdeed;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #1769aa;
    text-decoration: none;
    transition: all 0.2s ease;
}

.application-doc-pill:hover {
    background: #eef6fc;
    border-color: #1769aa;
    color: #0e4c7d;
}

.application-doc-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Payment & Action strip */
.application-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid #edf3f8;
    margin-top: 18px;
}

.application-payment-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.application-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Support Help Box */
.admissions-help-card {
    background: linear-gradient(135deg, #f7fafe 0%, #edf5fc 100%);
    border: 1px solid #d3e4f4;
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.admissions-help-info h3 {
    margin: 0 0 6px;
    font-size: 17px;
    color: var(--color-ink);
}

.admissions-help-info p {
    margin: 0;
    font-size: 13px;
    color: var(--color-muted);
}

.admissions-help-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.admissions-help-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-blue);
    text-decoration: none;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #d1e2f2;
}

.admissions-help-contact-item:hover {
    background: #eef6fc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-form-grid {
        grid-template-columns: 1fr;
    }

    .application-stepper {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .stepper-step {
        flex-direction: row;
        text-align: left;
        gap: 14px;
    }

    .stepper-step:not(:last-child)::after {
        display: none;
    }

    .profile-hero-card {
        padding: 20px;
    }

    .application-card-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Auth Toggle Segmented Control (Login vs Register) */
.auth-toggle-group {
    display: flex;
    background: #edf3f8;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}

.auth-toggle-btn {
    flex: 1;
    text-align: center;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-muted);
    border-radius: 7px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-toggle-btn:hover {
    color: var(--color-ink);
    background: rgba(255, 255, 255, 0.6);
}

.auth-toggle-btn.active {
    background: #ffffff;
    color: #1769aa;
    box-shadow: 0 2px 8px rgba(23, 105, 170, 0.12);
}

/* Home Hero Portal Gate Badge */
.home-portal-gate-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d4e3f0;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(23, 105, 170, 0.08);
}

.home-portal-gate-badge .portal-badge-text {
    font-size: 13px;
    color: #274060;
}

.home-portal-gate-badge .portal-badge-text strong {
    color: #1769aa;
}
