/* Home page visual refinement aligned with school page design system */

.page-home {
    position: relative;
    background:
        linear-gradient(180deg, #fffdf8 0%, #fff 18%, #f8fbff 52%, #fff9f0 100%);
}

body.page-home main {
    position: relative;
    z-index: 1;
}

.page-home .home-section {
    position: relative;
    overflow: hidden;
}

.page-home .home-section > .container {
    position: relative;
    z-index: 2;
}

.page-home .home-section--light {
    background:
        linear-gradient(160deg, #eef5fc 0%, #fdf8ee 55%, #f4f9ff 100%);
}

.page-home .home-section--warm {
    background:
        linear-gradient(135deg, rgba(251, 178, 37, 0.12) 0%, rgba(255, 255, 255, 0.96) 42%, rgba(26, 102, 166, 0.07) 100%);
}

.page-home .home-section--gold {
    background:
        linear-gradient(145deg, rgba(251, 178, 37, 0.16) 0%, rgba(255, 248, 232, 0.95) 38%, rgba(26, 102, 166, 0.06) 100%);
}

.page-home .home-section--pattern {
    background-color: #fafcff;
    background-image:
        radial-gradient(rgba(26, 102, 166, 0.07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(251, 178, 37, 0.06) 0%, transparent 45%);
    background-size: 22px 22px, 100% 100%;
}

.page-home .home-section.bg1 {
    background-color: transparent;
    background-image:
        radial-gradient(circle at 12% 40%, rgba(26, 102, 166, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 88% 18%, rgba(251, 178, 37, 0.14) 0%, transparent 38%),
        linear-gradient(160deg, #eef5fc 0%, #fdf8ee 100%);
}

/* Page-level ambient shapes */
.page-home .home-page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.page-home .home-page-bg__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(0.5px);
}

.page-home .home-page-bg__shape--1 {
    width: clamp(220px, 28vw, 420px);
    height: clamp(220px, 28vw, 420px);
    top: 18%;
    right: -6%;
    background: radial-gradient(circle, rgba(251, 178, 37, 0.18) 0%, rgba(251, 178, 37, 0) 72%);
    animation: home-float-slow 14s ease-in-out infinite;
}

.page-home .home-page-bg__shape--2 {
    width: clamp(180px, 22vw, 340px);
    height: clamp(180px, 22vw, 340px);
    top: 52%;
    left: -5%;
    background: radial-gradient(circle, rgba(26, 102, 166, 0.12) 0%, rgba(26, 102, 166, 0) 70%);
    animation: home-float-slow 18s ease-in-out infinite reverse;
}

.page-home .home-page-bg__shape--3 {
    width: clamp(140px, 18vw, 280px);
    height: clamp(140px, 18vw, 280px);
    bottom: 8%;
    right: 12%;
    background: radial-gradient(circle, rgba(251, 178, 37, 0.14) 0%, rgba(251, 178, 37, 0) 68%);
    animation: home-float-slow 16s ease-in-out infinite 2s;
}

/* Section decorative shapes */
.page-home .home-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.page-home .home-deco__blob {
    position: absolute;
    border-radius: 42% 58% 63% 37% / 38% 42% 58% 62%;
    opacity: 0.55;
}

.page-home .home-deco__blob--1 {
    width: clamp(120px, 16vw, 220px);
    height: clamp(120px, 16vw, 220px);
    top: 8%;
    right: 4%;
    background: linear-gradient(135deg, rgba(251, 178, 37, 0.35), rgba(251, 178, 37, 0.08));
    animation: home-morph 12s ease-in-out infinite, home-float 9s ease-in-out infinite;
}

.page-home .home-deco__blob--2 {
    width: clamp(100px, 14vw, 180px);
    height: clamp(100px, 14vw, 180px);
    bottom: 10%;
    left: 3%;
    background: linear-gradient(135deg, rgba(26, 102, 166, 0.22), rgba(26, 102, 166, 0.05));
    animation: home-morph 14s ease-in-out infinite reverse, home-float 11s ease-in-out infinite 1s;
}

.page-home .home-deco__blob--3 {
    width: clamp(90px, 12vw, 160px);
    height: clamp(90px, 12vw, 160px);
    top: 12%;
    left: 6%;
    background: linear-gradient(135deg, rgba(251, 178, 37, 0.28), rgba(26, 102, 166, 0.1));
    animation: home-morph 13s ease-in-out infinite 1.5s, home-float 10s ease-in-out infinite;
}

.page-home .home-deco__blob--4 {
    width: clamp(110px, 15vw, 200px);
    height: clamp(110px, 15vw, 200px);
    bottom: 15%;
    right: 8%;
    background: rgba(251, 178, 37, 0.2);
    animation: home-morph 11s ease-in-out infinite, home-float 8s ease-in-out infinite;
}

.page-home .home-deco__ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(251, 178, 37, 0.35);
}

.page-home .home-deco__ring--1 {
    width: 88px;
    height: 88px;
    top: 18%;
    left: 8%;
    animation: home-spin 22s linear infinite;
}

.page-home .home-deco__ring--2 {
    width: 120px;
    height: 120px;
    bottom: 12%;
    right: 10%;
    border-color: rgba(26, 102, 166, 0.2);
    animation: home-spin 28s linear infinite reverse;
}

.page-home .home-deco__ring--3 {
    width: 140px;
    height: 140px;
    top: 10%;
    left: 12%;
    border-color: rgba(255, 255, 255, 0.28);
    animation: home-spin 24s linear infinite;
}

.page-home .home-deco__triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.45;
}

.page-home .home-deco__triangle--1 {
    top: 14%;
    right: 10%;
    border-left: 28px solid transparent;
    border-right: 28px solid transparent;
    border-bottom: 48px solid rgba(251, 178, 37, 0.35);
    animation: home-float 7s ease-in-out infinite;
}

.page-home .home-deco__triangle--2 {
    bottom: 16%;
    left: 8%;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-top: 40px solid rgba(26, 102, 166, 0.22);
    animation: home-float 8s ease-in-out infinite 1.2s;
}

.page-home .home-deco__dots {
    position: absolute;
    width: 96px;
    height: 96px;
    top: 10%;
    right: 6%;
    background-image: radial-gradient(rgba(251, 178, 37, 0.55) 2px, transparent 2px);
    background-size: 14px 14px;
    animation: home-float 10s ease-in-out infinite;
}

.page-home .home-deco__dots--alt {
    top: auto;
    bottom: 8%;
    left: 5%;
    right: auto;
    background-image: radial-gradient(rgba(26, 102, 166, 0.35) 2px, transparent 2px);
}

@keyframes home-float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-14px) translateX(6px); }
}

