/* ===============================
   SWIFT ENGINE TRAILS — TECH FUTURISTIC STYLE
   Modern, flexbox-based, mobile-first CSS
   Brand: #193E5A (primary), #347B46 (secondary), #F9DFA0 (accent)
   Fonts: Montserrat (display), Open Sans (body)
   =============================== */
/* == 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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
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 {
  height: 100%;
  font-size: 16px;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #fafdfe;
  background: linear-gradient(135deg, #142535 0%, #233d4e 100%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 1rem;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #F9DFA0;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #40e762;
}
ul, ol {
  list-style: none;
}
input, button, textarea, select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}
button {
  cursor: pointer;
}
/* == FONT IMPORTS == */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

/* == TYPOGRAPHY SCALE & HEADINGS == */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.75rem;
  letter-spacing: 1px;
  color: #F9DFA0; 
  margin-bottom: 24px;
  text-shadow: 0 4px 22px rgba(0,227,255,0.18);
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #40e7e7;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,227,255,0.10);
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: #F9DFA0;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #40e7e7;
  margin-bottom: 10px;
}
p, ul, ol, li {
  color: #dfebf8;
  font-size: 1rem;
  margin-bottom: 10px;
}
strong {
  color: #F9DFA0;
  font-weight: 600;
}
.text-section ul, .text-section ol {
  padding-left: 20px;
  margin-bottom: 10px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 8px;
  list-style-type: disc;
}

/* == CONTAINER LAYOUTS & SECTIONS == */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(19, 36, 52, 0.9);
  border-radius: 20px;
  box-shadow: 0 6px 40px rgba(0, 238, 255, 0.08), 0 1.5px 7px 0 rgba(0,255,204,0.04);
}
@media (max-width: 768px) {
  .section {
    padding: 32px 6px;
  }
}

/* == NAVIGATION == */
header {
  background: #142535;
  box-shadow: 0 2px 12px rgba(0,227,255,0.13);
  position: sticky;
  top: 0; z-index: 50;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  min-height: 64px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 10px #40e7e7);
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 2px;
  color: #fafdfe;
  position: relative;
  transition: color 0.23s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, #00FFD6, #F9DFA0);
  margin-top: 2.5px;
  transition: width 0.19s cubic-bezier(.76,.04,.56,1.01);
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #40e7e7;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 85%;
}
/* CTA Button in Header */
.cta-btn.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg, #347B46 50%, #193E5A 100%);
  color: #F9DFA0;
  border-radius: 30px;
  font-size: 1.1rem;
  padding: 9px 26px;
  border: none;
  box-shadow: 0 0 11px 2px #1de1e1cc, 0 1.5px 9px #00ffd640;
  margin-left: 6px;
  margin-right: 2px;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 2;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: linear-gradient(90deg, #F9DFA0 25%, #347B46 80%);
  color: #193E5A;
  box-shadow: 0 0 16px 3px #40e7e788;
}

/* == MOBILE NAVIGATION == */
.mobile-menu-toggle {
  display: none;
  background: #142535;
  border: 2px solid #40e7e7;
  color: #40e7e7;
  font-size: 2.2rem;
  border-radius: 12px;
  padding: 6px 18px 6px 14px;
  transition: background 0.15s, color 0.18s;
  z-index: 100;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F9DFA0;
}
@media (max-width: 880px) {
  .main-nav, .cta-btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23, 45, 52, 0.97);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.6,.13,.7,1.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 30px 0 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #F9DFA0;
  background: none;
  border: none;
  align-self: flex-end;
  margin-bottom: 36px;
  padding: 2px 10px;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #40e7e7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fafdfe;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 9px 0;
  border-radius: 8px;
  transition: background 0.17s, color 0.19s;
  width: 100%;
  margin-left: 0;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #223b43;
  color: #40e7e7;
}
@media (max-width: 502px) {
  .mobile-menu {
    padding: 24px 7px 0 5px;
  }
  .mobile-menu-close {
    margin-bottom: 22px;
  }
  .mobile-nav a {
    font-size: 1.05rem;
    padding: 8px 0;
  }
}

/* == HERO & INTRO SECTIONS == */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
}
@media (max-width: 600px) {
  section {
    margin-bottom: 42px;
    padding: 27px 2px;
    border-radius: 14px;
  }
}

/* == FEATURES GRID == */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: rgba(16,42,58, 0.90);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 227, 255, 0.09), 0 2px 8px rgba(61,255,146,0.08);
  padding: 28px 24px 22px 24px;
  min-width: 220px;
  flex: 1 1 250px;
  position: relative;
  margin-bottom: 20px;
  border: 1.5px solid #223f4f;
  transition: box-shadow 0.23s, border 0.14s;
}
.feature-item img {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 7px #00FFD6cc);
}
.feature-item h3 {
  margin-bottom: 2px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 12px 46px 0 #3ec5af60, 0 0 0 3px #40e7e7bb;
  border: 1.5px solid #40e7e7;
  z-index: 2;
}

