/* --- CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dd, dt {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  color: inherit;
  outline: none;
}

/* --- BRAND VARIABLES & DEFAULTS --- */
:root {
  --primary: #2076C1;
  --primary-dark: #145082;
  --accent: #F4F7FA;
  --background-dark: #131E2E;
  --surface: #222F44;
  --card-bg: #17263f;
  --card-shadow: rgba(39,102,166,0.13);
  --neon-glow: #24f4ff;
  --text-main: #F4F7FA;
  --text-dark: #181e26;
  --success: #22DEAA;
  --danger: #EF476F;
  --border-radius: 15px;
  --shadow-md: 0 4px 24px 0 rgba(32,118,193,0.12), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-card: 0px 2px 16px 0px rgba(32,118,193,0.10), 0px 1.5px 9px 0px rgba(39, 244, 255,0.14);
  --transition: 0.21s cubic-bezier(0.77,0,0.18,1);
}

html, body {
  height: 100%;
}
body {
  min-height: 100vh;
  background: linear-gradient(115deg, #1F6BB0 0%, #145082 100%);
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-main);
  line-height: 1.7;
  font-size: 1rem;
  letter-spacing: 0.015em;
  background-attachment: fixed;
}
/* --- TYPOGRAPHY --- */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--neon-glow);
  letter-spacing: 0.01em;
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-weight: 500;
}
.subtitle {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 400;
}
p, ul, ol, li, dd, dt, address {
  color: var(--text-main);
  margin-bottom: 14px;
  font-size: 1rem;
}
strong, b {
  color: var(--neon-glow);
  font-weight: 600;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: rgba(19,30,46,0.84);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
}
.text-section {
  background: rgba(244,247,250, 0.93);
  color: var(--text-dark);
}
.text-section > * {
  color: var(--text-dark);
}

/* --- HEADER --- */
header {
  background: rgba(19,30,46,0.98);
  box-shadow: 0 1px 10px 0 rgba(32,118,193,0.07);
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px 0;
}
.header-flex > a img {
  width: 150px;
  min-width: 90px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  padding: 8px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--neon-glow);
  background: rgba(36,244,255, 0.08);
}
.btn-primary {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 24px;
  color: #fff;
  background: var(--primary);
  border-radius: 25px;
  box-shadow: 0 2px 16px 0 rgba(32,118,193,0.27);
  border: none;
  cursor: pointer;
  margin-left: 12px;
  letter-spacing: 0.01em;
  transition: background 0.17s, box-shadow 0.17s, color 0.17s;
  outline: none;
  position: relative;
  z-index: 2;
}
.btn-primary:after {
  content: '';
  display: block;
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border-radius: 25px;
  box-shadow: 0 0 1.5px 1.5px var(--neon-glow);
  opacity: 0.5;
  pointer-events: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--neon-glow);
  color: var(--primary-dark);
  box-shadow: 0 2px 14px 0 var(--neon-glow);
}
.btn-secondary {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: transparent;
  color: var(--neon-glow);
  border: 2px solid var(--neon-glow);
  border-radius: 25px;
  padding: 10px 24px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  margin-left: 2px;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(32,118,193,0.08);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--neon-glow);
  color: #17263f;
  border-color: var(--primary-dark);
}

