/*
 * Homepage design language for pages that do not share its template, Phase 144.
 *
 * home/index.blade.php keeps its CSS inline, so its look is restated here: green centred
 * section titles, white 12px cards with a soft shadow and a lift on hover, green numbered
 * circles, yellow call-to-action buttons, --section-bg bands. Scoped to .hv-page.
 *
 * mock_exam.css and bhp_landing.css are shared with the exam, the result page and the other
 * landing pages, which keep their own look. Those files are overridden here, not edited.
 */

.hv-page .hv-title,
.hv-page .mock-quiz-title,
.hv-page .lp-section-title {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    color: var(--accent);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -1px;
    text-align: center;
}
.hv-page .highlight { color: var(--accent-dark); }
.hv-page .hv-subtitle,
.hv-page .mock-quiz-lead,
.hv-page .lp-section-subtitle {
    max-width: 820px;
    margin: 0 auto 26px;
    color: #666;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    text-align: center;
}
.hv-page .hv-card,
.hv-page .lp-step,
.hv-page .mock-exam-card,
.hv-page .contact-card-item {
    background: #fff;
    border: 1px solid rgba(36, 47, 103, .08);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
}
.hv-page .hv-num,
.hv-page .lp-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-size: 21px;
    font-weight: 700;
}
.hv-page .hv-btn,
.hv-page .lp-cta-btn,
.hv-page .eBtn.gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 35px;
    border: 0;
    border-radius: 8px;
    background: var(--cta-btn-bg);
    background-image: none;
    color: var(--cta-btn-text);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 192, 0, .35);
    transition: all .3s ease;
}
.hv-page .hv-btn:hover,
.hv-page .lp-cta-btn:hover,
.hv-page .eBtn.gradient:hover {
    background: var(--cta-btn-hover);
    color: var(--cta-btn-text);
    transform: translateY(-2px);
}

