/* ============================================ */
/* BANNER STYLE CONFIGURATION */
/* ============================================ */
/* Set to 'curved' for SVG bezier curve banner or 'straight' for solid color banner */
/* Options: 'curved' or 'straight' */
:root {
    --banner-style: 'curved';  /* Change to 'straight' for solid banner */
    /* --banner-style: 'straight'; */
}
/* ============================================ */

/* ============================================ */
/* FONT SELECTION - Uncomment ONE option to match your HTML selection */
/* ============================================ */

/* Option 1: Inter + Cascadia Mono (CURRENT - Clean, Modern) */
/* :root { */
/*     --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif; */
/*     --font-mono: 'Cascadia Mono', 'Courier New', Courier, monospace; */
/* } */

/* Option 2: Manrope + Inter (Professional, Fintech-style) */
/* :root { */
/*     --font-sans: 'manrope', -apple-system, blinkmacsystemfont, 'segoe ui', sans-serif; */
/*     --font-mono: 'cascadia mono', 'courier new', courier, monospace; */
/* }  */

/* Option 3: Montserrat + Source Sans Pro (Modern Classic) */
/* :root { */
/*     --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; */
/*     --font-mono: 'Cascadia Mono', 'Courier New', Courier, monospace; */
/*     --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; */
/* } */

/* Option 4: Sora + Space Mono (Geometric, Futuristic) */
/* :root { */
/*     --font-sans: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; */
/*     --font-mono: 'Space Mono', 'Courier New', Courier, monospace; */
/* } */

/* Option 5: Albert Sans + Barlow (Rounded, Approachable) */
/* :root { */
/*     --font-sans: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; */
/*     --font-mono: 'Cascadia Mono', 'Courier New', Courier, monospace; */
/*     --font-heading: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; */
/* } */

