.student-hero-new {
    position: relative;
    overflow: hidden;
    padding: clamp(18px, 2.6vw, 38px) 0 clamp(18px, 3vw, 34px);
}

.student-hero-new::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 24%, rgba(13, 36, 86, 0.12), transparent 28%),
        radial-gradient(circle at 86% 18%, rgba(227, 30, 36, 0.12), transparent 28%);
    opacity: 0.9;
}

.student-hero-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
    gap: clamp(22px, 3.4vw, 58px);
    align-items: center;
    min-height: clamp(430px, 45vw, 610px);
    padding: clamp(24px, 3.2vw, 46px);
    border: 1px solid rgba(226, 226, 226, 0.9);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 30px 90px -64px rgba(13, 36, 86, 0.58);
    backdrop-filter: blur(18px);
}

.student-hero-copy {
    max-width: 660px;
}

.student-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.student-hero-kicker::before {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--uptm-red, #e31e24);
}

.student-hero-copy h1 {
    margin: 0;
    color: #080b12;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(52px, 6.3vw, 96px);
    font-weight: 850;
    line-height: 0.94;
    letter-spacing: -0.055em;
    text-shadow: 0 16px 36px rgba(13, 36, 86, 0.13);
}

.student-hero-copy h1 span {
    display: block;
    width: max-content;
    max-width: 100%;
    color: var(--navy);
    text-shadow: 0 18px 34px rgba(13, 36, 86, 0.22), 0 1px 0 rgba(255, 255, 255, 0.85);
}

.student-hero-copy > p:not(.student-hero-kicker) {
    max-width: 570px;
    margin: 20px 0 0;
    color: #667085;
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.72;
}


.student-hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(138px, 0.28fr);
    gap: 14px;
    align-items: stretch;
}

.student-hero-main-card,
.student-hero-mini-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: #dce3ee;
    box-shadow: 0 26px 70px -44px rgba(13, 36, 86, 0.62);
}

.student-hero-main-card {
    min-height: 400px;
    border-radius: 28px;
}

.student-hero-main-card::after,
.student-hero-mini-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(5, 13, 28, 0.42));
    pointer-events: none;
}

.student-hero-main-card img,
.student-hero-mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s ease;
}

.student-hero-badge {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
}

.student-hero-badge strong {
    color: var(--navy);
    font-size: 20px;
    letter-spacing: 0.03em;
}

.student-hero-badge span {
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
}

.student-hero-mini-grid {
    display: grid;
    gap: 14px;
}

.student-hero-mini-card {
    min-height: 124px;
    border-radius: 22px;
}

.student-hero-mini-card:nth-child(2) {
    transform: translateY(12px);
}

.student-hero-mini-card:nth-child(3) {
    transform: translateY(24px);
}


.student-hero-main-card,
.student-hero-mini-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.student-hero-main-card:hover,
.student-hero-mini-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 32px 82px -46px rgba(13, 36, 86, 0.72);
}

.student-hero-main-card:hover img,
.student-hero-mini-card:hover img {
    transform: scale(1.075);
    filter: saturate(1.06) contrast(1.02);
}

.student-hero-mini-card:nth-child(2):hover {
    transform: translateY(6px);
}

.student-hero-mini-card:nth-child(3):hover {
    transform: translateY(18px);
}
@media (max-width: 1100px) {
    .student-hero-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .student-hero-copy {
        max-width: 780px;
    }

    .student-hero-visual {
        grid-template-columns: 1fr;
    }

    .student-hero-main-card {
        min-height: 360px;
    }

    .student-hero-mini-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .student-hero-mini-card,
    .student-hero-mini-card:nth-child(2),
    .student-hero-mini-card:nth-child(3) {
        min-height: 150px;
        transform: none;
    }
}

@media (max-width: 680px) {
    .student-hero-new {
        padding-top: 18px;
    }

    .student-hero-shell {
        padding: 18px;
        border-radius: 22px;
    }

    .student-hero-copy h1 {
        font-size: clamp(42px, 14vw, 64px);
    }

    .student-hero-copy > p:not(.student-hero-kicker) {
        font-size: 15px;
    }

    .student-hero-main-card {
        min-height: 280px;
        border-radius: 22px;
    }

    .student-hero-mini-grid {
        grid-template-columns: 1fr;
    }

    .student-hero-mini-card {
        min-height: 150px;
        border-radius: 20px;
    }

    .student-hero-badge {
        align-items: flex-start;
        flex-direction: column;
    }
}

.student-hero-new {
    padding: clamp(6px, 1.2vw, 16px) 0 clamp(10px, 1.6vw, 22px);
}

.student-hero-shell {
    min-height: clamp(360px, 38vw, 520px);
    gap: clamp(18px, 2.6vw, 42px);
    padding: clamp(22px, 2.7vw, 38px);
}

