/* =============================
   FrostSprint Zermatt – style.css
   Tech Futuristic UI – Flexbox only
   ================================ */

/************
 * CSS RESET & BASE
 ************/
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, 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;
  background: #121F32;
}

body {
  line-height: 1.6;
  min-height: 100vh;
  background: linear-gradient(120deg, #18436A 0%, #121F32 100%);
  color: #F4F7FA;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  font-weight: 600;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
p, ul, ol {
  color: #F4F7FA;
  font-size: 1rem;
  margin-bottom: 12px;
}
ul, ol {
  margin-left: 24px;
}
strong {
  color: #25A6D9;
  font-weight: 700;
}
em {
  color: #a6d7f9;
}

a {
  color: #25A6D9;
  text-decoration: none;
  transition: color 0.23s;
}
a:hover, a:focus {
  color: #f0fafd;
  text-shadow: 0 0 8px #25A6D9;
}

/* Layout Utils */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper, .text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.text-section {
  gap: 20px;
}

/**************************************
 * SECTIONS, CARDS, FLEXBOX LAYOUTS
 **************************************/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
  background: #152844;
  box-shadow: 0 4px 32px -8px #11213b44;
  position: relative;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #162842;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 32px 0 #18436A55;
  transition: box-shadow 0.28s;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
}
.card:hover {
  box-shadow: 0 8px 40px 0 #1cb3f855, 0 0 0 2px #25A6D9;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.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: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 240px;
  background: #F4F7FA;
  color: #1b2735 !important;
  border-radius: 16px;
  box-shadow: 0 2px 32px -4px #25A6D930;
  border: 1.5px solid #25A6D9;
}
.testimonial-card p {
  color: #162842;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #18436A;
  font-size: 0.97rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

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

/**************************************
 * NAVIGATION (DESKTOP & MOBILE)
 **************************************/
header {
  width: 100%;
  background: rgba(13,22,37,0.95);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1020;
  box-shadow: 0 2px 10px -4px #18436A77;
}
.main-nav {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.09rem;
  background: transparent;
}
.main-nav > a {
  color: #F4F7FA;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-weight: 500;
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav > a.cta.primary {
  background: #25A6D9;
  color: #ffffff;
  box-shadow: 0 0 13px #25A6D940, 0 0px 0px #fff;
  font-weight: 700;
  margin-left: auto;
  padding: 9px 19px;
  text-transform: uppercase;
  border: none;
}
.main-nav > a.cta.primary:hover,
.main-nav > a.cta.primary:focus {
  background: #16709b;
  color: #f9fbfd;
  box-shadow: 0 0 25px #25A6D9CC;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #183752;
  color: #25A6D9;
}
.main-nav img {
  height: 38px;
  margin-right: 14px;
}

/*************************
 * MOBILE NAVIGATION
 *************************/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #25A6D9;
  font-size: 2.1rem;
  cursor: pointer;
  padding: 4px 12px;
  line-height: 1;
  z-index: 5050;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #a6e6fa;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #121F32;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  z-index: 2000;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s cubic-bezier(.55,.35,.22,1.08), opacity 0.18s;
  box-shadow: 0 4px 40px 0 #18436A66;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #25A6D9;
  font-size: 2rem;
  cursor: pointer;
  margin: 24px 22px 0 0;
  padding: 1px 11px;
  z-index: 5051;
  transition: color 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #e3e7f9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 48px 32px;
}
.mobile-nav a {
  color: #F4F7FA;
  font-size: 1.19rem;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  background: none;
  border-radius: 10px;
  padding: 9px 21px;
  margin-right: 0;
  transition: background 0.17s, color 0.17s;
  width: 100%;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #18436A;
  color: #25A6D9;
}
@media (max-width: 1020px) {
  .main-nav > a:not(.cta.primary) { font-size: 1rem; }
  .main-nav img { max-height: 32px; }
}
@media (max-width: 900px) {
  .main-nav > a:not(.cta.primary) { font-size: 0.97rem; }
  .main-nav img { max-height: 30px; }
}
@media (max-width: 820px) {
  .main-nav {
    gap: 15px;
    padding: 0 12px;
    font-size: 0.98rem;
    height: 54px;
  }
  .main-nav img { max-height: 27px; }
}
@media (max-width: 700px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 16px;
    top: 11px;
  }
}

/*************************
 * MAIN & SECTIONS
 *************************/
main {
  min-height: 48vh;
  width: 100%;
  padding-bottom: 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: transparent;
  position: relative;
}
section .container {
  padding: 0 16px;
}

/*************************
 * TEXT & UL, LIST
 *************************/
.text-section ul {
  padding-left: 22px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.text-section li {
  font-size: 1rem;
  margin-bottom: 0;
  position: relative;
  color: #F4F7FA;
  letter-spacing: 0.01em;
}
.text-section li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25A6D9;
  margin-right: 14px;
  vertical-align: middle;
  box-shadow: 0 0 6px #25A6D9;
}
.text-section a {
  color: #25A6D9;
  text-decoration: underline dotted;
  font-weight: 500;
}
.text-section a:hover {
  color: #16709b;
  text-shadow: 0 0 7px #25A6D9;
}

/*************************
 * BUTTONS & CTA
 *************************/
.cta.primary,
button.cta, input[type="submit"].cta, .cta.primary[href] {
  background: linear-gradient(90deg,#25A6D9 80%,#16709b 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 36px;
  font-size: 1.16rem;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 2px 46px -10px #25A6D944, 0 0 0 2px #25A6D9;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 4px;
  transition: box-shadow 0.18s, background 0.22s, color 0.18s;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg,#16709b 80%,#25A6D9 100%);
  color: #ffffff;
  box-shadow: 0 0 36px #25A6D9CC, 0 0 0 4px #25A6D9aa;
  text-shadow: 0 0 9px #25A6D988;
}

/******************************************
 * FOOTER
 *******************************************/
footer {
  width: 100%;
  background: #121f32;
  box-shadow: 0 2px 18px -8px #18436A88 inset;
  margin-top: 34px;
  padding: 38px 0 10px 0;
}
.footer-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #25A6D9;
  font-size: 1rem;
  text-decoration: underline;
  background: none;
  border-radius: 10px;
  padding: 7px 10px;
  transition: color 0.16s, background 0.12s;
}
.footer-nav a:hover {
  background: #18436A;
  color: #fff;
}
footer .text-section {
  width: 100%;
  text-align: center;
  color: #cad6e4;
  font-size: 0.9rem;
  padding: 10px 0 0 0;
  letter-spacing: 0.01em;
}

/******************************************
 * COOKIE CONSENT BANNER
 *******************************************/
.cookie-banner {
  position: fixed;
  left: 0;
  right:0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg,#18436A 80%,#16709b 100%);
  color: #F4F7FA;
  padding: 22px 16px 22px 16px;
  z-index: 9999;
  box-shadow: 0 -2px 32px #182b4380, 0 0 0 1.5px #25A6D9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: cookieBannerSlideUp 0.55s cubic-bezier(.64,.13,.39,1.26);
}
@keyframes cookieBannerSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-banner button, .cookie-banner .btn {
  padding: 9px 22px;
  border-radius: 20px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  background: #25A6D9;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  transition: box-shadow 0.18s, background 0.18s, color 0.15s;
  box-shadow: 0 1px 24px -6px #25A6D999;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #16709b;
  color: #f7fbff;
  box-shadow: 0 0 14px #25A6D9dd;
}
.cookie-banner .btn-secondary {
  background: none;
  border: 1.2px solid #25A6D9;
  color: #25A6D9;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: #233b5a;
  color: #fff;
}

/******************************************
 * COOKIE MODAL (PREFERENCES)
 *******************************************/
.cookie-modal {
  position: fixed;
  left: 0;
  top:0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,31,50,0.92);
  z-index: 10011;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3.5px);
  animation: cookieModalIn .4s cubic-bezier(.5,.2,.33,1.13);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #162842;
  border-radius: 19px;
  box-shadow: 0 8px 48px #18436A44, 0 0 0 1.5px #25A6D9;
  padding: 40px 28px 22px 28px;
  max-width: 440px;
  width: 98vw;
  color: #F4F7FA;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  font-size: 1.05rem;
}
.cookie-modal-content h2 {
  color: #25A6D9;
  font-size: 1.43rem;
  text-align: center;
  margin-bottom: 10px;
}
.cookie-modal-content .category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 12px 0;
}
.cookie-modal-content .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 1.035rem;
}
.cookie-modal-content .category label {
  color: #fff;
  flex:1;
}
.cookie-modal-content .switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
/* Hide default HTML checkbox */
.cookie-modal-content .switch input { display: none; }
.cookie-modal-content .slider {
  position: absolute;
  cursor: pointer;
  background: #18436A;
  border-radius: 16px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .2s;
}
.cookie-modal-content .slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #25A6D9;
  border-radius: 50%;
  transition: .2s;
}
.cookie-modal-content .switch input:checked + .slider {
  background: #25A6D9;
}
.cookie-modal-content .switch input:checked + .slider:before {
  transform: translateX(18px);
  background: #16709b;
}
.cookie-modal-content .switch input[disabled] + .slider {
  opacity: 0.65;
  background: #2e486a;
}
.cookie-modal-content .cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 20px;
  background: none;
  border: none;
  color: #25A6D9;
  font-size: 1.85rem;
  cursor: pointer;
  z-index: 5;
  transition: color 0.18s;
}
.cookie-modal-content .cookie-modal-close:hover { color: #baeafb; }
.cookie-modal-content .btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.cookie-modal-content .btn {
  padding: 8px 20px;
  font-size: 1.03rem;
  border-radius: 999px;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  background: #25A6D9;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1px 12px -4px #25A6D999;
  transition: background 0.17s, color 0.14s;
}
.cookie-modal-content .btn.btn-secondary {
  background: none;
  border: 1.3px solid #25A6D9;
  color: #25A6D9;
}
.cookie-modal-content .btn.btn-secondary:hover {
  color: #fff;
  background: #183752;
}
.cookie-modal-content .btn:hover {
  background: #16709b;
}

/*******************************************
 * DECORATIVE NEON ACCENTS
 *******************************************/
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: -26px;
  top: 29px;
  width: 12px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(180deg, #25A6D9 50%, #16709b 100%);
  box-shadow: 0 0 36px 6px #25A6D9DD;
  z-index: 1;
  opacity: 0.35;
}
.section:first-of-type:before { display: none; }
.section:nth-of-type(odd):before {
  left: unset;
  right: -26px;
  top: 34px;
  background: linear-gradient(90deg, #16709b 50%, #25A6D9 100%);
}
@media (max-width: 900px) {
  .section:before { display: none; }
}

/*******************************************
 * RESPONSIVE (Mobile First)
 *******************************************/
@media (max-width: 1280px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.37rem; }
  .container { max-width: 96vw; }
  .card { padding: 20px 12px; }
}
@media (max-width: 768px) {
  main { padding-bottom: 8px; }
  .container { padding: 0 7px; }
  section { padding: 36px 0; }
  .section { padding: 28px 8px; }
  .testimonial-card,
  .footer-nav,
  .card-container,
  .content-grid,
  .feature-item {
    gap: 14px;
  }
  .content-grid, .card-container { flex-direction: column; }
  .testimonial-card { min-width: unset; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.11rem; }
  .section, section { padding: 20px 0; margin-bottom: 36px; }
  .card { padding: 16px 6px; border-radius: 9px; }
  .testimonial-card { border-radius: 8px; }
  .text-image-section, .content-grid, .card-container { gap: 9px; }
}
@media (max-width: 480px) {
  .cta.primary { padding: 10px 18px; font-size: 1rem; }
  .footer-nav { gap: 7px; }
  section, .section { padding: 10px 0; }
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
}

/*******************************************
 * ACCESSIBILITY + INTERACTION
 *******************************************/
:focus {
  outline: 2px dotted #25A6D9;
  outline-offset: 1px;
}

@media (hover: hover) {
  button, a.cta {
    transition: box-shadow 0.12s, background 0.16s, color 0.13s;
  }
}

/*******************************************
 * MICRO-ANIMATIONS
 *******************************************/
.cta.primary,
button.cta,
input[type="submit"].cta {
  transition: box-shadow 0.18s, background 0.22s, color 0.18s, letter-spacing 0.18s;
}
.cta.primary:hover, .cta.primary:focus {
  letter-spacing: 0.16em;
}
.card, .testimonial-card {
  transition: transform 0.11s, box-shadow 0.17s;
}
.card:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 8px 40px 0 #1cb3f888, 0 0 0 2px #25A6D9;
}

a, .footer-nav a {
  transition: color 0.16s, text-shadow 0.16s, background 0.14s;
}

/*******************************************
 * MISC
 *******************************************/
::-webkit-scrollbar {
  width: 9px;
  background: #121F32;
}
::-webkit-scrollbar-thumb {
  background: #183752;
  border-radius: 6px;
}

/*******************************************
 * SANITY CHECK (No grid, good spacing, no overlaps)
 *******************************************/
/* ---- No grid-* properties, all spacing/gaps are via flex and margin/padding -- */