@keyframes home-float-slow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.04); }
}

@keyframes home-morph {
    0%, 100% { border-radius: 42% 58% 63% 37% / 38% 42% 58% 62%; }
    50% { border-radius: 58% 42% 37% 63% / 52% 38% 62% 48%; }
}

@keyframes home-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-home .section-intro {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.page-home .section-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.28rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(251, 178, 37, 0.22), rgba(251, 178, 37, 0.1));
    color: var(--dl-blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(251, 178, 37, 0.28);
}

.page-home .section-heading {
    font-size: clamp(1.65rem, 3.4vw, 2.45rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dl-blue);
    margin-bottom: 0.95rem;
}

.page-home .section-intro p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--dl-text);
    margin-bottom: 0;
}

/* Accent line matches internal pages */
.page-home .accent-line {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light), var(--primary));
    margin: 0 0 1rem;
}

/* Hero video section */
.page-home .hero-video-section {
    min-height: clamp(520px, 88vh, 920px);
    background: #000;
    overflow: hidden;
}

.page-home .hero-video-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.page-home .hero-video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: 0;
}

.page-home .hero-video-content {
    position: relative;
    z-index: 3;
    min-height: clamp(520px, 88vh, 920px);
    display: flex;
    align-items: center;
    padding: 1rem 0 5rem;
}

.page-home .hero-video-content h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 2.2rem);
    line-height: 1.13;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
    font-weight: 900;
}

