:root {
    --primary: #002147;
    --primary-2: #001a39;
    --primary-3: #1a3b61;
    --yellow: #fdc800;
    --text: #444444;
    --heading: #002147;
    --muted: #6c7787;
    --line: #e6e6e6;
    --light: #f8f8f8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 26px;
    color: var(--text);
    background: #ffffff;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover,
a:focus {
    color: var(--yellow);
}

.wrap {
    width: min(1170px, calc(100% - 30px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: #fff;
}

.tophead {
    min-height: 37px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
}

.tophead-inner {
    min-height: 37px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.top-contact,
.top-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.top-contact {
    gap: 18px;
}

.top-links {
    gap: 18px;
}

.top-links a {
    font-weight: 500;
    line-height: 18px;
    white-space: nowrap;
}

.tophead a {
    color: #fff;
}

.tophead a:hover,
.tophead a:focus {
    color: var(--yellow);
}

.top-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 18px;
}

.top-item::before {
    content: "";
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    background: var(--yellow);
}

.top-phone::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.7 3.7 5 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1.3.4 2.7.6 4.1.6.7 0 1.3.6 1.3 1.3v3.5c0 .7-.6 1.3-1.3 1.3C10.4 21.6 2.4 13.6 2.4 3.3 2.4 2.6 3 2 3.7 2h3.5c.7 0 1.3.6 1.3 1.3 0 1.4.2 2.8.6 4.1.1.4 0 .9-.3 1.2l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.7 3.7 5 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1.3.4 2.7.6 4.1.6.7 0 1.3.6 1.3 1.3v3.5c0 .7-.6 1.3-1.3 1.3C10.4 21.6 2.4 13.6 2.4 3.3 2.4 2.6 3 2 3.7 2h3.5c.7 0 1.3.6 1.3 1.3 0 1.4.2 2.8.6 4.1.1.4 0 .9-.3 1.2l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.top-mail::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4.5 4h15C20.9 4 22 5.1 22 6.5v11c0 1.4-1.1 2.5-2.5 2.5h-15C3.1 20 2 18.9 2 17.5v-11C2 5.1 3.1 4 4.5 4zm.1 2 7.4 5.7L19.4 6H4.6zM20 8.3l-7.4 5.6c-.4.3-.8.3-1.2 0L4 8.3v9.2c0 .3.2.5.5.5h15c.3 0 .5-.2.5-.5V8.3z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4.5 4h15C20.9 4 22 5.1 22 6.5v11c0 1.4-1.1 2.5-2.5 2.5h-15C3.1 20 2 18.9 2 17.5v-11C2 5.1 3.1 4 4.5 4zm.1 2 7.4 5.7L19.4 6H4.6zM20 8.3l-7.4 5.6c-.4.3-.8.3-1.2 0L4 8.3v9.2c0 .3.2.5.5.5h15c.3 0 .5-.2.5-.5V8.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-main {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #d7dce3;
}

.header-inner {
    width: min(1480px, calc(100% - 30px));
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-link {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-link picture {
    display: block;
    max-width: 100%;
}

.brand-link img {
    width: min(395px, 24vw);
    max-height: 74px;
    object-fit: contain;
}

.main-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.nav-wrap {
    position: relative;
}

.menu,
.sub-menu,
.footer-links,
.offer-list,
.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2px;
    min-height: 92px;
}

.menu > li {
    position: relative;
}

.menu > li > a {
    min-height: 92px;
    display: flex;
    align-items: center;
    padding: 0 7px;
    font-size: 14px;
    font-weight: 900;
    line-height: 17px;
    color: var(--primary);
    text-transform: uppercase;
    white-space: nowrap;
}

.menu > li:hover > a {
    color: var(--yellow);
}

.menu > li > a.is-active {
    color: var(--yellow);
}

.has-children > a::after {
    display: none;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.menu > li:hover > .sub-menu,
.menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu a {
    display: block;
    padding: 11px 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sub-menu li:hover > a {
    background: var(--primary-3);
    color: var(--yellow);
}

.nav-toggle,
.submenu-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.submenu-toggle-label,
.mobile-menu-button {
    display: none;
}

.mobile-menu-button {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--yellow);
}

.mobile-menu-glyph {
    display: block;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.mobile-menu-line {
    display: none;
}

.slider {
    position: relative;
    height: min(700px, 54vw);
    min-height: 430px;
    overflow: hidden;
    background: var(--primary);
}

.slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(rgba(0, 33, 71, 0.12), rgba(0, 33, 71, 0.12)), var(--slide-image) center / cover no-repeat;
    opacity: 0;
    animation: homeSlider 12s infinite;
}

.slide:nth-child(2) {
    animation-delay: 4s;
}

.slide:nth-child(3) {
    animation-delay: 8s;
}

@keyframes homeSlider {
    0%,
    28% {
        opacity: 1;
        transform: scale(1);
    }
    33%,
    100% {
        opacity: 0;
        transform: scale(1.06);
    }
}

.slide-content {
    text-align: center;
    color: #fff;
    padding: 0 20px;
    transform: translateY(18px);
    animation: slideText 4s infinite;
}

.slide:nth-child(2) .slide-content {
    animation-delay: 4s;
}

.slide:nth-child(3) .slide-content {
    animation-delay: 8s;
}

@keyframes slideText {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    18%,
    74% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-12px);
    }
}

.slide-content h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 6vw, 74px);
    line-height: 1.08;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
}

.slide-content p {
    margin: 0 0 30px;
    font-size: clamp(17px, 2.6vw, 42px);
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.rt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 48px;
    padding: 0 24px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.rt-button:hover {
    background: #00152e;
    color: #fff;
    transform: translateY(-2px);
}

.offer-section {
    padding: 78px 0;
    background: #fff;
}

.offer-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 58px;
    align-items: center;
}

.portrait {
    display: flex;
    justify-content: center;
}

.portrait img,
.content-side img,
.gallery-grid img {
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portrait img:hover,
.content-side img:hover,
.gallery-grid figure:hover img {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(0, 33, 71, 0.2);
}

.offer-content h2,
.why-section h2,
.content-main h2,
.content-main h3 {
    color: var(--heading);
    font-weight: 500;
}

.offer-content h2,
.why-section h2 {
    margin: 0 0 24px;
    font-size: 28px;
    line-height: 31px;
}

.offer-content p {
    margin: 0 0 25px;
    font-size: 16px;
}

.offer-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
    font-size: 16px;
}

.offer-list li,
.check-list li {
    position: relative;
    padding-left: 24px;
}

.offer-list li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--yellow);
}

.why-section {
    padding: 74px 0 86px;
    background: var(--light);
}

.why-card {
    columns: 2;
    column-gap: 54px;
    padding: 34px;
    background: #fff;
    border-top: 4px solid var(--yellow);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.why-card p {
    break-inside: avoid;
    margin: 0 0 16px;
    color: var(--primary);
    font-weight: 700;
}

.why-card p::before {
    content: ">";
    margin-right: 8px;
    color: var(--yellow);
}

.entry-banner {
    min-height: 250px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 33, 71, 0.72), rgba(0, 33, 71, 0.72)), var(--banner-image) center / cover no-repeat;
    color: #fff;
}

.entry-banner h1 {
    margin: 0 0 10px;
    font-size: 40px;
    line-height: 44px;
    font-weight: 500;
    color: #fff;
}

.breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    color: #fff;
}

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

.breadcrumb a:hover {
    color: #fff;
}

.page-content {
    padding: 70px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    gap: 46px;
    align-items: start;
}

.content-main h3 {
    margin: 0 0 18px;
    font-size: 24px;
}

.content-main p {
    margin: 0 0 16px;
}

.content-section {
    margin-top: 30px;
}

.content-section h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.check-list {
    display: grid;
    gap: 10px;
}

.content-side {
    position: sticky;
    top: 96px;
}

.content-side img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 48px;
}

.gallery-grid figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--primary);
}

.gallery-grid figure::after {
    content: "+";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(253, 200, 0, 0.78);
    color: var(--primary);
    font-size: 36px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gallery-grid figure:hover::after {
    opacity: 1;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: none;
}

.map-wrap {
    margin-top: 44px;
}

.map-wrap iframe {
    width: 100%;
    min-height: 430px;
    border: 0;
}

.activity-content {
    padding: 70px 0 64px;
}

.activity-page {
    display: grid;
    gap: 54px;
}

.activity-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
    gap: 42px;
    align-items: flex-start;
}

.activity-row-full {
    grid-template-columns: 1fr;
}

