/* ========================================================
   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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,  
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F7FA;
  color: #26323F;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #23506E;
  text-decoration: none;
  transition: color 0.23s ease;
}
a:hover, a:focus {
  color: #1a3850;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.5em;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ========================================================
   BRANDING & TYPOGRAPHY
   ======================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  background: #F6F7FA;
  color: #26323F;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #23506E;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 {font-size: 2.4rem; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 20px;}
h3 {font-size: 1.3rem; margin-bottom: 12px;}
h4 {font-size: 1.1rem;}
.section h2,
.section h1 {
  margin-top: 0;
}
p, li, td, th {
  font-size: 1rem;
  color: #26323F;
}
p {margin-bottom: 1em;}
strong {font-weight: 600;}
small {font-size: 0.93rem; color: #798393;}

/* ========================================================
   CONTAINER & LAYOUT
   ======================================================== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(35, 80, 110, 0.07);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero, .services-hero, .thank-you-section {
  background: linear-gradient(90deg, #F6F7FA 70%, #23506E11 100%);
  padding-top: 56px;
  padding-bottom: 56px;
  border-radius: 0 0 32px 32px;
}
.features, .services, .testimonials, .contact, .faq, .about-story, .about-features, .about-team, .services-list, .service-benefits, .privacy-policy, .gdpr-section, .cookie-policy, .terms-of-service, .contact-info-section, .how-to-find, .pricing, .pricing-offers, .testimonials-gallery, .feature-stories, .faq-cta {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(35, 80, 110, 0.07);
}

/* ========================================================
   FLEXBOX PATTERNS AS REQUIRED
   ======================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(35, 80, 110, 0.06);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 250px;
  min-width: 250px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  margin-bottom: 20px;
  background: #F6F7FA;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(65,89,112,0.08);
  border-left: 5px solid #23506E;
  color: #26323F;
  flex-direction: column;
  align-items: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
}
.team-member-summary {
  background: #f8fafc;
  border-radius: 8px;
  padding: 20px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 1px 4px rgba(35,80,110,.07);
}
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* TABLE RESET AND LAYOUT */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #F6F7FA;
  border-radius: 7px;
  overflow: hidden;
  font-size: 1rem;
}
th, td {
  text-align: left;
  padding: 12px 16px;
}
th {
  background: #23506E;
  color: #fff;
  font-weight: 600;
}
tbody tr:nth-child(odd) {
  background: #f3f6fb;
}
td {
  border-bottom: 1px solid #e0e8f2;
}

/* ========================================================
   HEADER NAVIGATION
   ======================================================== */
header {
  background: #fff;
  box-shadow: 0 2px 18px rgba(35,80,110,0.055);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header a img {
  height: 44px;
  margin-right: 24px;
  vertical-align: middle;
}
nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #23506E;
  padding: 9px 16px;
  border-radius: 7px;
  transition: background 0.19s, color 0.19s;
  margin-right: 0;
}
nav a:last-child {
  margin-right: 0;
}
nav a:hover, nav a:focus {
  background: #F6F7FA;
  color: #1a3850;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 9px rgba(35,80,110,0.09);
  outline: none;
}
.btn-primary {
  background: #23506E;
  color: #fff;
  padding: 12px 28px;
  border: none;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1a3850;
  color: #ffd000;
}
.btn-secondary {
  background: #F6F7FA;
  color: #23506E;
  padding: 12px 28px;
  border: 2px solid #23506E;
  font-size: 1.08rem;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #23506E;
  color: #fff;
}

/* ========================================================
   FOOTER
   ======================================================== */
footer {
  background: #fff;
  border-top: 1px solid #e7eaf0;
  padding: 24px 0 16px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
footer nav a {
  color: #23506E;
  font-weight: 500;
  font-size: 1rem;
}
footer nav a:hover, footer nav a:focus {
  color: #F9B300;
}
footer small {
  color: #8593a7;
}

/* ========================================================
   SECTION-SPECIFIC STYLES & FLEXBOX PATTERNS
   ======================================================== */
.features ul, .services ul, .about-story ul, .about-features ul, .about-team ul, .services-list ul, .service-benefits ul, .feature-stories ul, .pricing-offers ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
  margin-left: 0;
  list-style: disc inside;
}
.features ul li, .services ul li, .about-story ul li, .about-features ul li, .about-team ul li, .services-list ul li, .service-benefits ul li, .feature-stories ul li, .pricing-offers ul li {
  background: #F6F7FA;
  border-radius: 7px;
  padding: 13px 18px;
  box-shadow: 0 1px 4px rgba(35,80,110,0.06);
  color: #26323F;
}
.services ul li, .services-list ul li {
  margin-bottom: 18px;
  background: #F6F7FA;
  border-left: 4px solid #23506E;
  padding-left: 20px;
  padding-right: 14px;
}

