/* 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, 
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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F7FA;
  color: #23405C;
}
*, *:before, *:after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Typography */
body {
  font-size: 16px;
  color: #23405C;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #23405C;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
h1 {font-size: 2.8rem; font-weight: 700;}
h2 {font-size: 2rem; font-weight: 600;}
h3 {font-size: 1.4rem; font-weight: 600;}
h4 {font-size: 1.1rem; font-weight: 600;}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #37516A;
}
strong {color: #23405C; font-weight: 600;}

@media (max-width: 768px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

/* Brand Colors */
:root {
  --primary: #23405C;
  --secondary: #8392A7;
  --accent: #F5F7FA;
  --gradientA: #23405C;
  --gradientB: #8392A7;
}

/* Common Container */
.container {
  width: 100%;
  max-width: 1170px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  z-index: 1;
}

/*================== Header & Navigation =================*/
header {
  background: linear-gradient(90deg, var(--gradientA), var(--gradientB));
  color: #fff;
  padding: 0;
  box-shadow: 0 2px 24px rgba(35, 64, 92, 0.10);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  padding: 8px 2px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: rgba(255,255,255,0.08);
  color: #F5F7FA;
}
.main-nav .btn-primary {
  background: #fff;
  color: var(--primary);
  padding: 10px 22px;
  border-radius: 22px;
  font-weight: 600;
  margin-left: 16px;
  box-shadow: 0 2px 10px rgba(35,64,92,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav .btn-primary:hover,
.main-nav .btn-primary:focus {
  background: #F2F4F8;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(35,64,92,0.14);
}

/* Burger button (mobile menu) */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 8px 17px;
  border-radius: 22px;
  transition: background 0.2s;
  z-index: 80;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(255,255,255,0.08);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, var(--gradientA), var(--gradientB) 90%);
  color: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 8px 40px rgba(35,64,92,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 150;
  line-height: 1;
  padding: 4px 12px;
  border-radius: 20px;
  transition: background 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: rgba(255,255,255,0.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 82px;
  padding: 24px 28px;
  gap: 24px;
}
.mobile-nav a {
  display: block;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 8px;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(255,255,255,0.07);
  color: #F5F7FA;
}

@media (max-width: 1024px) {
  .main-nav { gap: 18px; }
  .main-nav .btn-primary { margin-left: 8px; }
}

@media (max-width: 900px) {
  header .container {
    gap: 8px;
  }
  .main-nav a { font-size: 0.96rem; }
}

@media (max-width: 820px) {
  header .container {
    height: 56px;
  }
  .logo img { height: 32px; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    height: 54px;
    padding-top: 2px;
    padding-bottom: 2px;
  }
}

/* ================= Main Layout and Sections ================== */
main {
  min-height: 60vh;
}
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section,
  section {
    padding: 28px 5px;
    margin-bottom: 34px;
  }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* Flex Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(35,64,92,0.07);
  transition: transform 0.22s, box-shadow 0.23s;
}
.card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 30px rgba(35,64,92,0.12);
}
.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;
}
@media (max-width:768px){
  .text-image-section {flex-direction: column; align-items: flex-start; gap: 18px;}
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F7FA;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(35,64,92,0.07);
  color: #23405C;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 380px;
  transition: box-shadow 0.23s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(35,64,92,0.07);
  transform: scale(1.018);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== Specific Section Styles =============*/
.hero {
  width: 100%;
  background: linear-gradient(90deg, #23405c 60%, #8392A7);
  color: #fff;
  padding: 60px 0 54px 0;
  min-height: 335px;
  display: flex;
  align-items: center;
}
.hero h1 {color: #fff;}
.hero p {color: #F5F7FA; font-size: 1.15rem;}
.hero .btn-primary {
  margin-top: 18px;
}

@media (max-width: 600px) {
  .hero { padding-top: 28px; padding-bottom: 24px; min-height: 200px;}
}

.features .feature-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.features .feature {
  flex: 1 1 225px;
  min-width: 210px;
  background: #fff;
  padding: 30px 22px 24px 22px;
  border-radius: 15px;
  box-shadow: 0 3px 14px rgba(35,64,92,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
}
.features .feature:hover {
  box-shadow: 0 6px 28px rgba(35,64,92,0.14);
  transform: translateY(-3px) scale(1.015);
}
.features .feature img {
  height: 40px; width: 40px; margin-bottom: 12px;
}
.features .feature h3 {
  color: var(--primary);
  font-size: 1.18rem;
  font-weight: 600;
}

@media (max-width:900px) {
  .features .feature-grid {
    gap: 14px;
  }
}
@media (max-width:650px) {
  .features .feature {
    flex: 1 1 100%;
    min-width: 160px;
    padding: 21px 11px 18px 11px;
  }
}

.services-preview ul, .benefits ul, .steps ol, .why-us ul, .about ul, .contact-details ul, .faqs .faq-list, .value-list {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.services-preview ul li,
.benefits ul li,
.steps ol li,
.why-us ul li,
.about ul li,
.contact-details ul li,
.faqlist .faq-item,
.value-list li {
  display: flex;
  align-items: center;
  gap: 15px;
}
.value-list img {height: 32px; width: 32px;}

.testimonials .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 760px) {
  .testimonials .testimonial-list { flex-direction: column; gap: 16px; }
}

/* ====== Service List ====== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  flex: 1 1 215px;
  min-width: 220px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 14px rgba(35,64,92,0.07);
  padding: 30px 18px 24px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.17s;
}
.service-item img {
  height: 36px; width: 36px; margin-bottom: 7px;
}
.service-item h2 {
  font-size: 1.15rem;
  margin-bottom: 5px;
  color: var(--primary);
}
.service-item:hover {
  box-shadow: 0 12px 32px rgba(35,64,92,0.12);
  transform: translateY(-3px) scale(1.012);
}

@media (max-width: 850px) {
  .service-list {flex-direction: column; gap: 10px;}
  .service-item {width: 100%; min-width: 0;}
}

/***** CTA sections *****/
.cta {
  background: linear-gradient(90deg,#8392A7 0%, #23405c 120%);
  color: #fff;
  border-radius: 24px;
  padding: 52px 22px 52px 22px;
  margin-bottom: 60px;
  text-align: left;
}
.cta .btn-primary {margin-top: 14px;}
.cta h2, .cta p {color: #fff;}
@media (max-width: 650px) {
  .cta {padding: 30px 6px 30px 6px;}
}

/***** FAQ & List Styles *****/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(35,64,92,0.08);
  padding: 22px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.faq-item:hover { box-shadow: 0 6px 24px rgba(35,64,92,0.13); }

/***** Cookie Policy, Privacy, Terms, Legal Pages *****/
.privacy-policy, .gdpr-info, .cookie-policy, .terms-of-use {
  background: #fff;
  color: #23405C;
  border-radius: 13px;
  box-shadow: 0 2px 11px rgba(35,64,92,0.07);
  padding: 36px 22px;
}
@media (max-width:570px) {
  .privacy-policy, .gdpr-info, .cookie-policy, .terms-of-use {
    padding: 14px 4px; border-radius: 6px;
  }
}

/***** Thank You page *****/
.thank-you {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 11px rgba(35,64,92,0.07);
  padding: 60px 24px;
  margin: 40px 0;
  text-align: center;
}
.thank-you h1 { margin-bottom: 18px; }
.thank-you a.btn-primary { margin-top: 16px; }

/***** Contact details *****/
.contact-details ul li img {
  height: 24px;
  width: 24px;
}
.contact-details ul li a {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.15s;
}
.contact-details ul li a:hover { color: var(--secondary); }

/***** Steps in Procedure; About-values *****/
.steps ol {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-left: 20px;
}
.steps ol li, .process ol li {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #F5F7FA;
  border-radius: 12px;
  padding: 16px 14px;
}
.steps ol li img, .process ol li img {
  height: 36px; width: 36px;
}

/***************** Button Styles *****************/
.btn-primary {
  display: inline-block;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(87deg,#23405C,#8392A7 97%);
  padding: 12px 30px;
  border-radius: 25px;
  border: none;
  box-shadow: 0 2px 14px rgba(35,64,92,0.09);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.19s, color 0.16s;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(97deg,#273f59,#6c829e 96%);
  box-shadow: 0 6px 22px rgba(35,64,92,0.14);
  color: #F5F7FA;
  text-decoration: none;
}
.btn-secondary {
  display: inline-block;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  background: #fff;
  border: 2px solid var(--primary);
  padding: 12px 28px;
  border-radius: 24px;
  font-weight: 500;
  transition: background 0.19s, color 0.19s, border 0.16s;
  box-shadow: 0 1px 8px rgba(23,34,44,0.04);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  text-decoration: none;
}

/***************** Footer *****************/
footer {
  background: #23405C;
  color: #fff;
  padding: 32px 0 10px 0;
  font-size: 1rem;
  position: relative;
  z-index: 3;
  box-shadow: 0 -2px 18px rgba(35,64,92,0.07);
}
footer .container {
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 13px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.92;
  transition: opacity 0.23s, color 0.2s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #F5F7FA;
  opacity: 1;
}
footer address {
  font-style: normal;
  color: #c0cbe2;
  margin-bottom: 7px;
  font-size: 0.98rem;
}
footer p { opacity: 0.8; font-size: 0.92rem; }

@media (max-width: 700px) {
  .footer-nav {flex-direction: column; gap: 6px; margin-bottom: 10px;}
  footer .container {padding: 0 10px;}
}

/***************** Cookie Consent Banner + Modal *****************/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: #23405C;
  border-top: 2px solid #8392A7;
  box-shadow: 0 -2px 20px rgba(35,64,92,0.12);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 30px 18px 30px;
  animation: fadeInUp 0.5s;
}
@keyframes fadeInUp { from { transform: translateY(24px); opacity: 0;} to {transform: none; opacity: 1;} }

.cookie-banner .cookie-banner-content {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .btn {
  min-width: 135px;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.2s;
  font-weight: 600;
  border: none;
}
.cookie-banner .accept {
  background: linear-gradient(87deg,#23405C,#8392A7 97%);
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: linear-gradient(87deg,#273f59,#6c829e 97%);
}
.cookie-banner .reject {
  background: #fff;
  color: #23405C;
  border: 2px solid #8392A7;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #8392A7;
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: #8392A7;
  border: 2px solid #8392A7;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #eceff2;
  color: #23405C;
}

@media (max-width: 600px) {
  .cookie-banner { padding: 20px 5px 12px 5px; }
  .cookie-banner .cookie-banner-content { padding: 0 2px; }
  .cookie-banner-actions { flex-direction: column; gap: 7px; }
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,64,92, 0.32);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.26s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.cookie-modal {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 70px rgba(35,64,92,0.26);
  max-width: 410px;
  width: 96vw;
  padding: 38px 22px 28px 22px;
  color: #23405C;
  position: relative;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  gap: 13px;
  animation: appearScale 0.3s 0.1s;
}
@keyframes appearScale { from { opacity:0; transform:scale(0.7);} to{opacity:1; transform:scale(1);} }

.cookie-modal h2 {
  font-size: 1.3rem;
  color: #23405C;
  margin-bottom: 14px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
  background: #F5F7FA;
  border-radius: 9px;
  padding: 9px 13px;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: #23405C;
}
.cookie-modal-category input[type=checkbox] {
  width: 21px;
  height: 21px;
}
.cookie-modal .essential {
  opacity: 0.68;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}
.cookie-close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  font-size: 1.6rem;
  color: #23405C;
  border: none;
  cursor: pointer;
  padding: 3px 12px;
  border-radius: 12px;
  transition: background 0.2s;
}
.cookie-close-modal:hover {
  background: #F5F7FA;
}

/********** Utility classes ***********/
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
.mb-16 { margin-bottom: 16px; }
.mt-16 { margin-top: 16px; }

/*********** Responsive Device Tweaks ***********/
@media (max-width: 590px) {
  .container { padding: 0 3px; }
  .section, section { padding: 15px 2px; }
  .value-list li { gap: 6px; }
}
@media (max-width:450px){
  h1 {font-size:1.2rem;}
  .btn-primary, .btn-secondary { padding: 9px 18px; font-size: 0.98rem; }
  .cta {padding-top:14px; padding-bottom:12px; border-radius: 7px;}
}

/************ Focus State for Accessibility ************/
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #8392A7;
  outline-offset: 2px;
}

/**** Hide visually on desktop but not on mobile ****/
@media (min-width:769px) {
  .mobile-menu {display: none !important;}
  .mobile-menu-toggle {display: none !important;}
}
