/* -----------------------------------
   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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  color: #F6FAFF;
  background: #112430;
  min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* -----------------------------------
   TECH FUTURISTIC BRAND COLORS
----------------------------------- */
:root {
  --primary: #19354A;
  --primary-dark: #162634;
  --secondary: #A9DFFF;
  --accent: #F0C808;
  --accent-light: #FFEDA6;
  --bg: #112430;
  --card-bg: #182633;
  --card-glow: 0 0 18px 2px #00e6ff33;
  --card-border: rgba(169, 223, 255, 0.25);
  --text-main: #F6FAFF;
  --text-high: #e5f5ff;
  --text-dark: #222e34;
  --text-muted: #b5cee7;
  --shadow-strong: 0 6px 32px 0 #12161a40;
  --shadow-soft: 0 2px 8px #00e6ff33;
  --focus-ring: 0 0 0 3px #A9DFFF77;
  --nav-bg: #142535ee;
  --input-bg: #182633;
  --menu-z: 9999;
}

/* -----------------------------------
   TYPOGRAPHY
----------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.14;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 0 8px #00e6ff65, 0 2px 24px #0ff2  ;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, ul li, ol li {
  font-size: 1rem;
  color: var(--text-main);
}
.subtitle {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: var(--secondary);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
strong {
  color: var(--accent);
  font-weight: 700;
}

/* Typography scale: 14px, 16px, 18px, 24px, 32px, 48px */
.text-section {
  margin-bottom: 32px;
}

/* -----------------------------------
   LAYOUT CONTAINERS
----------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--card-bg);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1.5px solid var(--card-border);
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--card-bg);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 28px 20px 24px 20px;
  box-shadow: var(--shadow-soft);
  border: 1.5px solid var(--card-border);
  transition: box-shadow .23s, transform .23s;
}
.card:hover, .service-card:hover {
  box-shadow: 0 0 24px 2px var(--secondary), var(--shadow-strong);
  transform: translateY(-6px) scale(1.018);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card {
  flex: 1 1 240px;
  min-width: 220px;
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1.5px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  padding: 28px 20px 18px 20px;
  color: var(--text-main);
  transition: box-shadow .23s, transform .23s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px !important;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: var(--text-dark);
  border-radius: 16px;
  box-shadow: 0 0 24px #00e6ff26, 0 2px 12px #0002;
  padding: 20px 24px;
  margin-bottom: 24px;
  border-left: 5px solid var(--accent);
  position: relative;
}
.testimonial-card p {
  color: var(--text-dark);
  font-style: italic;
  font-size: 1.13rem;
  margin-bottom: 0;
}
.testimonial-card span {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contact-info {
  margin: 16px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  font-size: 1rem;
}

/* -----------------------------------
   NAVIGATION & HEADER
----------------------------------- */
header {
  padding: 0;
  background: var(--nav-bg);
  box-shadow: 0 2px 24px #00e6ff22;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px 18px;
  gap: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--secondary);
  padding: 7px 16px;
  border-radius: 8px;
  transition: background .2s, color .2s;
  position: relative;
  z-index: 1;
}
header nav a:not(.cta-primary):hover {
  background: #16496944;
  color: var(--accent);
}
.cta-primary {
  background: var(--accent);
  color: #19354A;
  font-weight: bold;
  letter-spacing: 0.01em;
  border-radius: 12px;
  padding: 8px 24px;
  box-shadow: 0 2px 12px #ffd70019;
  transition: background .18s, color .18s, box-shadow .23s, transform .22s;
  border: none;
  outline: none;
  font-size: 1.05rem;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--accent-light);
  color: var(--primary);
  box-shadow: 0 4px 22px #ffd70036;
  transform: scale(1.03);
}

header .mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--accent);
  font-size: 2rem;
  padding: 4px 10px;
  border-radius: 10px;
  transition: background .18s, color .18s;
  margin-left: 14px;
  z-index: 12;
}
header .mobile-menu-toggle:hover {
  background: #F0C80833;
  color: #fff;
}