.pricing ul {
  margin-top: 1em;
}

/* TESTIMONIALS */
.testimonials .testimonial-card, .testimonials-gallery .testimonial-card {
  background: #F6F7FA;
  border-left: 5px solid #23506E;
  padding: 22px 20px 18px 32px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(35,80,110,0.08);
  border-radius: 10px;
  font-size: 1.06rem;
  color: #26323F;
  max-width: 600px;
}
.testimonials .testimonial-card strong,
.testimonials-gallery .testimonial-card strong {
  color: #23506E;
  font-weight: 700;
}
.testimonials .testimonial-card span,
.testimonials-gallery .testimonial-card span {
  margin-top: 8px;
  font-size: 0.96rem;
  color: #617090;
}

/* FAQ ACCORDION */
.faq-accordion-list > div {
  background: #F6F7FA;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(35,80,110,0.06);
  padding: 22px 18px;
}
.faq-accordion-list h3 {
  font-size: 1.17rem;
  color: #23506E;
  margin-bottom: 8px;
  margin-top: 0px;
}
.faq-accordion-list p {
  font-size: 1rem;
}

/* ========================================================
   MOBILE NAVIGATION
   ======================================================== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #23506E;
  cursor: pointer;
  z-index: 1201;
  margin-left: 16px;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #FFC145;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,80,110, 0.95);
  z-index: 1200;
  flex-direction: column;
  animation: slideInMenu 0.36s cubic-bezier(.7,.37,.35,1.21);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.72,.3,.42,1.29);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
@keyframes slideInMenu {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  align-self: flex-end;
  margin: 30px 18px 12px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFC145;
}
.mobile-nav {
  flex-direction: column;
  display: flex;
  gap: 18px;
  margin: 48px 28px 0 28px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 600;
  background: transparent;
  padding: 12px 0px 12px 3px;
  border-radius: 5px;
  letter-spacing: 0.01em;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFC145;
  background: #2e5773;
}

@media (max-width: 1024px) {
  header .container {
    padding-left: 14px;
    padding-right: 14px;
    min-height: 68px;
  }
}
@media (max-width: 960px) {
  .container {
    padding-left: 13px;
    padding-right: 13px;
  }
}
@media (max-width: 860px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 860px) {
  header .container {
    flex-direction: row;
    height: 60px;
    min-height: 54px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 7px;
  }
  .section, .features, .services, .testimonials, .contact, .faq, .about-story, .about-features, .about-team, .services-list, .service-benefits, .pricing, .pricing-offers, .testimonials-gallery, .feature-stories, .faq-cta, .privacy-policy, .gdpr-section, .cookie-policy, .terms-of-service, .contact-info-section, .how-to-find, .thank-you-section {
    padding: 22px 5px;
    margin-bottom: 32px;
    border-radius: 8px;
  }
  h1 {font-size: 1.45rem;}
  h2 {font-size: 1.17rem;}
  h3 {font-size: 1.08rem;}
}

/* ========================================================
   RESPONSIVE FLEX LAYOUTS
   ======================================================== */
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .feature-item {
    width: 100%;
  }
  .team-member-summary {
    flex-direction: column;
    gap: 8px;
  }
}

/* Spacing between all major content cards/sections */
.section + .section,
.features + .services, .services + .testimonials, .testimonials + .contact,
.about-story + .about-features, .about-features + .about-team, .service-benefits + .pricing-offers {
  margin-top: 28px;
}

/* Ensure no overlaps and minimum space between cards */
.card, .testimonial-card, .team-member-summary, .faq-accordion-list > div {
  margin-bottom: 20px;
}

/* ========================================================
   BUTTONS & MICRO-INTERACTIONS
   ======================================================== */
.btn-primary:active, .btn-secondary:active {
  transform: translateY(2px) scale(0.99);
}
.btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.14s, background 0.14s, color 0.14s, transform 0.16s;
}
.btn-primary:focus, .btn-secondary:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #FFC145;
  outline-offset: 2px;
}

