/* ==== 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, 
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 { line-height: 1.15; -webkit-text-size-adjust: 100%; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  background: #0a1026;
  color: #F5F5F5;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a { color: #FFB300; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #FFD54F; }
ul, ol { margin-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 8px; }
hr { border: none; border-top: 1px solid #212e5e; margin: 32px 0; }

/* ==== TYPOGRAPHY & BRAND FONTS ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
h1 { font-size: 2.4rem; margin-bottom: 24px; }
h2 { font-size: 1.8rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

p, ul, ol {
  font-size: 1rem;
  color: #F5F5F5;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.subheadline {
  font-size: 1.125rem;
  color: #FFD54F;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
strong { color: #FFB300; }
em { color: #90caf9; font-style: italic; }

/* ==== CONTAINERS & LAYOUT ==== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}
.text-section {
  border-radius: 20px;
  background: rgba(26,35,126,0.16);
  box-shadow: 0 2px 24px 0 #131e4342;
  padding: 40px 32px;
  margin-bottom: 24px;
  transition: box-shadow 0.25s;
}
.text-section:hover {
  box-shadow: 0 8px 32px 0 #1a237e66;
}


/* ==== SECTIONS & SPACING === */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: inherit;
  position: relative;
  z-index: 1;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== CARDS, GRIDS, FLEXBOX ==== */
.feature-grid, .service-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card, .feature-card, .service-card {
  background: #141b36;
  border-radius: 18px;
  box-shadow: 0 1.5px 12px 0 #1a237e33;
  padding: 28px 22px 22px 22px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #F5F5F5;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, border 0.18s;
  border: 1.5px solid transparent;
}
.card:hover, .feature-card:hover, .service-card:hover {
  border: 1.5px solid #3f51b5;
  box-shadow: 0 8px 40px 0 #1a237e3d;
}

/* Price Tag & Card Titles */
.price {
  font-size: 1.1rem;
  font-weight: 700;
  background: #FFB300;
  color: #1A237E;
  border-radius: 12px;
  padding: 6px 14px;
  align-self: flex-start;
  margin-top: 8px;
}
.feature-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 10px #ffb30055);
}
.service-card h2, .feature-card h3 {
  font-size: 1.2rem;
  color: #FFD54F;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #F5F5F5;
  color: #1A237E;
  box-shadow: 0 2px 20px 0 #1a237e0d;
  border-left: 4px solid #FFB300;
  position: relative;
}
.testimonial-card p {
  color: #21214a;
  font-size: 1.055rem;
}
.testimonial-card .star-rating {
  color: #FFB300;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
}
.testimonial-card span {
  color: #1A237E;
  font-size: .98rem;
  font-weight: 600;
}

/* ==== FLEXBOX COMPONENT PATTERNS ==== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== BUTTONS & INTERACTIONS ==== */
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: linear-gradient(to right, #FFB300, #FFD54F 90%);
  color: #1A237E;
  padding: 13px 34px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  letter-spacing: 1.1px;
  box-shadow: 0 2px 10px #ffb30022;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, transform 0.14s;
  cursor: pointer;
  outline: none;
  margin-top: 12px;
  margin-bottom: 8px;
  text-shadow: none;
  text-align: center;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(to right, #FFD54F, #FFB300 80%);
  color: #1A237E;
  box-shadow: 0 4px 24px #ffb30054;
  transform: translateY(-2px) scale(1.03);
}

/* ==== HEADER, NAVIGATION, BURGER MENU ==== */
header {
  background: #1a237e;
  width: 100%;
  box-shadow: 0 2px 16px 0 #110e2766;
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F5F5F5;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 13px;
  border-radius: 8px;
  transition: background 0.14s, color 0.18s;
}
header nav a:hover {
  background: #283593;
  color: #FFB300;
}
header nav .btn-primary {
  margin-left: 15px;
}
.mobile-menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  color: #FFB300;
  cursor: pointer;
  margin-left: 14px;
  display: flex;
  align-items: center;
  z-index: 15;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #FFD54F;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,35,126,0.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 28px 28px 24px;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.6,.16,.18,1);
  box-shadow: -8px 0 44px 0 #1a237e33;
  min-height: 100vh;
  min-width: 260px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #FFD54F;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 28px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFB300; background: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 13px 0 13px 10px;
  border-radius: 7px;
  background: none;
  transition: background 0.17s, color 0.14s;
  min-width: 190px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #FFB300;
  color: #1A237E;
}