/* == TESTIMONIAL CARDS == */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #fafdfe;
  color: #17314a;
  border-radius: 16px;
  margin-bottom: 20px;
  min-width: 260px;
  box-shadow: 0 10px 36px 0 rgba(52,123,70,0.10), 0 2px 9px #40e7e72e;
  border: 1.5px solid #40e7e7;
  font-size: 1.08rem;
  word-break: break-word;
  max-width: 600px;
}
.testimonial-card p {
  color: #193E5A;
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 0px;
}
.testimonial-card span {
  color: #347B46;
  font-weight: 600;
}
.testimonial-card span:last-child {
  margin-left: 10px;
  font-size: 1.15rem;
  color: #F9DFA0;
}
/* Multiple testimonials in a flex container if desired */
.content-wrapper > .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* == GENERAL CARDS (use for extra cards if any) == */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #233d4e;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0,227,255,0.09);
  padding: 28px 24px 22px 24px;
  transition: box-shadow 0.23s, border 0.14s;
  border: 1.5px solid #193E5A;
  min-width: 220px;
  flex: 1 1 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 14px 36px 0 #3ec5af60, 0 0 0 2px #40e7e7;
  border: 1.5px solid #40e7e7;
  z-index: 2;
}

/* == TEXT-IMAGE SECTION == */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* == LAYOUT HELPERS == */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
/* Add vertical spacing between all content blocks */
.content-wrapper > *:not(:last-child) {
  margin-bottom: 24px;
}

/* == BUTTONS & INTERACTIVE == */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.19s cubic-bezier(.6,.1,.8,.9);
  text-align: center;
}
.cta-btn {
  display: inline-block;
  border-radius: 28px;
  padding: 11px 32px;
  background: #347B46;
  color: #fafdfe;
  font-size: 1.08rem;
  letter-spacing: .03em;
  margin-top: 8px;
  box-shadow: 0 4px 22px #40e7e760;
  border: 2px solid #347B46;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #193E5A;
  color: #F9DFA0;
  border-color: #F9DFA0;
  box-shadow: 0 6px 36px #40e7e780;
}
.cta-btn.secondary {
  background: #F9DFA0;
  color: #193E5A;
  border: 2px solid #F9DFA0;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #347B46;
  color: #F9DFA0;
  border-color: #347B46;
}

/* == FOOTER == */
footer {
  background: #142535;
  color: #F9DFA0;
  padding: 38px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}
