/* RESET & BASE TYPOGRAPHY */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section { display: block; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; border: 0; display: inline-block; }
a { color: inherit; text-decoration: none; cursor: pointer; transition: color 0.18s cubic-bezier(.77,0,.175,1); }
button, input, textarea, select { font-family: inherit; font-size: inherit; outline: none; border: none; background: none; }
button { cursor: pointer; }

html {
  font-size: 16px;
  background: #fff;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #172449;
  background: #EEF2F7;
  min-height: 100vh;
  letter-spacing: 0.02em;
  line-height: 1.5;
  font-size: 1rem;
}

/* FONT FAMILY IMPORTS */
@font-face {
  font-family: 'Orbitron';
  src: local('Orbitron'), url('https://fonts.googleapis.com/css?family=Orbitron:700,900&display=swap');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'), url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
  font-display: swap;
}

/* GEOMETRIC/STRUCTURED TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  color: #172449;
  letter-spacing: 0.06em;
  font-weight: 900;
}
h1 { font-size: 2.5rem; line-height: 1.12; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.18; margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.15rem; margin-bottom: 8px; }

p, li, ul { font-family: 'Roboto', Arial, sans-serif; font-size: 1rem; }
strong { font-weight: 700; }
.text-section h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.text-section p {
  font-size: 1rem;
}
a.cta-btn { font-family: 'Orbitron', 'Roboto', Arial, sans-serif; }

/* LAYOUT STRUCTURE */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(23,36,73,0.07);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* FLEXBOX SYSTEMS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card { margin-bottom: 20px; position: relative; flex: 1 1 280px; }
.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;
  background: #EEF2F7;
  color: #172449;
  border-radius: 18px;
  box-shadow: 0 2px 9px 0 rgba(23,36,73,0.05);
  padding: 20px;
  margin-bottom: 20px;
  flex: 1 1 340px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 14px;
}
.feature {
  background: #fff;
  border: 2.5px solid #FBC112;
  border-radius: 20px;
  box-shadow: 0 2px 9px 0 rgba(23,36,73,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  flex: 1 1 240px;
  min-width: 220px;
  transition: box-shadow 0.22s cubic-bezier(.77,0,.175,1), transform 0.15s cubic-bezier(.77,0,.175,1);
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 6px 30px 0 rgba(251,193,18,0.09);
  transform: translateY(-2px) scale(1.018);
  border-color: #172449;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service {
  background: #fff;
  border: 2.5px solid #EEF2F7;
  border-radius: 18px;
  box-shadow: 0 2px 9px 0 rgba(23,36,73,0.055);
  flex: 1 1 280px;
  padding: 24px;
  min-width: 220px;
  transition: border-color 0.22s, box-shadow 0.18s;
  margin-bottom: 20px;
}
.service:hover, .service:focus-within {
  border-color: #FBC112;
  box-shadow: 0 6px 28px 0 rgba(251,193,18,0.10);
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.text-section h3 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.18rem;
  margin-bottom: 6px;
  color: #172449;
  letter-spacing: 0.05em;
}

/* BUTTONS, CTAs */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  background: #FBC112;
  color: #172449;
  border-radius: 16px;
  padding: 14px 32px;
  box-shadow: 0 4px 16px 0 rgba(251,193,18,0.12);
  border: 2.5px solid #FBC112;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition: background 0.19s, color 0.19s, box-shadow 0.22s, border-color 0.17s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #172449;
  color: #FBC112;
  border-color: #172449;
  box-shadow: 0 4px 28px 0 rgba(23,36,73,0.13);
}

