/* --- 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #161d27;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #161d27;
  color: #F6F8F2;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  border: none;
  outline: none;
  background: none;
}

/* --- COLOR VARIABLES --- */
:root {
  --primary: #1E3A5F;
  --secondary: #599C56;
  --accent: #F6F8F2;
  --background: #161d27;
  --card-bg: #232d3b;
  --card-bg-light: #253447;
  --hero-bg: #1e2435;
  --footer-bg: #1B2232;
  --header-bg: #232d3b;
  --cta-glow: #14FFC3;
  --border-color: #244266;
  --shadow: 0 2px 32px 0 rgba(17,60,85,0.20);
  --shadow-card: 0 2px 8px 0 rgba(20,255,195,0.12);
  --shadow-strong: 0 4px 20px 0 rgba(80,230,170,0.1);
  --neutral-600: #9CAAB8;
  --neutral-400: #D3D9DF;
  --neutral-100: #F6F8F2;
  --error: #E73636;
  --success: #42FFA8;
  --focus: #14FFC3;
  --testimonial-bg: #f6f8f2;
  --testimonial-text: #232d3b;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 16px;
  line-height: 1.12;
  text-shadow: 0 2px 24px #227bbf88;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.16;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--cta-glow);
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--accent);
}
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--accent);
}
.subheadline {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: var(--cta-glow);
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
strong, b {
  font-weight: 700;
  color: var(--secondary);
}
.text-center { text-align: center; }

/* --- LINKS & BUTTONS --- */
a {
  color: var(--cta-glow);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus, a:active {
  color: var(--secondary);
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  min-width: 134px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 26px;
  border: none;
  cursor: pointer;
  background: none;
  box-shadow: 0 0 0 0 transparent;
  transition: background 0.22s, color 0.2s, box-shadow 0.22s, transform 0.14s;
  margin-top: 8px;
  margin-bottom: 8px;
  outline: none;
}
.cta.primary {
  background: var(--primary);
  color: var(--cta-glow);
  box-shadow: 0 0 16px 2px #14ffc369, 0 2px 16px 0 #1e3a5f33;
  border: 2px solid var(--cta-glow);
}
.cta.primary:hover, .cta.primary:focus {
  background: #242a5a;
  border: 2px solid var(--secondary);
  color: #fff;
  box-shadow: 0 0 28px 6px #14FFC399, 0 2px 24px 0 #1e3a5f33;
  transform: translateY(-2px) scale(1.03);
}
.cta.secondary {
  background: transparent;
  color: var(--cta-glow);
  border: 2px solid var(--cta-glow);
  box-shadow: 0 0 12px 2px #14ffc344;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--secondary);
  color: #fff;
  border: 2px solid var(--cta-glow);
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: 0 0 18px 6px #14FFC366;
}

/* --- LAYOUT WRAPPERS --- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
}

section,
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 24px;
}

/* --- HEADER/NAVIGATION --- */
header {
  background: var(--header-bg);
  box-shadow: 0 2px 12px 0 rgba(30,58,95,0.13);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  min-height: 70px;
  border-bottom: 2px solid #213663;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.23s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: var(--cta-glow);
  border-bottom: 2px solid var(--cta-glow);
}
header img {
  height: 38px;
  max-width: 160px;
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--cta-glow);
  font-size: 2rem;
  border-radius: 30%;
  border: none;
  padding: 7px 12px;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 105;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #22354a;
  color: var(--secondary);
}

/* --- MOBILE MENU & ANIMATION --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,29,39,0.98);
  box-shadow: 0 2px 24px 0 #0e1f3388;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(110vw);
  transition: transform 0.36s cubic-bezier(.62,.01,.18,.98);
  z-index: 120;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  margin-top: 22px;
  margin-right: 24px;
  background: none;
  color: var(--cta-glow);
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0 14px;
  border-radius: 20%;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #22354a;
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin: 60px 24px 24px 30px;
  width: 90vw;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 10px 2px 9px 0;
  border-bottom: 2px solid transparent;
  border-radius: 3px;
  transition: color 0.18s, background 0.19s, border-bottom 0.16s;
  width: 100%;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: #29374e;
  border-bottom: 2px solid var(--secondary);
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(115deg, #121a2d 45%, #1E3A5F 100%);
  min-height: 330px;
  padding-top: 48px;
  padding-bottom: 54px;
  border-radius: 0 0 45px 45px;
  box-shadow: 0 6px 48px 0 #0e1f3377;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero .content-wrapper {
  max-width: 650px;
}

/* --- FLEXBOX LAYOUTS & SPACING --- */
.feature-grid,
.service-list,
.testimonial-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 20px;
}
.feature-grid > div, .service-list > div {
  background: var(--card-bg-light);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  color: var(--accent);
  flex: 1 1 210px;
  min-width: 220px;
  padding: 28px 24px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1.5px solid #26344f;
  transition: box-shadow 0.18s, border 0.14s, transform 0.18s;
  position: relative;
}
.service-list > div {
  flex: 1 1 290px;
}
.feature-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 2px 34px 0 #14FFC399;
  border-color: var(--focus);
  transform: translateY(-3px) scale(1.02);
}
.feature-grid img {
  width: 46px; height: 46px; margin-bottom: 2px; filter: drop-shadow(0 2px 7px #14FFC366);
}

/* Extra layout for About - grid-3 */
.feature-grid.grid-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid.grid-3 > div {
  min-width: 210px;
  flex: 1 1 295px;
}

/* testimonial carousel/cards */
.testimonial-carousel {
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--testimonial-text);
  border-radius: 16px;
  box-shadow: 0 2px 20px 0 #161d2736;
  border: 2px solid #e4ebe3;
  gap: 13px;
  padding: 24px 20px;
  min-width: 250px;
  max-width: 410px;
  margin-bottom: 20px;
  font-size: 1rem;
  position: relative;
  transition: box-shadow 0.18s, border 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 #599c5658;
  border-color: var(--secondary);
}
.testimonial-name {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--secondary);
}

