/* ==========================================================================
   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, 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 {
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F3F3ED;
  color: #222;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #29553F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #0BCB8B;
  outline: none;
}
ul, ol {
  margin-left: 24px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #222;
}
h1 {
  font-size: 2.6rem;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  letter-spacing: 0;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* Container: Brand style, max width and spacing */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==========================================================================
   BRAND COLORS & VIBRANT EXTENSIONS
   ==========================================================================
*/
:root {
  --color-primary: #29553F;
  --color-secondary: #8FB38F;
  --color-accent: #F3F3ED;
  --color-electric-1: #0BCB8B;
  --color-electric-2: #FFC940;
  --color-electric-3: #FF4060;
  --color-electric-4: #209CFB;
  --color-dark: #1A1A1A;
  --shadow-1: 0 3px 16px rgba(50,70,50,0.10), 0 1.5px 6px rgba(15,15,20,0.06);
  --shadow-hover: 0 6px 24px rgba(11,203,139,0.13), 0 4px 40px 0px rgba(255,192,64, 0.08);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ==========================================================================
*/
header {
  width: 100%;
  background: #fff;
  box-shadow: var(--shadow-1);
  z-index: 30;
  position: relative;
}
header .container {
  min-height: 68px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--color-primary);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-electric-2);
  color: #1A1A1A;
}
.cta-btn {
  background: linear-gradient(90deg, var(--color-electric-1), var(--color-electric-2));
  color: #1A1A1A;
  padding: 12px 30px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1px;
  border: none;
  box-shadow: var(--shadow-1);
  transition: background 0.3s, box-shadow 0.4s, color 0.2s, transform 0.13s;
  cursor: pointer;
  outline: none;
  margin-left: 18px;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--color-electric-3), var(--color-electric-4));
  color: #fff;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.045);
}

/* Hide mobile navigation by default, show hamburger icon on mobile */
.mobile-menu-toggle {
  display: none;
  background: var(--color-electric-1);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  z-index: 70;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(11,203,139,0.10);
  transition: background 0.15s, box-shadow 0.2s, color 0.2s;
  position: absolute;
  top: 10px;
  right: 20px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-electric-2);
  color: #1A1A1A;
}

/* MOBILE SLIDE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  box-shadow: 0 12px 24px rgba(41,85,63,0.10);
  transform: translateX(-120%);
  transition: transform 0.4s cubic-bezier(.69,-0.21,.54,.93);
  padding: 24px 28px 0 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  margin-bottom: 16px;
  transition: color 0.25s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-electric-1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-dark);
  padding: 10px 0 10px 0;
  border-radius: 8px;
  background: none;
  width: 100%;
  display: block;
  transition: background 0.18s, color 0.18s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-electric-2);
  color: var(--color-electric-3);
}

/* ==========================================================================
   HERO SECTION & HEADERS (vibrant energetic style)
   ==========================================================================
*/
.hero {
  background: linear-gradient(110deg, var(--color-electric-1) 0%, var(--color-electric-2) 80%, var(--color-accent) 100%);
  display: flex;
  align-items: center;
  min-height: 350px;
  margin-bottom: 60px;
  border-radius: 0 0 28px 28px;
  box-shadow: var(--shadow-1);
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 40px 0 36px 0;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 3px 16px rgba(20,60,25, 0.13);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -2px;
}
.hero .subheadline {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #29553F;
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 10px;
  max-width: 600px;
}

/* ==========================================================================
   FEATURES, CARDS, DYNAMIC LAYOUTS
   ==========================================================================
*/
.features, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.feature-grid {
  flex-direction: row;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  box-shadow: var(--shadow-1);
  border-radius: 22px;
  padding: 28px 24px 24px 24px;
  min-width: 210px;
  max-width: 320px;
  transition: box-shadow 0.25s, transform 0.17s;
  margin-bottom: 20px;
  border: 3px solid var(--color-electric-1);
  position: relative;
}
.feature-item img {
  height: 48px;
  width: 48px;
}
.feature-item h3 {
  color: var(--color-electric-1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 900;
}
.feature-item p {
  color: var(--color-primary);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.02);
  border-color: var(--color-electric-2);
}