/* -----------------------------------
   MOBILE MENU
----------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(19,40,60,0.97);
  box-shadow: 0 0 40px #00e6ff22;
  overflow-y: auto;
  z-index: var(--menu-z);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .30s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: var(--accent);
  font-size: 2.6rem;
  border: none;
  outline: none;
  position: absolute;
  top: 27px;
  right: 30px;
  z-index: 12000;
  line-height: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding: 110px 34px 50px 34px;
}
.mobile-nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  background: none;
  border-radius: 10px;
  padding: 14px 18px;
  transition: background .17s, color .17s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover {
  background: #16496933;
  color: var(--accent);
}

/* Hamburger for mobile, hide nav */
@media (max-width: 991px) {
  header nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -----------------------------------
   MAIN CONTENT & STRUCTURE
----------------------------------- */
main {
  width: 100%;
  min-height: 60vh;
  padding-bottom: 40px;
  background: linear-gradient(180deg, #112430 0%, #1A303B 100%);
  position: relative;
  z-index: 2;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

ul, ol {
  list-style: disc inside;
  margin-bottom: 22px;
  margin-left: 15px;
}
ul li, ol li {
  margin-bottom: 9px;
  color: var(--text-high);
}
ul li strong, ol li strong {
  color: var(--accent);
}

/* -----------------------------------
   FOOTER
----------------------------------- */
footer {
  background: var(--primary-dark);
  color: var(--secondary);
  padding: 34px 0 14px 0;
  box-shadow: 0 -2px 26px #15284088;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 8px;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 1rem;
  transition: background .18s, color .18s;
}
footer nav a:hover {
  background: #0ff1;
  color: var(--accent);
}
.brand-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.brand-footer img {
  width: 35px;
  height: 35px;
  margin-bottom: 2px;
}
.brand-footer p {
  color: #e5f5ffbb;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
}

/* -----------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #12273A;
  color: var(--secondary);
  padding: 24px 18px 18px 18px;
  box-shadow: 0 -4px 28px #081a22bb;
  z-index: 15000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
  transition: transform .37s cubic-bezier(.25,.9,.63,1.04), opacity .22s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  color: var(--secondary);
  font-size: 1rem;
  flex: 2;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 0;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  padding: 7px 23px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: var(--primary);
  transition: background .14s, color .14s;
  margin-right: 0;
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.reject {
  background: #182633;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 2px 14px #ffd70055;
  background: var(--accent-light);
}
.cookie-btn.settings:hover {
  background: #d6f2ff;
}
.cookie-btn.reject:hover {
  background: #F0C80833;
  color: #182633;
}

/* Cookie Consent Modal */
#cookie-modal {
  display: none;
  position: fixed;
  z-index: 18000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13,26,36,0.97);
  justify-content: center;
  align-items: center;
}
#cookie-modal.open {
  display: flex;
  animation: cookie-modal-fade-in .38s cubic-bezier(.33,.6,.38,1) both;
}
@keyframes cookie-modal-fade-in {
  0% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal__content {
  background: var(--card-bg);
  color: var(--secondary);
  border-radius: 24px;
  padding: 42px 32px 30px 32px;
  max-width: 420px;
  min-width: 320px;
  box-shadow: 0 0 35px #00e6ff19, 0 8px 48px #0ff1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 2px solid var(--accent);
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 26px;
  font-size: 2rem;
  background: none;
  color: var(--accent);
  border: none;
  cursor: pointer;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent);
  font-size: 1.35rem;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--secondary);
}
.cookie-modal__category input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}
.cookie-modal__category input[type=checkbox]:disabled + label {
  color: #b5cie7;
}
.cookie-modal__buttons {
  display: flex;
  gap: 13px;
  justify-content: center;
}

/* -----------------------------------
   MICRO-INTERACTIONS
----------------------------------- */
a, .cta-primary, .service-card, .card, .mobile-nav a, .cookie-btn {
  transition: all .18s cubic-bezier(.25,0,.34,1);
}

.card:before, .service-card:before {
  /* Neon border glow effect for cards */
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 16px;
  box-shadow: 0 0 28px 4px #00e6ff28;
  pointer-events: none;
  opacity: .40;
}
.card:after, .service-card:after {
  content: '';
  display: none;
}

.cta-primary:focus, .cookie-btn:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (hover: hover) {
  .card:hover, .service-card:hover {
    box-shadow: 0 0 32px 3px var(--accent), var(--shadow-strong);
    border-color: var(--accent);
  }
}

/* -----------------------------------
   RESPONSIVE DESIGN (MOBILE FIRST)
----------------------------------- */
@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    gap: 20px;
  }
  .container {
    padding: 0 10px;
  }
  .content-wrapper, .section {
    padding: 23px 10px;
    border-radius: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.38rem; }
  .content-wrapper, .section {
    padding: 17px 5px;
  }
  .service-list, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    padding: 16px 12px;
    font-size: 1rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .cookie-banner__buttons {
    flex-direction: row;
    gap: 10px;
    width: 100%;
  }
  .brand-footer img {
    width: 30px;
    height: 30px;
  }
  header .container {
    padding: 10px 7px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 2px;
  }
  .content-wrapper, .section {
    border-radius: 11px;
    padding: 11px 2px;
  }
  .mobile-nav {
    padding: 80px 8px 45px 8px;
  }
  .cookie-modal__content {
    min-width: 90vw;
    padding: 19px 6vw 16px 6vw;
  }
}

/* -----------------------------------
   CUSTOM SCROLLBAR STYLING
----------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #174f6c;
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}

/* -----------------------------------
   MISC
----------------------------------- */
hr {
  border: none;
  border-top: 1px solid #234459;
  margin: 28px 0 28px 0;
}

::selection {
  background: #A9DFFF;
  color: #112430;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: var(--input-bg);
  color: var(--secondary);
  border-radius: 7px;
  padding: 10px 12px;
  border: 1.2px solid var(--card-border);
  margin-bottom: 14px;
  width: 100%;
  outline: none;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}

/* -----------------------------------
   BRAND / DECORATIVE ELEMENTS
----------------------------------- */
.section:before, .content-wrapper:before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -7px; left: -7px; right: -7px; bottom: -7px;
  border-radius: 32px;
  pointer-events: none;
}

[class*="card"] {
  overflow: hidden;
}

/* -----------------------------------
   ACCESSIBILITY: HIDE
----------------------------------- */
[hidden], .visually-hidden {
  display: none !important;
}

/* -----------------------------------
   PRINT STYLES
----------------------------------- */
@media print {
  * {
    background: #fff !important;
    color: #222 !important;
    box-shadow: none !important;
  }
  .cookie-banner, .mobile-menu {
    display: none !important;
  }
}