/* --- Responsive Content Grid --- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: box-shadow 0.18s, border 0.15s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 22px 0 #599c5662;
  transform: scale(1.018);
}

/* --- Text-Image Sections & Utility Layouts --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- Footer --- */
footer {
  background: var(--footer-bg);
  padding-top: 36px;
  border-top: 2.5px solid #26344f;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  padding-bottom: 16px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--neutral-400);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.23s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--cta-glow);
  border-bottom: 2px solid var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98em;
  color: var(--accent);
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img { width: 20px; height: 20px; }
.bottom-footer {
  width: 100%;
  text-align: center;
  background: #182235;
  color: #b1b9cc;
  padding: 16px 0 15px;
  font-size: 0.98em;
  border-radius: 0 0 25px 25px;
  margin-top: 18px;
}

/* --- Contact Details Section --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.contact-details img {
  width: 22px;
  height: 22px;
}

/* --- Cookie Consent Banner & Modal --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #232d3b;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  box-shadow: 0 -2px 22px 0 #0e1f3338;
  border-radius: 18px 18px 0 0;
  z-index: 300;
  padding: 17px 26px 18px 20px;
  font-size: 1rem;
  animation: cookieBannerSlideIn 0.45s cubic-bezier(.6,0,.21,1) 1;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  flex: 1 1 300px;
  max-width: 690px;
}
.cookie-banner-actions {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  padding: 10px 23px;
  border-radius: 24px;
  background: var(--primary);
  color: var(--cta-glow);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  border: 2px solid var(--cta-glow);
  box-shadow: 0 0 8px 0 #14ffc344;
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.19s, color 0.19s, border 0.19s, box-shadow 0.21s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.cookie-btn.outline {
  background: transparent;
  color: var(--cta-glow);
  border: 2px solid var(--cta-glow);
}
.cookie-btn.outline:hover, .cookie-btn.outline:focus {
  background: var(--cta-glow);
  color: #22354a;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(30,38,55,0.85);
  z-index: 410;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.33s cubic-bezier(.6,0,.21,1) 1;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #1E3A5F;
  color: var(--accent);
  border-radius: 22px;
  padding: 40px 24px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  z-index: 415;
  box-shadow: 0 2px 32px 0 #14ffc344;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  animation: modalPopIn 0.35s cubic-bezier(.62,.01,.18,.98) 1;
}
@keyframes modalPopIn {
  from { transform: scale(0.88); opacity:0;} to {transform: scale(1); opacity:1;}
}
.cookie-modal h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  color: var(--cta-glow);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  background: #29374e;
  border-radius: 12px;
  position: relative;
  margin-right: 5px;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 42px;
  height: 24px;
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  pointer-events: all;
}
.cookie-toggle .slider {
  width: 42px; height: 24px;
  border-radius: 12px;
  background: #29374e;
  position: absolute;
  transition: background 0.17s;
  top: 0; left: 0;
}
.cookie-toggle input:checked + .slider {
  background: var(--secondary);
}
.cookie-toggle .knob {
  position: absolute;
  top: 2.5px; left: 2.5px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--accent);
  transition: left 0.21s;
  z-index: 2;
}
.cookie-toggle input:checked + .slider .knob {
  left: 20px;
}

/* --- Utility classes --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }

@media (max-width: 1250px) {
  .container { max-width: 930px; }
}
@media (max-width: 1000px) {
  .container { max-width: 740px; }
}
@media (max-width: 900px) {
  .feature-grid > div,
  .feature-grid.grid-3 > div,
  .service-list > div {min-width: 220px;}
}
@media (max-width: 850px) {
  .container { max-width: 95vw; }
  .feature-grid, .service-list, .testimonial-carousel, .content-grid, .card-container {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .subheadline { font-size: 1.02rem; }
  section, .section { padding: 28px 8px; margin-bottom: 40px; }
  .hero { padding-top: 32px; padding-bottom: 33px; min-height: 180px; border-radius: 0 0 18px 18px; }
  .feature-grid, .service-list, .testimonial-carousel, .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .feature-grid > div, .service-list > div, .card, .testimonial-card {
    min-width: unset;
    max-width: unset;
    width: 100%;
    margin-bottom: 12px;
    padding: 19px 12px;
    align-items: flex-start !important;
  }
  .footer-contact, footer nav { gap: 6px; }
  footer .container { flex-direction: column; gap: 22px; }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 12px;
    top: 17px;
  }
  header .container nav,
  header .container .cta.primary {
    display: none;
  }
}
@media (max-width: 570px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.05rem; }
  .bottom-footer { font-size: 0.88em; }
  .hero .content-wrapper { max-width: 97vw; }
  .footer-contact span { font-size: 0.95em; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 10px 10px 10px;
    font-size: 0.92rem;
  }
}

/* --- MICRO-INTERACTIONS: SHADOW, HOVER, FOCUS --- */
.card, .feature-grid > div, .service-list > div, .testimonial-card {
  transition: box-shadow 0.23s cubic-bezier(.6,0,.21,1),
      border 0.15s cubic-bezier(.4,0,.2,1), transform 0.13s cubic-bezier(.6,0,.21,1);
}
.card:focus-within, .feature-grid > div:focus-within, .service-list > div:focus-within, .testimonial-card:focus-within {
  border-color: var(--focus);
  box-shadow: 0 0 18px 3px #14FFC399;
}

/* --- LIST STYLING --- */
ul, ol {
  padding-left: 18px;
  margin-bottom: 15px;
  margin-top: 7px;
}
ul li, ol li {
  margin-bottom: 4px;
  line-height: 1.55;
  color: var(--accent);
  font-size: 1em;
}
/* --- Remove dot for feature grid/service-list --- */
.feature-grid ul, .service-list ul { list-style: none; padding-left: 0; }

/* --- Accessibility Focus Styles --- */
*:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1.5px;
  z-index: 11;
}

/* --- Scrollbar --- */
body::-webkit-scrollbar { width: 10px; background: #192230; }
body::-webkit-scrollbar-thumb { background: #26344f; border-radius: 6px; }
body::-webkit-scrollbar-thumb:hover { background: #1E3A5F; }

/* --- Neon accents for titles --- */
h1, h2 {
  text-shadow: 0 1px 16px #14FFC355, 0 1.5px 0 #204972;
}

/* --- Hide scroll on mobile menu open --- */
body.menu-open { overflow: hidden; }

/* --- Z-Indexes --- */
header { z-index: 300; }
.mobile-menu { z-index: 120; }
.cookie-banner { z-index: 300; }
.cookie-modal-overlay { z-index: 410; }

/* --- End of Style --- */
