/* --- 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,
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, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
  background: #222942;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: linear-gradient(124deg, #222942 60%, #2c3357 100%);
  color: #F4F6FA;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #FFA500;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #fff;
}
ul, ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  color: #F4F6FA;
  font-family: 'Roboto Slab', 'Times New Roman', Times, serif;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 32px #FFA50066;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  border-left: 4px solid #FFA500;
  padding-left: 16px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 12px;
}
p, ul, ol {
  color: #cdd6ea;
  font-size: 1rem;
}
strong {
  color: #fff;
  font-weight: 600;
}
em {
  color: #FFA500;
  font-style: italic;
}

/* --- SPACING & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(34,41,66, .75);
  border-radius: 18px;
  box-shadow: 0 4px 40px 0 #0e163360;
  position: relative;
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 36px;
  }
}

/* --- FLEXBOX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #232a48;
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 6px 40px 0 #000A  ;
  padding: 32px 24px;
  transition: box-shadow 0.25s, transform .2s;
}
.card:hover {
  box-shadow: 0 16px 56px 0 #FFA50033, 0 6px 40px 0 #000B;
  transform: scale(1.025) translateY(-6px);
  z-index: 2;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 28px;
  background: #F4F6FA;
  color: #232a48;
  border-radius: 16px;
  margin-bottom: 20px;
  border-left: 5px solid #FFA500;
  box-shadow: 0 2px 24px #22294222;
  width: 100%;
  max-width: 600px;
  word-break: break-word;
}
.testimonial-card p {
  color: #232a48;
  font-size: 1.05rem;
}
.testimonial-card strong,
.testimonial-card span {
  color: #222942;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Mandatory: no grid properties whatsoever */

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #232a48;
  box-shadow: 0 2px 32px #232a4833;
  position: sticky;
  top: 0;
  z-index: 99;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 0 24px;
  min-height: 72px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #cdd6ea;
  font-size: 1rem;
  padding: 10px 8px;
  transition: color 0.22s, background 0.14s, box-shadow 0.18s;
  border-radius: 7px;
  position: relative;
  z-index: 2;
}
.main-nav a.btn-primary {
  background: linear-gradient(90deg, #FFA500 70%, #fca417 100%);
  color: #232a48;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 24px;
  box-shadow: 0 2px 14px #FFA50033;
  margin-left: 14px;
  transition: box-shadow 0.22s, background 0.2s, color 0.2s;
}
.main-nav a.btn-primary:hover,
.main-nav a.btn-primary:focus {
  background: #fff3e0;
  color: #FFA500;
  box-shadow: 0 10px 28px 0 #FFA50055;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #FFA500;
  background: #282f55cc;
}
.main-nav img {
  max-height: 34px;
  margin-right: 8px;
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 12px;
    padding: 0 7px;
  }
}
@media (max-width: 858px) {
  .main-nav {
    gap: 6px;
    padding: 0 2px;
  }
  .main-nav a.btn-primary {
    margin-left: 4px;
  }
}

