/* ===== CSS RESET & NORMALIZE ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #17222D;
  color: #F5F7FA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  /* tech futuristic feel via background gradient, fallback solid color */
  background: linear-gradient(135deg, #224455 0%, #1A2B36 100%);
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: #29e8ff;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #76edfa;
}

strong, b {
  font-weight: 700;
}

/* ===== BRAND TYPOGRAPHY & COLORS ===== */
:root {
  --primary: #224455;
  --secondary: #C1C6C8;
  --accent: #F5F7FA;
  --neon-blue: #29e8ff;
  --neon-teal: #2bffbc;
  --dark-bg: #17222D;
  --mid-bg: #1A2B36;
  --hero-gradient: linear-gradient(120deg, #224455 55%, #14333b 100%);
  --card-bg: #21384A;
  --section-pad: 40px 20px;
  --border-radius: 14px;
  --shadow: 0 3px 14px 0 rgba(41,232,255, 0.11), 0 0px 2px 0 rgba(0,0,0,0.06);
  --transition-main: .25s cubic-bezier(.4,.2,.2,1);
  --font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

p {
  margin-bottom: 15px;
}

/* ====== CONTAINER & LAYOUT GLOBAL ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
/* Footer */
.footer-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 20px 24px 20px;
  background: #17222D;
  border-top: 1px solid #263f4f;
}
.footer-contact {
  color: #C1C6C8;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  display: inline-block;
  height: 1.2em;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #29e8ff;
  font-weight: 500;
  font-size: 15px;
  opacity: 0.86;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #2bffbc;
  text-shadow: 0 0 3px #2bffbc40;
  opacity: 1;
}

/* ===== MAIN NAVIGATION ===== */
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15.2px;
  letter-spacing: 0.5px;
  padding: 7px 6px;
  transition: color .18s, text-shadow .25s;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  position: absolute;
  left: 8px; right: 8px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #29e8ff 0%, #2bffbc 100%);
  opacity: 0;
  transition: opacity .22s;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  opacity: 1;
}
.main-nav a:hover, .main-nav a:focus {
  color: #2bffbc;
  text-shadow: 0 0 8px #29e8ff80;
}

/* ===== CALL TO ACTION BUTTON ===== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background: linear-gradient(90deg, #29e8ff 50%, #2bffbc 100%);
  color: #17222D;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.07rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 3px 18px 0 #29e8ff33, 0 1px 2px #0000000b;
  letter-spacing: 0.7px;
  margin-left: 12px;
  transition: background var(--transition-main), transform .18s;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #2bffbc 0%, #29e8ff 100%);
  color: #14333b;
  transform: translateY(-1px) scale(1.045);
  box-shadow: 0 6px 24px 0 #2bffbc40, 0 3px 6px #00000016;
}

/* ====== MOBILE MENU HAMBURGER ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #29e8ff;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 8px 16px;
  transition: background .18s;
  border-radius: 15px;
  margin-left: 18px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #173d46;
  color: #2bffbc;
}

.mobile-menu {
  position: fixed;
  z-index: 990;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(23,34,45, 0.98);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.47,1.64,.41,.8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  overflow-y: auto;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 28px 0 0 24px;
  align-self: flex-start;
  background: none;
  border: none;
  color: #2bffbc;
  font-size: 2.1rem;
  cursor: pointer;
  opacity: 0.95;
  transition: color .18s, background .15s;
  border-radius: 12px;
  padding: 7px 15px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #29e8ff;
  background: #14333b;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 48px 0 0 36px;
}
.mobile-nav a {
  color: #F5F7FA;
  font-size: 1.36rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 11px 0;
  border-radius: 7px;
  transition: color .15s, background .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #29e8ff;
  background: #14333b;
  outline: none;
}

/* ====== HERO SECTION ===== */
.hero {
  padding: 0;
  background: var(--hero-gradient);
  box-shadow: 0 2px 24px 0 #29e8ff16;
}
.hero .container {
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 44px;
  padding-bottom: 44px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 650px;
  z-index: 1;
}
.hero h1 {
  color: #29e8ff;
  text-shadow: 0 3px 16px #2bffbc52;
  font-size: 2.35rem;
}
.hero p {
  color: #C1C6C8;
  font-size: 1.15rem;
  margin-bottom: 0;
}
.hero .cta-button {
  margin-top: 8px;
}