/* Option 6: Hanken Grotesk + Archivo (Clean, Dashboard-style) */
:root {
    --font-sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Cascadia Mono', 'Courier New', Courier, monospace;
    --font-heading: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Option 7: Ubuntu + Open Sans (Bold, Modern) */
/* :root {
    --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Cascadia Mono', 'Courier New', Courier, monospace;
    --font-heading: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
} */

/* Option 8: Afacad + Inter (Geometric, Tech-forward) */
/* :root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Cascadia Mono', 'Courier New', Courier, monospace;
    --font-heading: 'Afacad', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
} */

/* ============================================ */

/* Additional Font Variables */
:root {
    /* Optional: Override heading font (used in Options 3, 5, 6, 7, 8) */
    --font-heading: var(--font-sans); /* Default to same as body font */

    /* ============================================ */
    /* THEME TOGGLE - Change between 'light' and 'dark' */
    --theme: 'light';  /* SET TO 'dark' FOR DARK MODE */
    /* ============================================ */

    /* Shadow Variables - Tune these for button and card shadows */
    --shadow-offset-x: 0px;           /* Horizontal shadow offset */
    --shadow-offset-y: 2px;           /* Vertical shadow offset */
    --shadow-blur: 20px;               /* Shadow blur radius */
    --shadow-spread: 0px;             /* Shadow spread radius */
    --shadow-color: rgba(0, 0, 0, 0.10); /* Shadow color and opacity */

    --shadow-hover-offset-x: 0px;     /* Hover: Horizontal shadow offset */
    --shadow-hover-offset-y: 8px;     /* Hover: Vertical shadow offset */
    --shadow-hover-blur: 16px;        /* Hover: Shadow blur radius */
    --shadow-hover-spread: 0px;       /* Hover: Shadow spread radius */
    --shadow-hover-color: rgba(0, 0, 0, 0.55);

    /* Button & Card Variables */
    --card-bg: #ffffff;
    --card-text: #111111;
    --card-shadow: rgba(0, 0, 0, 0.10);
    --card-shadow-hover: rgba(0, 0, 0, 0.55);

    /* Footer Variables */
    --footer-bg: #ffffff;
    --footer-text: #111111;
}

/* Light Theme (Default) */
:root {
    --bg-color: #f5f5f5;
    --text-color: #1a1a1a;
    --nav-text-color: #1a1a1a;
    --banner-invert: 0;
    --banner-wave-fill: #ffffff;
    --banner-stroke: none;
    --banner-stroke-width: 0;
    --logo-display: block;
    --logo-dark-display: none;
    --neuroneer-invert: 0; /* No inversion in light mode */

    /* Glass banner for light theme */
    --glass-bg: rgba(100, 100, 100, 0.9);
    --glass-border: 1px solid rgba(100, 100, 100, 0.9);

    /* Light theme buttons & cards: light background, dark text, dark shadow */
    --card-bg: #ffffff;
    --card-text: #111111;
    --card-shadow: rgba(0, 0, 0, 0.10);
    --card-shadow-hover: rgba(0, 0, 0, 0.55);

    /* Light theme footer: light background, dark text */
    --footer-bg: #ffffff;
    --footer-text: #111111;
}

/* Dark Theme - Applied via html class */
html.dark-theme-root,
html.dark-theme-root body {
    --bg-color: #1a1a1a;
    --text-color: #f5f5f5;
    --nav-text-color: #ffffff;
    --banner-invert: 1;
    --banner-wave-fill: #000000;
    --banner-stroke: none;
    --banner-stroke-width: 0;
    --logo-display: none;
    --logo-dark-display: block;
    --neuroneer-invert: 1; /* Invert neuroneer and float images */

    /* Glass banner for dark theme */
    --glass-bg: rgba(0, 0, 0, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);

    /* Dark theme buttons & cards: dark background, light text, light shadow */
    --card-bg: #111111;
    --card-text: #ffffff;
    --card-shadow: rgba(255, 255, 255, 0.10);
    --card-shadow-hover: rgba(255, 255, 255, 0.35);

    /* Dark theme footer: dark background, light text */
    --footer-bg: #111111;
    --footer-text: #ffffff;
}

/* Dark with Top Line Theme - Dark header with white curved line */
html.dark-top-line-theme-root,
html.dark-top-line-theme-root body {
    --bg-color: #1a1a1a;
    --text-color: #f5f5f5;
    --nav-text-color: #ffffff;
    --banner-invert: 1;
    --banner-wave-fill: #000000;
    --banner-stroke: #ffffff;
    --banner-stroke-width: 2;
    --logo-display: none;
    --logo-dark-display: block;
    --neuroneer-invert: 1; /* Invert neuroneer and float images */

    /* Glass banner for dark theme */
    --glass-bg: rgba(0, 0, 0, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);

    /* Dark theme buttons & cards: dark background, light text, light shadow */
    --card-bg: #111111;
    --card-text: #ffffff;
    --card-shadow: rgba(255, 255, 255, 0.10);
    --card-shadow-hover: rgba(255, 255, 255, 0.35);

    /* Dark theme footer: dark background, light text */
    --footer-bg: #111111;
    --footer-text: #ffffff;
}

/* Light with Dark Top Theme - High contrast header */
html.light-dark-top-theme-root,
html.light-dark-top-theme-root body {
    --bg-color: #f5f5f5;
    --text-color: #1a1a1a;
    --nav-text-color: #ffffff;
    --banner-invert: 1;
    --banner-wave-fill: #000000;
    --logo-display: none;
    --logo-dark-display: block;

    /* Glass banner for light theme with dark top */
    --glass-bg: rgba(0, 0, 0, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Light with Top Line Theme - White header with black curved line */
html.light-top-line-theme-root,
html.light-top-line-theme-root body {
    --bg-color: #f5f5f5;
    --text-color: #1a1a1a;
    --nav-text-color: #1a1a1a;
    --banner-invert: 0;
    --banner-wave-fill: #ffffff;
    --banner-stroke: #000000;
    --banner-stroke-width: 3;
    --logo-display: block;
    --logo-dark-display: none;

    /* Glass banner for light theme */
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-mono);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Header with Banner Background */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--header-bg, transparent);
}

/* Curved Banner (SVG) */
.top-banner {
    position: absolute;
    top: -10px;  /* Change this value to move the banner up (negative) or down (positive) */
    left: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none;
}

.top-banner svg {
    width: 100%;
    height: 170px; /* Fixed height - does not scale with window resize */
    display: block;
}

.banner-wave-fill {
    fill: var(--banner-wave-fill);
    stroke: none;
}

.banner-wave-stroke {
    fill: none;
    stroke: var(--banner-stroke);
    stroke-width: var(--banner-stroke-width);
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Straight Banner - Simple solid color alternative */
.top-banner-straight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px; /* Adjust height as needed */
    background-color: var(--banner-wave-fill);
    z-index: 0;
    pointer-events: none;
    display: none; /* Hidden by default, shown via class */
}

/* Glass Banner - Glassmorphism style */
.top-banner-glass {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px; /* Adjust height as needed */
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    z-index: 0;
    pointer-events: none;
    display: none; /* Hidden by default, shown via class */
}

header .container {
    position: relative;
    z-index: 1;
    max-width: 1200;
    margin: 0 auto;
    padding: 0.1rem 6rem; /* TUNABLE: vertical and horizontal padding */
    display: flex;
    justify-content: space-between;
    /* justify-content: center; */
    align-items: center;
}

.logo {
    position: relative;
    height: 110px; /* Match logo height to prevent layout shift */
    display: flex;
    align-items: center;
}

.logo img {
    height: 110px;
    width: auto;
}

.logo-light {
    display: var(--logo-display);
}

.logo-dark {
    display: var(--logo-dark-display);
}

nav {
    font-family: var(--font-sans);
    display: flex;
    gap: 3rem;
}

nav a {
    color: var(--nav-text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    transition: opacity 0.2s;
}

nav a:hover {
    opacity: 0.7;
}

/* Theme Toggle Button - Floating Bottom Right */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background-color: var(--card-bg);
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--card-text);
    box-shadow: var(--shadow-offset-x) var(--shadow-offset-y) var(--shadow-blur) var(--shadow-spread) var(--card-shadow);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover-offset-x) var(--shadow-hover-offset-y) var(--shadow-hover-blur) var(--shadow-hover-spread) var(--card-shadow-hover);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: var(--bg-color);
    min-height: calc(100vh - 150px); /* TUNABLE: Subtract approximate header height for vertical centering */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0; /* TUNABLE: Adjust vertical spacing */
    margin-top: 0; /* Removed top margin for better centering */
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Text */
.hero-text {
    flex: 0 0 auto;
    max-width: 800px; /* Reduced to encourage wrapping - adjust as needed */
    margin-left: 8rem;
    margin-right: auto;
}

