/* CSS RESET & BASE TYPOGRAPHY */
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;
  min-height: 100vh;
  background: #fff;
  color: #273372;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #273372;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B2B7C0;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;600&family=Roboto:wght@400;500&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: #273372;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.subtitle {
  font-size: 1.125rem;
  color: #5e6588;
  font-family: 'Roboto', Arial, Sans-serif;
  margin-bottom: 20px;
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #273372;
}
strong {
  font-weight: 600;
}

/* LAYOUT WRAPPERS */
.container {
  width: 100%;
  max-width: 1072px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 8px;
  }
}

/* HEADER & MAIN NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #ECEDED;
  box-shadow: 0 2px 6px rgba(39,51,114,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 36px;
  padding: 20px 0;
}
.main-nav > a img {
  height: 38px;
  width: auto;
  margin-right: 16px;
  vertical-align: middle;
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav li {
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  background: #F6EBD6;
  color: #273372;
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: #273372;
  border: none;
  border-radius: 999px;
  padding: 10px 28px;
  box-shadow: 0 2px 10px rgba(39,51,114,0.08);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1c234c;
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #273372;
  cursor: pointer;
  padding: 3px 12px;
  line-height: 1;
  z-index: 101;
}
@media (max-width: 992px) {
  .main-nav ul {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 86vw;
  max-width: 340px;
  background: #fff;
  box-shadow: -2px 0 34px rgba(39,51,114,0.16);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.6,0,.2,1);
  padding: 32px 32px 28px 24px;
  gap: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.3s cubic-bezier(.6,0,.2,1);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #273372;
  cursor: pointer;
  margin-bottom: 10px;
  padding: 4px 10px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  color: #273372;
  background: transparent;
  border-radius: 8px;
  padding: 14px 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6EBD6;
}
@media (max-width: 480px) {
  .mobile-menu {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    padding: 20px 12px 16px 12px;
    gap: 14px;
  }
}
/* Overlay for mobile menu when open */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(39,51,114,0.09);
  z-index: 180;
  display: none;
}
.mobile-menu.open ~ .mobile-menu-overlay {
  display: block;
}

/* HERO SECTIONS */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
section:first-of-type {
  margin-top: 28px;
}
@media (max-width: 768px) {
  section {
    padding: 24px 0 0 0;
    margin-bottom: 40px;
  }
  section:first-of-type {
    margin-top: 18px;
  }
}

/* CARD & FLEX LAYOUTS */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  margin-bottom: 12px;
}
.feature-block {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(39,51,114,0.045), 0 1.5px 10px rgba(39,51,114,0.032);
  border: 1px solid #ECEDED;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 260px;
  padding: 26px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.21s, transform 0.18s;
  margin-bottom: 20px;
}
.feature-block img {
  height: 38px;
  width: 38px;
  margin-bottom: 12px;
}
.feature-block .price {
  margin-top: 10px;
  font-weight: 700;
  color: #273372;
  background: #F6EBD6;
  border-radius: 8px;
  padding: 2px 12px;
  font-size: 1.08rem;
}
.feature-block:hover, .feature-block:focus-within {
  box-shadow: 0 6px 32px rgba(39,51,114,0.12), 0 1.5px 14px rgba(39,51,114,0.04);
  transform: translateY(-3px) scale(1.022);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #ECEDED;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(39,51,114,0.04);
  padding: 28px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 10px 34px rgba(39,51,114,0.11);
  transform: scale(1.012);
}

