/* ----------------------------------------------------------
   RESET & BASE STYLES: Mobile-first, Normalize, Elegant Classic
----------------------------------------------------------- */
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,
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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  font-family: "Roboto", Georgia, serif;
  font-weight: 400;
  color: #28363a;
  background: #fcfcfc;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
article,
section,
main,
nav,
footer,
header { display: block; }
ul,
ol { list-style: none; }
a { text-decoration: none; background: none; color: inherit;}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
a:focus,
button:focus {
  outline: 2px solid #235073;
  outline-offset: 2px;
}

/* FONTS - Elegant, Serif accent for headings */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Montserrat:wght@600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', serif;
  font-weight: 700;
  color: #235073;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 { font-size: 2.3rem; margin-bottom: 20px; }
h2 { font-size: 1.7rem; margin-bottom: 18px; }
h3 { font-size: 1.2rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p, ul, ol, dl { font-size: 1rem; margin-bottom: 16px; }
strong { font-weight: 700; color: #235073; }

/* Links & Buttons: Elegant classic, primary focus, rounded subtle effect */
a,
.cta-btn,
button {
  transition: color 0.16s cubic-bezier(.4,0,.2,1),
              background 0.22s cubic-bezier(.4,0,.2,1),
              box-shadow 0.24s cubic-bezier(.4,0,.2,1),
              border-color 0.2s cubic-bezier(.4,0,.2,1);
}

a.cta-btn,
.cta-btn,
button.cta-btn {
  display: inline-block;
  padding: 14px 34px;
  background: #235073;
  color: #fff;
  font-family: 'Montserrat', serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 30px;
  box-shadow: 0 2px 16px 0 rgba(35, 80, 115, 0.06);
  letter-spacing: 0.04em;
  border: 2px solid #235073;
  cursor: pointer;
  margin-top: 8px;
}
a.cta-btn:hover,
.cta-btn:hover,
button.cta-btn:hover,
a.cta-btn:focus,
.cta-btn:focus,
button.cta-btn:focus {
  background: #58949C;
  border-color: #58949C;
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(88, 148, 156, 0.14);
}

/* Container and General Spacing -------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section,
.hero,
.features,
.services,
.testimonials,
.about,
.cta,
.steps,
.faq,
.tips,
.thank-you,
.case-studies,
.team,
.legal,
.contact {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(35, 80, 115, 0.04);
}
.hero {
  background: #f2f4f6;
  margin-bottom: 60px;
  padding: 56px 20px 48px 20px;
  border-radius: 0 0 28px 28px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(35, 80, 115, 0.10);
}

/* CARD CONTAINER & FLEXBOX LAYOUTS -------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container > * {
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 16px 0 rgba(35,80,115,0.08);
  padding: 28px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f0f3f6;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(35,80,115,0.10);
  margin-bottom: 20px;
  max-width: 700px;
  color: #28363a;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', serif;
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.6;
  color: #235073;
  margin-bottom: 6px;
}
.testimonial-card footer {
  font-size: 0.96rem;
  font-family: 'Roboto', serif;
  color: #c9c9c9;
  margin-left: 14px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Features, Services: List styles, Iconography */
.features .content-wrapper > ul,
.services .content-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features .content-wrapper ul li,
.services .content-wrapper ul li {
  background: #f0f3f6;
  border-radius: 12px;
  padding: 24px 20px;
  flex: 1 1 220px;
  min-width: 200px;
  box-shadow: 0 2px 10px 0 rgba(35, 80, 115, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.features ul li img,
.services ul li img {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
}
.features ul li strong,
.services ul li strong {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.features ul li p,
.services ul li span,
.services ul li p {
  font-size: 0.97rem;
  line-height: 1.56;
  color: #46647a;
}

/* Ordered Steps, FAQ, Tips, Case-studies etc. */
.steps .content-wrapper ol,
.faq .content-wrapper dl,
.tips .content-wrapper ul,
.case-studies .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.steps ol li {
  position: relative;
  font-size: 1.03rem;
  padding-left: 18px;
  color: #29465A;
}
.steps ol li:before {
  content: '—';
  position: absolute;
  left: 0;
  color: #58949C;
  font-size: 1.15rem;
  top: 0;
}
.faq dt {
  font-weight: 700;
  color: #235073;
  margin-bottom: 4px;
  font-size: 1.08rem;
}
.faq dd {
  margin-bottom: 12px;
  color: #46647a;
}
dl { margin: 0; }

/* Layout for About, Contact, Legal, Case Studies, Thank You, etc. */
.about .content-wrapper,
.contact .content-wrapper,
.legal .content-wrapper,
.case-studies .content-wrapper,
.team .content-wrapper,
.thank-you .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Footer & Socials ------------------------------------------------------ */
footer {
  background: #235073;
  color: #fff;
  font-size: 1rem;
  padding: 0;
}
footer .container {
  padding-top: 34px;
  padding-bottom: 22px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 12px 0 0 0;
}
footer nav a {
  color: #f0f3f6;
  font-weight: 500;
  font-size: 0.96rem;
  border-radius: 6px;
  padding: 4px 12px;
  transition: background 0.17s;
}
footer nav a:hover,
footer nav a:focus {
  background: #58949C;
  color: #fff;
}
footer img {
  width: 60px;
  margin-bottom: 10px;
}
footer p { margin: 4px 0; }

/* HEADER & NAVIGATION --------------------------------------------------------- */
header {
  background: #f0f3f6;
  border-bottom: 1.5px solid #E4E7EA;
  box-shadow: 0 2px 12px 0 rgba(88,148,156,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  position: relative;
  gap: 30px;
}
header img {
  width: 150px;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 22px;
}
.main-nav a {
  color: #235073;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 6px;
  padding: 4px;
  transition: background .17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #235073;
  color: #fff;
}
.main-nav .cta-btn {
  margin-left: 20px;
  background: #58949C;
  border-color: #58949C;
  color: #fff;
  font-size: 1rem;
}
.main-nav .cta-btn:hover {
  background: #235073;
  border-color: #235073;
  color: #fff;
}

/* MOBILE MENU ----------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #235073;
  margin-left: 20px;
  cursor: pointer;
  z-index: 1203;
  transition: color 0.16s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #58949C;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 80, 115, 0.97);
  z-index: 1202;
  transition: transform 0.36s cubic-bezier(.75,0,.19,1);
  transform: translateX(110%);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 30px 30px 30px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: mobileMenuSlideIn 0.36s cubic-bezier(.75,0,.19,1) both;
}
@keyframes mobileMenuSlideIn {
  0% { transform: translateX(110%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color 0.16s;
  padding: 4px 10px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: #58949C; background: #e2e9ef; border-radius: 4px;}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 18px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 600;
  padding: 14px 6px 14px 0px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  transition: background 0.16s, color 0.16s;
  text-align: left;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #58949C;
  color: #fff;
}

/* Focus trap background fade for mobile menu */
.mobile-menu.open::before {
  content: '';
  display: block;
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(34,80,115,0.97);
  z-index: 1201;
}

/* ------------------------------------------------------------
     RESPONSIVE DESIGN (Mobile-first)
-------------------------------------------------------------- */
@media (max-width: 1150px) {
  .container { max-width: 96vw; }
  .main-nav { gap: 14px; }
}
@media (max-width: 990px) {
  .main-nav { gap: 8px;}
  .features .content-wrapper>ul, .services .content-wrapper>ul { gap: 16px; }
  .features .content-wrapper ul li, .services .content-wrapper ul li { min-width: 140px; }
}
@media (max-width: 820px) {
  .content-grid, .section, .features .content-wrapper>ul, .services .content-wrapper>ul {
    flex-direction: column;
    gap: 18px;
  }
  .hero { padding: 42px 10px 36px 10px;}
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding: 0 10px; }
  h1 { font-size: 1.53rem; }
  h2 { font-size: 1.17rem; }
  .hero { font-size: 1.01rem; border-radius: 0 0 19px 19px;}
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
  header .container { flex-direction: row; gap:10px; }
  .testimonial-card { font-size: 0.99rem; padding: 14px; }
  .section, .features, .services, .testimonials, .about,
  .cta, .steps, .faq, .tips, .thank-you, .case-studies, .team, .legal, .contact {
    padding: 24px 4px;
    margin-bottom: 36px;
  }
  .features .content-wrapper>ul, .services .content-wrapper>ul {
    gap: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width:480px) {
  .container { max-width: 99vw; padding: 0 2vw; }
  footer .content-wrapper { gap: 12px; font-size: .98rem;}
}
/* Text-image section responds column-first on mobile */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px;}
}

/* -----------------------------------------
   COOKIE CONSENT BANNER & MODAL STYLES
------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right:0;
  bottom: 0;
  z-index: 2000;
  background: #F0F3F6;
  color: #235073;
  border-top: 2px solid #235073;
  box-shadow: 0 -3px 14px 0 rgba(35, 80, 115, 0.08);
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  gap: 13px;
  align-items: flex-start;
  animation: cookieBannerFadeIn 0.45s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieBannerFadeIn {
  0% {transform: translateY(80px); opacity: 0;}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #235073;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-banner button,
.cookie-banner .cta-btn {
  padding: 10px 25px;
  font-size: 1rem;
  border-radius: 8px;
  background: #235073;
  color: #fff;
  border: none;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.20s;
}
.cookie-banner button:hover,
.cookie-banner .cta-btn:hover,
.cookie-banner button:focus,
.cookie-banner .cta-btn:focus { background: #58949C; color: #fff; }
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #235073;
  border: 1.6px solid #235073;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus { background: #58949C; color: #fff; border-color: #58949C; }

/* COOKIE MODAL --------------------------------------------------------------------- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2500;
  left: 0;top: 0;right:0;bottom:0;
  background: rgba(35, 80, 115, 0.58);
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.31s cubic-bezier(.72,0,.13,1);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes cookieModalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 8px 36px 0 rgba(35, 80, 115, 0.17);
  max-width: 450px;
  width: 94vw;
  padding: 34px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 7px;
  color: #235073;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-weight: 600;
  margin-right: 8px;
  font-family: 'Montserrat', serif;
  color: #235073;
}
.cookie-category input[type="checkbox"] {
  accent-color: #235073;
  width: 18px;
  height: 18px;
}
.cookie-category.essential label,
.cookie-category.essential { opacity: 0.64; pointer-events: none; }
.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}
.cookie-modal button,
.cookie-modal .cta-btn {
  padding: 10px 24px;
  background: #235073;
  color: #fff;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  font-size: 1rem;
  box-shadow: 0 2px 12px 0 rgba(88,148,156,0.11);
  cursor: pointer;
  transition: background 0.17s, color 0.13s;
}
.cookie-modal button:hover,
.cookie-modal .cta-btn:hover,
.cookie-modal button:focus,
.cookie-modal .cta-btn:focus {
  background: #58949C;
  color: #fff;
}

/* Hide cookie banner and modal on accept or reject (utility) */
.cookie-banner.hide {
  display: none !important;
}
.cookie-modal-overlay.hide {
  display: none !important;
}

/* ----- MICRO-INTERACTIONS & MISC ---------------------------------------- */
section {
  animation: fadeInSection 0.7s cubic-bezier(.49,0,.09,1);
  opacity: 1;
}
@keyframes fadeInSection {
  0% {opacity: 0; transform: translateY(26px);}
  100% {opacity: 1; transform: translateY(0);}
}
blockquote {
  border-left: 3px solid #58949C;
  padding-left: 14px;
  margin-left: 0;
  font-style: italic;
  color: #235073;
}

/* TABLES (in legal/policy pages) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 17px 0;
}
th, td {
  border: 1px solid #e7e7e7;
  padding: 11px 8px;
  text-align: left;
}
th {
  background: #f0f3f6;
  color: #235073;
}

/* FORMS (if present in future) */
input, textarea, select {
  border: 1.5px solid #58949C;
  background: #f8fafd;
  border-radius: 6px;
  padding: 11px 13px;
  margin-bottom: 12px;
  font-size: 1.06rem;
  color: #235073;
  width: 100%;
  transition: border 0.13s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #235073;
  background: #f0f3f6;
}
label { font-family: 'Montserrat', serif; font-weight: 600; color: #235073; }

/* -----------------------------
   UTILITIES & STYLE ADJUSTMENTS
------------------------------ */
.hide-mobile { display: none !important; }
@media (min-width: 769px) {
  .hide-mobile { display: inherit !important; }
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}
.text-center { text-align: center; }
.text-right { text-align: right; }
.m-t-0 { margin-top: 0 !important; }

/* VISUAL HIERARCHY CLARITY */
hr {
  border: 0;
  border-top: 1.5px solid #e7e7e7;
  margin: 28px 0;
}

/* --------- SPACING PATTERNS ----------- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ------ ACCESSIBILITY ----- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 2000;
  background: #235073;
  color: #fff;
  padding: 11px 18px;
  border-radius: 6px;
}
.skip-link:focus { left: 13px; top: 13px; width: auto; height: auto; }

/* --- END --- */
