/* Landing page pieces UIkit has no component for. */

/* Hero */
.nmtc-hero { padding-top: 40px; overflow: hidden; }
.nmtc-hero__title {
    margin: 0;
    font-size: clamp(3rem, 1.8rem + 5vw, 5.75rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
}
.nmtc-hero__title strong {
    font-weight: 700;
    color: var(--nmtc-blue-deep);
}
.nmtc-hero__title em { color: var(--nmtc-blue); font-weight: 400; }
.nmtc-hero__lead { max-width: 34rem; margin: 26px 0 0; color: var(--nmtc-muted); font-size: 1.15rem; }

.nmtc-hero__media { position: relative; max-width: 520px; margin-left: auto; }
.nmtc-hero__media::before {
    content: "";
    position: absolute;
    top: -18px;
    right: -18px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--nmtc-red);
    opacity: 0.9;
}
.nmtc-hero__img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 999px 999px 28px 28px;
    box-shadow: var(--nmtc-shadow-hover);
}
.nmtc-hero__badge {
    position: absolute;
    left: -28px;
    bottom: 12%;
    max-width: 210px;
    border-radius: 16px;
    animation: nmtc-float 6s ease-in-out infinite;
}
.nmtc-hero__badge-num { display: block; font-family: var(--nmtc-serif); font-size: 2.2rem; line-height: 1.1; color: var(--nmtc-blue); }

@media (max-width: 959px) {
    .nmtc-hero__media { margin: 8px auto 0; max-width: 440px; }
    .nmtc-hero__badge { left: -8px; }
}

/* Play button (hero + about) */
.nmtc-play { display: inline-flex; align-items: center; gap: 12px; color: var(--nmtc-blue-deep); font-weight: 600; }
.nmtc-play:hover { color: var(--nmtc-blue); text-decoration: none; }
.nmtc-play__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    color: var(--nmtc-red);
    box-shadow: var(--nmtc-shadow);
    transition: transform 0.3s;
}
.nmtc-play__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid currentColor;
    animation: nmtc-pulse 2.4s ease-out infinite;
}
.nmtc-play:hover .nmtc-play__icon,
.nmtc-media-frame__play:hover .nmtc-play__icon { transform: scale(1.08); }
.nmtc-play__icon--lg { width: 84px; height: 84px; }

/* Stats band */
.nmtc-stats { padding: clamp(56px, 7vw, 96px) 0; background: var(--nmtc-tint); }
.nmtc-stats__list { margin-bottom: 0; }
.nmtc-stats__item { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; align-content: start; }
.nmtc-stats__item > :not(.nmtc-stats__icon) { grid-column: 2; }
.nmtc-stats__icon {
    grid-row: 1 / span 3;
    color: var(--nmtc-blue);
    transition: color 0.3s, transform 0.3s;
}
.nmtc-stats__item:hover .nmtc-stats__icon { color: var(--nmtc-red); transform: translateY(-3px); }
.nmtc-stats__num {
    display: block;
    font-family: var(--nmtc-serif);
    font-size: clamp(1.6rem, 1.4rem + 0.6vw, 2rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--nmtc-blue-deep);
}
.nmtc-stats__title {
    display: block;
    margin-top: 10px;
    color: var(--nmtc-blue);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nmtc-stats__label { display: block; max-width: 17rem; margin-top: 6px; color: var(--nmtc-muted); font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 639px) {
    .nmtc-stats__item { column-gap: 10px; }
    .nmtc-stats__icon svg { width: 26px; height: 26px; }
}

/* About */
.nmtc-media-frame { border-radius: 24px; overflow: hidden; box-shadow: var(--nmtc-shadow-hover); }
.nmtc-media-frame img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nmtc-media-frame__play { background: linear-gradient(to top, rgba(13, 31, 92, 0.45), rgba(13, 31, 92, 0.05)); }
.nmtc-quote {
    margin: 0 0 22px;
    padding: 0;
    border: 0;
    color: var(--nmtc-blue-deep);
    font-family: var(--nmtc-serif);
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
    font-style: italic;
    line-height: 1.35;
}
.nmtc-quote p { margin: 0; }
.nmtc-founder { gap: 16px; margin: 28px 0 0; padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: var(--nmtc-shadow); }
.nmtc-founder__mark {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--nmtc-blue);
    color: #fff;
    font-family: var(--nmtc-serif);
    font-size: 1.15rem;
}
.nmtc-founder__photo { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.nmtc-founder__name { margin: 0; font-family: var(--nmtc-serif); font-size: 1.15rem; color: var(--nmtc-blue-deep); }

/* Classroom gallery slider */
.nmtc-gallery__item { border-radius: 16px; }
.nmtc-gallery__item img { display: block; width: 100%; }
.nmtc-gallery__zoom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(13, 31, 92, 0.55);
    color: #fff;
}
.nmtc-slider-arrows { gap: 8px; }
.nmtc-slider-arrows .uk-icon-button { width: 44px; height: 44px; background: #fff; color: var(--nmtc-blue-deep); box-shadow: var(--nmtc-shadow); }
.nmtc-slider-arrows .uk-icon-button:hover { background: var(--nmtc-blue); color: #fff; }
.uk-dotnav > * > * { border-color: rgba(13, 31, 92, 0.3); }
.uk-dotnav > .uk-active > * { background: var(--nmtc-blue); border-color: var(--nmtc-blue); }

/* Why NMTC (photo background with brand overlay) */
.nmtc-why { position: relative; background-color: var(--nmtc-blue-deep); }
.nmtc-why::before { content: ""; position: absolute; inset: 0; background: rgba(13, 31, 92, 0.86); }
.nmtc-why__card {
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--nmtc-radius);
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: background-color 0.3s, transform 0.3s;
}
.nmtc-why__card:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-4px); }
.nmtc-why__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--nmtc-red);
    color: #fff;
}
.nmtc-why__title { margin: 0 0 10px; font-size: 1.35rem; }
.nmtc-why p { color: rgba(255, 255, 255, 0.8); }