.activity-row.is-reverse .activity-panel {
    order: 2;
}

.activity-row.is-reverse .activity-image {
    order: 1;
}

.activity-panel {
    min-width: 0;
}

.activity-panel h2,
.activity-panel h3,
.activity-panel h4 {
    color: var(--heading);
    font-weight: 500;
}

.activity-panel h2 {
    margin: 0 0 22px;
    font-size: 28px;
    line-height: 31px;
}

.activity-panel h3 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 26px;
}

.activity-panel h4 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 30px;
}

.activity-panel p {
    margin: 0 0 16px;
}

.activity-contact {
    margin-top: 28px;
}

.activity-contact p {
    margin-bottom: 8px;
}

.activity-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.achievement-block {
    margin: 0 0 26px;
}

.achievement-table-wrap {
    max-width: 100%;
    overflow-x: auto;
}

.achievement-table {
    width: 100%;
    min-width: 380px;
    border-collapse: collapse;
    color: #666666;
}

.achievement-table th,
.achievement-table td {
    padding: 13px 18px;
    text-align: left;
    vertical-align: middle;
    border-top: 1px solid #edf3fd;
}

.achievement-table th {
    color: #222222;
    font-size: 14px;
    font-weight: 500;
    line-height: 40px;
    text-transform: uppercase;
    border-top: 0;
}

.achievement-table th:first-child,
.achievement-table td:first-child {
    width: 74px;
    padding-left: 30px;
}

.achievement-table th:last-child,
.achievement-table td:last-child {
    width: 110px;
}

.site-footer {
    padding-top: 0;
    background: #2a4695;
}

