/* 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, main, 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; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1; font-size: 16px; background: #F2F5F7; color: #1B2936; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}

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

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F2F5F7;
  color: #1B2936;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1B2936;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
p, ul, ol {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
strong { font-weight: 600; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/***********************
  HEADER
***********************/
header {
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(30, 40, 60, 0.04);
  position: sticky;
  top: 0; left: 0;
  z-index: 100;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  gap: 20px;
}

.header-inner img {
  height: 42px;
  width: auto;
  margin-right: 24px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #1B2936;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2F5F7;
  color: #175482;
}

.cta-button {
  display: inline-block;
  background: #2176AE;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 28px;
  box-shadow: 0 2px 12px rgba(33, 118, 174, 0.10);
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #175482;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px rgba(33, 118, 174, 0.14);
}

.mobile-menu-toggle {
  display: none;
  background: #1B2936;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 6px;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2176AE;
}

/***********************
  MOBILE NAVIGATION
***********************/
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -2px 0 24px rgba(27,41,54,0.10);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.72,0,0.28,1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 20px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #175482;
  font-size: 2.25rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 121;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #2176AE;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.11rem;
  color: #1B2936;
  padding: 10px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F2F5F7;
  color: #2176AE;
}

/***********************
  HERO SECTION
***********************/
.hero {
  background: #FFFFFF;
  border-bottom: 1px solid #E3E8EB;
  padding: 64px 0 32px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.hero h1 {
  color: #175482;
}
.hero p {
  max-width: 670px;
  color: #3e4751;
}

/***********************
  CTA SECTION
***********************/
.cta {
  background: #175482;
  color: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 12px rgba(33, 118, 174, 0.10);
}
.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta-button {
  background: #fff;
  color: #175482;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(27, 41, 54, 0.07);
}
.cta .cta-button:hover, .cta .cta-button:focus {
  background: #2176AE;
  color: #fff!important;
}

/***********************
  ABOUT SECTION
***********************/
.about {
  background: #FFFFFF;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 8px rgba(30, 40, 60, 0.04);
}
.about .container {
  display: flex;
  flex-direction: column;
}
.about .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 850px;
}
.about ul {
  margin-left: 20px;
  margin-bottom: 12px;
  padding-left: 18px;
  list-style: disc;
  color: #1B2936;
}
.about ul li + li {
  margin-top: 6px;
}

/***********************
  FEATURES SECTION
***********************/
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F2F5F7;
  border-radius: 16px;
}
.features .container {
  display: flex;
  flex-direction: column;
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-left: 20px;
  padding-left: 18px;
  list-style: disc;
}
.features ul span {
  margin-left: 8px;
  color: #175482;
  font-size: 0.9rem;
  font-weight: 600;
}

.features ul li {
  font-size: 1rem;
  color: #1B2936;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.features ul li img {
  width: 32px; height: 32px;
  margin-right: 6px;
}

/***********************
  SERVICES & CARDS
***********************/
.services {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 16px;
}
.services .container {
  display: flex;
  flex-direction: column;
}
.services .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  flex: 1 1 260px;
  min-width: 260px;
  background: #F8FAFC;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(33, 118, 174, 0.07);
  padding: 28px 24px 22px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.18s;
  position: relative;
}
.service-card h3 {
  color: #2176AE;
  font-weight: 600;
}
.service-card strong {
  color: #1B2936;
  font-weight: 700;
  font-size: 1.07rem;
}
.service-card:hover, .service-card:focus {
  box-shadow: 0 8px 28px rgba(33, 118, 174, 0.15);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}

