/* School Header Styles */

.School {
    position: relative;
    isolation: isolate;
    background-image: url('image/pix3.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
}

.School::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    content: "";
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color:white
}
.School-header {
    background-color: #f5f5f5;
    width: calc(100% - 30px);
    box-sizing: border-box;
    margin: 8px auto 40px;
    padding: 6px 4%;
    font-family: Arial, sans-serif;
    border-radius: 12px;
}

.School-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 60px;
}

.Intro-section {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: Arial, sans-serif;
    min-height: 64px;
    padding: 0 24px;
    box-sizing: border-box;
    /* background-color: rgba(0, 91, 153, 0.92); */
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 42px;
    padding: 0 30px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    white-space: nowrap;
    font-size: clamp(15px, 1.3vw, 20px);
}

.contact-item + .contact-item {
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.contact-icon-circle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background-color: #ed1c24;
}

.contact-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: white;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.Social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding-left: 20px;
}

.Social-links a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #09070a;
    color: white;
    text-decoration: none;
}

.Facebook-icon {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
}

.X-icon {
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.Social-links svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.Social-links .Instagram-flash {
    fill: currentColor;
    stroke: none;
}

.Menu-bar {
    flex: 1;
}

.Menu-bar ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2vw, 32px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.Menu-bar a {
    color: #ed1c24;
    text-decoration: none;
    font-size: clamp(15px, 1.3vw, 20px);
    font-weight: 600;
    white-space: nowrap;
}

.Menu-bar ul li a:hover {
    color: #a90f18;
}

.Header-actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
}

.Header-actions [hidden] {
    display: none !important;
}

.Header-actions button {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    cursor: pointer;
}

.Header-actions .Chat-button {
    display: flex;
    justify-content: flex-start;
    width: 90px;
    height: 44px;
    border-radius: 24px;
    background: #09070a;
    padding-left: 4px;
}

.Chat-button svg {
    width: 32px;
    height: 32px;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid white;
    border-radius: 50%;
    fill: none;
    stroke: white;
    stroke-width: 1.8;
}

.Search-button {
    background: transparent;
    color: #ed1c24;
}

.Search-button svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.Search-panel,
.Chat-panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 16px);
    right: 0;
    width: min(360px, calc(100vw - 32px));
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #e2e7ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(18, 34, 61, 0.2);
    color: #17243a;
    text-align: left;
}

.Search-label {
    display: block;
    margin-bottom: 8px;
    color: #17243a;
    font-size: 14px;
    font-weight: 700;
}

.Search-input-row {
    display: flex;
    gap: 8px;
}

.Search-input-row input,
.Chat-form input {
    min-width: 0;
    flex: 1;
    padding: 11px 12px;
    border: 1px solid #cfd6e1;
    border-radius: 6px;
    color: #17243a;
    font: inherit;
    font-size: 14px;
}

.Search-input-row button,
.Chat-form button {
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    background: #c9151e;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}

.Search-input-row .Search-cancel {
    border: 1px solid #cfd6e1;
    background: #fff;
    color: #596579;
}

.Search-input-row .Search-cancel:hover {
    background: #f1f3f6;
    color: #17243a;
}

.Search-input-row button:focus-visible,
.Chat-form button:focus-visible {
    outline: 3px solid rgba(201, 21, 30, 0.3);
    outline-offset: 2px;
}

.Search-feedback {
    margin: 12px 0 0;
    color: #596579;
    font-size: 13px;
    line-height: 1.5;
}

.Search-results {
    display: grid;
    gap: 6px;
    max-height: 240px;
    overflow-y: auto;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.Search-results a {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    color: #17243a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.Search-results a:hover,
.Search-results a:focus-visible {
    background: #fff0f1;
    color: #a90f18;
}

.Chat-panel {
    right: 42px;
    width: min(360px, calc(100vw - 32px));
    padding: 0;
    overflow: hidden;
}

.Chat-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: #101827;
    color: #fff;
}

.Chat-panel-header h2 {
    margin: 0;
    color: inherit;
    font-size: 16px;
}

.Chat-panel-header p {
    margin: 4px 0 0;
    color: #cbd3df;
    font-size: 12px;
}

.Header-actions .Chat-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 22px;
}

.Chat-messages {
    display: grid;
    gap: 10px;
    max-height: 260px;
    overflow-y: auto;
    padding: 16px;
    background: #f6f8fb;
}

.Chat-message {
    width: fit-content;
    max-width: 88%;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    color: #17243a;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.Chat-message-assistant {
    justify-self: start;
    background: #fff;
    border: 1px solid #e7eaf0;
}

.Chat-message-user {
    justify-self: end;
    background: #c9151e;
    color: #fff;
}

.Chat-message-link {
    justify-self: start;
    color: #c9151e;
    font-size: 13px;
    font-weight: 700;
}

.Chat-form {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #e7eaf0;
}

.Chat-disclaimer {
    margin: 0;
    padding: 0 16px 14px;
    color: #697586;
    font-size: 11px;
    line-height: 1.45;
}

.School-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.School-name {
    font-size: 24px;
    font-weight: bold;
    margin-left: 10px;
}
.Hero-section {
    text-align: center;
    padding: 60px 20px;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}
.Hero-title {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 20px;
    color: #fff;
}
.Hero-description {
    font-size: clamp(18px, 2.5vw, 28px);
    margin-bottom: 20px;
    color: #fff;
}
.Hero-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: clamp(16px, 2vw, 20px);
    color: #fff;
    background-color: #ed1c24;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    margin-right: 0;
    margin-top: 20px;
}
.Explore-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: clamp(16px, 2vw, 20px);
    color: #fff;
    background-color: #ed1c24;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 20px;
}
.Explore-button:hover,
.Hero-button:hover {
    background-color: #a90f18;
    transition: background-color 0.3s ease;
}
.About-us {
    display: flex;
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
    padding: 60px clamp(24px, 8vw, 120px);
    color: #333;
    text-align: left;
    margin: 0;
    box-sizing: border-box;
}

