/* --------------------------------------------------------
   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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #153856;
}
img, picture {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
  box-shadow: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

/* --------------------------------------------------------
   Brand Fonts & Variables
-------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --primary: #153856;
  --primary-rgb: 21,56,86;
  --secondary: #4CA1AF;
  --accent: #F5F7FA;
  --gray-dark: #22384C;
  --gray: #7A98AE;
  --gray-light: #E6EEF4;
  --white: #fff;
  --shadow: 0px 4px 24px rgba(21,56,86,0.07);
  --radius: 10px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--primary);
  background: var(--accent);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {font-size: 2.5rem;font-weight:700;}
h2 {font-size: 2rem;font-weight:600;}
h3 {font-size: 1.375rem;font-weight:500;}
h4 {font-size:1.125rem;font-weight:500;}
h5, h6 {font-size:1rem;font-weight:500;}

p, ul, ol, li, a, span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
}

ul, ol {
  margin-bottom: 24px;
  margin-left: 20px;
  padding-left: 20px;
  line-height: 1.6;
}
ul li, ol li {
  margin-bottom: 10px;
}
strong, b {
  font-weight: 600;
}

/* --------------------------------------------------------
   Links, Buttons, Interactions
-------------------------------------------------------- */

a { transition: color 0.15s, background-color 0.15s; }
a:hover, a:focus {
  color: var(--secondary);
  text-decoration: underline;
}

.cta-btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: var(--radius);
  padding: 15px 32px;
  margin-top: 24px;
  box-shadow: var(--shadow);
  letter-spacing: 0.03em;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0px 8px 24px rgba(21,56,86, 0.13);
}
button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* --------------------------------------------------------
   Containers & Layout
-------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 760px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  min-width: 280px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0px 8px 32px rgba(21,56,86, 0.14);
  transform: translateY(-3px) scale(1.025);
}

.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;
  background: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  position: relative;
  min-width: 280px;
  max-width: 640px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(21,56,86, 0.15);
  transform: scale(1.015);
}
.testimonial-card p {
  color: var(--gray-dark);
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-info {
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  margin-top: -4px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.feature-item img {
  width: 48px;
  height: 48px;
}
.feature-item h3 {
  margin: 0 0 8px 0;
}
.feature-item:hover {
  box-shadow: 0 8px 24px rgba(21,56,86,0.13);
  transform: translateY(-3px);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.process-steps {
  margin-top: 20px;
}
.process-steps ol {
  margin-left: 24px;
  color: var(--gray-dark);
}

/* ----------------------------------
   Header & Main Navigation
---------------------------------- */

header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(21,56,86,0.13);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 80px;
}
header img {
  max-height: 48px;
  margin-right: 30px;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  position: relative;
  padding: 3px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--white);
  text-decoration: none;
}
.main-nav .cta-btn {
  margin-left: 14px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 26px;
  font-size: 1rem;
  box-shadow: none;
  transition: background 0.16s, color 0.16s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: var(--secondary);
  color: var(--white);
}
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--white);
  font-size: 2rem;
  border-radius: 7px;
  padding: 7px 14px;
  margin-left: 18px;
  transition: background 0.18s, box-shadow 0.18s;
  z-index: 1002;
  box-shadow: 0 2px 10px rgba(21,56,86,0.07);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--white);
}

/* ----------------------------------
   Mobile Menu Overlay
---------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(21,56,86, 0.98);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: 24px;
  padding-right: 36px;
  z-index: 1050;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(0.6,0,0.14,1);
  box-shadow: 0px 8px 32px rgba(21,56,86,0.23);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--white);
  font-size: 2.5rem;
  border-radius: 7px;
  margin-bottom: 38px;
  margin-right: 2px;
  transition: background 0.16s, color 0.16s;
  padding: 4px 12px;
  z-index: 1060;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 26px;
  margin-top: 18px;
}
.mobile-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 4px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* ----------------------------------
   Hero Section
---------------------------------- */
.hero {
  width: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 72px 0 56px 0;
  margin-bottom: 0;
}
.hero .container,
.hero .content-wrapper {
  align-items: flex-start;
  color: var(--white);
}
.hero h1, .hero h2, .hero p {
  color: var(--white);
}
.hero .cta-btn {
  background: var(--secondary);
  color: var(--white);
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: var(--white);
  color: var(--primary);
}

/* ----------------------------------
   Footer
---------------------------------- */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 0;
  width: 100%;
  box-shadow: 0px -2px 20px rgba(21,56,86,0.11);
  margin-top: 80px;
}
footer p, footer span {
  color: white;
}
footer .container {
  padding: 40px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
footer .footer-nav a {
  color: var(--secondary);
  font-size: 1rem;
  transition: color 0.15s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  color: var(--white);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--accent);
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 9px;
  vertical-align: middle;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  color: var(--gray-light);
  margin-top: 12px;
}
.footer-brand img {
  width: 60px;
}
.social-media {
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-media a img {
  width: 32px; height: 32px;
  opacity: 0.85;
  transition: opacity 0.15s, transform 0.17s;
}
.social-media a:hover img {
  opacity: 1;
  transform: scale(1.08);
}

/* ----------------------------------
   Contact Details
---------------------------------- */
.contact-details div {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--primary);
}
.contact-details img {
  width: 22px;
  height: 22px;
}
.contact-details a {
  color: var(--secondary);
  text-decoration: underline;
}
.contact-details a:hover, .contact-details a:focus {
  color: var(--primary);
}

