/* 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 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #123257;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #123257;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #123257;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7BC6B7;
}
ul, ol {
  margin: 0 0 16px 24px;
  padding: 0;
}
li {
  margin-bottom: 12px;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
*, *:before, *:after {
  box-sizing: inherit;
}
strong, b {
  font-weight: 700;
}
hr { border: 0; border-top: 1px solid #EAEAEA; margin: 32px 0; }

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #123257;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.2;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, blockquote {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #233555;
}
blockquote {
  font-style: italic;
  color: #123257;
  border-left: 4px solid #7BC6B7;
  padding-left: 16px;
  margin-bottom: 24px;
  background: #F2E8DF;
  border-radius: 6px;
}
.subheadline {
  color: #627188;
  font-weight: 400;
  margin-bottom: 16px;
}

/* CONTAINER STRUCTURE */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(18,50,87,0.03);
}
.cta-banner {
  background: #F2E8DF;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(18,50,87,0.04);
  margin-bottom: 0;
  padding: 60px 0px;
}

/* HEADER STYLES */
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  box-shadow: 0 1px 12px rgba(18,50,87,0.04);
  padding: 18px 32px;
  position: relative;
  z-index: 1001;
}
header a img {
  width: 135px;
  height: auto;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 4px 10px;
  border-radius: 4px;
  color: #123257;
  transition: background 0.18s;
}
nav a:hover, nav a:focus {
  background: #F2E8DF;
  color: #7BC6B7;
}
.btn-primary, .btn-secondary {
  display: inline-block;
  background: #123257;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(18,50,87,0.05);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  text-align: center;
  margin: 0;
}
.btn-primary:hover, .btn-primary:focus {
  background: #7BC6B7;
  color: #123257;
  box-shadow: 0 4px 24px rgba(123,198,183,0.13);
}
.btn-secondary {
  background: #fff;
  color: #123257;
  border: 2px solid #123257;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #123257;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: #F2E8DF;
  color: #123257;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  transition: background 0.18s;
  margin-left: 18px;
  z-index: 1002;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #7BC6B7;
  color: #fff;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,50,87,0.95);
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 0 0 0;
  transition: transform 0.3s ease, opacity 0.3s;
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  margin: 0 32px 8px 0;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #7BC6B7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: center;
  margin-top: 30px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  width: 100%;
  text-align: center;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  min-height: 44px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7BC6B7;
  color: #123257;
}

/* HERO */
.hero {
  background: #fff;
  padding: 72px 0 64px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
  gap: 18px;
}

