/*
Theme Name: Unique Hightech Future
Description: A bright, friendly theme for a technology training and engineer-hiring website. Separate Courses page, course detail pages, enrollment and hire-an-engineer request forms.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: unique-high-tech-future
*/

:root {
	--navy: #0b1f4b;
	--navy-900: #071538;
	--navy-700: #1a3578;
	--gold: #e3a21a;
	--gold-600: #c98a0a;
	--gold-soft: #fff4d9;
	--bg: #f6f8fd;
	--card: #ffffff;
	--line: #e1e7f3;
	--ink: #0b1f4b;
	--muted: #55658a;
	--ok: #11875d;
	--bad: #c93636;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(11, 31, 75, .06), 0 8px 24px rgba(11, 31, 75, .08);
	--head: "Lexend", system-ui, sans-serif;
	--body: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); line-height: 1.18; margin: 0 0 .55em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.uf-wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); margin-inline: auto; padding-bottom: 4rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.3rem; border-radius: 999px; font: 600 .98rem var(--head); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn-amber, .btn-solid { background: var(--gold); color: var(--navy); box-shadow: 0 6px 16px rgba(227, 162, 26, .35); }
.btn-amber:hover, .btn-solid:hover { background: #f1b232; color: var(--navy); }
.btn-line, .btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-line:hover, .btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.05rem; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand-icon { height: 44px; width: auto; display: block; }
.brand-name { font: 700 1.1rem var(--head); letter-spacing: -.01em; line-height: 1.1; }
.brand-name span { color: var(--gold); }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.primary-nav ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.primary-nav li a { display: block; padding: .55rem .9rem; color: var(--navy); text-decoration: none; font-weight: 600; border-radius: 999px; }
.primary-nav li a:hover { background: var(--gold-soft); color: var(--navy); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { background: var(--navy); color: #fff; }
.nav-cta { padding: .6rem 1.15rem; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; background: var(--navy); border: 0; border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { content: ""; position: absolute; left: 13px; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.nav-toggle i { top: 22px; } .nav-toggle i::before { left: 0; top: -6px; } .nav-toggle i::after { left: 0; top: 6px; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); background: radial-gradient(900px 400px at 85% 0, #fff4d9 0, transparent 70%), var(--bg); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.pill { display: inline-block; background: #fff; border: 1px solid var(--line); padding: .35rem .9rem; border-radius: 999px; font: 600 .9rem var(--head); color: var(--navy-700); margin-bottom: 1.2rem; }
.hero h1 span { color: var(--gold-600); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-art { position: relative; }
.art-svg { width: 100%; height: auto; display: block; border-radius: 30px; box-shadow: 0 30px 60px rgba(11, 31, 75, .25); }
.pulse { stroke-dasharray: 36 400; stroke-dashoffset: 400; animation: run 3.6s linear infinite; }
.p2 { animation-delay: 1.2s; } .p3 { animation-delay: 2.4s; }
@keyframes run { to { stroke-dashoffset: 0; } }
.chip-float { position: absolute; background: #fff; color: var(--navy); font: 600 .92rem var(--head); padding: .55rem .95rem; border-radius: 12px; box-shadow: var(--shadow); border-left: 4px solid var(--gold); }
.c1 { left: -4%; top: 14%; } .c2 { right: -3%; top: 46%; } .c3 { left: 8%; bottom: 8%; }
.hero { overflow-x: clip; }

/* Facts */
.facts-wrap { margin-top: -1.5rem; position: relative; z-index: 2; }
.facts { list-style: none; margin: 0; padding: 1.2rem; background: #fff; border-radius: 20px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.facts li { padding: .3rem 1rem; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; }
.facts strong { display: block; font: 700 1.35rem var(--head); color: var(--navy); }
.facts span { color: var(--muted); font-size: .95rem; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(3rem, 6vw, 5rem) 0; align-items: start; }
.about-text p { color: var(--muted); }
.about-cards { display: grid; gap: 1rem; }
.who { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; text-decoration: none; color: var(--navy); transition: transform .15s, box-shadow .15s, border-color .15s; }
.who:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--navy); }
.who h3 { margin-bottom: .3rem; }
.who p { color: var(--muted); margin-bottom: .6rem; }
.more-link { font: 600 .98rem var(--head); color: var(--navy-700); text-decoration: none; }
.more-link::after { content: " \2192"; color: var(--gold-600); }
.more-link:hover { color: var(--gold-600); }

/* Top courses */
.top-courses { background: var(--navy); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; }
.top-courses .more-link { color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.sec-head h2 { margin: 0; }

/* Course cards */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.course { display: flex; flex-direction: column; background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; transition: transform .15s, box-shadow .15s, border-color .15s; }
.course:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.course[hidden] { display: none; }
.course-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .9rem; }
.course-track { background: var(--gold-soft); color: #8a5a00; font: 600 .82rem var(--head); padding: .25rem .7rem; border-radius: 999px; }
.course-fee { font: 700 .98rem var(--head); color: var(--navy); white-space: nowrap; }
.course h3 { margin-bottom: .5rem; }
.course h3 a { color: var(--navy); text-decoration: none; }
.course h3 a:hover { color: var(--gold-600); }
.course-sum { color: var(--muted); font-size: .98rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.course-dur { font-weight: 600; font-size: .95rem; margin: .2rem 0 1rem; color: var(--navy-700); }
.course-dur::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-right: .5rem; }
.course-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.course-actions .btn { padding: .55rem 1.05rem; font-size: .92rem; }
.top-courses .course-grid { gap: 1.5rem; }

/* Why */
.why { padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.why-grid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.why-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.3rem 1.5rem; border-left: 5px solid var(--gold); }
.why-grid h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.why-grid p { margin: 0; color: var(--muted); }

/* Hire band */
.hire-band { background: linear-gradient(135deg, var(--navy) 0, var(--navy-700) 100%); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; margin-top: 3rem; }
.hire-band-in { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hire-band p { color: #c9d4f2; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.steps li { counter-increment: s; position: relative; padding-left: 3.4rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--gold); color: var(--navy); font: 700 1.05rem var(--head); border-radius: 50%; }
.steps strong { display: block; font-family: var(--head); }
.steps span { color: #c9d4f2; }

/* Contact strip */
.contact-strip { padding: 3rem 0 1rem; }
.contact-strip ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.contact-strip li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.contact-strip li span { display: block; color: var(--muted); font-size: .88rem; }

/* Page heroes */
.page-hero { background: #fff; border-bottom: 1px solid var(--line); padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 2rem; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .4rem; }
.page-hero p { color: var(--muted); max-width: 62ch; margin: 0; }
.crumb { font-size: .92rem; color: var(--muted); margin-bottom: .6rem !important; }
.crumb a { color: var(--navy-700); }
.page { padding: 1rem 0 4rem; }
.prose { max-width: 70ch; }

/* Courses page filters */
.courses-page { padding-bottom: 4rem; }
.filters { position: sticky; top: 72px; z-index: 10; background: var(--bg); padding: .8rem 0 .6rem; margin-bottom: 1rem; }
.search { position: relative; display: block; max-width: 560px; color: var(--muted); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); }
.search input { width: 100%; padding: .85rem 1rem .85rem 2.8rem; background: #fff; border: 2px solid var(--line); color: var(--navy); border-radius: 999px; font: inherit; }
.search input:focus { border-color: var(--gold); outline: 0; }
.chips { display: flex; gap: .5rem; margin: .8rem 0 .4rem; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
.chip-btn { flex: none; background: #fff; border: 1px solid var(--line); color: var(--navy); padding: .45rem 1rem; border-radius: 999px; font: 600 .92rem var(--head); cursor: pointer; transition: background .12s, border-color .12s; }
.chip-btn:hover { border-color: var(--gold); }
.chip-btn.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.count { color: var(--muted); font-size: .92rem; margin: 0; }
.none { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.none[hidden] { display: none; }

/* Course detail */
.course-hero { background: linear-gradient(135deg, var(--navy) 0, var(--navy-700) 100%); color: #fff; padding: clamp(2rem, 5vw, 3.5rem) 0 2.2rem; }
.course-hero .crumb, .course-hero .crumb a { color: #c9d4f2; }
.course-hero .lead { color: #d6def5; }
.quick { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; padding: 0; margin: 1.5rem 0 0; }
.quick li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: .7rem 1rem; font-weight: 600; }
.quick span { display: block; color: #aebbe0; font-size: .82rem; font-weight: 500; }
.course-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; padding: 2.5rem 0 3rem; }
.course-main h2 { margin-top: 2rem; font-size: 1.5rem; }
.course-main h2:first-child { margin-top: 0; }
.modules { counter-reset: m; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.modules li { counter-increment: m; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem .8rem 3.4rem; position: relative; }
.modules li::before { content: counter(m, decimal-leading-zero); position: absolute; left: .9rem; top: .8rem; font: 700 .95rem var(--head); color: var(--gold-600); }
.modules strong { display: block; font-weight: 600; line-height: 1.35; }
.modules span { display: block; color: var(--muted); font-size: .93rem; margin-top: .25rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.tags li { background: #fff; border: 1px solid var(--line); padding: .3rem .8rem; border-radius: 999px; font-size: .93rem; font-weight: 500; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
.ticks li { position: relative; padding-left: 1.8rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: .55rem; border-left: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(-45deg); }
.buy { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 1.5rem; display: grid; gap: .7rem; }
.buy-label { margin: 0; color: var(--muted); font-size: .9rem; }
.buy-price { margin: 0; font: 700 2rem var(--head); color: var(--navy); }
.buy-dur { margin: 0 0 .3rem; color: var(--muted); }
.side-link { text-align: center; font-weight: 600; padding-top: .3rem; }
.related { padding-bottom: 3rem; }
.mobile-bar { display: none; }

/* Forms */
.hire-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; padding-bottom: 4rem; align-items: start; }
.uf-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow); }
.uf-form h2 { font-size: 1.3rem; margin: 1.8rem 0 .6rem; }
.uf-form h2:first-of-type { margin-top: 0; }
.uf-form label { display: block; font-weight: 600; margin-bottom: 1rem; }
.uf-form input[type=text], .uf-form input[type=email], .uf-form input[type=tel], .uf-form input[type=number], .uf-form input[type=date], .uf-form select, .uf-form textarea { display: block; width: 100%; margin-top: .35rem; padding: .75rem .9rem; background: var(--bg); color: var(--navy); border: 2px solid var(--line); border-radius: 10px; font: inherit; }
.uf-form input:focus, .uf-form select:focus, .uf-form textarea:focus { border-color: var(--gold); outline: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.hint { color: var(--muted); margin-top: -.2rem; }
.pick { border: 1px solid var(--line); border-radius: 12px; padding: .5rem .9rem .8rem; margin: 0 0 .9rem; }
.pick legend { padding: 0 .4rem; color: var(--navy-700); font: 600 .95rem var(--head); }
.chip { display: inline-block; margin: .25rem .3rem .25rem 0 !important; font-weight: 500 !important; position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: .4rem .9rem; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .94rem; background: #fff; transition: all .12s; }
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1.5rem; border-left: 5px solid; background: #fff; box-shadow: var(--shadow); }
.notice.ok { border-color: var(--ok); } .notice.bad { border-color: var(--bad); } .notice.warn { border-color: var(--gold); }
.hire-side { background: #fff; border: 1px solid var(--line); padding: 1.3rem; border-radius: 18px; position: sticky; top: 92px; }
.hire-side h2 { font-size: 1.2rem; }
.eng-grid { display: grid; gap: 1rem; }
.eng { border-top: 1px solid var(--line); padding-top: 1rem; }
.eng h3 { margin-bottom: .2rem; }
.eng-role { color: var(--navy-700); font-weight: 600; margin: 0; }
.eng-meta { color: var(--muted); font-size: .92rem; }
.empty { color: var(--muted); }

/* Footer */
.site-foot { margin-top: 4rem; background: var(--navy-900); color: #c9d4f2; padding: 3rem 0 1rem; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 2rem; }
.foot-in ul { list-style: none; margin: 0; padding: 0; }
.foot-in li { margin-bottom: .45rem; }
.foot-in a { color: #fff; }
.foot-in a:hover { color: var(--gold); }
.foot-brand, .foot-h { font: 700 1.05rem var(--head); color: #fff; margin-bottom: .7rem; }
.copy { color: #8fa0cf; font-size: .9rem; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.wa:hover { color: #fff; transform: scale(1.06); }

/* Responsive */
@media (max-width: 980px) {
	.hero-in, .about, .hire-band-in, .course-layout, .hire-layout { grid-template-columns: 1fr; }
	.grid-3, .why-grid { grid-template-columns: 1fr 1fr; }
	.facts { grid-template-columns: 1fr 1fr; }
	.facts li:nth-child(2) { border-right: 0; }
	.buy, .hire-side { position: static; }
	.foot-in { grid-template-columns: 1fr; }
	.hero-art { max-width: 520px; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: .8rem 1.25rem 1.2rem; box-shadow: 0 16px 24px rgba(11, 31, 75, .1); }
	.primary-nav.is-open { display: flex; }
	.primary-nav ul { flex-direction: column; }
	.nav-cta { margin-top: .5rem; }
}
@media (max-width: 640px) {
	.grid-3, .why-grid, .modules, .ticks, .grid-2 { grid-template-columns: 1fr; }
	.facts { grid-template-columns: 1fr; }
	.facts li { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: .7rem; }
	.facts li:last-child { border-bottom: 0; }
	.chip-float { font-size: .8rem; }
	.c1 { left: 3%; } .c2 { right: 3%; }
	.mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; justify-content: space-between; align-items: center; gap: 1rem; background: #fff; border-top: 1px solid var(--line); padding: .7rem 1.1rem; box-shadow: 0 -8px 20px rgba(11, 31, 75, .1); font: 700 1.05rem var(--head); }
	.single-course .site-foot { padding-bottom: 5.5rem; }
	.single-course .wa { bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.pulse { animation: none; stroke-dasharray: none; }
	.btn, .course, .who { transition: none; }
	.btn:hover, .course:hover, .who:hover { transform: none; }
}
