/* SafeNet Sentinel — visual/interaction enhancements */

html { scroll-behavior: smooth; }

/* Scroll-reveal for every Elementor section/container (never the header/nav — it must
   always be immediately visible and interactive, and animating it risks trapping its
   dropdown behind page content via stacking-context side effects of `transform`) */
.elementor-section, .e-con {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s ease, transform .7s ease;
}
.elementor-section.sn-visible, .e-con.sn-visible {
	opacity: 1;
	transform: none;
	transition: opacity .7s ease;
}
.site-header .elementor-section,
.site-header .e-con,
.site-footer .elementor-section,
.site-footer .e-con {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
	.elementor-section, .e-con { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* Buttons: lift + glow on hover */
.elementor-button, a.elementor-button, button.elementor-button {
	transition: transform .25s ease, box-shadow .25s ease !important;
}
.elementor-button:hover, a.elementor-button:hover, button.elementor-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px -8px rgba(0, 200, 255, .55);
}

/* Cards/widgets: subtle hover lift */
.elementor-widget-image-box, .elementor-icon-box-wrapper, .elementor-widget-icon-list {
	transition: transform .3s ease, filter .3s ease;
}
.elementor-widget-image-box:hover, .elementor-icon-box-wrapper:hover {
	transform: translateY(-6px);
	filter: drop-shadow(0 12px 20px rgba(0,0,0,.18));
}

/* 3D tilt candidates (JS adds .sn-tilt to icon/image boxes) */
.sn-tilt { transform-style: preserve-3d; transition: transform .12s ease-out; will-change: transform; }

/* =====================================================================
   DYNAMIC HERO TAGLINE — "We protect your business with [rotating word]"
   Injected by JS immediately after the hero H1.
   ===================================================================== */
.sn-hero-tagline {
	font-family: "Urbanist", -apple-system, sans-serif;
	font-size: clamp(18px, 2.4vw, 30px);
	font-weight: 600;
	line-height: 1.35;
	margin: 18px 0 4px;
	color: #ffffff;
	letter-spacing: .01em;
	max-width: 40ch;
}
.sn-hero-tagline__prefix { opacity: .9; }
.sn-hero-tagline__rotator {
	display: inline;
	background: linear-gradient(90deg, #00DEFC, #1fd1a2);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 800;
}
.sn-hero-tagline__caret {
	display: inline-block;
	width: 3px;
	height: 1.05em;
	margin-left: 2px;
	transform: translateY(3px);
	background: #00DEFC;
	box-shadow: 0 0 8px #00DEFC;
	animation: sn-caret 1s steps(1) infinite;
}
@keyframes sn-caret { 0%,50%{opacity:1} 51%,100%{opacity:0} }

/* Animated gradient sheen sweeping across the hero H1 */
.elementor-element-2b1b687c .elementor-heading-title,
.sn-hero-h1 {
	background-image: linear-gradient(100deg, currentColor 40%, #00DEFC 50%, currentColor 60%);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: sn-sheen 6s linear infinite;
}
@keyframes sn-sheen { 0%{background-position:150% 0} 100%{background-position:-50% 0} }
@media (prefers-reduced-motion: reduce) {
	.sn-hero-tagline__caret, .elementor-element-2b1b687c .elementor-heading-title { animation: none; }
}

/* =====================================================================
   HOMEPAGE THREAT TICKER (marquee under the hero)
   ===================================================================== */
.sn-ticker {
	overflow: hidden;
	background: linear-gradient(90deg, #04121a, #06202b);
	border-top: 1px solid #12324a;
	border-bottom: 1px solid #12324a;
	padding: 9px 0;
	margin: 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	        mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.sn-ticker__track {
	display: inline-flex;
	white-space: nowrap;
	gap: 44px;
	will-change: transform;
	animation: sn-marquee 34s linear infinite;
}
.sn-ticker:hover .sn-ticker__track { animation-play-state: paused; }
.sn-ticker__item {
	font-family: "SFMono-Regular", Consolas, monospace;
	font-size: 13px;
	color: #7fd8b8;
	letter-spacing: .02em;
}
@keyframes sn-marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* =====================================================================
   SCROLL PROGRESS BAR
   ===================================================================== */
#sn-progress {
	position: fixed;
	top: 0; left: 0;
	height: 3px;
	width: 0;
	z-index: 100000;
	background: linear-gradient(90deg, #00DEFC, #1fd1a2 60%, #56f0a0);
	box-shadow: 0 0 10px rgba(0, 222, 252, .7);
	transition: width .08s linear;
	pointer-events: none;
}

/* =====================================================================
   DAY / NIGHT TOGGLE SWITCH
   ===================================================================== */
/* NB: the Elementor kit sets a global `.elementor-kit-63 button{background:var(--primary)}`
   (cyan) whose specificity beats a plain class selector — so these fixed-chrome buttons
   must force background/border/padding to avoid rendering as solid cyan blocks. */
.sn-theme-toggle {
	position: fixed;
	right: 18px;
	bottom: 78px;
	z-index: 99999;
	border: none !important;
	background: transparent !important;
	padding: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.sn-theme-toggle:hover { background: transparent !important; }
.sn-toggle-track {
	display: block;
	width: 58px;
	height: 30px;
	border-radius: 30px;
	background: #0a1620;
	border: 1px solid #1c3a4a;
	box-shadow: inset 0 0 8px rgba(0,0,0,.6), 0 4px 14px -4px rgba(0,222,252,.5);
	position: relative;
	transition: background .3s ease, border-color .3s ease;
}
.sn-toggle-thumb {
	position: absolute;
	top: 3px; left: 3px;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: linear-gradient(145deg, #00DEFC, #1fd1a2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #04141a;
	transition: transform .32s cubic-bezier(.5,1.6,.5,1), background .3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.sn-ico-sun { display: none; }
.sn-theme-toggle:hover .sn-toggle-track { border-color: #00DEFC; }
/* Day state */
html.sn-day .sn-toggle-track { background: #cfe8f2; border-color: #9fc8d8; }
html.sn-day .sn-toggle-thumb { transform: translateX(28px); background: linear-gradient(145deg, #ffd166, #ff9e42); color: #5a3a00; }
html.sn-day .sn-ico-moon { display: none; }
html.sn-day .sn-ico-sun  { display: block; }

/* =====================================================================
   BACK TO TOP BUTTON
   ===================================================================== */
.sn-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 99999;
	width: 44px !important; height: 44px !important;
	border-radius: 50% !important;
	border: 1px solid #1c3a4a !important;
	background: rgba(8, 18, 26, .9) !important;
	color: #00DEFC !important;
	padding: 0 !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: translateY(14px) scale(.85);
	pointer-events: none;
	transition: opacity .3s ease, transform .3s ease, box-shadow .25s ease, background .25s ease;
	backdrop-filter: blur(4px);
}
.sn-top.sn-show { opacity: 1; transform: none; pointer-events: auto; }
.sn-top:hover { box-shadow: 0 6px 20px -4px rgba(0,222,252,.6); background: rgba(12, 28, 40, .98) !important; }
html.sn-day .sn-top { background: rgba(255,255,255,.92) !important; border-color: #b8d4e0 !important; }

/* =====================================================================
   CURSOR SPOTLIGHT GLOW (desktop, pointer:fine only)
   ===================================================================== */
#sn-cursor-glow {
	position: fixed;
	top: 0; left: 0;
	width: 460px; height: 460px;
	margin: -230px 0 0 -230px;
	border-radius: 50%;
	pointer-events: none;
	z-index: 3;
	opacity: 0;
	background: radial-gradient(circle, rgba(0,222,252,.10), rgba(0,222,252,0) 62%);
	transition: opacity .4s ease;
	will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
	body.sn-glow-on #sn-cursor-glow { opacity: 1; }
}
html.sn-day #sn-cursor-glow { background: radial-gradient(circle, rgba(0,150,180,.12), rgba(0,150,180,0) 62%); }

/* Header: solidify + shrink slightly once the page is scrolled */
#site-header.sn-scrolled, .site-header.sn-scrolled {
	backdrop-filter: blur(8px);
	box-shadow: 0 6px 26px -10px rgba(0,0,0,.6);
	transition: box-shadow .3s ease, background-color .3s ease;
}

/* ---- SOC live-feed demo widget ---- */
.sn-soc {
	background: #05080d;
	border: 1px solid #12324a;
	border-radius: 10px;
	padding: 20px 22px;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 14px;
	color: #56f0a0;
	max-width: 780px;
	margin: 40px auto;
	box-shadow: 0 0 40px -12px rgba(0, 220, 160, .35);
	overflow: hidden;
}
.sn-soc__header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: #6b8a9c;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.sn-soc__dot { width: 9px; height: 9px; border-radius: 50%; background: #56f0a0; box-shadow: 0 0 8px #56f0a0; animation: sn-pulse 1.8s infinite; }
@keyframes sn-pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.sn-soc__lines { min-height: 168px; }
.sn-soc__line { white-space: nowrap; overflow: hidden; border-right: 2px solid transparent; opacity: 0; margin: 0 0 6px; }
.sn-soc__line.sn-typed { opacity: 1; }
.sn-soc__tag { color: #ff5470; }
.sn-soc__tag--ok { color: #56f0a0; }
.sn-soc__tag--info { color: #4fb8ff; }
.sn-soc__note { margin-top: 14px; font-family: -apple-system, sans-serif; font-size: 11px; color: #45606f; text-transform: none; letter-spacing: 0; }

/* ---- stat counters ---- */
.sn-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 24px;
	max-width: 980px;
	margin: 20px auto 50px;
	text-align: center;
}
.sn-stat__num {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	background: linear-gradient(90deg, #1fd1a2, #4fb8ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1.1;
}
.sn-stat__label {
	margin-top: 6px;
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #6b7c88;
}

/* ---- fix: oversized letter-spacing on big headings overflows narrow phones ---- */
@media (max-width: 480px) {
	.elementor-widget-heading .elementor-heading-title {
		letter-spacing: 0.04em !important;
		word-break: break-word;
	}
	.sn-theme-toggle { bottom: 70px; }
}

/* ---- attack map (canvas) demo, replaces unreliable third-party iframes ---- */
.sn-attackmap-wrap {
	position: relative;
	max-width: 980px;
	margin: 24px auto;
	border: 1px solid #12324a;
	border-radius: 10px;
	background: #04070a;
	box-shadow: 0 0 40px -12px rgba(0, 200, 255, .3);
	overflow: hidden;
}
.sn-attackmap {
	display: block;
	width: 100%;
	height: 360px;
}
.sn-attackmap-legend {
	position: absolute;
	left: 14px;
	bottom: 10px;
	font-size: 11px;
	color: #4a6472;
	font-family: -apple-system, sans-serif;
	background: rgba(4, 7, 10, .6);
	padding: 3px 8px;
	border-radius: 4px;
}

/* ---- website scan demo widget ---- */
.sn-scan {
	max-width: 620px;
	margin: 30px auto;
	background: #05080d;
	border: 1px solid #12324a;
	border-radius: 10px;
	padding: 28px 26px;
	text-align: center;
	box-shadow: 0 0 40px -14px rgba(0, 220, 160, .35);
	font-family: -apple-system, sans-serif;
}
.sn-scan__form {
	display: flex;
	gap: 10px;
	margin: 16px 0;
	flex-wrap: wrap;
	justify-content: center;
}
.sn-scan__input {
	flex: 1 1 260px;
	background: #0a1017;
	border: 1px solid #1c3a4a;
	color: #e8f6fb;
	border-radius: 6px;
	padding: 11px 14px;
	font-size: 14px;
	outline: none;
}
.sn-scan__input:focus { border-color: #1fd1a2; }
.sn-scan__btn {
	background: linear-gradient(90deg, #1fd1a2, #4fb8ff);
	border: none;
	color: #04141a;
	font-weight: 700;
	border-radius: 6px;
	padding: 11px 22px;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease;
}
.sn-scan__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(31,209,162,.5); }
.sn-scan__btn:disabled { opacity: .6; cursor: default; transform: none; }
.sn-scan__bar {
	height: 6px;
	border-radius: 3px;
	background: #10202a;
	overflow: hidden;
	margin: 18px 0 10px;
	display: none;
}
.sn-scan__bar.active { display: block; }
.sn-scan__bar-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #1fd1a2, #4fb8ff);
	transition: width .25s linear;
}
.sn-scan__log {
	text-align: left;
	font-family: "SFMono-Regular", Consolas, monospace;
	font-size: 12.5px;
	color: #7fd8b8;
	min-height: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height .3s ease;
}
.sn-scan__log.active { max-height: 220px; margin-top: 10px; }
.sn-scan__log p { margin: 3px 0; opacity: 0; animation: sn-fadein .4s forwards; }
@keyframes sn-fadein { to { opacity: 1; } }
.sn-scan__result {
	margin-top: 14px;
	font-size: 14px;
	color: #56f0a0;
	font-weight: 600;
	display: none;
}
.sn-scan__result.active { display: block; }
.sn-scan__note {
	margin-top: 12px;
	font-size: 11px;
	color: #45606f;
}

/* =====================================================================
   DAY MODE (light theme) — flips the Elementor global palette.
   The whole site is authored dark; day mode re-maps the kit's CSS
   custom properties to a light palette. Header, footer, and any element
   with a background image (heroes) are re-asserted to their dark values
   (JS tags image elements with .sn-bgimg) so their light-on-dark text
   stays legible.
   ===================================================================== */
html.sn-day body,
html.sn-day body.elementor-kit-63 {
	--e-global-color-secondary: #eef2f7;   /* page background      */
	--e-global-color-text:      #3a444e;   /* body text            */
	--e-global-color-accent:    #0d1b26;   /* was #fff — headings   */
	--e-global-color-primary:   #0a94b0;   /* darkened cyan         */
	--e-global-color-5302919:   #e2e9f1;   /* dark panel background */
	--e-global-color-c816f4e:   #dbe9ee;
	--e-global-color-095e4b3:   #ffffffcc;
	background-color: #eef2f7;
}
html.sn-day body,
html.sn-day .elementor-section,
html.sn-day .e-con,
html.sn-day .elementor-widget-container {
	transition: background-color .4s ease, color .4s ease;
}
/* Keep header, footer and image-backed sections on the dark palette. */
html.sn-day #site-header,
html.sn-day .site-header,
html.sn-day #site-footer,
html.sn-day .site-footer,
html.sn-day .sn-bgimg {
	--e-global-color-secondary: #000307;
	--e-global-color-text:      #B2B2B2;
	--e-global-color-accent:    #FFFFFF;
	--e-global-color-primary:   #00DEFC;
	--e-global-color-5302919:   #000813;
	--e-global-color-c816f4e:   #002A30D9;
	--e-global-color-095e4b3:   #000307C7;
}
/* A hair more contrast for links/borders in day mode */
html.sn-day .elementor-widget-icon-box .elementor-icon,
html.sn-day .elementor-widget-icon-list-icon i { color: #0a94b0; }

/* =====================================================================
   COSMOS — animated starfield / nebula behind the whole site
   Fixed canvas at z-index:-1 paints above the body background but below
   page content, so it shows through in the negative space / transparent
   sections and gives the site a living, deep-space base.
   ===================================================================== */
#sn-cosmos {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
	display: block;
	transition: opacity .5s ease;
}
html.sn-day #sn-cosmos { opacity: .18; }   /* stars barely whisper on the light theme */

/* Constellation particle layer painted over the hero image (added by JS) */
.sn-hero-fx {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}
/* keep hero text/content above the particle layer */
.elementor-element-6ecc7709 > .e-con-inner,
.elementor-element-6ecc7709 > .elementor-container { position: relative; z-index: 2; }

/* A slow-drifting aurora glow that tints the deep-space base (behind content) */
#sn-cosmos + #sn-progress { } /* no-op anchor */
.sn-aurora {
	position: fixed;
	z-index: -1;
	pointer-events: none;
	filter: blur(60px);
	opacity: .5;
	mix-blend-mode: screen;
	border-radius: 50%;
	animation: sn-drift 26s ease-in-out infinite alternate;
}
.sn-aurora--a { width: 46vw; height: 46vw; left: -8vw; top: 8vh; background: radial-gradient(circle, rgba(0,222,252,.5), transparent 68%); }
.sn-aurora--b { width: 40vw; height: 40vw; right: -6vw; top: 42vh; background: radial-gradient(circle, rgba(120,80,255,.45), transparent 68%); animation-duration: 34s; animation-direction: alternate-reverse; }
.sn-aurora--c { width: 34vw; height: 34vw; left: 30vw; bottom: -6vh; background: radial-gradient(circle, rgba(31,209,162,.4), transparent 68%); animation-duration: 30s; }
@keyframes sn-drift {
	0%   { transform: translate(0,0) scale(1); }
	50%  { transform: translate(4vw,-3vh) scale(1.12); }
	100% { transform: translate(-3vw,4vh) scale(.95); }
}
html.sn-day .sn-aurora { opacity: .22; }
@media (prefers-reduced-motion: reduce) { .sn-aurora { animation: none; } }

/* Give the on-page demo widgets a subtle cosmic glow-ring */
.sn-soc, .sn-scan, .sn-attackmap-wrap {
	position: relative;
}
.sn-soc::after, .sn-scan::after, .sn-attackmap-wrap::after {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(120deg, rgba(0,222,252,.6), rgba(120,80,255,.35), rgba(31,209,162,.5));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	        mask-composite: exclude;
	opacity: .55;
	pointer-events: none;
}

/* =====================================================================
   CONTACT FORM (Fluent Forms, styled to match the cyber/cosmos theme)
   ===================================================================== */
.sn-contact-section { padding: 20px 18px 60px; }
.sn-contact {
	max-width: 680px;
	margin: 0 auto;
	background: linear-gradient(160deg, rgba(6,16,24,.92), rgba(4,10,18,.92));
	border: 1px solid #12324a;
	border-radius: 16px;
	padding: 38px 34px;
	box-shadow: 0 0 60px -18px rgba(0,222,252,.5);
	backdrop-filter: blur(4px);
	position: relative;
	overflow: hidden;
}
.sn-contact__badge {
	display: inline-block;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #56f0a0;
	border: 1px solid #1c4a3a;
	border-radius: 30px;
	padding: 4px 12px;
	margin-bottom: 14px;
}
.sn-contact__title {
	margin: 0 0 8px;
	font-family: "Urbanist", sans-serif;
	font-size: clamp(24px, 3.4vw, 34px);
	font-weight: 800;
	color: #eaf6fb;
}
.sn-contact__sub { margin: 0 0 24px; color: #8fa6b3; font-size: 15px; }

/* Fluent Forms field theming */
.sn-contact .fluentform .ff-el-input--content input,
.sn-contact .fluentform .ff-el-input--content textarea,
.sn-contact .fluentform input[type="text"],
.sn-contact .fluentform input[type="email"],
.sn-contact .fluentform textarea {
	background: #0a1017 !important;
	border: 1px solid #1c3a4a !important;
	color: #e8f6fb !important;
	border-radius: 8px !important;
	padding: 12px 14px !important;
	box-shadow: none !important;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.sn-contact .fluentform input:focus,
.sn-contact .fluentform textarea:focus {
	border-color: #00DEFC !important;
	box-shadow: 0 0 0 3px rgba(0,222,252,.15) !important;
	outline: none !important;
}
.sn-contact .fluentform .ff-el-input--label label,
.sn-contact .fluentform label { color: #b9ccd6 !important; font-weight: 600; }
.sn-contact .fluentform input::placeholder,
.sn-contact .fluentform textarea::placeholder { color: #56707e !important; }
.sn-contact .fluentform .ff-btn-submit,
.sn-contact .fluentform button[type="submit"] {
	background: linear-gradient(90deg, #00DEFC, #1fd1a2) !important;
	color: #04141a !important;
	font-weight: 800 !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 13px 30px !important;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease !important;
}
.sn-contact .fluentform .ff-btn-submit:hover,
.sn-contact .fluentform button[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px -8px rgba(0,222,252,.6) !important;
}
.sn-contact .fluentform .ff-message-success {
	background: rgba(31,209,162,.1) !important;
	border: 1px solid #1c4a3a !important;
	color: #7fe9c0 !important;
	border-radius: 8px;
	padding: 14px 16px;
}
html.sn-day .sn-contact {
	background: linear-gradient(160deg, #ffffff, #f1f6fb);
	border-color: #cfe0ea;
	box-shadow: 0 20px 50px -24px rgba(10,60,90,.4);
}
html.sn-day .sn-contact__title { color: #12242f; }
html.sn-day .sn-contact .fluentform input,
html.sn-day .sn-contact .fluentform textarea {
	background: #f7fafc !important;
	border-color: #cbd9e2 !important;
	color: #1a2a35 !important;
}

/* =====================================================================
   TACTILE RIPPLE (touch + mouse feedback on buttons)
   ===================================================================== */
.sn-ripple {
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0) 70%);
	transform: scale(0);
	opacity: .7;
	pointer-events: none;
	animation: sn-ripple .6s ease-out forwards;
	z-index: 2;
}
@keyframes sn-ripple { to { transform: scale(2.4); opacity: 0; } }
.sn-top .sn-ripple { background: radial-gradient(circle, rgba(0,222,252,.5), rgba(0,222,252,0) 70%); }

/* =====================================================================
   CONTACTS PAGE (408) — extra animation: glowing scanning map + live cards
   ===================================================================== */
.page-id-408 .elementor-widget-google_maps {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #12324a;
	box-shadow: 0 0 46px -14px rgba(0,222,252,.55);
	animation: sn-mapglow 4.5s ease-in-out infinite;
}
@keyframes sn-mapglow {
	0%,100% { box-shadow: 0 0 46px -16px rgba(0,222,252,.5); border-color: #12324a; }
	50%     { box-shadow: 0 0 64px -8px rgba(31,209,162,.6); border-color: #1c5a4a; }
}
.page-id-408 .elementor-widget-google_maps iframe { filter: saturate(1.06) contrast(1.03); display:block; }
/* a cyan "radar" line sweeping down the map */
.page-id-408 .elementor-widget-google_maps::after {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, #00DEFC 45%, #1fd1a2 55%, transparent);
	box-shadow: 0 0 12px rgba(0,222,252,.8);
	animation: sn-mapscan 3.4s linear infinite;
	pointer-events: none;
	z-index: 2;
}
@keyframes sn-mapscan { 0%{top:-2px;opacity:0} 8%{opacity:1} 92%{opacity:1} 100%{top:100%;opacity:0} }

/* office info blocks: lift + cyan edge glow on hover/tap */
.page-id-408 .elementor-widget-icon-list {
	transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
	border-radius: 12px;
	padding: 6px 10px;
}
.page-id-408 .elementor-widget-icon-list:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 30px -14px rgba(0,222,252,.55);
	background-color: rgba(0,222,252,.04);
}
/* pulsing location/contact icons */
.page-id-408 .elementor-icon-list-icon i,
.page-id-408 .elementor-icon-list-icon svg {
	transition: transform .3s ease;
	animation: sn-iconpulse 2.6s ease-in-out infinite;
	transform-origin: center;
}
@keyframes sn-iconpulse { 0%,100%{filter:drop-shadow(0 0 0 rgba(0,222,252,0))} 50%{filter:drop-shadow(0 0 6px rgba(0,222,252,.7))} }
.page-id-408 .elementor-widget-icon-list:hover .elementor-icon-list-icon i,
.page-id-408 .elementor-widget-icon-list:hover .elementor-icon-list-icon svg { transform: scale(1.15); }

/* city headings get an animated underline accent */
.page-id-408 .elementor-widget-heading .elementor-heading-title { position: relative; }

/* =====================================================================
   BACK BUTTON (inner pages) — pairs with the back-to-top button
   ===================================================================== */
.sn-back {
	position: fixed;
	left: 18px;
	bottom: 18px;
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px 9px 11px !important;
	border-radius: 30px !important;
	border: 1px solid #1c3a4a !important;
	background: rgba(8, 18, 26, .9) !important;
	color: #00DEFC !important;
	font-family: "Urbanist", -apple-system, sans-serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(4px);
	box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .5) !important;
	transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
}
.sn-back svg { flex: 0 0 auto; }
.sn-back:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px -8px rgba(0, 222, 252, .55) !important;
	background: rgba(12, 28, 40, .98) !important;
}
html.sn-day .sn-back { background: rgba(255, 255, 255, .92) !important; border-color: #b8d4e0 !important; color: #0a94b0 !important; }
@media (max-width: 480px) { .sn-back { padding: 8px 14px 8px 10px !important; font-size: 13px; } }

/* =====================================================================
   CONTENT IMAGES — consistent sizing + framing (service/inner page bodies)
   The stock content images are small (e.g. 225×300) and sit unframed in a
   wide column; give them a consistent max size, centering, rounded frame,
   glow and a subtle hover zoom. Fully responsive (full width on phones).
   ===================================================================== */
.elementor-widget-text-editor img,
.elementor-text-editor img {
	display: block;
	margin: 26px auto;
	width: min(100%, 420px);
	height: auto;
	border-radius: 14px;
	border: 1px solid rgba(0, 222, 252, .28);
	box-shadow: 0 18px 44px -20px rgba(0, 0, 0, .65), 0 0 34px -16px rgba(0, 222, 252, .45);
	transition: transform .35s ease, box-shadow .35s ease;
}
.elementor-widget-text-editor img:hover {
	transform: scale(1.03);
	box-shadow: 0 22px 50px -18px rgba(0, 0, 0, .7), 0 0 44px -14px rgba(0, 222, 252, .6);
}
/* keep tiny inline icons/emoji-sized images unaffected */
.elementor-widget-text-editor img[width][height]:not([width="0"]) { max-width: min(100%, 420px); }
html.sn-day .elementor-widget-text-editor img { border-color: rgba(10, 148, 176, .3); box-shadow: 0 16px 40px -22px rgba(10, 60, 90, .5); }

/* =====================================================================
   CERTIFICATIONS SHOWCASE (page) — searchable, animated badge grid
   Mobile-first: grid auto-fills to 1 column on narrow screens.
   ===================================================================== */
.sn-certs-section { max-width: 1120px; margin: 0 auto; padding: 34px 16px 72px; }
.sn-certs-head { text-align: center; margin-bottom: 30px; }
.sn-certs-badge {
	display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
	color: #56f0a0; border: 1px solid #1c4a3a; border-radius: 30px; padding: 5px 14px; margin-bottom: 14px;
}
.sn-certs-title {
	margin: 0 0 10px; font-family: "Urbanist", sans-serif; font-weight: 800;
	font-size: clamp(24px, 4.5vw, 42px); color: #eaf6fb;
	overflow-wrap: break-word; hyphens: auto;
}
@media (max-width: 480px) { .sn-certs-title { font-size: clamp(21px, 6.5vw, 30px); letter-spacing: 0; } }
.sn-certs-sub { margin: 0 auto 22px; max-width: 640px; color: #8fa6b3; font-size: clamp(14px, 2.4vw, 16px); }
.sn-cert-count { color: #00DEFC; font-weight: 800; font-size: 1.25em; }
.sn-cert-search {
	width: min(100%, 440px); background: #0a1017; border: 1px solid #1c3a4a; color: #e8f6fb;
	border-radius: 30px; padding: 12px 18px; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.sn-cert-search:focus { border-color: #00DEFC; box-shadow: 0 0 0 3px rgba(0,222,252,.15); }
.sn-cert-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px;
}
.sn-cert-card {
	display: flex; align-items: center; gap: 12px; padding: 14px 16px;
	background: linear-gradient(150deg, rgba(7,17,26,.92), rgba(4,11,19,.92));
	border: 1px solid #12324a; border-radius: 12px;
	opacity: 0; transform: translateY(16px); will-change: transform, opacity;
	transition: opacity .5s ease, transform .5s ease, border-color .25s ease, box-shadow .25s ease;
}
.sn-cert-card.sn-in { opacity: 1; transform: none; }
.sn-cert-card:hover { transform: translateY(-4px) !important; border-color: #00DEFC; box-shadow: 0 14px 32px -14px rgba(0,222,252,.5); }
.sn-cert-ico { font-size: 26px; line-height: 1; flex: 0 0 auto; filter: drop-shadow(0 0 6px rgba(0,222,252,.35)); }
.sn-cert-name { flex: 1; font-family: "Urbanist", -apple-system, sans-serif; font-size: 14px; font-weight: 600; color: #dfeef5; line-height: 1.3; }
.sn-cert-check { flex: 0 0 auto; color: #1fd1a2; font-weight: 800; opacity: .8; }
.sn-cert-card[hidden] { display: none; }
.sn-cert-empty { text-align: center; color: #8fa6b3; margin-top: 24px; }
html.sn-day .sn-certs-title { color: #12242f; }
html.sn-day .sn-cert-card { background: linear-gradient(150deg,#ffffff,#f1f6fb); border-color: #cfe0ea; }
html.sn-day .sn-cert-name { color: #23323d; }
html.sn-day .sn-cert-search { background:#f7fafc; border-color:#cbd9e2; color:#1a2a35; }
@media (max-width: 520px) { .sn-cert-grid { grid-template-columns: 1fr; } }