.hero-text h1 {
    font-family: var(--font-heading); /* Use heading font if specified */
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 100;
    color: var(--text-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-text h1 .boilerplate {
    display: block;
    margin-top: 0.5rem;
}

.hero-subtext {
    font-family: var(--font-sans);
    font-size: 2em; /* Tunable: adjust this to change subtext size */
    font-weight: 50;
    line-height: 1.2;
    color: var(--text-color);
    margin-top: 1.5rem;
    max-width: 700px;
}

/* Shared Button Styles */
.cta-button,
.contact-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--card-bg);
    color: var(--card-text);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-offset-x) var(--shadow-offset-y) var(--shadow-blur) var(--shadow-spread) var(--card-shadow);
}

.cta-button {
    margin-top: 4rem; /* CTA-specific spacing */
}

.cta-button:hover,
.contact-button:hover {
    background-color: var(--card-bg);
    color: var(--card-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover-offset-x) var(--shadow-hover-offset-y) var(--shadow-hover-blur) var(--shadow-hover-spread) var(--card-shadow-hover);
}

/* Hero Visual */
.hero-visual {
    flex: 0 0 auto;
    position: relative;
    display: inline-block;
    margin-right: 12rem;
    margin-left: auto;
    width: 220px; /* Base width - matches engineer */
}

.engineer {
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;
    display: block;
    filter: invert(var(--neuroneer-invert));
    /* Shadow that follows the PNG's alpha channel (visible parts only) */
    /* filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.15)); */
}

