/* == CSS RESET & BASE == */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.55;
  background: #F7FAFC;
  color: #2C2F38;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #185B8E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #B67516;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
  border: none;
  background: none;
}

/* == TYPOGRAPHY == */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #185B8E;
  letter-spacing: -1px;
  margin-bottom: 18px;
  line-height: 1.12;
}
@media (max-width:500px){h1,.h1{font-size:2rem;}}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #2C2F38;
  margin-bottom: 16px;
  line-height: 1.18;
}
@media (max-width:500px){h2,.h2{font-size:1.4rem;}}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #185B8E;
  margin-bottom: 8px;
  line-height: 1.20;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #2C2F38;
  margin-bottom: 8px;
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #31343C;
  letter-spacing: 0.02em;
}
strong {
  font-weight: 700;
  color: #185B8E;
}

/* == BRAND COLORS == */
:root {
  --primary: #185B8E;
  --secondary: #ffffff;
  --accent: #F5B24C;
  --dark: #2C2F38;
  --light: #F7FAFC;
  --body: #31343C;
}

/* == LAYOUT CONTAINER == */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  background: var(--secondary);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(36, 44, 49, 0.07);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 20px 8px;
  }
}

/* == HEADER & NAVBAR == */
header {
  background: var(--light);
  border-bottom: 1.5px solid #E3E6EA;
  position: relative;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
}
nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav ul li {
  list-style: none;
}
nav ul li a {
  color: var(--dark);
  font-weight: 500;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background 0.14s;
}
nav ul li a:hover,
nav ul li a.active {
  background: #EAF0F6;
  color: var(--primary);
}
nav > a.btn-primary {
  margin-left: 30px;
}
nav > a img {
  height: 36px;
  width: auto;
  vertical-align: middle;
}

/* == BUTTONS == */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px 0 rgba(36,44,49,0.04);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #134167;
  color: #fff;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 24px 0 rgba(36,44,49,0.15);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #EAF0F6;
  color: var(--primary);
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 8px;
  border: 1.5px solid var(--primary);
  transition: background .18s, color .18s, box-shadow .2s, transform .15s;
  box-shadow: 0 2px 4px 0 rgba(36,44,49,0.06);
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(36,44,49,0.08);
  transform: translateY(-2px) scale(1.025);
}

button {
  cursor: pointer;
  outline: none;
}

/* == SECTIONS, FLEX CONTAINERS == */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(36, 44, 49, 0.06);
  border-radius: 14px;
  padding: 26px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  flex: 1 1 250px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(36,44,49,0.15);
  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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FBFBFB;
  border-radius: 10px;
  padding: 20px 18px;
  box-shadow: 0 2px 10px 0 rgba(36,44,49,0.05);
}

.blog-post-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(36,44,49,0.05);
  padding: 20px 20px;
  margin-bottom: 20px;
  min-width:220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.18s, transform 0.18s;
}
.blog-post-card:hover {
  box-shadow: 0 4px 18px 0 rgba(24,91,142,0.10);
  transform: translateY(-2px) scale(1.015);
}

.price {
  display: inline-block;
  font-size: 1.05rem;
  color: #185B8E;
  font-weight: 500;
  background: #F6F9FB;
  padding: 3.5px 12px 3.5px 10px;
  border-radius: 8px;
  margin-top: 10px;
}

/* == TESTIMONIALS == */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #213147;
  border-left: 6px solid var(--accent);
  padding: 20px 32px 20px 23px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(36,44,49,0.04);
  font-size: 1.1rem;
  max-width: 600px;
  width: 100%;
}
.testimonial-card p {
  color: #2C2F38;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #512e05;
  font-weight: 600;
}
@media (max-width:650px) {
  .testimonial-card {padding: 16px 14px 16px 11px;}
}

/* == FOOTER == */
footer {
  background: #EAF0F6;
  padding: 36px 0 15px 0;
  margin-top: 40px;
  border-top: 1.5px solid #dce2ea;
}
footer .container {
  padding-bottom: 0;
}
footer .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 12px;
}
footer nav a {
  color: #185B8E;
  margin: 0 6px;
  font-size: 0.96rem;
}
footer nav a:hover {
  color: #B67516;
}
footer img {
  height: 36px;
  width: auto;
  margin-bottom: 5px;
}

/* == RESPONSIVE DESIGN == */
@media (max-width: 1000px) {
  .container {
    max-width: 94vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  nav ul {display:none;}
  nav > a.btn-primary {display:none;}
  nav > a > img {height: 32px;}
  header {
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .section {
    padding:16px 4vw;
    margin-bottom: 30px;
  }
}
@media (max-width:540px){
  .content-wrapper {gap: 14px;}
  .section {padding:10px 2vw 10px 2vw;}
}

/* == MOBILE MENU == */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top:18px; right:18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 2rem;
  width: 44px; height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  z-index: 201;
  transition: background 0.19s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #134167;
  color: #fff;
}
@media (max-width:768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31,41,53,0.89);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.7,.1,.28,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 15px; right: 21px;
  background: #fff;
  border-radius: 50%;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  width: 44px; height: 44px;
  z-index: 301;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px 0 rgba(24, 91, 142, 0.12);
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: #fff;
}

