/* ========================== 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, 
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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #0F2036;
  color: #F5F6FA;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

ol, ul {
  list-style: none;
}

a {
  color: #2296C9;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #21d4fd;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ===================== BRAND FONTS ======================= */
@import url('https://fonts.googleapis.com/css?family=Raleway:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #F5F6FA;
}
h1 {
  font-size: 2.375rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }
p, .subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #DBEAFE;
  margin-bottom: 16px;
}
.subheadline {
  font-size: 1.125rem;
  color: #21d4fd;
  font-weight: 500;
  margin-bottom: 20px;
}

strong, b { font-weight: bold; }

/* ================ LAYOUT CONTAINERS & SPACING (MANDATORY) ================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(16,34,59,0.92);
  border-radius: 24px;
  box-shadow: 0 2px 24px 0 rgba(34,150,201,0.09);
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* --- FLEX PATTERNS --- */
.card-container,
.card-grid,
.feature-grid,
.feature-list,
.service-list,
.usp-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  background: #162947;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 4px 24px 0 rgba(34,150,201,0.13);
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 8px 32px 0 #2296C9;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.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 28px;
  background: #F5F6FA;
  border-radius: 18px;
  border: 2px solid #2296C9;
  color: #10223B;
  margin-bottom: 20px;
  box-shadow: 0 0 20px 0 rgba(34,150,201,0.13);
  transition: border-color 0.22s, box-shadow 0.22s;
}
.testimonial-card strong {
  color: #1a4367;
  font-size: 1.05em;
}
.testimonial-card p {
  color: #112238;
}
.testimonial-card:hover, .testimonial-card:focus {
  border-color: #21d4fd;
  box-shadow: 0 4px 36px 0 #2296C9;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 992px) {
  .container {
    max-width: 95vw;
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  h1 {font-size: 1.6rem;}
  h2 {font-size: 1.22rem;}
  .container { padding: 0 2vw;}
  .section { padding: 28px 8px; margin-bottom: 32px;}
  .content-wrapper,
  .card-container,
  .feature-grid,
  .feature-list,
  .service-list,
  .content-grid,
  .usp-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .testimonial-card {
    padding: 16px 12px;
  }
}

/* ======================= MAIN NAVIGATION ========================== */
header {
  width: 100%;
  background: #111c2b;
  box-shadow: 0 2px 24px rgba(34,150,201,0.08);
  position: relative;
  z-index: 30;
}
.main-nav {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  padding: 20px 16px 20px 16px;
}
.main-nav a {
  color: #F5F6FA;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 9px 14px;
  border-radius: 8px;
  transition: background 0.17s, color 0.2s;
  position: relative;
  z-index: 2;
}
.main-nav .logo {
  margin-right: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  border-radius: 0;
}
.main-nav a:not(.logo):hover, .main-nav a:not(.logo):focus {
  background: #2296C9;
  color: #fff;
}
.btn-primary {
  background: #2296C9;
  color: #fff !important;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: 0.01em;
  padding: 10px 25px;
  margin-left: 8px;
  box-shadow: 0 2px 12px 0 rgba(34,150,201,0.24);
  border: none;
  outline: none;
  transition: background 0.19s, box-shadow 0.20s, color 0.17s;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #21d4fd;
  color: #10223B !important;
  box-shadow: 0 4px 32px 0 #2296C9;
  text-shadow: 0 2px 8px #fff4;
}

/* ========================= MOBILE MENU ======================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 101;
  background: #2296C9;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 2rem;
  padding: 7px 14px;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 rgba(34,150,201,0.21);
  transition: background 0.16s, box-shadow 0.22s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #21d4fd;
  color: #10223B;
  box-shadow: 0 6px 32px #2296C9, 0 0 8px #21d4fd;
}
.mobile-menu {
  display: block;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16,34,59,0.98);
  box-shadow: 0 6px 40px #2296C9;
  z-index: 1101;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.7,0,0.25,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  right: 22px;
  top: 18px;
  background: #2296C9;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  border-radius: 8px;
  padding: 2px 16px;
  cursor: pointer;
  z-index: 1151;
  box-shadow: 0 2px 12px #2296C966;
  transition: background 0.15s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #21d4fd;
  color: #111c2b;
}
.mobile-nav {
  margin: 75px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  text-align: center;
  transition: background 0.15s, color 0.15s;
  width: 85vw;
  max-width: 380px;
  letter-spacing: 0.03em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #2296c9;
  color: #10223B;
}

@media (max-width: 1080px) {
  .main-nav { gap: 16px; }
  .main-nav .logo { margin-right: 16px; }
}
@media (max-width: 860px) {
  .main-nav {
    gap: 10px;
    padding: 14px 8px 14px 8px;
  }
  .btn-primary {
    margin-left: 0;
    margin-top: 8px;
    padding: 9px 18px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ==================== GENERIC CARD & GRID STYLES ===================== */
.card {
  background: #182a2f;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 #2296C922;
  padding: 20px 26px;
  min-width: 240px;
  flex: 1 1 240px;
}
.card img {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.15rem;
}

.feature-grid > div,
.usp-grid > div,
.feature-list > div,
.service-list > div {
  background: #122138;
  color: #F5F6FA;
  border-radius: 15px;
  box-shadow: 0 2px 8px 0 #2296C933;
  padding: 22px 16px 20px 16px;
  flex: 1 1 233px;
  position: relative;
  margin-bottom: 20px;
  transition: transform 0.17s, box-shadow 0.21s, border 0.15s;
  border: 1.8px solid transparent;
}
.feature-grid > div:hover,
.usp-grid > div:hover,
.feature-list > div:hover,
.service-list > div:hover {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 8px 30px #2296C9;
  border: 1.8px solid #2296C9;
}
.feature-grid img,
.usp-grid img,
.feature-list img,
.service-list img {
  width: 48px; height: 48px; margin-bottom: 12px; filter: drop-shadow(0 0 6px #2296c988); }

.price {
  display: inline-block;
  color: #21d4fd;
  font-size: 1.04rem;
  font-weight: 700;
  padding-left: 8px;
}

/* ===================== LIST STYLES & POLICY STYLES ==================== */
.text-section ul, .policy-text ul, .policy-text ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.text-section ul li, .policy-text ul li, .policy-text ol li {
  margin-bottom: 8px;
  list-style-type: disc;
  color: #c2e1f9;
  font-size: 1rem;
}
.policy-text {
  background: #182a2f;
  padding: 22px 22px 14px 22px;
  border-radius: 14px;
  box-shadow: 0 2px 9px #2296c92a;
  color: #dbeafd;
}
.policy-text h2 {
  color: #21d4fd;
  font-size: 1.11em;
  margin-top: 20px;
  margin-bottom: 10px;
}
.policy-text a {
  color: #2296C9;
  text-decoration: underline;
  transition: color 0.17s;
}
.policy-text a:hover, .policy-text a:focus {
  color: #21d4fd;
}

/* =========================== FOOTER ============================ */
footer {
  width: 100%;
  background: #111c2b;
  padding: 40px 0 18px 0;
  margin-top: 48px;
  box-shadow: 0 -2px 26px 0 #2296C91a;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #21d4fd;
  font-size: 0.97em;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 8px;
  padding: 7px 13px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #2296C9;
  color: #fff;
}
.footer-contact {
  color: #a3c7dd;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.97em;
  margin-bottom: 22px;
  text-align: center;
}
.footer-logo {
  margin: 0 auto;
  width: 56px;
  display: flex;
  justify-content: center;
}
.footer-logo img {
  display: block;
  width: 56px;
  height: 56px;
  opacity: 0.89;
}
@media (max-width: 600px) {
  footer {
    padding: 24px 0 10px 0;
  }
  .footer-logo { width: 45px; }
  .footer-logo img { width: 45px; height: 45px; }
}

/* ===================== ICON ROWS / SUPPORT / EXTRAS ========================= */
.service-icons,
.feature-icons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icons img, .feature-icons img {
  width: 44px; height: 44px;
  filter: drop-shadow(0 0 8px #2296c977);
}

/* ============================== COOKIE CONSENT =============================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #122138;
  color: #fff;
  box-shadow: 0 -4px 32px #2296c9ad;
  z-index: 1501;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 24px 12px;
  min-height: 70px;
  animation: cookieSlideIn 0.4s cubic-bezier(.72,0,.17,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner-text {
  font-size: 1rem;
  color: #fff;
  margin-right: 28px;
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  background: #2296C9;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.98rem;
  padding: 9px 18px;
  border: none;
  border-radius: 8px;
  margin-left: 0;
  margin-top: 0;
  cursor: pointer;
  box-shadow: 0 2px 10px #2296C92b;
  transition: background 0.16s, color 0.16s, box-shadow 0.17s;
}
.cookie-btn.settings {
  background: #fff;
  color: #2296C9;
  border: 2px solid #2296C9;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #21d4fd;
  color: #10223B;
  box-shadow: 0 4px 22px #21d4fd88, 0 0 6px #2296C944;
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 6px;
  }
  .cookie-banner-text { margin-right: 0; }
}

/* --- Cookie Preferences Modal --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16,34,59,0.89);
  z-index: 1502;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #F5F6FA;
  color: #10223B;
  border-radius: 16px;
  box-shadow: 0 2px 32px #2296C955;
  padding: 32px 32px 22px 32px;
  min-width: 340px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.28s cubic-bezier(.78,0,.29,1);
  z-index: 1511;
}
@keyframes modalIn {
  from { transform: translateY(22px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 12px;
  color: #2296C9;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #bcdcf1;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.17s;
  cursor: pointer;
  margin-left: 12px;
}
.cookie-toggle:checked {
  background: #2296C9;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
}
.cookie-toggle:checked::before {
  left: 20px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: #2296C9;
  color: #fff;
  border: none;
  padding: 2px 15px 1px 15px;
  border-radius: 8px;
  float: right;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #21d4fd;
  color: #10223B;
}
@media (max-width:500px) {
  .cookie-modal {
    padding: 18px 7vw 12px 7vw;
    min-width: 0;
  }
}

/* ========================= BUTTONS & MICRO INTERACTIONS ======================== */
button, .btn-primary, .cookie-btn {
  transition: background 0.19s, color 0.12s, box-shadow 0.13s, transform 0.12s;
}
button:active, .btn-primary:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* ========================== MISC ======================= */
::-webkit-scrollbar { width: 10px; background: #122138; }
::-webkit-scrollbar-thumb { background: #2296C977; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #21d4fd88; }

.section {
  box-shadow: 0 2px 24px 0 #2296C91e;
  background: linear-gradient(140deg, #142135, #162947 57%, #2296C90c 100%);
}

/* Deepen contrast for light-on-dark sections */
h1, h2, h3, h4, h5, h6 {
  text-shadow: 0 2px 15px #2296c941, 0 1px 4px #0002;
}

/* ============= DESIGN HIERARCHY & SPACING ============= */
section > .container {
  padding-top: 22px;
  padding-bottom: 22px;
}

/* ============= FOR CARDS W/O .card (like feature-grid) ============= */
.feature-grid > div, .feature-list > div, .usp-grid > div, .service-list > div {
  transition: border-color 0.12s, background 0.16s, box-shadow 0.18s, transform 0.19s;
}
.feature-grid > div:focus-within, .feature-list > div:focus-within, .usp-grid > div:focus-within, .service-list > div:focus-within {
  border: 2px solid #21d4fd;
}

/* ============= IMAGES AND ICONS ============= */
.logo img,
.footer-logo img {
  filter: drop-shadow(0 0 13px #2296C955);
}

/* ============= FORMS (if they appear in page) ============= */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px;
  color: #10223B;
  background: #F5F6FA;
  border: 1px solid #2296C955;
  border-radius: 7px;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.15s;
  box-shadow: 0 2px 8px 0 #2296c922;
}
input:focus, textarea:focus, select:focus {
  border: 1.8px solid #2296C9;
}

/* Hide elements visually but keep for accessibility (e.g., cookie toggles for essential) */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ============= NO GRID! --- ALL flex-only ============= */
/* Already 100% flex above */

/* Prevent card/content overlapping on mobile */
@media (max-width: 600px) {
  .feature-grid > div, .feature-list > div, .usp-grid > div, .service-list > div {
    min-width: 0;
    width: 100%;
  }
}

/* =========== MICRO ANIMATIONS =========== */
.card, .feature-grid > div, .usp-grid > div, .service-list > div {
  will-change: transform, box-shadow;
}

@media (hover: hover) {
  .btn-primary:hover,.cookie-btn:hover {
    transform: translateY(-2px) scale(1.034);
  }
}

/* ========== ADDRESS + INFO BLOCKS ========= */
.contact-details img, .address-block img {
  width: 23px;
  height: 23px;
  vertical-align: middle;
  margin-right: 8px;
}
.contact-details p {
  margin-bottom: 9px;
  color: #c2e1f9;
}
.address-block {
  margin-top: 10px;
  background: #162947;
  border-radius: 10px;
  padding: 15px 16px;
  color: #DBEAFE;
  box-shadow: 0 2px 8px #2296C922;
}

/* ================= RESPONSIVE HEADINGS =============== */
@media (max-width:400px) {
  h1 {font-size: 1.27rem;}
  h2 {font-size: 1.12rem;}
}

/* =================== CERTIFICATIONS / BADGES ==================== */
.certifications-awards {
  margin-top: 10px;
  background: #112238;
  border-radius: 10px;
  padding: 15px 20px 7px 20px;
  color: #a3c7dd;
  box-shadow: 0 2px 6px #2296C91a;
}
.certifications-awards h3 {
  color: #21d4fd;
  font-size: 1.09em;
  margin-bottom: 6px;
}

/* ================== MODALS (eg. cookie) overlay =================== */
/* see cookie-modal defined above */

/* =============== MISC ================= */
/* For tables, no grid, flex instead (future proof): */
table { border-collapse: collapse; width: 100%; margin-bottom: 24px; }
th, td { border: 1px solid #2296C944; padding: 10px 16px; }
th { background: #162947; color: #21d4fd; }

/* ============= ACCESSIBILITY: Focus Styles ============ */
a:focus, .btn-primary:focus, .cookie-btn:focus, button:focus,
.mobile-menu-toggle:focus,
.mobile-menu-close:focus {
  outline: 2px solid #21d4fd;
  outline-offset: 3px;
  background: #2296C9;
  color: #fff;
}

/* =================== END OF STYLE =================== */
