/* --- CSS RESET & BASE STYLES --- */
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-family: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #101624;
}
body {
  color: #F2F4F8;
  background: #101624;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Brand Font Imports */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* --- GENERAL TYPOGRAPHY --- */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F2F4F8;
  font-weight: 700;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.12;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, h5 {
  font-size: 1.1rem;
  color: #D9B365;
  margin-bottom: 10px;
}
p, ul, li {
  color: #DDE1EA;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong, b {
  color: #F2F4F8;
  font-weight: 600;
}
a {
  color: #D9B365;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2F4F8;
  text-shadow: 0 0 6px #D9B36580;
}

ul {
  list-style: none;
  padding-left: 0;
}
li {
  line-height: 1.75;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 1rem;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #202D43;
  border-radius: 14px;
  box-shadow: 0 2px 24px 0 #0A1436CC;
  padding: 24px;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1.5px solid #283554;
}
.card:hover, .card:focus {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 4px 32px 2px #D9B36566, 0 2px 10px 0 #101624;
  z-index: 3;
}
.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;
  justify-content: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F2F4F8;
  color: #232B3D;
  border-radius: 12px;
  box-shadow: 0 0 12px 2px #0A143622;
  margin-bottom: 20px;
  position: relative;
  border: 2px solid #D9B36533;
  min-width: 240px;
  width: 100%;
}
.testimonial-card h3, .testimonial-card strong, .testimonial-card b {
  color: #1B263B; 
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 8px;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(110deg, #1B263B 0%, #233157 50%, #101624 100%);
  padding: 56px 0 44px 0;
  box-shadow: 0 6px 28px -6px #D9B36522;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #F2F4F8;
  font-size: 2.25rem;
  text-shadow: 0 0 24px #D9B365aa, 0 0 8px #F2F4F850;
}
.hero h2 {
  color: #D9B365;
  font-size: 1.3rem;
  font-weight: 500;
  text-shadow: 0 0 8px #F2F4F850;
  margin-bottom: 12px;
}

/* --- NAVIGATION --- */
header {
  background: #131A2A;
  box-shadow: 0 2px 22px 0 #0A143660;
  position: relative;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 18px 0;
  position: relative;
  justify-content: flex-start;
}
.main-nav img {
  height: 42px;
  margin-right: 18px;
}
.main-nav a {
  color: #F2F4F8;
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 6px 12px;
  transition: color 0.18s, background 0.16s, box-shadow 0.22s;
  border-radius: 8px;
  position: relative;
  z-index: 1;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F2F4F8;
  background: #233157;
  box-shadow: 0 2px 16px 0 #D9B36533;
}

.cta-primary {
  color: #1B263B !important;
  background: linear-gradient(100deg, #D9B365 65%, #f3e6ca 100%, #F2F4F8 0%);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  margin-left: 6px;
  box-shadow: 0 2px 12px 0 #D9B36580;
  border: none;
  cursor: pointer;
  position: relative;
  border: 2px solid #D9B365;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.18s, box-shadow 0.22s;
}
.cta-primary:hover, .cta-primary:focus {
  color: #233157;
  background: #FFEBB1;
  box-shadow: 0 4px 24px 0 #D9B365aa;
}

/* --- BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 19px;
  background: transparent;
  color: #D9B365;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  z-index: 30;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #23315788;
  color: #F2F4F8;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16, 22, 36, 0.98);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 56px;
  width: 100vw;
  transform: translateX(100vw);
  transition: transform 0.45s cubic-bezier(0.77,0,0.175,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: transparent;
  border: none;
  color: #D9B365;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 1210;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #1B263B33;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 24px 18px 32px;
  width: 100vw;
}
.mobile-nav a {
  color: #F2F4F8;
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 13px 10px;
  border-radius: 9px;
  text-align: left;
  width: 96%;
  transition: background 0.15s, color 0.15s, box-shadow 0.19s;
  background: transparent;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #233157;
  color: #D9B365;
  box-shadow: 0 2px 18px 0 #D9B36533;
}

/* --- MAIN & SECTION --- */
main {
  min-height: 55vh;
  width: 100%;
  background: transparent;
  margin-bottom: 44px;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-bottom: 1.1px solid #23315722;
  background: none;
  position: relative;
  z-index: 1;
}
section:last-of-type {
  border-bottom: none;
}
/* For better contrast in special sections */
section.special {
  background: #161C2B;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 #0A14363a;
}

/* --- BUTTONS --- */
button,
input[type=submit],
input[type=button] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #D9B365;
  color: #1B263B;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.22s;
  box-shadow: 0 2px 12px 0 #D9B36577;
  margin: 6px 0;
}
button:hover, button:focus,
input[type=submit]:hover, input[type=submit]:focus {
  background: #151D2F;
  color: #F2F4F8;
  box-shadow: 0 4px 25px 0 #D9B36599;
}


/* --- FOOTER --- */
footer {
  width: 100%;
  background: #131A2A;
  padding: 36px 0 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  border-top: 2px solid #23315744;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #D9B365;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s, box-shadow 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #D9B365;
  color: #101624;
}
.footer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #F2F4F8;
  font-size: 0.95rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  opacity: 0.84;
}
.footer-info img {
  height: 38px;
  width: auto;
}

/* --- TESTIMONIAL STYLES --- */
.testimonial-card p,
.testimonial-card span {
  color: #232B3D;
  font-size: 1.05rem;
}
.testimonial-card strong,
.testimonial-card b {
  color: #1B263B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
}

