/* Only what Elementor's free controls cannot express. Everything else lives in the Elementor panel. */

/* Text widgets: spacing comes from each widget's margin, not from theme paragraph margins. */
.nhh-t p { margin: 0; }

/* Flex children that may shrink below their content width. */
.nhh-col { min-width: 0; }

/* Width caps used by intro paragraphs. */
.elementor.elementor .elementor-element.elementor-element.nhh-mw560 { max-width: 560px; }
.elementor.elementor .elementor-element.elementor-element.nhh-mw620 { max-width: 620px; }
.elementor.elementor .elementor-element.elementor-element.nhh-mw640 { max-width: 640px; }
.elementor.elementor .elementor-element.elementor-element.nhh-mw400 { max-width: 400px; }

/* Pill label with an inline Arabic tagline. */
.nhh-pill .elementor-heading-title { display: flex; align-items: center; gap: 10px; }

/* Decorative star pattern behind a card. */
.elementor.elementor .e-con > .elementor-element.nhh-pattern { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nhh-pattern svg { display: block; }

/* Keep raised content above the pattern layer. */
.nhh-raise { position: relative; }

/* Inline SVG wrappers: no extra line box under the icon. */
.nhh-svg svg { display: block; }

/* Buttons: text sits on the same 1.6 line box as the mockup's links. */
.nhh-btn .elementor-button { display: inline-flex; align-items: center; }
.nhh-btn .elementor-button-content-wrapper { align-items: center; }
.nhh-btn .elementor-button-icon svg { width: 18px; height: 18px; }

/* Buttons sharing a row stretch to the tallest one, as links do in the mockup's flex rows. */
.e-con > .nhh-btn .elementor-button { height: 100%; }

/* Links inside body copy keep the browser underline, as in the mockup. */
.elementor .nhh-t a { text-decoration: underline; }

/* ---------- Creators-site look (2026-10-30): mono labels, pill buttons, card glow ---------- */
.elementor .nhh-mono .elementor-heading-title,
.nhh-mono { font-family: 'Geist Mono', ui-monospace, monospace; }

/* Pill buttons: a purple fill sweeps in from the left on hover. */
.elementor .nhh-pill .elementor-button { position: relative; overflow: hidden; isolation: isolate; transition: color 0.3s ease, box-shadow 0.3s ease; }
.elementor .nhh-pill .elementor-button::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: #7B68EE;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s cubic-bezier(.2, .7, .1, 1);
}
.elementor .nhh-pill .elementor-button:hover::before,
.elementor .nhh-pill .elementor-button:focus-visible::before { transform: scaleX(1); }
.elementor .nhh-pill .elementor-button:focus-visible { outline: 2px solid #7B68EE; outline-offset: 3px; }

/* Header nav links turn purple on hover. */
.elementor .nhh-nav .nhh-btn:not(.nhh-pill) .elementor-button { transition: color 0.2s ease; }
.elementor .nhh-nav .nhh-btn:not(.nhh-pill) .elementor-button:hover { color: #7B68EE; }

/* Cards lift slightly and a soft purple light follows the pointer (position set by menu.js). */
.elementor .elementor-element.elementor-element:is(.nhh-card, .nhh-support-card, .nhh-enter-step, .nhh-prize:not(.nhh-prize--main), .nhh-fact) {
	transition: transform 0.35s cubic-bezier(.2, .7, .1, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.elementor .elementor-element.elementor-element:is(.nhh-card, .nhh-support-card, .nhh-enter-step, .nhh-prize:not(.nhh-prize--main), .nhh-fact):hover {
	transform: translateY(-3px);
	border-color: #D9D3FB;
	box-shadow: 0 22px 44px -28px rgba(11, 11, 12, 0.28);
	background-image: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(123, 104, 238, 0.08), transparent 60%);
}

/* ---------- Language menu (header) ---------- */
.nhh-lang { position: relative; }
.elementor .nhh-lang .nhh-lang-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #ECECEE;
	border-radius: 999px;
	background: #FFFFFF;
	color: #3F3F46;
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	cursor: pointer;
}
.elementor .nhh-lang .nhh-lang-btn:hover,
.elementor .nhh-lang .nhh-lang-btn:focus { background: #FFFFFF; color: #0B0B0C; border-color: #E4E4E7; }
.nhh-lang-btn:focus-visible { outline: 2px solid #7B68EE; outline-offset: 2px; }
.nhh-lang-btn svg { display: block; flex: none; }
.nhh-lang-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 70;
	min-width: 264px;
	margin: 0;
	padding: 6px;
	list-style: none;
	border: 1px solid #ECECEE;
	border-radius: 16px;
	background: #FFFFFF;
	box-shadow: 0 24px 40px -20px rgba(11, 11, 12, 0.3);
}
.nhh-lang.is-open .nhh-lang-menu { display: block; }
.nhh-lang-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 15px;
	color: #0B0B0C;
}
.nhh-lang-item.is-current { background: rgba(123, 104, 238, 0.1); color: #5B49D6; font-weight: 500; }
.nhh-lang-item.is-current svg { display: block; flex: none; }
.nhh-lang-item > span { white-space: nowrap; }
.nhh-lang-item.is-soon { color: #6E6E76; }
.nhh-lang-item small { font-size: 12px; color: #A1A1A8; white-space: nowrap; }

/* ---------- Competition ---------- */
.nhh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.nhh-chip {
	padding: 7px 14px;
	border-radius: 999px;
	background: #F4F4F5;
	color: #0B0B0C;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}
.nhh-prize-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 22px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.nhh-prize-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; color: #FFFFFF; }
.nhh-prize-list svg { display: block; flex: none; margin-top: 2px; color: #B9AEFF; }
/* Icon tile (creators site): soft grey square, turns ink when its card is hovered. */
.nhh-ic { width: 44px; height: 44px; border-radius: 12px; background: #F1F1F3; color: #0B0B0C; display: grid; place-items: center; flex: none; transition: background 0.3s ease, color 0.3s ease; }
.nhh-ic svg { display: block; width: 22px; height: 22px; stroke-width: 1.75; }
.nhh-fact .nhh-ic { background: #FFFFFF; }
:is(.nhh-card, .nhh-prize, .nhh-fact):hover .nhh-ic { background: #0B0B0C; color: #FFFFFF; }
.nhh-tile > div { display: flex; align-items: center; justify-content: space-between; }
.nhh-badge { padding: 4px 10px; border-radius: 999px; background: #FFC800; color: #0B0B0C; font-size: 12px; font-weight: 700; line-height: 1.4; }
.nhh-step-dot { width: 32px; height: 32px; border-radius: 999px; background: #0B0B0C; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.nhh-enter-step .nhh-t { padding-top: 4px; }

/* ---------- Hero competition card ---------- */
.nhh-hc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.nhh-hc-live { display: inline-flex; align-items: center; gap: 8px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #6E6E76; }
.nhh-hc-live i { position: relative; width: 8px; height: 8px; border-radius: 999px; background: #22A55B; }
.nhh-hc-live i::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; background: rgba(34, 165, 91, 0.3); animation: nhh-pulse 2s ease-out infinite; }
@keyframes nhh-pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.nhh-hc-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.nhh-hc-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.nhh-hc-list li + li { border-top: 1px solid #F4F4F5; }
.nhh-hc-list .nhh-ic { width: 40px; height: 40px; border-radius: 11px; }
.nhh-hc-list .nhh-ic svg { width: 20px; height: 20px; }
.nhh-hc-list strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: #0B0B0C; }
.nhh-hc-list small { display: block; font-size: 13px; line-height: 1.4; color: #6E6E76; }
.nhh-hc-list li:hover .nhh-ic { background: #0B0B0C; color: #FFFFFF; }
.elementor .nhh-btn-full,
.elementor .nhh-btn-full .elementor-button { width: 100%; justify-content: center; }
.elementor .nhh-check-card .elementor-heading-title a { text-decoration: none; }
.elementor .nhh-check-card .elementor-heading-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .nhh-hc-live i::after { animation: none; } }

/* ---------- FAQ accordion ---------- */
.nhh-faq { display: flex; flex-direction: column; gap: 10px; }
.nhh-faq-item { border: 1px solid #ECECEE; border-radius: 16px; background: #FFFFFF; transition: border-color 0.2s ease; }
.nhh-faq-item[open] { border-color: #7B68EE; box-shadow: 0 16px 32px -24px rgba(11, 11, 12, 0.35); }
.nhh-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: #0B0B0C;
	cursor: pointer;
	list-style: none;
}
.nhh-faq-item summary::-webkit-details-marker { display: none; }
.nhh-faq-item summary:focus-visible { outline: 2px solid #7B68EE; outline-offset: 2px; border-radius: 16px; }
.nhh-faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 999px; background: rgba(123, 104, 238, 0.1); }
.nhh-faq-icon::before,
.nhh-faq-icon::after { content: ""; position: absolute; top: 13px; left: 8px; width: 12px; height: 2px; border-radius: 2px; background: #7B68EE; transition: transform 0.2s ease; }
.nhh-faq-icon::after { transform: rotate(90deg); }
.nhh-faq-item[open] .nhh-faq-icon::after { transform: rotate(0deg); }
.nhh-faq-body { padding: 0 20px 20px; font-size: 16px; line-height: 1.65; color: #3F3F46; }
.nhh-faq-body p { margin: 0; }
.nhh-faq-body p + p { margin-top: 12px; }
.nhh-faq-body strong { color: #0B0B0C; font-weight: 600; }
.nhh-faq-body ol { margin: 0; padding-inline-start: 22px; }
.nhh-faq-body li + li { margin-top: 4px; }
.nhh-faq-body a { color: #5B49D6; font-weight: 500; text-decoration: underline; }
@media (min-width: 1025px) {
	.elementor.elementor .elementor-element.elementor-element.nhh-faq-intro { position: sticky; top: 24px; }
}

/* ---------- Footer ---------- */
.elementor.elementor .nhh-footer > .e-con-inner > .elementor-element.nhh-pattern { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.elementor.elementor .nhh-footer { position: relative; }
.elementor .nhh-foot-link .elementor-heading-title a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
.elementor .nhh-foot-link .elementor-heading-title a:hover,
.elementor .nhh-foot-link .elementor-heading-title a:focus-visible { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
	.elementor .nhh-pill .elementor-button::before { transition: none; }
	.elementor .elementor-element.elementor-element:is(.nhh-card, .nhh-support-card, .nhh-enter-step, .nhh-prize, .nhh-fact):hover { transform: none; }
	.nhh-faq-item, .nhh-faq-icon::before, .nhh-faq-icon::after { transition: none; }
}

/* ---------- Noble Student logo ---------- */
.elementor .elementor-widget .nhh-logo-img { display: block; height: 58px; width: auto; max-width: none; }
.nhh-foot-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #FFFFFF; }
.elementor .nhh-foot-mark img { display: block; height: 36px; width: auto; max-width: none; }

/* Language menu links (other languages) */
.elementor .nhh-lang a.nhh-lang-item { text-decoration: none; color: #0B0B0C; transition: background 0.15s ease; }
.elementor .nhh-lang a.nhh-lang-item:hover,
.elementor .nhh-lang a.nhh-lang-item:focus-visible { background: #F4F4F5; color: #0B0B0C; }
.nhh-lang-item [dir="rtl"], .nhh-lang-item[dir="rtl"] { font-family: 'Noto Nastaliq Urdu', 'Plus Jakarta Sans', serif; }

/* ---------- Community socials (Facebook + Linktree) ---------- */
.elementor .elementor-element.elementor-element.nhh-social { position: relative; text-decoration: none; transition: transform 0.35s cubic-bezier(.2, .7, .1, 1), border-color 0.35s ease, box-shadow 0.35s ease; }
.elementor .elementor-element.elementor-element.nhh-social::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s ease; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 0%), rgba(123, 104, 238, 0.22), transparent 60%); }
.elementor .elementor-element.elementor-element.nhh-social--featured::after { opacity: 0.55; }
.elementor .elementor-element.elementor-element.nhh-social:hover { transform: translateY(-4px); border-color: rgba(185, 174, 255, 0.45); box-shadow: 0 30px 60px -30px rgba(123, 104, 238, 0.55); }
.elementor .elementor-element.elementor-element.nhh-social:hover::after { opacity: 1; }
.elementor .elementor-element.elementor-element.nhh-social:focus-visible { outline: 2px solid #B9AEFF; outline-offset: 3px; }
.nhh-social-top { display: flex; align-items: center; gap: 12px; }
.nhh-social-mark { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #FFFFFF; flex: none; }
.nhh-social:not(.nhh-social--featured) .nhh-social-mark { background: #43E660; }
.nhh-social-mark svg { display: block; }
.nhh-social-label { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #A1A1AA; }
.nhh-social-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.nhh-social-chips span { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); color: #E4E4E7; font-size: 13px; font-weight: 600; line-height: 1.4; }
.nhh-social-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.nhh-social-handle { font-size: 14px; color: #A1A1AA; overflow-wrap: anywhere; }
.nhh-social-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #FFFFFF; color: #0B0B0C; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; transition: background 0.3s ease, color 0.3s ease; }
.nhh-social-cta svg { display: block; transition: transform 0.3s ease; }
.nhh-social:hover .nhh-social-cta { background: #7B68EE; color: #FFFFFF; }
.nhh-social:hover .nhh-social-cta svg { transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) {
	.elementor .elementor-element.elementor-element.nhh-social, .nhh-social-cta, .nhh-social-cta svg { transition: none; }
	.elementor .elementor-element.elementor-element.nhh-social:hover { transform: none; }
}

/* Hero chat card: fixed height so the page never jumps while the chat loads. */
.elementor .elementor-element.elementor-element.nhh-hero-chat-card { max-width: 470px; height: 540px; border: 1px solid #ECECEE; border-radius: 26px; box-shadow: 0 50px 90px -50px rgba(91, 73, 214, 0.55), 0 18px 40px -28px rgba(11, 11, 12, 0.25); }
/* Soft lavender and pink light behind the chat card */
.elementor .elementor-element.elementor-element.nhh-hero-card--chat { position: relative; overflow: visible; }
.elementor .elementor-element.elementor-element.nhh-hero-card--chat::before { content: ""; position: absolute; inset: -40px -20px; z-index: 0; pointer-events: none; background: radial-gradient(45% 50% at 35% 40%, rgba(123, 104, 238, 0.22), transparent 70%), radial-gradient(40% 45% at 70% 70%, rgba(253, 113, 175, 0.16), transparent 70%); filter: blur(10px); }
.elementor .nhh-hero-chat-card .elementor-widget-html,
.elementor .nhh-hero-chat-card .elementor-widget-container,
.nhh-hero-chat { height: 100%; }


/* ---------- Centered chat hero ---------- */
.elementor .elementor-element.elementor-element.nhh-hero-chat-section { position: relative; }
.elementor .nhh-hero-chat-section > .e-con-inner > .elementor-element.nhh-hero-glow-wrap { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nhh-hero-glow { position: absolute; inset: 0; background: radial-gradient(40% 55% at 30% 62%, rgba(123, 104, 238, 0.16), transparent 70%), radial-gradient(38% 50% at 72% 58%, rgba(253, 113, 175, 0.12), transparent 70%); }
.elementor .elementor-element.elementor-element.nhh-hero-chat-section .nhh-mw560 { margin-inline: auto; }
.elementor.elementor .elementor-element.elementor-element.nhh-hero-chat-wrap { width: 100%; max-width: 760px; margin: 36px auto 0; }
.elementor .elementor-element.nhh-hero-links-wrap { margin-top: 26px; }
.nhh-hero-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; font-size: 15px; color: #A1A1A8; }
.elementor .nhh-hero-links a { color: #3F3F46; font-weight: 600; text-decoration: none; }
.elementor .nhh-hero-links a:hover { color: #5B49D6; text-decoration: underline; text-underline-offset: 4px; }
