/*
 * Home page (resources/views/web/pages/index.blade.php). Uses the tokens and buttons of vv-theme.css.
 * Order here follows the page: hero, announcements slider, quick access, about, courses, steps,
 * faculties, notice + finder, recognitions, centres, placement, contact.
 */

/* ---------------------------------------------------------------- hero */
.vh-hero2 {
    position: relative; overflow: hidden; color: #fff; isolation: isolate;
    padding: clamp(32px, 4.5vw, 60px) 0 clamp(96px, 9vw, 124px);
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(232, 115, 26, .38), transparent 62%),
        radial-gradient(700px 420px at -5% 110%, rgba(201, 162, 74, .20), transparent 60%),
        linear-gradient(135deg, var(--vv-maroon-950) 0%, var(--vv-maroon-800) 52%, var(--vv-maroon) 100%);
}
.vh-hero2::before { content: ""; position: absolute; z-index: -1; right: -140px; top: -120px; width: 760px; height: 760px; background: var(--vv-mandala) center/contain no-repeat; opacity: .13; animation: vh-spin 140s linear infinite; }
.vh-hero2::after { content: ""; position: absolute; z-index: -1; left: -200px; bottom: -260px; width: 560px; height: 560px; background: var(--vv-mandala) center/contain no-repeat; opacity: .07; animation: vh-spin 180s linear infinite reverse; }
@keyframes vh-spin { to { transform: rotate(360deg); } }