.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) {
  .content-grid {
    flex-direction: column;
    gap: 24px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul, .text-section ol {
  margin-left: 0;
  padding-left: 1.4em;
  margin-bottom: 6px;
}
.text-section li {
  margin-bottom: 7px;
}

/* TEAM OVERVIEW */
.team-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.member-bio {
  background: #fff;
  border: 1px solid #ECEDED;
  border-radius: 15px;
  min-width: 200px;
  flex: 1 1 200px;
  padding: 18px 22px 16px 18px;
  box-shadow: 0 3px 14px rgba(39,51,114,0.04);
  margin-bottom: 20px;
}
.member-bio h3 {
  margin-bottom: 6px;
}
.member-bio p {
  font-size: 1rem;
  color: #5e6588;
}
@media (max-width: 768px) {
  .team-overview {
    flex-direction: column;
    gap: 16px;
  }
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f9fafc;
  border: 1px solid #ECEDED;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(39,51,114,0.028);
  margin-bottom: 20px;
  max-width: 620px;
  transition: box-shadow 0.19s, transform 0.13s;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px rgba(39,51,114,0.08);
  transform: scale(1.016);
}
.testimonial-card p {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #222c50;
}
.testimonial-meta {
  font-size: 0.98rem;
  color: #273372;
  font-weight: 500;
  margin-left: 0;
}
.rating {
  color: #B2B7C0;
  margin-left: 5px;
  font-size: 1.08em;
  letter-spacing: 1.3px;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 17px 11px;
    max-width: 100%;
  }
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #ECEDED;
  padding: 32px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 5;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 6px;
  padding-left: 12px;
}
.footer-nav a {
  color: #273372;
  font-size: 0.98rem;
  padding: 3px 10px;
  border-radius: 5px;
  transition: background 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F6EBD6;
}
.footer-contact {
  font-family: 'Roboto', Arial, sans-serif;
  color: #5e6588;
  font-size: 0.97rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-left: 12px;
}
.footer-contact a {
  color: #273372;
  border-bottom: 1px dotted #B2B7C0;
  transition: border-bottom 0.17s;
}
.footer-contact a:hover {
  border-bottom: 1px solid #273372;
}
@media (max-width: 600px) {
  .footer-nav {flex-direction: column; gap: 10px; padding-left:0;}
  .footer-contact {flex-direction: column; align-items: flex-start; gap:4px; padding-left:0;}
}

/* MICRO-INTERACTIONS & TRANSITIONS */
button, .cta-btn, a {
  transition: background 0.17s, color 0.17s, box-shadow 0.16s, transform 0.12s;
}
li {
  margin-bottom: 7px;
}

/* FORM ELEMENTS (if any in future, minimal style) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 12px;
  border: 1px solid #ECEDED;
  border-radius: 7px;
  background: #f9fafc;
  color: #273372;
  margin-bottom: 17px;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.16s, box-shadow 0.19s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #273372;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px #b2b7c055;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #fff;
  color: #273372;
  border-top: 1.5px solid #ECEDED;
  box-shadow: 0 -2px 22px rgba(39,51,114,0.065);
  padding: 22px 16px 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 1rem;
  transition: transform 0.32s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner-msg {
  flex: 1 1 210px;
  min-width: 150px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-weight: 600;
  outline: none;
}
.cookie-btn.accept {
  background: #273372;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #1c234c;
  color: #fff;
}
.cookie-btn.reject {
  background: #ECEDED;
  color: #273372;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #B2B7C0;
  color: #fff;
}
.cookie-btn.settings {
  background: #F6EBD6;
  color: #273372;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #B2B7C0;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 18px;
    padding: 16px 8px 14px 8px;
    font-size: 0.96rem;
  }
  .cookie-banner-actions {gap:10px;}
}

/* COOKIE CONSENT MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3050;
  background: rgba(39,51,114,0.14);
  backdrop-filter: blur(2px);
  display: none;
}
.cookie-modal-overlay.active {
  display: block;
  animation: fadeIn 0.34s;
}
@keyframes fadeIn {from {opacity:0;} to {opacity:1;}}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 49%;
  transform: translate(-50%,-49%) scale(1);
  min-width: 320px;
  max-width: 98vw;
  width: 400px;
  background: #fff;
  color: #273372;
  z-index: 3100;
  border-radius: 17px;
  box-shadow: 0 6px 40px rgba(39,51,114,0.17);
  padding: 36px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPop 0.36s cubic-bezier(.5,0,.2,1);
}
@media (max-width: 520px) {
  .cookie-modal { min-width: 0; width: 99vw; padding: 18px 8px 16px 8px; }
}
@keyframes modalPop {
  0% { transform: translate(-50%,-49%) scale(0.93); opacity:.2; }
  85%{ opacity:1;}
  100% { transform: translate(-50%,-49%) scale(1); opacity:1; }
}
.cookie-modal h3 {
  font-size: 1.21rem;
  color: #273372;
  margin-bottom: 8px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
}
.cookie-modal-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-modal-category input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #273372;
}
.cookie-modal-buttons {
  display: flex;
  gap: 13px;
  margin-top: 14px;
}
.cookie-modal .close {
  position: absolute;
  right: 16px;
  top: 15px;
  background: none;
  border: none;
  font-size: 1.28rem;
  color: #273372;
  cursor: pointer;
}
/* Essential always enabled style */
.cookie-essential-category {
  opacity: 0.7;
  cursor: not-allowed;
}

/* VISUAL ELEMENTS & SUBTLE SHADOWS */
.section, .content-wrapper, .text-section {
  background: none;
}

/* SCROLLBAR MINIMAL */
body {
  scrollbar-width: thin;
  scrollbar-color: #B2B7C0 #F6EBD6;
}
body::-webkit-scrollbar {
  width: 9px;
  background: #F6EBD6;
}
body::-webkit-scrollbar-thumb {
  background: #B2B7C0;
  border-radius: 8px;
}

/* MISCELLANEOUS */
.price {
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Spacing between any two major blocks */
section + section, .section + .section, .card + .card, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* Hide visually hidden class for screen readers */
.visually-hidden {
  position: absolute !important;
  height: 1px; width:1px;
  overflow:hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* Prevent content overlap on mobile */
@media (max-width: 480px) {
  h1 {font-size: 1.32rem;}
  h2 {font-size: 1.13rem;}
  .footer-contact {font-size: 0.93rem;}
  .main-nav > a img {height: 26px;}
}

/* Prevent overlapping elements and ensure spacing on all viewports */
section, .container, .content-wrapper, .card, .feature-block, .testimonial-card {
  box-sizing: border-box;
}

/* END CSS */