.footer-panel {
    width: min(1400px, calc(100% - 30px));
    display: grid;
    grid-template-columns: 0.9fr 2.1fr 1.1fr;
    gap: 42px;
    padding: 56px 0 52px;
    border-radius: 0;
    background: transparent;
    color: #fff;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    width: min(100%, 286px);
    min-height: 78px;
    padding: 8px 10px;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.footer-logo img {
    width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.footer-brand p {
    max-width: 380px;
    margin: 22px 0 36px;
    color: #fff;
    font-size: 15px;
    line-height: 28px;
    font-weight: 900;
}

.footer-panel h3 {
    margin: 0 0 24px;
    color: #fff;
    font-size: 18px;
    line-height: 24px;
    font-weight: 900;
}

.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-social a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.footer-social a::before,
.footer-contact-icon::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: currentColor;
}

.footer-social a:hover {
    color: var(--yellow);
    transform: translateY(-3px);
}

.footer-social-facebook::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M14 8h3V4h-3c-3.3 0-5 2-5 5v2H6v4h3v7h4v-7h3.2l.8-4h-4V9c0-.7.4-1 1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M14 8h3V4h-3c-3.3 0-5 2-5 5v2H6v4h3v7h4v-7h3.2l.8-4h-4V9c0-.7.4-1 1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-social-instagram::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2h10c2.8 0 5 2.2 5 5v10c0 2.8-2.2 5-5 5H7c-2.8 0-5-2.2-5-5V7c0-2.8 2.2-5 5-5zm0 2c-1.7 0-3 1.3-3 3v10c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3V7c0-1.7-1.3-3-3-3H7zm5 3.2A4.8 4.8 0 1 1 12 16.8 4.8 4.8 0 0 1 12 7.2zm0 2A2.8 2.8 0 1 0 12 14.8 2.8 2.8 0 0 0 12 9.2zM18 6.8a1.1 1.1 0 1 1-2.2 0 1.1 1.1 0 0 1 2.2 0z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M7 2h10c2.8 0 5 2.2 5 5v10c0 2.8-2.2 5-5 5H7c-2.8 0-5-2.2-5-5V7c0-2.8 2.2-5 5-5zm0 2c-1.7 0-3 1.3-3 3v10c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3V7c0-1.7-1.3-3-3-3H7zm5 3.2A4.8 4.8 0 1 1 12 16.8 4.8 4.8 0 0 1 12 7.2zm0 2A2.8 2.8 0 1 0 12 14.8 2.8 2.8 0 0 0 12 9.2zM18 6.8a1.1 1.1 0 1 1-2.2 0 1.1 1.1 0 0 1 2.2 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-social-linkedin::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 3.5A2.5 2.5 0 1 1 4 8.5a2.5 2.5 0 0 1 0-5zM2 10h4v11H2V10zm7 0h3.8v1.5h.1c.5-.9 1.8-1.9 3.7-1.9 4 0 4.7 2.6 4.7 6V21h-4v-4.8c0-1.1 0-2.6-1.6-2.6s-1.9 1.3-1.9 2.6V21H9V10z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 3.5A2.5 2.5 0 1 1 4 8.5a2.5 2.5 0 0 1 0-5zM2 10h4v11H2V10zm7 0h3.8v1.5h.1c.5-.9 1.8-1.9 3.7-1.9 4 0 4.7 2.6 4.7 6V21h-4v-4.8c0-1.1 0-2.6-1.6-2.6s-1.9 1.3-1.9 2.6V21H9V10z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-social-x::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M14.6 10.3 22.3 2h-2.9l-6.1 6.6L8.4 2H2l8 10.7L1.8 22h2.9l6.6-7.5 5.6 7.5h6.3l-8.6-11.7zm-2.3 2.6-1.3-1.8L5.8 4.2h1.4l4.2 5.6 1.3 1.8 5.6 7.5h-1.4l-4.6-6.2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M14.6 10.3 22.3 2h-2.9l-6.1 6.6L8.4 2H2l8 10.7L1.8 22h2.9l6.6-7.5 5.6 7.5h6.3l-8.6-11.7zm-2.3 2.6-1.3-1.8L5.8 4.2h1.4l4.2 5.6 1.3 1.8 5.6 7.5h-1.4l-4.6-6.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-social-youtube::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M21.6 7.2s-.2-1.5-.8-2.1c-.8-.8-1.6-.8-2-.9C16 4 12 4 12 4s-4 0-6.8.2c-.4.1-1.3.1-2 .9-.6.6-.8 2.1-.8 2.1S2.2 9 2.2 10.8v1.7c0 1.8.2 3.6.2 3.6s.2 1.5.8 2.1c.8.8 1.8.8 2.3.9 1.7.2 6.5.2 6.5.2s4 0 6.8-.2c.4-.1 1.3-.1 2-.9.6-.6.8-2.1.8-2.1s.2-1.8.2-3.6v-1.7c0-1.8-.2-3.6-.2-3.6zM10 14.7V8.6l5.8 3.1L10 14.7z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M21.6 7.2s-.2-1.5-.8-2.1c-.8-.8-1.6-.8-2-.9C16 4 12 4 12 4s-4 0-6.8.2c-.4.1-1.3.1-2 .9-.6.6-.8 2.1-.8 2.1S2.2 9 2.2 10.8v1.7c0 1.8.2 3.6.2 3.6s.2 1.5.8 2.1c.8.8 1.8.8 2.3.9 1.7.2 6.5.2 6.5.2s4 0 6.8-.2c.4-.1 1.3-.1 2-.9.6-.6.8-2.1.8-2.1s.2-1.8.2-3.6v-1.7c0-1.8-.2-3.6-.2-3.6zM10 14.7V8.6l5.8 3.1L10 14.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.floating-social-toggle {
    position: fixed;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.floating-social {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 95;
    display: grid;
    width: 54px;
    overflow: hidden;
    border: 1px solid #e7edf5;
    border-right: 0;
    border-radius: 16px 0 0 16px;
    background: #fff;
    box-shadow: 0 15px 36px rgba(0, 33, 71, 0.18);
    transform: translateY(-50%);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.floating-social-link,
.floating-social-close {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: var(--primary);
    background: #fff;
    border-bottom: 1px solid #edf1f7;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, height 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
}

.floating-social-close {
    border-bottom: 0;
}

.floating-social-link::before,
.floating-social-close::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: currentColor;
}

.floating-social-link:hover,
.floating-social-link:focus,
.floating-social-close:hover,
.floating-social-close:focus {
    color: var(--primary-2);
    background: var(--yellow);
    transform: translateX(-3px);
}

.floating-social-whatsapp::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a9.9 9.9 0 0 0-8.5 15L2 22l5.2-1.4A10 10 0 1 0 12 2zm0 2a8 8 0 1 1-4 14.9l-.3-.2-3 .8.8-2.9-.2-.3A8 8 0 0 1 12 4zm-3.1 4.1c.2 0 .4 0 .6.4l.8 1.9c.1.3.1.5-.1.7l-.4.5c-.2.2-.3.4-.1.7.4.8 1 1.5 1.7 2 .7.6 1.5 1 2.4 1.3.3.1.5.1.7-.1l.8-.9c.2-.2.5-.2.7-.1l1.9.9c.3.1.4.3.4.5 0 .6-.4 1.6-.9 1.9-.5.4-1.2.5-2.1.3-1.6-.3-3.1-1-4.4-2.1-1.2-1-2.2-2.3-2.8-3.8-.4-.9-.4-1.7-.2-2.3.2-.5.9-1.4 1.5-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a9.9 9.9 0 0 0-8.5 15L2 22l5.2-1.4A10 10 0 1 0 12 2zm0 2a8 8 0 1 1-4 14.9l-.3-.2-3 .8.8-2.9-.2-.3A8 8 0 0 1 12 4zm-3.1 4.1c.2 0 .4 0 .6.4l.8 1.9c.1.3.1.5-.1.7l-.4.5c-.2.2-.3.4-.1.7.4.8 1 1.5 1.7 2 .7.6 1.5 1 2.4 1.3.3.1.5.1.7-.1l.8-.9c.2-.2.5-.2.7-.1l1.9.9c.3.1.4.3.4.5 0 .6-.4 1.6-.9 1.9-.5.4-1.2.5-2.1.3-1.6-.3-3.1-1-4.4-2.1-1.2-1-2.2-2.3-2.8-3.8-.4-.9-.4-1.7-.2-2.3.2-.5.9-1.4 1.5-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.floating-social-close::before {
    width: 20px;
    height: 20px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.4 5 12 10.6 17.6 5 19 6.4 13.4 12 19 17.6 17.6 19 12 13.4 6.4 19 5 17.6 10.6 12 5 6.4z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.4 5 12 10.6 17.6 5 19 6.4 13.4 12 19 17.6 17.6 19 12 13.4 6.4 19 5 17.6 10.6 12 5 6.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.floating-social-toggle:checked + .floating-social {
    box-shadow: 0 10px 24px rgba(0, 33, 71, 0.12);
}

.floating-social-toggle:checked + .floating-social .floating-social-link {
    height: 0;
    opacity: 0;
    pointer-events: none;
    border-bottom: 0;
}

.floating-social-toggle:checked + .floating-social .floating-social-close {
    background: var(--yellow);
    color: var(--primary-2);
}

.footer-institution-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.footer-links-area > h3 {
    margin-bottom: 28px;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
}

.footer-institution-link {
    --institution-color: #174a8b;
    --institution-hover: #103a70;
    position: relative;
    height: 124px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 4px;
    background: var(--institution-color);
    color: #fff;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-institution-link::after {
    content: "\2197";
    position: absolute;
    top: 17px;
    right: 16px;
    color: var(--institution-color);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-institution-logo,
.footer-institution-name,
.footer-institution-link strong {
    display: block;
    overflow-wrap: anywhere;
}

.footer-institution-logo {
    width: 100%;
    height: 58px;
    flex: 0 0 58px;
    padding: 6px 30px 6px 6px;
    border-radius: 2px;
    background: #fff;
}

.footer-institution-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-institution-name {
    margin-top: 7px;
    font-size: 12px;
    line-height: 17px;
    font-weight: 700;
}

.footer-institution-link strong {
    margin-top: 1px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 900;
}

.footer-institution-link:hover,
.footer-institution-link:focus-visible {
    border-color: #fff;
    background: var(--institution-hover);
    color: #fff;
    transform: translateY(-4px);
}

.footer-institution-link:hover::after,
.footer-institution-link:focus-visible::after {
    color: var(--institution-hover);
    transform: translate(2px, -2px);
}

.institution-arts-dharmapuri {
    --institution-color: #174a8b;
    --institution-hover: #103a70;
}

.institution-arts-krishnagiri {
    --institution-color: #3b3a86;
    --institution-hover: #2c2b69;
}

.institution-pharmacy-dharmapuri {
    --institution-color: #087f5b;
    --institution-hover: #056849;
}

.institution-pharmacy-krishnagiri {
    --institution-color: #1769aa;
    --institution-hover: #10558b;
}

.institution-nursing-dharmapuri {
    --institution-color: #a72d58;
    --institution-hover: #872144;
}

.institution-nursing-krishnagiri {
    --institution-color: #733b83;
    --institution-hover: #5a2d68;
}

.institution-vidyashram-dharmapuri {
    --institution-color: #a84516;
    --institution-hover: #87350f;
}

.institution-vidyashram-hosur {
    --institution-color: #00727a;
    --institution-hover: #005b61;
}

.institution-vidyashram-thiruvannamalai {
    --institution-color: #357a38;
    --institution-hover: #28622b;
}

.institution-vidyashram-tirupattur {
    --institution-color: #513a8c;
    --institution-hover: #3e2b70;
}

.institution-school-dharmapuri {
    --institution-color: #8a2533;
    --institution-hover: #6e1b27;
}

.footer-contact-list {
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    color: #fff;
    font-size: 15px;
    line-height: 28px;
    font-weight: 900;
}

.footer-contact-list a {
    color: #fff;
}

.footer-contact-list a:hover {
    color: var(--yellow);
}

.footer-contact-icon {
    width: 24px;
    height: 24px;
    color: var(--yellow);
}

.footer-contact-location::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 1 7 7c0 5.3-7 13-7 13S5 14.3 5 9a7 7 0 0 1 7-7zm0 9.5A2.5 2.5 0 1 0 12 6.5a2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 1 7 7c0 5.3-7 13-7 13S5 14.3 5 9a7 7 0 0 1 7-7zm0 9.5A2.5 2.5 0 1 0 12 6.5a2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-contact-phone::before,
.footer-contact-mobile::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.7 3.7 5 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1.3.4 2.7.6 4.1.6.7 0 1.3.6 1.3 1.3v3.5c0 .7-.6 1.3-1.3 1.3C10.4 21.6 2.4 13.6 2.4 3.3 2.4 2.6 3 2 3.7 2h3.5c.7 0 1.3.6 1.3 1.3 0 1.4.2 2.8.6 4.1.1.4 0 .9-.3 1.2l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.7 3.7 5 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1.3.4 2.7.6 4.1.6.7 0 1.3.6 1.3 1.3v3.5c0 .7-.6 1.3-1.3 1.3C10.4 21.6 2.4 13.6 2.4 3.3 2.4 2.6 3 2 3.7 2h3.5c.7 0 1.3.6 1.3 1.3 0 1.4.2 2.8.6 4.1.1.4 0 .9-.3 1.2l-2.2 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-contact-mail::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4.5 4h15C20.9 4 22 5.1 22 6.5v11c0 1.4-1.1 2.5-2.5 2.5h-15C3.1 20 2 18.9 2 17.5v-11C2 5.1 3.1 4 4.5 4zm.1 2 7.4 5.7L19.4 6H4.6zM20 8.3l-7.4 5.6c-.4.3-.8.3-1.2 0L4 8.3v9.2c0 .3.2.5.5.5h15c.3 0 .5-.2.5-.5V8.3z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4.5 4h15C20.9 4 22 5.1 22 6.5v11c0 1.4-1.1 2.5-2.5 2.5h-15C3.1 20 2 18.9 2 17.5v-11C2 5.1 3.1 4 4.5 4zm.1 2 7.4 5.7L19.4 6H4.6zM20 8.3l-7.4 5.6c-.4.3-.8.3-1.2 0L4 8.3v9.2c0 .3.2.5.5.5h15c.3 0 .5-.2.5-.5V8.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-bottom {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: #2a4695;
    color: #fff;
    font-weight: 900;
    text-align: center;
}

@media (max-width: 1000px) {
    .footer-panel {
        grid-template-columns: 1fr;
        gap: 38px;
        padding: 46px 0;
    }

    .footer-brand p {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .footer-institution-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding-top: 0;
    }

    .floating-social {
        top: auto;
        right: 10px;
        bottom: 18px;
        width: 48px;
        border-right: 1px solid #e7edf5;
        border-radius: 16px;
        transform: none;
    }

    .floating-social-link,
    .floating-social-close {
        width: 48px;
        height: 48px;
    }

    .floating-social-link::before,
    .floating-social-close::before {
        width: 22px;
        height: 22px;
    }

    .footer-panel {
        width: min(100% - 24px, 1170px);
        padding: 34px 0 36px;
        gap: 34px;
    }

    .footer-logo {
        width: 100%;
        max-width: 300px;
    }

    .footer-panel h3 {
        margin-bottom: 18px;
    }

    .footer-links-area > h3 {
        margin-bottom: 22px;
        font-size: 20px;
        line-height: 26px;
    }

    .footer-institution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .footer-contact-list li {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 12px;
        font-size: 14px;
        line-height: 24px;
    }

    .footer-bottom {
        min-height: 58px;
        font-size: 13px;
        line-height: 20px;
    }
}

.home-page {
    --home-purple: #30256d;
    --home-purple-2: #4b3b93;
    --home-red: #e62f34;
    --home-soft: #f1effc;
    --home-green: #38bd82;
    --home-gold: #c3a000;
    background: #fff;
}

.home-news {
    min-height: 42px;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    overflow: hidden;
    background: var(--home-purple);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.home-news-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--home-red);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-news-label::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--home-red);
    box-shadow: 0 0 12px rgba(230, 47, 52, 0.7);
}

.home-news-label::after {
    content: "";
    position: absolute;
    right: -22px;
    top: 0;
    border-top: 42px solid #fff;
    border-right: 22px solid transparent;
    z-index: 2;
}

.home-news-track {
    min-width: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.home-news-items {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    padding-left: 48px;
    animation: homeNewsTicker 30s linear infinite;
}

.home-news:hover .home-news-items {
    animation-play-state: paused;
}

.home-news-items a {
    position: relative;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.home-news-items a::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 50%;
    width: 4px;
    height: 16px;
    transform: translateY(-50%);
    background: var(--home-red);
}

@keyframes homeNewsTicker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.home-quickbar {
    background: #fff;
    border-bottom: 1px solid #e5e7ef;
}

.home-quickbar-inner {
    min-height: 74px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.home-quicklink,
.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.home-quicklink:hover,
.home-button:hover {
    transform: translateY(-2px);
}

.home-quicklink-light {
    color: #646c78;
    border: 1px solid #9ca4b1;
    background: #fff;
}

.home-quicklink-primary,
.home-button-primary {
    color: #fff;
    background: var(--home-purple);
}

.home-quicklink-danger {
    color: #fff;
    background: var(--home-red);
}

.home-quicklink:hover,
.home-quicklink:focus {
    box-shadow: 0 10px 18px rgba(48, 37, 109, 0.16);
}

.home-hero {
    position: relative;
    height: 720px;
    min-height: 620px;
    overflow: hidden;
    background: var(--home-purple);
}

.home-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: scale(1.04);
    background:
        linear-gradient(90deg, rgba(7, 10, 20, 0.76) 0%, rgba(7, 10, 20, 0.56) 38%, rgba(7, 10, 20, 0.16) 100%),
        var(--home-hero-image) var(--home-hero-position, center) / cover no-repeat;
    transition: opacity 0.65s ease, transform 1.1s ease;
    animation: homeHeroFade 24s infinite;
}

.home-hero-slide:nth-of-type(2) {
    animation-delay: 6s;
}

.home-hero-slide:nth-of-type(3) {
    animation-delay: 12s;
}

.home-hero-slide:nth-of-type(4) {
    animation-delay: 18s;
}

@keyframes homeHeroFade {
    0%,
    22% {
        opacity: 1;
        transform: scale(1);
    }
    25%,
    100% {
        opacity: 0;
        transform: scale(1.04);
    }
}

.home-hero.is-ready .home-hero-slide {
    animation: none;
}

.home-hero.is-ready .home-hero-slide.is-active {
    z-index: 1;
    opacity: 1;
    transform: scale(1);
}

.home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    color: #fff;
}

.home-kicker {
    margin: 0 0 16px;
    color: var(--yellow);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-hero-content h1 {
    margin: 0;
    color: #fff;
    font-size: 66px;
    line-height: 1.1;
    font-weight: 900;
}

.home-hero-content > p:not(.home-kicker) {
    max-width: 610px;
    margin: 24px 0 0;
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    font-weight: 700;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.home-button {
    min-height: 50px;
    padding: 0 26px;
    color: #fff;
}

.home-button-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.08);
}

.home-button-ghost:hover {
    background: #fff;
    color: var(--home-purple);
}

.home-hero-arrow {
    position: absolute;
    top: 55%;
    z-index: 4;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-hero-arrow:hover {
    background: var(--home-red);
    transform: translateY(-2px);
}

.home-hero-arrow-left {
    left: 24px;
}

.home-hero-arrow-right {
    right: 24px;
}

.home-hero-progress {
    position: absolute;
    left: calc((100% - min(1170px, calc(100% - 30px))) / 2);
    bottom: 96px;
    z-index: 4;
    width: 160px;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
}

.home-hero-progress::before {
    content: "";
    display: block;
    width: 60%;
    height: 100%;
    background: var(--home-red);
    animation: homeProgress 6s linear infinite;
}

@keyframes homeProgress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

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

.home-section-heading {
    max-width: 850px;
    margin: 0 auto 34px;
    text-align: center;
}

.home-section-heading h2 {
    margin: 0 0 18px;
    color: #20242c;
    font-size: 42px;
    line-height: 1.18;
    font-weight: 900;
}

.home-section-heading p {
    margin: 0;
    color: #707986;
    font-size: 17px;
    line-height: 28px;
    font-weight: 500;
}

.home-success-section {
    background: #f7f8fb;
}

.home-success-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.home-success-card {
    overflow: hidden;
    border: 1px solid #e3e6ed;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-success-card:hover {
    transform: translateY(-8px);
    border-color: rgba(48, 37, 109, 0.22);
    box-shadow: 0 18px 38px rgba(48, 37, 109, 0.16);
}

.home-success-image {
    position: relative;
    overflow: hidden;
    background: #111;
}

.home-success-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.home-success-card:hover img {
    transform: scale(1.07);
    opacity: 0.9;
}

.home-success-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.82) 100%);
}

