/* === CSS RESET & BASELINE === */
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, menu, 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, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #232323;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after { box-sizing: inherit; }

/* === BRAND VARIABLES === */
:root {
  --color-primary: #29513D;
  --color-secondary: #6BA268;
  --color-accent: #EAEAEA;
  --color-electric-blue: #13A7F6;
  --color-electric-lime: #92FF45;
  --color-electric-yellow: #FFF100;
  --color-electric-pink: #FF2D7A;
  --color-bg-cta: #13A7F6;
  --color-bg-card: #ffffff;
  --color-bg-section: #F6FFF7;
  --color-divider: #E4F0E7;
  --color-text-base: #222;
  --color-text-subtle: #577257;
  --color-white: #fff;
  --color-black: #181818;
  --shadow1: 0 2px 18px 0 rgba(41,81,61,0.09);
  --shadow2: 0 4px 32px 0 rgba(19,167,246,0.12);
  --font-display: 'Montserrat', 'Segoe UI', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  color: var(--color-electric-blue);
  font-size: 2.5rem;
  line-height: 1.15;
  text-shadow: 0 3px 28px rgba(19,167,246,0.16);
}
h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  color: var(--color-electric-lime);
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  color: var(--color-primary);
}
p, ul, ol {
  font-size: 1rem;
  color: var(--color-text-base);
  margin-bottom: 16px;
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* === LINKS & BUTTONS === */
a {
  color: var(--color-electric-blue);
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.76,0,.24,1);
}
a:hover, a:focus {
  color: var(--color-electric-pink);
  text-decoration: underline;
}

.cta,
button,
input[type="submit"] {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(90deg, var(--color-electric-blue) 70%, var(--color-electric-lime) 100%);
  border: none;
  border-radius: 36px;
  padding: 14px 36px;
  font-size: 1.2rem;
  box-shadow: var(--shadow2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.01em;
  margin-top: 12px;
  margin-bottom: 12px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.17s;
  outline: none;
}

.cta.primary {
  background: linear-gradient(100deg, var(--color-electric-blue) 85%, var(--color-electric-yellow) 100%);
  color: var(--color-black);
  box-shadow: 0 6px 20px 0 rgba(146,255,69,0.13), 0 2px 20px 0 rgba(19,167,246,0.15);
}

.cta:hover, .cta:focus,
button:hover, button:focus {
  background: linear-gradient(95deg, var(--color-electric-pink) 70%, var(--color-electric-lime) 110%);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 28px 0 rgba(255,45,122,0.13), 0 1px 16px 0 rgba(19,167,246,0.13);
}

/* === CONTAINER STRUCTURE === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  max-width: 760px;
  margin: 0 auto;
  background: transparent;
}

/* === SECTION SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: var(--color-bg-section);
  border-bottom: 1px solid var(--color-divider);
}
section:last-child {
  margin-bottom: 0;
}

/* === LISTS & FEATURE LISTS === */
ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
  line-height: 1.7;
}
ul li, ol li {
  margin-bottom: 12px;
  padding-left: 0;
}
ul li img, ul li svg {
  margin-right: 10px;
  vertical-align: middle;
}

/* === FLEXBOX UTILITY PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--color-bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow1);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 340px;
  min-width: 270px;
  max-width: 100%;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.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: 14px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  border: 2px solid var(--color-electric-blue);
  box-shadow: 0 2px 16px 0 rgba(41,81,61,0.05);
  margin-bottom: 24px;
  max-width: 440px;
  min-width: 260px;
  color: #202f1c; /* dark text for contrast */
  font-size: 1.1rem;
  transition: box-shadow 0.15s;
}

.testimonial-card:hover {
  box-shadow: 0 6px 30px 0 rgba(19,167,246,0.14);
  border-color: var(--color-electric-lime);
  transform: translateY(-3px);
}

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

/* === HERO / BANNERS === */
section:first-of-type {
  background: linear-gradient(96deg, var(--color-electric-blue) 0%, var(--color-primary) 91%);
  color: var(--color-white);
  border-bottom: none;
  padding: 44px 0 44px 0;
}
section:first-of-type h1,
section:first-of-type h2, section:first-of-type p {
  color: #fff;
  text-shadow: 0 2px 16px rgba(19,167,246,0.14);
}