/* --- BURGER & MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 19px;
  background: #232a48;
  color: #FFA500;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 1px 6px #FFA50022;
  transition: background 0.16s, color 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFA500;
  color: #232a48;
}
@media (max-width: 920px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,32,62,0.98);
  z-index: 299;
  transform: translateX(-105%);
  transition: transform 0.34s cubic-bezier(.7,.05,.43,1);
  box-shadow: 0 0 46px #232a48cc;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  color: #FFA500;
  background: transparent;
  border: none;
  font-size: 2.3rem;
  position: absolute;
  top: 22px;
  right: 26px;
  cursor: pointer;
  z-index: 999;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 90px 34px;
}
.mobile-nav a {
  color: #FFA500;
  font-size: 1.2rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  background: none;
  box-shadow: none;
  border-radius: 8px;
  padding: 14px 0;
  transition: background 0.16s, color 0.16s;
  width: 100%;
  text-align: left;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #232a48;
  background: #FFA500;
  font-weight: 600;
}

/* --- MAIN CONTENT & BUTTONS --- */
main {
  min-height: 70vh;
  padding-bottom: 50px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
  background: rgba(44,51,87, 0.84);
  box-shadow: 0 8px 32px #232a4844;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 22px 4px;
  }
}
.btn-primary {
  display: inline-block;
  background: linear-gradient(95deg, #FFA500 80%, #fca417 100%);
  color: #232a48;
  font-family: 'Roboto Slab', serif;
  font-weight: 800;
  font-size: 1.07rem;
  padding: 0.7em 2.2em;
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 4px 28px #FFA50033;
  border: none;
  cursor: pointer;
  margin-top: 16px;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  transition: background 0.19s, color 0.19s, transform 0.16s, box-shadow 0.18s;
}
.btn-primary:focus,
.btn-primary:hover {
  background: #fff3e0;
  color: #FFA500;
  box-shadow: 0 10px 44px 0 #FFA50055;
  transform: translateY(-2px) scale(1.02);
}

/* --- SPECIAL SECTIONS --- */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #232a48;
  border-radius: 13px;
  padding: 16px 18px;
  box-shadow: 0 2px 22px #FFA50022;
  margin-top: 12px;
  margin-bottom: 14px;
}
.map-placeholder p {
  color: #F4F6FA;
  font-size: 1rem;
}
.social-media {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 12px;
}
.social-media img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 4px #FFA50095);
  transition: filter 0.14s, opacity 0.15s;
  opacity: 0.93;
  cursor: pointer;
}
.social-media img:hover {
  filter: drop-shadow(0 0 14px #FFA500cc);
  opacity: 1;
}

/* --- FOOTER --- */
footer {
  background: #181c33;
  border-top: 3px solid #222942;
  padding: 30px 0 14px 0;
  margin-top: 40px;
  box-shadow: 0 -3px 34px #232a482a;
  position: relative;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #FFA500;
  font-size: 1rem;
  border-radius: 8px;
  padding: 7px 12px;
  background: none;
  transition: color 0.17s, background 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #232a48;
  background: #FFA500;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-top: 8px;
}
.footer-brand img {
  max-width: 44px;
  height: auto;
}
.footer-brand p {
  color: #cdd6ea;
  font-size: 0.95rem;
}
@media (max-width: 660px) {
  .footer-nav {
    gap: 7px;
    font-size: 0.98em;
  }
  .footer-brand {
    flex-direction: column;
    gap: 7px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 9999;
  background: #232a48;
  color: #F4F6FA;
  padding: 20px 14px 22px 14px;
  box-shadow: 0 -8px 34px #000A;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: fadeInBottom 0.6s cubic-bezier(.25,.7,.42,1);
}
.cookie-banner-content {
  font-size: 1rem;
  text-align: center;
  max-width: 700px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.cookie-btn {
  font-size: 1rem;
  padding: 8px 26px;
  border-radius: 24px;
  background: #ffa500;
  color: #222942;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, box-shadow 0.15s;
  margin: 0 6px;
  box-shadow: 0 2px 16px #FFA50055;
}
.cookie-btn.reject {
  background: #2c3357;
  color: #FFA500;
  border: 1px solid #FFA500;
}
.cookie-btn.settings {
  background: #fff3e0;
  color: #222942;
  border: 1px solid #FFA500;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #FFA500;
}
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,24,44,0.87);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.3s;
}
.cookie-modal {
  background: #222942;
  color: #F4F6FA;
  border-radius: 18px;
  box-shadow: 0 20px 56px #FFA50044;
  padding: 34px 28px 28px 28px;
  min-width: 320px;
  max-width: 98vw;
  max-height: 82vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: transparent;
  color: #FFA500;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #fff;
}
.cookie-modal h3 {
  margin: 8px 0 10px 0;
  font-family: 'Roboto Slab', serif;
  color: #FFA500;
  font-size: 1.2rem;
  border-left: 3px solid #FFA500;
  padding-left: 9px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 7px 0;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  background: #222942;
  border-radius: 22px;
  border: 1.5px solid #FFA500;
  position: relative;
  transition: background 0.15s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.cookie-toggle input[type=checkbox] {
  opacity: 0;
  width: 44px;
  height: 24px;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}
.cookie-slider {
  position: absolute;
  left: 2.5px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #FFA500;
  border-radius: 50%;
  transition: left 0.2s, background 0.13s;
  box-shadow: 0 2px 8px #FFA500b3;
}
.cookie-toggle input[type=checkbox]:checked + .cookie-slider {
  left: 20px;
  background: #F4F6FA;
}
.cookie-modal .description {
  color: #cdd6ea;
  font-size: 0.98rem;
  margin-bottom: 8px;
}
@keyframes fadeInBottom {
  from { opacity:0; transform: translateY(60px); }
  to { opacity:1; transform: translateY(0); }
}
@keyframes fadeInModal {
  from { opacity:0; }
  to { opacity:1; }
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 720px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .container, .content-wrapper {
    gap: 14px;
  }
}
@media (max-width: 540px) {
  .card, .testimonial-card, section, .cookie-modal {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 9px;
  }
}

/* --- VISUAL ACCENTS & FUTURISTIC EFFECTS --- */
.card {
  border: 1.5px solid #2c3357;
}
.card::before {
  content: '';
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border-radius: 16px;
  pointer-events: none;
  box-shadow: 0 0 14px #1876F866, 0 0 2px #FFA50033;
  opacity: 0.13;
  z-index: 0;
}
.btn-primary, .cookie-btn {
  box-shadow: 0 2px 16px #FFA50022, 0 0 7px #ffb4223a;
  text-shadow: 0 2px 16px #ffae0022;
}
section {
  border: 1px solid #36407255;
}

/* --- SCROLLBAR (FUTURISTIC LIGHT) --- */
::-webkit-scrollbar {
  width: 9px;
  background: #181c33;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg,#FFA500 40%,#222942 90%);
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFA500;
}

/* --- FORM ELEMENTS --- */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid #36407290;
  border-radius: 7px;
  padding: 10px 14px;
  background: #2c3357;
  color: #F4F6FA;
  margin-bottom: 13px;
  outline: none;
  box-shadow: 0 1px 6px #232a482a;
  transition: border 0.18s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFA500;
  box-shadow: 0 4px 18px #FFA50022;
}
button {
  cursor: pointer;
  background: #FFA500;
  color: #232a48;
  font-weight: 700;
  border: none;
  transition: background 0.15s, color 0.14s;
}
button:focus, button:hover {
  background: #fff3e0;
  color: #FFA500;
}

/* --- MISC. COMPONENT RULES --- */
/* Ensured neither overlapping nor absolute positioning for visible content cards */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}

/* --- Z-INDEX GUARDRAILS --- */
header, .cookie-banner, .cookie-modal-overlay, .mobile-menu {
  z-index: 999;
}

/* --- VISUAL MICRO-INTERACTIONS & TRANSITIONS --- */
a, .btn-primary, .main-nav a, .footer-nav a, .mobile-nav a,
.card, .testimonial-card, .cookie-btn {
  transition: color 0.16s, background 0.17s, box-shadow 0.17s, transform 0.14s;
}

/* --- SPECIALS: COLORS, HIERARCHY, CONTRAST --- */
/* Testimonial/Reviews - dark readable text on light background */
.testimonial-card, .testimonial-card p {
  color: #232a48;
  background: #F4F6FA;
}
/* Highlight borders and accents */
.card, .testimonial-card {
  border-left: 5px solid #FFA500;
}
/* Hero section accent effect */
section:first-of-type h1 {
  color: #FFA500;
  text-shadow: 0 2px 44px #FFA50044;
}

/* --- END OF tech_futuristic THEME --- */
