/* ====================================================
   CSS Reset & Normalize (minimal)
==================================================== */
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;
  font-size: 16px;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #23445C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
input, button, textarea, select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
  box-shadow: none;
}
a {
  color: #23445C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #277c71;
}

/* Typography -------------------------------------------------- */
h1, .h1 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p, ul, ol, blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
strong {
  font-weight: bold;
}
.subtitle {
  color: #23445C;
  opacity: 0.74;
  font-size: 1.15rem;
  margin-bottom: 24px;
  font-weight: 400;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 10px;
}
blockquote {
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: 'Roboto Slab', Georgia, serif;
  color: #222d36;
  background: #f7fafb;
  border-left: 3px solid #38B2A5;
  padding: 16px 22px;
  border-radius: 7px;
  margin-bottom: 0;
}

/* Containers and Layouts ------------------------------------- */
.container {
  max-width: 1200px;
  width: 100%;
  padding-left: 22px;
  padding-right: 22px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.header-container,
.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.footer-logo-social {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  font-size: 0.98rem;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
  color: #23445C;
  opacity: 0.7;
  font-size: 0.97rem;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 17px 0 rgba(35,68,92,0.07);
  padding: 30px 26px;
}
.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-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  background: #fff;
  padding: 24px 20px;
  border-radius: 12px;
  box-shadow: 0 1.5px 12px 0 rgba(35,68,92,0.06);
  flex: 1 1 240px;
  transition: box-shadow 0.17s;
}
.feature-item img {
  width: 48px;
  height: 48px;
}
.feature-item:hover,
.feature-item:focus {
  box-shadow: 0 5px 30px 0 rgba(56,178,165,0.12);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2px;
}

/* Service cards (index & services) ---------------------- */
.service-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(35,68,92,0.08);
  padding: 30px 26px;
  flex: 1 1 260px;
  min-width: 225px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.17s;
}
.service-card:hover,
.service-card:focus {
  box-shadow: 0 8px 38px 0 rgba(56,178,165,0.12);
}
.service-price {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #277c71;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 14px 0 0;
}
.service-cta-btn {
  padding: 11px 24px;
  background: #277c71;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 0 1.5px 10px rgba(39,124,113,0.10);
  margin-top: 10px;
  align-self: flex-start;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.service-cta-btn:hover, .service-cta-btn:focus {
  background: #1d635a;
  color: #e5fffa;
}

/* Testimonial styling ----------------------------------- */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 17px 0 rgba(35,68,92,0.10);
  min-width: 220px;
  flex: 1 1 240px;
  margin-bottom: 20px;
}
.testimonial-author {
  color: #277c71;
  font-size: 1rem;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  margin-top: 6px;
}

/* Call-to-action section ------------------------------- */
.cta-section {
  background: #f8fafa;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 12px 0 rgba(56,178,165,0.07);
}
.cta-btn {
  background: #277c71;
  color: #fff;
  border-radius: 30px;
  padding: 13px 32px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px 0 rgba(39,124,113,0.10);
  letter-spacing: 0.01em;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #23445C;
  color: #fff;
  box-shadow: 0 4px 20px 0 rgba(35,68,92,0.12);
}

/* Search bar (blog) ------------------------------------- */
.search-bar {
  margin-bottom: 22px;
  display: flex;
  flex-direction: row;
  gap: 0;
}
.search-bar input[type=search] {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid #d9e4ed;
  border-radius: 24px;
  background: #f7fafb;
  font-size: 1rem;
  transition: border 0.2s;
  outline: none;
}
.search-bar input[type=search]:focus {
  border-color: #38B2A5;
  background: #fff;
}

/* Blog Posts ------------------------------------------ */
.blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.blog-post-preview {
  background: #fff;
  padding: 22px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 15px 0 rgba(35,68,92,0.09);
  flex: 1 1 310px;
  min-width: 200px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.16s;
}
.blog-post-preview:hover, .blog-post-preview:focus {
  box-shadow: 0 8px 28px rgba(39,124,113,0.11);
}
.read-more {
  color: #277c71;
  font-weight: 600;
  margin-top: 2px;
  transition: color 0.2s;
}
.read-more:hover, .read-more:focus {
  color: #23445c;
  text-decoration: underline;
}
.featured-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
}

/* Confirmation message -------------------------------- */
.confirmation-message {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #f8fafa;
  border-radius: 14px;
  padding: 35px 24px;
  font-size: 1.1rem;
  text-align: center;
  box-shadow: 0 2px 17px 0 rgba(35,68,92,0.04);
}

/* Contact info & map ---------------------------------- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.05rem;
  color: #23445c;
  margin-bottom: 25px;
}
.contact-info img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
.map-location {
  background: #f8fafa;
  border-radius: 10px;
  padding: 18px 18px 14px 18px;
  margin-top: 10px;
  color: #23445c;
  font-size: 1.06rem;
  box-shadow: 0 1px 8px 0 rgba(39,124,113,0.07);
}


/* HEADER & NAVIGATION =================================== */
header {
  background: #fff;
  border-bottom: 1px solid #e8ecf2;
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  color: #23445c;
  font-weight: 600;
  font-size: 0.99rem;
  padding: 6px 5px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f0f4f9;
  color: #277c71;
}

header .cta-btn {
  margin-left: 18px;
}

/* Hero section (landing & statics) -------------------- */
.hero-section {
  display: flex;
  align-items: center;
  padding: 50px 0 50px 0;
  background: #fafdff;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 5px 24px 0 rgba(35,68,92,0.06);
  margin-bottom: 56px;
  min-height: 300px;
}
.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section h1 {
  font-size: 2.3rem;
  color: #23445c;
  font-weight: 700;
}
.hero-section .subtitle {
  font-size: 1.16rem;
  color: #23445c;
  opacity: 0.74;
}