.page-home .hero-video-content p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
    max-width: 580px;
    line-height: 1.75;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.page-home .home-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(251, 178, 37, 0.16);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 1.15rem;
}

.page-home .hero-video-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.95rem;
    margin-top: 2rem;
}

.page-home .hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: home-hero-bounce 2s ease-in-out infinite;
    transition: color var(--duration) var(--ease);
}

.page-home .hero-scroll-hint:hover {
    color: #fff;
}

@keyframes home-hero-bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/* Stats */
.page-home .home-stats {
    background: linear-gradient(90deg, var(--dl-blue), var(--dl-blue-dark));
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
    .page-home .home-stats .col-md-3:not(:last-child) > .p-2 {
        border-right: 1px solid rgba(255, 255, 255, 0.18);
    }
}

.page-home .home-stats__value {
    color: var(--dl-yellow) !important;
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 700;
    line-height: 1.05;
}

.page-home .home-stats__label {
    text-transform: uppercase;
    letter-spacing: 0.075em;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.84);
}

/* Buttons */
.page-home .btn-premium-primary,
.page-home .btn-premium-secondary {
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition-interactive);
    text-decoration: none;
}

.page-home .btn-premium-primary {
    background: var(--dl-blue);
    color: #fff;
    border: 2px solid var(--dl-blue);
    box-shadow: 0 6px 18px rgba(26, 102, 166, 0.22);
}

.page-home .btn-premium-primary:hover {
    background: var(--dl-blue-dark);
    transform: translateY(-2px);
    color: #fff;
}

.page-home .btn-premium-secondary {
    background: var(--dl-yellow);
    color: #1d2731;
    border: 2px solid var(--dl-yellow);
    box-shadow: 0 6px 18px rgba(251, 178, 37, 0.3);
}

.page-home .btn-premium-secondary:hover {
    background: #e8a81f;
    transform: translateY(-2px);
    color: #1d2731;
}

/* Cards — transitions defined in common.css */
.page-home .premium-card {
    background: #fff;
    border: 1px solid rgba(251, 178, 37, 0.12);
    border-radius: 14px;
    box-shadow: 0 10px 32px rgba(26, 102, 166, 0.08);
}

.page-home .premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(251, 178, 37, 0.14);
    border-color: rgba(251, 178, 37, 0.32);
}

.page-home .home-feature-card {
    background: linear-gradient(145deg, #fff 0%, #fffaf0 100%);
    border: 1px solid rgba(251, 178, 37, 0.18);
    border-radius: 12px;
    padding: 1.7rem;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(26, 102, 166, 0.06);
}

.page-home .home-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light), var(--primary));
}

.page-home .home-feature-card::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    bottom: -24px;
    right: -24px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 178, 37, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.page-home .home-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 38px rgba(251, 178, 37, 0.14);
    border-color: rgba(251, 178, 37, 0.42);
}

.page-home .home-feature-card h3 {
    color: var(--dl-blue) !important;
    font-weight: 700;
}

.page-home .home-feature-card p {
    color: var(--dl-text);
    line-height: 1.65;
}

.page-home .home-feature-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(251, 178, 37, 0.28), rgba(251, 178, 37, 0.12));
    color: var(--dl-blue);
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(251, 178, 37, 0.25);
    box-shadow: 0 6px 16px rgba(251, 178, 37, 0.15);
}

.page-home .home-global-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.page-home .home-global-item {
    text-align: center;
    padding: 1.45rem 0.95rem;
    background: linear-gradient(160deg, #fff 0%, #fff9ee 100%);
    border-radius: 12px;
    border: 1px solid rgba(251, 178, 37, 0.16);
    transition: var(--transition-interactive);
}

.page-home .home-global-item:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 178, 37, 0.38);
    box-shadow: 0 14px 32px rgba(251, 178, 37, 0.12);
}

.page-home .home-global-item__icon {
    font-size: 1.8rem;
    margin-bottom: 0.65rem;
}

.page-home .home-global-item__value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary), var(--secondary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-home .home-global-item__label {
    font-size: 0.84rem;
    color: var(--dl-text);
    margin-top: 0.32rem;
    line-height: 1.45;
}

.page-home .home-stage-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(26, 102, 166, 0.12);
    background: #fff;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(26, 102, 166, 0.06);
}

