/* ===========================
   Root Variables
   =========================== */
:root {
  /* Colors */
  /* Brand core */
  --color-primary: #0A5F55;
  --color-primary-hover: #0C7567;

  --color-secondary: #FF6A21;
  --color-secondary-hover: #E85F1D;

  --color-dark: #0D2F28;
  --color-light: #F5F4EC;

  --color-bg: var(--color-light);
  --color-bg-alt: #D8C3A6;
  --color-surface: #FAF7F0;
  --color-surface-alt: #E6D8C2;

  --color-text-main: #2A2A2A;
  --color-text-soft: #4A4A4A;
  --color-text-muted: #777777;
  --color-text-on-dark: #FEFCF8;
  --color-text-on-accent: #FFFFFF;

  --color-border-subtle: #E4DFD4;
  --color-border-strong: #B6A58A;

  --color-logo-return: #33B6A8;

  /* Links */
  --color-link: var(--color-primary);
  --color-link-hover: var(--color-secondary);

  /* Sub Brand Colors */
  /* 1. Website Design */
--service-webdesign: #1FA395;
--service-webdesign-bg: #E9F7F5;

/* 2. Website Development */
--service-webdev: #0A4E47;
--service-webdev-bg: #E6F2F0;

/* 3. Website Maintenance */
--service-maintenance: #738F47;
--service-maintenance-bg: #F3F7EB;

/* 4. SEO & Generative Authority */
--service-authority: #C98A2C;
--service-authority-bg: #FBF4E6;

/* 5. Digital Intelligence & Performance Insights */
--service-intelligence: #1C6FA8;
--service-intelligence-bg: #E7F2FA;

/* 6. Customer Engagement & Growth */
--service-growth: #F45E4C;
--service-growth-bg: #FDECEA;

  /* Semantic states */
  --color-success: #198A6A;
  --color-success-bg: #E8F7F1;

  --color-danger: #D64532;
  --color-danger-bg: #FDECEA;

  --color-warning: #F5A93C;
  --color-warning-bg: #FFF7E8;

  --color-info: #0B7F78;
  --color-info-bg: #E7F6F4;

  /* Font sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-xxl: 2rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --font-family: "aktiv-grotesk", sans-serif;
 
  /* 1. Word Breaking (To prevent long strings from overflowing containers) */
  --util-word-break-long: break-word; 
  --util-word-break-normal: normal; /* Default behavior */
  
  /* 2. Hyphenation (To create more even line wraps on justified/narrow blocks) */
  --util-hyphens-auto: auto; /* Enables automatic hyphenation based on lang attribute */
  --util-hyphens-none: none; /* Disables hyphenation */

  /* 3. Text Alignment */
  --util-align-center: center;
  --util-align-left: left;
  --util-align-right: right;
  --util-align-justify: justify;

  /* 4. Text Transform */
  --util-transform-caps: uppercase;
  --util-transform-lower: lowercase;
  --util-transform-initial: none; /* Reset/Default */

  /* 5. Text Decoration */
  --util-decoration-link: underline;
  --util-decoration-none: none;
  
  /* 6. Letter/Word Spacing (Can be used to slightly widen or condense text) */
  --util-letter-spacing-wide: 0.08em; 
  --util-letter-spacing-tight: -0.015em;

  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-bold: 700;
  --fw-black: 900;

  /* Line Heights */
  --line-height-reset: 1;
  --line-height-compact: 0.92;
  --line-height-snug: 1.07;
  --line-height-tight: 1.14;
  --line-height-medium: 1.15;
  --line-height-relaxed: 1.43;
  --line-height-loose: 1.8;

  /* Widths */
  --width-xs: 65%;
  --width-sm: 70%;
  --width-md: 75%;
  --width-lg: 80%;
  --width-xl: 90%;
  --width-full: 100%;
  --width-half: 50%;
}

