/* ==========================================================
   VOWEL NEXTGEN HOME PAGE REDESIGN
   Brand palette: charcoal, black, golden yellow, warm white.
   All styles are scoped to vn-* classes to avoid changing
   the site's shared theme or existing purple sections.
   ========================================================== */

.vn-home-hero { width: 100%; overflow: hidden; background: #111; }
.vn-home-hero a, .vn-home-hero picture { display: block; }
.vn-home-hero-image { display: block; width: 100%; height: auto; }

.vn-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.vn-section { position: relative; padding: 88px 0; }
.vn-section h2, .vn-final-cta h2 { margin: 0 0 22px; color: #171717; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1.18; letter-spacing: -.035em; }
.vn-section h2 span { color: #c28e00; }
.vn-section h3 { color: #171717; font-size: 20px; font-weight: 800; line-height: 1.3; }
.vn-section p { color: #696762; font-size: 15px; line-height: 1.85; }
.vn-eyebrow { display: inline-block; margin-bottom: 16px; color: #a77a00; font-size: 12px; font-weight: 900; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.vn-text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; color: #8b6500 !important; font-weight: 800; text-decoration: none !important; }
.vn-text-link:hover { color: #171717 !important; }
.vn-gold-rule { width: 76px; height: 4px; margin-top: 25px; border-radius: 10px; background: #ffbf00; }
.vn-section-heading { max-width: 760px; margin-bottom: 38px; }
.vn-section-heading p { max-width: 700px; margin-bottom: 0; }
.vn-section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; max-width: none; }
.vn-centered-heading { margin-right: auto; margin-left: auto; text-align: center; }
.vn-centered-heading h2 { max-width: 850px; margin-right: auto; margin-left: auto; }

.vn-intro { overflow: hidden; background: #fff; }
.vn-intro::before { position: absolute; top: 0; right: 0; width: 36%; height: 100%; background: radial-gradient(circle at 80% 30%, rgba(255,191,0,.10), transparent 55%); content: ""; pointer-events: none; }
.vn-intro-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 70px; }
.vn-intro-visual { position: relative; padding: 0 22px 24px 0; }
.vn-image-frame { position: relative; overflow: hidden; min-height: 360px; border-radius: 22px; background: #e9e5dc; box-shadow: 0 22px 55px rgba(0,0,0,.13); }
.vn-image-frame::after { position: absolute; inset: 0; border: 1px solid rgba(255,191,0,.45); border-radius: inherit; content: ""; pointer-events: none; }
.vn-image-frame img { display: block; width: 100%; height: 390px; object-fit: cover; }
.vn-image-tag { position: absolute; bottom: 18px; left: 18px; display: flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid rgba(255,255,255,.3); border-radius: 9px; color: #fff; background: rgba(18,18,18,.84); font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }
.vn-tag-dot { width: 8px; height: 8px; border-radius: 50%; background: #ffbf00; box-shadow: 0 0 0 4px rgba(255,191,0,.16); }
.vn-stat-card { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; min-width: 160px; padding: 20px 24px; border: 1px solid #f0d47b; border-radius: 14px; background: #fff; box-shadow: 0 14px 36px rgba(0,0,0,.12); }
.vn-stat-card strong { color: #b98500; font-size: 28px; font-weight: 900; line-height: 1.1; }
.vn-stat-card span { margin-top: 5px; color: #555; font-size: 12px; font-weight: 700; }
.vn-intro-copy p { margin-bottom: 15px; }

.vn-vision { overflow: hidden; color: #fff; background: radial-gradient(circle at 95% 15%, rgba(255,191,0,.16), transparent 30%), linear-gradient(120deg, #111112, #1c1a14 70%, #171717); }
.vn-vision::before { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,191,0,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,191,0,.12) 1px, transparent 1px); background-size: 40px 40px; content: ""; pointer-events: none; }
.vn-vision-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 75px; align-items: start; }
.vn-vision-heading { position: relative; z-index: 1; }
.vn-vision h2 { color: #fff; }
.vn-vision h2 span { color: #ffbf00; }
.vn-vision .vn-eyebrow { color: #ffbf00; }
.vn-vision-copy { padding-top: 12px; }
.vn-vision-copy p { color: #e1dfd9; margin-bottom: 16px; }
.vn-vision-decoration { position: absolute; right: -150px; bottom: -270px; width: 450px; height: 450px; pointer-events: none; }
.vn-vision-decoration span { position: absolute; inset: 0; border: 1px solid rgba(255,191,0,.4); border-radius: 50%; transform: scaleX(.78) rotate(-25deg); }
.vn-vision-decoration span:nth-child(2) { inset: 40px; border-color: rgba(255,191,0,.22); transform: scaleX(.82) rotate(30deg); }
.vn-vision-decoration span:nth-child(3) { inset: 85px; border-color: rgba(255,255,255,.12); }

.vn-courses { background: #f8f7f3; }
.vn-courses .vn-section-heading h2 { max-width: 760px; }
.vn-btn { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; padding: 13px 21px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 800; line-height: 1.3; text-decoration: none !important; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.vn-btn:hover { transform: translateY(-2px); }
.vn-btn-dark { color: #fff !important; background: #171717; }
.vn-btn-dark:hover { color: #171717 !important; background: #ffbf00; }
.vn-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.vn-course-card { position: relative; display: flex; flex-direction: column; min-height: 305px; padding: 25px; border: 1px solid #e8e3d8; border-radius: 15px; background: #fff; box-shadow: 0 9px 25px rgba(24,22,18,.035); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.vn-course-card:hover { transform: translateY(-5px); border-color: #e7bd37; box-shadow: 0 18px 38px rgba(24,22,18,.09); }
.vn-course-featured { border-color: #e8bd2d; background: linear-gradient(150deg, #fffdf5, #fff 70%); }
.vn-course-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.vn-course-number { color: #9b9587; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.vn-course-symbol { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; color: #171717; background: #ffbf00; font-size: 21px; }
.vn-course-card h3 { margin: 0 0 13px; }
.vn-course-card p { margin: 0 0 18px; font-size: 14px; line-height: 1.75; }
.vn-course-link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 15px; color: #8a6500 !important; font-size: 13px; font-weight: 900; text-decoration: none !important; }
.vn-course-link:hover { color: #171717 !important; }
.vn-course-note { margin: 18px 0 0; font-size: 12px !important; }

.vn-why { background: #fff; }
.vn-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.vn-benefit-card { padding: 27px; border: 1px solid #ece8df; border-radius: 14px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.vn-benefit-card:hover { transform: translateY(-4px); border-color: #e5c45b; box-shadow: 0 14px 32px rgba(0,0,0,.06); }
.vn-benefit-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 21px; border-radius: 11px; color: #171717; background: #ffbf00; font-size: 13px; font-weight: 900; }
.vn-benefit-card h3 { margin: 0 0 10px; font-size: 18px; }
.vn-benefit-card p { margin: 0; font-size: 14px; }

.vn-learning { background: #f7f5ef; }
.vn-learning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vn-learning-panel, .vn-audience-panel { padding: 36px; border-radius: 18px; }
.vn-learning-panel { color: #fff; background: #171717; }
.vn-learning-panel h2 { color: #fff; font-size: clamp(27px, 3vw, 36px); }
.vn-learning-panel .vn-eyebrow { color: #ffbf00; }
.vn-learning-item { display: flex; gap: 17px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.13); }
.vn-learning-item > span { flex: 0 0 36px; color: #ffbf00; font-size: 15px; font-weight: 900; }
.vn-learning-item h3 { margin: 0 0 5px; color: #fff; font-size: 16px; }
.vn-learning-item p { margin: 0; color: #d7d5cf; font-size: 14px; }
.vn-audience-panel { border: 1px solid #e8dfc8; background: #fff; }
.vn-audience-panel h2 { font-size: clamp(27px, 3vw, 36px); }
.vn-audience-intro { margin-bottom: 22px; }
.vn-audience-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.vn-audience-list li { display: flex; align-items: flex-start; gap: 12px; color: #55534d; font-size: 14px; line-height: 1.65; }
.vn-audience-list li span { display: inline-grid; flex: 0 0 23px; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: #171717; background: #ffbf00; font-size: 12px; font-weight: 900; }

.vn-admission { background: #fff; }
.vn-steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 17px; }
.vn-step-card { position: relative; padding: 26px 22px; border: 1px solid #e9e4d8; border-radius: 14px; background: #fff; }
.vn-step-number { display: block; margin-bottom: 22px; color: #b18400; font-size: 27px; font-weight: 900; letter-spacing: -.04em; }
.vn-step-card h3 { margin: 0 0 10px; font-size: 17px; }
.vn-step-card p { margin: 0; font-size: 14px; }

.vn-newsletter { position: relative; overflow: hidden; padding: 55px 0; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(255,191,0,.18), transparent 30%), #171717; }
.vn-newsletter::before { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,191,0,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,191,0,.14) 1px, transparent 1px); background-size: 34px 34px; content: ""; pointer-events: none; }
.vn-newsletter-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 45px; }
.vn-newsletter .vn-eyebrow { color: #ffbf00; }
.vn-newsletter h2 { margin: 0; color: #fff; font-size: clamp(25px, 3vw, 35px); line-height: 1.2; }
.vn-newsletter-form { display: flex; gap: 10px; padding: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.06); }
.vn-newsletter-form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 0; outline: none; color: #fff; background: transparent; }
.vn-newsletter-form input::placeholder { color: #c9c7c1; }
.vn-newsletter-form button { flex: 0 0 48px; width: 48px; height: 48px; border: 0; border-radius: 7px; color: #171717; background: #ffbf00; font-size: 25px; font-weight: 800; cursor: pointer; }
.vn-subscription-label { display: none; }
.vn-divider { height: 4px; background: linear-gradient(90deg, #171717, #ffbf00, #171717); }

/* Media coverage styling overrides for the existing media cards */
.media-section { padding: 80px 0; background: #f8f7f3; }
.media-section .section-header { margin-bottom: 38px; }
.media-section .section-header h2 { color: #171717; font-weight: 800; }
.media-section .section-header p { color: #77736a; }
.news-slider { display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; scroll-behavior: auto; }
.news-slider::-webkit-scrollbar { display: none; }
.news-slider.dragging { cursor: grabbing; }
.news-card { flex: 0 0 300px; overflow: hidden; border: 1px solid #e9e4d8; border-radius: 13px; background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(0,0,0,.1); }
.news-card a { text-decoration: none; }
.news-card img { display: block; width: 100%; height: 250px; object-fit: cover; border-radius: 0; transition: transform .5s ease; }
.news-card:hover img { transform: scale(1.04); }
.news-content { padding: 15px; text-align: center; background: #fff; }
.news-content h5 { margin-bottom: 7px; color: #222; }
.news-content p { margin: 0; color: #777; }
.news-btn { display: inline-block; padding: 9px 22px; border-radius: 30px; color: #171717; background: #ffbf00; font-size: 13px; font-weight: 800; transition: .3s; }
.news-card:hover .news-btn { color: #fff; background: #171717; }
.play-icon { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; transform: translate(-50%,-50%); border-radius: 50%; color: #171717; background: #ffbf00; font-size: 25px; }

/* FAQ */
.vn-faq { background: #fff; }
.vn-faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 65px; }
.vn-faq-grid .vn-section-heading { position: sticky; top: 30px; margin-bottom: 0; }
.vn-faq-list { border-top: 1px solid #e9e4d8; }
.vn-faq-item { border-bottom: 1px solid #e9e4d8; }
.vn-faq-item summary { position: relative; padding: 21px 44px 21px 0; color: #171717; cursor: pointer; font-size: 16px; font-weight: 800; line-height: 1.5; list-style: none; }
.vn-faq-item summary::-webkit-details-marker { display: none; }
.vn-faq-item summary::after { position: absolute; top: 18px; right: 5px; color: #a77a00; content: "+"; font-size: 25px; font-weight: 500; }
.vn-faq-item[open] summary::after { content: "−"; }
.vn-faq-item p { margin: 0; padding: 0 30px 22px 0; font-size: 14px; }

/* Final CTA and enquiry form */
.vn-final-cta { position: relative; overflow: hidden; padding: 85px 0; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(255,191,0,.18), transparent 30%), linear-gradient(120deg, #111112, #211c0d 65%, #171717); }
.vn-final-cta::before { position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,191,0,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,191,0,.11) 1px, transparent 1px); background-size: 40px 40px; content: ""; pointer-events: none; }
.vn-final-grid { position: relative; display: grid; grid-template-columns: 1.05fr .75fr; align-items: center; gap: 65px; }
.vn-final-copy .vn-eyebrow { color: #ffbf00; }
.vn-final-cta h2 { color: #fff; }
.vn-final-cta p { color: #d9d7d0; font-size: 15px; line-height: 1.8; }
.vn-final-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.vn-btn-gold { color: #171717 !important; background: #ffbf00; box-shadow: 0 10px 26px rgba(255,191,0,.15); }
.vn-btn-gold:hover { color: #171717 !important; background: #ffd447; }
.vn-btn-outline { color: #fff !important; border-color: rgba(255,255,255,.45); background: transparent; }
.vn-btn-outline:hover { color: #ffbf00 !important; border-color: #ffbf00; }
.vn-final-contact { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; }
.vn-final-contact p { margin: 0; font-size: 13px; }
.vn-final-contact strong { color: #ffbf00; }
.vn-form-card { padding: 30px; border: 1px solid rgba(255,191,0,.35); border-radius: 18px; color: #171717; background: #fff; box-shadow: 0 25px 60px rgba(0,0,0,.25); }
.vn-form-kicker { color: #9a7200; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.vn-form-card h3 { margin: 12px 0 8px; color: #171717; font-size: 25px; font-weight: 900; }
.vn-form-card > p { margin: 0 0 20px; color: #77736a; font-size: 13px; }
.vn-form-card form { display: grid; gap: 12px; }
.vn-form-card input, .vn-form-card textarea { width: 100%; min-height: 48px; padding: 13px 14px; border: 1px solid #e4e0d7; border-radius: 7px; outline: none; color: #171717; background: #fbfaf7; font: inherit; font-size: 14px; line-height: 1.5; }
.vn-form-card textarea { resize: vertical; min-height: 100px; }
.vn-form-card input:focus, .vn-form-card textarea:focus { border-color: #d3a100; box-shadow: 0 0 0 3px rgba(255,191,0,.13); }
.vn-submit { width: 100%; border: 0; cursor: pointer; }
.vn-form-message { margin-top: 10px !important; }

/* Retain Nexi widget compatibility; do not restyle its internals here. */
@media (max-width: 991.98px) {
    .vn-section { padding: 70px 0; }
    .vn-intro-grid { gap: 40px; }
    .vn-vision-grid { gap: 30px; }
    .vn-course-grid, .vn-benefit-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .vn-learning-grid { gap: 18px; }
    .vn-learning-panel, .vn-audience-panel { padding: 28px; }
    .vn-steps-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .vn-faq-grid { gap: 35px; }
    .vn-final-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
}
@media (max-width: 767.98px) {
    .vn-container { width: calc(100% - 30px); }
    .vn-section { padding: 55px 0; }
    .vn-section h2, .vn-final-cta h2 { font-size: 30px; }
    .vn-section-heading-row { align-items: flex-start; flex-direction: column; }
    .vn-intro-grid, .vn-vision-grid, .vn-learning-grid, .vn-newsletter-inner, .vn-faq-grid, .vn-final-grid { grid-template-columns: 1fr; }
    .vn-intro-grid { gap: 38px; }
    .vn-image-frame { min-height: 260px; }
    .vn-image-frame img { height: 290px; }
    .vn-stat-card { right: -2px; min-width: 140px; padding: 15px 18px; }
    .vn-vision-grid { gap: 20px; }
    .vn-vision-decoration { right: -260px; bottom: -320px; opacity: .6; }
    .vn-course-grid, .vn-benefit-grid, .vn-steps-grid { grid-template-columns: 1fr; }
    .vn-course-card { min-height: 0; }
    .vn-learning-panel, .vn-audience-panel { padding: 25px; }
    .vn-newsletter-inner { gap: 25px; }
    .vn-newsletter { padding: 45px 0; }
    .media-section { padding: 55px 0; }
    .news-card { flex-basis: 250px; }
    .news-card img { height: 220px; }
    .vn-faq-grid { gap: 28px; }
    .vn-faq-grid .vn-section-heading { position: static; }
    .vn-final-cta { padding: 60px 0; }
    .vn-final-buttons { flex-direction: column; align-items: stretch; }
    .vn-final-buttons .vn-btn { width: 100%; }
    .vn-form-card { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .vn-course-card, .vn-benefit-card, .vn-btn, .news-card, .news-card img { transition: none !important; }
}

/* Honeypot field for basic bot protection */
.vn-hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.vn-form-message {
    margin-top: 14px;
    font-size: 14px;
}

    .vn-form-message.success {
        color: #247a3d;
    }

    .vn-form-message.error {
        color: #c62828;
    }

.vn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.vn-submit:disabled {
    opacity: 0.8;
    cursor: wait;
}

.vn-submit.vn-is-loading {
    pointer-events: none;
}

.vn-spinner {
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-right: 9px;
    vertical-align: -3px;
    border: 2px solid rgba(0, 0, 0, 0.25);
    border-top-color: #171717;
    border-radius: 50%;
    animation: vn-spin 0.7s linear infinite;
}

@keyframes vn-spin {
    to {
        transform: rotate(360deg);
    }
}
.vn-course-card-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.vn-course-icon {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
}
.vn-contact-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .vn-contact-link:hover {
        color: #ffbf00;
    }