/* Floating Objects - positioned relative to engineer using percentages */
.float {
    position: absolute;
    z-index: 5;
    filter: invert(var(--neuroneer-invert));
    /* Shadow that follows the PNG's alpha channel (visible parts only) */
    /* filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.15)); */
}

/* Floating Animation Keyframes - Combined horizontal and vertical */
@keyframes float-1 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(var(--float-dist-horizontal-1, 3px)) translateY(calc(var(--float-dist-vertical-1, -15px) * 0.5));
    }
    50% {
        transform: translateX(0) translateY(var(--float-dist-vertical-1, -15px));
    }
    75% {
        transform: translateX(calc(var(--float-dist-horizontal-1, 3px) * -1)) translateY(calc(var(--float-dist-vertical-1, -15px) * 0.5));
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(var(--float-dist-horizontal-2, -6px)) translateY(calc(var(--float-dist-vertical-2, -20px) * 0.5));
    }
    50% {
        transform: translateX(0) translateY(var(--float-dist-vertical-2, -20px));
    }
    75% {
        transform: translateX(calc(var(--float-dist-horizontal-2, -6px) * -1)) translateY(calc(var(--float-dist-vertical-2, -20px) * 0.5));
    }
}

@keyframes float-3 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(var(--float-dist-horizontal-3, 4px)) translateY(calc(var(--float-dist-vertical-3, -12px) * 0.5));
    }
    50% {
        transform: translateX(0) translateY(var(--float-dist-vertical-3, -12px));
    }
    75% {
        transform: translateX(calc(var(--float-dist-horizontal-3, 4px) * -1)) translateY(calc(var(--float-dist-vertical-3, -12px) * 0.5));
    }
}

@keyframes float-4 {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(var(--float-dist-horizontal-4, -5px)) translateY(calc(var(--float-dist-vertical-4, -6px) * 0.5));
    }
    50% {
        transform: translateX(0) translateY(var(--float-dist-vertical-4, -6px));
    }
    75% {
        transform: translateX(calc(var(--float-dist-horizontal-4, -5px) * -1)) translateY(calc(var(--float-dist-vertical-4, -6px) * 0.5));
    }
}

.float1 {
    /* width: 31.8%;  */
    width: 45.8%;
    top: 0;
    left: -18.5%; /* Positioned to the left with margin */
    --float-dist-vertical-1: -25px; /* Vertical movement length - adjust this value */
    --float-dist-horizontal-1: 7px; /* Horizontal movement length - adjust this value */
    --float-duration-1: 15s; /* Speed - adjust this value */
    animation: float-1 var(--float-duration-1) ease-in-out infinite;
}

.float2 {
    /* width: 43.2%;  */
    width: 48.2%;
    top: 0;
    right: -23.8%; /* Positioned to the right with margin */
    --float-dist-vertical-2: -25px; /* Vertical movement length - adjust this value */
    --float-dist-horizontal-2: -7px; /* Horizontal movement length - adjust this value */
    --float-duration-2: 15s; /* Speed - adjust this value */
    animation: float-2 var(--float-duration-2) ease-in-out infinite;
    animation-delay: 0.2s; /* Offset for natural feel */
}

.float3 {
    /* width: 19.5%;  */
    width: 34.5%; 
    bottom: 25.4%; /* 80px / 220px height */
    right: -21.1%; /* Positioned to the right with margin */
    --float-dist-vertical-3: -25px; /* Vertical movement length - adjust this value */
    --float-dist-horizontal-3: 7px; /* Horizontal movement length - adjust this value */
    --float-duration-3: 15s; /* Speed - adjust this value */
    animation: float-3 var(--float-duration-3) ease-in-out infinite;
    animation-delay: 1s; /* Offset for natural feel */
}

