/* ================== 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, font, 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; background: #181F2C; color: #F2F2F2; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border: 0; height: auto; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  margin: 0;
  outline: none;
  box-sizing: border-box;
}


/* ================== CUSTOM PROPERTIES ================== */
:root {
  --color-primary: #1B2A41;
  --color-secondary: #3EDBF0;
  --color-accent: #F2F2F2;
  --color-bg-dark: #181F2C;
  --color-bg-lighter: #222F47;
  --color-neon: #24FFE3;
  --color-gray: #A5B8D0;

  --font-display: 'Ubuntu', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
  --shadow-card: rgba(62, 219, 240, 0.12) 0px 2px 8px 0px;
  --shadow-neon: 0 0 8px #3EDBF0, 0 0 16px #1B2A41;
  --radius-card: 18px;
  --radius-btn: 28px;
}


/* ================== TYPOGRAPHY ================== */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  background-color: var(--color-bg-dark);
  color: var(--color-accent);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
p, li, .footer-contact span, label, input, select, textarea {
  font-size: 1rem;
  color: var(--color-accent);
}
strong { color: var(--color-neon); font-weight: 700; }
a {
  transition: color 0.18s;
  color: var(--color-secondary);
}
a:hover, a:focus {
  color: var(--color-neon);
}


/* ================== LAYOUT: CONTAINER & SECTIONS ================== */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(100deg, #1B2A41 60%, #222F47 100%);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: background 0.3s;
}

/* Card container pattern */
.card-container, .card-grid, .feature-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--color-bg-lighter);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 16px rgba(62,219,240,.10);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  padding: 28px 22px;
  flex: 1 1 320px;
  min-width: 260px;
  z-index: 1;
}
.card:hover, .card:focus {
  box-shadow: 0 0 22px #24FFE3;
  transform: translateY(-2px) scale(1.015);
}

.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: #232942;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 18px 0 rgba(62,219,240,0.09);
  margin-bottom: 20px;
  border-left: 6px solid var(--color-secondary);
  position: relative;
  flex: 1 1 320px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 0 12px #3EDBF0, 0 6px 24px 0 rgba(27, 42, 65, 0.12);
  transform: scale(1.012);
}
.testimonial-card p {
  color: #232942;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 1.06em;
}
.testimonial-card span {
  color: #1B2A41;
  font-size: 0.95em;
  opacity: 0.7;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
  font-weight: 500;
}
li img {
  width: 28px; height: 28px;
  filter: drop-shadow(0 0 4px #3EDBF0);
}


/* ================== HEADER & NAVIGATION ================== */
header {
  width: 100%;
  background: #181F2C;
  box-shadow: 0 1px 14px 0 rgba(41, 60, 77, 0.09);
  border-bottom: 1px solid #232e48;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 14px;
}
header img {
  height: 46px;
  transition: filter 0.25s;
}
nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  color: var(--color-gray);
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 12px 7px 10px;
  border-radius: 10px;
  transition: background 0.22s, color 0.22s;
}
nav a:hover, nav a:focus {
  background: #232F47;
  color: var(--color-neon);
}
nav .btn-primary {
  margin-left: 14px;
}


/* ================== BUTTONS & LINKS ================== */
.btn-primary {
  background: linear-gradient(100deg, var(--color-secondary) 60%, var(--color-neon) 120%);
  color: var(--color-primary);
  border: none;
  font-family: var(--font-display);
  font-size: 1.12em;
  font-weight: 600;
  padding: 11px 38px;
  border-radius: var(--radius-btn);
  box-shadow: 0 0 6px 2px #3EDBF0c0;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, transform 0.15s, box-shadow 0.15s;
  margin-top: 10px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  text-shadow: 0 1px 5px #F2F2F2CC;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(100deg, var(--color-neon) 40%, var(--color-secondary) 120%);
  color: var(--color-primary);
  box-shadow: 0 0 18px 6px #3EDBF0;
  transform: translateY(-2px) scale(1.04);
}

/* Links within body text */
p a, .content-wrapper a:not(.btn-primary) {
  color: var(--color-secondary);
  border-bottom: 1px dashed var(--color-secondary);
  padding-bottom: 2px;
  transition: color 0.14s, border 0.13s;
}
p a:hover, .content-wrapper a:not(.btn-primary):hover {
  color: var(--color-neon);
  border-bottom: 1px solid var(--color-neon);
}


/* ================== FOOTER ================== */
footer {
  background: #192435;
  padding: 32px 0 14px 0;
  box-shadow: 0 -2px 20px 0 #3EDBF020;
  border-top: 1px solid #232F47;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  justify-content: space-between;
}
footer img {
  height: 38px;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 6px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--color-gray);
  font-size: 0.94em;
}
footer > .container > span {
  font-size: 0.93em;
  color: #707E99;
  margin-top: 8px;
  flex-basis: 100%;
}


/* ============ SPECIAL: INDEX PAGE HIGHLIGHTS, SOCIALS, ABOUT =========== */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.social-links span {
  font-size: 1em;
  opacity: 0.77;
  margin-right: 6px;
}
.social-links a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: box-shadow 0.18s, background 0.13s;
}
.social-links a img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 2px #3EDBF099);
}
.social-links a:hover, .social-links a:focus {
  background: #1B2A41;
  box-shadow: 0 0 8px #3EDBF0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.map {
  margin-top: 16px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 2px 10px 0 #3EDBF022;
}