.home-success-image span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 1;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

.home-success-body {
    padding: 28px 18px 18px;
}

.home-success-body strong {
    display: block;
    margin-bottom: 16px;
    color: var(--home-purple);
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

.home-success-body p {
    margin: 0 0 7px;
    color: var(--home-purple);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-success-body small {
    display: block;
    color: #687384;
    font-size: 13px;
    line-height: 20px;
}

.home-success-tags {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
}

.home-success-tags span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #f0f1ff;
    color: var(--home-purple);
    font-size: 12px;
    font-weight: 700;
}

.home-success-tags span:last-child {
    background: #fff;
    border: 1px solid #d9dce5;
    color: #7a8290;
}

.home-welcome-section {
    position: relative;
    overflow-x: hidden;
    background: #fff;
    border-top: 8px solid var(--home-purple);
}

.home-welcome-top {
    display: grid;
    grid-template-columns: minmax(340px, 0.98fr) minmax(0, 1.42fr);
    gap: 48px;
    align-items: center;
}

.home-welcome-awards {
    min-width: 0;
}

.home-welcome-award-frame {
    position: relative;
    width: min(100%, 440px);
    min-height: 330px;
    display: grid;
    place-items: center;
    margin: 0 auto;
}

.home-welcome-laurel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -0%;
    z-index: 0;
    width: 112%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.home-welcome-award-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 190px;
    min-height: 158px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 18px;
    text-align: center;
    translate: -50% -50%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.94);
    transition: opacity 0.26s ease, transform 0.26s ease, visibility 0s linear 0.26s;
}

.home-welcome-award-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

.home-welcome-award-slide strong {
    color: #111827;
    font-size: 58px;
    line-height: 1;
    font-weight: 900;
}

.home-welcome-award-slide p {
    margin: 16px 0 0;
    color: #222831;
    font-size: 17px;
    line-height: 24px;
    font-weight: 500;
}

.home-welcome-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.home-welcome-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d7dce4;
    transition: width 0.24s ease, background 0.24s ease;
}

.home-welcome-dots span.is-active {
    width: 24px;
    background: var(--yellow);
}

.home-welcome-copy h2 {
    margin: 0 0 18px;
    color: #0873c7;
    font-size: 40px;
    line-height: 1.16;
    font-weight: 400;
}

.home-welcome-copy p {
    margin: 0 0 12px;
    color: #101820;
    font-size: 17px;
    line-height: 28px;
    font-weight: 400;
}

.home-welcome-feature-rail {
    display: flex;
    gap: 20px;
    margin-top: 70px;
    overflow: hidden;
    contain: paint;
}