.About-copy {
    flex: 1;
    min-width: 0;
}

.student {
    display: block;
    flex: 0 0 42%;
    width: 42%;
    height: clamp(200px, 40vw, 420px);
    object-fit: cover;
    object-position: center;
}

.About-description {
    font-size: clamp(20px, 2.5vw, 28px);
    max-width: 600px;
}

.About-content {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 20px;
    text-align: left;
    max-width: 500px;
}

#about-us {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 20px;
}

@media (max-width: 800px) {
    .About-us {
        flex-direction: column;
        align-items: stretch;
    }

    .student {
        flex-basis: auto;
        width: 100%;
        max-width: 560px;
        height: 360px;
        align-self: center;
    }
}
.About-card {
    padding: 30px;
    border: 1px solid #e7eaf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18, 34, 61, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.About-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(18, 34, 61, 0.13);
}

.Card-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: #fff0f1;
    color: #c9151e;
}

.Card-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.About-card h3 {
    margin: 0 0 12px;
    color: #17243a;
    font-size: 21px;
}

.About-card p {
    margin: 0;
    color: #596579;
    font-size: 16px;
    line-height: 1.7;
}

.Cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 20px clamp(24px, 8vw, 120px) 64px;
}

@media (max-width: 800px) {
    .Cards {
        grid-template-columns: 1fr;
    }
}

.Pathway {
    padding: 48px clamp(24px, 8vw, 120px) 72px;
    background-color: #f6f8fb;
}

.Pathway-title {
    margin: 0 0 32px;
    color: #17243a;
    font-size: clamp(26px, 3vw, 36px);
    text-align: center;
}

.Pathway-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.Pathway-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e7eaf0;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 8px 24px rgba(18, 34, 61, 0.08);
}

.Pathway-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.Pathway-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.Pathway-card h3 {
    margin: 0 0 10px;
    color: #17243a;
    font-size: 20px;
}

.Pathway-card p {
    flex: 1;
    margin: 0;
    color: #596579;
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 1000px) {
    .Pathway-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .Pathway-list {
        grid-template-columns: 1fr;
    }
}
.learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: 22px;
    padding: 11px 18px;
    border: 1px solid #c9151e;
    border-radius: 6px;
    background-color: #c9151e;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease,
        transform 180ms ease;
}

.learn-more:hover {
    transform: translateY(-2px);
    border-color: #a90f18;
    background-color: #a90f18;
}

.learn-more:focus-visible {
    outline: 3px solid rgba(201, 21, 30, 0.35);
    outline-offset: 3px;
}

.learn-more span {
    font-size: 18px;
    line-height: 1;
}
.Footer {
    padding: 56px clamp(24px, 8vw, 120px) 20px;
    background-color: #101827;
    color: #d7deea;
}

.Footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: clamp(32px, 6vw, 80px);
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.Footer h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 17px;
}

.Footer-brand p,
.Footer-contact p {
    max-width: 360px;
    margin: 18px 0 0;
    color: #aeb8c8;
    font-size: 14px;
    line-height: 1.7;
}

.Footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.Footer-logo {
    width: 54px;
    height: 54px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    object-fit: cover;
}

