@font-face {
  font-family: "JetBrains Sans";
  src: url("fonts/JetBrainsSans-Regular.woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Regular.woff2");
}
/* Techy headline font via Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600&display=swap');
:root {
  --bg: #0b0d12;
  --panel: #121520;
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.65);
  --brand-1: #64b5ff;
  --brand-2: #00e5ff;
  --ring: rgba(100, 181, 255, 0.35);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: "JetBrains Sans", Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% 0%, rgba(0,229,255,0.06), transparent 60%),
              radial-gradient(1000px 700px at 10% 20%, rgba(100,181,255,0.07), transparent 60%),
              var(--bg);
}
img { max-width: 100%; height: auto; }
.container { width: min(1240px, 94%); margin: 0 auto; }

/* Header */
.site-header { position: sticky; top: 0; backdrop-filter: blur(10px); background: rgba(255,255,255,0.38); border-bottom: 1px solid rgba(0,0,0,0.06); z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: 0.3px; font-family: 'Space Grotesk', 'JetBrains Sans', system-ui, sans-serif; }
.brand-mark { height: 36px; width: auto; display: block; object-fit: contain; }
.brand-name { font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 14px; font-family: 'Space Grotesk', 'JetBrains Sans', system-ui, sans-serif; }
.nav-links a { color: var(--text); text-decoration: none; opacity: 0.95; }
.nav-toggle { display: none; }
.nav-links.open a { display: inline-block; }
/* Top bar tagline */
.nav-tagline { color: var(--muted); font-size: 14px; letter-spacing: 0.2px; white-space: nowrap; max-width: 52vw; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) { .nav-tagline { max-width: 38vw; } }
@media (max-width: 640px) { .nav-tagline { display: none; } }

/* Buttons */
.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.12); transition: 180ms ease; text-decoration: none; color: var(--text); }
/* Primary buttons: use brand palette yellow/orange, less blue/green */
.btn-primary { background: var(--brand-2); color: #1A1A1A; border-color: rgba(0,0,0,0.14); font-weight: 600; }
.btn-primary:hover { background: #F4C247; box-shadow: 0 0 0 6px var(--ring); }
.btn-outline { background: transparent; }
.btn:hover { box-shadow: 0 0 0 6px var(--ring); transform: translateY(-1px); }

/* Hero */
.hero { text-align: center; padding: 16px 0 28px; }
/* Gradient accent bar under the hero title to reuse the button gradient tastefully */
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; margin: 0 0 10px; font-weight: 700; position: relative; }
.hero h1::after { content: ""; display: block; height: 4px; width: 100px; margin: 8px auto 0; border-radius: 999px; background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); }
.lead { font-size: clamp(15px, 2.2vw, 18px); color: var(--muted); margin: 0 auto 16px; max-width: 680px; }
.cta { display: flex; gap: 12px; justify-content: center; margin-bottom: 26px; }
.hero-logos { opacity: 0.8; }

/* Sections */
#app section { scroll-margin-top: 80px; }
.cards, .stack, .about, .contact { padding: 44px 0; }
.cards h2, .stack h2, .about h2, .contact h2 { font-size: 24px; margin: 0 0 16px; }

/* About us */
.about-us .about-row { display: flex; align-items: center; gap: 20px; }
.about-us .about-photo-wrap { flex: 0 0 auto; }
.about-us .about-photo { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; display: block; border: 3px solid rgba(0,0,0,0.08); box-shadow: 0 0 0 6px var(--ring); }
.about-us .about-text { flex: 1 1 auto; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card { width: 100%; }
.card { background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px; text-align: left; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

.stack-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.stack-list li { padding: 8px 12px; border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; background: rgba(255,255,255,0.03); }

.about p { color: var(--muted); max-width: 800px; margin: 0 auto; }

/* Contact */
.contact-form { display: grid; gap: 12px; max-width: 720px; margin: 0 auto; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); background: var(--panel); color: var(--text); font: inherit; }
input:focus, textarea:focus { outline: none; box-shadow: 0 0 0 6px var(--ring); border-color: transparent; }
.muted { color: var(--muted); font-size: 14px; text-align: center; }

/* Footer */
.site-footer { border-top: 1px solid rgba(0,0,0,0.06); padding: 18px 0; margin-top: 16px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; font-size: 14px; line-height: 1.4; }

/* Responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { gap: 12px; }
  .nav-links a:not(.btn) { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: transparent; border: 1px solid rgba(0,0,0,0.14); border-radius: 8px; color: var(--text); }
  .grid { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .about-us .about-row { flex-direction: column; text-align: center; }
}

:root {
  --bg: #0e0a06;
  --panel: #14100c;
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.7);
  --brand-1: #ff8a00;  /* orange */
  --brand-2: #ff4d00;  /* deep orange */
  --ring: rgba(255, 138, 0, 0.35);
}