.home-welcome-feature-track {
    display: flex;
    flex: 0 0 auto;
    gap: 20px;
    min-width: max-content;
    animation: welcomeFeatureMove 32s linear infinite;
}

.home-welcome-feature-rail:hover .home-welcome-feature-track,
.home-welcome-feature-rail:focus-within .home-welcome-feature-track {
    animation-play-state: paused;
}

@keyframes welcomeFeatureMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 20px));
    }
}

.home-welcome-feature-card {
    position: relative;
    flex: 0 0 150px;
    width: 150px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 14px 16px;
    border: 2px solid var(--yellow);
    background: #fff;
    color: #17202b;
    overflow: hidden;
    transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-welcome-feature-card:nth-child(even) {
    border-color: #0873c7;
}

.home-welcome-feature-card:nth-child(4) {
    border-style: dashed;
}

.home-welcome-feature-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 0;
    background: var(--home-purple);
    transition: height 0.28s ease;
    z-index: 0;
}

.home-welcome-feature-card:nth-child(even)::before {
    background: #0873c7;
}

.home-welcome-feature-card:hover,
.home-welcome-feature-card:focus {
    color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 18px 30px rgba(0, 33, 71, 0.16);
}

.home-welcome-feature-card:hover::before,
.home-welcome-feature-card:focus::before {
    height: 100%;
}

.home-welcome-feature-icon,
.home-welcome-feature-label {
    position: relative;
    z-index: 1;
}

.home-welcome-feature-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0873c7;
    border: 3px solid currentColor;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.home-welcome-feature-card:nth-child(odd) .home-welcome-feature-icon {
    color: var(--home-purple);
}

.home-welcome-feature-card:hover .home-welcome-feature-icon,
.home-welcome-feature-card:focus .home-welcome-feature-icon {
    color: #fff;
    transform: translateY(-4px) rotate(-4deg);
}

.home-welcome-feature-label {
    color: inherit;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
}

.home-extraordinary {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 239, 252, 0.94)),
        var(--home-soft);
    isolation: isolate;
}

.home-extraordinary::before,
.home-extraordinary::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.home-extraordinary::before {
    background:
        linear-gradient(90deg, rgba(0, 33, 71, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(0, 33, 71, 0.07) 1px, transparent 1px);
    background-size: 72px 72px;
    animation: homeExtraGrid 22s linear infinite;
}

.home-extraordinary::after {
    width: 160%;
    left: -30%;
    background:
        linear-gradient(115deg, transparent 0 32%, rgba(253, 200, 0, 0.14) 42%, rgba(0, 33, 71, 0.07) 49%, transparent 58% 100%);
    transform: translateX(-18%);
    animation: homeExtraSweep 9s ease-in-out infinite;
}

.home-extraordinary > .wrap {
    position: relative;
    z-index: 1;
}

@keyframes homeExtraGrid {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 72px 72px, 72px 72px;
    }
}

@keyframes homeExtraSweep {
    0%,
    100% {
        transform: translateX(-18%);
        opacity: 0.48;
    }
    50% {
        transform: translateX(18%);
        opacity: 0.9;
    }
}

.home-stat-panel {
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr 1.9fr;
    border: 1px solid #d8d6e8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(48, 37, 109, 0.08);
}

.home-stat-lead {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    background: var(--home-purple);
    color: #fff;
}

.home-stat-icon,
.home-innovation-head span,
.home-keylight-intro span {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-stat-icon,
.home-stat-item-icon {
    display: grid;
    place-items: center;
}

.home-stat-icon {
    color: #fff;
}

.home-stat-icon::before,
.home-stat-item-icon::before {
    content: "";
    width: 27px;
    height: 27px;
    background: currentColor;
}

.home-stat-icon::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-stat-lead strong {
    margin-top: 32px;
    color: #fff;
    font-size: 60px;
    line-height: 1;
    font-weight: 900;
}

.home-stat-lead p {
    margin: 14px 0 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.home-stat-lead b {
    color: #fff;
    font-size: 14px;
    line-height: 22px;
}

.home-stat-photo {
    min-height: 340px;
    background: var(--home-purple);
}

.home-stat-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
    mix-blend-mode: luminosity;
}

.home-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.home-stat-grid article {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    border-left: 1px solid #e4e2ec;
    border-bottom: 1px solid #e4e2ec;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-stat-grid article:hover {
    background: #faf9ff;
    transform: translateY(-3px);
}

.home-stat-grid article span {
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    border-radius: 8px 8px 0 8px;
    background: #f1efff;
    border-bottom: 3px solid var(--home-purple);
    color: var(--home-purple);
}

.home-stat-item-icon::before {
    width: 22px;
    height: 22px;
}

.home-stat-item-icon.is-medal::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='m8.5 12-1 10 4.5-3 4.5 3-1-10'/%3E%3Cpath d='m12 5 1 2 2 .3-1.5 1.5.4 2.2-1.9-1-1.9 1 .4-2.2L9 7.3 11 7z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='m8.5 12-1 10 4.5-3 4.5 3-1-10'/%3E%3Cpath d='m12 5 1 2 2 .3-1.5 1.5.4 2.2-1.9-1-1.9 1 .4-2.2L9 7.3 11 7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-stat-item-icon.is-ranking::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 20h16M6 16v4M10 12v8M14 8v12M18 4v16'/%3E%3Cpath d='m15 6 3-3 3 3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 20h16M6 16v4M10 12v8M14 8v12M18 4v16'/%3E%3Cpath d='m15 6 3-3 3 3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-stat-item-icon.is-briefcase::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 12h18M10 12v2h4v-2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M3 12h18M10 12v2h4v-2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-stat-item-icon.is-graduation::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m2 9 10-5 10 5-10 5L2 9Z'/%3E%3Cpath d='M6 11.5V16c3 3 9 3 12 0v-4.5M22 9v6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m2 9 10-5 10 5-10 5L2 9Z'/%3E%3Cpath d='M6 11.5V16c3 3 9 3 12 0v-4.5M22 9v6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-stat-grid article strong {
    color: #252a33;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.home-stat-grid article p {
    margin: 10px 0 0;
    color: #505a69;
    font-size: 15px;
    font-weight: 500;
}

.home-innovation-panel {
    position: relative;
    margin-top: 42px;
    padding: 36px 22px 26px;
    border: 1px solid #d8d6e8;
    border-radius: 8px;
    background: #fff;
}

.home-innovation-head {
    margin-bottom: 28px;
}

.home-innovation-head span {
    display: block;
    background: var(--home-purple);
}

.home-innovation-head h3 {
    margin: 24px 0 12px;
    color: #20242c;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 900;
}

.home-innovation-head p {
    margin: 0;
    color: #333943;
    font-weight: 500;
}

.home-innovation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.home-innovation-card {
    min-height: 160px;
    padding: 28px;
    border: 1px solid #e8e3d5;
    border-radius: 6px;
    background: #fbfaf5;
    transform: rotate(-1.2deg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-innovation-card:nth-child(even) {
    transform: rotate(1.2deg);
}

.home-innovation-card:hover {
    transform: rotate(0) translateY(-8px);
    box-shadow: 0 18px 32px rgba(48, 37, 109, 0.12);
}

.home-innovation-card strong {
    display: block;
    margin-bottom: 18px;
    color: var(--home-purple);
    font-size: 31px;
    line-height: 1;
    font-weight: 900;
}

.home-innovation-card p {
    margin: 0;
    color: #596270;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
}

.home-innovation-card.is-green {
    border-color: #ccefdc;
    background: #f1fff7;
}

.home-innovation-card.is-gold {
    border-color: #f1e7bf;
    background: #fffaf0;
}

.home-innovation-card.is-red {
    border-color: #f8d0d0;
    background: #fff7f7;
}

.home-innovation-card.is-purple {
    border-color: #d8d3ff;
    background: #f6f4ff;
}

.home-sports-panel {
    margin-top: 42px;
    padding: 42px 30px 30px;
    border-radius: 8px;
    background:
        linear-gradient(rgba(48, 37, 109, 0.94), rgba(48, 37, 109, 0.94)),
        url("../wp-content/uploads/2023/01/sports-300x199@2x.jpg") center / cover no-repeat;
    color: #fff;
}

.home-sports-title h3 {
    margin: 0 0 34px;
    color: #fff;
    font-size: 62px;
    line-height: 1.06;
    font-weight: 900;
    text-transform: uppercase;
}

.home-sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.home-sports-grid article {
    min-height: 166px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, background 0.2s ease;
}

.home-sports-grid article:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.14);
}

.home-sports-grid span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 22px;
    background: #fff;
    color: #292f38;
    font-size: 13px;
    font-weight: 900;
}