/* Courses slider and testimonials (slider container clips overflow, so pad it for the shadow and hover lift) */
.nmtc-courses-slider__track { margin: -12px -15px -36px; padding: 12px 15px 36px; }
.nmtc-slider-controls { position: relative; gap: 20px; }
.nmtc-slider-controls .uk-dotnav { flex-wrap: nowrap; }
.nmtc-slider-controls .uk-icon-button { flex: none; }
.nmtc-testimonials__track { margin: -12px -15px -36px; padding: 12px 15px 36px; }
.nmtc-testimonial {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: clamp(28px, 3vw, 44px);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--nmtc-shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.nmtc-testimonial:hover { transform: translateY(-4px); box-shadow: var(--nmtc-shadow-hover); }
.nmtc-testimonial--featured { background: linear-gradient(135deg, var(--nmtc-blue) 0%, var(--nmtc-blue-deep) 100%); }
.nmtc-testimonial__mark {
    position: absolute;
    top: -0.18em;
    right: 0.12em;
    font-family: var(--nmtc-serif);
    font-size: 11rem;
    line-height: 1;
    color: var(--nmtc-red);
    opacity: 0.14;
    pointer-events: none;
}
.nmtc-testimonial--featured .nmtc-testimonial__mark { color: #fff; opacity: 0.12; }
.nmtc-testimonial__highlight {
    position: relative;
    margin: 0 0 18px;
    padding-left: 18px;
    border-left: 3px solid var(--nmtc-red);
    color: var(--nmtc-blue-deep);
    font-family: var(--nmtc-serif);
    font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.55rem);
    font-style: italic;
    line-height: 1.35;
}
.nmtc-testimonial--featured .nmtc-testimonial__highlight { color: #fff; }
.nmtc-testimonial__quote { flex: 1; margin: 0 0 28px; padding: 0; border: 0; font: inherit; color: var(--nmtc-muted); }
.nmtc-testimonial__quote p { margin: 0; }
.nmtc-testimonial__quote p + p { margin-top: 1em; }
.nmtc-testimonial--featured .nmtc-testimonial__quote { color: rgba(255, 255, 255, 0.82); }
.nmtc-testimonial__author { gap: 14px; padding-top: 22px; border-top: 1px solid var(--nmtc-line); }
.nmtc-testimonial--featured .nmtc-testimonial__author { border-top-color: rgba(255, 255, 255, 0.18); }
.nmtc-testimonial__avatar {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--nmtc-blue);
    color: #fff;
    font-family: var(--nmtc-serif);
    font-size: 1.1rem;
}
.nmtc-testimonial--featured .nmtc-testimonial__avatar { background: var(--nmtc-red); }
.nmtc-testimonial__avatar--photo { object-fit: cover; }
.nmtc-testimonial__name { display: block; font-family: var(--nmtc-serif); font-size: 1.15rem; color: var(--nmtc-blue-deep); }
.nmtc-testimonial--featured .nmtc-testimonial__name { color: #fff; }
.nmtc-testimonial__role { display: block; color: var(--nmtc-muted); font-size: 0.88rem; line-height: 1.4; }
.nmtc-testimonial--featured .nmtc-testimonial__role { color: rgba(255, 255, 255, 0.7); }
.nmtc-testimonial__course {
    flex: none;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(23, 54, 196, 0.1);
    color: var(--nmtc-blue);
    font-size: 0.78rem;
    font-weight: 600;
}
.nmtc-testimonial--featured .nmtc-testimonial__course { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* Sister concerns logos */
.nmtc-network__item {
    min-height: 130px;
    padding: 22px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--nmtc-shadow);
    box-sizing: border-box;
    transition: transform 0.3s, box-shadow 0.3s;
}
.nmtc-network__item img { max-height: 74px; width: auto; object-fit: contain; transition: filter 0.3s, opacity 0.3s; }
.nmtc-network__item:hover { transform: translateY(-3px); box-shadow: var(--nmtc-shadow-hover); }
.nmtc-network__text { font-family: var(--nmtc-serif); color: var(--nmtc-blue-deep); text-align: center; line-height: 1.3; }
@media (hover: hover) {
    .nmtc-network__item img { filter: grayscale(1); opacity: 0.75; }
    .nmtc-network__item:hover img { filter: none; opacity: 1; }
}

/* Consultation call-out */
.nmtc-consult {
    padding: clamp(32px, 5vw, 64px);
    border-radius: 28px;
    background: linear-gradient(135deg, var(--nmtc-blue) 0%, var(--nmtc-blue-deep) 100%);
}
.nmtc-consult .nmtc-title { max-width: 24ch; margin-bottom: 12px; }
.nmtc-consult p { color: rgba(255, 255, 255, 0.82); }
.nmtc-consult__contact { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.nmtc-consult.uk-light .uk-button-default:hover,
.nmtc-consult.uk-light .uk-button-default:focus,
.nmtc-consult.uk-light .uk-button-default:focus-visible,
.nmtc-consult.uk-light .uk-button-default:active,
.nmtc-consult.uk-light .uk-button-default.uk-active,
.nmtc-consult.uk-light .uk-button-default.uk-open {
    background-color: #fff;
    border-color: #fff;
    color: var(--nmtc-blue-deep, #0d1f5c);
}

@keyframes nmtc-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes nmtc-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .nmtc-hero__badge, .nmtc-play__icon::after { animation: none; }
}
