/* -------------------------
   CSS RESET & BASE STYLES
-------------------------- */
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,
main, 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 {
  font-size: 16px;
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #101726;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #f6f8fb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

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

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #26aacd;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}

:root {
  --color-primary: #19557a;
  --color-secondary: #26aacd;
  --color-accent: #f6f8fb;
  --color-bg: #101726;
  --color-card-bg: #1b243c;
  --color-highlight: #02edf9;
  --color-border: #233652;
  --header-height: 72px;
  --shadow: 0 4px 32px 0 rgba(38, 170, 205, 0.11), 0 1.5px 5px 0 rgba(25, 85, 122, 0.08);
  --radius: 16px;
  --radius-small: 8px;
  --transition: 0.28s cubic-bezier(0.47,0,0.745,0.715);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Source Sans Pro', Arial, sans-serif;
}

/* ---------------------
   TYPOGRAPHY
---------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 32px #19557a33;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}

p, li, address, blockquote, cite {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #e7efff;
}
p:not(:last-child), ul:not(:last-child), ol:not(:last-child) {
  margin-bottom: 16px;
}
strong {
  color: var(--color-secondary);
}

blockquote {
  font-style: italic;
  color: #101726;
  background: var(--color-accent);
  border-left: 4px solid var(--color-secondary);
  padding: 16px 24px;
  border-radius: var(--radius) 0 0 var(--radius);
  margin-bottom: 12px;
}
cite {
  display: block;
  font-size: 0.96em;
  color: #19557a;
  margin-top: -8px;
}

/* ---------------------
   LAYOUT & SECTIONS
---------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
main {
  min-height: 60vh;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  background: transparent;
  border-radius: var(--radius);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.text-section {
  background: rgba(35, 54, 82, 0.63);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: 0 2px 16px 0 rgba(25,85,122,0.07);
  margin-bottom: 20px;
}

/* ---------------------
   FLEXBOX PATTERNS
---------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  flex: 1 1 250px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  color: #2e4059;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px 0 #26aacd22;
  margin-bottom: 20px;
  flex-direction: column;
  border: 1.5px solid var(--color-secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.services-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0;
}
.services-section > div {
  background: var(--color-card-bg);
  padding: 22px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 280px;
  min-width: 250px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
  border: 1.5px solid #23365255;
  position: relative;
}
.services-section > div:hover, .services-section > div:focus {
  box-shadow: 0 6px 40px 0 #02edf966, 0 2px 8px #19557a33;
  transform: translateY(-6px) scale(1.012);
  border: 1.5px solid var(--color-secondary);
}

.pricing-summary {
  background: #122035;
  border-radius: var(--radius-small);
  padding: 18px 22px;
  margin-top: 18px;
  box-shadow: 0 2px 10px #26aacd22;
}
.pricing-summary ul li {
  color: #c6e1ef;
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
}
.pricing-summary ul li:before {
  content: '\2022';
  color: var(--color-highlight);
  font-size: 18px;
  position: absolute;
  left: 0;
}

/* ---------------------
   HEADER & NAVIGATION
---------------------- */
header {
  width: 100%;
  background: #111c2b;
  box-shadow: 0 2px 32px #19557a20, 0 1.5px 5px #19557a10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 50;
}
header img {
  height: 40px;
  margin-right: 14px;
}
.main-nav {
  display: flex;
  gap: 22px;
  margin-left: 18px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: #c6e1ef;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
  transition: color 0.16s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #02edf9 0%, #26aacd 100%);
  transition: width 0.28s;
  position: absolute;
  left: 0; bottom: 0;
  border-radius: 3px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #fff;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg,#02edf9 30%,#26aacd 100%);
  color: #101726;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
  padding: 12px 26px;
  border-radius: var(--radius-small);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 18px #02edf955;
  margin-left: 30px;
  outline: none;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.cta-button:before {
  content: '';
  position: absolute;
  left: -75%; top: 40%;
  width: 40%; height: 200%;
  background: #fff8;
  transform: rotate(30deg);
  filter: blur(8px);
  transition: left 0.36s cubic-bezier(.6,.2,.1,1.0), opacity 0.24s;
  opacity: 0.3;
}
.cta-button:hover:before {
  left: 140%; opacity: 0.5;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #26aacd 0%, #02edf9 100%);
  color: #0b1a2f;
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 4px 26px #02edf966;
}
.cta-secondary {
  background: linear-gradient(90deg, #19557a 30%, #26aacd 100%);
  color: #f6f8fb;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: linear-gradient(90deg, #26aacd 0%, #19557a 100%);
  color: #f6f8fb;
}

.mobile-menu-toggle {
  display: none;
  background: #101726;
  border: none;
  color: #02edf9;
  font-size: 2rem;
  padding: 8px 14px;
  margin-left: 18px;
  border-radius: var(--radius-small);
  cursor: pointer;
  z-index: 1200;
  transition: background 0.2s, color 0.2s, box-shadow 0.26s;
  box-shadow: 0 1px 6px #26aacd22;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #26aacd;
  color: #101726;
  box-shadow: 0 2px 12px #02edf955;
}

/* ----------------------
   MOBILE MENU OVERLAY
---------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19, 29, 41, 0.97);
  z-index: 1010;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--transition), opacity 0.35s;
}
.mobile-menu.active {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: #02edf9;
  margin: 18px 28px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.2s;
  z-index: 1204;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding: 40px 32px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 10px 0;
  width: 100%;
  transition: color 0.2s;
  border-bottom: 1px solid #23365244;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #02edf9;
}

/* Hide desktop nav, show burger on small screens */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    padding: 0 7vw;
    height: auto;
    min-height: var(--header-height);
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .section, section {
    padding: 25px 5px;
  }
  .services-section {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid, .card-container {
    gap: 10px;
    flex-direction: column;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .text-section {
    padding: 20px 10px;
  }
}

/* ---------------------------
   FOOTER
---------------------------- */
footer {
  background: #122035;
  color: #cedcee;
  padding: 40px 0 12px 0;
  margin-top: 36px;
  position: relative;
  border-top: 2px solid #23365255;
}
.footer-nav {
  display: flex;
  gap: 18px;
  margin: 14px 0 8px 0;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #26aacd;
  font-size: 0.98rem;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  margin: 10px 0 20px 0;
  color: #c6e1ef;
  font-size: 0.98rem;
}
footer .content-wrapper {
  align-items: center;
  gap: 12px;
}
footer img {
  height: 36px;
  margin-bottom: 12px;
}
footer p {
  color: #7797b5;
  font-size: 0.97rem;
  text-align: center;
}

/* ---------------------------
   BUTTONS & INTERACTIONS
---------------------------- */
button, .cta-button {
  font-family: var(--font-display);
  border: none;
}
button:focus-visible, .cta-button:focus-visible {
  outline: 2px dashed var(--color-highlight);
  outline-offset: 2px;
}

/* ---------------------------
   COOKIE BANNER & MODAL
---------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #101726e9;
  color: #fff;
  z-index: 1400;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  box-shadow: 0 -4px 24px #02edf922;
  gap: 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: transform 0.45s var(--transition), opacity 0.3s;
  border-radius: var(--radius) var(--radius) 0 0;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-small);
  padding: 8px 20px;
  font-size: 0.97rem;
  border: none;
  cursor: pointer;
  background: var(--color-highlight);
  color: #0b1a2f;
  box-shadow: 0 1px 6px #02edf922;
  margin: 0 2px 0 0;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s, transform 0.18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #26aacd;
  color: #fff;
  transform: translateY(-2px) scale(1.055);
  box-shadow: 0 2px 16px #02edf955;
}
.cookie-banner .cookie-settings-btn {
  background: #1b243c;
  color: #02edf9;
  border: 1.3px solid #02edf9;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  border: 1.3px solid #26aacd;
  background: #26aacd;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1500;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(19,29,41,0.94);
  align-items: center;
  justify-content: center;
  padding: 32px 14px;
  transition: opacity 0.3s;
}
.cookie-modal.active {
  display: flex;
  animation: cookie-modal-in 0.4s 1 cubic-bezier(.6,.2,.1,1.0);
}
@keyframes cookie-modal-in {
  from {opacity: 0; transform: scale(0.93);}
  to {opacity: 1; transform: scale(1.0);}
}
.cookie-modal-content {
  background: #f6f8fb;
  color: #101726;
  border-radius: var(--radius);
  box-shadow: 0 4px 32px #02edf955, 0 1.5px 5px #19557a11;
  max-width: 400px;
  width: 100%;
  padding: 34px 44px 28px 44px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeInUp 0.27s;
}
@keyframes fadeInUp {
  from{transform:translateY(18px); opacity:0;}
  to{transform:translateY(0); opacity:1;}
}
.cookie-modal-content h2 {
  color: #19557a;
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-category label {
  font-size: 1rem;
  color: #122035;
}
.cookie-category input[type="checkbox"] {
  accent-color: #02edf9;
  width: 18px; height: 18px;
}
.cookie-category input[disabled] {
  accent-color: #26aacd;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}
.cookie-modal-content button {
  font-family: var(--font-display);
  padding: 8px 22px;
  border-radius: var(--radius-small);
  background: #02edf9;
  color: #101726;
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.cookie-modal-content button:hover, .cookie-modal-content button:focus {
  background: #26aacd;
  color: #fff;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 24px;
  background: none;
  border: none;
  color: #26aacd;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #19557a;
}

@media (max-width: 480px) {
  .cookie-modal-content {
    max-width: 96vw;
    padding: 20px 10px 18px 10px;
  }
}

/* ---------------------------
   UTILITIES
---------------------------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }

/* ---------------------------
   SCROLLBAR - TECH STYLE
---------------------------- */
html::-webkit-scrollbar {
  width: 12px;
  background: #0f1e2a;
}
html::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg,#19557a 55%,#02edf9 100%);
  border-radius: 6px;
}

/* --------------------------
   SECTIONS & CARDS EFFECTS
--------------------------- */
section {
  background: radial-gradient(ellipse at top, #19557a33 14%,rgba(25,85,122,0.02) 100%), var(--color-bg);
  border-radius: var(--radius);
  box-shadow: 0 2.5px 18px #26aacd0a;
}
.card, .services-section > div {
  transition: box-shadow var(--transition), border var(--transition), transform var(--transition);
}
.card:hover, .services-section > div:hover {
  box-shadow: 0 8px 36px #02edf966, 0 3px 10px #19557a33;
  border: 2px solid var(--color-highlight);
  transform: translateY(-6px) scale(1.016);
}

/* Ensure no content overlap / spacing */
.section, section, .content-wrapper, .card, .testimonial-card, .services-section > div {
  margin-bottom: 20px;
}
.content-wrapper:last-child, .section:last-child, section:last-child {
  margin-bottom: 0;
}

/* -------------------------
   FORMS (Contact, Cookie)
--------------------------- */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 14px;
  border-radius: var(--radius-small);
  border: 1px solid #23365277;
  background: #0f1e2a;
  color: #fff;
  outline: none;
  margin-bottom: 14px;
  box-shadow: 0 1.5px 8px #19557a0d;
  transition: border 0.22s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.6px solid var(--color-highlight);
  box-shadow: 0 1.5px 16px var(--color-secondary)33;
}

/* ------------------------
   MISC & EFFECTS
------------------------- */
.neon {
  color: #02edf9;
  text-shadow: 0 0 7px #02edf9cc, 0 0 16px #19557a77;
}
.accent-bg {
  background: var(--color-accent);
  color: #101726;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in 0.88s cubic-bezier(0.47,0,0.745,0.715) forwards;
}
@keyframes fade-in {
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* --------------------------
   PRINT
--------------------------- */
@media print {
  *, *:before, *:after {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
}