.footer-menu nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a, .footer-menu .main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #7bfdda;
  font-weight: 600;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-menu .main-nav a:hover {
  color: #F9DFA0;
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
  margin-bottom: 6px;
}
.brand-info img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 7px #347B46a6);
}
.brand-info p {
  color: #F9DFA0;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 50px;
  margin-bottom: 10px;
}
.contact-info div {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #dfebf8;
}
.contact-info img {
  height: 18px;
  width: auto;
  filter: drop-shadow(0px 1px 4px #40e7e7b0);
}
.social-links {
  display: flex;
  gap: 23px;
  align-items: center;
}
.social-links a img {
  height: 26px;
  width: 26px;
  filter: drop-shadow(0 0 5px #40e7e780);
  border-radius: 8px;
  background: transparent;
  padding: 2px;
  transition: background 0.14s, filter 0.22s;
}
.social-links a:hover img {
  background: #F9DFA0;
  filter: drop-shadow(0 0 7px #40e7e7);
}
@media (max-width: 780px) {
  .footer-menu {
    flex-direction: column;
    gap: 11px;
  }
  .contact-info {
    flex-direction: column;
    gap: 11px;
  }
}

/* == RESPONSIVE BREAKPOINTS == */
@media (max-width: 1100px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 960px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 97vw;
  }
  .feature-grid {
    flex-direction: column;
    gap: 19px;
    align-items: stretch;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .h1, h1 {
    font-size: 2.1rem;
  }
  .h2, h2 {
    font-size: 1.4rem;
  }
}

/* == COOKIE CONSENT BANNER == */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 998;
  background: #142535;
  color: #fafdfe;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: center;
  padding: 23px 17px 19px 17px;
  box-shadow: 0 -1px 13px #40e7e766;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  animation: banner-fade-in 0.5s;
}
.cookie-banner p {
  color: #fafdfe;
  margin-bottom: 0;
}
.cookie-banner .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 21px;
  border-radius: 18px;
  border: 2px solid #40e7e7;
  background: #233d4e;
  color: #40e7e7;
  font-weight: 700;
  margin-left: 13px;
  margin-right: 4px;
  margin-top: 5px;
  transition: background 0.19s, color 0.19s;
}
.cookie-banner .btn.accept {
  background: #347B46;
  color: #F9DFA0;
  border-color: #347B46;
}
.cookie-banner .btn.accept:hover {
  background: #40e7e7;
  color: #193E5A;
}
.cookie-banner .btn.reject {
  background: #142535;
  color: #40e7e7;
  border-color: #40e7e7;
}
.cookie-banner .btn.reject:hover {
  background: #142535;
  color: #F9DFA0;
}
.cookie-banner .btn.settings {
  background: #193E5A;
  border-color: #F9DFA0;
  color: #F9DFA0;
}
.cookie-banner .btn.settings:hover {
  background: #F9DFA0;
  color: #193E5A;
}
@media (max-width: 900px) {
  .cookie-banner { flex-direction: column; gap: 10px; padding: 18px 7px; font-size: .98rem; }
}
@keyframes banner-fade-in {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
/* == COOKIE MODAL == */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(13,24,32,0.86);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modal-fade-in 0.35s;
}
@keyframes modal-fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  min-width: 320px;
  max-width: 98vw;
  background: #193E5A;
  border-radius: 20px;
  box-shadow: 0 16px 60px #00FFD688, 0 2px 7px #F9DFA034;
  padding: 36px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #fafdfe;
  animation: modal-slide-up 0.37s cubic-bezier(.77,0,.18,1.1);
}
@media (max-width: 520px) {
  .cookie-modal { padding: 15px 5px 9px 5px; }
  .cookie-modal h2 { font-size: 1.13rem;}
}
@keyframes modal-slide-up {
  from {transform: translateY(60px);opacity: 0;}
  to {transform: none; opacity: 1;}
}
.cookie-modal-close {
  align-self: flex-end;
  font-size: 2.0rem;
  color: #F9DFA0;
  background: none;
  border: none;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color .13s;
}
.cookie-modal-close:hover { color: #40e7e7; }
.cookie-modal-title {
  color: #40e7e7;
  font-size: 1.16rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-pref-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #223d4e;
  padding: 12px 12px 11px 16px;
  border-radius: 12px;
  box-shadow: 0 1.5px 10px #00FFD611;
}
.cookie-pref-item label {
  flex: 1 1 auto;
  color: #F9DFA0;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-pref-item .toggle {
  display: inline-block;
  width: 44px;
  height: 20px;
  border-radius: 16px;
  background: #dfebf8;
  position: relative;
}
.cookie-pref-item .toggle input {
  display: none;
}
.cookie-pref-item .toggle-slider {
  position: absolute;
  left: 2px;
  top: 2.2px;
  width: 16px;
  height: 15.6px;
  border-radius: 14px;
  background: #347B46;
  transition: left .17s;
}
.cookie-pref-item .toggle input:checked + .toggle-slider {
  left: 26px;
  background: #40e7e7;
}
.cookie-pref-item .cookie-desc {
  color: #dfebf8;
  font-size: 0.98rem;
  margin-left: 8px;
}
.cookie-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 17px;
}
.cookie-modal-footer .btn {
  padding: 7px 24px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
}
.cookie-modal-footer .btn.save {
  background: #347B46;
  color: #F9DFA0;
  border: 2px solid #347B46;
}
.cookie-modal-footer .btn.save:hover {
  background: #40e7e7;
  color: #193E5A;
}
.cookie-modal-footer .btn.cancel {
  background: #142535;
  color: #F9DFA0;
  border: 2px solid #40e7e7;
}
.cookie-modal-footer .btn.cancel:hover {
  background: #F9DFA0;
  color: #193E5A;
}
/* == END COOKIE CONSENT == */

/* == MICRO-INTERACTIONS/ANIMATIONS == */
.card, .testimonial-card, .feature-item, .cta-btn, .main-nav a {
  transition: box-shadow 0.21s, border 0.14s, color 0.17s, background 0.17s;
}
.cta-btn.primary:active {
  transform: scale(0.97);
  box-shadow: 0 0 2px #40e7e7;
}
.cta-btn, .mobile-menu-close, .btn, .cookie-banner .btn {
  transition-property: background, color, box-shadow, border, transform;
  transition-duration: 0.18s, 0.18s, 0.22s, 0.14s, 0.12s;
  transition-timing-function: cubic-bezier(.63,.05,.56,1.17);
}


/* === SPACE BETWEEN CARDS, GAP, SPACING === */
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-left: 0;
  margin-top: 20px;
}
/* == ENSURE LAYOUT SPACINGS (MANDATORY) == */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* == MISC UTILITIES == */
::-webkit-scrollbar {
  width: 10px;
  background: #233d4e;
}
::-webkit-scrollbar-thumb {
  background: #40e7e7;
  border-radius: 20px;
}
.hidden { display: none !important; }

/* == PRINT ABRIDGE == */
@media print {
  .main-nav,.cta-btn,.footer-menu,.footer-nav,.social-links,
  .mobile-menu,.mobile-menu-toggle,.cookie-banner,.cookie-modal-overlay { display: none !important; }
  body, .container { background: #fff !important; color: #000 !important; }
}