button, .btn {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 13px;
  padding: 12px 28px;
  background: #EEF2F7;
  color: #172449;
  border: 2px solid #172449;
  transition: background 0.15s, color 0.15s, box-shadow 0.16s, border-color 0.1s;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #FBC112;
  color: #172449;
  border-color: #FBC112;
  box-shadow: 0 2px 8px 0 rgba(251,193,18,0.08);
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(23,36,73,0.05);
  z-index: 100;
  position: relative;
  border-bottom: 4px solid #FBC112;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 20px;
  position: relative;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: #172449;
  padding: 7px 0;
  border-bottom: 2.5px solid transparent;
  transition: color 0.16s, border-bottom 0.14s;
}
.main-nav a:hover, .main-nav a.active {
  color: #FBC112;
  border-bottom: 2.5px solid #FBC112;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  background: #FBC112;
  color: #172449;
  border-radius: 10px;
  border: none;
  padding: 10px 16px;
  font-size: 2.1rem;
  line-height: 1;
  display: none;
  margin-left: 8px;
  box-shadow: 0 2px 12px 0 rgba(251,193,18,0.09);
  z-index: 210;
  transition: background 0.14s, box-shadow 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #172449;
  color: #FBC112;
  box-shadow: 0 4px 16px 0 rgba(23,36,73,0.09);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #172449;
  color: #EEF2F7;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.77,0,.175,1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px;
  box-sizing: border-box;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  line-height: 1;
  color: #FBC112;
  background: transparent;
  border: none;
  margin-bottom: 18px;
  transition: color 0.14s;
}
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
  width: 100%;
}
.mobile-nav a {
  color: #EEF2F7;
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.26rem;
  font-weight: 700;
  padding: 18px 8px;
  border-radius: 10px;
  background: transparent;
  text-transform: uppercase;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #FBC112;
  color: #172449;
}

@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* FOOTER */
footer {
  width: 100%;
  background: #172449;
  color: #fff;
  padding: 35px 0 0 0;
  border-top: 4px solid #FBC112;
}
.footer-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 20px;
}
.footer-nav {
  display: flex;
  gap: 26px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.07em;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-bottom 0.14s;
}
.footer-nav a:hover, .footer-nav a.active {
  color: #FBC112;
  border-bottom: 2px solid #FBC112;
}
.footer-bottom {
  border-top: 1.5px solid #FBC112;
  padding-top: 12px;
  margin-top: 10px;
  text-align: center;
  font-size: 1rem;
  color: #FBC112;
}

/* CARD & SECTION EFFECTS */
.card, .service, .feature, .testimonial-card {
  box-shadow: 0 2px 10px 0 rgba(23,36,73,0.06);
  border-radius: 14px;
}

.feature img, .service img {
  margin-bottom: 12px;
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 8px;
  background: #EEF2F7;
  padding: 8px;
}

/* VISUAL HIERARCHY, LISTS */
ul {
  margin-left: 18px;
  margin-bottom: 15px;
  list-style-type: square;
  color: #172449;
  font-size: 1rem;
}
ul li { margin-bottom: 5px; }

.content-wrapper ul {
  margin-left: 20px;
  margin-bottom: 10px;
}

/* TESTIMONIAL STARS */
.testimonial-card span {
  color: #FBC112;
  font-size: 1.2em;
  font-family: 'Orbitron', Arial, sans-serif;
  letter-spacing: 0.13em;
}
.testimonial-card p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #172449;
  margin: 0 0 8px 0;
}
.testimonial-card strong {
  color: #172449;
  font-weight: bold;
  font-size: 1.01em;
}