.Footer-links ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.Footer-links a,
.Footer-contact > a,
.Footer-bottom a {
    color: #d7deea;
    font-size: 14px;
    text-decoration: none;
    transition: color 180ms ease;
}

.Footer-links a:hover,
.Footer-contact > a:hover,
.Footer-bottom a:hover {
    color: #ff7379;
}

.Footer-social-heading {
    margin-top: 24px !important;
    margin-bottom: 12px !important;
}

.Footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.Footer-social-links a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease,
        transform 180ms ease;
}

.Footer-social-links a:hover {
    transform: translateY(-2px);
    border-color: #ed1c24;
    background-color: #ed1c24;
}

.Footer-social-links svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.Footer-social-links svg circle:last-child {
    fill: currentColor;
    stroke: none;
}

.Footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.Footer-bottom p {
    margin: 0;
    color: #aeb8c8;
    font-size: 13px;
}

.Admissions {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 80px);
    padding: 72px clamp(24px, 8vw, 120px);
    background-color: #fff;
}

.Program-page {
    padding: 32px clamp(24px, 8vw, 120px) 0;
}

.Program-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 1200px;
    margin: 0 auto;
    color: #596579;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.Program-back:hover {
    transform: translateX(-3px);
    color: #c9151e;
}

.Program-back:focus-visible {
    border-radius: 3px;
    outline: 3px solid rgba(201, 21, 30, 0.35);
    outline-offset: 4px;
}

.Program-back span {
    font-size: 20px;
    line-height: 1;
}

.Program-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 6vw, 72px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 0 64px;
}

.Program-detail-image {
    display: block;
    width: 100%;
    min-height: 320px;
    max-height: 480px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 12px 32px rgba(18, 34, 61, 0.14);
}

.Program-detail-copy h1 {
    margin: 10px 0 18px;
    color: #17243a;
    font-size: clamp(32px, 4vw, 48px);
}

.Program-detail-copy > p {
    color: #596579;
    font-size: 17px;
    line-height: 1.8;
}

.Program-detail-copy h2 {
    margin: 28px 0 12px;
    color: #17243a;
    font-size: 21px;
}

.Program-benefits {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 22px;
    color: #596579;
    line-height: 1.6;
}

.Program-apply-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 12px 20px;
    border-radius: 7px;
    background-color: #c9151e;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
}

.Program-apply-link:hover {
    transform: translateY(-2px);
    background-color: #a90f18;
}

.Program-apply-link:focus-visible {
    outline: 3px solid rgba(201, 21, 30, 0.35);
    outline-offset: 3px;
}

.Gallery-page {
    padding: 32px clamp(24px, 8vw, 120px) 72px;
    background-color: #f6f8fb;
}

.Gallery-heading {
    max-width: 680px;
    margin: 32px auto 40px;
    text-align: center;
}

.Gallery-heading h1 {
    margin: 12px 0;
    color: #17243a;
    font-size: clamp(32px, 4vw, 48px);
}

.Gallery-heading p {
    margin: 0;
    color: #596579;
    font-size: 16px;
    line-height: 1.7;
}

.Gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.Gallery-item {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    margin: 0;
    border-radius: 14px;
    background-color: #17243a;
    box-shadow: 0 8px 24px rgba(18, 34, 61, 0.12);
}

.Gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    transition: transform 240ms ease;
}

.Gallery-item:hover img {
    transform: scale(1.04);
}

.Gallery-item figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 32px 18px 16px;
    background: linear-gradient(transparent, rgba(10, 17, 29, 0.82));
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.Gallery-item img:focus-visible {
    outline: 3px solid #ed1c24;
    outline-offset: -3px;
}

.News-page {
    min-height: 60vh;
    padding: 32px clamp(24px, 8vw, 120px) 72px;
    background-color: #f6f8fb;
}

.News-heading {
    max-width: 720px;
    margin: 32px auto 40px;
    text-align: center;
}

.News-heading h1 {
    margin: 12px 0;
    color: #17243a;
    font-size: clamp(32px, 4vw, 48px);
}

.News-heading p {
    margin: 0;
    color: #596579;
    font-size: 16px;
    line-height: 1.7;
}

.News-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.News-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e7eaf0;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 8px 24px rgba(18, 34, 61, 0.08);
}

.News-card > img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.News-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
}

.News-category {
    color: #c9151e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.News-card h2 {
    margin: 12px 0 10px;
    color: #17243a;
    font-size: 21px;
    line-height: 1.35;
}

.News-card p {
    flex: 1;
    margin: 0;
    color: #596579;
    font-size: 15px;
    line-height: 1.7;
}

