/* ===== 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, 
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 {
  background: linear-gradient(135deg, #F8F9FA 0%, #e3f7f5 100%);
  color: #263238;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #71C7B1; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #263238; }
ul, ol { margin-left: 24px; margin-bottom: 20px; }
li { margin-bottom: 6px; }

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

h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 12px;
  letter-spacing: 0px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
}
p { margin-bottom: 18px; }
strong { font-weight: 700; }

/* ===== CONTAINER & LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 32px;
}
.text-section {
  max-width: 750px;
  margin: 0 auto 32px auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* ===== SECTIONS & SPACING ===== */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== HERO SECTION (for index) ===== */
section:first-of-type {
  background: linear-gradient(105deg, #bffbd9 0%, #71c7b1 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 24px rgba(113,199,177,0.08), 0 1.5px 3px rgba(38,50,56,0.03);
  color: #263238;
}
section:first-of-type h1 {
  color: #263238;
}
section:first-of-type p {
  color: #263238;
}

/* ===== NAVIGATION & HEADER ===== */
header {
  width: 100%;
  padding: 0;
  background: #fff;
  box-shadow: 0 2px 16px -4px rgba(38,50,56,0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  min-height: 82px;
  position: relative;
}
header a img { height: 42px; }
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #263238;
  font-size: 1rem;
  position: relative;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #71C7B1;
  border-bottom: 2px solid #71C7B1;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #71C7B1 0%, #263238 100%);
  color: #fff!important;
  font-size: 1.06rem;
  font-weight: 700;
  padding: 13px 32px;
  border: none;
  border-radius: 26px;
  box-shadow: 0 2px 10px 0 rgba(113,199,177,0.12);
  cursor: pointer;
  transition: box-shadow 0.17s, background 0.18s, transform 0.18s;
  outline: none;
  text-align: center;
  margin-left: 20px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #263238 0%, #71C7B1 100%);
  box-shadow: 0 6px 32px rgba(113,199,177,0.20);
  transform: translateY(-2px) scale(1.04);
}

/* Hamburger Icon */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #263238;
  margin-left: 12px;
  cursor: pointer;
  z-index: 120;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 3px solid #71C7B1;
}

/* ===== MOBILE NAV MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffffee;
  backdrop-filter: blur(8px);
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(0.8,0.05,0.5,1.1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0px);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #263238;
  position: absolute;
  top: 22px;
  right: 26px;
  cursor: pointer;
  z-index: 250;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px;
  margin-top: 92px;
  margin-left: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  color: #263238;
  font-weight: 500;
  padding: 12px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #71C7B1;
  color: #fff;
  padding-left: 14px;
}

/* ===== FEATURES & CARDS ===== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.features-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px -4px rgba(38,50,56,0.06);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 230px;
  flex: 1 1 230px;
  max-width: 310px;
  transition: transform 0.13s, box-shadow 0.18s;
  margin-bottom: 20px;
}
.features-grid > div:hover {
  box-shadow: 0 12px 26px rgba(113,199,177,0.16);
  transform: translateY(-4px) scale(1.045);
}
.features-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
}
.features-grid h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #263238;
  margin-bottom: 7px;
}
.features-grid p {
  font-size: 1rem;
  color: #263238;
}

/* ===== General Cards (project-overview, lists) ===== */
.project-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.project-overview > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px -2px rgba(38,50,56,0.08);
  flex: 1 1 295px;
  min-width: 240px;
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}
.project-overview h3 { margin-bottom: 9px; }
.project-overview ul { margin-left: 22px; margin-bottom: 0; }

/* ===== TESTIMONIALS ===== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 10px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 26px 28px 20px 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 24px -10px rgba(38,50,56,0.13);
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 450px;
  flex: 1 1 260px;
  color: #263238;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.18s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 14px 48px -8px rgba(38,50,56,0.15);
  transform: translateY(-4px) scale(1.04);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #263238;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #263238;
}
.testimonial-info strong { font-weight: 700; }
.testimonial-info span { color: #71C7B1; font-size: 1.08em; }

/* Distinctive styling for testimonal cards for review page */
.testimonial-card:not(:last-child) { margin-right: 0; }

/* ===== CTA BUTTONS, LINKS ===== */
a.cta-btn, .cta-btn {
  text-decoration: none;
  outline: none;
}

