/* 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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #173963;
  background-color: #ffffff;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border-style: none;
}
a {
  color: #173963;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:focus, a:hover {
  color: #F2A13B;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
}

/* FONT FAMILIES */
h1, h2, h3, h4, h5, h6, .cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ---------- LAYOUT & SPACING PATTERNS ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(23,57,99,0.08), 0 1.5px 4.5px #F2A13B44;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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: flex-start;
  gap: 20px;
  padding: 20px;
  background: #E8EEF3;
  border-radius: 16px;
  box-shadow: 0 3px 18px rgba(23,57,99,0.10), 0 2px 6px #F2A13B55;
  margin-bottom: 24px;
  min-width: 220px;
  max-width: 560px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.service-item {
  flex: 1 1 240px;
  min-width: 210px;
  background: #fff;
  border: 2px solid #F2A13B22;
  border-radius: 16px;
  box-shadow: 0 2px 12px #E8EEF3DD;
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.16s;
  position: relative;
}
.service-item:hover {
  border-color: #F2A13B;
  box-shadow: 0 6px 24px #F2A13B33, 0 2px 10px #17396333;
  transform: translateY(-2px) scale(1.025);
  z-index: 1;
}

/* ---------- TYPOGRAPHY & COLORS ---------- */
h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #173963;
  margin-bottom: 10px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #173963;
  margin-bottom: 9px;
  line-height: 1.19;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #F2A13B;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, ul, ol {
  font-size: 1.08rem;
  color: #173963;
}
.subheadline {
  font-size: 1.2rem;
  color: #F2A13B;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.42;
}
strong {
  font-weight: bold;
}

/* Electric accent line */
.content-wrapper > h2:not(:first-child) {
  border-left: 6px solid #F2A13B;
  padding-left: 14px;
  margin-bottom: 20px;
}

/* ---------- BUTTONS & CTAs ---------- */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: #F2A13B;
  color: #173963;
  border: none;
  border-radius: 28px;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, transform 0.12s;
  box-shadow: 0 2px 10px #f2a13b44;
  cursor: pointer;
  margin-top: 4px;
  gap: 10px;
  outline: none;
  text-align: center;
  margin-bottom: 16px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #173963;
  color: #fff;
  box-shadow: 0 4px 17px #17396333, 0 2px 7px #F2A13B33;
  transform: translateY(-2px) scale(1.03);
}
.button, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 10px 24px;
  border-radius: 22px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: #173963;
  color: #fff;
  margin-right: 12px;
  margin-bottom: 6px;
  transition: background 0.15s, color 0.15s, box-shadow 0.16s, transform 0.12s;
}
.button:hover, .button:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #F2A13B;
  color: #173963;
  box-shadow: 0 4px 16px #F2A13B66;
  transform: translateY(-1px) scale(1.04);
}
.cookie-btn-settings {
  background: #E8EEF3;
  color: #173963;
  border: 1.4px solid #F2A13B;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #F2A13B;
  color: #fff;
  border-color: #173963;
}

/* ---------- NAVIGATION ---------- */
header {
  background: #173963;
  color: #fff;
  box-shadow: 0 2px 8px #17396333;
  position: sticky;
  top: 0;
  z-index: 1002;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 2px #17396360;
  transition: color 0.2s;
  position: relative;
  padding: 5px 8px;
}
.main-nav a:not(.cta-primary):hover, .main-nav a:not(.cta-primary):focus {
  color: #F2A13B;
}
.main-nav img {
  height: 42px;
  margin-right: 10px;
}
.main-nav .cta-primary {
  background: #F2A13B;
  color: #173963;
  box-shadow: 0 2px 8px #F2A13B39;
  margin-left: 12px;
  font-size: 1rem;
}
.main-nav .cta-primary:hover {
  background: #E8EEF3;
  color: #173963;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: #F2A13B;
  cursor: pointer;
  z-index: 1100;
  transition: color 0.15s;
  padding: 4px 10px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #E8EEF3;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 390px;
  height: 100vh;
  background: #173963;
  box-shadow: -8px 0 56px #1739636b, 2px 0 8px #F2A13B22;
  transform: translateX(110%);
  z-index: 1200;
  transition: transform 0.32s cubic-bezier(.8,.04,.29,1.06);
  opacity: 0.98;
  padding-top: 12px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F2A13B;
  font-size: 2rem;
  margin: 18px 20px 10px auto;
  cursor: pointer;
  z-index: 1300;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin-top: 24px;
  align-items: flex-start;
  padding: 0 30px 0 28px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 14px 0 3px 0;
  border-bottom: 1.5px solid #F2A13B22;
  width: 100%;
  transition: color 0.2s, background 0.2s;
  border-radius: 0;
  min-height: 42px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F2A13B;
  background: #173963;
  outline: none;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 12px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
    padding: 7px 12px;
  }
}
@media (max-width: 820px) {
  .main-nav a {
    font-size: 0.99rem;
  }
}
@media (max-width: 770px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 599px) {
  .mobile-nav a {
    font-size: 1.07rem;
    padding-left: 0;
  }
  .mobile-menu {
    width: 98vw;
    max-width: 100vw;
    padding-top: 5px;
  }
}

