/* TechVista design: header, footer and homepage. Every class starts with tv- so it never clashes with the
   Tailwind styles used inside the other pages. */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../fonts/poppins/poppins-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/poppins/poppins-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/poppins/poppins-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(../fonts/poppins/poppins-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(../fonts/poppins/poppins-latin-800-normal.woff2) format('woff2'); }

:root {
    --tv-navy: #0a1b45; --tv-navy-2: #0f2a63; --tv-blue: #1e7fe0; --tv-blue-2: #2196f3; --tv-orange: #f7931e;
    --tv-orange-2: #ff7a00; --tv-ink: #0e1d3f; --tv-text: #3b4863; --tv-muted: #6a7690; --tv-line: #e5ecf6;
    --tv-sky: #eaf4fd; --tv-green: #22b35e; --tv-radius: 14px; --tv-shadow: 0 10px 30px rgba(15, 42, 99, .08);
}
/* The other public pages (built with the site's Tailwind styles) take the TechVista colours and font too. */
:root {
    --font-sans: Poppins, system-ui, sans-serif; --font-heading: Poppins, system-ui, sans-serif;
    --color-deep: #0a1b45; --color-deep-2: #102c6b; --color-deep-line: #2a4a86; --color-link: #1e7fe0; --color-link-hover: #155fb0;
    --color-bright: #2196f3; --color-orange: #f7931e; --color-orange-soft: #fbb15c; --color-sky: #eaf4fd; --color-surface: #f3f8fe;
}
html { scroll-behavior: smooth; }
body { font-family: Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--tv-ink); background: #fff; }
.tv-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.tv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tv a { text-decoration: none; }
.tv svg { flex-shrink: 0; }

/* Buttons */
.tv-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 26px; font-weight: 600;
    font-size: 15px; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap; }