/* ---------- /test-bhp-probny ---------- */
.hv-probny .mock-start-section { padding: 26px 40px 50px; background: #fff; }
.hv-probny .mock-exam-card {
    max-width: 1320px;
    padding: 32px 40px 34px;
    border-left: 5px solid var(--accent);
}
.hv-probny .mock-card-disclaimer {
    max-width: 980px;
    margin: 0 auto 16px;
    padding: 12px 18px;
    border: 0;
    border-left: 4px solid var(--notice-border);
    border-radius: 8px;
    background: var(--notice-bg);
    text-align: center;
}
.hv-probny .mock-card-disclaimer p { margin: 0; color: var(--heading-color); font-size: 14px; line-height: 1.55; }
.hv-probny .mock-fact {
    background: var(--section-bg);
    border: 1px solid rgba(0, 150, 57, .2);
    border-radius: 12px;
}
.hv-probny .mock-fact-value { color: var(--accent); font-weight: 700; }
.hv-probny .mock-fact-label { color: #666; }
/* margin 0: the shared .eBtn rule pushed the submit button down, so the two buttons sat at different heights. */
.hv-probny .mock-actions .eBtn { border-radius: 8px; margin: 0; }
.hv-probny .mock-actions .eBtn.gradient { box-shadow: 0 4px 15px rgba(255, 192, 0, .35); }
.hv-probny .mock-btn-outline {
    background: transparent;
    border: 2px solid var(--cta-btn-bg);
    color: var(--cta-btn-text);
    transition: all .3s ease;
}
.hv-probny .mock-btn-outline:hover,
.hv-probny .mock-btn-outline:focus {
    background: var(--cta-btn-bg);
    color: var(--cta-btn-text);
    transform: translateY(-2px);
}
.hv-probny .mock-start-note { color: #666; text-align: center; }
.hv-probny .mock-rules-toggle { border-color: rgba(36, 47, 103, .1); }
.hv-probny .mock-rules-toggle summary { color: var(--accent); font-weight: 700; }
.hv-probny .mock-rules li { color: var(--body-text); }
.hv-probny .mock-rules li::before { color: var(--accent); }

/* The language dialog sits inside this page's form, so the same scope reaches it. */
.hv-probny .mock-modal .mock-modal-panel { border-radius: 12px; }
.hv-probny .mock-lang-title { color: var(--accent); }
.hv-probny .mock-lang-option:hover { border-color: var(--accent); background: var(--section-bg); }
.hv-probny .mock-lang-option:has(input:checked),
.hv-probny .mock-lang-option.selected {
    border-color: var(--accent);
    background: var(--section-bg);
    box-shadow: 0 0 0 1px var(--accent);
}
.hv-probny .mock-lang-option:has(input:focus-visible) { outline-color: var(--accent); }

.hv-probny .lp-section { padding: 55px 0; }
.hv-probny .lp-section.alt { background: var(--section-bg); }
.hv-probny .lp-section .container,
.hv-probny .lp-links .container { max-width: 1400px; padding: 0 40px; }
.hv-probny .lp-steps { max-width: 1200px !important; gap: 24px; }
.hv-probny .lp-step {
    padding: 30px 22px;
    text-align: center;
    transition: all .4s cubic-bezier(.165, .84, .44, 1);
}
.hv-probny .lp-step:hover { transform: translateY(-10px); box-shadow: 0 20px 50px var(--card-hover-shadow); }
.hv-probny .lp-step h3 { color: var(--accent); font-size: 19px; font-weight: 700; }
.hv-probny .lp-step p { color: var(--body-text); }
.hv-probny .lp-links { padding: 45px 0 55px; background: #fff; }
.hv-probny .lp-links h3 { color: var(--accent); font-size: 24px; font-weight: 700; letter-spacing: -.5px; text-align: center; }
.hv-probny .lp-link-card {
    background: #fff;
    border: 1px solid rgba(0, 150, 57, .2);
    border-radius: 12px;
    color: var(--accent-dark);
    font-weight: 600;
    box-shadow: 0 4px 15px var(--card-shadow);
}
.hv-probny .lp-link-card:hover {
    border-color: var(--accent);
    background: var(--section-bg);
    color: var(--accent-dark);
    transform: translateY(-3px);
}

/* ---------- /contact-us ---------- */
.hv-contact .hv-wrap { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.hv-contact .contact-head { padding: 34px 0 6px; background: #fff; }
.hv-contact .contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    padding-bottom: 50px;
}
.hv-contact .contact-card-item {
    padding: 30px 24px;
    text-align: center;
    transition: all .4s cubic-bezier(.165, .84, .44, 1);
}
.hv-contact .contact-card-item:hover { transform: translateY(-10px); box-shadow: 0 20px 50px var(--card-hover-shadow); }
.hv-contact .contact-card-item h3 { margin: 0 0 6px; color: var(--accent); font-size: 19px; font-weight: 700; }
.hv-contact .contact-card-item p { margin: 0 0 8px; color: #666; font-size: 14px; }
.hv-contact .contact-card-item a { color: var(--heading-color); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; text-decoration: none; }
.hv-contact .contact-card-item a:hover { color: var(--accent); }
.hv-contact .contact-main { padding: 50px 0 60px; background: var(--section-bg); }
.hv-contact .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.hv-contact .contact-form-wrap { padding: 32px 36px; border-left: 5px solid var(--accent); }
.hv-contact .contact-form-wrap h2 { margin: 0 0 6px; color: var(--accent); font-size: 24px; font-weight: 700; letter-spacing: -.5px; }
.hv-contact .contact-form-wrap .subtitle { margin: 0 0 20px; color: #666; font-size: 15px; line-height: 1.5; }
.hv-contact .contact-form-wrap .subtitle.is-note { color: var(--accent-dark); }
.hv-contact .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.hv-contact .cf-group { margin-bottom: 16px; }
.hv-contact .cf-group label { display: block; margin-bottom: 6px; color: var(--heading-color); font-size: 14px; font-weight: 600; }
.hv-contact .cf-group input,
.hv-contact .cf-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #dfe3ea;
    border-radius: 8px;
    color: var(--heading-color);
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.hv-contact .cf-group input:focus,
.hv-contact .cf-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 150, 57, .12);
    outline: none;
}
.hv-contact .cf-group textarea { resize: vertical; }
.hv-contact .cf-submit { width: 100%; }
.hv-contact .flash-msg { margin-bottom: 16px; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.hv-contact .flash-msg.success { border: 1px solid rgba(0, 150, 57, .25); background: #effaf3; color: var(--accent-dark); }
.hv-contact .flash-msg.error { border: 1px solid #f5c2c7; background: #fdf1f2; color: #a4262c; }
.hv-contact .contact-map-wrap { overflow: hidden; }
.hv-contact .contact-map-wrap iframe { display: block; width: 100%; height: 300px; border: 0; }
.hv-contact .map-info { padding: 22px 26px; }
.hv-contact .map-info h3 { margin: 0 0 12px; color: var(--accent); font-size: 19px; font-weight: 700; }
.hv-contact .map-info-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.hv-contact .map-info-item i { width: 18px; margin-top: 4px; color: var(--accent); text-align: center; }
.hv-contact .map-info-item p { margin: 0; color: var(--body-text); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.hv-contact .map-info-item a { color: inherit; text-decoration: none; }
.hv-contact .map-info-item a:hover { color: var(--accent); }
.hv-contact .office-hours {
    margin-top: 24px;
    padding: 24px 26px;
    border-radius: 12px;
    background: var(--accent-dark);
    color: #fff;
}
.hv-contact .office-hours h4 { margin: 0 0 8px; color: #fff; font-size: 19px; font-weight: 700; }
.hv-contact .office-hours h4 i { margin-right: 8px; }
.hv-contact .office-hours p { margin: 0; color: #fff; font-size: 15px; line-height: 1.7; opacity: .95; }

@media (max-width: 1024px) {
    .hv-contact .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .hv-probny .lp-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hv-page .hv-title,
    .hv-page .mock-quiz-title,
    .hv-page .lp-section-title { font-size: 25px; letter-spacing: -.5px; }
    .hv-page .hv-subtitle,
    .hv-page .mock-quiz-lead,
    .hv-page .lp-section-subtitle { font-size: 16px; }
    .hv-probny .mock-start-section { padding: 14px 12px 34px; }
    .hv-probny .mock-exam-card { padding: 22px 16px 24px; border-left-width: 4px; }
    .hv-probny .mock-actions .eBtn { width: 100%; }
    .hv-probny .lp-section { padding: 40px 0; }
    .hv-probny .lp-section .container,
    .hv-probny .lp-links .container { padding: 0 16px; }
    .hv-probny .lp-steps { grid-template-columns: 1fr; }
    .hv-contact .hv-wrap { padding: 0 16px; }
    .hv-contact .contact-head { padding-top: 24px; }
    .hv-contact .contact-cards { grid-template-columns: 1fr; gap: 16px; padding-bottom: 34px; }
    .hv-contact .contact-main { padding: 34px 0 40px; }
    .hv-contact .contact-form-wrap { padding: 22px 16px; border-left-width: 4px; }
    .hv-contact .cf-row { grid-template-columns: 1fr; gap: 0; }
}