/* Responsive utility classes -------------------------- */
@media (max-width: 1024px) {
  .feature-grid, .testimonial-list, .service-list, .service-cards, .blog-post-list, .card-container, .content-grid, .featured-articles {
    flex-direction: column;
    gap: 20px !important;
  }
}
@media (max-width: 800px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  header, .hero-section, footer, .section {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .header-container, .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .footer-contact {
    align-items: flex-start;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (max-width: 540px) {
  .hero-section {
    padding: 34px 0;
    min-height: 170px;
    margin-bottom: 40px;
  }
  .section, .cta-section {
    padding: 28px 4px;
    margin-bottom: 36px;
  }
  h1, .h1 { font-size: 1.6rem; }
  h2, .h2 { font-size: 1.25rem; }
}

/* FLEXBOX Only Enforcer (no grid, no columns) -------------- */
/* Strictly honor the flex-based layouts throughout */

/* _______________ MOBILE MENU (BURGER NAVIGATION) _______________ */
.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: #277c71;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 110;
  box-shadow: 0 2px 8px rgba(39,124,113,0.11);
  transition: background 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #23445c;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,68,92,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.175,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 16px 0 10px 18px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  cursor: pointer;
  z-index: 1002;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #277c71;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 24px 0 32px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 14px 0;
  width: 100%;
  border-radius: 7px;
  text-align: left;
  transition: background 0.16s, color 0.16s;
  cursor: pointer;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #277c71;
  color: #fff;
}

/* Hide burger on desktop, show on mobile */
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex !important;
  }
  .main-nav {
    display: none !important;
  }
}

/* ______________ FOOTER _________________________ */
footer {
  background: #fafdff;
  border-top: 1px solid #e8ecf2;
  padding: 36px 0 26px 0;
}

/* ______________ COOKIE CONSENT BANNER & MODAL _________________ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1200;
  background: #FFF;
  box-shadow: 0 -4px 22px 0 rgba(35,68,92,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 5vw 24px 5vw;
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.34s cubic-bezier(.77,0,.175,1), opacity 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  font-size: 1rem;
  color: #23445C;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-btn {
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 1.01rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  border: none;
  outline: none;
}
.cookie-btn.accept {
  background: #277c71;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #23445C;
}
.cookie-btn.reject {
  background: #f8fafa;
  color: #23445c;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #f2dbdb;
  color: #a23232;
}
.cookie-btn.settings {
  background: #e8ecf2;
  color: #23445c;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #c8ece6;
  color: #277c71;
}

@media (max-width: 700px){
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 10px 18px 10px;
  }
  .cookie-actions {
    width: 100%;
    gap: 11px;
  }
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,68,92,0.45);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 18px;
  padding: 38px 26px 28px 26px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 8px 34px 0 rgba(39,124,113,0.13);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-title {
  font-family: "Roboto Slab",Georgia,serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 7px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 21px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 9px 7px;
  font-size: 1.01rem;
  border-bottom: 1px solid #f7fafb;
}
.cookie-toggle {
  margin-left: auto;
}
.cookie-toggle input[type="checkbox"] {
  width: 38px;
  height: 21px;
  appearance: none;
  background: #e8ecf2;
  border-radius: 15px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle input[type="checkbox"]:checked {
  background: #277c71;
}
.cookie-toggle input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 2px; left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 7px 0 rgba(35,68,92,0.09);
  transition: left 0.17s;
}
.cookie-toggle input[type="checkbox"]:checked::after {
  left: 19px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 6px;
}
/* Close modal btn */
.cookie-modal-close {
  position: absolute;
  right: 12px; top: 12px;
  width: 35px; height: 35px;
  background: none;
  color: #23445c;
  border: none;
  font-size: 1.6rem;
  border-radius: 9px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e8ecf2;
}


/* MICRO-INTERACTIONS & ANIMATIONS ===================== */
.card, .feature-item, .service-card, .blog-post-preview, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover, .feature-item:hover, .service-card:hover, .testimonial-card:hover, .blog-post-preview:hover {
  box-shadow: 0 10px 42px rgba(39,124,113,0.14);
  transform: translateY(-2px) scale(1.015);
}
.cta-btn, .service-cta-btn {
  transition: background 0.19s, color 0.19s, box-shadow 0.2s, transform 0.13s;
}
.cta-btn:active, .service-cta-btn:active {
  transform: scale(0.97);
}

/* SELECTION ------------------------ */
::selection {
  background: #277c71;
  color: #fff;
}

/* ACCESSIBILITY: Focus outlines for keyboard nav ----------- */
a:focus, button:focus, .service-cta-btn:focus, .cta-btn:focus {
  outline: 2px solid #277c71;
  outline-offset: 1.5px;
}

/* Hide scrollbars in mobile nav/modal -------------------- */
.mobile-menu, .cookie-modal {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  display: none;
}

/* Spacing Utility (last child margin resets) ------------- */
h1:last-child, h2:last-child, h3:last-child, p:last-child, .card:last-child, .feature-item:last-child, .service-card:last-child, .blog-post-preview:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}

/* Hide visually on mobile if not needed */
@media (max-width: 670px) {
  .footer-container, .header-container {
    gap: 7px !important;
  }
  .footer-nav, .footer-contact { font-size: 0.95rem; }
  .hero-section {padding-top: 15px; padding-bottom: 15px;}
}

/* END OF STYLE.CSS */