/* Hide desktop nav + show burger button on mobile */
@media (max-width: 992px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ==== FOOTER ==== */
footer {
  width: 100%;
  background: #131c3b;
  color: #F5F5F5;
  padding: 40px 0 0 0;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
footer .container { max-width: 1180px; }
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
footer nav {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}
footer nav a {
  color: #FFD54F;
  font-weight: 600;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 0.97rem;
  background: none;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover {
  color: #1A237E;
  background: #FFD54F;
}
.footer-contact {
  color: #bfc8f6;
  font-size: 0.98rem;
  margin-bottom: 28px;
}
.footer-contact a {
  color: #FFB300;
}

/* ==== COOKIE CONSENT ==== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #212b5e;
  color: #FFF;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 32px;
  box-shadow: 0 -4px 22px 0 #1a237e55;
  z-index: 9000;
  font-size: 1rem;
  border-top: 2px solid #FFB300;
  opacity: 1;
  transition: opacity 0.34s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-text {
  flex: 2 1 70%;
}
.cookie-consent-banner .cookie-actions { display: flex; gap: 14px; }
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1A237E;
  background: #FFD54F;
  border: none;
  border-radius: 7px;
  padding: 8px 20px;
  margin: 0 1px;
  font-weight: 700;
  box-shadow: 0 1px 6px #ffb30019;
  transition: background 0.15s, color 0.15s, transform 0.16s;
  cursor: pointer;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #FFB300;
  color: #212b5e;
  transform: translateY(-1.5px);
}

/* ==== COOKIE SETTINGS MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(26,35,126,0.89);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #202b54;
  border-radius: 18px;
  box-shadow: 0 8px 44px 0 #1a237ecc;
  max-width: 410px;
  min-width: 270px;
  width: 94vw;
  padding: 32px 28px 24px 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 10000;
  animation: fadeInModal 0.35s cubic-bezier(.6,.16,.18,1);
}
@keyframes fadeInModal {
  from { transform: translateY(40px) scale(.98); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 13px;
  color: #FFD54F;
  font-size: 1.22rem;
  text-align: center;
}
.cookie-modal .category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #445191;
  font-size: 1.01rem;
}
.cookie-modal .category:last-child {
  border-bottom: none;
}
.cookie-modal .toggle-switch {
  display: flex;
  align-items: center;
  gap: 5px;
}
.toggle-switch input[type="checkbox"] {
  appearance: none;
  width: 40px; height: 22px;
  background: #FFB300;
  border-radius: 13px;
  position: relative;
  outline: none;
  margin: 0;
  cursor: pointer;
  transition: background 0.19s;
}
.toggle-switch input[type="checkbox"]:checked {
  background: #FFD54F;
}
.toggle-switch input[type="checkbox"]::before {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
}
.toggle-switch input[type="checkbox"]:checked::before {
  transform: translateX(18px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal button {
  color: #1A237E;
  background: #FFD54F;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 7px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #FFB300;
  color: #202b54;
}

/* ==== UTILS ==== */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }
.text-center { text-align: center; }

/* ==== MEDIA QUERIES / RESPONSIVE ==== */
@media (max-width: 1200px) {
  .container { max-width: 95vw; }
}
@media (max-width: 992px) {
  .feature-grid, .service-grid, .card-container, .content-grid {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
  }
}
@media (max-width: 820px) {
  .container { padding: 0 13px; }
  .feature-grid, .service-grid, .card-container, .content-grid {
    gap: 14px;
  }
  .feature-card, .service-card, .card {
    max-width: 100%;
    min-width: 170px;
    padding: 22px 8px 17px 13px;
  }
  .text-section { padding: 28px 12px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.18rem; }
  .text-section, .text-section:hover {
    padding: 20px 7px;
    box-shadow: 0 1px 9px #1a237e2a;
  }
  .card, .feature-card, .service-card {
    padding: 14px 8px 13px 9px;
    min-width: 124px;
    font-size: .98rem;
  }
  .testimonial-card {
    padding: 15px 8px;
    border-radius: 11px;
    font-size: .98rem;
  }
  .section, section {
    padding: 18px 2px !important;
    margin-bottom: 36px !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  header .container { flex-direction: row; padding-top: 6px; padding-bottom: 6px; }
  footer .content-wrapper {
    gap: 14px;
    text-align: center;
    font-size: .97rem;
  }
}
@media (max-width: 560px) {
  .mobile-menu {
    padding: 27px 10px;
    min-width: 1px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 12px 8px;
    font-size: .98rem;
  }
  .cookie-consent-banner .cookie-actions {
    flex-direction: column;
    gap: 9px;
    width: 100%;
  }
}

/* ==== FUTURISTIC/NEON/TECH ACCENTS ==== */
.text-section, .feature-card, .service-card, .card {
  border: 1.5px solid #232a52;
  background: linear-gradient(135deg,#192050 80%,#283593 110%);
  box-shadow: 0 3px 20px 0 #1a237e35, 0 0 0 2px #3f51b57a inset;
  position: relative;
  overflow: hidden;
}
.text-section:after, .feature-card:after, .service-card:after, .card:after {
  content: "";
  display: block;
  pointer-events: none;
  position: absolute;
  top:-14%; left:-19%; right:-19%; bottom:-14%;
  z-index: 0;
  background: radial-gradient(circle, rgba(255,179,0,0.11) 0%,rgba(26,35,126,0) 70%);
}
.card:hover:after, .feature-card:hover:after, .service-card:hover:after {
  background: radial-gradient(circle, rgba(255,179,0,0.17) 39%,rgba(26,35,126,0) 80%);
}
input, textarea, select {
  background: #121b3a;
  border: 1.2px solid #3f51b5;
  color: #FFD54F;
  padding: 10px 13px;
  border-radius: 8px;
  font-family: 'Open Sans', Arial, sans-serif;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #FFB300;
  background: #232b52;
}

::-webkit-scrollbar { width: 10px; background: #131c3b; }
::-webkit-scrollbar-thumb { background: #212b5e; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #2465a8; }

/* ==== Animations ==== */
.btn-primary, .cookie-consent-banner button, .cookie-modal button {
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, transform 0.14s;
}
.card, .feature-card, .service-card {
  transition: box-shadow 0.20s, border 0.20s, transform 0.18s;
  will-change: box-shadow, border, transform;
}
.card:hover, .feature-card:hover, .service-card:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 12px 60px 0 #1a237e38;
  border-color: #FFB300;
}
.testimonial-card {
  transition: box-shadow .18s, border .16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 48px #FFB30022;
  border-left: 4px solid #FFD54F;
}

/* ==== OTHER ==== */
ul {
  padding-left: 1.5em;
}
.section ul li, .text-section ul li, .content-wrapper ul li {
  margin-bottom: 7px;
  line-height: 1.5;
}
address {
  font-style: normal;
}

/* Accessibility, prevent absolute positioning for cards */
.card, .testimonial-card, .feature-card, .service-card { position: relative; }

/* Add subtle glowing accent under main headline on home page (optional) */
@media (min-width: 640px) {
  .text-section > h1 {
    text-shadow: 0 2px 16px #FFB30030, 0 0px 1px #1A237E;
    position: relative;
    z-index: 2;
  }
}

/* ==== END OF CSS ==== */