/* ---------- FOOTER ---------- */
footer {
  background: #173963;
  color: #fff;
  padding-top: 34px;
  padding-bottom: 18px;
  box-shadow: 0 -2px 8px #17396322;
}
footer .content-wrapper {
  align-items: center;
  gap: 20px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 12px 0 5px 0;
  justify-content: center;
}
.footer-links a {
  color: #fff;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.2s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #F2A13B;
}
.footer-contact-details {
  color: #E8EEF3;
  font-size: 0.98rem;
  margin: 2px 0 0 0;
  text-align: center;
}
.footer-contact-details a {
  color: #F2A13B;
  font-weight: 600;
  text-decoration: underline;
}
.legal-links {
  margin-top: 6px;
  text-align: center;
  color: #E8EEF3;
  font-size: 0.96rem;
}
.legal-links a {
  color: #F2A13B;
  margin: 0 6px;
}
.legal-links a:hover, .legal-links a:focus {
  text-decoration: underline;
}
footer img {
  height: 40px;
  margin: 0 0 12px 0;
}

/* ---------- COMPONENTS ---------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
.text-section ul, .text-section ol {
  margin-bottom: 12px;
}
.text-section h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}
.contact-summary-info, .contact-info-box {
  background: #E8EEF3;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px #F2A13B22;
  font-size: 1.07rem;
  color: #173963;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-summary-info a, .contact-info-box a {
  color: #F2A13B;
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-card p {
  font-size: 1.12rem;
  color: #173963;
  font-style: italic;
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.testimonial-card strong {
  color: #F2A13B;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 2px;
}

/* ---------- ICONS IN LISTS ---------- */
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 13px;
  line-height: 1.47;
}
ul li img, ol li img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-right: 2px;
}

/* Include some vibrant micro-animations for brand energy */
.cta-primary, .button, .cookie-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform .16s;
}
.card, .service-item {
  will-change: transform, box-shadow;
}
.card:active, .service-item:active, .cta-primary:active {
  transform: scale(0.97);
  box-shadow: 0 1px 6px #F2A13B55;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1000px) {
  .container { max-width: 96vw; }
  h1 { font-size: 2.15rem; }
}
@media (max-width: 770px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1.07rem; }
  .service-item, .card {
    min-width: 80vw;
    padding: 16px 10px;
    font-size: 0.98rem;
  }
  .service-list {
    gap: 10px;
  }
  .text-section {
    gap: 10px;
  }
  .testimonial-card {
    max-width: 100vw;
    padding: 10px;
    margin-bottom: 12px;
  }
  .content-wrapper {
    gap: 12px;
  }
}
@media (max-width: 650px) {
  .service-list, .content-grid {
    flex-direction: column;
    gap: 7px;
  }
  .service-item, .card {
    min-width: 90vw;
    max-width: 98vw;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.21rem; }
  h2 { font-size: 1.01rem; }
  .section { padding: 12px 2px; margin-bottom: 25px; }
  .cta-primary, .button, .cookie-btn { font-size: 1rem; padding: 12px 10px; }
  .main-nav img, footer img { height: 30px; }
  .testimonial-card, .content-wrapper, .contact-summary-info, .contact-info-box {
    padding: 10px 4px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
}

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  gap: 20px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #173963;
  color: #fff;
  z-index: 1400;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 -4px 28px #173963cc;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  width: 100%;
  font-size: 1.09rem;
  opacity: 0.97;
  animation: cookie-slidein 0.8s cubic-bezier(.44,.96,.44,1) both;
}
.cookie-banner .cookie-btn {
  margin-top: 0;
  margin-bottom: 2px;
}
@keyframes cookie-slidein {
  0%   { transform: translateY(110px); opacity: 0; }
  60%  { transform: translateY(-5px); }
  90%  { transform: translateY(3px); }
  100% { transform: translateY(0); opacity: 1; }
}

