﻿/*
 * Homepage main content, migrated from the homepage of
 * https://jolly-desert-0c745481e.7.azurestaticapps.net/
 * (a Tailwind/Next.js site). Hand-translated from that page's Tailwind
 * utility classes into plain CSS, scoped under .home-source-content so it
 * cannot leak into the target site's existing header/footer/other pages.
 */

.home-source-content {
    font-family: 'Nunito Sans', sans-serif;
    color: #2b3947;
    overflow-x: hidden;
}

.home-source-content h1,
.home-source-content h2,
.home-source-content h3 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    margin: 0;
}

.home-source-content p { margin: 0; }
.home-source-content a { text-decoration: none; }
.home-source-content img { max-width: 100%; display: block; }
.home-source-content ul { list-style: none; margin: 0; padding: 0; }
.home-source-content blockquote { margin: 0; }

.hsc-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.hsc-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #d4a853;
}

.hsc-section { padding: 80px 0; }
.hsc-section--deep { background: #22405e; }
.hsc-section--bg { background: #f5f8fb; }
.hsc-section--pale { background: #e9f0f6; }

.hsc-section-head { max-width: 672px; }

.hsc-section-head h2 {
    margin-top: 16px;
    font-size: 30px;
    color: #2b3947;
}

.hsc-section--deep .hsc-section-head h2,
.hsc-section--deep h2 { color: #fff; }

.hsc-section-head p:not(.hsc-eyebrow) {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.625;
    color: #6d7a88;
}

/* Hero */
.hsc-hero { padding-top: 128px; padding-bottom: 64px; }

.hsc-hero__grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

/* Entrance transition ported from the source's Framer Motion
   FadeInLeft/FadeInRight wrappers around these two columns
   (initial opacity:0, x:∓40 -> opacity:1, x:0, duration .6s easeOut). */
@keyframes hsc-fade-in-left {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes hsc-fade-in-right {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.hsc-hero__grid > div:first-child { animation: hsc-fade-in-left .6s ease-out both; }
.hsc-hero__grid > div:last-child { animation: hsc-fade-in-right .6s ease-out both; }

/* Section-level entrance transitions ported from the source's Framer Motion
   FadeInUp ({opacity:0,y:24} -> {opacity:1,y:0}, duration .5s easeOut) and its
   staggered-item variant ({opacity:0,y:20} -> {opacity:1,y:0}, duration .5s
   easeOut), applied via whileInView there; run once on load here instead. */
@keyframes hsc-fade-in-up {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hsc-fade-in-up-sm {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hsc-section-head,
.hsc-social-head,
.hsc-final-head {
    animation: hsc-fade-in-up .5s ease-out both;
}

.hsc-inspire__grid > div:first-child { animation: hsc-fade-in-left .6s ease-out both; }
.hsc-inspire__grid > div:last-child { animation: hsc-fade-in-right .6s ease-out both; }

.hsc-social-item,
.hsc-final-card {
    animation: hsc-fade-in-up-sm .5s ease-out both;
}

.hsc-social-item:nth-child(1) { animation-delay: 0s; }
.hsc-social-item:nth-child(2) { animation-delay: .05s; }
.hsc-social-item:nth-child(3) { animation-delay: .1s; }
.hsc-social-item:nth-child(4) { animation-delay: .15s; }
.hsc-social-item:nth-child(5) { animation-delay: .2s; }
.hsc-social-item:nth-child(6) { animation-delay: .25s; }
.hsc-social-item:nth-child(7) { animation-delay: .3s; }
.hsc-social-item:nth-child(8) { animation-delay: .35s; }

.hsc-final-card:nth-child(1) { animation-delay: 0s; }
.hsc-final-card:nth-child(2) { animation-delay: .1s; }
.hsc-final-card:nth-child(3) { animation-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
    .hsc-hero__grid > div,
    .hsc-section-head,
    .hsc-social-head,
    .hsc-final-head,
    .hsc-inspire__grid > div,
    .hsc-social-item,
    .hsc-final-card {
        animation: none;
    }
}

.hsc-hero__title {
    font-size: 40px;
    line-height: 1.05;
    letter-spacing: -.025em;
    color: #fff;
}

p.hsc-hero__eyebrow { margin-top: 16px; }

p.hsc-hero__text {
    margin-top: 24px;
    max-width: 32rem;
    font-size: 16px;
    line-height: 1.625;
    color: rgba(255, 255, 255, .7);
}

.hsc-hero__cta {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    background: #5b8ab0;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    transition: transform .3s ease, background .3s ease;
}

.hsc-hero__cta:hover { background: #6e9bc0; color: #fff; transform: translateY(-2px); }
.hsc-hero__cta svg { width: 16px; height: 16px; }

.hsc-hero__stats {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hsc-hero__stats div:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, .15);
    padding-left: 16px;
}

.hsc-hero__stats dd {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    margin: 0;
}

.hsc-hero__stats dt {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .025em;
    text-transform: uppercase;
    color: #8fb3cc;
}

.hsc-hero__video {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: #22405e;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .4);
}

.hsc-hero__video-slide { position: absolute; inset: 0; }

.hsc-hero__video img { width: 100%; height: 100%; object-fit: cover; }

.hsc-hero__video-thumb { display: block; width: 100%; height: 100%; cursor: pointer; border: none; padding: 0; background: none; }

.hsc-hero__video iframe { width: 100%; height: 100%; border: 0; display: block; }

.hsc-hero__video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 64, 94, .35);
}

.hsc-hero__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hsc-hero__play span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1);
}

.hsc-hero__play svg { width: 24px; height: 24px; margin-left: 4px; color: #2e4c6d; }

.hsc-hero__video-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 48px 20px 56px;
    background: linear-gradient(to top, rgba(34, 64, 94, .9), transparent);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.hsc-hero__video-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hsc-hero__video-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}

.hsc-hero__video-dots button:hover { background: rgba(255, 255, 255, .8); }
.hsc-hero__video-dots button[aria-current="true"] { width: 24px; background: #fff; }

.hsc-hero__video-nav {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: #2e4c6d;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
    cursor: pointer;
    transition: background .2s ease, opacity .2s ease;
}

.hsc-hero__video-nav:hover { background: #fff; }
.hsc-hero__video-nav:focus-visible { opacity: 1; }

@media (min-width: 768px) {
    .hsc-hero__video-nav { opacity: 0; }
    .hsc-hero__video:hover .hsc-hero__video-nav,
    .hsc-hero__video:focus-within .hsc-hero__video-nav { opacity: 1; }
}
.hsc-hero__video-nav svg { width: 20px; height: 20px; }
.hsc-hero__video-nav--prev { left: 12px; }
.hsc-hero__video-nav--next { right: 12px; }

/* Horizontal scroll rows (campuses / testimonials / student stories) */
.hsc-scroll-row {
    margin-top: 48px;
    display: flex;
    align-items: stretch;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
}

.hsc-scroll-row::-webkit-scrollbar { height: 6px; }
.hsc-scroll-row::-webkit-scrollbar-thumb { background: #dce6ef; border-radius: 999px; }

.hsc-scroll-row > * {
    flex-shrink: 0;
    scroll-snap-align: start;
    width: 80vw;
}

/* Campus cards */
.hsc-campus-row > * { width: 80vw; }

.hsc-campus-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid #dce6ef;
    background: #fff;
    padding: 24px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.hsc-campus-card:hover {
    transform: translateY(-4px);
    border-color: #8fb3cc;
    box-shadow: 0 20px 25px -5px rgba(46, 76, 109, .08);
}

.hsc-campus-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.hsc-campus-card__logo {
    display: flex;
    align-items: center;
    height: 64px;
}

.hsc-campus-card__logo img { max-height: 56px; width: auto; max-width: 140px; object-fit: contain; }

.hsc-badge {
    flex-shrink: 0;
    border-radius: 999px;
    background: #e9f0f6;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #2e4c6d;
}

.hsc-campus-card h3 { margin-top: 20px; font-size: 18px; color: #2b3947; }

p.hsc-campus-card__location {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6d7a88;
}

.hsc-campus-card__location svg { width: 14px; height: 14px; flex-shrink: 0; }

.hsc-campus-card__stats {
    margin-top: 24px;
    display: grid;
    gap: 8px;
    border-top: 1px solid #dce6ef;
    padding-top: 20px;
    text-align: center;
}

.hsc-campus-card__stats dd {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 18px;
    color: #2e4c6d;
    margin: 0;
}

.hsc-campus-card__stats dt {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 500;
    color: #6d7a88;
}

/* Quote cards (leadership + student stories) */
.hsc-quote-row > * { width: 80vw; max-width: 24rem; }

.hsc-quote-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid #dce6ef;
    background: #fff;
    padding: 28px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.hsc-quote-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(46, 76, 109, .08); }

.hsc-quote-card svg { width: 28px; height: 28px; color: rgba(143, 179, 204, .6); }

.hsc-quote-card blockquote {
    margin-top: 20px;
    flex: 1;
    font-size: 15px;
    line-height: 1.625;
    color: rgba(43, 57, 71, .85);
}

.hsc-quote-card--student blockquote { font-size: 18px; }

.hsc-quote-card__by {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #dce6ef;
    padding-top: 24px;
}

.hsc-quote-card__by img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(143, 179, 204, .4);
}

.hsc-quote-card__initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #2e4c6d;
    font-family: 'Fraunces', serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.hsc-quote-card__by p:first-child { font-weight: 600; color: #2b3947; }
.hsc-quote-card__by p:last-child { margin-top: 2px; font-size: 14px; color: #6d7a88; }

.hsc-quote-card--student figcaption {
    margin-top: 24px;
    border-top: 1px solid #dce6ef;
    padding-top: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #6d7a88;
}

/* Inspiration / stats section */
.hsc-inspire__grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

.hsc-inspire__text p.hsc-eyebrow { margin-bottom: 0; }
.hsc-inspire__text h2 { margin-top: 16px; font-size: 30px; color: #fff; }

.hsc-inspire__text > p:not(.hsc-eyebrow) {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.625;
    color: rgba(255, 255, 255, .7);
}

.hsc-inspire__stats {
    margin-top: 40px;
    display: grid;
    gap: 16px;
}

.hsc-inspire__stat {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .06);
    padding: 20px;
}

.hsc-inspire__stat p:first-child { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 700; color: #fff; }
.hsc-inspire__stat p:last-child { margin-top: 8px; font-size: 14px; line-height: 1.375; color: #8fb3cc; }

.hsc-inspire__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .4);
}

.hsc-inspire__image img { width: 100%; height: 100%; object-fit: cover; }

/* Social feed */
.hsc-social-head {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hsc-social-links { display: flex; flex-wrap: wrap; gap: 12px; }

.hsc-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid #dce6ef;
    background: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #2e4c6d;
    transition: box-shadow .3s ease, border-color .3s ease;
}

.hsc-social-link:hover { border-color: #8fb3cc; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1); color: #2e4c6d; }
.hsc-social-link svg { width: 16px; height: 16px; }

.hsc-social-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hsc-social-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    background: #2e4c6d;
}

.hsc-social-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.hsc-social-item:hover img { transform: scale(1.05); }

.hsc-social-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(34, 64, 94, .85), rgba(34, 64, 94, .1) 60%, transparent);
}

.hsc-social-item__play {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
}

.hsc-social-item__play svg { width: 14px; height: 14px; color: #2e4c6d; margin-left: 2px; }

.hsc-social-item__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    line-height: 1.375;
}

/* Final CTA cards */
.hsc-final-head { text-align: center; max-width: 48rem; margin: 0 auto; }
.hsc-final-head h2 { font-size: 30px; }
.hsc-final-head p { margin-top: 20px; font-size: 16px; line-height: 1.625; color: #6d7a88; }

.hsc-final-grid {
    margin-top: 56px;
    display: grid;
    gap: 24px;
}

.hsc-final-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid #dce6ef;
    background: #fff;
    padding: 32px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.hsc-final-card:hover { transform: translateY(-4px); border-color: #8fb3cc; box-shadow: 0 20px 25px -5px rgba(46, 76, 109, .08); }

.hsc-final-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #e9f0f6;
    color: #2e4c6d;
    transition: background .3s ease, color .3s ease;
}

.hsc-final-card:hover .hsc-final-card__icon { background: #5b8ab0; color: #fff; }
.hsc-final-card__icon svg { width: 24px; height: 24px; }

.hsc-final-card h3 { margin-top: 24px; font-size: 20px; color: #2b3947; }
.hsc-final-card p { margin-top: 12px; flex: 1; font-size: 14px; line-height: 1.625; color: #6d7a88; }

.hsc-final-card__link {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2e4c6d;
}

.hsc-final-card__link svg { width: 16px; height: 16px; transition: transform .3s ease; }
.hsc-final-card:hover .hsc-final-card__link svg { transform: translateX(4px); }

@media (min-width: 640px) {
    .hsc-hero__video-caption { font-size: 16px; }
    .hsc-hero__video { aspect-ratio: 16 / 11; }
    .hsc-inspire__stats { grid-template-columns: repeat(3, 1fr); }
    .hsc-social-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .hsc-campus-row > * { width: 20rem; }
    .hsc-hero__stats dd { font-size: 24px; }
    .hsc-hero__stats { gap: 32px; }
    .hsc-hero__stats div:not(:first-child) { padding-left: 32px; }
}

@media (min-width: 768px) {
    .hsc-hero__stats dd { font-size: 30px; }
}

@media (min-width: 1024px) {
    .hsc-campus-row > * { width: 19rem; }
}

@media (min-width: 768px) {
    .hsc-hero { padding-top: 144px; padding-bottom: 96px; }
    .hsc-hero__title { font-size: 44px; }
    .hsc-hero__text { font-size: 18px; }
    .hsc-section { padding: 112px 0; }
    .hsc-section-head h2, .hsc-final-head h2, .hsc-inspire__text h2 { font-size: 36px; }
    .hsc-section-head p:not(.hsc-eyebrow), .hsc-inspire__text > p:not(.hsc-eyebrow), .hsc-final-head p { font-size: 18px; }
    .hsc-social-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .hsc-social-item__caption { font-size: 14px; }
    .hsc-final-grid { grid-template-columns: repeat(3, 1fr); }
    .hsc-quote-card:not(.hsc-quote-card--student) { padding: 32px; }
}

@media (min-width: 1024px) {
    .hsc-hero__grid { grid-template-columns: 1fr 1fr; }
    .hsc-inspire__grid { grid-template-columns: 1fr 1fr; }
    .hsc-section-head h2, .hsc-final-head h2, .hsc-inspire__text h2 { font-size: 44px; }
}

@media (min-width: 1280px) {
    .hsc-hero__grid { grid-template-columns: 5fr 7fr; }
}