/* FEATURES / TEAM / CONTENT GRIDS */
.feature-grid, .team-grid, .testimonial-grid, .blog-post-summaries {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 24px;
}
.feature-grid > div, .team-grid > div, .blog-post-summaries > article {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(18,50,87,0.03);
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  min-width: 210px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.feature-grid > div:hover, .team-grid > div:hover, .blog-post-summaries > article:hover {
  box-shadow: 0 8px 32px rgba(18,50,87,0.07);
  transform: translateY(-5px) scale(1.02);
}
.team-grid > div {
  background: #F2E8DF;
}

/* SECTION AND CARD GAPS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(18,50,87,0.04);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 270px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(123,198,183,0.07);
  transform: translateY(-3px) scale(1.01);
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 18px rgba(18,50,87,0.04);
  margin-bottom: 20px;
  min-width: 220px;
  width: 100%;
  max-width: 370px;
  border-left: 4px solid #7BC6B7;
  color: #233555;
  transition: box-shadow 0.16s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(123,198,183,0.1);
  border-left-color: #123257;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #233555;
  margin: 0 0 6px 0;
  line-height: 1.55;
}
.testimonial-card span {
  color: #7BC6B7;
  font-style: italic;
  font-size: 0.98rem;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BLOG / PROJECT LISTS */
.category-filters {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  font-size: 1rem;
}
.category-filters span {
  cursor: pointer;
  color: #123257;
  background: #F2E8DF;
  border-radius: 6px;
  padding: 6px 22px;
  transition: background 0.14s, color 0.14s;
}
.category-filters span:hover, .category-filters span.active {
  background: #7BC6B7;
  color: #fff;
}
.project-list, .service-list, .service-overview-list, .faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.project-list li, .service-list li, .service-overview-list li, .faq-list li {
  background: #fff;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 9px rgba(18,50,87,0.04);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  color: #233555;
}
.tag {
  background: #7BC6B7;
  color: #fff;
  font-size: 0.88rem;
  border-radius: 4px;
  padding: 2px 10px;
  margin-left: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.client-logos {
  display: flex;
  gap: 38px;
  justify-content: flex-start;
  align-items: center;
  margin: 34px 0 0 0;
}
.client-logos img {
  height: 44px;
  width: auto;
  filter: grayscale(95%);
  opacity: 0.90;
  transition: opacity 0.2s;
}
.client-logos img:hover {
  opacity: 1;
  filter: none;
}

/* PROCESS STEPS */
.process-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.process-steps li {
  background: #F2E8DF;
  border-radius: 12px;
  padding: 20px 30px;
  box-shadow: 0 2px 9px rgba(18,50,87,0.04);
  min-width: 190px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #233555;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* MAP INFO & CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
  color: #123257;
  margin-bottom: 22px;
}
.contact-details img {
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.map-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #7BC6B7;
  font-weight: 600;
}
.map-info img {
  width: 24px;
}

/* FOOTER */
footer {
  background: #F2E8DF;
  padding: 48px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 60px;
  border-radius: 20px 20px 0 0;
}
footer a img {
  width: 54px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.footer-nav a {
  color: #123257;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #7BC6B7;
  color: #fff;
}
.contact-details a {
  color: #123257;
  font-weight: 600;
}
.contact-details a:hover {
  text-decoration: underline;
}
footer small {
  color: #627188;
  font-size: 0.97rem;
}

/* FAQ LIST */
.faq-list strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #123257;
  margin-bottom: 3px;
  display: block;
}
.faq-list p {
  color: #233555;
  margin-bottom: 0;
  font-size: 0.99rem;
}

/* Special - Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(18,50,87,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 30px 16px 24px 16px;
  z-index: 5000;
  animation: slideUp 0.44s cubic-bezier(.56,.27,.37,1.38);
}
@keyframes slideUp {
  from {
    transform: translateY(60px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-banner p {
  color: #123257;
  font-size: 1rem;
  margin-bottom: 0;
  text-align: center;
}
.cookie-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.cookie-btn {
  background: #123257;
  color: #fff;
  border-radius: 6px;
  padding: 9px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  min-width: 120px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  margin: 0 5px;
}
.cookie-btn.secondary {
  background: #7BC6B7;
  color: #fff;
}
.cookie-btn.light {
  background: #fff;
  color: #123257;
  border: 1.5px solid #123257;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #7BC6B7;
  color: #123257;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #123257;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,50,87,0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5100;
  opacity: 1;
  transition: opacity 0.25s;
  animation: fadeIn 0.18s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  padding: 32px 24px 24px 24px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 6px 48px rgba(18,50,87,0.10);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scaleIn 0.26s cubic-bezier(.57,.26,.38,1.28);
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: #123257;
  margin-bottom: 6px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #EAEAEA;
}
.cookie-modal .category:last-child {
  border-bottom: none;
}
.cookie-modal .category label {
  flex: 1;
  font-size: 1rem;
  color: #233555;
}
.cookie-switch {
  width: 46px;
  height: 26px;
  background: #EAEAEA;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-switch[data-enabled="true"] {
  background: #7BC6B7;
}
.cookie-switch .slider {
  position: absolute;
  top: 2.5px; left: 2.5px;
  width: 21px;
  height: 21px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
}
.cookie-switch[data-enabled="true"] .slider {
  left: 22px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal-close {
  align-self: flex-end;
  background: none;
  color: #123257;
  font-size: 1.65rem;
  border: none;
  margin-bottom: 12px;
  transition: color 0.18s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: #7BC6B7;
}

/* Animations for microinteractions */
a, .btn-primary, .btn-secondary, .category-filters span, .cookie-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    max-width: 97vw;
    padding: 0 12px;
  }
  header {
    padding: 14px 8px;
  }
  .cta-banner {
    padding: 44px 0px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .team-grid, .testimonial-grid, .blog-post-summaries {
    gap: 16px;
  }
  .process-steps {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 6px;
  }
  header {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px 3px;
  }
  nav {
    display: none !important;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-banner,
  .section {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
  .hero {
    padding: 40px 0 24px 0;
  }
  .content-wrapper, .feature-grid, .team-grid, .testimonial-grid, .blog-post-summaries, .client-logos {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
  .testimonial-card,
  .feature-grid > div, .team-grid > div, .blog-post-summaries > article {
    min-width: 94vw;
    max-width: 98vw;
    border-radius: 8px;
    padding: 18px 8px;
  }
  .map-info {
    font-size: 0.98rem;
  }
  .client-logos {
    gap: 18px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 5px;
  }
  footer {
    border-radius: 16px 16px 0 0;
    gap: 18px;
    padding: 24px 4px 16px 4px;
    font-size: 0.95rem;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.09rem; }
  .btn-primary, .btn-secondary, .cookie-btn {
    padding: 10px 9vw;
    font-size: 0.97rem;
  }
  .cookie-modal {
    min-width: 94vw;
    padding: 24px 6px 18px 8px;
  }
}

/* UTILITIES AND EXTRAS */
::-webkit-input-placeholder { color: #B5BAC5; opacity: 1;}
::-moz-placeholder { color: #B5BAC5; opacity: 1;}
:-ms-input-placeholder { color: #B5BAC5; opacity: 1;}
::placeholder { color: #B5BAC5; opacity: 1;}

/* Hide scrollbars on mobile menu overlay */
.mobile-menu {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-y: auto;
}
.mobile-menu::-webkit-scrollbar {
  display: none;
}

/* Z-INDEX stack for overlays */
header,
.mobile-menu,
.cookie-banner,
.cookie-modal-backdrop {
  z-index: 1000;
}
.cookie-banner { z-index: 5000; }
.cookie-modal-backdrop { z-index: 5100; }

/* Print Styles */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  main { padding: 8px 0; }
  body { background: #fff !important; color: #111 !important; }
}

/* Endaunenf Studio – Minimalist Brand CSS, Mobile-First Flexbox, NO Grid, Only Flex */