.home-sports-grid small {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 700;
}

.home-sports-grid strong {
    color: #fff;
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.home-keylights {
    background: #fff;
}

.home-keylights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.home-keylight-intro {
    grid-row: span 2;
    min-height: 372px;
    padding: 42px 34px;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(48, 37, 109, 0.42), rgba(48, 37, 109, 0.88)),
        var(--keylight-image) center / cover no-repeat;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.home-keylight-intro span {
    display: block;
    background: var(--home-purple);
}

.home-keylight-intro h2 {
    margin: 120px 0 14px;
    color: #fff;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 900;
}

.home-keylight-intro p {
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
}

.home-feature-card {
    overflow: hidden;
    border: 1px solid #d9dce4;
    border-radius: 8px;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(230, 47, 52, 0.35);
    box-shadow: 0 18px 36px rgba(48, 37, 109, 0.12);
}

.home-feature-card a {
    display: block;
    height: 100%;
    color: inherit;
}

.home-feature-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-feature-card:hover img {
    transform: scale(1.06);
}

.home-feature-card div {
    position: relative;
    padding: 22px 28px 30px;
}

.home-feature-card div::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 24px;
    width: 4px;
    height: 34px;
    background: var(--home-red);
}

.home-feature-card div::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 58px;
    width: 3px;
    height: calc(100% - 82px);
    background: var(--home-purple);
}

.home-feature-card h3 {
    margin: 0 0 15px;
    padding-left: 18px;
    color: #22272f;
    font-size: 24px;
    line-height: 30px;
    font-weight: 900;
}

.home-feature-card p {
    margin: 0;
    padding-left: 18px;
    color: #687384;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
}

.home-life {
    background: #3d316f;
    color: #fff;
}

.home-section-heading-light h2,
.home-section-heading-light p {
    color: #fff;
}

.home-life-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.home-life-card {
    display: grid;
    grid-template-columns: minmax(190px, 0.82fr) minmax(0, 1.18fr);
    min-height: 285px;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    color: var(--home-purple);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-life-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.home-life-card-image {
    min-height: 100%;
    overflow: hidden;
}

.home-life-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-life-card:hover img {
    transform: scale(1.06);
}

.home-life-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px;
}

.home-life-card-body strong {
    color: var(--primary);
    font-size: 22px;
    line-height: 28px;
    font-weight: 900;
}

.home-life-card-body > span {
    margin-top: 12px;
    color: #5f6877;
    font-size: 14px;
    line-height: 23px;
    font-weight: 500;
}

.home-life-card-body b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-life-card-body b::after {
    content: ">";
    color: var(--yellow);
    font-size: 18px;
    transition: transform 0.2s ease;
}

.home-life-card:hover .home-life-card-body b::after {
    transform: translateX(4px);
}

.home-programmes {
    background: #fff;
}

.home-programmes .home-section-heading {
    margin-bottom: 28px;
}

.home-programmes .home-section-heading p {
    max-width: 980px;
}

.home-programme-tabs {
    position: relative;
}

.home-programme-tab-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.home-programme-tab-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
    margin-bottom: 34px;
}

.home-programme-tab-list::before,
.home-programme-tab-list::after {
    display: none;
}

.home-programme-tab {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--primary);
    font-size: 15px;
    line-height: 20px;
    font-weight: 900;
    text-align: center;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-programme-tab span {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid currentColor;
    border-radius: 6px;
    color: inherit;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}

.home-programme-tab:hover {
    color: var(--yellow);
    transform: translateY(-2px);
}

#home-study-commerce-management:checked ~ .home-programme-tab-list label[for="home-study-commerce-management"],
#home-study-computational-sciences:checked ~ .home-programme-tab-list label[for="home-study-computational-sciences"],
#home-study-bio-sciences:checked ~ .home-programme-tab-list label[for="home-study-bio-sciences"],
#home-study-languages:checked ~ .home-programme-tab-list label[for="home-study-languages"],
#home-study-physical-sciences:checked ~ .home-programme-tab-list label[for="home-study-physical-sciences"] {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 14px 30px rgba(0, 33, 71, 0.2);
}

.home-programme-tab-panels {
    min-height: 0;
}

.home-programme-tab-panel {
    display: none;
    animation: homeProgrammeFade 0.28s ease both;
}

#home-study-commerce-management:checked ~ .home-programme-tab-panels [data-panel="commerce-management"],
#home-study-computational-sciences:checked ~ .home-programme-tab-panels [data-panel="computational-sciences"],
#home-study-bio-sciences:checked ~ .home-programme-tab-panels [data-panel="bio-sciences"],
#home-study-languages:checked ~ .home-programme-tab-panels [data-panel="languages"],
#home-study-physical-sciences:checked ~ .home-programme-tab-panels [data-panel="physical-sciences"] {
    display: block;
}

@keyframes homeProgrammeFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-programme-school {
    margin-top: 42px;
}

.home-programme-school:first-child {
    margin-top: 0;
}

.home-programme-school h3 {
    position: relative;
    margin: 0 0 18px;
    padding-left: 18px;
    color: var(--primary);
    font-size: 24px;
    line-height: 30px;
    font-weight: 900;
}

.home-programme-school h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 5px;
    height: 22px;
    background: var(--yellow);
}

.home-programme-course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.home-programme-card {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 16px 34px rgba(0, 33, 71, 0.12);
    isolation: isolate;
}

.home-programme-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 33, 71, 0.9) 0%, rgba(0, 33, 71, 0.72) 48%, rgba(0, 33, 71, 0.28) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08));
    transition: background 0.25s ease;
}

.home-programme-card-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--programme-image) center / cover no-repeat;
    transform: scale(1.02);
    transition: transform 0.42s ease, filter 0.42s ease;
}

.home-programme-card-content {
    position: relative;
    z-index: 2;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 28px;
}

.home-programme-card-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    border: 2px solid var(--yellow);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
}

.home-programme-card-title {
    display: block;
    max-width: 420px;
    color: #fff;
    font-size: 24px;
    line-height: 30px;
    font-weight: 900;
}

.home-programme-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-programme-card-action::after {
    content: ">";
}

.home-programme-card:hover {
    color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 24px 44px rgba(0, 33, 71, 0.22);
}

.home-programme-card:hover::after {
    background:
        linear-gradient(90deg, rgba(0, 33, 71, 0.96) 0%, rgba(0, 33, 71, 0.72) 48%, rgba(253, 200, 0, 0.18) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.08));
}

.home-programme-card:hover .home-programme-card-image {
    transform: scale(1.12);
    filter: saturate(1.08);
}

.home-programme-card:hover .home-programme-card-action {
    opacity: 1;
    transform: translateY(0);
}

.home-events-section {
    background: #fff;
    scroll-margin-top: 130px;
    overflow: hidden;
}

.home-events-section h2 {
    margin: 0;
    padding: 24px 15px 16px;
    color: var(--primary);
    font-size: 40px;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
}

.home-events-slider {
    --home-event-slide-width: calc(100vw / 3);
    width: 100%;
    overflow: hidden;
    background: var(--primary-2);
}

.home-events-track {
    display: flex;
    width: max-content;
    animation: homeEventsMarquee 36s ease-in-out infinite;
    will-change: transform;
}

.home-events-slider:hover .home-events-track {
    animation-play-state: paused;
}

@keyframes homeEventsMarquee {
    0%,
    10% {
        transform: translateX(0);
    }
    15%,
    25% {
        transform: translateX(calc(var(--home-event-slide-width) * -1));
    }
    30%,
    40% {
        transform: translateX(calc(var(--home-event-slide-width) * -2));
    }
    45%,
    55% {
        transform: translateX(calc(var(--home-event-slide-width) * -3));
    }
    60%,
    70% {
        transform: translateX(calc(var(--home-event-slide-width) * -4));
    }
    75%,
    85% {
        transform: translateX(calc(var(--home-event-slide-width) * -5));
    }
    90%,
    100% {
        transform: translateX(calc(var(--home-event-slide-width) * -6));
    }
}

.home-event-card {
    --event-bg: var(--primary-2);
    --event-accent: var(--yellow);
    --event-ribbon-ink: var(--primary-2);
    position: relative;
    flex: 0 0 var(--home-event-slide-width);
    min-height: 382px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 50px 34px;
    background:
        linear-gradient(135deg, rgba(253, 200, 0, 0.07), transparent 42%),
        var(--event-bg);
    color: #fff;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.home-event-card.is-featured {
    background:
        linear-gradient(135deg, rgba(253, 200, 0, 0.18), transparent 46%),
        var(--event-bg);
}