/* Orange background glow overrides */
body {
  background: radial-gradient(1200px 800px at 80% 0%, rgba(255,138,0,0.08), transparent 60%),
              radial-gradient(900px 600px at 10% 20%, rgba(255,77,0,0.09), transparent 60%),
              var(--bg);
}

/* Customers carousel */
/*.customers { padding: 64px 0 56px; }*/
/*.customers h2 { font-size: 26px; margin: 0 0 20px; }*/
/*.carousel { position: relative; display: flex; align-items: center; gap: 10px; }*/
/*.carousel-viewport { overflow: hidden; flex: 1; }*/
/*.carousel-track { display: flex; gap: 12px; padding: 4px; margin: 0; list-style: none; will-change: transform; transition: transform 350ms ease; }*/
/*.carousel-item { flex: 0 0 auto; min-width: 140px; text-align: center; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02)); color: var(--muted); font-weight: 600; letter-spacing: 0.2px; }*/
/*.carousel-btn { width: 30px; height: 30px; border-radius: 8px; background: transparent; border: 1px solid rgba(255,255,255,0.14); color: var(--text); cursor: pointer; }*/
/*.carousel-btn:hover { box-shadow: 0 0 0 6px var(--ring); }*/

/*@media (max-width: 640px) {*/
/*  .carousel-item { min-width: 128px; padding: 10px 12px; }*/
}


:root {
  --bg: #0e0a06;
  --panel: #14100c;
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.7);
  --brand-1: #ff8a00;
  --brand-2: #ff4d00;
  --ring: rgba(255, 138, 0, 0.35);
}

:root {
  --bg: #386641; /* deep green background */
  --panel: #2f523a; /* slightly darker panel tone derived from 386641 */
  --text: #F8F3CE; /* light cream for text */
  --muted: rgba(248, 243, 206, 0.75);
  --brand-1: #F97A00; /* orange */
  --brand-2: #FED16A; /* warm yellow */
  --ring: rgba(249, 122, 0, 0.35); /* focus ring based on orange */
}

/* Palette background glow overrides */
body {
  background: radial-gradient(1200px 800px at 80% 0%, rgba(249,122,0,0.10), transparent 60%),
              radial-gradient(900px 600px at 10% 20%, rgba(254,209,106,0.12), transparent 60%),
              var(--bg);
}


/* Light theme override: move away from green to a light cream background */
:root {
  --bg: #FFFBDE; /* requested light cream */
  --panel: #F8F3CE; /* slightly darker surface */
  --text: #1E1E1E; /* dark neutral text */
  --muted: rgba(30, 30, 30, 0.7);
  --brand-1: #F97A00; /* keep brand orange */
  --brand-2: #FED16A; /* warm yellow */
  --ring: rgba(249, 122, 0, 0.25);
}

/* Make the background similar to FFFBDE with no heavy glows */
body { background: var(--bg); color: var(--text); }

/* Light header and borders for light background */
.site-header { background: rgba(255,255,255,0.38); border-bottom: 1px solid rgba(0,0,0,0.06); }
.nav-toggle { border-color: rgba(0,0,0,0.14); color: var(--text); }

/* Buttons and cards/input borders adjusted for light theme */
.btn { border-color: rgba(0,0,0,0.12); color: var(--text); }
.card { background: rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.08); }
input, textarea { border: 1px solid rgba(0,0,0,0.14); background: var(--panel); color: var(--text); }

/* Carousel controls and items on light */
.carousel-item { background: rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.08); color: var(--muted); }
.carousel-btn { border: 1px solid rgba(0,0,0,0.14); color: var(--text); }

/* Footer border on light */
.site-footer { border-top: 1px solid rgba(0,0,0,0.06); }