.float4 {
    /* width: 36.4%;  */
    width: 42.4%; 
    bottom: 24.3%; /* 60px / 220px height */
    left: -19%; /* Positioned to the left with margin */
    --float-dist-vertical-4: -25px; /* Vertical movement length - adjust this value */
    --float-dist-horizontal-4: -7px; /* Horizontal movement length - adjust this value */
    --float-duration-4: 15s; /* Speed - adjust this value */
    animation: float-4 var(--float-duration-4) ease-in-out infinite;
    animation-delay: 1.5s; /* Offset for natural feel */
}

/* Services Section */
.services {
    background-color: var(--bg-color);
    padding: 8em 0; /* TUNABLE: Vertical spacing of services section */
}

.services-container {
    max-width: 1400px; /* TUNABLE: Maximum width of services section */
    margin: 0 auto;
    padding: 0 6rem; /* TUNABLE: Horizontal padding */
}

.services-title {
    font-family: var(--font-heading); /* Use heading font if specified */
    font-size: 2.5rem; /* TUNABLE: Title size */
    font-weight: 100;
    text-align: center;
    margin-bottom: 4rem; /* TUNABLE: Space between title and cards */
    color: var(--text-color);
}

.services-stack {
    display: flex;
    flex-direction: column;
    gap: 3rem; /* TUNABLE: Space between cards */
}

.service-card {
    background-color: var(--card-bg); /* TUNABLE: Card background color */
    border-radius: 15px; /* TUNABLE: Card corner roundness */
    padding: 2.5rem; /* TUNABLE: Card internal spacing */
    /* border: 2px solid #eaeaea; /* TUNABLE: Card border */ */
    transition: all 0.3s ease;
    box-shadow: var(--shadow-offset-x) var(--shadow-offset-y) var(--shadow-blur) var(--shadow-spread) var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 3rem; /* TUNABLE: Space between content and image */
}

.service-card:hover {
    background-color: var(--card-bg);
    transform: translateY(-2px); /* TUNABLE: How much card lifts on hover */
    box-shadow: var(--shadow-hover-offset-x) var(--shadow-hover-offset-y) var(--shadow-hover-blur) var(--shadow-hover-spread) var(--card-shadow-hover);
}

/* Left-aligned cards: content on left, image on right */
.service-card-left {
    flex-direction: row;
}

/* Right-aligned cards: content on right, image on left */
.service-card-right {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.service-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3; /* TUNABLE: Image aspect ratio */
    background-color: rgba(128, 128, 128, 0.1); /* TUNABLE: Placeholder background */
    border-radius: 10px; /* TUNABLE: Image border radius */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    opacity: 0.3;
    font-family: var(--font-sans);
}

.service-img {
    width: 40%; /* TUNABLE: Service image size - reduced from 50% */
    height: auto;
    border-radius: 10px; /* TUNABLE: Image border radius */
    object-fit: cover;
    filter: invert(var(--neuroneer-invert));
}

.workbench-container {
    width: 40%; /* TUNABLE: Workbench image size - reduced from 50% */
    display: flex;
    flex-direction: column;
    gap: 0; /* No gap for seamless alignment */
}

.workbench-head,
.workbench-bottom {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top; /* Prevents any baseline gaps */
    filter: invert(var(--neuroneer-invert));
}

.workbench-head {
    border-radius: 10px 10px 0 0; /* TUNABLE: Rounded top corners only */
}

.workbench-bottom {
    border-radius: 0 0 10px 10px; /* TUNABLE: Rounded bottom corners only */
}

.service-icon {
    font-size: 3rem; /* TUNABLE: Icon size */
    margin-bottom: 1.5rem; /* TUNABLE: Space between icon and title */
}

.service-card h3 {
    font-family: var(--font-heading); /* Use heading font if specified */
    font-size: 1.5rem; /* TUNABLE: Card title size */
    font-weight: 600;
    color: var(--card-text);
    margin-bottom: 1rem; /* TUNABLE: Space between title and description */
}

.service-number {
    font-family: var(--font-mono);
    font-size: 0.9rem; /* TUNABLE: Service number size */
    font-weight: 400;
    opacity: 0.5;
    margin-right: 0.5rem;
}