.page-home .home-stage-card--media {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.page-home .home-stage-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    line-height: 0;
}

.page-home .home-stage-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-transform);
}

.page-home .home-stage-card--media:hover .home-stage-card__media img {
    transform: scale(1.06);
}

.page-home .home-stage-card__body {
    padding: 1.35rem 1.25rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-home .home-stage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(251, 178, 37, 0.16);
    border-color: rgba(251, 178, 37, 0.35);
    color: inherit;
}

.page-home .home-stage-card:hover .home-stage-card__grade {
    background: rgba(251, 178, 37, 0.2);
    color: var(--dark);
}

.page-home .home-pathway-card {
    display: flex;
    flex-direction: column;
}

.page-home .home-pathway-card--media {
    padding: 0;
}

.page-home .home-pathway-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    line-height: 0;
}

.page-home .home-pathway-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-transform);
}

.page-home .home-pathway-card--media:hover .home-pathway-card__media img {
    transform: scale(1.05);
}

.page-home .home-pathway-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-home .home-pathway-card .link-arrow {
    margin-top: auto;
    align-self: center;
    position: relative;
    z-index: 2;
}

.page-home .home-pathway-card__body {
    overflow: visible;
}

.page-home .home-pathway-card:hover .link-arrow .link-arrow__arrow,
.page-home .card.premium-card:hover .link-arrow .link-arrow__arrow {
    max-width: 22px;
    margin-left: 0.4rem;
    opacity: 1;
}

.page-home .home-pathway-card:hover .link-arrow .link-arrow__arrow svg,
.page-home .card.premium-card:hover .link-arrow .link-arrow__arrow svg {
    transform: translateX(5px);
}

.page-home .home-pathway-card:hover .link-arrow,
.page-home .card.premium-card:hover .link-arrow {
    color: var(--primary-dark) !important;
}

.page-home .home-pathway-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--dl-text);
    line-height: 1.55;
}

.page-home .home-pathway-list li strong {
    color: var(--dl-blue);
    font-weight: 700;
    flex-shrink: 0;
}

.page-home .home-stage-card__grade {
    display: inline-block;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    background: rgba(251, 178, 37, 0.14);
    color: var(--dark);
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(251, 178, 37, 0.22);
}

.page-home .home-stage-card h3 {
    font-size: 1.1rem;
    color: var(--dl-blue);
    margin-bottom: 0.5rem;
}

.page-home .home-stage-card p {
    font-size: 0.92rem;
    color: var(--dl-text);
    margin-bottom: 0;
    line-height: 1.6;
    flex: 1;
}

.page-home .home-accreditation-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.75rem 2.5rem;
    padding: 2rem;
    background: linear-gradient(145deg, #fff 0%, #fff9ee 100%);
    border-radius: 12px;
    border: 1px solid rgba(251, 178, 37, 0.2);
    box-shadow: 0 8px 28px rgba(251, 178, 37, 0.1);
}

.page-home .home-accreditation-item {
    text-align: center;
    min-width: 110px;
}

.page-home .home-accreditation-item__badge {
    width: 70px;
    height: 70px;
    margin: 0 auto 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(251, 178, 37, 0.18) 0%, rgba(26, 102, 166, 0.08) 100%);
    border: 2px solid rgba(251, 178, 37, 0.35);
    color: var(--dl-blue);
    font-size: 0.82rem;
    font-weight: 700;
    transition: var(--transition-interactive);
}

.page-home .home-accreditation-item:hover .home-accreditation-item__badge {
    transform: scale(1.06);
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(251, 178, 37, 0.22);
}

.page-home .home-accreditation-item span {
    font-size: 0.84rem;
    font-weight: 600;
    color: #1f2d3b;
}

.page-home .home-cocurricular-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 270px;
    box-shadow: 0 10px 30px rgba(26, 102, 166, 0.1);
}

.page-home .home-cocurricular-card img {
    width: 100%;
    height: 100%;
    min-height: 270px;
    object-fit: cover;
    transition: var(--transition-transform);
}

