/* =============================================================
   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 {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #14212b;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.5;
  color: #e6faff;
  font-size: 16px;
  min-height: 100vh;
  background-color: #14212b;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #ffe08a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #b8d7cc;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.3em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #ffe08a;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 { font-size: 2.7rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }

/* Typography body colors */
p, li, label, input, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #e6faff;
  font-size: 1rem;
}
strong, b {
  color: #B8D7CC;
  font-weight: 700;
}

/* Container/canvas layout */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

/* =================================================================
   SECTION, FLEX LAYOUTS, SPACING UTILITIES
   ================================================================= */
section {
  background: rgba(34, 72, 92, 0.88);
  border-radius: 28px;
  box-shadow: 0 8px 36px 0 rgba(15,32,54,0.16);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card, .service-cards > div, .case-study-cards > div, .resource-grid > div, .guide-cards > div {
  background: #1a2e3e;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px 0 rgba(34,72,92,0.14), 0 1.5px 3px 0 #22485C, 0 0 8px 0 #ffe08a60;
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.15s, box-shadow 0.2s;
  border: 1.5px solid #22485C;
}
.card:hover, .service-cards > div:hover, .resource-grid > div:hover, .guide-cards > div:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 5px 32px 0 #22485c80, 0 0 18px 0 #ffe08a66;
}
.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-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 18px 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 22px 0 #22485c15;
  min-width: 280px;
  max-width: 400px;
  margin-bottom: 20px;
  border-left: 5px solid #ffe08a;
  color: #22485C;
  font-size: 1rem;
}
.testimonial-card p {
  color: #22485C;
  font-size: 1.04rem;
  line-height: 1.6;
}
.testimonial-card strong {
  color: #22485C;
  font-size: 1rem;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* For 'about' and content pages lists */
ul {
  margin-bottom: 18px;
  margin-top: 10px;
}
ul li, .service-cards ul li, .guide-cards ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
l i img, ul img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

/* =================================================================
   HEADER + NAVIGATION
   ================================================================= */
header {
  padding: 0;
  background: linear-gradient(90deg, #14212b 60%, #22485c 100%);
  box-shadow: 0 2px 16px 0 #14212b15;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
header img {
  height: 44px;
  margin-right: 28px;
  filter: drop-shadow(0 2px 8px #22485c60);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #e6faff;
  font-weight: 500;
  opacity: 0.92;
  letter-spacing: 0.4px;
  font-size: 1.04rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.18s, opacity 0.18s;
}
.main-nav a:not(.button-primary):hover, .main-nav a:not(.button-primary):focus {
  color: #ffe08a;
  opacity: 1;
}
.button-primary {
  background: #ffe08a;
  color: #22485C !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 22px;
  border: none;
  font-size: 1.05rem;
  box-shadow: 0 2px 14px 0 #ffe08a55, 0 0 2px #ffe08a;
  transition: background 0.15s, color 0.18s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none !important;
  outline: none;
  margin-left: 20px;
  z-index: 3;
}
.button-primary:hover, .button-primary:focus {
  background: #b8d7cc;
  color: #22485C !important;
  box-shadow: 0 4px 26px 0 #ffe08a88, 0 0 6px #b8d7cc;
}
.button-secondary {
  background: #22485C;
  color: #ffe08a !important;
  border: 2px solid #ffe08a;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  border-radius: 22px;
  padding: 10px 26px;
  font-size: 1rem;
  transition: background 0.12s, color 0.13s, box-shadow 0.15s;
  cursor: pointer;
  text-decoration: none !important;
  outline: none;
  margin-top: 14px;
  display: inline-block;
  box-shadow: 0 1.5px 5px 0 #ffe08a22;
}
.button-secondary:hover, .button-secondary:focus {
  background: #ffe08a;
  color: #22485c !important;
  border-color: #22485c;
  box-shadow: 0 2.5px 14px 0 #ffe08aaa;
}

/* =================================================================
   MOBILE MENU
   ================================================================= */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #ffe08a;
  cursor: pointer;
  margin-left: 24px;
  padding: 4px 8px;
  display: none;
  border-radius: 14px;
  transition: background 0.13s;
  z-index: 1041;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #22485c66;
}
 
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #14212be9;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(0.72,0.02,0.52,0.92);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #ffe08a;
  font-size: 2rem;
  border: none;
  margin: 28px 30px 18px 0;
  cursor: pointer;
  border-radius: 14px;
  padding: 0 10px;
  transition: background 0.12s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover { background: #ffe08a22; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 44px 40px 16px 38px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #ffe08a;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.22s, background 0.17s;
  width: 100%;
  border-radius: 6px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #ffe08a22;
  color: #b8d7cc;
  border-bottom: 2px solid #ffe08a;
  outline: none;
}

@media (max-width: 1010px) {
  .main-nav {
    gap: 16px;
  }
  .button-primary { margin-left: 8px; padding: 9px 19px; font-size: 1rem; }
  header img { height: 38px; }
}
@media (max-width: 900px) {
  header img { height: 32px; }
  section { padding: 24px 8px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.23rem; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    height: 58px;
    padding-right: 0;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  .container, .content-wrapper {
    padding: 0 6.5vw;
  }
  section { padding: 21px 5vw; }
  .service-cards, .case-study-cards, .resource-grid, .guide-cards, .testimonial-cards {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .testimonial-card { max-width: 100%; }
}

@media (max-width: 500px) {
  .content-wrapper, .container { padding: 0 4vw; }
  section { padding: 10px 3vw; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
}

/* =================================================================
   MAIN - CARDS, SERVICE, CASE STUDY, FAQ, RESOURCE, GUIDE CARDS
   ================================================================= */
.service-cards, .case-study-cards, .resource-grid, .guide-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.service-cards > div, .case-study-cards > div, .resource-grid > div, .guide-cards > div {
  flex: 1 1 280px;
  min-width: 270px;
  max-width: 370px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.guide-cards ul {
  margin-top: 0;
}

/* Newsletter Signup */
.newsletter-signup {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}
.newsletter-signup input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  border-radius: 11px;
  border: 1.6px solid #b8d7cc;
  background: #1a2e3e;
  color: #ffe08a;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  outline: none;
  transition: border-color 0.15s;
}
.newsletter-signup input[type="email"]:focus {
  border-color: #ffe08a; background: #14212b;
}
.newsletter-signup button.button-primary {
  padding: 13px 35px;
  font-size: 1rem;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style-type: none;
  margin-bottom: 20px;
}
.trust-badges li {
  background: #1a2e3e;
  border-radius: 13px;
  padding: 10px 28px 10px 15px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: #ffe08a;
  gap: 12px;
  border: 1.2px solid #22485C;
  transition: box-shadow 0.12s;
}
.trust-badges li img {
  width: 27px;
  height: 27px;
}
.trust-badges li:hover {
  box-shadow: 0 2px 10px 0 #ffe08a41,
              0 1.5px 3px 0 #b8d7cc41;
}
@media (max-width: 768px) {
  .trust-badges {
    flex-direction: column;
    gap: 15px;
  }
  .trust-badges li { width: 100%; }
}

/* =================================================================
   FOOTER
   ================================================================= */
footer {
  background: #1a2e3e;
  border-radius: 23px 23px 0 0;
  box-shadow: 0 -2px 14px 0 #14212b40;
  margin-top: 50px;
  width: 100%;
  min-height: 180px;
  padding: 40px 0 20px 0;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo img {
  width: 70px;
  display: block;
  margin-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Montserrat', Arial;
}
.footer-nav a {
  color: #b8d7cc;
  font-size: 1.01rem;
  opacity: 0.93;
  transition: color 0.15s, opacity 0.13s;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: #ffe08a;
  opacity: 1;
  text-shadow: 0 1.5px 3px #ffe08a40;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b8d7cc;
  font-size: 1rem;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  opacity: 0.77;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-logo img { width: 50px; }
}

/* =================================================================
   COOKIE CONSENT BANNER & MODAL
   ================================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #22485C;
  color: #ffe08a;
  z-index: 1400;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px 20px 22px;
  box-shadow: 0 -2px 24px 0 #14212b80;
  font-size: 16px;
  border-radius: 18px 18px 0 0;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.28s, opacity 0.19s;
  gap: 18px;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 280px;
  color: #ffe08a;
  font-size: 1rem;
  line-height: 1.45;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .button-cookie {
  border-radius: 16px;
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 21px;
  background: #ffe08a;
  color: #22485C;
  margin: 0;
  transition: background 0.14s, color 0.13s, box-shadow 0.18s;
  box-shadow: 0 1px 8px 0 #ffe08a30;
}
.cookie-banner .button-cookie.reject {
  background: #22485C;
  border: 1.5px solid #ffe08a;
  color: #ffe08a;
}
.cookie-banner .button-cookie.settings {
  background: #b8d7cc;
  color: #22485C;
}
.cookie-banner .button-cookie:hover, .cookie-banner .button-cookie:focus {
  background: #b8d7cc;
  color: #1a2e3e;
  outline: none;
  box-shadow: 0 3px 16px 0 #b8d7cc77;
}
.cookie-banner .button-cookie.reject:hover, .cookie-banner .button-cookie.reject:focus {
  background: #ffe08a;
  color: #22485C;
}
.cookie-banner .button-cookie.settings:hover, .cookie-banner .button-cookie.settings:focus {
  background: #ffe08a;
  color: #22485c;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 18px 10px;
    gap: 11px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .cookie-banner .button-cookie { width: 100%; }
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1550;
  transform: translate(-50%, -50%) scale(1);
  background: #1a2e3e;
  color: #ffe08a;
  border-radius: 20px;
  min-width: 330px;
  max-width: 95vw;
  box-shadow: 0 8px 36px 0 #22485c80;
  border: 2.5px solid #ffe08a;
  padding: 36px 30px 24px 30px;
  opacity: 1;
  transition: opacity 0.26s, transform 0.34s cubic-bezier(0.72,0.02,0.52,0.92);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translate(-50%, 80%) scale(0.87);
  pointer-events: none;
}
.cookie-modal h2 {
  color: #ffe08a;
  font-size: 1.17rem;
  margin-bottom: 6px;
}
.cookie-modal ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal .toggle {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #22485C;
  border-radius: 12px;
  border: 2px solid #b8d7cc;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.14s, border 0.13s;
}
.cookie-modal .toggle:checked {
  background: #ffe08a;
  border-color: #ffe08a;
}
.cookie-modal .toggle::before {
  content: "";
  display: block;
  position: absolute;
  left: 4px;
  top: 3.5px;
  width: 15px;
  height: 15px;
  background: #b8d7cc;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
.cookie-modal .toggle:checked::before {
  left: 20px;
  background: #22485C;
}
.cookie-modal .close {
  position: absolute;
  top: 12px;
  right: 30px;
  background: none;
  border: none;
  color: #ffe08a;
  font-size: 1.2rem;
  cursor: pointer;
}
.cookie-modal .close:focus, .cookie-modal .close:hover { color: #b8d7cc; }
.cookie-modal .save-btn {
  background: #ffe08a;
  color: #22485C;
  border: none;
  border-radius: 12px;
  padding: 11px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  font-weight: 700;
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .save-btn:hover, .cookie-modal .save-btn:focus { background: #b8d7cc; color: #22485C; }

/* =================================================================
   VISUAL TECH FUTURISTIC EFFECTS/SPECIALS
   ================================================================= */
section, .card, .service-cards > div, .resource-grid > div, .case-study-cards > div, .guide-cards > div, .footer-nav a, .newsletter-signup input[type="email"] {
  box-shadow: 0 0 16px 0 #ffe08a22, 0 2px 8px #22485c30;
}
/* Neon shadow border for CTAs and hover cards */
.card:hover, .button-primary:focus, .button-primary:hover {
  box-shadow: 0 0 12px 2px #ffe08a, 0 2px 18px #b8d7cc55;
  border-color: #ffe08a;
}
/* Decorative light halo for header/logo */
header img, .footer-logo img {
  filter: drop-shadow(0 0 8px #ffe08a77) drop-shadow(0 2px 10px #22485c40);
}

/* =================================================================
   FORM ELEMENTS
   ================================================================= */
input, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  border-radius: 7px;
  background: #1a2e3e;
  border: 1.4px solid #b8d7cc;
  padding: 11px 12px;
  color: #ffe08a;
  font-size: 1rem;
  transition: border 0.15s;
  outline: none;
  margin-bottom: 10px;
}
input:focus, textarea:focus {
  border: 1.8px solid #ffe08a;
  background: #14212b;
}

/* =================================================================
   ANIMATIONS
   ================================================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
section, .card, .service-cards > div, .case-study-cards > div, .resource-grid > div, .testimonial-card {
  animation: fadeInUp 0.95s cubic-bezier(0.5,0.05,0.2,1.1) both;
}

/* =================================================================
   SCROLLBAR (for desktop, not required on mobile)
   ================================================================= */
body::-webkit-scrollbar {
  width: 9px;
  background: #22485C;
}
body::-webkit-scrollbar-thumb {
  background: linear-gradient(160deg,#B8D7CC 40%, #22485C 100%);
  border-radius: 6px;
}

/* =================================================================
   MISC: ERROR/INFO/UTILITY
   ================================================================= */
.error {
  color: #ff3c25;
  background: #ffe08a11;
  border-left: 5px solid #ff3c25;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.success {
  color: #176144;
  background: #b8d7cc40;
  border-left: 5px solid #b8d7cc;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}

/* =================================================================
   ACCESSIBILITY/INTERACTIONS
   ================================================================= */
:focus {
  outline: 2px solid #ffe08a66;
  outline-offset: 1px;
}

/* =================================================================
   VISUAL POLISH
   ================================================================= */
section {
  border: 1.5px solid #22485C;
}
.card, .service-cards > div, .resource-grid > div, .case-study-cards > div, .guide-cards > div, .newsletter-signup input[type="email"] {
  border: 1.5px solid #22485C;
}
hr {
  border: none;
  border-top: 1.5px solid #ffe08a44;
  margin: 32px 0;
}

/* =================================================================
   OVERRIDES FOR DARK VS LIGHT CARDS
   ================================================================= */
.testimonial-card, .testimonial-card p, .testimonial-card strong {
  color: #22485c !important;
  background: #fff !important;
}

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