/* 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 {
  background: linear-gradient(135deg, #F3F7FA 0%, #85A3B2 100%);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #234D63;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #234D63;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #85A3B2;
}
ul, ol {
  margin-left: 1.5em;
}
li + li {
  margin-top: 8px;
}
strong {
  font-weight: 700;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #234D63;
  line-height: 1.16;
}
h1 { font-size: 2rem; margin-bottom: 28px; }
h2 { font-size: 1.5rem; margin-bottom: 22px; }
h3 { font-size: 1.18rem; margin-bottom: 12px; }
p { margin-bottom: 18px; font-size: 1rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.7rem; margin-bottom: 36px; }
  h2 { font-size: 2rem; margin-bottom: 30px; }
  h3 { font-size: 1.35rem; margin-bottom: 14px; }
  p { font-size: 1.12rem; }
}

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(35,77,99,0.06);
}

@media (min-width:768px) {
  .section {
    padding: 50px 36px;
  }
  .content-wrapper {
    gap: 36px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(35,77,99,0.08);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px; /* Allows for responsive cards */
  min-width: 220px;
}

.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: stretch; }
  .content-grid { flex-direction: column; }
  .card-container { flex-direction: column; }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F3F7FA;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(35,77,99,0.05);
  margin-bottom: 20px;
  color: #234D63;
}
.testimonial-card p {
  margin-bottom: 0;
  font-style: italic;
  font-size: 1rem;
}
.testimonial-card span {
  font-weight: 600;
  color: #234D63;
  font-size: 0.98rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature grid & team grid */
.feature-grid, .team-grid, .solutions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature, .team-profile {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35,77,99,0.07);
  flex: 1 1 260px;
  min-width: 210px;
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.22s, transform 0.19s;
}
.feature:hover, .team-profile:hover {
  box-shadow: 0 8px 32px rgba(35,77,99,0.12);
  transform: translateY(-4px) scale(1.015);
}

@media (max-width: 992px) {
  .feature-grid, .team-grid, .solutions-list {
    flex-direction: column;
  }
  .feature, .team-profile {
    min-width: 0;
    width: 100%;
    margin-bottom: 20px;
  }
}

