/* RESET & BASE TYPOGRAPHY ----------------------------------------- */
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,
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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #111f28;
  color: #edf6fc;
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #59f0f8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #40bcdf;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 1.5em;
}
strong {
  font-weight: 700;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #8EE5F6;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
@media (min-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.25rem;
  }
}
input, button, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: inherit;
  outline: none;
}
/* Brand Color Variables (Polyfill for old browsers by fallback usage) */
:root {
  --color-primary: #154157;
  --color-secondary: #8FA7B4;
  --color-accent: #EAEAEA;
  --color-dark: #111f28;
  --color-background: #122534;
  --color-gradient: #154157;
  --color-teal: #59f0f8;
  --color-purple: #b09cff;
  --color-shadow: #0e1621;
  --shadow: 0 2px 16px 0 rgba(33,255,248,0.06),
             0 4px 32px 2px rgba(55,122,229,0.07),
             0 2px 4px 0 rgba(16,45,85,0.12);
}

/* LAYOUT & SPACING ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section, section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section, section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 10px;
  }
}

/* FLEXBOX CARD AND GRID PATTERNS -------------------------------------- */
.card-container, .feature-grid, .service-cards, .technology-grid, .project-highlights, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card, .service-card, .testimonial-card {
  margin-bottom: 20px;
  position: relative;
  background: #172436;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.25s;
  border: 1px solid rgba(28,113,232,0.05);
}
.card:hover, .service-card:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 6px 32px 2px rgba(33,255,248,0.25), 0 4px 12px 2px rgba(55,122,229,0.17);
  border-color: #59f0f8;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card-container, .feature-grid, .service-cards, .technology-grid {
    flex-direction: column;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** BUTTONS & CTAs ****************************************************/
.cta, .primary, .secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button, .cookie-modal button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 32px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, border 0.18s, filter 0.18s;
  box-shadow: 0 1px 8px 0 rgba(89,240,248,0.06);
  margin: 6px 0;
  outline: none;
  display: inline-block;
}
.cta,
.primary {
  color: #00131c;
  background: linear-gradient(90deg,#59f0f8 0%,#37d9ff 80%);
  border: 1px solid #59f0f8;
  text-shadow: 0 1px 8px rgba(89,240,248,0.17);
  box-shadow: 0 2px 8px 0 rgba(89,240,248,0.11);
}
.cta h2{
  color: #00131c;
}
.cta.primary:hover, .cta:focus, .primary:focus, .primary:hover {
  background: linear-gradient(90deg,#b09cff 0%, #59f0f8 90%);
  color: #122534;
  border-color: #b09cff;
  filter: brightness(1.08);
}
.secondary {
  background: transparent;
  color: #59f0f8;
  border: 2px solid #59f0f8;
}
.secondary:hover, .secondary:focus {
  background: #122534;
  color: #fff;
  border-color: #b09cff;
}
.mobile-menu-toggle {
  display: none;
  background: #59f0f8;
  color: #172436;
  padding: 10px 18px;
  border-radius: 7px;
  font-size: 1.8rem;
  z-index: 50;
  box-shadow: 0 0 8px 1px #59f0f870;
  margin-left: 10px;
}
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 22px;
    right: 22px;
  }
}

