/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*,*:before,*:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, nav, section, header, footer, address {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary: #1B304B;
  --color-primary-rgb: 27,48,75;
  --color-secondary: #F0A500;
  --color-accent: #F8F8F8;
  --color-dark: #121928;
  --color-body: #e6e8ee;
  --color-white: #fff;
  --color-neon-blue: #0ff1ce;
  --color-neon-green: #26ff92;
  --color-neon-magenta: #f62b94;
  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--color-primary) 0%, #284268 100%);
  color: var(--color-accent);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  font-weight: 700;
  text-shadow: 0 2px 20px var(--color-neon-blue), 0 1px 0 #191a4b33;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 1px 12px var(--color-neon-green);
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
}
p, li, address {
  font-size: 1rem;
  color: var(--color-accent);
}
a {
  transition: color 0.18s;
  color: var(--color-secondary);
}
a:hover, a:focus {
  color: var(--color-neon-blue);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(27,48,75,0.7);
  border-radius: 24px;
  box-shadow: 0 2px 32px 0 #11183a33;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #202944;
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px 0 #009be445;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 42px 0 #0ff1ce77;
  transform: translateY(-6px) scale(1.025);
}

.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: #232D44;
  border-radius: 18px;
  box-shadow: 0 2px 18px #232d4444;
  margin-bottom: 20px;
  min-height: 80px;
}

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

/* NAVIGATION BAR & HEADER */
header {
  background: rgba(22,36,70,0.96);
  box-shadow: 0 2px 22px 0 #191a4b56;
  padding: 0 0 8px 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-accent);
  padding: 6px 14px;
  border-radius: 7px;
  position: relative;
  transition: background 0.2s, color 0.18s;
}
nav a:hover, nav a:focus {
  color: var(--color-neon-blue);
  background: #22396a;
  outline: none;
}
nav a.cta-primary {
  color: #121928;
  background: linear-gradient(85deg, var(--color-secondary) 50%, #ffe78e 100%);
  border-radius: 14px;
  font-size: 1.09rem;
  font-weight: 700;
  box-shadow: 0 3px 22px 0 #f0a50044;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s;
}
nav a.cta-primary:hover, nav a.cta-primary:focus {
  background: linear-gradient(285deg, var(--color-neon-magenta) 0%, var(--color-secondary) 90%);
  color: var(--color-white);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--color-neon-blue);
  background: transparent;
  border-radius: 7px;
  padding: 6px 10px;
  z-index: 101;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #0ff1ce22;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(27,48,75, 0.98);
  z-index: 100;
  box-shadow: 0 8px 48px #0ff1ce33;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.40s cubic-bezier(.67,-0.01,.22,1);
  padding-top: 32px;
  padding-left: 12px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-left: auto;
  margin-right: 10px;
  font-size: 2.2rem;
  color: var(--color-neon-magenta);
  background: transparent;
  border-radius: 7px;
  padding: 6px 10px;
  line-height: 1;
  z-index: 101;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #f62b941e;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.17rem;
  padding: 14px 12px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
  font-weight: 700;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1e3b68;
  color: var(--color-neon-green);
}

/* HERO SECTION */
main > section:first-of-type {
  background: linear-gradient(140deg, rgba(27,48,75,0.98) 32%, rgba(0,255,220,0.09) 100%) !important;
  margin-top: 22px;
  box-shadow: 0 6px 40px #158b7faa;
}

/* TAGS */
.tag {
  display: inline-block;
  font-size: 0.89rem;
  font-weight: 700;
  padding: 2px 10px 2px 10px;
  border-radius: 8px;
  margin-right: 8px;
  margin-bottom: 5px;
  background: linear-gradient(90deg, var(--color-neon-blue) 0%, var(--color-neon-green) 100%);
  color: #17191f;
  box-shadow: 0 1px 12px #0ff1ce44;
  letter-spacing: 0.02em;
  transition: background .22s, box-shadow .22s;
}
.tag:hover {
  background: linear-gradient(90deg, var(--color-neon-magenta) 0%, var(--color-neon-green) 100%);
  color: #fff;
  box-shadow: 0 1px 22px #f62b9444;
}

