/* =======================
   CSS RESET & NORMALIZATION
   ======================= */
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;
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F4F7FA;
  color: #222F3E;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #48697C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #365262;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #294760;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;   /* 32px */
}
h3 {
  font-size: 1.5rem; /* 24px */
}
h4 {
  font-size: 1.125rem; /* 18px */
}
small, .small {
  color: #728697;
  font-size: 0.9em;
}
strong {
  font-weight: 600;
}

/* ================================
   LAYOUT CONTAINERS & SPACING
=============================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 24px 0 rgba(72, 105, 124, 0.04);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px 0 rgba(72, 105, 124, 0.07);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(72, 105, 124, 0.13);
  transform: translateY(-3px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*******************************************
 HERO SECTION, BUTTONS, CALLS TO ACTION
*******************************************/
.hero {
  background: #48697C;
  color: #fff;
  padding: 64px 0 56px 0;
}
.hero .container {
  align-items: center;
}
.hero .content-wrapper {
  max-width: 670px;
  margin: 0 auto;
  gap: 30px;
  align-items: flex-start;
}
.hero h1 {
  color: #fff;
}
.hero p {
  font-size: 1.125rem;
  margin-bottom: 16px;
  color: #F4F7FA;
}
.cta {
  background: #9ACBB3;
  border-radius: 10px;
  margin: 40px 0;
  padding: 36px 0 32px 0;
  color: #294760;
  text-align: center;
}
.cta .btn-primary {
  margin-bottom: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: #48697C;
  color: #fff !important;
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 2px 8px 0 rgba(72, 105, 124, 0.1);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #294760;
  box-shadow: 0 4px 20px 0 rgba(72, 105, 124, 0.22);
  transform: translateY(-2px);
}

/****************************************
   NAVIGATION & HEADER
****************************************/
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(72, 105, 124, 0.03);
  padding: 0;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 14px;
  gap: 32px;
  position: relative;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 32px;
}
header nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #48697C;
  font-weight: 500;
  transition: color 0.2s;
  padding: 8px 2px;
  position: relative;
}
header nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0px;
  background: #9ACBB3;
  border-radius: 2px;
  transition: width 0.18s;
  position: absolute;
  left: 0; bottom: 0;
}
header nav a:hover:after, header nav a:focus:after {
  width: 70%;
}
header nav a.btn-primary, header a.btn-primary {
  color: #fff;
  background: #48697C;
  border-radius: 30px;
  margin-left: 24px;
  transition: background 0.2s;
}
header nav a.btn-primary:hover,
header nav a.btn-primary:focus,
header a.btn-primary:hover,
header a.btn-primary:focus {
  background: #294760;
}
header a img {
  height: 48px;
  width: auto;
  margin-right: 12px;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #48697C;
  border: none;
  font-size: 2rem;
  padding: 8px 12px 6px 12px;
  cursor: pointer;
  transition: color 0.21s;
  z-index: 103;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #9ACBB3;
}

/****************************************
   MOBILE MENU SLIDEOUT
****************************************/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,53,58,0.97);
  z-index: 102;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.6,0.14,0.3,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  align-self: flex-end;
  font-size: 2.3rem;
  padding: 24px 24px 8px 0;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 104;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #9ACBB3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px 32px 0 36px;
  margin-top: 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #294760;
  color: #9ACBB3;
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  header a.btn-primary {
    display: none;
  }
}
@media (max-width: 768px) {
  .mobile-nav {
    padding: 32px 16px 0 16px;
    gap: 22px;
    font-size: 1.1rem;
  }
}

