/* ==============================
   I. VARIABLES
============================== */
:root {
  --brand-1: #f844f8;
  --brand-2: #18f8f8;
  --accent: #faff00;
  --text: #1a1a1a;
  --muted: #666666;
  --bg: #ffffff;
  --surface: #ffffff;
  --shadow-light: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-medium: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-strong: 0 8px 32px rgba(0,0,0,0.16);

  --container: 1200px;
  --max-content-width: 720px;
}

/* ==============================
   II. BASE
============================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--brand-2);
  text-decoration: none;
  position: relative;
}

a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--brand-2);
  transition: width 150ms ease-in-out;
}

a:hover::after {
  width: 100%;
}

/* ==============================
   III. TYPOGRAPHY
============================== */
h1 {
  font-family: 'Michroma', sans-serif;
  font-weight: 400;
  font-size: 52px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 32px;
}

h2 {
  font-family: 'Michroma', sans-serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 64px;
  margin-bottom: 24px;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 16px;
}

p {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  max-width: var(--max-content-width);
  margin-bottom: 24px;
}

ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

li {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: var(--muted);
}

/* ==============================
   IV. LAYOUT
============================== */
main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-content {
  max-width: var(--max-content-width);
  width: 100%;
}

.card {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  padding: 24px;
  margin-bottom: 32px;
  transition: all 200ms ease-in-out;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--brand-2);
}

.section {
  margin-top: 96px;
  margin-bottom: 96px;
}

@media (max-width: 1024px) {
  .section { margin-top:48px; margin-bottom:48px; }
  h1 { font-size:44px; }
  h2 { font-size:26px; }
}

@media (max-width: 768px) {
  .section { margin-top:32px; margin-bottom:32px; }
  h1 { font-size:36px; }
  h2 { font-size:22px; }
  p  { font-size:16px; }
  li { font-size:14px; }
}

/* ==============================
   HERO GRADIENT - EDGE-TO-EDGE, FULL HERO BACKGROUND WITH EDGE FADES
============================== */
.hero {
  position: relative;
  width: 100%;
  text-align: center;
  overflow: hidden;
  background: none;   /* gradient handled by pseudo */
  box-sizing: border-box;
}

/* Keep content centered inside hero */
.hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 80px 24px 160px;  /* top padding keeps text below header visually */
}

/* Full hero gradient overlay with soft fades */
.hero::before {
  content: '';
  position: absolute;          /* absolute so gradient is inside hero */
  top: 0;
  left: 0;
  width: 100%;                 /* full width of hero */
  height: 100%;                /* exactly the hero's height */
  z-index: 0;

  /* Animated radial gradients + soft fade edges */
  background:
    radial-gradient(circle at 10% 10%, rgba(24,248,248,0.08), transparent 60%),   /* top-left fade */
    radial-gradient(circle at 90% 10%, rgba(248,68,248,0.07), transparent 60%),  /* top-right fade */
    radial-gradient(circle at 20% 70%, rgba(24,248,248,0.08), transparent 65%),  /* left-mid fade */
    radial-gradient(circle at 80% 70%, rgba(248,68,248,0.07), transparent 65%),  /* right-mid fade */
    radial-gradient(circle at 50% 50%, rgba(255,250,0,0.05), transparent 70%),   /* center soft glow */
    linear-gradient(180deg, rgba(255,255,255,0) 70%, var(--bg) 100%);           /* bottom fade */
  
  background-size: 200% 200%;
  animation: gradientShift 7s linear infinite;
  pointer-events: none;
}

/* Animate the gradient */
@keyframes gradientShift {
  0% {
    background-position: 0% 0%, 100% 0%, 0% 70%, 100% 70%, 50% 50%, 0 0;
  }
  25% {
    background-position: 50% 20%, 80% 10%, 30% 60%, 70% 60%, 30% 70%, 0 0;
  }
  50% {
    background-position: 100% 0%, 0% 0%, 70% 80%, 20% 70%, 70% 30%, 0 0;
  }
  75% {
    background-position: 30% 70%, 60% 10%, 40% 50%, 60% 70%, 40% 50%, 0 0;
  }
  100% {
    background-position: 0% 0%, 100% 0%, 0% 70%, 100% 70%, 50% 50%, 0 0;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: 100%;
  max-width: var(--container);
  margin-top: 48px;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ==============================
   V. CTA BUTTONS
============================== */
button, .btn {
  background: var(--accent);
  color: #000;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

button:hover, .btn:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-light);
}

.btn-outline {
  display: inline-block;
  padding: 10px 22px;
  border: 2px solid var(--brand-2);
  background: transparent;
  color: var(--brand-2);
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 150ms ease;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--brand-2);
  color: #fff;
  transform: scale(1.02);
  box-shadow: var(--shadow-light);
}

/* ==============================
   VI. FOOTER
============================= */
footer {
  background: #0f0f0f;
  color: #aaa;
  padding: 48px 24px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 180px;
}

footer h4 {
  color: #fff;
  margin-bottom: 8px;
  font-family: 'Michroma', sans-serif;
}

footer a {
  color: #aaa;
  text-decoration: none;
  transition: color 150ms ease;
}

footer a:hover {
  color: var(--brand-2);
}

/* === ICON FIX ONLY (no design changes) === */
footer .social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  list-style: none;
  padding-left: 0;
}

footer .social-links li {
  margin-bottom: 0;
  color: inherit;
}

footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

footer .social-links a svg {
  width: 20px;
  height: 20px;
  fill: currentColor; /* ensures correct inheritance */
  transition: fill 150ms ease;
}

footer .social-links a:hover svg {
  fill: var(--brand-2);
}

/* ==============================
   VII. MOTION
============================== */
.fade-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms cubic-bezier(0.16,1,0.3,1),
              transform 400ms cubic-bezier(0.16,1,0.3,1);
}

.fade-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   VIII. HEADER & NAVIGATION
============================== */
.site-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg);
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 32px;
}

.site-header .logo {
  font-family: 'Michroma', sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--text);
}

.primary-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.primary-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

.primary-nav a {
  position: relative;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  text-decoration: none;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-1);
  transition: width 150ms ease-in-out;
}

.primary-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.has-submenu .submenu {
  display: none;
  flex-direction: column;
  position: absolute;
  background: var(--bg);
  padding: 8px 0;
  box-shadow: var(--shadow-medium);
  border-radius: 8px;
  min-width: 220px;
}

.has-submenu:hover .submenu {
  display: flex;
}

.has-submenu .submenu a {
  padding: 8px 16px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    display: none;
    width: 100%;
    text-align: center;
    padding: 16px 0;
    background: var(--surface);
    box-shadow: var(--shadow-medium);
  }

  .primary-nav ul.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .has-submenu .submenu {
    position: static;
    border-radius: 0;
    padding-left: 0;
    gap: 12px;
  }
}

body[data-page="commercial-assessment"] .btn.fade-reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-icon {
  height: 42px;
  width: auto;
}

.brand-name {
  font-family: 'Michroma', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--text);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-icon {
  height: 20px;
  width: auto;
  opacity: 0.8;
}

.footer-brand-name {
  font-family: 'Michroma', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  color: #aaa;

}

footer .social-links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

footer .social-links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 18px;
  color: #ccc;
  transition: all 0.3s ease;
}

footer .social-links li a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}