.student-hero-copy h1 {
    letter-spacing: 0;
    text-wrap: balance;
}

.student-hero-copy h1 span {
    position: relative;
    color: transparent;
    background: linear-gradient(110deg, #0d2f75 0%, #174a9c 36%, #d7b56d 48%, #174a9c 60%, #071b44 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: studentTitleShine 5.4s ease-in-out infinite;
    filter: drop-shadow(0 16px 24px rgba(13, 47, 117, 0.18));
}

.student-hero-copy h1 span::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 0.04em;
    height: 0.12em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(215, 181, 109, 0), rgba(215, 181, 109, 0.82), rgba(215, 181, 109, 0));
    opacity: 0.65;
    z-index: -1;
}

.student-hero-copy > p:not(.student-hero-kicker) {
    margin-top: 16px;
    max-width: 620px;
}

.student-hero-visual {
    align-self: center;
}

.student-hero-main-card {
    min-height: clamp(320px, 33vw, 430px);
}

.student-hero-mini-card {
    min-height: clamp(102px, 10vw, 132px);
}

@keyframes studentTitleShine {
    0%, 24% {
        background-position: 0% 50%;
    }
    58%, 100% {
        background-position: 100% 50%;
    }
}

@media (max-width: 1100px) {
    .student-hero-shell {
        min-height: 0;
    }

    .student-hero-main-card {
        min-height: 330px;
    }
}

@media (max-width: 680px) {
    .student-hero-new {
        padding-top: 8px;
        padding-bottom: 12px;
    }

    .student-hero-shell {
        padding: 18px;
    }

    .student-hero-main-card {
        min-height: 250px;
    }
}

.student-hero-copy h1 span {
    background: linear-gradient(110deg, #06245c 0%, #0d3f9a 34%, #1877d5 50%, #0d3f9a 66%, #061d4b 100%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 18px 26px rgba(13, 63, 154, 0.24));
}

.student-hero-copy h1 span::after {
    background: linear-gradient(90deg, rgba(24, 119, 213, 0), rgba(24, 119, 213, 0.55), rgba(24, 119, 213, 0));
    opacity: 0.72;
}

.student-hero-copy h1 span {
    background: linear-gradient(110deg, #8c681e 0%, #c79b3c 32%, #ffe29a 48%, #c79b3c 64%, #7a5417 100%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 16px 22px rgba(140, 104, 30, 0.2));
}

.student-hero-copy h1 span::after {
    background: linear-gradient(90deg, rgba(199, 155, 60, 0), rgba(199, 155, 60, 0.58), rgba(199, 155, 60, 0));
    opacity: 0.78;
}

/* Final Amazing title color: UPTM red */
.student-hero-copy h1 span {
    color: #e31e24;
    background: linear-gradient(110deg, #b80f16 0%, #e31e24 38%, #ff6b70 50%, #e31e24 62%, #9f0d13 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 18px 34px rgba(227, 30, 36, 0.18), 0 1px 0 rgba(255, 255, 255, 0.88);
}

.student-hero-copy h1 span::after {
    background: linear-gradient(90deg, rgba(227, 30, 36, 0), rgba(227, 30, 36, 0.62), rgba(227, 30, 36, 0));
}
/* Make Amazing title readable without white wash layer */
.student-hero-copy h1 span {
    color: #e31e24;
    background: linear-gradient(180deg, #ff4b50 0%, #e31e24 42%, #9f0d13 100%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 12px 28px rgba(227, 30, 36, 0.16);
    animation: none;
}

.student-hero-copy h1 span::after {
    display: none;
}
/* Final Amazing title shine and clipping fix */
.student-hero-copy h1 {
    line-height: 1.08;
    overflow: visible;
}

.student-hero-copy h1 span {
    position: relative;
    display: inline-block;
    padding: 0 .04em .13em;
    margin: 0 -.04em -.08em;
    overflow: visible;
    color: #e31e24;
    background: linear-gradient(110deg, #b80f16 0%, #e31e24 34%, #ff8a8f 47%, #e31e24 60%, #8f090f 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 14px 30px rgba(227, 30, 36, 0.18);
    animation: amazingRedShine 4.8s ease-in-out infinite;
}

.student-hero-copy h1 span::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0 -8%;
    border-radius: 18px;
    background: linear-gradient(105deg, transparent 0 38%, rgba(255,255,255,.55) 48%, transparent 58% 100%);
    mix-blend-mode: screen;
    opacity: .48;
    pointer-events: none;
    transform: translateX(-120%);
    animation: amazingLightSweep 4.8s ease-in-out infinite;
}

@keyframes amazingRedShine {
    0%, 22% { background-position: 0% 50%; }
    58%, 100% { background-position: 100% 50%; }
}

@keyframes amazingLightSweep {
    0%, 28% { transform: translateX(-120%); }
    58%, 100% { transform: translateX(120%); }
}