.home-event-card.is-tone-navy {
    --event-bg: #001a39;
    --event-accent: #fdc800;
}

.home-event-card.is-tone-purple {
    --event-bg: #3d316f;
    --event-accent: #ffd34f;
}

.home-event-card.is-tone-pink {
    --event-bg: #d70046;
    --event-accent: #ffd3e1;
    --event-ribbon-ink: #82002b;
}

.home-event-card.is-tone-royal {
    --event-bg: #24519a;
    --event-accent: #fdc800;
}

.home-event-card.is-tone-magenta {
    --event-bg: #7b285f;
    --event-accent: #ffc2db;
    --event-ribbon-ink: #5f1245;
}

.home-event-card.is-tone-blue {
    --event-bg: #005d78;
    --event-accent: #f6c744;
}

.home-event-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--event-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.home-event-card:hover {
    z-index: 2;
    transform: translateY(-8px);
    box-shadow: 0 24px 44px rgba(0, 33, 71, 0.22);
}

.home-event-card:hover::before {
    transform: scaleX(1);
}

.home-event-ribbon {
    position: relative;
    min-width: 62px;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    margin-bottom: 16px;
    background: var(--event-accent);
    color: var(--event-ribbon-ink);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.home-event-ribbon::after {
    content: "";
    position: absolute;
    top: 0;
    right: -13px;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-right: 13px solid var(--event-accent);
}

.home-event-date {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 44px;
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: 0;
}

.home-event-date span {
    font: inherit;
}

.home-event-card h3 {
    max-width: 420px;
    margin: 0 0 26px;
    color: #fff;
    font-size: 31px;
    line-height: 1.16;
    font-weight: 400;
}

.home-event-card p {
    max-width: 520px;
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.home-event-card a {
    align-self: flex-end;
    margin-top: auto;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-event-card a:hover {
    color: var(--yellow);
}

@media (prefers-reduced-motion: reduce) {
    .home-news-items,
    .home-hero-slide,
    .home-hero-progress::before,
    .home-welcome-feature-track,
    .home-events-track,
    .home-extraordinary::before,
    .home-extraordinary::after {
        animation: none;
    }

    .home-hero-slide:first-of-type {
        opacity: 1;
    }
}

@media (max-width: 1180px) {
    .home-quickbar-inner {
        justify-content: center;
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .home-hero-content h1 {
        font-size: 56px;
    }

    .home-stat-panel {
        grid-template-columns: 1fr 1.4fr;
    }

    .home-welcome-top {
        gap: 42px;
    }

    .home-stat-photo {
        display: none;
    }

    .home-keylights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-keylight-intro {
        grid-row: auto;
    }

    .home-events-slider {
        --home-event-slide-width: 50vw;
    }

    .home-event-card {
        padding: 42px 34px 32px;
    }

    .home-event-card h3 {
        font-size: 27px;
    }
}

@media (max-width: 900px) {
    .home-news {
        grid-template-columns: 125px minmax(0, 1fr);
    }

    .home-news-label {
        font-size: 11px;
    }

    .home-news-items a {
        font-size: 12px;
    }

    .home-hero {
        height: 620px;
        min-height: 560px;
    }

    .home-hero-content {
        max-width: 620px;
    }

    .home-hero-content h1 {
        font-size: 46px;
    }

    .home-hero-content > p:not(.home-kicker) {
        font-size: 16px;
        line-height: 27px;
    }

    .home-hero-arrow {
        top: auto;
        bottom: 28px;
    }

    .home-hero-progress {
        bottom: 46px;
    }

    .home-section {
        padding: 48px 0;
    }

    .home-section-heading {
        margin-bottom: 34px;
    }

    .home-section-heading h2 {
        font-size: 34px;
    }

    .home-section-heading p {
        font-size: 15px;
        line-height: 25px;
    }

    .home-success-rail {
        display: flex;
        gap: 18px;
        padding: 2px 4px 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .home-success-card {
        min-width: min(82vw, 360px);
        scroll-snap-align: start;
    }

    .home-welcome-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-welcome-copy {
        text-align: center;
    }

    .home-welcome-copy h2 {
        font-size: 34px;
    }

    .home-welcome-feature-rail {
        max-width: 100%;
        margin-top: 44px;
    }

    .home-welcome-feature-card {
        flex-basis: 180px;
        width: 180px;
    }

    .home-stat-panel {
        grid-template-columns: 1fr;
    }

    .home-stat-lead {
        min-height: 260px;
    }

    .home-stat-grid article {
        min-height: 150px;
    }

    .home-innovation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-sports-title h3 {
        font-size: 48px;
    }

    .home-sports-grid,
    .home-life-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-life-card {
        grid-template-columns: 1fr;
    }

    .home-life-card-image {
        min-height: 210px;
        aspect-ratio: 16 / 9;
    }

    .home-events-slider {
        --home-event-slide-width: 100vw;
    }

    .home-event-card {
        min-height: 300px;
    }

    .home-keylights-grid {
        grid-template-columns: 1fr;
    }

    .home-programme-tab-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-programme-tab-list::before,
    .home-programme-tab-list::after {
        display: none;
    }

    .home-programme-tab {
        width: 100%;
        min-height: 52px;
    }

    .home-programme-course-grid {
        grid-template-columns: 1fr;
    }

    .home-keylight-intro {
        min-height: 260px;
    }

    .home-keylight-intro h2 {
        margin-top: 64px;
    }
}

@media (max-width: 640px) {
    .home-news {
        grid-template-columns: 1fr;
    }

    .home-news-label {
        min-height: 34px;
    }

    .home-news-label::after {
        display: none;
    }

    .home-news-track {
        min-height: 36px;
    }

    .home-news-items {
        padding-left: 20px;
        animation-duration: 22s;
    }

    .home-quickbar-inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-quicklink {
        min-height: 40px;
        padding: 0 12px;
        font-size: 12px;
    }

    .home-hero {
        height: 560px;
        min-height: 520px;
    }

    .home-hero-slide {
        align-items: flex-end;
        padding-bottom: 94px;
        background:
            linear-gradient(180deg, rgba(7, 10, 20, 0.18) 0%, rgba(7, 10, 20, 0.82) 76%, rgba(7, 10, 20, 0.92) 100%),
            var(--home-hero-image) var(--home-hero-position-mobile, center) / cover no-repeat;
    }

    .home-kicker {
        font-size: 11px;
        line-height: 17px;
    }

    .home-hero-content h1 {
        font-size: 34px;
        line-height: 1.12;
    }

    .home-hero-content > p:not(.home-kicker) {
        margin-top: 16px;
        font-size: 14px;
        line-height: 23px;
    }

    .home-hero-actions {
        gap: 10px;
        margin-top: 24px;
    }

    .home-button {
        flex: 1 1 140px;
        min-height: 44px;
        padding: 0 14px;
        font-size: 13px;
    }

    .home-hero-arrow {
        width: 34px;
        height: 34px;
        font-size: 28px;
    }

    .home-hero-arrow-left {
        left: 12px;
    }

    .home-hero-arrow-right {
        right: 12px;
    }

    .home-hero-progress {
        left: 12px;
        bottom: 48px;
        width: 120px;
    }

    .home-section {
        padding: 38px 0;
    }

    .home-section-heading h2 {
        font-size: 29px;
        line-height: 1.22;
    }

    .home-events-section h2 {
        padding-top: 22px;
        font-size: 32px;
    }

    .home-event-card {
        min-height: 280px;
        padding: 34px 24px 28px;
    }

    .home-event-date {
        font-size: 36px;
    }

    .home-event-card h3 {
        max-width: 100%;
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 1.18;
    }

    .home-event-card p {
        font-size: 15px;
        line-height: 23px;
    }

    .home-success-body strong {
        font-size: 28px;
    }

    .home-welcome-section {
        border-top-width: 6px;
    }

    .home-welcome-award-frame {
        min-height: 250px;
    }

    .home-welcome-laurel {
        top: 4px;
        bottom: 4px;
        left: -3%;
        width: 106%;
        height: calc(100% - 8px);
    }

    .home-welcome-award-slide strong {
        font-size: 44px;
    }

    .home-welcome-award-slide p {
        font-size: 15px;
        line-height: 22px;
    }

    .home-welcome-copy h2 {
        font-size: 29px;
    }

    .home-welcome-copy p {
        font-size: 15px;
        line-height: 25px;
    }

    .home-welcome-feature-card {
        min-height: 138px;
        flex-basis: 168px;
        width: 168px;
    }

    .home-stat-lead {
        min-height: 230px;
        padding: 26px;
    }

    .home-stat-lead strong {
        margin-top: 24px;
        font-size: 46px;
    }

    .home-stat-grid {
        grid-template-columns: 1fr;
    }

    .home-stat-grid article {
        padding: 24px;
        border-left: 0;
    }

    .home-innovation-panel {
        padding: 26px 16px 20px;
    }

    .home-innovation-head h3 {
        font-size: 31px;
    }

    .home-innovation-grid {
        grid-template-columns: 1fr;
    }

    .home-innovation-card,
    .home-innovation-card:nth-child(even) {
        min-height: 132px;
        transform: none;
    }

    .home-sports-panel {
        padding: 32px 18px 20px;
    }

    .home-sports-title h3 {
        font-size: 40px;
    }

    .home-sports-grid,
    .home-life-grid {
        grid-template-columns: 1fr;
    }

    .home-life-grid {
        padding: 16px;
    }

    .home-life-card-image {
        min-height: 190px;
    }

    .home-life-card-body {
        padding: 24px;
    }

    .home-life-card-body strong {
        font-size: 20px;
        line-height: 26px;
    }

    .home-programme-tab-list {
        display: flex;
        overflow-x: auto;
        padding: 2px 2px 10px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .home-programme-tab {
        width: auto;
        flex: 0 0 215px;
        scroll-snap-align: start;
    }

    .home-keylight-intro {
        min-height: 0;
        padding: 28px 24px;
    }

    .home-programme-tab-panels {
        min-height: 0;
    }

    .home-programme-school {
        margin-top: 32px;
    }

    .home-programme-school h3 {
        font-size: 20px;
        line-height: 26px;
    }

    .home-programme-card,
    .home-programme-card-content {
        min-height: 188px;
    }

    .home-programme-card-content {
        padding: 22px;
    }

    .home-programme-card-title {
        font-size: 20px;
        line-height: 26px;
    }

    .home-keylight-intro h2 {
        margin-top: 50px;
        font-size: 34px;
    }

    .home-feature-card div {
        padding: 20px 20px 26px;
    }

    .home-feature-card h3,
    .home-feature-card p {
        padding-left: 16px;
    }
}

@media (max-width: 420px) {
    .home-quickbar-inner {
        grid-template-columns: 1fr;
    }

    .home-hero-content h1 {
        font-size: 30px;
    }

    .home-section-heading h2 {
        font-size: 26px;
    }

    .home-sports-grid strong {
        font-size: 34px;
    }

    .home-success-card {
        min-width: 86vw;
    }
}

@media (min-width: 1101px) {
    .mobile-menu-button {
        display: none;
    }
}

@media (max-width: 1100px) and (min-width: 901px) {
    .header-inner {
        position: relative;
        min-height: 78px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 14px;
        padding: 10px 0;
    }

    .brand-link {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .brand-link picture {
        width: min(100%, 300px);
    }

    .brand-link img {
        width: 100%;
        max-height: 54px;
    }

    .main-nav {
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .nav-wrap {
        position: static;
    }

    .mobile-menu-button {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        min-height: 0;
        gap: 0;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 16px 28px rgba(0, 33, 71, 0.14);
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav-toggle:checked ~ .main-nav .menu {
        display: flex;
    }

    .menu > li > a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0 58px 0 16px;
        border-top: 1px solid var(--line);
        font-size: 14px;
        line-height: 19px;
    }

    .menu > li:not(.has-children) > a {
        padding-right: 16px;
    }

    .submenu-toggle-label {
        position: absolute;
        top: 0;
        right: 0;
        width: 52px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-left: 1px solid var(--line);
        cursor: pointer;
    }

    .submenu-toggle-label::before {
        content: "";
        width: 9px;
        height: 9px;
        margin-top: -4px;
        border-right: 2px solid var(--primary);
        border-bottom: 2px solid var(--primary);
        transform: rotate(45deg);
        transition: transform 0.2s ease, margin 0.2s ease;
    }

    .submenu-toggle:checked + .submenu-toggle-label::before {
        margin-top: 5px;
        transform: rotate(225deg);
    }

    .sub-menu {
        position: static;
        min-width: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f6f8fb;
    }

    .sub-menu a {
        padding: 10px 28px;
        color: var(--primary);
        border-bottom-color: #e8edf4;
    }

    .submenu-toggle:checked ~ .sub-menu {
        display: block;
    }
}

@media (max-width: 900px) {
    .tophead {
        font-size: 13px;
    }

    .tophead-inner {
        min-height: 0;
        padding: 7px 0;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .top-contact,
    .top-links {
        justify-content: center;
        gap: 5px 16px;
    }

    .header-inner {
        position: relative;
        min-height: 78px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 14px;
        padding: 10px 0;
    }

    .brand-link {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .brand-link picture {
        width: min(100%, 300px);
    }

    .brand-link img {
        width: 100%;
        max-height: 54px;
    }

    .main-nav {
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .nav-wrap {
        position: static;
    }

    .mobile-menu-button {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        min-height: 0;
        gap: 0;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 16px 28px rgba(0, 33, 71, 0.14);
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav-toggle:checked ~ .main-nav .menu {
        display: flex;
    }

    .menu > li > a {
        min-height: 44px;
        display: flex;
        align-items: center;
        border-top: 1px solid var(--line);
        font-size: 14px;
        line-height: 19px;
        padding: 0 58px 0 16px;
    }

    .menu > li:not(.has-children) > a {
        padding-right: 16px;
    }

    .submenu-toggle-label {
        position: absolute;
        top: 0;
        right: 0;
        width: 52px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-left: 1px solid var(--line);
        cursor: pointer;
    }

    .submenu-toggle-label::before {
        content: "";
        width: 9px;
        height: 9px;
        margin-top: -4px;
        border-right: 2px solid var(--primary);
        border-bottom: 2px solid var(--primary);
        transform: rotate(45deg);
        transition: transform 0.2s ease, margin 0.2s ease;
    }

    .submenu-toggle:checked + .submenu-toggle-label::before {
        margin-top: 5px;
        transform: rotate(225deg);
    }

    .sub-menu {
        position: static;
        min-width: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        background: #f6f8fb;
    }

    .sub-menu a {
        padding: 10px 28px;
        color: var(--primary);
        border-bottom-color: #e8edf4;
    }

    .submenu-toggle:checked ~ .sub-menu {
        display: block;
    }

    .slider {
        height: 560px;
        min-height: 560px;
    }

    .offer-grid,
    .content-grid,
    .activity-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .activity-row.is-reverse .activity-panel,
    .activity-row.is-reverse .activity-image {
        order: initial;
    }

    .content-side {
        position: static;
    }

    .why-card {
        columns: 1;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .wrap {
        width: min(100% - 24px, 1170px);
    }

    .tophead {
        font-size: 12px;
    }

    .tophead-inner {
        padding: 7px 0 8px;
    }

    .top-contact {
        flex-direction: column;
        gap: 2px;
    }

    .top-links {
        gap: 5px 12px;
    }

    .top-item {
        gap: 6px;
    }

    .top-item::before {
        width: 13px;
        height: 13px;
        flex-basis: 13px;
    }

    .header-inner {
        min-height: 68px;
        padding: 10px 0;
    }

    .brand-link img {
        max-height: 54px;
        object-position: left center;
    }

    .brand-link picture {
        width: min(100%, 285px);
    }

    .menu {
        max-height: calc(100vh - 170px);
    }

    .slider {
        height: 480px;
        min-height: 480px;
    }

    .slide-content h1 {
        font-size: 38px;
    }

    .slide-content p {
        font-size: 22px;
    }

    .offer-section,
    .why-section,
    .activity-content,
    .page-content {
        padding: 48px 0;
    }

    .activity-page {
        gap: 38px;
    }

    .achievement-table {
        min-width: 340px;
    }

    .achievement-table th,
    .achievement-table td {
        padding: 10px 12px;
    }

    .achievement-table th:first-child,
    .achievement-table td:first-child {
        width: 58px;
        padding-left: 14px;
    }

    .offer-list {
        grid-template-columns: 1fr;
    }

    .entry-banner {
        min-height: 190px;
    }

    .entry-banner h1 {
        font-size: 32px;
        line-height: 36px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