/***********************
  TESTIMONIALS
***********************/
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 16px;
}
.testimonials .container {
  display: flex;
  flex-direction: column;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.testimonial-card {
  background: #F6F9FB;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(33, 118, 174, 0.09);
  padding: 20px 26px 18px 26px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.18s;
  color: #1B2936;
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #1B2936;
}
.testimonial-card strong {
  font-weight: 600;
  color: #2176AE;
  font-size: 0.98rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 30px rgba(33, 118, 174, 0.11);
  transform: translateY(-2px) scale(1.01);
}

/***********************
  FOOTER
***********************/
footer {
  background: #1B2936;
  color: #FFFFFF;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 12px rgba(27, 41, 54, 0.08);
  margin-top: 60px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 20px 28px 20px;
}
footer img {
  width: 48px; height: 48px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-direction: row;
}
.footer-nav a {
  color: #B9C5D1;
  font-size: 1rem;
  padding: 4px 6px;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact p, .footer-contact a {
  color: #E6ECF2;
  font-size: 0.97rem;
  margin-bottom: 3px;
}
.footer-contact a:hover, .footer-contact a:focus {
  text-decoration: underline;
  color: #2176AE;
}

/***********************
  COMMON FLEXBOX UTILS
***********************/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.text-section {
  flex: 1 1 280px;
  min-width: 220px;
  margin-bottom: 22px;
  padding: 8px 0;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***********************
  CATEGORY TAGS FOR BLOG
***********************/
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.category-tags span {
  background: #E6ECF2;
  color: #2176AE;
  font-size: 0.91rem;
  border-radius: 14px;
  padding: 5px 14px;
  font-weight: 500;
}
.features ul li span {
  margin-left:4px;
  color: #2176AE;
  font-weight: 500;
}

/***********************
  CONTACT PAGE
***********************/
.contact {
  background: #FFF;
  border-radius: 16px;
  padding: 40px 20px;
  margin-bottom: 60px;
  box-shadow: 0 2px 10px rgba(27, 41, 54, 0.04);
}
.contact .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 14px;
}

/***********************
  FORM ELEMENTS
***********************/
input[type="text"], input[type="email"], textarea {
  border: 1px solid #D5DCE2;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  background: #F8FAFC;
  transition: border 0.17s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid #2176AE;
}

/***********************
  BUTTONS
***********************/
button, .cta-button {
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.21s, transform 0.15s;
}

/***********************
  HOVER INTERACTIONS
***********************/
a, button, .cta-button {
  transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
}
a:focus, button:focus {
  outline: 2px solid #2176AE;
  outline-offset: 1.5px;
}
::-webkit-input-placeholder { color: #A3AAB8; }
::-moz-placeholder { color: #A3AAB8; }
:-ms-input-placeholder { color: #A3AAB8; }
::placeholder { color: #A3AAB8; }

/***********************
  RESPONSIVE BREAKPOINTS
***********************/
@media (max-width: 1200px) {
  .footer-inner, .header-inner, .container {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 900px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}
@media (max-width: 850px) {
  .services .content-wrapper, .testimonials .content-wrapper, .features .content-wrapper, .contact .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .footer-inner {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .header-inner {
    padding: 12px 12px;
    gap: 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  .footer-inner {
    flex-direction: column;
    gap: 22px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .services .content-wrapper, .testimonials .content-wrapper, .features .content-wrapper, .contact .content-wrapper {
    gap: 14px;
  }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
  .hero, .about, .features, .services, .cta, .testimonials, .contact, .section {
    padding: 28px 0;
    margin-bottom: 36px;
  }
  .card {
    margin-bottom: 20px;
  }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  .service-card, .testimonial-card {
    min-width: 100px;
    padding: 16px 9px 12px 9px;
  }
  .mobile-menu {
    width: 95vw;
    padding: 16px 6vw 12px 9vw;
  }
}

/***********************
  COOKIE BANNER & MODAL
***********************/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  z-index: 140;
  background: #FFFFFF;
  box-shadow: 0 -2px 12px rgba(27, 41, 54, 0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 60px 20px 26px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transition: transform 0.36s cubic-bezier(0.72,0,0.28,1), opacity 0.3s;
  font-size: 1rem;
  color: #1B2936;
}
.cookie-banner.hide { opacity: 0; pointer-events: none; transform: translateY(140%); }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  background: #2176AE;
  color: #fff;
  border-radius: 7px;
  border: none;
  padding: 8px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-left: 0;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
}
.cookie-btn.reject {
  background: #E3E8EB;
  color: #1B2936;
}
.cookie-btn.settings {
  background: #F6F9FB;
  color: #2176AE;
  border: 1px solid #2176AE;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #175482;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F2F5F7;
  color: #2176AE;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #2176AE;
  color: #fff;
}

/************ COOKIE MODAL ******/
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27,41,54,0.29);
  z-index: 141;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 24px rgba(27,41,54,0.17);
  max-width: 420px;
  width: 95vw;
  padding: 34px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 142;
  animation: cookie-modal-fade 0.32s cubic-bezier(.36,1.6,.55,.9);
}
@keyframes cookie-modal-fade {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal h3 {
  color: #2176AE;
  font-size: 1.21rem;
  margin-bottom: 8px;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal label {
  font-weight: 500;
  color: #1B2936;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #2176AE;
}
.cookie-modal .essential { color: #999; font-size:0.97rem; }
.cookie-modal .cookie-modal-actions {
  align-self: flex-end;
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

/***********************
  UTILITY CLASSES
***********************/
.mt-0 { margin-top: 0!important; }
.mt-8 { margin-top: 8px!important; }
.mt-16 { margin-top: 16px!important; }
.mb-0 { margin-bottom: 0!important; }
.mb-8 { margin-bottom: 8px!important; }
.mb-12 { margin-bottom: 12px!important; }
.mb-16 { margin-bottom: 16px!important; }
.mb-24 { margin-bottom: 24px!important; }
.mb-32 { margin-bottom: 32px!important; }
.gap-8 { gap: 8px!important; }
.gap-16 { gap: 16px!important; }
.gap-24 { gap: 24px!important; }
.gap-32 { gap: 32px!important; }
.text-center { text-align: center!important; }
.text-right  { text-align: right!important; }
.text-left   { text-align: left!important; }

/***********************
  SCROLLBARS (optional)
***********************/
::-webkit-scrollbar {
  width: 8px;
  background: #E3E8EB;
}
::-webkit-scrollbar-thumb {
  background: #C0CCD6;
  border-radius: 6px;
}

/***********************
  ANIMATIONS & MICRO-INTERACTIONS
***********************/
.cta-button, .service-card, .testimonial-card, .mobile-menu, .cookie-banner {
  transition: box-shadow 0.24s, background 0.17s, color 0.17s, transform 0.19s;
}
.mobile-menu {
  transition: transform 0.38s cubic-bezier(0.7,0,0.17,1);
}

/***********************
  SITE-SPECIFIC
***********************/
/* Remove tap highlight on iOS */
html {
  -webkit-tap-highlight-color: rgba(33,118,174,0.14);
}

/* Selection colors */
::selection {
  background: #175482;
  color: #fff;
}