.page-home .home-cocurricular-card:hover img {
    transform: scale(1.05);
}

.page-home .home-cocurricular-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(12, 53, 86, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.3rem;
    color: #fff;
    transition: background var(--duration) var(--ease);
}

.page-home .home-cocurricular-card__overlay h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.page-home .home-cocurricular-card__overlay p {
    font-size: 0.88rem;
    margin-bottom: 0;
    opacity: 0.92;
    color: rgba(255, 255, 255, 0.92);
}

.page-home .home-cocurricular-card:hover .home-cocurricular-card__overlay {
    background: linear-gradient(180deg, transparent 15%, rgba(12, 53, 86, 0.96) 100%);
}

.page-home .home-check-item {
    display: flex;
    align-items: center;
    gap: 0.72rem;
}

.page-home .home-check-item__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--dark);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(251, 178, 37, 0.28);
}

.page-home .home-form-note {
    background: linear-gradient(135deg, rgba(26, 102, 166, 0.06) 0%, rgba(251, 178, 37, 0.08) 100%);
    border: 1px solid rgba(26, 102, 166, 0.12);
    border-radius: 12px;
    padding: 1.2rem 1.35rem;
}

.page-home .home-form-note strong {
    color: var(--dl-blue);
}

.page-home .cta-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #2e7db9 55%, #3f8ac4 100%);
    position: relative;
    overflow: hidden;
}

.page-home .cta-gradient--accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(251, 178, 37, 0.28) 0%, transparent 42%),
        radial-gradient(circle at 10% 80%, rgba(251, 178, 37, 0.14) 0%, transparent 38%);
    pointer-events: none;
    z-index: 1;
}

.page-home .cta-gradient .container {
    position: relative;
    z-index: 2;
}

.page-home .cta-gradient .section-eyebrow {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.page-home .registration-banner {
    background: linear-gradient(135deg, #f6cb6b 0%, #f7b737 45%, #f3ad2f 100%);
    border-radius: 14px;
    border: 1px solid rgba(15, 26, 41, 0.08);
}

.page-home .registration-banner .section-heading {
    color: #1f2c39;
}

.page-home .card.premium-card .card-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.page-home .card.premium-card .small {
    color: #556375;
    line-height: 1.55;
}

.page-home .link-primary {
    color: var(--dl-blue) !important;
}

.page-home .link-primary:hover {
    color: var(--dl-blue-dark) !important;
}

.page-home .card.premium-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.page-home .card.premium-card:hover .card-img-top {
    filter: brightness(1.03);
}

.page-home .home-expert-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(26, 102, 166, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: var(--transition-transform);
}

.page-home .premium-card:hover .home-expert-icon {
    transform: scale(1.06);
    background: rgba(251, 178, 37, 0.18);
}

.page-home .home-testimonials .premium-card {
    border-left: 4px solid var(--dl-yellow);
}

.page-home .home-testimonials .avatar-placeholder {
    flex-shrink: 0;
}

.page-home .home-image-frame {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.85);
    line-height: 0;
    position: relative;
}

.page-home .home-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 3px solid rgba(251, 178, 37, 0.45);
    z-index: 2;
    pointer-events: none;
    opacity: 0.85;
}

.page-home .home-section--warm .home-image-frame {
    box-shadow: 0 20px 50px rgba(251, 178, 37, 0.18), var(--shadow-lg);
}

.page-home .home-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-transform);
}

.page-home .home-image-frame:hover img {
    transform: scale(1.03);
}

.page-home #inquire {
    scroll-margin-top: 120px;
}

.page-home .home-admission-card {
    background: #fff;
    border: 1px solid rgba(26, 102, 166, 0.1);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.page-home .home-contact-box {
    background: linear-gradient(135deg, rgba(251, 178, 37, 0.1) 0%, rgba(26, 102, 166, 0.06) 100%);
    border-left: 4px solid var(--secondary);
}

.page-home .home-contact-box a {
    color: var(--primary);
}

.page-home .home-contact-box a:hover {
    color: var(--primary-dark);
}

/* Admissions steps — parent journey */
.page-home .home-admission-step {
    padding: 1.5rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(26, 102, 166, 0.1);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-interactive);
}