/* ----------------------------------
   Privacy, GDPR, Cookie-policy Pages
---------------------------------- */
.privacy-policy, .gdpr, .cookie-policy, .terms-conditions {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 28px;
  margin-bottom: 60px;
}
.privacy-policy h1, .gdpr h1, .cookie-policy h1, .terms-conditions h1 {
  color: var(--primary);
  margin-bottom: 20px;
}

/* ----------------------------------
   Cookie Consent Banner
---------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--white);
  z-index: 3000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px 14px 18px 14px;
  box-shadow: 0 -6px 28px rgba(21,56,86, 0.10);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  color: var(--white);
  font-size: 1rem;
  margin-right: 18px;
  margin-bottom: 0;
}
.cookie-banner button {
  margin: 0 5px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  background: var(--secondary);
  color: var(--white);
  padding: 9px 19px;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(76,161,175,0.10);
  transition: background 0.13s, color 0.13s;
}
.cookie-banner button.accept {
  background: var(--secondary);
}
.cookie-banner button.reject {
  background: #a0b6c8;
  color: var(--primary);
}
.cookie-banner button.settings {
  background: transparent;
  border: 1px solid var(--secondary);
  color: var(--secondary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--white);
  color: var(--primary);
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3050;
  background: rgba(21,56,86, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.30s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius);
  padding: 36px 26px 28px 26px;
  box-shadow: var(--shadow);
  min-width: 310px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 1rem;
  gap: 10px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal-close {
  position: absolute;
  top: 24px; right: 32px;
  color: var(--primary);
  background: transparent;
  font-size: 2.3rem;
  border: none;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--secondary);
  color: var(--white);
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 13px;
}
.cookie-modal-actions button {
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--secondary);
  color: var(--white);
  border: none;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: var(--primary);
  color: var(--white);
}
.cookie-switch {
  /* custom toggle switch */
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
}
.cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #d5e6ef;
  border-radius: 22px;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--secondary);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  height: 18px; width: 18px;
  left: 2.5px; bottom: 2px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 1.5px 6px rgba(21,56,86,0.07);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(22px);
}
.cookie-category .always-on {
  font-size: 1rem;
  color: var(--gray);
  margin-left: 12px;
}

/* ----------------------------------
   Responsive Design (Mobile First)
---------------------------------- */

@media (max-width: 1100px) {
  .container {max-width: 95vw;}
  .hero {padding-left:0;padding-right:0;}
  .feature-grid {gap:18px;}
  .footer-brand img {width:45px;}
}

@media (max-width:900px) {
  .main-nav {gap: 16px;}
  .content-wrapper {gap:18px;}
  .feature-item {padding:16px 11px;}
  .testimonial-card {padding:16px 10px;}
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    min-height: 60px;
    gap: 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .section, .hero, .privacy-policy, .gdpr, .cookie-policy, .terms-conditions {
    padding: 32px 3vw;
    margin-bottom: 36px;
  }
  .footer-contact, .footer-brand, .footer-nav {
    font-size: 0.96rem;
    gap: 7px 0;
  }
  footer .container {
    padding: 26px 8px 20px 8px;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 540px) {
  h1 {font-size: 1.7rem;}
  h2 {font-size:1.25rem;}
  h3 {font-size:1.13rem;}
  .card, .testimonial-card {min-width: 160px;max-width:100%;}
  .feature-item {min-width: 120px;}
  .cookie-modal-content {padding: 24px 2vw;}
}

/* ----------------------------------
   Utilities
---------------------------------- */
.mt-0 {margin-top:0 !important;}
.mb-0 {margin-bottom:0 !important;}
.mt-1 {margin-top:8px !important;}
.mb-1 {margin-bottom:8px !important;}
.mt-2 {margin-top:20px !important;}
.mb-2 {margin-bottom:20px !important;}
.float-right {float: right !important;}
.float-left {float:left !important;}
.text-center {text-align:center !important;}
.text-right {text-align:right !important;}
.text-left {text-align:left !important;}

/* ----------------------------------
   Micro Interactions
---------------------------------- */
.section, .hero, .testimonial-card, .card, .feature-item {
  transition: box-shadow 0.18s, background 0.18s, transform 0.14s;
}
.card:active, .testimonial-card:active, .feature-item:active {
  box-shadow: 0 1px 6px rgba(21,56,86,0.075);
  transform: scale(0.99);
}

/* ----------------------------------
   Form Styles (if any forms added)
---------------------------------- */
input, textarea, select {
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--accent);
  color: var(--primary);
  transition: border-color 0.14s;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}

/* ----------------------------------
   Accessibility & Focus
---------------------------------- */
:focus {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

/* ----------------------------------
   Hide default scroll (for modals)
---------------------------------- */
body.modal-open, html.modal-open {
  overflow: hidden;
}

/* ----------------------------------
   Custom Fixes & Final Enhancements
---------------------------------- */

@media (max-width:400px){
  .cookie-banner p{font-size:0.93rem;}
  .cookie-banner button{padding:6px 8px; font-size:0.89rem;}
}

/* Fix for z-indexes and stacking context */
header, .mobile-menu { z-index: 1050; }
.cookie-banner {z-index: 3000;}
.cookie-modal {z-index: 3050;}

/* Minimum touch target for mobile nav */
.mobile-nav a { min-height: 44px; min-width: 90px; display: flex; align-items: center; }

/* Ensure testimonial text is dark on white for contrast */
.testimonial-card {
  background: var(--white);
  color: var(--primary);
}

/* END STYLE.CSS */