/* ===== CONTACT INFO ===== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  font-size: 1rem;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  color: #263238;
}
.contact-info img { width: 21px; height: 21px; }

.contact-map {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  background: #e3f7f5;
  padding: 18px 16px;
  border-radius: 12px;
  color: #263238;
  font-size: 1rem;
}
.contact-map img { width: 18px; }

/* ===== TEXT-IMAGE SECTION ===== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* ===== CARD CONTAINER, CONTENT GRID ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(38,50,56,0.08);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== FEATURE ITEM ===== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(90deg,#e3f7f5 0%,#f8f9fa 100%);
  color: #263238;
  padding: 32px 0 18px 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -2px 10px -2px rgba(38,50,56,0.05);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #2a3e47;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 2px;
  border-radius: 6px;
  transition: background 0.14s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #71C7B1;
  color: #fff;
}
footer p {
  margin: 0;
  font-size: 0.98rem;
  opacity: .82;
}

/* ===== COOKIE CONSENT BANNER & MODAL ==== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #263238;
  color: #fff;
  padding: 20px 18px 20px 18px;
  box-shadow: 0 -8px 20px -8px rgba(38,50,56,0.16);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 8000;
  transition: transform 0.34s cubic-bezier(0.6,0.25,0.6,1);
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}
.cookie-consent-banner .cookie-message {
  font-size: 1rem;
  flex: 1 1 auto;
  margin-right: 10px;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #71C7B1;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  padding: 9px 20px;
  margin: 0;
  cursor: pointer;
  transition: background 0.12s, color 0.16s, transform 0.14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #263238;
  color: #71C7B1;
  outline: none;
  transform: scale(1.04);
}
.cookie-btn.reject {
  background: #f8f9fa;
  color: #263238;
  border: 1px solid #b7d6ca;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #cceee1;
  color: #263238;
}
.cookie-btn.settings {
  background: none;
  color: #71C7B1;
  border: 1px solid #71C7B1;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #71C7B1;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,50,56,0.28);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #263238;
  border-radius: 18px;
  max-width: 380px;
  width: 96vw;
  padding: 30px 22px 18px 22px;
  box-shadow: 0 6px 34px -4px rgba(38,50,56,0.21);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9100;
  animation: fadeInModal 0.47s cubic-bezier(0.7,0.2,0.5,1);
}
@keyframes fadeInModal {
  from {transform: translateY(80px) scale(0.93); opacity: 0; }
  to   {transform: none; opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.29rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 12px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 9px;
  font-size: 1rem;
}
.cookie-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: #cceee1;
  border-radius: 18px;
  margin-left: 8px;
  transition: background 0.18s;
  flex-shrink: 0;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s, background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  transform: translateX(22px);
  background: #71C7B1;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 18px;
}

.cookie-modal .cookie-btn {
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 14px;
  box-shadow: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .container { max-width: 970px; }
  .features-grid { gap: 18px; }
  .project-overview { gap: 16px; }
}
@media (max-width: 992px) {
  .container { max-width: 83vw; }
  section, .section { padding: 32px 0; }
  .footer-nav { gap: 12px; }
  .features-grid > div,
  .project-overview > div {
    max-width: 80vw;
    min-width: min(250px, 83vw);
  }
}
@media (max-width: 850px) {
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  .main-nav { gap: 13px; }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; padding: 0 8px; }
  section, .section { padding: 28px 0; }
  h1, .h1 { font-size: 2.1rem; }
  h2, .h2 { font-size: 1.32rem; }
  .main-nav { display: none; }
  .cta-btn { margin-left: 0; margin-top: 10px; }
  .mobile-menu-toggle { display: block; }
  .features-grid, .project-overview {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
  }
  .features-grid > div,
  .project-overview > div {
    min-width: unset;
    width: 96vw;
    max-width: 99vw;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    min-width: unset;
    width: 96vw;
    max-width: 99vw;
    padding: 22px 10px 18px 14px;
  }
  .content-wrapper {
    margin-bottom: 20px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 9px;
    align-items: center;
    margin-bottom: 12px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 7px;
    font-size: 0.97rem;
  }
  .cookie-consent-banner .cookie-message { margin-right: 0; }
}
@media (max-width: 540px) {
  h1, .h1 { font-size: 1.28rem; }
  h2, .h2 { font-size: 1rem; }
  .features-grid > div,
  .project-overview > div,
  .testimonial-card {
      padding: 12px 7px;
  }
  section, .section { padding: 14px 0; }
  .cookie-modal { padding: 18px 7px 8px 7px; }
}

/* ===== UTILITIES ===== */
.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 24px; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
.rounded { border-radius: 20px !important; }
.shadow { box-shadow: 0 4px 22px -4px rgba(38,50,56,0.14); }

/* ===== FORM ELEMENTS, INPUTS ===== */
input, textarea, select {
  border: 1px solid #b7d6ca;
  border-radius: 8px;
  padding: 11px 9px;
  font-size: 1rem;
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 14px;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #71C7B1;
  border-color: #71C7B1;
}
label { font-size: 1rem; margin-bottom: 7px; display: block; }
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

/* ===== VISUAL HIERARCHY ===== */
hr {
  border: 0;
  height: 1px;
  background: #b7d6ca;
  margin: 24px 0;
}

/* ===== ACCESSIBILITY/INTERACTIONS ===== */
:focus { outline-color: #71C7B1; outline-width: 2px; outline-style: auto; }
a:focus-visible { outline: 2px solid #71C7B1; }

/* ===== ANIMATIONS ===== */
a, .cta-btn, .cookie-btn, .features-grid > div, .testimonial-card {
  transition: box-shadow 0.17s, color 0.15s, background 0.14s, transform 0.15s;
}

/* ===== PRINT ===== */
@media print {  .cookie-consent-banner, .cookie-modal-overlay, .mobile-menu { display:none !important; } }