/* Responsive cookie banner */
@media (max-width: 670px) {
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    padding: 14px 6px 12px 6px;
    font-size: 0.98rem;
    border-radius: 0;
  }
}

/* ---------- COOKIE MODAL ---------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1500;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(23, 57, 99, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.22s linear;
}
@keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #173963;
  padding: 30px 24px 18px 24px;
  border-radius: 22px;
  width: 98vw;
  max-width: 410px;
  box-shadow: 0 7px 38px #17396355, 0 2px 8px #F2A13B44;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.cookie-modal h3 {
  color: #F2A13B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  margin-bottom: 3px;
}
.cookie-category {
  padding: 9px 0 7px 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1.5px solid #E8EEF3;
  font-size: 1.02rem;
}
.cookie-category.disabled {
  color: #999;
}
.cookie-modal-label {
  font-weight: 600;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-modal .switch input { display: none; }
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #E8EEF3;
  border-radius: 22px;
  transition: background 0.17s;
}
.cookie-modal .switch input:checked + .slider {
  background-color: #F2A13B;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: .19s cubic-bezier(.64,.09,.38,1.38);
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-btn {
  margin-top: 16px;
  margin-bottom: 6px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  border: none;
  background: none;
  font-size: 1.85rem;
  color: #F2A13B;
  cursor: pointer;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #173963;
}

/* ---------- MICRO-INTERACTIONS & EFFECTS ---------- */
.card, .service-item, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.16s, border-color 0.13s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 3px 22px #F2A13B33, 0 2px 14px #1739632b;
  transform: scale(1.01) translateY(-3px);
}

.section, .service-list, .testimonial-card, .card-container {
  scroll-margin-top: 102px;
}

/* ---------- MISC UTILITIES ---------- */
::-webkit-input-placeholder { color: #17396399; }
::-moz-placeholder { color: #17396399; }
:-ms-input-placeholder { color: #17396399; }
::placeholder { color: #17396399; }

[tabindex]:focus, button:focus, .cta-primary:focus, .button:focus, .cookie-btn:focus {
  outline: 2.2px solid #F2A13B;
  outline-offset: 2px;
}

/* Visually hide element but keep accessible */
.visually-hidden {
  border: 0 !important;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute !important; white-space: nowrap; width: 1px;
}

/* Ensures no element overlap and all spacing is kept */
.card + .card,
.testimonial-card + .testimonial-card,
.service-item + .service-item,
.section + .section {
  margin-top: 20px;
}

/***********************************************
* VIBRANT / ENERGETIC TOUCHES: MODERN, BOLD   *
***********************************************/
body {
  background-color: #fff;
  /* for dynamic energy, add slight color transitions on sections */
}
.section {
  border-radius: 28px 28px 0 0;
  background: #E8EEF3;
  box-shadow: 0 6px 22px #17396309, 0 2px 6px #F2A13B14;
}
main section:nth-child(odd) {
  background: #fff;
  box-shadow: 0 6px 18px #F2A13B15;
}

/* Electric accent line above main hero */
main section:first-child .content-wrapper h1 {
  border-left: 7px solid #F2A13B;
  padding-left: 22px;
}

/* Add colored bar under h1 for punch */
h1::after {
  content: '';
  display: block;
  width: 58px;
  height: 4.5px;
  border-radius: 2.5px;
  background: #F2A13B;
  margin-top: 9px;
}

/***********************************************
* END SPECTRONIC SURGE VIBRANT ENERGY CSS      *
***********************************************/