/* === CARDS & SPECIAL BLOCKS === */
.service-card, .project-card, .article-teaser {
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow1);
  padding: 28px 22px;
  margin-bottom: 24px;
  position: relative;
  transition: box-shadow 0.18s, border 0.13s, transform 0.16s;
  min-width: 260px;
  flex: 1 1 320px;
  border: 2px solid transparent;
}
.service-card:hover, .project-card:hover, .article-teaser:hover {
  box-shadow: 0 6px 32px 0 rgba(19,167,246,0.13);
  border-color: var(--color-electric-blue);
  transform: translateY(-2px) scale(1.03);
}

.article-teaser h3 {
  color: var(--color-electric-pink);
}
.article-teaser a {
  font-weight: 700;
  color: var(--color-electric-blue);
  display: inline-block;
  margin-top: 12px;
  transition: color 0.16s;
}
.article-teaser a:hover {
  color: var(--color-electric-pink);
}

.newsletter-signup {
  background: var(--color-accent);
  border-radius: 14px;
  padding: 18px 18px 14px 18px;
  margin-top: 18px;
  margin-bottom: 14px;
}

/* === FOOTER === */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 50px 0 20px 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  flex: 2 1 270px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.footer-brand img {
  width: 135px;
  height: auto;
}
.footer-nav {
  flex: 1 1 170px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: #d8fff2;
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1.07rem;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: var(--color-electric-lime);
}
.footer-contact {
  flex: 2 1 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  color: #fff;
}
.footer-contact a { color: #fff; text-decoration: underline; }
.footer-contact a:hover { color: var(--color-electric-yellow); }
.footer-social {
  flex: 1 1 120px;
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}
.footer-social img {
  width: 28px;
  height: 28px;
  transition: filter 0.15s, opacity 0.14s;
  filter: brightness(1.3);
}
.footer-social a:hover img {
  opacity: 0.7;
  filter: drop-shadow(0 4px 8px var(--color-electric-blue));
}

/* === NAVIGATION === */
header {
  background: var(--color-white);
  box-shadow: 0 4px 28px 0 rgba(19,167,246,0.06);
  position: relative;
  z-index: 10;
  border-bottom: 2px solid var(--color-accent);
}
header .container {
  min-height: 86px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 34px;
  justify-content: space-between;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-family: var(--font-display);
}
header nav a {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  border-radius: 8px;
  padding: 6px 12px;
  transition: background 0.14s, color 0.14s;
}
header nav a:hover, header nav a.active {
  background: var(--color-electric-lime);
  color: var(--color-black);
}
header .cta.primary {
  margin-left: 26px;
}
header img {
  width: 140px;
  height: auto;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: var(--color-electric-blue);
  color: var(--color-white);
  font-size: 2.1rem;
  border: none;
  border-radius: 14px;
  padding: 6px 16px 2px 16px;
  z-index: 1002;
  transition: background 0.19s, color 0.19s, transform 0.2s;
  margin-left: 14px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-electric-pink);
  color: var(--color-white);
  transform: scale(1.08);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #053c20;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1200;
  transform: translateX(-105vw);
  transition: transform 0.32s cubic-bezier(.61,.07,.28,.93), box-shadow 0.17s;
  box-shadow: 0 8px 42px 0 rgba(19,167,246,0.23);
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-electric-yellow);
  border: none;
  font-size: 2.3rem;
  position: absolute;
  top: 24px;
  right: 32px;
  cursor: pointer;
  z-index: 1202;
  transition: color 0.15s;
  outline: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-electric-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 90px;
  padding: 0 36px 36px 36px;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-white);
  font-size: 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 10px;
  background: none;
  transition: background 0.15s, color 0.13s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--color-electric-pink);
  color: var(--color-white);
}