.service-description {
    font-family: var(--font-sans);
    font-size: 1rem; /* TUNABLE: Description text size */
    line-height: 1.6; /* TUNABLE: Line spacing in description */
    color: var(--card-text);
    margin-bottom: 1.5rem; /* TUNABLE: Space between description and features */
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.95rem; /* TUNABLE: Feature list text size */
}

.service-features li {
    color: var(--card-text);
    opacity: 0.8;
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--card-text);
    opacity: 0.5;
}

.service-card p {
    font-family: var(--font-sans);
    font-size: 1rem; /* TUNABLE: Description text size */
    line-height: 1.6; /* TUNABLE: Line spacing in description */
    color: var(--card-text); /* TUNABLE: Description text color */
    opacity: 0.7; /* Slightly muted for better hierarchy */
}

/* Contact Section */
.contact {
    background-color: var(--bg-color);
    padding: 4rem 0; /* TUNABLE: Vertical spacing */
}

.contact-container {
    max-width: 800px; /* TUNABLE: Maximum width */
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.contact-title {
    font-family: var(--font-heading); /* Use heading font if specified */
    font-size: 2.5rem; /* TUNABLE: Title size */
    font-weight: 100;
    color: var(--text-color);
    margin-bottom: 1.5rem; /* TUNABLE: Space below title */
}

.contact-description {
    font-family: var(--font-sans);
    font-size: 1.125rem; /* TUNABLE: Description size */
    color: #666666;
    line-height: 1.6;
    margin-bottom: 2.5rem; /* TUNABLE: Space below description */
}

/* Button styles now shared above with .cta-button */

/* Footer / Impressum */
.footer {
    background-color: var(--footer-bg); /* TUNABLE: Footer background color */
    color: var(--footer-text);
    padding: 3rem 0; /* TUNABLE: Vertical padding */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6rem;
}

.footer-content {
    font-family: var(--font-sans);
    font-size: 0.9rem; /* TUNABLE: Footer text size */
    line-height: 1.8;
    display: flex;
    gap: 3rem; /* TUNABLE: Space between footer sections */
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-company {
    color: var(--footer-text);
}

.footer-address {
    color: var(--footer-text); /* TUNABLE: Address text color */
}

.footer-website a {
    color: var(--footer-text);
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-website a:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-subtext {
        font-size: 1rem; /* Tunable: responsive subtext size */
    }

    .hero-visual {
        width: 220px; /* Keep same size as base */
    }

    .services-stack {
        gap: 2.5rem;
    }

    .services-container {
        padding: 0 3rem;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 0 2rem;
    }

    nav {
        gap: 1.5rem;
    }

    nav a {
        font-size: 1rem;
    }

    .theme-toggle {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0.65rem;
    }

    .theme-toggle svg {
        width: 16px;
        height: 16px;
    }

    .hero-container {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .hero-text {
        margin-left: 0;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-subtext {
        font-size: 0.9rem; /* Tunable: mobile subtext size */
        max-width: 100%;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

    .hero-visual {
        width: 220px; /* Keep same size as base */
        margin-left: 0;
        margin-right: 0;
    }

    .services {
        padding: 4rem 0; /* TUNABLE: Reduced vertical spacing on mobile */
    }

    .services-container {
        padding: 0 2rem;
    }

    .services-title {
        font-size: 2rem; /* TUNABLE: Smaller title on mobile */
        margin-bottom: 2.5rem;
    }

    .services-stack {
        gap: 2rem;
    }

    .service-card {
        padding: 2rem; /* TUNABLE: Reduced padding on mobile */
        flex-direction: column !important; /* Stack vertically on mobile */
        gap: 1.5rem;
    }

    .service-card-left,
    .service-card-right {
        flex-direction: column !important; /* Override alternating layout on mobile */
    }

    .contact {
        padding: 5rem 0; /* TUNABLE: Reduced vertical spacing on mobile */
    }

    .contact-title {
        font-size: 2rem; /* TUNABLE: Smaller title on mobile */
    }

    .contact-description {
        font-size: 1rem;
    }

    .footer-container {
        padding: 0 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem; /* TUNABLE: Reduced spacing on mobile */
        text-align: center;
    }
}