/* --- BURGER MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--neon-glow);
  margin-left: auto;
  cursor: pointer;
  z-index: 1005;
  padding: 7px 15px;
  line-height: 1;
  transition: color var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--primary);
  background: rgba(36,244,255,0.08);
  border-radius: 10px;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19,30,46, 0.98);
  box-shadow: 0 6px 32px 0 rgba(32,118,193,0.18);
  z-index: 2000;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(0.82,0,0.16,1), opacity 0.18s ease;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--neon-glow);
  background: none;
  border: none;
  margin: 23px 0 0 23px;
  cursor: pointer;
  align-self: flex-start;
  z-index: 3000;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--primary);
  background: rgba(36,244,255,0.08);
  border-radius: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 38px;
  margin-left: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  padding: 13px 0;
  color: var(--neon-glow);
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
  width: 100%;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--neon-glow);
  color: #17263f;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 14px;
  }
  .header-flex > a img {
    width: 108px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 7px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (max-width: 850px) {
  .main-nav, .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .header-flex {
    justify-content: space-between;
    gap: 8px;
  }
}

/* --- SECTION & SPACING PATTERNS --- */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 15px;
  background: #F4F7FA;
  color: #181e26;
  box-shadow: 0 2px 14px 0 rgba(32,118,193,0.19);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 450px;
  flex: 1 1 300px;
}
.testimonial-card p {
  color: #181e26;
  font-size: 1rem;
}
.testimonial-info {
  font-size: 1rem;
  color: #2076C1;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-info span {
  color: #FFD600;
  background: #181e26;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 1.1em;
  margin-left: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-grid, .service-cards, .service-list, .certifications, .pricing-tables, .testimonials, .clients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div, .service-cards > div, .service-list > div, .pricing-card, .clients-list > div {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 26px 20px;
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.features-grid img, .service-cards img, .clients-list img, .features-grid svg {
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 8px var(--neon-glow));
  width: 44px;
  height: 44px;
}
.service-cards > div a {
  margin-top: 20px;
  color: var(--neon-glow);
  font-weight: 600;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  text-decoration: underline;
  letter-spacing: 0.01em;
}
.service-cards > div a:hover {
  color: var(--primary);
}
.clients-list > div {
  align-items: center;
  text-align: left;
}
.certifications img {
  width: 52px;
  height: 52px;
}

/* --- PRICING CARDS --- */
.pricing-tables {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  margin-bottom: 26px;
}
.pricing-card {
  background: var(--card-bg);
  border: 2px solid var(--primary-dark);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 28px 24px 20px 24px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border 0.16s, box-shadow 0.16s, background 0.13s;
  margin-bottom: 22px;
}
.pricing-card h3 {
  font-size: 1.22rem;
  margin-bottom: 13px;
  color: var(--neon-glow);
}
.pricing-card ul li {
  color: var(--accent);
  margin-bottom: 10px;
}
.pricing-card:hover,
.pricing-card:focus {
  border-color: var(--neon-glow);
  box-shadow: 0 2px 36px 0 var(--neon-glow);
  background: var(--primary-dark);
}
.note {
  color: #F4F7FA;
  opacity: 0.86;
  font-size: 0.96rem;
  margin-top: 10px;
}

/* --- FAQ --- */
.faq-accordion,
.faq-snippets {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.faq-accordion > div, .faq-snippets > dt, .faq-snippets > dd {
  background: var(--surface);
  color: var(--accent);
  border-radius: 13px;
  padding: 20px 18px;
  box-shadow: 0 2px 10px 0 rgba(32,118,193,0.11);
  transition: box-shadow 0.13s;
}
.faq-snippets > dt {
  font-weight: 700;
  color: var(--neon-glow);
  margin-bottom: 7px;
  font-family: 'Montserrat',sans-serif;
}
.faq-accordion h3 {
  font-size: 1.10rem;
  color: var(--neon-glow);
  margin-bottom: 7px;
}
.faq-categories {
  margin-top: 14px;
  font-size: 1rem;
  color: #b2e5f7;
}
.faq-categories ul {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.faq-categories li {
  background: var(--primary-dark);
  color: var(--neon-glow);
  border-radius: 9px;
  padding: 4px 11px;
  font-size: 0.98rem;
}

/* --- CONTACT DETAILS --- */
.contact-details p, .contact-map p {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.01rem;
  color: var(--primary-dark);
}
.contact-details a {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.contact-details img, .contact-map img {
  width: 28px;
  height: 28px;
}
.contact-map {
  margin-top: 12px;
  background: var(--surface);
  border-radius: 9px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
}

/* --- FOOTER --- */
footer {
  background: #181e26;
  color: var(--accent);
  width: 100%;
  border-top: 1.5px solid var(--primary-dark);
  position: relative;
  z-index: 101;
}
.footer-flex {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding: 36px 0;
}
.footer-flex > a img {
  width: 110px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--neon-glow);
  font-size: 1rem;
  margin-bottom: 3px;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFD600;
}
footer address {
  font-style: normal;
  color: var(--accent);
  font-size: 0.99rem;
  line-height: 1.7;
  margin-top: 2px;
}
footer address a {
  color: var(--neon-glow);
  text-decoration: underline;
  transition: color 0.15s;
}
footer address a:hover, footer address a:focus {
  color: var(--primary);
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3200;
  background: rgba(19,30,46,0.98);
  color: var(--neon-glow);
  padding: 22px 19px 14px 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -3px 18px 0 rgba(36,244,255,0.13);
  animation: cookie-banner-fadein 0.4s;
}
@keyframes cookie-banner-fadein {
  from { opacity: 0; bottom: -80px; }
  to { opacity: 1; bottom: 0; }
}
.cookie-banner-text {
  color: var(--neon-glow);
  font-size: 1rem;
  margin-bottom: 16px;
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 2px;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  padding: 8px 22px;
  transition: background 0.16s, color 0.16s;
}
.cookie-accept {
  background: var(--success);
  color: #17263f;
  font-weight: 700;
}
.cookie-accept:hover { background: #3ff5d2; }
.cookie-reject {
  background: var(--danger);
  color: #fff;
  font-weight: 600;
}
.cookie-reject:hover { background: #FB7185; }
.cookie-settings {
  background: #181e26;
  color: var(--neon-glow);
  border: 1.5px solid var(--neon-glow);
  font-weight: 500;
}
.cookie-settings:hover { background: var(--neon-glow); color: #17263f; }

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(19,30,46,0.91);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.82,0,0.16,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  color: #17263f;
  padding: 34px 28px 22px 28px;
  border-radius: 18px;
  box-shadow: 0 10px 38px 0 rgba(36,244,255,0.13);
  min-width: 310px;
  max-width: 97vw;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 22px;
  background: none;
  border: none;
  color: var(--danger);
  font-size: 1.6rem;
  cursor: pointer;
}
.cookie-modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary);
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0 8px 0;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #98c8eb;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-right: 12px;
}
.cookie-switch {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #c0eaf7;
  border-radius: 18px;
  transition: .2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--neon-glow);
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: var(--primary);
  border-radius: 50%;
  transition: .2s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
  background: var(--neon-glow);
}
.cookie-modal-description {
  font-size: 0.98rem;
  color: #486098;
}

/* --- INTERACTIONS & SHADOWS --- */
.card, .features-grid > div, .service-cards > div, .clients-list > div, .pricing-card {
  transition: box-shadow 0.23s, background 0.18s;
}
.card:hover, .features-grid > div:hover, .service-cards > div:hover, .clients-list > div:hover, .pricing-card:hover {
  box-shadow: 0 0 32px 0 var(--neon-glow), var(--shadow-card);
  background: var(--surface);
  z-index: 2;
}

/* --- LINKS --- */
a {
  transition: color 0.17s;
}
a:hover, a:focus {
  color: var(--neon-glow);
  text-decoration: underline;
}

/* --- UTILITIES --- */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1080px) {
  .content-wrapper, .text-section {
    padding: 24px 12px;
  }
  .features-grid > div, .service-cards > div, .service-list > div, .pricing-card, .clients-list > div {
    padding: 20px 10px;
    min-width: 180px;
  }
  .footer-flex {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }
  .footer-nav {
    flex-direction: row;
    gap: 14px;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  section, .section {
    padding: 32px 6px;
    margin-bottom: 36px;
  }
  .content-wrapper, .text-section {
    padding: 16px 5px;
    border-radius: 11px;
  }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.28rem; }
  .features-grid, .service-cards, .service-list, .certifications, .pricing-tables, .testimonials, .clients-list {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .footer-flex {
    gap: 16px;
    padding: 14px 0;
  }
  .footer-nav {
    flex-direction: column;
    gap: 7px;
    align-items: center;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    min-width: 140px;
    max-width: 97vw;
    padding: 14px;
  }
}
@media (max-width: 510px) {
  h1, .h1 { font-size: 1.24rem; }
  h2, .h2 { font-size: 1.08rem; }
  .header-flex > a img, .footer-flex > a img { width: 80px; }
  .cookie-modal-content { min-width: 90vw; padding: 16px 5vw 8px 5vw; }
}

/* --- ANIMATIONS --- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .btn-primary, .btn-secondary, .main-nav a, .mobile-nav a, .footer-nav a {
    transition: background 0.21s, color 0.21s, border 0.18s;
  }
  .card, .service-cards > div, .features-grid > div, .clients-list > div, .pricing-card {
    transition: box-shadow 0.23s, background 0.18s;
  }
}

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2px solid var(--neon-glow);
  outline-offset: 2px;
  z-index: 101;
}

/* --- MINIMUM SPACING BETWEEN CARDS/SECTIONS --- */
.features-grid > div:not(:last-child), .service-cards > div:not(:last-child), .service-list > div:not(:last-child), .clients-list > div:not(:last-child), .pricing-card:not(:last-child), .testimonial-card:not(:last-child), section:not(:last-child) {
  margin-bottom: 20px;
}

/* --- Z-INDEX FOR MOBILE MENU & COOKIE --- */
header, .mobile-menu-toggle { z-index: 1000; }
.mobile-menu { z-index: 2000; }

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px; background: #145082;
}
::-webkit-scrollbar-thumb {
  background: var(--neon-glow); border-radius: 9px;
}

/*--- END ---*/