/* ==========================================================================
   GENERAL CARD CONTAINERS & SPACING
   ==========================================================================
*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  padding: 20px 24px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: scale(1.025);
}

.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;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================================
   TESTIMONIALS, CASE STUDIES, QUOTES
   ==========================================================================
*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-1);
  background: #fff;
  color: #1A1A1A;
  max-width: 700px;
  font-size: 1.12rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-left: 6px solid var(--color-electric-1);
  transition: border 0.18s, box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-left: 6px solid var(--color-electric-2);
  box-shadow: var(--shadow-hover);
}
.testimonial-card p {
  color: #1A1A1A;
  margin-bottom: 0;
  flex: 1 1 80%;
}
.testimonial-card span {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.01rem;
  flex: 1 1 20%;
}
/* Case Study Sections */
.case-study-summaries {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.case-study {
  background: #fff;
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: var(--shadow-1);
  margin-bottom: 20px;
  flex: 1 1 320px;
}
.case-study h3 {
  color: var(--color-electric-4);
  font-size: 1.3rem;
  font-weight: 800;
}
.case-study p {
  color: var(--color-primary);
}

/* ==========================================================================
   PROJECT, BLOG, LIST COMPONENTS
   ==========================================================================
*/
.project-list ul, .blog-list ul, .top-posts ul {
  list-style: disc inside;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-1);
  padding: 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.project-list ul li, .blog-list ul li, .top-posts ul li {
  color: var(--color-dark);
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

.project-filters, .categories {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 0 0;
}
.project-filters span, .categories span {
  font-weight: 700;
  color: var(--color-primary);
}
.project-filters button, .categories button {
  padding: 7px 18px;
  border-radius: 12px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: var(--color-electric-2);
  color: #222;
  transition: background 0.18s, color 0.17s, box-shadow 0.14s;
  cursor: pointer;
  box-shadow: 0 0.5px 3px rgba(41,85,63,0.08);
}
.project-filters button:hover, .project-filters button:focus,
.categories button:hover, .categories button:focus {
  background: var(--color-electric-4);
  color: #fff;
  box-shadow: 0 2px 12px var(--color-electric-4, #209CFB, 0.12);
}

/* ==========================================================================
   GENERIC LISTS
   ==========================================================================
*/
ul, ol {
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  line-height: 1.6;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* ==========================================================================
   NEWSLETTER, READ MORE LINKS
   ==========================================================================
*/
.read-more-link {
  color: var(--color-electric-3);
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.15s;
}
.read-more-link:hover, .read-more-link:focus {
  color: var(--color-electric-1);
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ==========================================================================
*/
footer {
  background: #29553F;
  padding: 40px 0 20px 0;
  color: #fff;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 3px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--color-electric-2);
  color: var(--color-primary);
}
.footer-contact {
  display: flex;
  gap: 8px;
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #fff;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.22);
  margin-top: 12px;
}
.footer-branding img {
  height: 38px;
  width: auto;
}

/* ==========================================================================
   COOKIE CONSENT BANNER & MODAL
   ==========================================================================
*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 9999;
  background: linear-gradient(90deg, var(--color-primary), var(--color-electric-2));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  box-shadow: 0 -2px 20px rgba(41,85,63,0.13);
  font-size: 1.08rem;
  gap: 16px;
  animation: slideup-bounce 0.5s cubic-bezier(.44,1.63,.46,.96);
}
@keyframes slideup-bounce {
  0% { transform: translateY(100%); opacity: 0; }
  90% { transform: translateY(-6%); opacity: 0.98; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-modal button {
  min-width: 110px;
  padding: 10px 18px;
  border-radius: 14px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s, color 0.17s;
  margin-left: 4px;
  box-shadow: 0 0.5px 3px rgba(41,85,63,0.07);
}
.cookie-banner .accept-btn {
  background: var(--color-electric-1);
  color: #fff;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: var(--color-electric-4);
  color: #fff;
}
.cookie-banner .reject-btn {
  background: var(--color-electric-3);
  color: #fff;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #fff;
  color: var(--color-electric-3);
}
.cookie-banner .settings-btn {
  background: var(--color-electric-2);
  color: #1A1A1A;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: var(--color-primary);
  color: #fff;
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(29, 38, 43, 0.6);
  z-index: 10001;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10002;
  transform: translate(-50%, -50%);
  width: 94vw;
  max-width: 420px;
  min-width: 250px;
  background: #fff;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-radius: 22px;
  padding: 30px 28px;
  box-shadow: 0 12px 32px rgba(29, 38, 43, 0.25);
  animation: drop-in 0.36s cubic-bezier(.88,-0.21,.65,1.2);
}
@keyframes drop-in {
  0% { transform: translate(-50%, -70%) scale(.97); opacity: 0; }
  85% { transform: translate(-50%, -47%) scale(1.03); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-electric-1);
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 1.04rem;
}
.cookie-modal .cookie-switch {
  width: 46px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 15px;
  position: relative;
  margin-left: 10px;
}
.cookie-modal .cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-modal .cookie-switch label {
  cursor: pointer;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.cookie-modal .cookie-switch .toggle {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--color-primary);
  border-radius: 50%;
  transition: left 0.22s, background 0.23s;
}
.cookie-modal .cookie-switch input[type="checkbox"]:checked ~ .toggle {
  left: 25px;
  background: var(--color-electric-1);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .close-btn {
  background: var(--color-electric-3);
}
.cookie-modal .close-btn:hover {
  background: var(--color-electric-2);
  color: #1A1A1A;
}

/* ==========================================================================
   RESPONSIVE & MEDIA QUERIES (Flexbox only)
   ==========================================================================
*/
@media (max-width: 1024px) {
  .footer-menu { gap: 13px; }
  .footer-branding img { height: 32px; }
  .hero h1 {
    font-size: 2.2rem;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding: 0 8px;
  }
  .footer-branding img { height: 28px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.4rem; }
  .section {
    padding: 28px 5px;
    margin-bottom: 42px;
  }
  .hero .content-wrapper {
    padding: 28px 0 16px 0;
    gap: 14px;
  }
  .hero {
    min-height: 230px;
    border-radius: 0 0 14px 14px;
  }
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .case-study-summaries {
    flex-direction: column;
    gap: 14px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .cookie-modal {
    padding: 16px 6vw;
    max-width: 97vw;
  }
}
@media (max-width: 465px) {
  .footer-contact, .footer-branding {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .hero .content-wrapper { padding: 15px 0 6px 0; }
}

/* ==========================================================================
   ACCENTS, MICRO-INTERACTIONS, UTILITY CLASSES
   ==========================================================================
*/
/* Button focus ring */
a:focus, button:focus {
  outline: 2px solid var(--color-electric-4);
  outline-offset: 2px;
}
/* Subtle scale for all card types */
.card, .feature-item, .testimonial-card, .case-study {
  will-change: transform;
}
/* Utility for strong accent inline text */
.strong-accent { color: var(--color-electric-3); font-weight: 900; }

/* ==========================================================================
   FORM ELEMENTS (if needed for future use)
   ==========================================================================
*/
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  padding: 12px;
  border: 2px solid var(--color-secondary);
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 1rem;
  background: #fff;
  color: #1A1A1A;
  transition: border 0.2s, box-shadow 0.18s;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus {
  border: 2px solid var(--color-electric-1);
  box-shadow: 0 0 6px var(--color-electric-1, #0BCB8B, 0.23);
}

/* ==========================================================================
   ICONS INSIDE LISTS
   ==========================================================================
*/
li img {
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}

/* ==========================================================================
   Z-INDEX FOR HEADER & OVERLAYS
   ==========================================================================
*/
header { z-index: 20; position: relative; }
.mobile-menu { z-index: 200; }
.cookie-modal { z-index: 10002; }
.cookie-modal-backdrop { z-index: 10001; }

/* ==========================================================================
   VISUAL HIERARCHY & SPACING
   ==========================================================================
*/
.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;
}