/* Corrected root selector for light theme (overrides previous ::root) */
:root {
  --bg: #FFFBDE;
  --panel: #F8F3CE;
  --text: #1E1E1E;
  --muted: rgba(30, 30, 30, 0.7);
  --brand-1: #F97A00;
  --brand-2: #FED16A;
  --ring: rgba(249, 122, 0, 0.25);
}

/* Minimal techy + lighter bg + orange accents (session override) */
:root {
  --bg: #FFFDF2; /* cleaner light background */
  --panel: #F8F3CE; /* subtle panel to match palette */
  --text: #1A1A1A;
  --muted: rgba(26, 26, 26, 0.7);
  --brand-1: #F97A00;
  --brand-2: #FED16A;
  --ring: rgba(249, 122, 0, 0.28);
}

/* Typography: use Sora for headings/nav (techy feel) */
h1, h2, h3, .brand, .nav-links { font-family: 'Sora', 'JetBrains Sans', system-ui, sans-serif; }
.nav-links a:hover { color: var(--brand-1); }

/* Buttons */
.btn-outline { border-color: rgba(249, 122, 0, 0.55); color: #7A3F00; }
.btn-outline:hover { background: rgba(249, 122, 0, 0.08); box-shadow: 0 0 0 6px var(--ring); }
/* Ensure primary text is readable on light bg (handled above) */
/* .btn-primary { color: #1E1E1E; } */

/* Header transparency slightly increased for a modern, airy feel */
/* Modern neutral header: subtle glass + 1px gradient hairline */
.site-header { backdrop-filter: blur(10px); background: rgba(255,255,255,0.20); border-bottom: 1px solid rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 20; }
.site-header::after { content: ""; display: block; height: 1px; background: linear-gradient(90deg, rgba(0,0,0,0.08), rgba(0,0,0,0.04)); opacity: 1; }

/* Brand name inherits neutral color for cleaner look */
.brand-name { color: inherit; }
/* Nav hover stays orange with micro-indicator */
.nav-links a:hover { color: var(--brand-1); }
/* Nav micro-indicator */
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: linear-gradient(90deg, var(--brand-1) 0%, var(--brand-2) 100%); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }

/* Subtle orange-tinted border for cards to bring a touch of brand color */
.card { border-color: rgba(249, 122, 0, 0.12); background: rgba(0,0,0,0.02); }

/* Slightly warmer page background to reduce "too white" feel */
:root { --bg: #FFFAE6; }
/* Ultra-soft background glow for depth */
body { background: radial-gradient(1200px 800px at 80% -10%, rgba(249,122,0,0.06), transparent 60%), var(--bg); }

/* Contact form helpers */
.hidden { display: none !important; }
.success { margin-top: 12px; padding: 12px 14px; border: 1px solid rgba(0,0,0,0.12); border-radius: 10px; background: rgba(249, 122, 0, 0.08); color: var(--text); }


/* Primary button focus ring uses orange brand ring for consistency */
.btn-primary:hover, .btn-primary:focus-visible { box-shadow: 0 0 0 6px var(--ring); }




/* Make the whole page ~90% scale on tablet/desktop */
@media (min-width: 641px) {
  body { transform: scale(0.95); transform-origin: top center; }
}

/* Layout spacing adjustments to avoid crowding near the top */
main#app { flex: 1 0 auto; margin-top: 16px; }
#app section + section { margin-top: 12px; }


/* Session overrides: lighter background, footer closer to bottom, subtle accents */
:root { --bg: #FFFEF5; }
body { background: var(--bg); }

/* Footer closer to bottom: reduce extra gap above */
.site-footer { margin-top: 20px; padding-top: 14px; padding-bottom: 14px; } /* increased top margin a bit more to move footer further down */

/* Minimal accents */
.hero h1::after { opacity: 0.6; }
.customers h2::after { content: ""; display: block; height: 1px; width: 120px; margin: 10px auto 0; border-radius: 999px; background: linear-gradient(90deg, var(--brand-1), var(--brand-2)); opacity: 0.25; }

/* Extra spacing between key sections */
#customers { margin-top: 32px; }
#contact { margin-top: 32px; }

/* Reduce space between the Schedule a call button and the footer by 40px */
.contact { padding-bottom: 4px; }