/****************************************
    FOOTER
****************************************/
footer {
  background: #294760;
  color: #fff;
  padding-top: 34px;
  padding-bottom: 28px;
  margin-top: 48px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a {
  color: #9ACBB3;
  font-weight: 500;
}
footer a:hover, footer a:focus {
  color: #fff;
}
footer nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-contact {
  color: #EFF7F5;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
  font-size: 1rem;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
  opacity: 0.85;
  display: inline;
}
.footer-contact span, .footer-contact b {
  font-size: 1rem;
  margin-left: 3px;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a img {
  height: 29px; width: 29px; display: block;
  filter: grayscale(1) brightness(1.9);
  transition: filter 0.14s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: none;
}
footer a img {
  margin: 0; height: 46px;
}

/****************************************
  COMPONENTS & CARDS
****************************************/
.feature-grid, .service-grid, .service-list, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.feature-grid > div,
.service-list > div,
.service-grid > div,
.blog-list > .blog-post {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px 0 rgba(72, 105, 124, 0.07);
  padding: 32px 24px 24px 24px;
  flex: 1 1 290px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.15s;
}
.feature-grid > div:hover,
.service-list > div:hover,
.service-grid > div:hover,
.blog-list > .blog-post:hover {
  box-shadow: 0 20px 32px 0 rgba(72, 105, 124, 0.13);
  transform: translateY(-2px);
}
.feature-grid img {
  height: 46px;
  margin-bottom: 10px;
}
.feature-grid h3, .service-list h3, .service-grid h3 {
  color: #48697C;
  font-size: 1.15rem;
  margin-bottom: 7px;
}
.feature-grid p, .service-list p, .service-grid p {
  font-size: 1rem;
  color: #535F6B;
}
.service-list span,
.service-grid span {
  color: #294760;
  font-weight: 600;
  font-size: 1.04rem;
}

/****************************************
  BLOG POST CARDS
****************************************/
.blog-list {
  gap: 28px;
}
.blog-list .blog-post {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.8px 10px 0 rgba(72, 105, 124, 0.09);
  padding: 28px 24px 20px 24px;
  flex: 1 1 320px;
  min-width: 240px;
  max-width: 420px;
  margin-bottom: 20px;
}
.blog-list .blog-post h3 {
  color: #48697C;
  font-size: 1.2rem;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.blog-list .blog-post p {
  color: #52616A;
  font-size: 1rem;
}

/****************************************
  TESTIMONIALS
****************************************/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px;
  background: #EFF4F7;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(72, 105, 124, 0.05);
  margin-bottom: 20px;
  font-size: 1.125rem;
  color: #294760;
  min-width: 220px;
  max-width: 760px;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #294760;
}
.testimonial-card span {
  color: #48697C;
  font-size: 1rem;
  margin-top: 10px;
}

/****************************************
  CONTACT DETAILS
****************************************/
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 34px;
}
.contact-details ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: #294760;
}
.contact-details img {
  height: 22px;
}

/****************************************
  TYPOGRAPHY, LISTS, GENERAL ELEMENTS
****************************************/
p {
  font-size: 1.08rem;
  margin-bottom: 16px;
}
ul, ol {
  margin-bottom: 18px;
  color: #4B6478;
  font-size: 1.06rem;
  padding-left: 18px;
}
ul li, ol li {
  margin-bottom: 7px;
  padding-left: 0;
  position: relative;
}
ul li:before {
  content: '\2022';
  color: #9ACBB3;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  vertical-align: middle;
}
ol li {
  list-style-type: decimal;
  margin-left: 0;
}