/* FAQ AND CONTACT */
.faq-list .text-section {
  flex: 1 1 250px;
  background: #fff;
  border: 1.4px solid #FBC112;
  border-radius: 13px;
  padding: 16px;
  margin-bottom: 22px;
  box-shadow: 0 2px 7px 0 rgba(23,36,73,0.04);
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
  .container {
    padding: 0 10px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 880px) {
  .features-grid, .services-grid, .testimonials, .card-container {
    gap: 18px;
  }
  .features-grid, .services-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .feature, .service, .testimonial-card {
    min-width: 180px;
    width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 34px;
    padding: 24px 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  .features-grid, .testimonials, .services-grid, .faq-list, .card-container {
    flex-direction: column !important;
    gap: 14px;
  }
}

/* GEOMETRIC DECORATIVE SHAPES */
.section::before {
  content: '';
  display: block;
  position: absolute;
  top: 12px; left: 24px;
  width: 48px; height: 48px;
  background: rgba(251,193,18,0.12);
  border-radius: 14px 42% 24% 16px/28% 26% 44% 49%;
  z-index: 0;
  pointer-events: none;
}
.section {
  position: relative;
  overflow: visible;
}
.section:last-of-type::before { display: none; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #172449;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  padding: 28px 16px;
  z-index: 10000;
  box-shadow: 0 -2px 18px 0 rgba(23,36,73,0.13);
  font-size: 1rem;
  border-radius: 22px 22px 0 0;
  animation: slideUp 0.44s cubic-bezier(.77,0,.175,1);
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-banner-content {
  flex: 1 1 640px;
  max-width: 640px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-banner .btn,
.cookie-banner button {
  background: #FBC112;
  color: #172449;
  border-radius: 9px;
  font-family: 'Orbitron', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 20px;
  border: 2px solid #FBC112;
  margin-right: 5px;
  transition: background 0.15s, color 0.14s, border-color 0.15s;
}
.cookie-banner .btn.cookie-settings {
  background: #fff;
  color: #172449;
  border: 2px solid #FBC112;
}
.cookie-banner .btn:hover, .cookie-banner .btn:focus {
  background: #172449;
  color: #FBC112;
  border-color: #172449;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(7,10,20,0.54);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.77,0,.175,1);
}
.cookie-modal.open { opacity: 1; pointer-events: all; }
.cookie-modal-content {
  background: #fff;
  color: #172449;
  border-radius: 15px;
  box-shadow: 0 4px 28px 0 rgba(23,36,73,0.18);
  min-width: 320px;
  max-width: 95vw;
  min-height: 220px;
  padding: 38px 32px 32px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: scaleIn 0.36s cubic-bezier(.77,0,.175,1);
}
@keyframes scaleIn {
  from { transform: scale(0.86); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.4rem;
  color: #172449;
  margin-bottom: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #FBC112;
  transition: color 0.15s;
  cursor: pointer;
  z-index: 12;
}
.cookie-modal-close:hover { color: #172449; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #172449;
}
.cookie-toggle {
  width: 34px;
  height: 19px;
  border-radius: 11px;
  background: #EEF2F7;
  border: 2px solid #FBC112;
  position: relative;
  transition: background 0.12s, border 0.13s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle span {
  position: absolute;
  left: 2.5px;
  top: 2px;
  width: 15px;
  height: 15px;
  background: #FBC112;
  border-radius: 50%;
  transition: left 0.15s, background 0.19s;
}
.cookie-toggle input:checked + span {
  left: 15px;
  background: #172449;
}
.cookie-category.essential label { opacity: 0.7; }
.cookie-category.essential .cookie-toggle { pointer-events: none; filter: grayscale(1); }

.cookie-modal-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal button, .cookie-modal .btn {
  min-width: 96px;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 7px;
    border-radius: 13px 13px 0 0;
    font-size: 0.97rem;
  }
  .cookie-banner-content { max-width: 94vw; }
}
@media (max-width: 420px) {
  .cookie-modal-content {
    padding: 18px 4vw 16px 4vw;
    min-width: 0;
  }
}

/* ANIMATIONS, TRANSITIONS */
* {
  transition:
    background 0.18s cubic-bezier(.77,0,.175,1),
    color 0.18s cubic-bezier(.77,0,.175,1),
    border-color 0.18s cubic-bezier(.77,0,.175,1);
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2.5px solid #FBC112;
  outline-offset: 2px;
}

/* ------- ADDITIONAL GEOMETRIC STRUCTURED STYLES -------- */
.section, .feature, .service, .testimonial-card, header, footer {
  border-radius: 18px;
}
.features-grid .feature,
.services-grid .service {
  border-style: solid;
  border-width: 2.5px;
}

/* Utility classes */
.hide {
  display: none !important;
}

/* Final spacing enforcement */
.section, .feature, .service, .testimonial-card,
.card-container > *, .features-grid > *, .services-grid > *, .testimonials > * {
  margin-bottom: 20px;
}
.features-grid > :last-child, .services-grid > :last-child, .card-container > :last-child, .testimonials > :last-child {
  margin-bottom: 0;
}

/* Ensure no overlapping */
.section:not(:last-child) { margin-bottom: 60px; }

/* For JS to hide/show mobile menu - base hidden by default on desktop */
.mobile-menu { display: none; }

/* Responsive logo sizing */
header img, footer img {
  height: 36px;
  width: auto;
}

/* END CSS */