/* --- UTILITIES --- */
.neon {
  color: #F2F4F8;
  text-shadow: 0 0 6px #D9B365, 0 0 2px #fff;
}

/* Gradient/Neon Panel for Card/CTA highlights */
.neon-panel {
  background: linear-gradient(110deg, #D9B36544 0%, #233157 80%);
  border-radius: 14px;
  box-shadow: 0 0 24px 0 #D9B36555;
  padding: 28px 24px;
}

/* Icon Styles in List Items */
li img {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 8px #D9B365a0);
  margin-right: 6px;
  flex-shrink: 0;
}

/* --- SPACING & CARD PATTERNS --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* --- INPUT FIELD STYLES (if needed for contact/lead) --- */
input, textarea, select {
  border: 1.4px solid #233157;
  border-radius: 7px;
  background: #161C2B;
  color: #F2F4F8;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border 0.17s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #D9B365;
  box-shadow: 0 0 0 2px #D9B36555;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1600;
  background: #232B3D;
  color: #F2F4F8;
  padding: 22px 20px;
  box-shadow: 0 -2px 32px 0 #D9B36560;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  transition: transform 0.33s cubic-bezier(0.77,0,0.175,1), opacity 0.22s;
}
.cookie-banner.hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  min-width: 120px;
  padding: 10px 14px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #D9B365;
  color: #1B263B;
  font-weight: 700;
  box-shadow: 0 2px 10px 0 #D9B36530;
  margin: 0 4px 2px 0;
  transition: background 0.12s, color 0.12s;
}
.cookie-banner button.cookie-settings-btn {
  background: #233157;
  color: #D9B365;
  border: 1.5px solid #D9B365;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFD98A;
  color: #1B263B;
  box-shadow: 0 0 18px 0 #D9B36580;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #222c49;
  color: #F2F4F8;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  bottom: 0; left: 50%; top: unset;
  transform: translate(-50%, 40%) scale(0.95);
  min-width: 320px;
  max-width: 98vw;
  background: #151D2F;
  color: #F2F4F8;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 0 32px 8px #1B263B33;
  padding: 38px 22px 28px 22px;
  z-index: 1800;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s cubic-bezier(0.77,0,0.175,1), opacity 0.17s;
}
.cookie-modal.open {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal h2 {
  color: #D9B365;
  margin-bottom: 18px;
  font-size: 1.18rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-bottom: 16px;
  font-size: 1.08rem;
}
.cookie-modal .cookie-category label {
  color: #F2F4F8;
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: #D9B365;
  width: 1.13em;
  height: 1.13em;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 14px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 13px;
  background: transparent;
  border: none;
  color: #D9B365;
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 8px;
}
.cookie-modal .close-modal:focus, .cookie-modal .close-modal:hover {
  background: #23315788;
}

/* --- RESPONSIVE & MEDIA QUERIES --- */
@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 860px) {
  .main-nav {
    gap: 16px;
  }
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 7vw;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .content-wrapper,
  .card-container,
  .content-grid,
  .text-section {
    gap: 14px;
  }
  .hero .content-wrapper {
    gap: 12px;
    padding: 0 2vw;
  }
  .hero {
    padding: 42px 0 20px 0;
  }
  .section, section {
    padding: 28px 6vw;
    margin-bottom: 40px;
  }
  .card {
    padding: 16px;
    font-size: 0.98rem;
  }
  .card-content {
    gap: 10px;
  }
  .testimonial-card {
    padding: 14px;
    font-size: 0.98rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .cookie-modal {
    min-width: 96vw;
    max-width: 99vw;
    padding: 20px 7vw 22px 7vw;
  }
}
@media (max-width: 520px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 1.25rem;
  }
  h2 {
    font-size: 1rem;
  }
  .hero .container, .container {
    padding: 0 2vw;
  }
  .section, section {
    padding: 16px 2vw;
    margin-bottom: 32px;
  }
}

/* --- TRANSITIONS & ANIMATIONS --- */
a, button, .cta-primary, input, .card, .main-nav a, .mobile-nav a, .footer-nav a {
  transition: color 0.22s, background 0.22s, box-shadow 0.24s, transform 0.15s, border 0.15s;
}
.card, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.19s;
}

/* --- Z-INDEX FOR CRITICAL ELEMENTS --- */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 1200;
}

/* --- AVOID ABSOLUTE POSITIONING FOR CONTENT (ONLY USED FOR DECORATIVE MENU ELEMENTS) --- */

/* --- PREVENT CONTENT OVERLAP, ENFORCE GAPS --- */
.card:not(:last-child), .testimonial-card:not(:last-child), .feature-item:not(:last-child) {
  margin-bottom: 20px;
}
.card-container > *, .content-grid > *, .text-image-section > *, .testimonial-card > *, .feature-item > * {
  margin-right: 0;
  margin-left: 0;
}

/* --- COLOR CONTRAST IN TESTIMONIAL CARDS --- */
.testimonial-card,
.testimonial-card p,
.testimonial-card strong,
.testimonial-card h3 {
  color: #232B3D !important;
  text-shadow: none;
}

/* --- DISABLED/RESPONSIVE STATE FOR OVERLAYS --- */
@media (min-width: 769px) {
  .main-nav {
    display: flex !important;
  }
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}