/* ====== SECTIONS & SPACING ===== */
.section, main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.features {
  margin-bottom: 60px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* ====== CARDS, GRIDS, LISTS ===== */
.feature-grid, .service-list, .technology-grid, .job-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid li, .service-list li, .technology-grid li, .job-listings li {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  flex: 1 1 260px;
  /* force min width for card look */
  min-width: 220px;
  max-width: 335px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .25s, transform .16s, border .19s;
  border: 1.5px solid transparent;
  position: relative;
}
.feature-grid li:hover, .service-list li:hover, .technology-grid li:hover, .job-listings li:hover {
  box-shadow: 0 6px 28px 0 #2bffbc38, 0 4px 8px #00000024;
  border: 1.5px solid #29e8ff;
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}
.feature-grid img {
  height: 38px;
  margin-bottom: 14px;
}
.feature-grid h3, .service-list h3, .technology-grid h3, .job-listings h3 {
  color: #29e8ff;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 9px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  flex: 1 1 300px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ====== TESTIMONIAL CARDS ===== */
.testimonial-card {
  background: #F5F7FA;
  color: #224455;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 22px 0 #29e8ff18, 0 1px 3px #0000000e;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1rem;
  transition: box-shadow .23s, transform .15s;
  border: 1.2px solid #e8f6fb;
  position: relative;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 32px 0 #2bffbc23, 0 2px 9px #00000019;
  transform: translateY(-3px) scale(1.02);
  border-color: #2bffbc;
}
.testimonial-card strong {
  color: #224455;
  font-size: 1.06em;
  margin-left: 12px;
  font-family: var(--font-display);
}
/* trust signals */
.trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}
.trust-signals li {
  background: #224455;
  color: #F5F7FA;
  border-radius: 8px;
  font-size: 0.97em;
  padding: 7px 15px;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 7px #29e8ff17;
}
.project-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}
.project-summary-list li {
  background: #1A2B36;
  color: #29e8ff;
  border-radius: 8px;
  font-size: 1em;
  padding: 7px 16px;
}

/* ====== GENERAL LISTS ===== */
ul li, ol li {
  margin-bottom: 9px;
  font-size: 1em;
}
/* inside .text-section, .content-wrapper, etc */
.text-section ul, .content-wrapper > ul, .content-wrapper > ol {
  margin-bottom: 10px;
  padding-left: 19px;
}
.text-section ul li::before, .content-wrapper > ul li::before {
  content: '\2022 ';
  color: #29e8ff;
  font-size: 1.17em;
  position: absolute;
  left: 0;
  font-weight: 700;
}
.text-section ul li, .content-wrapper > ul li {
  position: relative;
  padding-left: 14px;
}

/* ====== FORM/INPUT (Contact, etc) ===== */
input, textarea, select {
  background: #F5F7FA;
  border: 1.3px solid #224455;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  margin-bottom: 10px;
  color: #142436;
  width: 100%;
  transition: border .2s, box-shadow .19s;
}
input:focus, textarea:focus, select:focus {
  border: 1.3px solid #29e8ff;
  box-shadow: 0 0 0 2px #29e8ff40;
}
button {
  font-family: var(--font-display);
  transition: background .17s, box-shadow .14s, color .15s;
}

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder {
  background: #212f3a;
  border-radius: 12px;
  border: 1px solid #253447;
  padding: 18px 14px;
  color: #c6fafd;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow);
  margin-top: 8px;
  margin-bottom: 15px;
}
.map-placeholder img {
  height: 36px;
}

/* ====== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: #212f3a;
  color: #C1C6C8;
  box-shadow: 0 -3px 24px #29e8ff2c;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 20px;
  font-size: 0.98rem;
  border-top: 2px solid #29e8ff;
  animation: slideUpCookie 420ms cubic-bezier(.14,.9,.44,.98);
}
@keyframes slideUpCookie {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}
.cookie-banner button {
  cursor: pointer;
  border: none;
  border-radius: 30px;
  padding: 11px 23px;
  font-size: 1.01rem;
  font-weight: 600;
  font-family: var(--font-display);
  margin: 0;
  transition: background .17s, box-shadow .15s, color .12s;
}
.cookie-banner .accept {
  background: linear-gradient(90deg, #29e8ff 60%, #2bffbc 100%);
  color: #14333b;
  box-shadow: 0 3px 16px #2bffbc20;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: linear-gradient(90deg, #2bffbc 0%, #29e8ff 100%);
  color: #17222D;
}
.cookie-banner .reject {
  background: none;
  border: 1.5px solid #29e8ff;
  color: #29e8ff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #224455;
  color: #29e8ff;
}
.cookie-banner .settings {
  background: #224455;
  color: #2bffbc;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #29e8ff33;
  color: #29e8ff;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2100;
  inset: 0;
  background: rgba(23,34,45,0.82);
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 400ms cubic-bezier(.16,.9,.38,1.02);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #21384A;
  color: #F5F7FA;
  border-radius: 18px;
  padding: 38px 28px 28px 28px;
  min-width: 320px;
  max-width: 92vw;
  box-shadow: 0 5px 32px #2bffbc25, 0 1px 8px #00001025;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scaleIn .25s;
}
@keyframes scaleIn {
  from { transform: scale(.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 18px;
  background: none;
  border: none;
  color: #2bffbc;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.9;
  border-radius: 7px;
  padding: 3px 9px;
  transition: color .14s, background .13s;
}
.cookie-modal-close:hover {
  background: #14333b;
  color: #29e8ff;
}
.cookie-modal h2 {
  color: #29e8ff;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-setting {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #C1C6C8;
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  border: 1.5px solid #29e8ff;
  transition: background .18s;
}
.cookie-toggle[data-active="true"] {
  background: #29e8ff;
}
.cookie-toggle-circle {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left .25s, background .18s;
}
.cookie-toggle[data-active="true"] .cookie-toggle-circle {
  left: 18px;
  background: #14333b;
}
.cookie-setting label {
  color: #F5F7FA;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-setting[data-locked="true"] .cookie-toggle,
.cookie-setting[data-locked="true"] label {
  opacity: 0.65;
  pointer-events: none;
  font-style: italic;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 17px;
  margin-top: 16px;
}
.cookie-modal button {
  border-radius: 30px;
  padding: 10px 22px;
}
/* ---- END COOKIE BANNER ----- */