.vh-tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(232, 207, 139, .45); color: var(--vv-gold-300); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.vh-tag__dot { width: 9px; height: 9px; border-radius: 50%; background: #5be38b; box-shadow: 0 0 0 0 rgba(91, 227, 139, .7); animation: vh-live 2s infinite; }
@keyframes vh-live { 70% { box-shadow: 0 0 0 10px rgba(91, 227, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 227, 139, 0); } }
.vh-hero2 h1 { color: #fff !important; font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 800; line-height: 1.08; margin: 18px 0 16px; letter-spacing: -.015em; }
.vh-hero2 h1 em { font-style: normal; background: linear-gradient(100deg, var(--vv-gold-300), var(--vv-saffron-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vh-hero2__lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .82) !important; max-width: 560px; margin: 0 0 24px; }
.vh-hero2__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.vh-hero2__facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(232, 207, 139, .25); }
.vh-fact b { display: block; font-family: var(--vv-font-head); font-size: 2rem; line-height: 1; color: var(--vv-gold-300); }
.vh-fact span { font-size: .82rem; color: rgba(255, 255, 255, .72); letter-spacing: .04em; }

/* glass admission card */
.vh-glass { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: linear-gradient(160deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .06)); border: 1px solid rgba(232, 207, 139, .4); box-shadow: 0 30px 70px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .25); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.vh-glass__badge { display: inline-block; padding: 5px 14px; border-radius: 999px; background: #b4500a; color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.vh-glass h2 { color: #fff !important; font-size: clamp(1.5rem, 2.6vw, 2.15rem); margin: 16px 0 6px; }
.vh-glass__sub { color: rgba(255, 255, 255, .8) !important; margin: 0 0 20px; font-size: .95rem; }
.vh-glass__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; text-align: left; }
.vh-glass__list li { display: flex; align-items: center; gap: 12px; color: #fff; font-size: .93rem; }
.vh-glass__list i { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(232, 207, 139, .18); color: var(--vv-gold-300); font-size: .9rem; }
.vh-glass .btn { width: 100%; }
.vh-glass__link { display: block; text-align: center; margin-top: 14px; color: var(--vv-gold-300) !important; font-weight: 600; font-size: .9rem; }
.vh-glass__link:hover { color: #fff !important; }

/* ---------------------------------------------------------------- announcements slider (overlaps the hero) */
.vh-stage { position: relative; z-index: 3; margin-top: clamp(-96px, -7vw, -56px); }
.vh-frame { border-radius: 28px; overflow: hidden; background: var(--vv-maroon-950); box-shadow: var(--vv-shadow-lg); border: 6px solid #fff; }
.vh-hero-carousel:not(.owl-loaded) { display: flex; overflow: hidden; }
.vh-hero-carousel:not(.owl-loaded) > .vh-slide { flex: 0 0 100%; }
.vh-slide { position: relative; height: clamp(230px, 36vw, 500px); overflow: hidden; color: #fff; }
.vh-slide__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.vh-slide__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 6, 7, .86) 0%, rgba(30, 6, 7, .52) 44%, rgba(30, 6, 7, 0) 78%); }
.vh-slide__body { position: absolute; inset: 0; display: flex; align-items: center; }
.vh-slide__text { max-width: 640px; padding: 0 clamp(20px, 5vw, 70px); }
.vh-slide__title { margin: 0; color: #fff !important; font-size: clamp(1.5rem, 3.4vw, 2.9rem); font-weight: 800; text-shadow: 0 2px 16px rgba(0, 0, 0, .4); }
.vh-slide__sub { margin: 12px 0 0; font-size: clamp(.92rem, 1.4vw, 1.18rem); color: rgba(255, 255, 255, .94) !important; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.vh-slide__btn { display: inline-block; margin-top: 22px; padding: 12px 30px; border-radius: 999px; background: var(--vv-btn-grad); color: #fff !important; font-weight: 700; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); transition: transform .2s var(--vv-ease); }
.vh-slide__btn:hover { transform: translateY(-2px); color: #fff !important; }
.vh-slide__backdrop { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(26px) brightness(.5); }
.vh-slide__flyer { position: relative; z-index: 1; display: block; height: 100%; }
.vh-slide__flyer img { display: block; width: 100% !important; height: 100% !important; object-fit: contain; }
.vh-slide--default { background: linear-gradient(120deg, var(--vv-maroon-900), var(--vv-maroon) 60%, #a8321f); }
.vh-frame .owl-nav { margin: 0; }
.vh-frame .owl-nav button.owl-prev, .vh-frame .owl-nav button.owl-next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; margin: 0; border-radius: 50%; background: rgba(255, 255, 255, .92) !important; color: var(--vv-maroon) !important; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); display: grid; place-items: center; transition: transform .2s, background .2s; }
.vh-frame .owl-nav button.owl-prev { left: 16px; }
.vh-frame .owl-nav button.owl-next { right: 16px; }
.vh-frame .owl-nav button:hover { background: #fff !important; transform: translateY(-50%) scale(1.08); }
.vh-frame .owl-dots { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; z-index: 3; margin: 0; }
.vh-frame .owl-dots .owl-dot { display: inline-block; margin: 0 4px; }
.vh-frame .owl-dots .owl-dot span { display: block; width: 9px; height: 9px; margin: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); transition: width .25s, background .25s; }
.vh-frame .owl-dots .owl-dot.active span { width: 28px; background: var(--vv-saffron-300); }

/* ---------------------------------------------------------------- quick access */
.vh-quick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.vh-qcard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 12px 22px; background: #fff; border: 1px solid var(--vv-line); border-radius: var(--vv-radius); box-shadow: var(--vv-shadow-sm); color: var(--vv-ink) !important; transition: transform .25s var(--vv-ease), box-shadow .25s, border-color .25s; }
.vh-qcard:hover { transform: translateY(-6px); box-shadow: var(--vv-shadow); border-color: var(--vv-gold-300); }
.vh-qcard__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(145deg, var(--vv-cream), var(--vv-cream-2)); color: var(--vv-maroon); font-size: 1.5rem; margin-bottom: 6px; transition: background .25s, color .25s, transform .25s; }
.vh-qcard:hover .vh-qcard__icon { background: linear-gradient(135deg, var(--vv-saffron), var(--vv-saffron-600)); color: #fff; transform: rotate(-6deg) scale(1.06); }
.vh-qcard__t { font-weight: 700; font-size: .98rem; color: var(--vv-maroon-900); line-height: 1.25; }
.vh-qcard__d { font-size: .8rem; color: var(--vv-muted); line-height: 1.4; }

/* ---------------------------------------------------------------- about + numbers */
.vh-about p { color: #4d3d38; font-size: 1.04rem; line-height: 1.85; }
.vh-statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vh-stat { position: relative; overflow: hidden; padding: 26px 22px; border-radius: var(--vv-radius); color: #fff; background: linear-gradient(145deg, var(--vv-maroon-800), var(--vv-maroon)); box-shadow: var(--vv-shadow); }
.vh-stat::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; background: var(--vv-mandala) center/contain no-repeat; opacity: .14; }
.vh-stat:nth-child(2) { background: linear-gradient(145deg, #9c3d05, #bf540a); }
.vh-stat:nth-child(3) { background: linear-gradient(145deg, var(--vv-maroon-950), var(--vv-maroon-800)); }
.vh-stat:nth-child(4) { background: linear-gradient(145deg, #6e5314, #8a6a1c); }
.vh-stat i { font-size: 1.4rem; color: rgba(255, 255, 255, .85); }
.vh-stat__n { font-family: var(--vv-font-head); font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.1; margin: 8px 0 2px; color: #fff; }
.vh-stat__l { font-size: .88rem; color: #fff; font-weight: 500; }

/* ---------------------------------------------------------------- courses */
.vh-course { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--vv-line); border-radius: var(--vv-radius); overflow: hidden; box-shadow: var(--vv-shadow-sm); transition: transform .28s var(--vv-ease), box-shadow .28s; }
.vh-course:hover { transform: translateY(-8px); box-shadow: var(--vv-shadow-lg); }
.vh-course__top { position: relative; padding: 22px 24px 20px; color: #fff; background: linear-gradient(135deg, var(--vv-maroon-900), var(--vv-maroon) 70%, var(--vv-maroon-600)); overflow: hidden; }
.vh-course__top::after { content: ""; position: absolute; right: -34px; top: -34px; width: 150px; height: 150px; background: var(--vv-mandala) center/contain no-repeat; opacity: .16; transition: transform .8s var(--vv-ease); }
.vh-course:hover .vh-course__top::after { transform: rotate(40deg) scale(1.1); }
.vh-pill { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--vv-gold-300); color: var(--vv-maroon-950); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.vh-course__fac { position: relative; margin-top: 12px; font-size: .84rem; color: rgba(255, 255, 255, .82); line-height: 1.4; }
.vh-course__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.vh-course__name { font-family: var(--vv-font-head); font-size: 1.28rem; margin: 0 0 14px; }
.vh-course__meta { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; font-size: .9rem; color: #5c4b45; }
.vh-course__meta i { width: 22px; color: var(--vv-saffron); }
.vh-course__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- how to apply */
.vh-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.vh-steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 31px; height: 2px; background: repeating-linear-gradient(90deg, var(--vv-gold) 0 8px, transparent 8px 16px); opacity: .6; }
.vh-step { position: relative; text-align: center; padding: 0 6px; }
.vh-step__no { position: relative; z-index: 1; width: 62px; height: 62px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--vv-maroon), var(--vv-maroon-600)); color: #fff; font-family: var(--vv-font-head); font-size: 1.5rem; font-weight: 700; border: 5px solid var(--vv-cream); box-shadow: 0 10px 24px rgba(113, 21, 22, .3); }
.vh-step__box { height: calc(100% - 82px); padding: 26px 20px; background: #fff; border: 1px solid var(--vv-line); border-radius: var(--vv-radius); box-shadow: var(--vv-shadow-sm); transition: transform .25s var(--vv-ease), box-shadow .25s; }
.vh-step:hover .vh-step__box { transform: translateY(-5px); box-shadow: var(--vv-shadow); }
.vh-step__icon { font-size: 1.7rem; color: var(--vv-saffron); margin-bottom: 12px; }
.vh-step__t { font-family: var(--vv-font); font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; }
.vh-step__d { margin: 0; font-size: .9rem; color: var(--vv-muted); }
.vh-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

/* ---------------------------------------------------------------- faculties */
.vh-faculties { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.vh-fac { flex: 0 1 calc(25% - 17px); min-width: 220px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 30px 20px 24px; background: #fff; border: 1px solid var(--vv-line); border-radius: var(--vv-radius); color: var(--vv-ink) !important; box-shadow: var(--vv-shadow-sm); transition: transform .28s var(--vv-ease), box-shadow .28s, border-color .28s; }
.vh-fac:hover { transform: translateY(-7px); box-shadow: var(--vv-shadow); border-color: var(--vv-gold-300); }
.vh-fac__img { width: 104px; height: 104px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #fff 55%, var(--vv-cream-2)); border: 1px solid var(--vv-line); padding: 14px; }
.vh-fac img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vh-fac__name { font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--vv-maroon-900); }
.vh-fac__go { margin-top: auto; font-size: .82rem; font-weight: 600; color: var(--vv-saffron-700); }
.vh-fac__go i { transition: transform .2s; }
.vh-fac:hover .vh-fac__go i { transform: translateX(5px); }

/* ---------------------------------------------------------------- notices + finder */
.vh-panel { height: 100%; background: #fff; border: 1px solid var(--vv-line); border-radius: var(--vv-radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--vv-shadow-sm); }
.vh-panel__h { display: flex; align-items: center; gap: 12px; font-family: var(--vv-font-head); font-size: 1.45rem; margin: 0 0 20px; }
.vh-panel__h i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--vv-cream-2); color: var(--vv-maroon); font-size: 1.1rem; }
.vh-notices { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.vh-notices li { position: relative; padding: 14px 16px 14px 44px; border-radius: 14px; background: var(--vv-cream); border: 1px solid var(--vv-line); }
.vh-notices li::before { content: "\f0a1"; font-family: "Font Awesome 7 Free", "Font Awesome 6 Free", "FontAwesome"; font-weight: 900; position: absolute; left: 16px; top: 14px; color: var(--vv-saffron); }
.vh-notices a { color: var(--vv-maroon-900); font-weight: 600; font-size: .93rem; line-height: 1.5; }
.vh-notices a:hover { color: var(--vv-saffron-700); }
.vh-field { margin-bottom: 14px; }
.vh-field label { display: block; margin-bottom: 6px; }

/* ---------------------------------------------------------------- recognitions, centres, placement */
.vh-logos .owl-stage { display: flex; }
.vh-logos .item { height: 130px; display: grid; place-items: center; margin: 6px; padding: 18px; background: #fff; border: 1px solid var(--vv-line); border-radius: var(--vv-radius); box-shadow: var(--vv-shadow-sm); transition: transform .25s var(--vv-ease), box-shadow .25s; }
.vh-logos .item:hover { transform: translateY(-5px); box-shadow: var(--vv-shadow); }
.vh-logos .item img { max-height: 92px; width: auto; max-width: 100%; object-fit: contain; }
.vh-logos .owl-dots { text-align: center; margin-top: 18px; }
.vh-logos .owl-dot span { display: block; width: 8px; height: 8px; margin: 0 4px; border-radius: 99px; background: var(--vv-line); transition: width .25s, background .25s; }
.vh-logos .owl-dot.active span { width: 26px; background: var(--vv-saffron); }
.vh-centres { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.vh-centre { flex: 0 1 calc(16.66% - 15px); min-width: 170px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 24px 16px; background: #fff; border: 1px solid var(--vv-line); border-radius: var(--vv-radius); box-shadow: var(--vv-shadow-sm); transition: transform .25s var(--vv-ease), box-shadow .25s; }
.vh-centre:hover { transform: translateY(-5px); box-shadow: var(--vv-shadow); }
.vh-centre img { width: 82px; height: 82px; object-fit: contain; }
.vh-centre span { font-weight: 600; font-size: .9rem; line-height: 1.35; color: var(--vv-maroon-900); }

/* ---------------------------------------------------------------- contact */
.vh-ci { height: 100%; display: flex; align-items: center; gap: 14px; padding: 20px 18px; background: #fff; border: 1px solid var(--vv-line); border-radius: var(--vv-radius); box-shadow: var(--vv-shadow-sm); color: var(--vv-ink) !important; transition: transform .25s var(--vv-ease), box-shadow .25s; }
a.vh-ci:hover { transform: translateY(-5px); box-shadow: var(--vv-shadow); }
.vh-ci__icon { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--vv-cream-2); color: var(--vv-maroon); font-size: 1.25rem; }
.vh-ci--wa .vh-ci__icon { background: #e5f9ec; color: #1ca350; }
.vh-ci__l { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vv-saffron-700); }
.vh-ci__v { display: block; font-weight: 600; font-size: .9rem; line-height: 1.4; color: var(--vv-maroon-900); overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1199.98px) {
    .vh-quick { grid-template-columns: repeat(3, 1fr); }
    .vh-fac { flex-basis: calc(33.33% - 15px); }
    .vh-centre { flex-basis: calc(25% - 14px); }
}
@media (max-width: 991.98px) {
    .vh-steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .vh-steps::before { display: none; }
    .vh-step__box { height: auto; }
    .vh-hero2 { text-align: center; }
    .vh-hero2__lead { margin-left: auto; margin-right: auto; }
    .vh-hero2__actions, .vh-hero2__facts { justify-content: center; }
    .vh-hero2::before { width: 520px; height: 520px; right: -200px; }
    .vh-fac { flex-basis: calc(50% - 11px); }
    .vh-centre { flex-basis: calc(33.33% - 12px); }
}
@media (max-width: 767.98px) {
    .vh-quick { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .vh-qcard { padding: 20px 10px 18px; }
    .vh-steps { grid-template-columns: 1fr; }
    .vh-slide__shade { background: linear-gradient(0deg, rgba(30, 6, 7, .9) 0%, rgba(30, 6, 7, .45) 55%, rgba(30, 6, 7, 0) 100%); }
    .vh-slide__body { align-items: flex-end; padding-bottom: 34px; }
    .vh-slide__text { padding: 0 18px; max-width: none; }
    .vh-slide { height: clamp(260px, 82vw, 400px); }
    .vh-slide--flyer, .vh-slide:has(.vh-slide__flyer) { height: clamp(210px, 62vw, 330px); }
    .vh-frame { border-width: 4px; border-radius: 22px; }
    .vh-frame .owl-nav { display: none; }
    .vh-fac { flex-basis: calc(50% - 8px); min-width: 0; padding: 22px 12px 18px; }
    .vh-fac__img { width: 84px; height: 84px; }
    .vh-faculties { gap: 14px; }
    .vh-centre { flex-basis: calc(50% - 9px); min-width: 0; }
    .vh-statgrid { gap: 12px; }
    .vh-stat { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .vh-hero2::before, .vh-hero2::after { animation: none; }
}
