/* 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F7F7F8;
  color: #212936;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: #1B263B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #428667;
  outline: none;
}

ul, ol {
  padding-left: 1.4em;
}

/* TYPOGRAPHY HIERARCHY ========================= */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 18px;
  color: #1B263B;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1B263B;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #212936;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
}
p, ul, ol {
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: 400;
  color: #212936;
}
strong {
  color: #1B263B;
  font-weight: 600;
}
.subtitle {
  font-size: 1.25rem;
  color: #428667;
  margin-bottom: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
}

/* SPACING & CONTAINERS ======================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FLEX LAYOUTS =============================== */
.feature-grid, .service-list, .technology-list, .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  justify-content: flex-start;
}
.service-list,
.technology-list,
.project-list {
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(27,38,59,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px;
  min-width: 260px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(27,38,59,0.13);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F7F8;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(27,38,59,0.06);
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #1B263B;
  min-height: 82px;
}
.testimonial-card p {
  font-style: italic;
  color: #212936;
  flex: 1 1 auto;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #428667;
  font-weight: 500;
  min-width: 120px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(27,38,59,0.06);
  padding: 32px 26px;
  flex: 1 1 210px;
  min-width: 210px;
  transition: box-shadow 0.18s;
}
.feature-item img {
  width: 42px;
  height: 42px;
}
.feature-item:hover {
  box-shadow: 0 8px 24px rgba(27,38,59,0.10);
}

.service-item,
.project-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(27,38,59,0.06);
  padding: 28px 20px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  min-width: 260px;
  transition: box-shadow 0.18s;
}
.service-item:hover,
.project-item:hover {
  box-shadow: 0 8px 20px rgba(27,38,59,0.12);
}

/* HERO SECTIONS ============================== */
.hero-section {
  background: linear-gradient(90deg, #E9ECF3 0%, #F7F7F8 100%);
  padding: 66px 0 46px 0;
  margin-bottom: 38px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
@media (max-width: 768px) {
  .hero-section {
    padding: 48px 0 28px 0;
  }
}

/* BUTTONS & CTA ============================== */
.cta-button {
  background: #428667;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  border: none;
  padding: 13px 32px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(27,38,59,0.09);
  cursor: pointer;
  display: inline-block;
  margin-top: 10px;
  letter-spacing: 0.02em;
  transition: background 0.16s, box-shadow 0.16s, transform 0.12s;
}
.cta-button:hover, .cta-button:focus {
  background: #1B263B;
  box-shadow: 0 6px 18px rgba(27,38,59,0.18);
  transform: translateY(-2px) scale(1.03);
  color: #fff;
  outline: none;
}

button, .mobile-menu-close, .mobile-menu-toggle {
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
}

/* HEADER & NAVIGATION ======================== */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(27,38,59,0.09);
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 24px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-start;
}
.main-nav a {
  color: #1B263B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  padding: 7px 11px;
  border-radius: 6px;
  transition: background 0.17s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E9ECF3;
  color: #428667;
}

header .cta-button {
  margin-left: 18px;
  padding: 9px 24px;
  font-size: 1.06rem;
}

/* MOBILE NAVIGATION ========================== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #1B263B;
  padding: 6px 14px;
  cursor: pointer;
  z-index: 30;
  transition: color 0.17s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #428667;
  color: #428667;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 310px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 22px rgba(27,38,59,0.18);
  z-index: 1000;
  transform: translateX(-105%);
  transition: transform 0.36s cubic-bezier(0.77,0.2,0.05,1.0);
  padding: 44px 28px 24px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.0rem;
  background: none;
  border: none;
  color: #1B263B;
  cursor: pointer;
  margin-bottom: 22px;
  padding: 0 6px;
}
.mobile-menu-close:focus {
  color: #428667;
  outline: 2px solid #428667;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #1B263B;
  font-size: 1.22rem;
  padding: 10px 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 5px;
  transition: background .15s, color 0.13s;
  margin-bottom: 3px;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E9ECF3;
  color: #428667;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 6px;
  }
  .main-nav a {
    font-size: 1rem;
    padding: 4px 7px;
  }
  header .cta-button {
    margin-left: 5px;
    padding: 8px 14px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  header .container {
    padding: 13px 10px;
  }
  .main-nav {
    display: none !important;
  }
  header .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* STRUCTURED SECTION DESIGN ================== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
ul, ol {
  margin-bottom: 0px; /* already set at p, handled by gap */
}