.News-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    color: #c9151e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.News-link:hover {
    color: #a90f18;
}

.News-link:focus-visible {
    border-radius: 3px;
    outline: 3px solid rgba(201, 21, 30, 0.3);
    outline-offset: 4px;
}

.Contact-page {
    min-height: 60vh;
    padding: 32px clamp(24px, 8vw, 120px) 72px;
    background-color: #f6f8fb;
}

.Contact-heading {
    max-width: 720px;
    margin: 32px auto 40px;
    text-align: center;
}

.Contact-heading h1 {
    margin: 12px 0;
    color: #17243a;
    font-size: clamp(32px, 4vw, 48px);
}

.Contact-heading p {
    margin: 0;
    color: #596579;
    font-size: 16px;
    line-height: 1.7;
}

.Contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(28px, 6vw, 72px);
    max-width: 1200px;
    margin: 0 auto;
}

.Contact-details {
    padding: 28px;
    border: 1px solid #e7eaf0;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 8px 24px rgba(18, 34, 61, 0.08);
}

.Contact-details h2 {
    margin: 0 0 24px;
    color: #17243a;
    font-size: 23px;
}

.Contact-detail {
    display: grid;
    gap: 7px;
    margin-bottom: 22px;
}

.Contact-detail-label {
    color: #596579;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.Contact-detail a,
.Contact-email-note a {
    color: #c9151e;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.Contact-detail p,
.Contact-email-note {
    margin: 0;
    color: #596579;
    font-size: 15px;
    line-height: 1.7;
}

.Contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 800px) {
    .Contact-layout {
        grid-template-columns: 1fr;
    }
}

.Admissions-program {
    color: #c9151e !important;
    font-weight: 700;
}

.Admissions-intro {
    max-width: 440px;
}

.Admissions-eyebrow {
    color: #c9151e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.Admissions-intro h2 {
    margin: 14px 0;
    color: #17243a;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
}

.Admissions-intro > p {
    color: #596579;
    font-size: 16px;
    line-height: 1.7;
}

.Admissions-email a {
    color: #c9151e;
    font-weight: 600;
}

.Admissions-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid #e7eaf0;
    border-radius: 14px;
    background-color: #fff;
    box-shadow: 0 8px 24px rgba(18, 34, 61, 0.08);
}

.Admissions-field {
    display: grid;
    gap: 8px;
}

.Admissions-field-full,
.Admissions-submit-row,
.Admissions-status {
    grid-column: 1 / -1;
}

.Admissions-field label {
    color: #17243a;
    font-size: 14px;
    font-weight: 600;
}

.Admissions-field input,
.Admissions-field select,
.Admissions-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #cfd6e1;
    border-radius: 7px;
    background-color: #fff;
    color: #17243a;
    font: inherit;
    font-size: 15px;
}

.Admissions-field input,
.Admissions-field select {
    min-height: 46px;
}

.Admissions-field textarea {
    min-height: 120px;
    resize: vertical;
}

.Admissions-field input:focus,
.Admissions-field select:focus,
.Admissions-field textarea:focus {
    border-color: #c9151e;
    outline: 3px solid rgba(201, 21, 30, 0.14);
}

.Admissions-submit-row {
    display: grid;
    justify-items: start;
    gap: 12px;
}

.Admissions-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid #c9151e;
    border-radius: 7px;
    background-color: #c9151e;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    transition: background-color 180ms ease, transform 180ms ease;
}

.Admissions-submit:hover {
    transform: translateY(-2px);
    background-color: #a90f18;
}

.Admissions-submit:focus-visible {
    outline: 3px solid rgba(201, 21, 30, 0.35);
    outline-offset: 3px;
}

.Admissions-submit span {
    font-size: 19px;
    line-height: 1;
}

.Admissions-note,
.Admissions-status {
    margin: 0;
    color: #596579;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 800px) {
    .Admissions {
        grid-template-columns: 1fr;
    }

    .Program-detail {
        grid-template-columns: 1fr;
    }

    .Program-detail-image {
        min-height: 260px;
        max-height: 380px;
    }

    .Gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .News-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .Gallery-grid {
        grid-template-columns: 1fr;
    }

    .Gallery-item,
    .Gallery-item img {
        min-height: 220px;
    }

    .News-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .Admissions-form {
        grid-template-columns: 1fr;
    }

    .Admissions-field,
    .Admissions-field-full,
    .Admissions-submit-row,
    .Admissions-status {
        grid-column: 1;
    }

    .Admissions-submit {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .Footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .Footer-main {
        grid-template-columns: 1fr;
    }

    .Footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}