.cta {
  background: linear-gradient(90deg, #85A3B2 0%, #F3F7FA 100%);
  padding: 55px 30px;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(35,77,99,0.06);
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta h2 {
  color: #234D63;
  font-size: 2.1rem;
  margin-bottom: 18px;
}
.cta p {
  font-size: 1.15rem;
}
.cta .button { margin-top: 12px; }

@media (max-width: 768px) {
  .cta {
    padding: 36px 14px;
  }
}

.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #85A3B2;
  color: #fff;
  font-weight: 600;
  border-radius: 14px;
  padding: 10px 18px;
  box-shadow: 0 2px 10px rgba(35,77,99,0.07);
  width: max-content;
  margin-bottom: 20px;
}
.guarantee-badge img {
  width: 36px; height: 36px;
}

.process-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.process-stepper li {
  background: #F3F7FA;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(35,77,99,0.06);
  padding: 18px 14px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 160px;
  flex: 1 1 180px;
  text-align: center;
  transition: box-shadow 0.16s;
}
.process-stepper li img {
  margin-bottom: 10px;
  height: 32px; width: 32px;
}
.process-stepper li strong { color: #234D63; margin-bottom: 6px; }
.process-stepper li:hover {
  box-shadow: 0 8px 28px rgba(35,77,99,0.10);
}
@media (max-width: 768px) {
  .process-stepper {
    flex-direction: column;
    gap: 18px;
  }
  .process-stepper li { min-width: 0; }
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 24px;
  align-items: center;
}
.tab {
  background: #f3f7fa;
  border: 0;
  outline: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #234D63;
  padding: 11px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.17s, color 0.16s;
}
.tab.active, .tab:focus, .tab:hover {
  background: #234D63;
  color: #fff;
}

.average-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.average-rating strong {
  color: #234D63;
  font-size: 1.15rem;
  font-weight: 700;
}
.average-rating img {
  height: 22px;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(35,77,99,0.07);
  background: #fff;
}
.pricing-table th, .pricing-table td {
  padding: 14px 18px;
  font-size: 1rem;
}
.pricing-table th {
  background: #85A3B2;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  border-top: none;
}
.pricing-table tr td {
  border-bottom: 1px solid #F3F7FA;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 6px 28px rgba(35,77,99,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 82px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #234D63;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.16s;
}
header nav a:hover,
header nav a:focus {
  border-color: #85A3B2;
  color: #85A3B2;
}
header > .container > a img {
  height: 38px;
}
.button.primary {
  background: linear-gradient(90deg, #234D63 0%, #85A3B2 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 13px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35,77,99,0.09);
  margin-left: 14px;
  transition: background 0.18s, transform 0.16s;
  outline: none;
  text-align: center;
  display: inline-block;
}
.button.primary:hover, .button.primary:focus {
  background: linear-gradient(90deg, #85A3B2 0%, #234D63 100%);
  transform: translateY(-2px) scale(1.03);
}
.button.secondary {
  background: #fff;
  color: #234D63;
  border: 2px solid #234D63;
  border-radius: 30px;
  padding: 13px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35,77,99,0.06);
  transition: background 0.18s, color 0.14s, border-color 0.16s, transform 0.16s;
}
.button.secondary:hover, .button.secondary:focus {
  background: #234D63;
  color: #fff;
  border-color: #85A3B2;
  transform: translateY(-2px) scale(1.03);
}

@media (max-width: 992px) {
  header .container {
    flex-direction: row;
    gap: 14px;
    min-height: 62px;
  }
  nav { display: none; }
  .button.primary { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}

/* HAMBURGER MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #234D63;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 301;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover { background: #85A3B2; }
.mobile-menu {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,77,99,0.96);
  z-index: 9999;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.6,0,.32,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: 0;
  font-size: 2.1rem;
  margin: 20px 28px 0 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.17s;
  outline: none;
  z-index: 10001;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #85A3B2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  align-items: center;
  padding-bottom: 40px;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: #fff;
  background: none;
  padding: 14px 0;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, border-color 0.14s;
  width: 80%;
  text-align: center;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #85A3B2;
  border-bottom: 2px solid #85A3B2;
  background: rgba(255,255,255,0.05);
}
@media (max-width: 992px) {
  nav { display: none!important; }
  .button.primary { display: none!important; }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, #234D63 0%, #85A3B2 100%);
  color: #fff;
  padding: 70px 20px 90px 20px;
  border-radius: 0 0 32px 32px;
  margin-bottom: 60px;
}
.hero h1, .hero p { color: #fff; }
.hero .button.primary {
  margin-left: 0;
  margin-top: 18px;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #234D63;
}
.contact-details a {
  color: #234D63;
  font-weight: 600;
  word-break: break-all;
  transition: color 0.15s;
}
.contact-details a:hover {
  color: #85A3B2;
}
.contact-details img {
  width: 24px; height: 24px;
}

@media (max-width: 768px) {
  .contact-details { flex-direction: column; }
  .contact-details > div { font-size: 1rem; }
}

.map {
  background: #F3F7FA;
  border-radius: 12px;
  color: #234D63;
  font-size: 1rem;
  padding: 18px 12px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* TEXT SECTION */
.text-section, .faq {
  background: #F3F7FA;
  border-radius: 16px;
  padding: 18px 16px;
  color: #234D63;
  font-size: 1.06rem;
}
.text-section ul,
.text-section ol {
  margin: 12px 0 12px 18px;
}
.text-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.text-section a {
  color: #234D63;
  text-decoration: underline;
}
.text-section a:hover {
  text-decoration: none;
  color: #85A3B2;
}
.faq h2 {
  margin-bottom: 13px;
}

/* FOOTER */
footer {
  background: #234D63;
  color: #fff;
  padding-top: 24px;
  padding-bottom: 24px;
  margin-top: 64px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 24px;
}
footer nav {
  flex-direction: row;
  gap: 16px;
  display: flex;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
footer nav a:hover {
  color: #F3F7FA;
  border-bottom: 1px solid #F3F7FA;
}
footer span {
  font-size: 0.98rem;
  color: #eee;
}
@media (max-width: 992px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  footer nav { flex-wrap: wrap; gap: 11px; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #234D63;
  color: #fff;
  z-index: 12000;
  padding: 20px 16px 18px 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  font-size: 1rem;
  box-shadow: 0 -4px 22px rgba(35,77,99,0.07);
  animation: cookieSlideIn 0.6s ease;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    font-size: 0.98rem;
  }
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity:0 } to { transform: none; opacity:1; }
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  padding: 11px 24px;
  transition: background 0.14s, color 0.14s, border 0.15s;
}
.cookie-btn.accept {
  background: #85A3B2;
  color: #234D63;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F3F7FA;
  color: #234D63;
}
.cookie-btn.reject {
  background: #F3F7FA;
  color: #234D63;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #85A3B2;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #85A3B2;
  color: #234D63;
  border-color: #85A3B2;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,77,99,0.91);
  z-index: 13000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #234D63;
  border-radius: 18px;
  padding: 36px 29px;
  max-width: 420px;
  width: 88vw;
  box-shadow: 0 4px 32px #234D6340;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalAppear 0.31s cubic-bezier(.52,0,.38,1);
}
@keyframes modalAppear {
  from {transform: translateY(64px) scale(0.93);} to {transform: none;}
}
.cookie-modal h3 {
  font-size: 1.23rem;
  margin-bottom: 11px;
  font-family: 'Montserrat',sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #85A3B2;
  width: 20px; height: 20px;
}
.cookie-category.essential input { display: none; }
.cookie-category.essential span {
  color: #85A3B2;
  font-weight: 700;
}
.cookie-modal-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  top: 22px; right: 28px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #85A3B2;
  cursor: pointer;
  z-index: 13100;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #234D63;
}

/* MICRO-ANIMATIONS */
.button, .tab, .cookie-btn, .feature, .team-profile, .process-stepper li {
  transition: 
    background 0.18s, 
    color 0.16s, 
    box-shadow 0.19s, 
    border 0.15s,
    transform 0.19s;
}

/* SPACING UTILS & OVERRIDES */
.section + .section,
.section + .cta {
  margin-top: 54px;
}
.feature + .feature, .team-profile + .team-profile, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* RESPONSIVE HEADINGS ON SMALL DEVICES */
@media (max-width: 400px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
}

/* Scrollbar minimal styling for visuals */
::-webkit-scrollbar {
  width: 12px;
  background: #F3F7FA;
}
::-webkit-scrollbar-thumb {
  background: #85A3B2;
  border-radius: 12px;
}

/* Hide non-relevant elements for print */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal-overlay, .button, .tab { display: none !important; }
}