.mobile-nav {
  width: 100vw;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.mobile-nav a {
  color: #fff;
  background: rgba(24,91,142,0.38);
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 38vw 14px 18vw;
  border-radius: 10px;
  width: 100%;
  text-align: left;
  transition: background 0.13s, color 0.14s;
  margin: 0;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--primary);
  color: #fffbe7;
}
@media (max-width:440px) {
  .mobile-nav a {font-size:1.05rem;padding-left:12vw;padding-right:5vw;}
}

/* == COOKIE CONSENT BANNER == */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fbfbfb;
  border-top: 2px solid #EAF0F6;
  padding: 24px 18px 18px 18px;
  box-shadow: 0 -2px 10px 0 rgba(36,44,49,0.10);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.35s;
  transform: translateY(110%);
}
.cookie-consent-banner.active {
  transform: translateY(0);
}
.cookie-consent-banner p {
  color: #263047;
  margin-bottom: 0;
  font-size: 1rem;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  background: #EAF0F6;
  color: #185B8E;
  padding: 10px 20px;
  border-radius: 7px;
  font-weight: 600;
  transition: background 0.14s, color 0.14s, box-shadow 0.18s;
  border: none;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #185B8E;
  color: #fff;
}
.cookie-btn.accept:hover {background: #134167;}
.cookie-btn.reject {background: #f5b24c; color: #fff;}
.cookie-btn.reject:hover{background: #B67516;}
.cookie-btn.settings:hover{background: #AFCEF1;}
@media (max-width:480px){
  .cookie-consent-banner {
    padding: 12px 5vw 10px 5vw;
    font-size:.97rem;
  }
  .cookie-consent-actions {flex-direction:column;gap:8px;align-items:stretch;}
}

/* == COOKIE CONSENT MODAL == */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1700;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24,91,142,0.22);
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  padding: 34px 28px 27px 28px;
  box-shadow: 0 8px 44px 0 rgba(36,44,49,0.17);
  max-width: 420px;
  width: 93vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 17px;
  background: #EAF0F6;
  border: none;
  border-radius: 50%;
  color: #185B8E;
  width: 32px; height: 32px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #185B8E;
  color: #fff;
}
.cookie-modal h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  color: #185B8E;
}
.cookie-category {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap:11px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #185B8E;
  width:19px;
  height:19px;
}
.cookie-category .cookie-category-title {
  font-weight: 600;
  color: #2C2F38;
}
.cookie-category .cookie-description {
  font-size: 0.97rem;
  color: #555F77;
  margin-top: 2px;
  margin-left: 2px;
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width:440px) {
  .cookie-modal {padding:14px 6vw;}
}

/* == UTILITY CLASSES == */
.hide { display: none !important;}
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* == CATEGORY BUTTONS IN BLOG == */
.section button {
  background: #EAF0F6;
  color: #185B8E;
  border-radius: 7px;
  padding: 7px 18px;
  font-size: 1rem;
  font-family:"Montserrat",Arial,sans-serif;
  font-weight: 500;
  margin-right: 9px;
  margin-bottom: 7px;
  border: none;
  transition: background 0.17s, color 0.16s;
  cursor: pointer;
}
.section button:hover {
  background: #185B8E;
  color: #fff;
}

/* == SOCIAL SHARE (THANK-YOU PAGE) == */
.content-wrapper > div span {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: #2C2F38;
  margin-right: 14px;
}
.content-wrapper > div a img {
  width: 32px; height: 32px;
  margin: 0 3px;
  border-radius:8px;
  box-shadow: 0 1px 4px 0 rgba(36,44,49,0.08);
  transition: box-shadow 0.2s;
}
.content-wrapper > div a img:hover {
  box-shadow: 0 3px 14px 0 rgba(24,91,142,0.18);
}

/* == MISC == */
::-webkit-scrollbar {
  width: 10px;
  background: #f2f4f8;
}
::-webkit-scrollbar-thumb {
  background: #e2e5e9;
  border-radius: 10px;
}

/* == PROMOTING WHITE SPACE == */
.section, .card, .testimonial-card, .feature-item, .blog-post-card {
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    min-width: 0;
    width: 100%;
    padding: 18px 10px;
  }
  .testimonial-card, .feature-item, .blog-post-card {
    padding-left: 8px; padding-right: 8px;
  }
}
