/* =========================
   Nordic Theme
   ========================= */
:root{
	--bg:#0b1220;            /* Midnight navy */
	--fg:#e2e8f0;            /* Soft cloud */
	--muted:#94a3b8;         /* Cool slate */
	--ink-600:#1f2937;
	--surface:#17213a;       /* Card background */
	--surface-soft:#10192d;  /* Section background */
	--section-alt:#121c30;   /* Alternating background */
	--border:rgba(148,163,184,0.18);
	--brand-300:#5eead4;     /* Teal mint */
	--brand-400:#22d3ee;     /* Aqua */
	--brand-500:#0ea5e9;     /* Electric blue */
	--brand-600:#0284c7;     /* Deep blue */
	--accent-amber:#fbbf24;  /* Warm accent */
	--shadow:0 22px 45px rgba(2,8,23,0.45);
	--shadow-subtle:0 12px 24px rgba(2,8,23,0.35);
}

*{box-sizing:border-box}
html,body{
	height:100%;
	margin:0;
}
body{
	font-family:Inter,ui-sans-serif,system-ui,Segoe UI,Helvetica,Arial,sans-serif;
	background:
		radial-gradient(1200px 800px at 80% -120px, rgba(34,211,238,0.25), transparent 60%),
		radial-gradient(1000px 700px at -10% 10%, rgba(94,234,212,0.18), transparent 55%),
		linear-gradient(180deg, #0b1220 0%, #111a2e 55%, #0d1526 100%);
	color:var(--fg);
	line-height:1.7;
	padding-top:64px;  /* same as header height */
}
.site-header.scrolled{
	height:54px; /* slightly smaller */
	background: rgba(12,19,33,0.95);
	box-shadow:0 4px 12px rgba(15,23,42,0.45);
}
.container{
	width:100%;
	max-width:1120px;
	padding:0 1rem;
	margin:0 auto;
}

/* =========================
   Header
   ========================= */
   .site-header{
	position:fixed;          /* changed from sticky */
	top:0;
	left:0;
	width:100%;
	z-index:1000;            /* make sure header is above all content */
	backdrop-filter:blur(14px);
	background:rgba(12,19,33,0.82);
	border-bottom:1px solid rgba(148,163,184,0.1);
	box-shadow:0 1px 0 rgba(15,23,42,0.35);
	transition:all 0.3s ease;
}
.header-inner{
	display:flex;
	align-items:center;
	justify-content:space-between;
	height:64px;
	padding:0 1rem; /* optional, keeps spacing consistent */
}
.brand{
	display:flex;
	align-items:center;
	gap:10px;
	text-decoration:none;
	color:inherit;
}
.brand-name{
	font-weight:700;
	font-size:24px;
	letter-spacing:-0.5px;
	background:linear-gradient(135deg, #06B6D4 0%, #0EA5E9 40%, #3B82F6 80%, #6366F1 100%);
	-webkit-background-clip:text;
	-webkit-text-fill-color:transparent;
	background-clip:text;
	text-decoration:none;
	display:inline-block;
	filter:drop-shadow(0 2px 8px rgba(6,182,212,0.25));
	transition:filter 0.2s;
}
.brand:hover .brand-name{
	filter:drop-shadow(0 2px 12px rgba(6,182,212,0.4));
}
.brand-inline .brand-name{
	font-size:22px;
	margin:0;
}
.site-nav{
	display:flex;
	align-items:center;
	gap:24px;
}
.site-nav a{
	color:var(--fg);
	text-decoration:none;
	font-size:14px;
	opacity:0.8;
	transition:opacity 0.2s;
}
.site-nav a:hover{opacity:1}
.nav-toggle{
	display:none;
	width:40px;height:40px;
	background:transparent;border:0;padding:0;margin:0;
	cursor:pointer;
}
.site-nav a.active {
	color: var(--brand-500);
	font-weight: 600;
  }
.nav-toggle span{
	display:block;height:2px;width:22px;background:var(--fg);margin:5px auto;border-radius:2px;
	opacity:0.7;
}
@media (max-width: 860px){
	.site-nav{display:none}
	.nav-toggle{display:inline-block}
	.site-nav.open{
		position:absolute;left:0;right:0;top:64px;
		display:flex;flex-direction:column;gap:12px;
		padding:20px;background:rgba(11,18,32,0.95);border-bottom:1px solid rgba(148,163,184,0.18);
		box-shadow:0 18px 40px rgba(2,8,23,0.55);
	}
	.site-nav.open a{color:var(--fg)}
	.site-nav.open .btn{width:100%;text-align:center}
}

/* =========================
   Header
   ========================= */
   .site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	backdrop-filter: blur(14px);
	background: rgba(12,19,33,0.82);
	border-bottom: 1px solid rgba(148,163,184,0.1);
	box-shadow: 0 1px 0 rgba(15,23,42,0.35);
	transition: all 0.3s ease;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	padding: 0 1rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.brand-name {
	font-weight: 700;
	font-size: 24px;
	letter-spacing: -0.5px;
	background: linear-gradient(135deg, #06B6D4 0%, #0EA5E9 40%, #3B82F6 80%, #6366F1 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline-block;
	filter: drop-shadow(0 2px 8px rgba(6,182,212,0.25));
	transition: all 0.3s ease;
}

.site-header.scrolled {
	height: 54px;
	background: rgba(12,19,33,0.95);
	box-shadow: 0 4px 12px rgba(15,23,42,0.45);
}

.site-header.scrolled .brand-name {
	font-size: 20px;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-nav a {
	color: var(--fg);
	text-decoration: none;
	font-size: 14px;
	opacity: 0.8;
	transition: opacity 0.2s, color 0.3s;
}

.site-nav a:hover,
.site-nav a.active {
	opacity: 1;
	color: var(--brand-500);
	font-weight: 600;
}

.nav-toggle {
	display: none;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	height: 2px;
	width: 22px;
	background: var(--fg);
	margin: 5px auto;
	border-radius: 2px;
	opacity: 0.7;
}

@media (max-width: 860px) {
	.site-nav {
		display: none;
	}
	.nav-toggle {
		display: inline-block;
	}
	.site-nav.open {
		position: absolute;
		left: 0;
		right: 0;
		top: 64px;
		display: flex;
		flex-direction: column;
		gap: 12px;
		padding: 20px;
		background: rgba(11,18,32,0.95);
		border-bottom: 1px solid rgba(148,163,184,0.18);
		box-shadow: 0 18px 40px rgba(2,8,23,0.55);
	}
	.site-nav.open a {
		color: var(--fg);
	}
	.site-nav.open .btn {
		width: 100%;
		text-align: center;
	}
}

/* =========================
   Hero
   ========================= */
.hero {
	position: relative;
	padding: 110px 0 80px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(14,165,233,0.28), rgba(2,132,199,0.12));
	margin: 0 1.5rem;
	border-radius: 36px;
	box-shadow: var(--shadow-subtle);
	border: 1px solid rgba(34,211,238,0.18);
}

.hero-inner {
	text-align: center;
	max-width: 960px;
	margin: 0 auto;
}

.eyebrow {
	color: var(--brand-500);
	font-weight: 600;
	letter-spacing: .08em;
	font-size: 13px;
	text-transform: uppercase;
	margin: 0;
}

.hero h1 {
	margin: 10px 0 0;
	font-size: 36px;
	line-height: 1.2;
	color: var(--fg);
	font-weight: 700;
	transition: font-size 0.3s ease;
}

@media (min-width: 900px) {
	.hero h1 {
		font-size: 48px;
	}
}

.lede {
	color: var(--muted);
	font-size: 18px;
	max-width: 720px;
	margin: 16px auto 0;
	line-height: 1.6;
}

.hero-cta {
	margin-top: 28px;
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* =========================
   Sections / Cards
   ========================= */

   /* Apply a continuous gradient to the main container */
.main-gradient {
	background: linear-gradient(
	  180deg,
	  #0b1220 0%,   /* top of the gradient */
	  #111a2e 50%,  /* middle */
	  #0d1526 100%  /* bottom */
	);
	padding: 0; /* optional: remove any default spacing */
  }
  
  /* Optional: keep text readable with subtle overlay inside sections */
  .section .container {
	background: rgba(13, 22, 39, 0.35); /* semi-transparent overlay */
	padding: 48px 24px;
	border-radius: 16px;
  }
.section{
	background: transparent !important;
	box-shadow: none !important;
}
.section-head{margin-bottom:32px}
.section-head .subtitle{
	color:var(--brand-400);
	font-weight:600;
	font-size:13px;
	margin:0 0 6px 0;
	letter-spacing:.05em;
	text-transform:uppercase;
}
.section h2{
	margin:0;
	font-size:28px;
	color:var(--fg);
	font-weight:700;
}
.section .muted{
	max-width:720px;
}
main > .section:nth-of-type(even){
	background:var(--section-alt);
	box-shadow:inset 0 1px 0 rgba(148,163,184,0.08), inset 0 -1px 0 rgba(15,23,42,0.4);
}
main > .section:nth-of-type(even)::before{
	content:"";
	position:absolute;
	inset:0;
	background:radial-gradient(800px 520px at 20% 10%, rgba(14,165,233,0.2), transparent 70%),
	           radial-gradient(620px 420px at 90% 90%, rgba(94,234,212,0.14), transparent 70%);
	opacity:0.85;
	pointer-events:none;
}
main > .section:nth-of-type(even) .container{
	position:relative;
	z-index:1;
}
.grid{
	display:grid;gap:16px;
}
.grid-4{grid-template-columns:repeat(1,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(1,minmax(0,1fr))}
.grid-2{grid-template-columns:repeat(1,minmax(0,1fr))}
@media (min-width: 760px){
	.grid-4{grid-template-columns:repeat(2,1fr)}
	.grid-3{grid-template-columns:repeat(2,1fr)}
	.grid-2{grid-template-columns:repeat(2,1fr)}
}
@media (min-width: 1080px){
	.grid-4{grid-template-columns:repeat(4,1fr)}
	.grid-3{grid-template-columns:repeat(3,1fr)}
}
.card{
	border:1px solid rgba(148,163,184,0.18);
	background:linear-gradient(145deg, rgba(18,30,53,0.92), rgba(13,22,39,0.92));
	border-radius:22px;
	padding:28px;
	box-shadow:var(--shadow-subtle);
	transition:transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover{
	transform:translateY(-4px);
	box-shadow:var(--shadow);
	border-color:rgba(34,211,238,0.35);
}
.card h3{margin:0 0 8px 0;color:var(--fg);font-weight:600}
.card p{margin:0;color:rgba(226,232,240,0.8);line-height:1.65}
.card-head{
	display:flex;align-items:center;gap:12px;margin-bottom:16px
}
.icon{
	width:42px;height:42px;border-radius:14px;
	background:linear-gradient(135deg, rgba(94,234,212,0.16), rgba(14,165,233,0.12));
	border:1px solid rgba(94,234,212,0.35);
	display:grid;place-items:center;
	font-size:20px;
}
.bullets{margin:12px 0 0 0;padding:0 0 0 0;list-style:none}
.bullets li{
	display:flex;gap:8px;align-items:flex-start;
	padding-left:16px;position:relative;color:rgba(226,232,240,0.72);
	margin-bottom:6px;
}
.bullets li:before{
	content:"";
	position:absolute;left:0;top:10px;
	width:5px;height:5px;border-radius:999px;background:var(--brand-500)
}
.card-span{grid-column:1/-1}

/* =========================
   Buttons
   ========================= */
   .btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	padding: 14px 24px;
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: all 0.2s ease-in-out;
	font-size: 15px;
}

.btn-primary {
	color: #0b1220;
	background: linear-gradient(135deg, #243afb, #4d93fc, #5eeae2);
	box-shadow: 0 15px 35px rgba(15,118,110,0.35);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 38px rgba(56,189,248,0.35);
}

.btn-gradient {
	background: linear-gradient(270deg, #fbbf24, #5eead4, #0ea5e9);
	background-size: 600% 600%;
	color: #0b1220;
	box-shadow: 0 15px 35px rgba(15,118,110,0.35);
	transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
	animation: gradientAnimation 8s ease infinite;
}

.btn-gradient:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 38px rgba(56,189,248,0.35);
}

@keyframes gradientAnimation {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
.btn-ghost {
    color: var(--fg);
    background: transparent;
    border: 1.5px solid rgba(148, 163, 184, 0.35);
}

/* =========================
   CTA
   ========================= */
.cta{
	text-align:center;
	border:1px solid rgba(94,234,212,0.2);
	background:linear-gradient(135deg, rgba(14,165,233,0.22), rgba(2,132,199,0.18));
	border-radius:28px;
	padding:48px 32px;
	box-shadow:var(--shadow);
}
.cta h3{margin:0 0 8px 0;font-size:24px;color:var(--fg)}
.cta p{margin:0 0 20px 0;color:var(--muted);font-size:16px}

/* =========================
   Footer
   ========================= */
.site-footer{
	border-top:1px solid var(--border);
	padding:48px 0;
	background:linear-gradient(180deg, rgba(13,22,39,0.95), rgba(9,15,26,0.95));
	margin-top:56px;
}
.footer-inner{
	display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap
}
.brand-inline{
	display:flex;align-items:center;gap:12px
}
.muted{color:rgba(148,163,184,0.85);font-size:14px;margin:0}

/* =========================
   Portfolio tags
   ========================= */
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tag{
	font-size:12px;color:#e0f2fe;
	border:1px solid rgba(14,165,233,0.32);
	background:rgba(14,165,233,0.16);
	padding:6px 14px;border-radius:999px;
	font-weight:500;
}

/* =========================
   Contact
   ========================= */
.contact-grid{align-items:start}
.step-list{margin:12px 0 0 0;padding:0;list-style:none;counter-reset:step-counter}
.step{
	padding:20px 0 20px 40px;
	border-top:1px dashed var(--border);
	position:relative;
	counter-increment:step-counter;
}
.step:first-child{border-top:0;padding-top:20px}
.step::before{
	content:counter(step-counter);
	position:absolute;
	left:0;
	top:20px;
	width:28px;
	height:28px;
	border-radius:50%;
	background:linear-gradient(135deg,var(--brand-500),var(--brand-600));
	color:#fff;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:13px;
	font-weight:600;
	box-shadow:0 2px 8px rgba(14,165,233,0.25);
}
.step h4{margin:0 0 8px 0;font-size:15px;color:var(--fg);font-weight:600}
.step p{margin:0;color:var(--muted);line-height:1.7;font-size:15px}
.contact-details{
	margin-top:32px;
	padding-top:24px;
	border-top:1px solid var(--border);
}
.contact-details p{margin:10px 0;color:var(--fg);line-height:1.6}
.contact-details strong{color:var(--fg);font-weight:600}
.contact-details a{color:var(--brand-500);text-decoration:none;font-weight:500;transition:color 0.2s}
.contact-details a:hover{color:var(--brand-600);text-decoration:underline}
.contact-form{display:grid;gap:16px;margin-top:20px}
.field{display:grid;gap:8px}
.field label{font-size:14px;font-weight:500;color:var(--fg)}
.field input,.field textarea{
	width:100%;border:1.5px solid rgba(148,163,184,0.25);background:rgba(13,22,39,0.85);
	border-radius:12px;color:var(--fg);padding:12px 14px;outline:none;
	font-family:inherit;font-size:15px;
	transition:border-color 0.2s;
}
.field input:focus,.field textarea:focus{
	border-color:var(--brand-500);
	box-shadow:0 0 0 3px rgba(14,165,233,0.1);
}
.field textarea{resize:vertical;min-height:120px}

/* =========================
   FAQ
   ========================= *//* FAQ Section */
#faq {
	width: 100%;
	background: transparent;
	padding: 2rem 1rem;
	box-sizing: border-box;
  }
  
  /* FAQ Container */
  #faq .container {
	max-width: 1200px; /* keep content aligned with other sections */
	margin: 0 auto;
	box-sizing: border-box;
  }
  
  /* FAQ Item */
  .faq-item {
	margin-bottom: 1rem;
	border-radius: 8px;
	overflow: hidden; /* prevent layout jump */
	border: 1px solid #94A3B8;
  }
  
  /* FAQ Question */
  .faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	padding: 1rem 1.5rem;
	font-family: 'Inter', ui-sans-serif, system-ui, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: #94A3B8;
	background: transparent;
	border: none; /* remove inner border */
	width: 100%;
	box-sizing: border-box;
	transition: background 0.3s ease;
  }
  
  .faq-question:hover {
	background: rgba(148, 163, 184, 0.05);
  }
  
  /* Arrow */
  .faq-question::after {
	content: '▼';
	font-size: 16px;
	transition: transform 0.3s ease;
  }
  
  .faq-question.active::after {
	transform: rotate(180deg);
  }
  
  /* FAQ Answer */
  .faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
	padding: 0 1.5rem;
	font-family: 'Inter', ui-sans-serif, system-ui, "Segoe UI", sans-serif;
	font-size: 15px;
	color: #94A3B8;
	line-height: 1.6;
  }
  
  .faq-answer.active {
	padding: 0.75rem 1.5rem 1rem;
  }
  
  /* Remove layout jumps */
  .faq-answer p {
	margin: 0;
  }
  