/****************************************
  RESPONSIVE MEDIA QUERIES
****************************************/
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 1024px) {
  .content-wrapper, .card-container, .feature-grid, .service-list, .service-grid, .blog-list, .contact-details {
    flex-direction: column;
    gap: 22px;
  }
  .container {
    gap: 0;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 920px) {
  .feature-grid > div,
  .service-list > div,
  .service-grid > div,
  .blog-list > .blog-post {
    max-width: 100%;
    min-width: unset;
    flex-basis: 100%;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 42px;
    padding: 26px 6px;
  }
  .card {
    padding: 22px 10px;
  }
  .feature-grid, .service-list, .service-grid, .blog-list, .contact-details {
    gap: 18px;
  }
  .hero {
    padding: 38px 0;
  }
  .feature-grid > div, .service-list > div, .service-grid > div, .blog-list > .blog-post {
    padding: 20px 8px;
    min-width: unset;
    max-width: 100%;
  }
  .content-wrapper {
    gap: 16px;
  }
  .cta {
    padding: 22px 0 18px 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .contact-details {
    flex-direction: column;
    gap: 22px;
  }
  h1 {
    font-size: 2rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  header > .container {
    gap: 12px;
    padding-top: 9px;
    padding-bottom: 8px;
  }
  header a img, footer a img {
    height: 36px;
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .hero .content-wrapper {
    gap: 14px;
    padding: 0 4px;
  }
  h1 {
    font-size: 1.18rem;
  }
  .cta {
    padding: 8px 4px 12px 4px;
  }
  .footer-contact,
  .footer-social {
    gap: 8px;
  }
}

/****************************************
  ANIMATIONS & HOVER EFFECTS
****************************************/
.btn-primary,
.card,
.feature-grid > div,
.service-list > div,
.service-grid > div,
.blog-list > .blog-post,
header nav a,
.mobile-nav a,
.testimonial-card {
  transition: box-shadow 0.16s, background 0.17s, color 0.17s, transform 0.12s;
}

/****************************************
  Z-INDEX HANDLING FOR OVERLAYS
****************************************/
.mobile-menu,
.mobile-menu.open {
  z-index: 102;
}
.mobile-menu-close {
  z-index: 104;
}
header {
  z-index: 101;
  position: relative;
}

/****************************************
  COOKIE CONSENT BANNER
****************************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  min-height: 70px;
  background: #294760cc;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  box-shadow: 0 -8px 36px 0 rgba(72,105,124,.065);
  gap: 28px;
  font-size: 1.09rem;
  opacity: 1;
  transition: opacity 0.22s, transform 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
}
.cookie-banner p {
  color: #fff;
  margin: 0;
  font-size: 1rem;
  max-width: 700px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .btn {
  padding: 10px 22px;
  border: none;
  border-radius: 28px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  background: #9ACBB3;
  color: #294760;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  margin-left: 0;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #fff;
  color: #48697C;
  outline: none;
}
.cookie-banner .btn-settings {
  background: #F4F7FA;
  color: #48697C;
}
.cookie-banner .btn-settings:hover,
.cookie-banner .btn-settings:focus {
  background: #fff;
  color: #294760;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 14px 10px 15px 10px;
    gap: 20px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-buttons {
    gap: 10px;
  }
}
/****************************************
  COOKIE PREFERENCES MODAL
****************************************/
.cookie-modal {
  position: fixed;
  top: 0;left: 0;right: 0;bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36,56,78,0.82);
  z-index: 4000;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.21s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  min-width: 340px;
  width: 94vw;
  max-width: 440px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 38px 0 rgba(72, 105, 124, 0.19);
  padding: 34px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal-content h2 {
  color: #294760;
  margin-bottom: 10px;
}
.cookie-modal-content ul {
  margin: 0 0 10px 0;
  padding: 0 0 0 16px;
}
.cookie-modal-content li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #294760;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal-content .category-label {
  flex: 1 1 0%;
}
.cookie-modal-content .toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #9ACBB3;
  border-radius: 20px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal-content .toggle:checked {
  background: #48697C;
}
.cookie-modal-content .toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 17px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.19s;
}
.cookie-modal-content .toggle:checked:before {
  transform: translateX(16px);
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: #48697C;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 4012;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #294760;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}
@media (max-width: 420px) {
  .cookie-modal-content {
    padding: 24px 6px 22px 6px;
    min-width: unset;
  }
}

/****************************************
  MISC UTILITIES
****************************************/
.text-center {
  text-align: center;
}
.rounded {
  border-radius: 12px;
}
.shadow {
  box-shadow: 0 6px 36px 0 rgba(72,105,124,0.13);
}

/****************************************
  FOCUS & ACCESSIBILITY
****************************************/
:focus-visible {
  outline: 2px solid #9ACBB3;
  outline-offset: 1px;
}

/****************************************
  FONT IMPORTS (add to HTML if not present)
****************************************/
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* ================================
   END OF PROFESSIONAL CORPORATE THEME
   ================================ */