/* --- HIDE main nav, SHOW burger (mobile) --- */
@media (max-width: 990px) {
  header nav, header .cta.primary { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 991px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* === LAYOUT RESPONSIVENESS === */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
  footer .container {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  section, .card, .service-card, .project-card, .testimonial-card {
    padding: 19px 10px;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 { font-size: 1.35rem; }
  .testimonials, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch;
  }
  .content-wrapper {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px !important;
    align-items: stretch !important;
  }
  footer .container {
    flex-direction: column;
    gap: 21px;
  }
}
@media (max-width: 600px) {
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  section {
    padding: 23px 0 20px 0;
  }
}

/* === SPACING, GAPS & CARD PATTERNS (per requirements) === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === CTA BANNER === */
section:last-of-type .content-wrapper {
  align-items: center;
}
section:last-of-type {
  background: linear-gradient(93deg, var(--color-electric-yellow) 60%, var(--color-electric-lime) 97%);
  color: var(--color-black);
  border-bottom: none;
  margin-bottom: 0;
}
section:last-of-type h2 { color: var(--color-electric-blue); }

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-electric-blue);
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 16px 22px 30px;
  box-shadow: 0 -10px 40px 0 rgba(19,167,246,0.19);
  font-family: var(--font-body);
  font-size: 1.07rem;
  animation: cookieBannerIn 0.42s cubic-bezier(.61,.07,.28,.93);
}
@keyframes cookieBannerIn {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 28px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.13s, color 0.12s;
}
.cookie-banner .accept {
  background: linear-gradient(100deg, var(--color-electric-lime) 75%, var(--color-electric-yellow) 100%);
  color: var(--color-black);
}
.cookie-banner .reject {
  background: var(--color-electric-pink);
  color: #fff;
}
.cookie-banner .settings {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(0.96) contrast(1.09);
  outline: none;
}

/* === COOKIE CONSENT MODAL === */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25,58,61,0.54);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalBackIn 0.2s;
}
@keyframes cookieModalBackIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 8px 48px 0 rgba(19,167,246,0.19);
  max-width: 410px;
  width: 85vw;
  padding: 32px 26px 26px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 21px;
  z-index: 3200;
  animation: cookieModalIn 0.34s cubic-bezier(.79,.31,.26,1);
}
@keyframes cookieModalIn {
  from { transform: translateY(36px) scale(.96); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.37rem;
  margin-bottom: 4px;
  color: var(--color-primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
}
.cookie-category input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-electric-blue);
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 19px;
  font-size: 1.68rem;
  background: none;
  border: none;
  color: var(--color-electric-blue);
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 10px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-accent);
  color: var(--color-electric-pink);
}
.cookie-modal .actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .actions button {
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 27px;
  font-size: 1rem;
  padding: 9px 22px;
  border: 1px solid var(--color-electric-blue);
  background: var(--color-electric-blue);
  color: #fff;
  transition: background 0.12s, color 0.12s;
}
.cookie-modal .actions button.cancel {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.cookie-modal .actions button:hover {
  filter: brightness(0.96);
}
.cookie-category.disabled {
  opacity: 0.5;
}

/* === ELEMENTS & UTILITY === */
hr {
  border: none;
  border-top: 1.5px solid var(--color-accent);
  margin: 18px 0;
}
::-webkit-scrollbar {
  width: 9px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-electric-blue);
  border-radius: 30px;
}

/* === MICRO-ANIMATIONS === */
.card, .service-card, .project-card, .testimonial-card, .article-teaser {
  transition: transform 0.16s, box-shadow 0.14s, border 0.13s;
}
.card:hover, .service-card:hover, .project-card:hover, .article-teaser:hover, .testimonial-card:focus {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px 0 rgba(19,167,246,0.11);
}

/* ==== OVERRIDES for MARGIN between CARDS/SECTIONS ==== */
.card, .service-card, .project-card, .testimonial-card, .feature-item, .article-teaser {
  margin-bottom: 20px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}
section > .container > *:not(:last-child) {
  margin-bottom: 20px;
}

/* === SELECTION === */
::selection {
  background: var(--color-electric-blue);
  color: #fff;
}

/* === ERROR/INFO/SUCCESS (if needed) === */
.info, .alert, .success {
  border-radius: 9px;
  padding: 11px 16px;
  margin: 14px 0;
  font-size: 1rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 10px;
}
.info { background: #e6f2ff; color: var(--color-electric-blue); }
.alert { background: #ffe6e6; color: var(--color-electric-pink); }
.success { background: #eaffed; color: var(--color-electric-lime); }
footer p, footer strong {
  color: #E4F0E7;
}
.testimonial-wrapper {
    display: flex;
    gap: 20px;
}
/*
  --- END OF STYLES ---
  - All flex layouts, no grid/columns properties used!
  - No absolute positioning of content elements (only for modal decor/button in modals)
  - All spacing, flex gap, and responsive alignment per spec
  - Responsive, animated, energetic color scheme
  - Mobile menu & cookie banner ready
*/