.tv-btn svg { width: 16px; height: 16px; }
.tv-btn-orange { background: linear-gradient(90deg, var(--tv-orange), var(--tv-orange-2)); color: #fff; box-shadow: 0 8px 20px rgba(247, 147, 30, .3); }
.tv-btn-orange:hover { filter: brightness(1.06); transform: translateY(-1px); }
.tv-btn-ghost { border-color: #fff; color: #fff; }
.tv-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.tv-btn-white { background: #fff; color: var(--tv-navy); }
.tv-btn-navy { background: var(--tv-navy); color: #fff; }
.tv-btn-sm { padding: 8px 18px; font-size: 13px; }

/* Top bar */
.tv-top { background: var(--tv-navy); color: #fff; font-size: 13px; }
.tv-top .tv-wrap { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.tv-top-right { display: flex; gap: 26px; align-items: center; }
.tv-top a { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.tv-top-left, .tv-social { display: flex; gap: 26px; align-items: center; }
.tv-social { gap: 16px; }
.tv-social svg { width: 16px; height: 16px; fill: currentColor; }
.tv-top svg { width: 15px; height: 15px; }
.tv-social a:hover { color: var(--tv-orange); }

/* Header */
.tv-head { background: #fff; box-shadow: 0 2px 12px rgba(10, 27, 69, .06); position: sticky; top: 0; z-index: 40; }
.tv-head .tv-wrap { display: flex; align-items: center; gap: 24px; min-height: 88px; }
.tv-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--tv-navy); }
.tv-logo img { width: auto; height: 60px; display: block; }
.tv-foot .tv-logo img { height: 64px; }
.tv-logo b { display: block; font-size: 29px; font-weight: 700; letter-spacing: -.5px; line-height: 1; color: var(--tv-navy); }
.tv-logo small { display: block; font-size: 11.5px; font-weight: 500; color: var(--tv-navy); letter-spacing: .3px; margin-top: 3px; padding-left: 2px; }
.tv-logo.tv-light b, .tv-logo.tv-light small { color: #fff; }
.tv-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.tv-nav > a, .tv-drop > button { display: inline-flex; align-items: center; gap: 5px; padding: 10px 17px; border-radius: 999px;
    color: var(--tv-ink); font: 500 14.5px Poppins, sans-serif; background: none; border: 0; cursor: pointer; }
.tv-nav > a:hover, .tv-drop > button:hover { color: var(--tv-blue); }
.tv-nav > a.tv-on { background: linear-gradient(90deg, #2196f3, #1a73d9); color: #fff; padding: 10px 24px; box-shadow: 0 6px 16px rgba(33, 150, 243, .3); }
.tv-drop { position: relative; }
.tv-drop > button svg { width: 12px; height: 12px; }
.tv-drop-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border-radius: 12px;
    box-shadow: 0 18px 40px rgba(10, 27, 69, .16); padding: 8px; z-index: 50; }
.tv-drop:hover .tv-drop-menu, .tv-drop:focus-within .tv-drop-menu, .tv-drop.tv-open .tv-drop-menu { display: block; }
.tv-drop-menu a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--tv-ink); font-size: 14px; }
.tv-drop-menu a:hover { background: var(--tv-sky); color: var(--tv-blue); }
.tv-head-tools { display: flex; align-items: center; gap: 22px; }
.tv-search { color: var(--tv-ink); display: inline-flex; }
.tv-search svg { width: 21px; height: 21px; }
.tv-burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--tv-navy); }
.tv-burger svg { width: 28px; height: 28px; }

/* Hero */
.tv-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% 10%, #173a86 0%, rgba(23, 58, 134, 0) 60%), linear-gradient(120deg, #081a44 0%, #0b2257 55%, #0f2c6b 100%); }
.tv-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 80px; background: linear-gradient(transparent, rgba(8, 26, 68, .35)); pointer-events: none; }
.tv-hero .tv-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 150px; }
.tv-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: #ffc27a; }
.tv-eyebrow::after { content: ''; width: 56px; height: 1.5px; background: currentColor; opacity: .7; }
.tv-hero h1 { margin: 20px 0 0; font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; line-height: 1.12; letter-spacing: -.8px; }
.tv-hero h1 span { color: var(--tv-orange); }
.tv-hero p { margin: 24px 0 0; font-size: 18px; line-height: 1.75; max-width: 540px; color: #d5def3; }
.tv-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.tv-hero-art { width: 100%; max-width: 540px; justify-self: end; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .25)); }

/* "How can we help you?" panel, overlapping the hero */
.tv-help { position: relative; z-index: 2; margin-top: -86px; }
.tv-help-card { background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(10, 27, 69, .14); padding: 34px 38px; display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.tv-help-card h2 { margin: 0; font-size: 24px; font-weight: 700; color: var(--tv-navy); line-height: 1.25; }
.tv-help-card h2 small { display: block; margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--tv-muted); line-height: 1.5; }
.tv-help-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tv-help-links a { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 14px; border: 1px solid var(--tv-line); color: var(--tv-ink); font-weight: 600; font-size: 15px; line-height: 1.4; transition: .2s; }
.tv-help-links a:hover { border-color: #bcd6f6; background: #f5f9ff; transform: translateY(-2px); }
.tv-help-links a span.tv-hl-ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.tv-help-links a span.tv-hl-ic svg { width: 22px; height: 22px; }
.tv-help-links a em { font-style: normal; color: var(--tv-blue); font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.tv-help-links a em svg { width: 14px; height: 14px; }

/* Section heads */
.tv-sec { padding: 104px 0; }
.tv-sec.tv-alt { background: #f5f8fd; }
.tv-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 52px; }
.tv-sec-head { max-width: 680px; }
.tv-sec-head.tv-center { margin: 0 auto 56px; text-align: center; }
.tv-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--tv-blue); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.tv-kicker::before { content: ''; width: 26px; height: 2px; background: var(--tv-orange); }
.tv-title { margin: 14px 0 0; font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; color: var(--tv-ink); letter-spacing: -.5px; line-height: 1.2; }
.tv-title span { color: var(--tv-blue); }
.tv-lead { margin: 18px 0 0; font-size: 17px; line-height: 1.75; color: var(--tv-text); }
.tv-link { display: inline-flex; align-items: center; gap: 8px; color: var(--tv-blue); font-weight: 600; font-size: 15px; }
.tv-link svg { width: 16px; height: 16px; transition: transform .2s; }
.tv-link:hover svg { transform: translateX(3px); }

/* Services: one card per division */
.tv-svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tv-svc-card { background: #fff; border-radius: 18px; border: 1px solid var(--tv-line); padding: 34px 30px 30px; display: flex; flex-direction: column; transition: .25s; }
.tv-svc-card:hover { box-shadow: 0 22px 50px rgba(15, 42, 99, .1); transform: translateY(-4px); border-color: transparent; }
.tv-svc-card h3 { margin: 26px 0 0; font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--tv-ink); }
.tv-svc-card p { margin: 14px 0 0; font-size: 14.5px; line-height: 1.75; color: var(--tv-text); flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tv-svc-card .tv-link { margin-top: 24px; font-size: 14.5px; }
.tv-svc-cta { background: linear-gradient(150deg, var(--tv-navy), #133578); color: #fff; border: 0; justify-content: center; }
.tv-svc-cta h3 { color: #fff; margin-top: 0; font-size: 21px; }
.tv-svc-cta p { color: #d5def3; -webkit-line-clamp: unset; flex: 0 0 auto; margin-bottom: 26px; }
.tv-svc-cta .tv-btn { align-self: flex-start; }
.tv-icon { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.tv-icon svg { width: 28px; height: 28px; }
.tv-icon.c1 { background: #e6f1ff; color: #1e7fe0; }
.tv-icon.c2 { background: #e5f7ea; color: #1f9d4f; }
.tv-icon.c3 { background: #fff1de; color: #e9820f; }
.tv-icon.c4 { background: #f1e8ff; color: #7c3aed; }
.tv-icon.c5 { background: #e3f6f8; color: #0e8f9f; }
.tv-icon.c6 { background: #ffe8ee; color: #d6336c; }
.tv-icon.c7 { background: #ecf0ff; color: #3f51d8; }

/* About */
.tv-about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tv-about-art { position: relative; }
.tv-about-art img { display: block; width: 100%; border-radius: 22px; aspect-ratio: 4 / 3.1; object-fit: cover; box-shadow: 0 30px 70px rgba(15, 42, 99, .15); }
.tv-about-badge { position: absolute; left: -28px; bottom: -28px; background: #fff; border-radius: 16px; padding: 20px 24px; box-shadow: 0 20px 50px rgba(15, 42, 99, .16); display: flex; gap: 14px; align-items: center; }
.tv-about-badge b { display: block; font-size: 30px; font-weight: 700; color: var(--tv-navy); line-height: 1; }
.tv-about-badge span { font-size: 13px; color: var(--tv-text); line-height: 1.4; }
.tv-pillars { display: grid; gap: 22px; margin-top: 36px; }
.tv-pillar { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.tv-pillar .tv-icon { width: 52px; height: 52px; border-radius: 14px; }
.tv-pillar .tv-icon svg { width: 24px; height: 24px; }
.tv-pillar h3 { margin: 4px 0 0; font-size: 17px; font-weight: 600; color: var(--tv-ink); }
.tv-pillar p { margin: 6px 0 0; font-size: 15px; line-height: 1.65; color: var(--tv-text); }
.tv-about .tv-link { margin-top: 34px; }

/* Journals */
.tv-jr { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 28px; }
.tv-jr-card { background: #fff; border-radius: 18px; border: 1px solid var(--tv-line); padding: 34px 30px; display: flex; flex-direction: column; gap: 26px; }
.tv-jr-card > div { display: flex; flex-direction: column; flex: 1; }
.tv-jr-card .tv-jr-links { margin-top: auto; padding-top: 18px; }
.tv-jr-card.tv-dashed { border-style: dashed; border-color: #c9d6ea; }
.tv-cover { width: 64px; height: 86px; border-radius: 6px 10px 10px 6px; background: linear-gradient(160deg, #1e7fe0, #0b2257); position: relative; box-shadow: 0 12px 24px rgba(11, 34, 87, .25); }
.tv-cover::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .25); }
.tv-cover::after { content: ''; position: absolute; left: 16px; right: 10px; top: 18px; height: 22px; border-top: 3px solid #f7931e; border-bottom: 2px solid rgba(255, 255, 255, .55); }
.tv-cover.alt { background: linear-gradient(160deg, #f7931e, #c2410c); }
.tv-cover.alt::after { border-top-color: #fff; }
.tv-cover.gray { background: linear-gradient(160deg, #64748b, #1e293b); }
.tv-jr-card h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--tv-ink); }
.tv-meta { margin: 8px 0 0; font-size: 13.5px; color: var(--tv-muted); line-height: 1.6; }
.tv-jr-card p.tv-body { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: var(--tv-text); }
.tv-jr-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 18px; }
.tv-ethics { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 24px 30px; border-radius: 16px; background: #f5f8fd; font-size: 15px; color: var(--tv-text); }
.tv-ethics b { color: var(--tv-navy); font-weight: 600; }
.tv-ethics span { display: inline-flex; align-items: center; gap: 8px; }
.tv-ethics span svg { width: 18px; height: 18px; color: var(--tv-green); }
.tv-ethics a { margin-left: auto; }

/* Training & events */
.tv-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tv-event { background: #fff; border-radius: 18px; border: 1px solid var(--tv-line); padding: 30px; display: flex; flex-direction: column; gap: 16px; transition: .25s; }
.tv-event:hover { box-shadow: 0 22px 50px rgba(15, 42, 99, .1); transform: translateY(-4px); }
.tv-date { display: flex; align-items: center; gap: 16px; }
.tv-date b { width: 62px; height: 66px; border-radius: 14px; background: var(--tv-sky); color: var(--tv-blue); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 24px; line-height: 1; }
.tv-date b small { font-size: 12px; font-weight: 600; text-transform: uppercase; margin-top: 4px; color: var(--tv-navy); }
.tv-date span { font-size: 13.5px; color: var(--tv-muted); line-height: 1.5; }
.tv-event h3 { margin: 4px 0 0; font-size: 18.5px; font-weight: 600; line-height: 1.4; color: var(--tv-ink); flex: 1; }
.tv-event p { margin: 0; font-size: 14px; color: var(--tv-text); }
.tv-event .tv-btn { align-self: flex-start; }
.tv-btn-outline { border-color: var(--tv-blue); color: var(--tv-blue); background: #fff; }
.tv-btn-outline:hover { background: var(--tv-blue); color: #fff; }
.tv-empty { padding: 40px; text-align: center; border: 1px dashed #c9d6ea; border-radius: 18px; color: var(--tv-text); }

/* Quote */
.tv-quote-sec { background: linear-gradient(150deg, var(--tv-navy) 0%, #11306f 100%); color: #fff; }
.tv-quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.tv-quote-sec .tv-title { color: #fff; }
.tv-quote-sec .tv-kicker { color: #ffc27a; }
.tv-quote-sec .tv-lead { color: #d5def3; }
.tv-promise { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; }
.tv-promise li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; line-height: 1.6; color: #e8eefc; }
.tv-promise svg { width: 22px; height: 22px; color: #35c46f; margin-top: 2px; }
.tv-contact-line { margin-top: 40px; display: grid; gap: 12px; font-size: 15px; }
.tv-contact-line a, .tv-contact-line span { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.tv-contact-line svg { width: 18px; height: 18px; color: #ffc27a; }
.tv-form-card { color: var(--tv-ink); border-radius: 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .25); overflow: hidden; }
.tv-form-card form { margin: 0; background: #fff !important; border: 0 !important; border-radius: 22px; padding: 40px !important; }
@media (max-width: 700px) { .tv-form-card form { padding: 24px 20px !important; } }

/* Footer */
.tv-foot { background: #071636; color: #c3cee6; }
.tv-foot-main { display: grid; grid-template-columns: 1.5fr 1.35fr .9fr 1.3fr; gap: 56px; padding-top: 80px; padding-bottom: 64px; }
.tv-foot h4 { margin: 0 0 22px; font-size: 15px; font-weight: 600; color: #fff; letter-spacing: .2px; }
.tv-foot p { margin: 22px 0 0; font-size: 14.5px; line-height: 1.8; max-width: 340px; }
.tv-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tv-foot li, .tv-foot a { font-size: 14.5px; color: #c3cee6; line-height: 1.5; }
.tv-foot a:hover { color: #ffb45c; }
.tv-foot a.tv-btn-orange, .tv-foot a.tv-btn-orange:hover { color: #fff; }
.tv-foot .tv-logo img { height: 66px; }
.tv-contact li { display: flex; align-items: flex-start; gap: 12px; }
.tv-contact svg { width: 18px; height: 18px; color: #ffb45c; margin-top: 2px; }
.tv-reg { margin-top: 18px; font-size: 12.5px; color: #8e9bbb; line-height: 1.6; }
.tv-foot-bar { border-top: 1px solid #1a2a55; }
.tv-foot-bar .tv-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; min-height: 64px; font-size: 13px; }
.tv-foot-bar nav { display: flex; gap: 22px; flex-wrap: wrap; }
.tv-foot-bar nav a { font-size: 13px; }

/* Phones and tablets */
@media (max-width: 1100px) {
    .tv-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 24px 20px; box-shadow: 0 14px 30px rgba(10, 27, 69, .12); gap: 2px; }
    .tv-head.tv-menu-open .tv-nav { display: flex; }
    .tv-nav > a.tv-on { align-self: flex-start; }
    .tv-drop-menu { position: static; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
    .tv-burger { display: inline-flex; }
    .tv-head-tools { margin-left: auto; }
    .tv-hero .tv-wrap { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 130px; }
    .tv-hero-art { justify-self: center; max-width: 460px; }
    .tv-help-card { grid-template-columns: 1fr; padding: 28px; }
    .tv-help-links { grid-template-columns: repeat(2, 1fr); }
    .tv-svc { grid-template-columns: repeat(2, 1fr); }
    .tv-about, .tv-quote-grid { grid-template-columns: 1fr; gap: 56px; }
    .tv-about-badge { left: 16px; bottom: -24px; }
    .tv-jr { grid-template-columns: 1fr; }
    .tv-events { grid-template-columns: repeat(2, 1fr); }
    .tv-sec { padding: 80px 0; }
    .tv-foot-main { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 700px) {
    .tv-hero-art { display: none; }
    .tv-hero .tv-wrap { padding-top: 48px; padding-bottom: 120px; }
    .tv-help-links, .tv-svc, .tv-events { grid-template-columns: 1fr; }
    .tv-sec { padding: 64px 0; }
    .tv-head-row { margin-bottom: 36px; }
    .tv-form-card { padding: 24px 20px; }
    .tv-ethics a { margin-left: 0; }
    .tv-foot-main { grid-template-columns: 1fr 1fr; }
    .tv-foot-main > div:first-child, .tv-news { grid-column: 1 / -1; }
}
.tv-nav .tv-nav-quote { display: none; }
.tv-nav > a.tv-nav-quote { background: linear-gradient(90deg, var(--tv-orange), var(--tv-orange-2)); color: #fff; padding: 11px 24px; }
@media (max-width: 520px) {
    .tv-wrap { padding: 0 18px; }
    .tv-head .tv-wrap { gap: 12px; min-height: 70px; }
    .tv-logo img { height: 48px; }
    .tv-head-tools { gap: 12px; }
    .tv-head-tools .tv-btn { display: none; }
    .tv-nav .tv-nav-quote { display: inline-flex; align-self: flex-start; margin-top: 8px; color: #fff; }
    .tv-top .tv-wrap { justify-content: center; }
    .tv-top-right { display: none; }
}
