/* ==========================================================
   Home page styles (sections follow the original vplschool.com home page)
   ========================================================== */

.display-title { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 22px; }
.display-title em { color: var(--primary); }
.btn-brand.accent { background: var(--accent); color: var(--dark); box-shadow: 0 10px 24px rgba(255, 204, 1, .3); }
.btn-brand.accent:hover { background: #fff; color: var(--dark); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* 1. Hero: purple text panel + video */
.hero-split { display: grid; grid-template-columns: 5fr 8fr; background: var(--primary); min-height: 600px; position: relative; overflow: hidden; }
.hero-split::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 204, 1, .12); }
.hero-text { position: relative; z-index: 2; padding: 70px 50px 70px max(24px, calc((100vw - 1320px) / 2 + 12px)); display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero-text > * { animation: heroIn .9s var(--ease) both; }
.hero-text > *:nth-child(2) { animation-delay: .1s; }
.hero-text > *:nth-child(3) { animation-delay: .2s; }
.hero-text > *:nth-child(4) { animation-delay: .3s; }
.hero-text > *:nth-child(5) { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); padding: 8px 18px; border-radius: 40px; font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 22px; }
.hero-text h1 { color: #fff; font-size: clamp(34px, 3.8vw, 58px); line-height: 1.08; margin-bottom: 20px; }
.hero-text h1 span { color: var(--accent); font-style: italic; }
.hero-text p { color: rgba(255, 255, 255, .88); font-size: 18px; margin-bottom: 30px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-points span { color: #fff; font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.hero-points i { color: var(--accent); font-size: 18px; }
.hero-media { position: relative; background: var(--darker); }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 40px 0 0 40px; }
.hero-badge { position: absolute; left: 28px; bottom: 28px; background: #fff; color: var(--dark); font-weight: 700; border-radius: 40px; padding: 12px 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.hero-badge .dot { background: var(--primary); }
.hero-badge:hover { background: var(--accent); color: var(--dark); }
@media (max-width: 991.98px) {
    .hero-split { grid-template-columns: 1fr; }
    .hero-text { padding: 56px 24px; }
    .hero-media { min-height: 300px; }
    .hero-media video { border-radius: 0; }
}

/* 2. Legacy counters */
.fun-facts { background: var(--dark); padding: 60px 0; position: relative; overflow: hidden; }
.fun-facts::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(136, 50, 143, .45); }
.fun-facts h2 { color: #fff; text-align: center; font-size: clamp(26px, 3vw, 36px); margin-bottom: 34px; position: relative; z-index: 1; }
.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; z-index: 1; }
.fact { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 26px 14px; text-align: center; transition: all .3s; }
.fact:hover { background: var(--primary); transform: translateY(-4px); }
.fact strong { display: block; font-family: var(--font-head); font-size: clamp(30px, 3vw, 44px); color: var(--accent); line-height: 1.1; }
.fact span { color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 600; }
@media (max-width: 767.98px) { .facts-grid { grid-template-columns: 1fr 1fr; } .fact:last-child { grid-column: span 2; } }

/* 3. Intro */
.intro-visual { position: relative; padding: 0 26px 26px 0; margin-top: 10px; }
.intro-visual::before { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; border-radius: var(--radius); background: var(--accent); }
.intro-main { position: relative; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16/11; object-fit: cover; }
.intro-badge { position: absolute; left: -14px; top: 30px; background: var(--primary); color: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); line-height: 1.1; }
.intro-badge strong { font-family: var(--font-head); font-size: 36px; display: block; color: var(--accent); }
.intro-badge span { font-size: 13px; font-weight: 600; }
.intro-text { background: #fff; border-radius: 24px; padding: 38px; box-shadow: var(--shadow-sm); }
.intro-text p { color: #4a4458; font-size: 16px; }
.intro-text b, .intro-text strong { color: var(--dark); }
.intro-points { display: grid; gap: 10px; margin: 18px 0; }
.intro-points div { display: flex; gap: 14px; background: var(--soft); border-radius: 14px; padding: 14px 16px; border-left: 3px solid var(--primary); }
.intro-points i { font-size: 22px; color: var(--primary); }
.intro-points p { margin: 0; font-size: 15px; }
@media (max-width: 575.98px) { .intro-text { padding: 24px; } .intro-badge { left: 8px; } }

/* 4. Campus map */
.campus-map-sec { padding: 0 0 80px; }
.campus-map-card { background: #fff; border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.campus-map-card img { width: 100%; border-radius: 14px; }

/* 5. Fun way */
.fun-img-wrap { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.fun-img-wrap img { width: 100%; aspect-ratio: 4/4.2; object-fit: cover; }
.fun-tabs { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.fun-tabs button { border: 1.5px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 50px; font-weight: 700; font-size: 14px; color: var(--dark); display: flex; align-items: center; gap: 8px; transition: all .3s; }
.fun-tabs button i { color: var(--primary); font-size: 16px; }
.fun-tabs button.active, .fun-tabs button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.fun-tabs button.active i, .fun-tabs button:hover i { color: var(--accent); }
.fun-panel { background: var(--soft); border-radius: var(--radius); padding: 28px; border-left: 4px solid var(--accent); }
.fun-panel p { color: #4a4458; font-size: 16px; }

/* 6. Yellow legacy box */
.legacy-box { background: var(--accent); border-radius: 22px; padding: 30px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: 0 18px 40px rgba(255, 204, 1, .3); position: relative; overflow: hidden; }
.legacy-box::after { content: ""; position: absolute; right: 18%; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .25); }
.lb-text { display: flex; align-items: center; gap: 20px; position: relative; z-index: 1; }
.lb-text > i { width: 64px; height: 64px; flex-shrink: 0; border-radius: 18px; background: var(--primary); color: var(--accent); display: grid; place-items: center; font-size: 30px; }
.lb-text h3 { margin: 0; font-size: clamp(18px, 1.8vw, 23px); color: var(--dark); line-height: 1.4; }
.lb-action { text-align: center; flex-shrink: 0; position: relative; z-index: 1; }
.lb-action span { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--dark); }
@media (max-width: 991.98px) { .legacy-box { flex-direction: column; align-items: flex-start; } .lb-action { text-align: left; } }

/* 7. Goals – image cards with hover text */
.goal-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.goal-card { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3/4.6; box-shadow: var(--shadow); cursor: pointer; outline: none; }
.goal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.goal-title { position: absolute; inset: auto 0 0 0; padding: 70px 20px 22px; background: linear-gradient(transparent, rgba(38, 11, 43, .92)); transition: opacity .35s; }
.goal-title i { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--dark); display: grid; place-items: center; font-size: 19px; margin-bottom: 10px; }
.goal-title h3 { color: #fff; font-size: 21px; margin: 0; }
.goal-hover { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(136, 50, 143, .96), rgba(59, 20, 66, .97)); padding: 24px 20px; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(20px); transition: all .45s var(--ease); overflow-y: auto; }
.goal-hover i { font-size: 28px; color: var(--accent); }
.goal-hover h3 { color: #fff; font-size: 21px; margin: 8px 0 10px; }
.goal-hover p { color: rgba(255, 255, 255, .92); font-size: 13.5px; line-height: 1.6; margin: 0; }
.goal-card:hover img, .goal-card:focus img { transform: scale(1.08); }
.goal-card:hover .goal-hover, .goal-card:focus .goal-hover, .goal-card:focus-within .goal-hover { opacity: 1; transform: none; }
.goal-card:hover .goal-title, .goal-card:focus .goal-title { opacity: 0; }
@media (max-width: 1199.98px) { .goal-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .goal-cards { grid-template-columns: repeat(2, 1fr); } .goal-card { aspect-ratio: 3/4.4; } }
@media (max-width: 479.98px) { .goal-cards { grid-template-columns: 1fr; } .goal-card { aspect-ratio: 4/4.6; } }

/* 8. Awards list + viewer */
.award-list { display: flex; flex-direction: column; gap: 8px; max-height: 470px; overflow-y: auto; padding-right: 8px; }
.award-list::-webkit-scrollbar { width: 6px; }
.award-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.award-list button { display: flex; align-items: center; gap: 14px; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 18px; font-weight: 600; font-size: 15px; color: var(--dark); transition: all .25s; }
.award-list .num { font-family: var(--font-head); font-weight: 700; color: var(--primary); font-size: 18px; min-width: 28px; }
.award-list button > i { margin-left: auto; opacity: 0; transition: .25s; }
.award-list button:hover { border-color: var(--primary); }
.award-list button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.award-list button.active .num { color: var(--accent); }
.award-list button.active > i { opacity: 1; color: var(--accent); }
.award-view { background: var(--primary); border-radius: 24px; height: 100%; min-height: 470px; display: flex; align-items: center; justify-content: center; padding: 30px; position: relative; overflow: hidden; }
.award-view::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255, 204, 1, .15); }
.award-view .tab-pane { text-align: center; position: relative; }
.award-view img { max-width: 62%; max-height: 330px; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); background: #fff; }
.award-view p { color: #fff; font-family: var(--font-head); font-size: 18px; margin: 20px auto 0; max-width: 420px; }
@media (max-width: 991.98px) { .award-list { max-height: 300px; } .award-view { min-height: 380px; } }

/* 9. Grooming coloured boxes */
.groom-box { border-radius: 20px; padding: 30px 28px; height: 100%; position: relative; overflow: hidden; color: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.groom-box:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.groom-box.green { background: #4fa787; }
.groom-box.gold { background: #e1a609; color: #1d1a12; }
.groom-box.purple { background: var(--primary); }
.groom-box.blue { background: #255ea6; }
.groom-box .gi { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: rgba(255, 255, 255, .2); margin-bottom: 18px; }
.groom-box.gold .gi { background: #4fa787; color: #fff; }
.groom-box.purple .gi { background: #e1a609; }
.groom-box h4 { color: inherit; font-size: 22px; }
.groom-box p { color: inherit; opacity: .92; font-size: 15px; margin: 0; position: relative; z-index: 1; }
.groom-box .wm { position: absolute; right: -10px; bottom: -20px; font-size: 120px; opacity: .1; }

/* 11. CTA box */
.cta-box-sec { padding: 0 0 80px; }
.cta-box { background: linear-gradient(115deg, var(--primary), var(--primary-dark)); border-radius: 22px; padding: 36px 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-box::after { content: ""; position: absolute; right: 25%; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255, 204, 1, .12); }
.cta-box h3 { color: #fff; font-size: clamp(20px, 2.2vw, 28px); margin: 0 0 6px; max-width: 700px; }
.cta-box .now-open { color: var(--accent); font-family: var(--font-head); font-size: 22px; font-weight: 600; margin: 0; }
.cta-box-action { text-align: center; flex-shrink: 0; position: relative; z-index: 1; }
.cta-box-action .seats { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; margin-top: 12px; }
@media (max-width: 991.98px) { .cta-box { flex-direction: column; align-items: flex-start; } .cta-box-action { text-align: left; } .cta-box-action .seats { justify-content: flex-start; } }

/* 14. Events */
.event-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow-sm); }
.event-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.event-card:hover img { transform: scale(1.08); }
.event-overlay { position: absolute; inset: auto 0 0 0; padding: 80px 26px 24px; background: linear-gradient(transparent, rgba(38, 11, 43, .92)); }
.event-overlay h4 { color: #fff; font-size: 23px; margin-bottom: 6px; }
.event-overlay span { color: var(--accent); font-weight: 700; font-size: 14px; }

/* 15. Closing call band */
.call-band { position: relative; padding: 100px 0; background-size: cover; background-position: center; background-attachment: fixed; }
.call-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(38, 11, 43, .94), rgba(136, 50, 143, .82)); }
.call-band .container { position: relative; }
.call-band h2 { color: #fff; font-size: clamp(26px, 3vw, 40px); margin: 0; }
.call-big { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.call-big i { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--dark); display: grid; place-items: center; font-size: 26px; margin-bottom: 8px; animation: ring 2.4s infinite; }
.call-big span { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.call-big a { color: #fff; font-family: var(--font-head); font-size: clamp(28px, 3vw, 40px); font-weight: 700; }
.call-big a:hover { color: var(--accent); }
.call-band .btn-light-brand { display: inline-flex; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-15deg); } 20% { transform: rotate(15deg); } 30% { transform: rotate(0); } }
@media (max-width: 991.98px) { .call-band { background-attachment: scroll; padding: 70px 0; } .call-big { align-items: flex-start; } }

/* Pop-up */
#welcomeModal .modal-dialog { max-width: 560px; }
.welcome-modal { border: 0; border-radius: 18px; overflow: hidden; background: #fff; }
.welcome-modal img { width: 100%; max-height: 86vh; object-fit: contain; }
.btn-close-modal { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--dark); box-shadow: var(--shadow-sm); }
.btn-close-modal:hover { background: var(--primary); color: #fff; }
