/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, img, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img, picture {
  max-width: 100%;
  display: block;
  height: auto;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

/* BRAND & TYPE SETTINGS */
:root {
  --primary: #243E60;
  --secondary: #A3B7C8;
  --accent: #EFC84A;
  --bg-base: #192132;
  --bg-section: #222e46;
  --bg-light: #f5f7fa;
  --text-main: #EEF2F6;
  --text-dark: #222e46;
  --text-light: #c8e2fa;
  --card-bg: #222e46;
  --shadow: 0 2px 16px 0 rgba(19,26,46,0.12);
  --radius: 16px;
  --trans: 0.25s cubic-bezier(.41,1.04,.78,.48);
}

body {
  background: var(--bg-base);
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Titillium Web', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
h1 { font-size: 2.3rem; line-height: 1.1; }
h2 { font-size: 1.75rem; line-height:1.15; }
h3 { font-size: 1.25rem; line-height:1.2; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, li, blockquote, small { color: var(--text-light);}
strong { color: var(--accent); font-weight: 700;}

/* LINKS */
a { color: var(--accent); transition: color var(--trans); }
a:hover,
a:focus { color: #fff200; text-shadow:0 0 4px var(--accent);}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-section);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  transition: transform var(--trans), box-shadow var(--trans);
}
.card:hover {
  transform: translateY(-6px) scale(1.018);
  box-shadow: 0 8px 32px 0 #00283c66, var(--shadow);
}
.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: var(--bg-light);
  color: var(--text-dark);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(33,61,113,0.09);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION (special) */
.hero-section {
  position: relative;
  width: 100%;
  padding: 64px 0 48px 0;
  background: linear-gradient(135deg, #223453 0%, #2B4372 65%, #263A69 100%);
  box-shadow: 0 8px 32px 0 #243e6066;
}
.hero-section h1 {
  color: #fff;
  font-size: 2.7rem;
  line-height: 1.08;
  text-shadow: 0 0 24px #12355da0, 0 2px 10px #0008;
}
.hero-section p {
  color: #eaffff;
  font-size: 1.175rem;
  margin-bottom: 18px;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 134px;
  padding: 13px 36px;
  border-radius: 28px;
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 700;
  background: linear-gradient(90deg, #263A69 0%, #A3B7C8 100%);
  color: #fff;
  border: none;
  box-shadow: 0 2px 24px 0 #18396744, 0 1px 6px 0 #222e4644;
  letter-spacing: .065em;
  cursor: pointer;
  transition: background var(--trans), box-shadow var(--trans), color var(--trans);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(110deg, transparent, #EFC84A33 70%, transparent 100%);
  opacity: 0;
  transition: opacity .21s;
  pointer-events: none;
}
.btn-primary:focus,
.btn-primary:hover {
  background: #243E60;
  color: var(--accent);
  box-shadow: 0 2px 32px 0 #EFC84A88;
}
.btn-primary:hover::after {
  opacity: 1;
}

/* MAIN NAV */
header {
  width: 100%;
  background: #151c29;
  box-shadow: 0 1px 24px 0 #2a487c19;
  position: sticky;
  top: 0;
  z-index: 40;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 15px 0 10px 0;
}
.main-nav a {
  font-family: 'Titillium Web', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  color: var(--secondary);
  position: relative;
  transition: color var(--trans), text-shadow var(--trans);
  padding: 6px 8px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  text-shadow: 0 0 8px #EFC84A, 0 0 2px #243E60;
}
.main-nav .btn-primary {
  margin-left: 20px;
  font-size: 1rem;
  background: linear-gradient(90deg, #EFC84A 0%, #263A69 100%);
  color: var(--primary);
}
.main-nav .btn-primary:hover { color: #fff; background: var(--primary); }
.main-nav img { height: 38px; width: auto; margin-right: 12px; vertical-align: middle;}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--accent);
  font-size: 2.15rem;
  border: none;
  padding: 8px 16px;
  margin-left: auto;
  cursor: pointer;
  transition: color var(--trans);
  z-index: 51;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #fff200;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(26,35,60,0.98);
  box-shadow: 0 8px 48px 0 #0009;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.7,0.2,0.19,1.02);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--accent);
  font-size: 2.5rem;
  border: none;
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 1002;
  transition: color var(--trans);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff200;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  align-items: center;
  margin-top: 56px;
}
.mobile-nav a {
  font-family: 'Titillium Web', Arial, sans-serif;
  color: #fff;
  font-size: 1.33rem;
  padding: 12px 0;
  width: 90%;
  text-align: center;
  border-radius: 6px;
  transition: background var(--trans), color var(--trans);
}
.mobile-nav a:active,
.mobile-nav a:hover {
  background: #EFF4F9;
  color: var(--primary);
}

/* SECTIONS & FLEX PATTERNS */
section {
  margin-bottom: 60px;
}
.services-grid, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 10px;
}
.services-grid article, .services-list > div {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 1.5px 16px 0 #243e6044;
  padding: 25px 20px 18px 20px;
  min-width: 245px;
  flex: 1 1 250px;
  transition: transform var(--trans);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.services-grid article:hover, .services-list > div:hover {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 7px 30px 0 #EFC84A33;
}

/* Features List */
.content-wrapper ul, .text-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 0;
}
.content-wrapper ul li, .text-section ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.06rem;
  color: #eaf6ff;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  background: rgba(36,62,96,0.09);
  border-radius: 5px;
  min-height: 44px;
}
.content-wrapper ul li img {
  height: 32px;
  width: 32px;
  margin-right: 5px;
  display: inline-block;
}
.text-section ul strong { color: var(--accent); }

/* Testimonials */
.testimonial-card {
  border-left: 5px solid var(--accent);
  background: var(--bg-light);
  color: var(--text-dark);
  box-shadow: 0 6px 32px 0 #b5d6f511;
  margin-bottom: 22px;
  padding: 24px 22px;
  border-radius: 11px;
  max-width: 600px;
}
.testimonial-card blockquote {
  color: #192132;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.5;
}
.testimonial-card span, .testimonial-card > div {
  color: #243E60;
  font-size: 0.95rem;
  font-weight: 600;
}
.testimonial-card img {
  height: 25px;
  margin-right: 2px;
  vertical-align: middle;
}

/* Offer Lists, Cookie Policy, Text Sections */
.content-wrapper ul li small,
.text-section p, .text-section ul,
.text-section h2, .text-section h3 {
  color: var(--text-light);
}
.text-section h2, .text-section h3 {
  margin-top: 16px; margin-bottom: 8px;
}
.text-section ul li { background: none; border-left: none; padding-left: 0;}

/* Footer */
footer {
  margin-top: 32px;
  background: #181f2c;
  color: #bfe3fc;
  width: 100%;
  padding: 28px 0 12px 0;
  border-top: 2px solid #25334d;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 220px;
}
.footer-brand img { height: 38px; margin-bottom: 8px; }
.footer-brand p { color: #9cb4cb; font-size: 0.98rem; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #A3B7C8;
  font-size: .97rem;
  transition: color var(--trans);
}
.footer-nav a:hover,
.footer-nav a:focus { color: var(--accent); }
.footer-social {display: flex; gap: 16px; align-items: center;}
.footer-social a img {height: 26px;}
.footer-info {width: 100%;display: flex;align-items: flex-end;}
.footer-info small { font-size: .96rem; color: #637e98; }

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #131c2b;
  box-shadow: 0 -3px 24px 0 #121d3344;
  padding: 28px 12px 18px 12px;
  z-index: 9004;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1.09rem;
  color: var(--text-main);
  transition: transform .45s;
  transform: translateY(0);
}
.cookie-banner.hide { transform: translateY(100%); }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  display: inline-block;
  padding: 11px 24px;
  font-family: 'Titillium Web', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  margin: 0 3px;
  box-shadow: 0 1px 7px 0 #212c3948;
  transition: background var(--trans), color var(--trans);
  cursor: pointer;
  border: none;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #263A69;
}
.cookie-btn.reject {
  background: #f8cbe2;
  color: #822056;
}
.cookie-btn.settings {
  background: var(--card-bg);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.cookie-btn.accept:hover { background: #fdec70; color: #1a1d22;}
.cookie-btn.reject:hover { background: #eb6bb6; color: #fff;}
.cookie-btn.settings:hover { background: var(--accent); color: #243E60;}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #202d48;
  color: #fff;
  padding: 38px 32px 26px 32px;
  border-radius: 18px;
  box-shadow: 0 8px 64px 0 #1a2657c2;
  z-index: 9999;
  min-width: 330px;
  max-width: 96vw;
  max-height: 90vh;
  overflow-y: auto;
  animation: fadeInModal .5s cubic-bezier(.1,.74,.51,.91);
}
.cookie-modal.open {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 { color: var(--accent); font-size: 1.32rem; margin-bottom: 8px; }
.cookie-modal .cookie-cats {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-cat-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #233658;
  border-radius: 11px;
  padding: 13px 18px;
  font-size: 1rem;
}
.cookie-cat-row label { font-weight:700; font-size:1.06rem;letter-spacing:.01em; }
.cookie-cat-row .switch {
  margin-left: auto;
  position: relative;
  width: 48px; height: 26px;
}
.switch input { display: none;}
.switch span {
  position: absolute; left:0;top:0; right:0; bottom:0;
  background: #30507A;
  border-radius: 13px;
  transition: background 0.2s;
}
.switch span:before {
  content: "";
  position: absolute;
  left: 4px; top: 3px;
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform .21s;
}
.switch input:checked + span {
  background: #fdfaac;
}
.switch input:checked + span:before {
  transform: translateX(20px);
  background: #243E60;
}
.cookie-modal-actions {
  display: flex; gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 14px; top: 11px;
  font-size: 2rem;
  background: none;
  color: var(--accent);
  border: none;
  cursor: pointer;
}
.cookie-modal .close-modal:hover { color: #ffe566; }

@keyframes fadeInModal {
  from { transform: translate(-50%,-52%) scale(0.96); opacity:0; }
  to   { transform: translate(-50%,-50%) scale(1); opacity:1; }
}

/* --- Responsive --- */
@media (max-width: 1050px) {
  .container { max-width: 98vw; }
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 18px;
  }
  .container { max-width: 100vw; padding: 0 10px;}
  .services-grid article, .services-list > div { min-width: 190px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 10px;
    right: 19px;
  }
  .hero-section {
    padding: 40px 0 30px 0;
  }
  .content-wrapper, .text-image-section, .section {
    padding: 22px 6px;
    gap: 14px;
  }
  .section {
    margin-bottom: 36px;
  }
  .card-container, .services-grid, .services-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .services-grid article, .services-list > div {
    min-width: 0;
    padding: 16px 9px 13px 13px;
  }
  .testimonial-card {
    max-width: 97vw;
    font-size: .97rem;
    padding: 16px 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-brand, .footer-nav, .footer-social { margin-bottom: 8px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.17rem; }
  .btn-primary, .cookie-btn {
    font-size: .98rem; padding: 11px 20px;
  }
  .cookie-modal {
    padding: 22px 7px 19px 7px;
    min-width: 0;
    font-size: .97rem;
  }
}

/* Subtle Neon/Glow Accent Lines for Tech Futuristic */
.hero-section,
.card, .services-grid article, .services-list > div, .testimonial-card, .section {
  box-shadow: 0 2px 16px 0 #0c143333, 0 1px 12px 0 #EFC84A15;
  position: relative;
}
.hero-section::after, .card::before, .services-grid article::before, .testimonial-card::before, .section::before {
  content: "";
  display: block;
  position: absolute;
  left: 0; bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #EFC84A 10%, #23e7ff 80%, transparent 100%);
  opacity: 0.5;
  border-radius: 2px;
  pointer-events: none;
}
.hero-section::after {
  top: auto; bottom: 0;
  height: 4px;
  opacity: 0.8;
}
.card::before,
.services-grid article::before,
.section::before,
.testimonial-card::before {height: 3px; opacity: .22;}

/* ------ Animations & Micro-interactions ------- */
.card, .services-grid article, .btn-primary, .section, .testimonial-card {
  transition: box-shadow .23s, transform .18s, background .2s, filter .20s;
}
.card:hover, .services-grid article:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 36px 0 #3dfcff33, var(--shadow);
}
.btn-primary:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* SCROLLBAR STYLING FOR TECH FEEL */
::-webkit-scrollbar {
  width: 10px; background: #21314a;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg,#263A69 0%,#EFC84A 100%);
  border-radius: 16px;
}

/* Utility classes */
.mt-40 { margin-top: 40px; }
.mt-24 { margin-top:24px; }
.text-center { text-align: center;}

/* Accessibility: Focus states */
a:focus, button:focus, .btn-primary:focus, .mobile-menu-toggle:focus, .cookie-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* Hide visually */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* --- End of CSS --- */