/* BUTTONS */
.cta-primary, .cta-secondary, button, input[type="button"], input[type="submit"] {
  display: inline-block;
  cursor: pointer;
  font-family: var(--font-display);
  background: linear-gradient(82deg, var(--color-secondary) 58%, #ffe88a 90%);
  color: #17191f;
  border-radius: 13px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 12px 28px;
  border: none;
  margin-top: 16px;
  box-shadow: 0 1.5px 18px #f0a50054;
  text-shadow: 0 1px 2px #ddd2;
  transition: background 0.18s, color 0.18s, transform 0.2s, box-shadow 0.22s;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus, button:hover, button:focus {
  background: linear-gradient(270deg, var(--color-neon-magenta) 0%, var(--color-secondary) 85%);
  color: #fff;
  transform: translateY(-1px) scale(1.025);
  box-shadow: 0 4px 24px #f62b9477;
  outline: none;
}


/* SECTION SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* FOOTER */
footer {
  background: #161d30;
  border-top: 2px solid var(--color-secondary);
  padding: 0;
  position: relative;
}
footer .container {
  padding: 32px 20px 24px 20px;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer img[alt~="Logo"] {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  box-shadow: 0 4px 32px #0ff1ce1b;
  margin-bottom: 10px;
}
footer nav {
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
footer nav a {
  color: var(--color-secondary);
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 4px 0;
  border-radius: 0;
  font-weight: 500;
  position: relative;
  background: none;
  transition: color 0.15s;
}
footer nav a:hover {
  color: var(--color-neon-blue);
}
footer .text-section {
  gap: 16px;
  color: #ccd0d7;
  font-size: 1rem;
  margin-top: 10px;
}
footer .text-section img {
  display: inline;
  width: 18px;
  height: 18px;
  margin-right: 2px;
  margin-bottom: -3px;
}
footer .text-section p {
  line-height: 1.7;
  color: #b1bad6;
}
footer .text-section div a img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  border-radius: 8px;
  background: #202944;
  transition: box-shadow 0.18s;
}
footer .text-section div a:hover img {
  box-shadow: 0 2px 16px #0ff1ce88;
}

/* TABLES & PAGINATION */
nav + ul, nav[role="navigation"] {
  margin-top: 18px;
}
nav[role="navigation"] a, .pagination a {
  display: inline-block;
  padding: 7px 14px;
  margin-right: 8px;
  border-radius: 7px;
  color: var(--color-primary);
  background: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  transition: background 0.17s, color 0.17s;
}
nav[role="navigation"] a:hover, .pagination a:hover {
  background: var(--color-neon-magenta);
  color: #fff;
}

/* MISC COMPONENTS */
ul {
  margin-left: 0;
  padding-left: 0;
  margin-top: 8px;
}
ul li {
  margin-bottom: 10px;
  padding-left: 0;
  color: #f8f8f8;
  line-height: 1.7;
}
ul li:last-child {
  margin-bottom: 0;
}
address {
  font-style: normal;
  margin-top: 14px;
  color: #f8f8f8;
}

/* HERO & SECTION DETAILS */
main section {
  border-radius: 22px;
  box-shadow: 0 2px 24px 0 #2a647988;
  background: rgba(33,47,89,0.86);
}
@media (max-width: 768px) {
  main section, .section {
    padding: 24px 8px;
    margin-bottom: 32px;
    border-radius: 16px;
  }
}

/* RESPONSIVE FLEXBOX RULES */
@media (max-width: 768px) {
  .content-wrapper {
    gap: 12px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .card {
    padding: 20px;
    margin-bottom: 14px;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  header .container {
    flex-direction: row;
    padding: 10px 10px;
  }
}

/* SHOW/HIDE NAV ON MOBILE */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #1B304B 50%, #2d62aa 100%);
  color: var(--color-accent);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 10px 22px 10px;
  box-shadow: 0 -2px 36px #0ff1ce22;
  font-size: 1rem;
  transition: transform 0.45s;
  gap: 18px;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner__msg {
  flex: 1 1 0%;
  margin-right: 18px;
  color: var(--color-accent);
  max-width: 550px;
  font-family: var(--font-body);
}
.cookie-banner button {
  margin: 0 8px 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 10px;
  min-width: 122px;
  padding: 10px 20px;
  box-shadow: 0 2px 16px #009be412;
  background: var(--color-secondary);
  color: #232D44;
  font-weight: 600;
  transition: background 0.14s, color 0.12s;
}
.cookie-banner button.accept {
  background: linear-gradient(270deg,#1efabb 60%,var(--color-secondary) 100%);
  color: #192e43;
}
.cookie-banner button.reject {
  background: linear-gradient(90deg, #f62b94 0%, #f0a500 100%);
  color: #fff;
}
.cookie-banner button.settings {
  background: #132a41;
  color: #fff;
  border: 1px solid #2ee4ff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #0ff1ce;
  color: #17191f;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(27,48,75,0.72);
  z-index: 130;
  align-items: center;
  justify-content: center;
  animation: fadeIn .4s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal__dialog {
  background: #17254e;
  color: var(--color-accent);
  padding: 36px 26px 32px 26px;
  border-radius: 22px;
  box-shadow: 0 4px 48px #0ff1ce13;
  min-width: 320px;
  max-width: 98vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__title {
  font-family: var(--font-display);
  color: var(--color-neon-blue);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-modal__close {
  position: absolute;
  top: 14px; right: 18px;
  background: transparent;
  color: var(--color-neon-magenta);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 10px;
  z-index: 200;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #381e3e17;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.cookie-toggle {
  width: 38px; height: 22px;
  border-radius: 13px;
  background: #252f3f;
  border: 2px solid #093a43;
  position: relative;
  transition: background .22s;
}
.cookie-toggle input[type=checkbox] {
  display: none;
}
.cookie-toggle span {
  display: block;
  width: 16px; height: 16px;
  background: #57ffe1;
  border-radius: 999px;
  position: absolute;
  top: 2px; left: 4px;
  transition: left .22s, background .18s;
}
.cookie-toggle input[type=checkbox]:checked + span {
  left: 18px;
  background: var(--color-neon-green);
}
.cookie-modal__footer {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 15px;
  justify-content: flex-end;
}
.cookie-modal__desc {
  font-size: 0.97rem;
  line-height: 1.5;
  color: #e3eaf4;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ACCESSIBILITY FOCUS */
a:focus, button:focus {
  outline: 2px solid var(--color-neon-blue);
  outline-offset: 2px;
}

/* UTILS */
.hidden {
  display: none !important;
}
.visible {
  display: block !important;
}

/* --- END OF STYLE --- */