.page-home .home-admission-step:hover {
    border-color: rgba(26, 102, 166, 0.2);
    box-shadow: var(--shadow-md);
}

.page-home .home-admission-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--dark);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    box-shadow: 0 4px 14px rgba(251, 178, 37, 0.3);
}

.page-home .home-admission-step:nth-child(2) .home-admission-step__num {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: 0 4px 14px rgba(26, 102, 166, 0.25);
}

.page-home .home-admission-step:nth-child(3) .home-admission-step__num {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
}

.page-home .home-admission-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.page-home .home-admission-step p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1rem;
}

.page-home .home-admission-step__link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.page-home .home-admission-step__link:hover {
    color: var(--secondary-dark, #c9921a);
}

.page-home .home-trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    padding-top: 0.5rem;
}

.page-home .home-trust-bar a {
    display: inline-flex;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(26, 102, 166, 0.06);
    border: 1px solid rgba(26, 102, 166, 0.12);
    text-decoration: none;
    transition: var(--transition-interactive);
}

.page-home .home-trust-bar a:hover {
    background: var(--secondary);
    color: var(--dark);
    border-color: var(--secondary);
}

.page-home .home-trust-bar--start {
    justify-content: flex-start;
}

.page-home .home-trust-bar__chip {
    display: inline-flex;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(251, 178, 37, 0.14);
    border: 1px solid rgba(251, 178, 37, 0.28);
}

.page-home .home-hero-meta {
    margin-top: 1rem;
    padding: 0.55rem 0;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.page-home .cis-btn-outline-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    background: transparent;
    border: 2px solid var(--primary);
    text-decoration: none;
    transition: var(--transition-interactive);
}

.page-home .cis-btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .page-home .home-page-bg__shape,
    .page-home .home-deco__blob,
    .page-home .home-deco__ring,
    .page-home .home-deco__triangle,
    .page-home .home-deco__dots {
        animation: none;
    }
}

@media (max-width: 1199.98px) {
    .page-home .section-heading {
        font-size: clamp(1.55rem, 3.2vw, 2.2rem);
    }
}

@media (max-width: 991.98px) {
    .page-home .home-global-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .page-home .home-accreditation-bar {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .page-home .section-heading {
        font-size: 1.6rem;
        line-height: 1.25;
    }

    .page-home .hero-video-content {
        padding: 5rem 0 3rem;
    }

    .page-home .hero-video-content h1 {
        font-size: 2rem;
    }

    .page-home .hero-video-content p {
        font-size: 1rem;
    }

    .page-home .hero-video-actions {
        flex-direction: column;
    }

    .page-home .hero-video-actions .cis-btn {
        width: 100%;
    }

    .page-home .premium-card,
    .page-home .home-feature-card {
        border-radius: 12px;
    }
}

@media (max-width: 575.98px) {
    .page-home .section-eyebrow {
        font-size: 0.72rem;
        padding: 0.24rem 0.7rem;
    }

    .page-home .section-heading {
        font-size: 1.35rem;
    }

    .page-home .home-global-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }

    .page-home .home-global-item {
        padding: 1.15rem 0.65rem;
    }

    .page-home .home-global-item__value {
        font-size: 1.35rem;
    }

    .page-home .home-stage-card:not(.home-stage-card--media),
    .page-home .home-feature-card {
        padding: 1.15rem;
    }

    .page-home .home-stage-card__body {
        padding: 1.15rem;
    }

    .page-home .home-accreditation-bar {
        gap: 1rem 1.3rem;
        padding: 1.25rem 1rem;
    }

    .page-home .home-accreditation-item__badge {
        width: 62px;
        height: 62px;
        font-size: 0.78rem;
    }

    .page-home .home-cocurricular-card,
    .page-home .home-cocurricular-card img {
        min-height: 230px;
    }

    .page-home .home-stats__value {
        font-size: 1.7rem;
    }

    .page-home .home-stats__label {
        font-size: 0.7rem;
    }
}