/************ HEADER & NAVIGATION ********************/
header {
  background: #172436;
  width: 100%;
  min-height: 82px;
  box-shadow: 0 2px 24px 0 rgba(89,240,248,0.08);
  border-bottom: 2px solid #37d9ff22;
  position: relative;
  z-index: 60;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  position: relative;
  min-height: 82px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-left: 32px;
  margin-right: auto;
}
.main-nav a {
  color: #b09cff;
  font-size: 1.1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.03em;
  font-weight: 500;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #59f0f8;
}
header .cta.primary {
  margin-left: 8px;
  background: linear-gradient(90deg, #b09cff 0%, #59f0f8 110%);
}
@media (max-width: 992px) {
  .main-nav, header .cta.primary {
    display: none;
  }
  header .container {
    gap: 16px;
    min-height: 68px;
  }
}

/*************** MOBILE NAVIGATION MENU *********************/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #131e29ee;
  transform: translateX(-100vw);
  opacity: 0;
  z-index: 200;
  transition: transform 0.33s cubic-bezier(.73,.08,.37,1.01), opacity 0.22s cubic-bezier(.55,0,.1,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.21s cubic-bezier(.7,.1,.35,.99), opacity 0.31s cubic-bezier(.23,1,.32,1);
  box-shadow: 0 2px 36px 0 #59f0f822;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 0 0;
  background: transparent;
  color: #59f0f8;
  font-size: 2.3rem;
  border: none;
  box-shadow: none;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #b09cff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 38px 0 0 35px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #2b4d5d;
  transition: color 0.16s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #59f0f8;
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}


/****** HERO & SPECIAL TECH-FUTURISTIC ELEMENTS ***********************/
.hero {
  background: linear-gradient(105deg, #154157 55%, #242f49 100%);
  border-radius: 0 0 38px 38px / 0 0 18px 18px;
  box-shadow: 0 8px 48px 8px #59f0f825;
  margin-bottom: 60px;
  padding: 60px 0 80px 0;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  color: #b09cff;
  font-size: 2.4rem;
  text-shadow: 0 2px 24px #b09cff33, 0 0 2px #4af7f5;
}
.hero p {
  color: #edf6fc;
  font-size: 1.22rem;
  margin-bottom: 28px;
  margin-top: 8px;
}
.hero .cta {
  margin-top: 12px;
  min-width: 260px;
}
@media (max-width: 600px) {
  .hero {
    padding: 36px 0 48px 0;
    border-radius: 0 0 18px 18px / 0 0 7px 7px;
    margin-bottom: 32px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
}

/*********** FEATURES, SERVICE, TECHNOLOGY, PROJECTS *******************/
.features .feature-grid > div, .service-card, .technology-grid > div {
  background: #0e1622;
  border-radius: 16px;
  box-shadow: 0 1px 14px 0 rgba(89,240,248,0.06);
  border: 1px solid #22334b;
  padding: 30px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 220px;
  flex: 1 1 278px;
  transition: box-shadow 0.2s, border 0.15s;
  margin-bottom: 20px;
}
.features .feature-grid > div:hover, .service-card:hover, .technology-grid > div:hover {
  border-color: #59f0f8;
  box-shadow: 0 4px 24px 0 #59f0f820, 0 2px 6px 2px #b09cff33;
}
.features img, .service-card img, .technology-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 4px #59f0f825);
}
.features h3, .service-card h2, .technology-grid h2 {
  color: #59f0f8;
  font-size: 1.19rem;
  margin-bottom: 7px;
  margin-top: 7px;
}
.service-card > div strong {
  color: #b09cff;
  font-size: 1.14rem;
  margin-top: 6px;
}
@media (max-width: 768px) {
  .features .feature-grid > div,
  .service-card, .technology-grid > div {
    flex: 1 1 100%;
    min-width: unset;
    padding: 24px 12px;
  }
}

/*********** LISTS, ADDRESS, FOOTER STRUCTURE *******************/
.text-section ul, .benefits-list, .hours-list {
  margin-top: 10px;
  margin-bottom: 13px;
  padding-left: 18px;
  color: #d0eaee;
  font-size: 1rem;
}
footer {
  width: 100%;
  background: #131f2e;
  border-top: 2px solid #59f0f80b;
  font-size: 0.95rem;
  color: #eaeaea;
  margin-top: 46px;
  box-shadow: 0 -2px 32px 0 #b09cff14;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 28px 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #b09cff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  transition: color 0.19s;
}
.footer-nav a:hover {
  color: #59f0f8;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact address {
  font-style: normal;
  font-size: 1.04rem;
  color: #eaeaea;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 10px;
  }
}

/******************* TESTIMONIALS ****************************/
.testimonials {
  margin-bottom: 60px;
}
.testimonials .content-wrapper > h2 {
  color: #b09cff;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #eaeaea;
  color: #172436;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 #59f0f81d;
  margin-bottom: 20px;
  border: 2px solid #b09cff22;
  max-width: 600px;
}
.testimonial-card p {
  color: #18181b;
  font-size: 1.1rem;
  margin-bottom: 7px;
}
.testimonial-card span {
  color: #09adc8;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
}
.ratings {
  color: #b09cff;
  font-size: 1.3rem;
  letter-spacing: 0.07em;
}
@media (max-width: 700px) {
  .testimonial-card {
    max-width: 98%;
    padding: 16px 8px;
  }
}

/***************** SPECIAL COMPONENTS & MODALS *********************/
.certifications {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.certifications img {
  width: 34px;
  height: 34px;
}
.address-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.map-embed {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1d2c40;
  margin-top: 16px;
  border-radius: 9px;
  padding: 14px 12px;
}
.map-embed img {
  min-width: 36px;
  height: 36px;
}

.quick-contact-info, .footer-contact > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

/****************** COOKIE CONSENT BANNER & MODAL ********************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1000;
  background: #131f2f;
  color: #eaeaea;
  padding: 22px 18px 26px 18px;
  box-shadow: 0 -2px 30px 0 #b09cff12;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 2px solid #59f0f834;
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1.05rem;
  color: #eaeaea;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  background: #b09cff;
  color: #122534;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  margin: 0;
  font-size: 1rem;
  min-width: 130px;
  transition: background 0.22s, color 0.22s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #59f0f8;
  color: #02131d;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #b09cff;
  border: 2px solid #b09cff;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #131f2f;
  color: #59f0f8;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 13px 5px 16px 7px;
  }
  .cookie-banner p {
    font-size: 0.98rem;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  z-index: 1100;
  background: #171d24cc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(.66,0,.22,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.24s cubic-bezier(.13, 1, .32, 1);
}
.cookie-modal-content {
  background: #1a2535;
  color: #eaeaea;
  border-radius: 13px;
  padding: 34px 32px 22px 32px;
  box-shadow: 0 4px 32px 0 #59f0f825,
              0 2px 8px 0 #b09cff08;
  min-width: 338px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@media (max-width: 500px) {
  .cookie-modal-content {
    padding: 22px 10px 10px 10px;
    min-width: 80vw;
    gap: 13px;
  }
}
.cookie-modal-content h2 {
  color: #b09cff;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.cookie-switch {
  width: 36px;
  height: 22px;
  border-radius: 10px;
  background: #59f0f880;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  border: 1.6px solid #b09cff;
  margin-left: 12px;
}
.cookie-switch[aria-checked='true'] {
  background: #b09cff;
}
.cookie-switch-label {
  color: #eaeaea;
  font-size: 1rem;
}
.cookie-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #172436;
  box-shadow: 0 1px 6px #59f0f841;
  transition: left 0.2s;
}
.cookie-switch[aria-checked='true'] .cookie-switch-knob {
  left: 16px;
  background: #111f28;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 17px;
  margin-top: 8px;
}
.cookie-modal button {
  background: #b09cff;
  color: #122534;
  border: none;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 700;
  margin: 0;
  font-size: 1rem;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #59f0f8;
  color: #02131d;
}

/********* THANK-YOU PAGE & SIMPLE PAGES *******/
section.thank-you h1, .thank-you h1 {
  color: #59f0f8;
}

/**** ANIMATIONS, SHADOWS, MICRO-INTERACTIONS *******/
.card, .service-card, .feature-grid > div, .technology-grid > div, .testimonial-card {
  will-change: transform, box-shadow, filter;
}
.cta, .primary, .secondary, .cookie-banner button, .cookie-modal button {
  transition: filter 0.19s, box-shadow 0.14s, background 0.15s, color 0.12s, border 0.12s, transform 0.22s;
}
.cta:active, .primary:active, .secondary:active {
  filter: brightness(0.9);
  transform: scale(0.98);
}

/* HIDE UNWANTED OUTLINES */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #b09cff;
  outline-offset: 2px;
}

/***** SELECTION COLORS *******/
::selection {
  background: #59f0f8aa;
  color: #001118;
}

/*********** MISCELLANEOUS *******/
hr {
  border: none;
  border-top: 1.5px solid #8fa7b44f;
  margin: 24px 0;
}

/* Utility for max widths of content inside sections */
section .content-wrapper {
  max-width: 890px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 600px) {
  section .content-wrapper {
    padding: 0 4px;
  }
}

/************ Print safe and large device adjustments *******/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #000; }
}