/* ===== MOBILE & RESPONSIVE HANDLING ===== */
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
  }
}
@media (max-width: 950px) {
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 880px) {
  .main-nav {
    gap: 14px;
  }
  .feature-grid, .service-list, .technology-grid, .job-listings {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .header-flex {
    gap: 8px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-button {
    margin-left: 0;
    padding: 12px 20px;
  }
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 30px 12px 20px 12px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section, main section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .hero .container {
    padding-top: 28px;
    padding-bottom: 28px;
    min-height: 100px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  .hero p {
    font-size: 1rem;
  }
  /* All flex grids column on sm/mobile */
  .feature-grid, .service-list, .technology-grid, .job-listings, .card-container, .content-grid {
    flex-direction: column;
    gap: 13px;
    align-items: stretch;
  }
  .feature-grid li, .service-list li, .technology-grid li, .job-listings li, .card {
    max-width: 100%;
    min-width: 0;
    padding: 16px 11px;
  }
  .testimonial-card {
    padding: 13px 8px;
    flex-direction: column;
    gap: 12px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .trust-signals, .project-summary-list {
    gap: 7px;
    flex-direction: column;
    padding-left: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    padding: 18px 8px;
  }
  .map-placeholder {
    flex-direction: column;
    gap: 7px;
    padding: 11px 6px;
  }
  .cookie-modal {
    padding: 22px 7px 16px 7px;
    min-width: 0;
  }
}
/* Hide cookie/consent banner on small landscape devices if needed */
@media (max-width: 520px) {
  .cookie-banner {
    font-size: 0.93rem;
    gap: 12px;
    padding: 14px 6px 13px 6px;
  }
}

/* Nested mobile fixes for ultra-small screens */
@media (max-width: 420px) {
  .hero h1 {
    font-size: 1.12rem;
  }
  h2 {
    font-size: 1.11rem;
    margin-bottom: 9px;
  }
  h3 {
    font-size: 0.99rem;
    margin-bottom: 6px;
  }
  .container {
    padding-left: 2px; padding-right: 2px;
  }
}

/* ===== INTERACTIONS & MICROANIMATIONS ===== */
.feature-grid li, .service-list li, .technology-grid li, .job-listings li, .cta-button, .card, .testimonial-card, .main-nav a, .footer-nav a, .mobile-nav a, .cookie-banner button {
  transition: box-shadow .25s, color .18s, background .18s, transform .14s, border .17s, outline .15s;
}

/* Remove last margin on all items */
.feature-grid li:last-child, .service-list li:last-child, .testimonial-card:last-child, section:last-child, .card:last-child {
  margin-bottom: 0 !important;
}

/* ====== Z-INDEX AND NO-OVERLAPS ===== */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 1000;
}

/* ===== ACCESSIBILITY FOCUS RINGS ===== */
a:focus-visible, .cta-button:focus-visible, button:focus-visible, .mobile-nav a:focus-visible {
  outline: 2px solid #29e8ff;
  outline-offset: 2px;
  border-radius: 7px;
}

/* ===== Utility ===== */
.bg-accent {
  background: #2bffbc;
  color: #14333b;
}

/* ===== HIDE FROM SCREEN READER (for decorative-only) ===== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