/* Subtle hover shadow effect for content cards */
.card:hover, .testimonial-card:hover, .team-member-summary:hover, .faq-accordion-list > div:hover {
  box-shadow: 0 4px 24px rgba(35,80,110,0.11);
  background: #F6F7FA;
  transition: box-shadow 0.23s, background 0.16s;
}

/* ========================================================
   COOKIE CONSENT BANNER AND MODAL
   ======================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: #23506E;
  color: #fff;
  z-index: 1205;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  box-shadow: 0 -2px 13px rgba(35,80,110,.11);
  font-size: 1rem;
}
.cookie-banner p {
  margin-bottom: 0;
  flex: 1 1 auto;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-left: 24px;
}
.cookie-banner .cookie-btns button {
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  padding: 9px 22px;
  margin: 0;
}
.cookie-banner .accept-btn {
  background: #FFC145;
  color: #23506E;
  transition: background 0.14s, color 0.14s;
}
.cookie-banner .accept-btn:hover {
  background: #FFDB7F;
  color: #23506E;
}
.cookie-banner .reject-btn {
  background: #fff;
  color: #23506E;
  border: 1px solid #FFC145;
  transition: background 0.14s, color 0.14s;
}
.cookie-banner .reject-btn:hover {
  background: #F6F7FA;
}
.cookie-banner .settings-btn {
  background: transparent;
  color: #FFC145;
  border: 1.5px solid #FFC145;
}
.cookie-banner .settings-btn:hover {
  background: #FFC145;
  color: #23506E;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 16px 7px 12px 7px;
    font-size: 0.97rem;
    align-items: stretch;
  }
  .cookie-banner .cookie-btns {
    margin-left: 0;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner p {
    margin-bottom: 6px;
  }
}

/* Cookie MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1300;
  background: rgba(35,80,110, 0.56);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  color: #26323F;
  border-radius: 16px;
  max-width: 400px;
  width: 90vw;
  box-shadow: 0 4px 32px rgba(35,80,110, 0.13);
  padding: 36px 34px 28px 34px;
  animation: fadeInModal 0.32s cubic-bezier(.7,.37,.35,1.21);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes fadeInModal {
  0% { transform: scale(.88) translateY(28px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-top: 0;
  color: #23506E;
  font-size: 1.19rem;
  font-weight: 700;
}
.cookie-modal p {
  font-size: 1rem;
  color: #26323F;
  margin-bottom: 0.5em;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #23506E;
  width: 18px; height: 18px;
  margin-right: 6px;
}
.cookie-modal .always-enabled {
  color: #617090;
  font-size: 0.95rem;
  margin-left: 4px;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}
.cookie-modal .cookie-modal-actions button {
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 9px 19px;
  font-size: 1rem;
}
.cookie-modal .accept-btn {
  background: #23506E;
  color: #fff;
}
.cookie-modal .accept-btn:hover,
.cookie-modal .accept-btn:focus {
  background: #1a3850;
}
.cookie-modal .reject-btn {
  background: #fff;
  color: #23506E;
  border: 1px solid #23506E;
}
.cookie-modal .reject-btn:hover,
.cookie-modal .reject-btn:focus {
  background: #F6F7FA;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #23506E;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .close-btn:hover, .cookie-modal .close-btn:focus {
  color: #FFC145;
}

/* ========================================================
   MISC
   ======================================================== */
h1, h2, h3, h4, h5, h6 {
  scroll-margin-top: 86px;
}
section:not(:last-child) {
  margin-bottom: 32px;
}
::-webkit-scrollbar {
  background: #F6F7FA;
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #e6e9f0;
  border-radius: 6px;
}

/* FOCUS STATES */
a:focus, button:focus, input:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #FFC145;
  outline-offset: 2px;
}

/* Input/textarea shared style (for future forms) */
input, textarea, select {
  border: 1px solid #c6d0db;
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 18px;
  background: #F6F7FA;
  font-size: 1rem;
  color: #26323F;
  transition: border 0.16s, background 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.7px solid #23506E;
  background: #fff;
}

/* Card content spacing */
.card-content > *:not(:last-child) {
  margin-bottom: 12px;
}

/* Hide visually while keeping element for screen readers (for cookie essential) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* END OF STYLE.CSS */