/* ================== MOBILE MENU OVERLAY ================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--color-secondary);
  cursor: pointer;
  z-index: 210;
  margin-left: 16px;
  line-height: 1;
  transition: background 0.16s, box-shadow 0.13s;
  border-radius: 6px;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #232F47;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,42,65,0.98);
  transform: translateX(-100vw);
  transition: transform 0.41s cubic-bezier(.83,0,.36,1.17);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  padding-top: 34px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  color: var(--color-secondary);
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  z-index: 2550;
  border-radius: 10px;
  padding: 2px 8px;
  transition: background 0.16s;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  background: #232F47;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 66px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18em;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid #253355;
  background: #19294533;
  border-radius: 8px 0 0 8px;
  transition: background 0.18s, color 0.16s;
  min-width: 120px;
  min-height: 34px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #222F47;
  color: var(--color-neon);
}


/* ================ COOKIE CONSENT BANNER & MODAL ================ */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: rgba(27,42,65,0.98);
  color: var(--color-accent);
  padding: 24px 24px 16px 24px;
  box-shadow: 0 -2px 28px 0 #3EDBF024;
  border-radius: 20px 20px 0 0;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookie-slide 0.7s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-slide {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 0.98em;
  text-align: center;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}
.cookie-consent-btn {
  font-family: var(--font-display);
  font-size: 1.13em;
  font-weight: 700;
  border: none;
  border-radius: 13px;
  padding: 10px 23px;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, box-shadow 0.17s;
  margin-bottom: 4px;
}
.cookie-consent-btn.accept {
  background: linear-gradient(100deg, var(--color-secondary) 60%, var(--color-neon) 120%);
  color: var(--color-primary);
  box-shadow: 0 0 8px #3EDBF080;
}
.cookie-consent-btn.accept:hover, .cookie-consent-btn.accept:focus {
  background: linear-gradient(100deg, var(--color-neon) 40%, var(--color-secondary) 120%);
  color: var(--color-primary);
  box-shadow: 0 0 14px #3EDBF0;
}
.cookie-consent-btn.reject {
  background: #232F47;
  color: var(--color-accent);
}
.cookie-consent-btn.reject:hover, .cookie-consent-btn.reject:focus {
  color: var(--color-neon);
  background: #1B2A41;
  box-shadow: 0 0 11px #3EDBF044;
}
.cookie-consent-btn.settings {
  background: none;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-consent-btn.settings:hover, .cookie-consent-btn.settings:focus {
  color: var(--color-neon);
  border-color: var(--color-neon);
  background: #232F47;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 97vw;
  max-width: 380px;
  background: #192945;
  color: var(--color-accent);
  box-shadow: 0 8px 36px #3EDBF099;
  border-radius: 25px;
  z-index: 5100;
  transform: translate(-50%, -50%) scale(1.06);
  padding: 30px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: cookie-modal-fade 0.58s cubic-bezier(.5,0,.15,.9);
}
@keyframes cookie-modal-fade {
  from { opacity: 0; transform: translate(-50%,-50%) scale(0.92); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1.06); }
}
.cookie-modal h2 {
  color: var(--color-neon);
  font-size: 1.19em;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 1.01em;
}
.cookie-modal label {
  flex: 1 1 auto;
  font-weight: 500;
  color: var(--color-accent);
}
.cookie-modal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-secondary);
}
.cookie-modal .essential {
  color: var(--color-neon);
  font-weight: bold;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-secondary);
  cursor: pointer;
  z-index: 1;
  border-radius: 8px;
  transition: background 0.15s;
  padding: 2px 4px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #232F47;
}


/* ================== RESPONSIVE BREAKPOINTS ================== */
@media (max-width: 1024px) {
  .container {
    max-width: 92vw;
    padding: 0 10px;
  }
  nav, footer .container {
    gap: 18px;
  }
}
@media (max-width: 850px) {
  .footer-contact {
    gap: 4px;
  }
  .footer-contact span {
    font-size: 0.9em;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .container, footer .container { max-width: 100vw; padding-left: 4vw; padding-right: 4vw; }
  .section { padding: 26px 8px; }
  .testimonial-card, .card {
    padding: 17px 10px;
    min-width: 98px;
  }
  .card-container, .content-grid, .feature-list {
    gap: 10px;
  }
  .footer-contact { gap: 2px; }
  .footer-contact span { font-size: 0.89em; }
}
@media (max-width: 600px) {
  .content-wrapper {
    gap: 13px;
  }
  .section {
    margin-bottom: 28px;
  }
  header .container {
    gap: 6px;
    min-height: 54px;
  }
  nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  footer .container {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .card-container, .content-grid, .feature-list {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
    padding: 13px 8px;
    font-size: 0.98em;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .cookie-modal {
    max-width: 97vw;
    padding: 17px 7px 11px 7px;
  }
  .mobile-nav a {
    padding: 14px 0 14px 22px;
    font-size: 1.03em;
  }
}

/* ========== END OF RESPONSIVE ========== */


/* ================== MISC: ANIMATIONS & EFFECTS ================== */
.card, .testimonial-card, .btn-primary, .cookie-consent-banner, .cookie-modal {
  will-change: transform, box-shadow;
}
.section::before {
  content: '';
  position: absolute;
  right: -38px;
  top: -38px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(150deg, #3EDBF0 0%, transparent 75%);
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}
.section::after {
  content: '';
  position: absolute;
  left: -30px;
  bottom: -24px;
  width: 60px; height: 60px;
  border-radius: 32% 68% 64% 36%/60% 35% 65% 40%;
  background: linear-gradient(120deg, #24FFE3 0%, transparent 100%);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

/* ================== PRINT OPTIMIZATION ================== */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #222 !important;
  }
  .card, .testimonial-card, .section, .content-wrapper {
    background: none !important;
    box-shadow: none !important;
  }
}