@supports (font-size: clamp(1rem, 1vi, 1rem)) {
  :root {
		--text-xs: clamp(0.79rem, 0.05vi + 0.78rem, 0.82rem);
		--text-s: clamp(0.89rem, 0.14vi + 0.86rem, 0.99rem);
		--text-m: clamp(1rem, 0.27vi + 0.95rem, 1.19rem);
		--text-l: clamp(1.13rem, 0.43vi + 1.04rem, 1.43rem);
		--text-xl: clamp(1.27rem, 0.63vi + 1.14rem, 1.71rem);
  }
}
/* For browsers that don't support clamp */
@supports not (font-size: clamp(1rem, 1vi, 1rem)) {
  :root {
		--text-xs: 0.79rem;
		--text-s: 0.89rem;
		--text-m: 1rem;
		--text-l: 1.13rem;
		--text-xl: 1.27rem;
  }
  @media screen and (min-width: 1440px) {
    :root {
			--text-xs: 0.82rem;
			--text-s: 0.99rem;
			--text-m: 1.19rem;
			--text-l: 1.43rem;
			--text-xl: 1.71rem;
    }
  }
}

/* For browsers that support clamp  */
@supports (font-size: clamp(1rem, 1vi, 1rem)) {
  :root {
		--headings-h6: clamp(0.8rem, -0.04vi + 0.81rem, 0.77rem);
		--headings-h5: clamp(1rem, 0.05vi + 0.99rem, 1.03rem);
		--headings-h4: clamp(1.25rem, 0.18vi + 1.21rem, 1.38rem);
		--headings-h3: clamp(1.56rem, 0.39vi + 1.49rem, 1.83rem);
		--headings-h2: clamp(1.95rem, 0.7vi + 1.81rem, 2.44rem);
		--headings-h1: clamp(2.44rem, 1.16vi + 2.21rem, 3.26rem);
		--headings-hero-title: clamp(3.05rem, 1.84vi + 2.68rem, 4.34rem);
  }
}
/* For browsers that don't support clamp */
@supports not (font-size: clamp(1rem, 1vi, 1rem)) {
  :root {
		--headings-h6: 0.8rem;
		--headings-h5: 1rem;
		--headings-h4: 1.25rem;
		--headings-h3: 1.56rem;
		--headings-h2: 1.95rem;
		--headings-h1: 2.44rem;
		--headings-hero-title: 3.05rem;
  }
  @media screen and (min-width: 1440px) {
    :root {
			--headings-h6: 0.77rem;
			--headings-h5: 1.03rem;
			--headings-h4: 1.38rem;
			--headings-h3: 1.83rem;
			--headings-h2: 2.44rem;
			--headings-h1: 3.26rem;
			--headings-hero-title: 4.34rem;
    }
  }
}

/* Header CSS */
/* Wrapper to control the size */
.logo-wrapper {
  width: 80px; 
  height: 80px;
  display: block;
}
/* Logo color animation */
@keyframes color-cycle {
  0%    { fill: var(--color-light); }
  14%   { fill: #1FA395; } /* Webdesign */
  28%   { fill: #0A4E47; } /* Webdev */
  42%   { fill: #738F47; } /* Maintenance */
  57%   { fill: #C98A2C; } /* Authority */
  71%   { fill: #1C6FA8; } /* Intelligence */
  85%   { fill: #F45E4C; } /* Growth */
  100%  { fill: var(--color-light); }
}

.logo-background-color {
  fill: var(--color-logo-return); 
  transition: fill 0.3s ease-in-out;
}

.logo-wrapper.is-animated .logo-background-color {
  animation: color-cycle 14s ease-in-out infinite;
}

.logo-wrapper:hover .logo-background-color {
  fill: #e53510;
}

.logo-wrapper.header-transparent .logo-background-color {
  fill: #FFFFFF;
}

.logo-wrapper.header-sticky .logo-background-color {
  fill: #000000;
}

.main-header {
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.inner-container {
  display: grid!important;
  grid-template-columns: 1fr 1fr!important;
}