.map-snippet {
  margin-top: 10px;
  background: #E9ECF3;
  border-radius: 7px;
  padding: 13px 15px;
  font-size: 1rem;
  color: #1b263b;
}

/* FOOTER ====================================== */
footer {
  background: #E9ECF3;
  border-top: 3px solid #428667;
  padding: 36px 0 18px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-nav a {
  color: #212936;
  font-size: 1rem;
  padding: 0 5px;
  transition: color 0.13s;
  opacity: 0.88;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #428667;
  opacity: 1.0;
}
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #212936;
  line-height: 1.6;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}

/* ===== COOKIE CONSENT BANNER ================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #428667;
  box-shadow: 0 -2px 16px rgba(27,38,59,0.08);
  padding: 24px 25px 22px 25px;
  z-index: 2300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: transform 0.22s, opacity 0.22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  font-size: 1.02rem;
  color: #212936;
  margin: 0;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 20px;
  border-radius: 6px;
  border: none;
  font-size: 1.02rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.16s;
}
.cookie-btn.accept {
  background: #428667;
  color: #fff;
  box-shadow: 0 1px 5px rgba(27,38,59,.12);
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #1B263B;
  color: #fff;
}
.cookie-btn.settings {
  background: #E9ECF3;
  color: #1B263B;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #428667;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  border: 1.8px solid #428667;
  color: #428667;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #428667;
  color: #fff;
}

/* COOKIE MODAL =============================== */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(27,38,59,0.38);
  z-index: 2400;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal.show {
  display: flex;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 11px;
  min-width: 340px;
  max-width: 98vw;
  box-shadow: 0 7px 36px rgba(27,38,59,0.15);
  padding: 40px 29px 24px 29px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: flex-start;
  animation: slideDown 0.32s cubic-bezier(0.77,0.2,0.05,1.0);
}
@keyframes slideDown {
  0% { transform: translateY(-35px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1.07rem;
  color: #212936;
}
.cookie-category input[type=checkbox]:not(:disabled) {
  accent-color: #428667;
  width: 17px;
  height: 17px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 9px;
}
.cookie-modal-content h3 {
  font-size: 1.16rem;
  color: #428667;
  margin-bottom: 7px;
}
.cookie-modal .cookie-btn {
  font-size: 1.05rem;
  padding: 8px 22px;
}

/* RESPONSIVE: FLEX-DIRECTIONS, GAPS, LAYOUT ======*/
@media (max-width: 980px) {
  .container {
    max-width: 900px;
  }
  .footer-nav {
    gap: 11px;
  }
  .footer-contact ul {
    gap: 6px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .technology-list, .project-list {
    gap: 14px;
  }
  .footer-contact ul {
    gap: 3px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .card, .service-item, .project-item, .feature-item {
    min-width: 90vw;
    width: 100%;
    padding: 22px 9px;
    font-size: 0.98rem;
  }
  .feature-item img {
    width: 36px; height: 36px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 5px;
  }
  .footer-contact ul {
    gap: 3px;
  }
}
@media (max-width: 700px) {
  .feature-grid,
  .service-list,
  .technology-list,
  .project-list {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card, .card {
    flex-direction: column;
    gap: 9px;
  }
  .container {
    padding: 0 0px;
    max-width: 100vw;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 1.75rem;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }
  .hero-section, section {
    padding: 23px 0 18px 0;
    margin-bottom: 24px;
  }
  .feature-item, .service-item, .project-item, .card, .testimonial-card {
    padding: 13px 7px;
  }
  .cookie-modal-content {
    padding: 23px 6px 15px 10px;
    min-width: 0;
  }
}

/* INTERACTIVE & MICRO-ANIMATIONS ============ */
.card, .feature-item, .service-item, .project-item {
  transition: box-shadow 0.18s, transform 0.12s;
}
.card:hover, .feature-item:hover, .service-item:hover, .project-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 28px rgba(27,38,59,0.21);
  z-index: 2;
}
.cta-button, button, .cookie-btn {
  transition: background 0.14s, color 0.14s, transform 0.12s, box-shadow 0.21s;
}
.cta-button:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* SELECTIONS, ACCESSIBILITY & FOCUS STATES ==== */
:focus {
  outline: 2px solid #428667 !important;
  outline-offset: 2px;
}
::-webkit-selection {
  background: #c2e4d6;
}
::selection {
  background: #c2e4d6;
}

/* UTILITIES: Hide for mobile etc ============= */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* QOL: Remove empty anchor under logo if any */
header .container a[href="/"]:empty {
  display: none;
}

/* END OF CSS */